2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for tlm 1.0.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
589 PACKAGE_TARNAME='tlm'
590 PACKAGE_VERSION='1.0.3'
591 PACKAGE_STRING='tlm 1.0.3'
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 1.0.3 to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking ...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/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 1.0.3:";;
1461 --disable-option-checking ignore unrecognized --enable/--with options
1462 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1463 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1464 --enable-silent-rules less verbose build output (undo: "make V=1")
1465 --disable-silent-rules verbose build output (undo: "make V=0")
1466 --enable-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 1.0.3, 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
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3018 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3023 macro_version='2.4.2'
3024 macro_revision='1.3337'
3038 ltmain="$ac_aux_dir/ltmain.sh"
3040 # Make sure we can run config.sub.
3041 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3042 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3045 $as_echo_n "checking build system type... " >&6; }
3046 if ${ac_cv_build+:} false; then :
3047 $as_echo_n "(cached) " >&6
3049 ac_build_alias=$build_alias
3050 test "x$ac_build_alias" = x &&
3051 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3052 test "x$ac_build_alias" = x &&
3053 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3054 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3055 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3059 $as_echo "$ac_cv_build" >&6; }
3060 case $ac_cv_build in
3062 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3065 ac_save_IFS=$IFS; IFS='-'
3071 # Remember, the first character of IFS is used to create $*,
3072 # except with old shells:
3075 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3079 $as_echo_n "checking host system type... " >&6; }
3080 if ${ac_cv_host+:} false; then :
3081 $as_echo_n "(cached) " >&6
3083 if test "x$host_alias" = x; then
3084 ac_cv_host=$ac_cv_build
3086 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3087 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3092 $as_echo "$ac_cv_host" >&6; }
3095 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3098 ac_save_IFS=$IFS; IFS='-'
3104 # Remember, the first character of IFS is used to create $*,
3105 # except with old shells:
3108 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3111 # Backslashify metacharacters that are still active within
3112 # double-quoted strings.
3113 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3115 # Same as above, but do not quote variable references.
3116 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3118 # Sed substitution to delay expansion of an escaped shell variable in a
3119 # double_quote_subst'ed string.
3120 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3122 # Sed substitution to delay expansion of an escaped single quote.
3123 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3125 # Sed substitution to avoid accidental globbing in evaled expressions
3126 no_glob_subst='s/\*/\\\*/g'
3128 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3129 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3130 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3133 $as_echo_n "checking how to print strings... " >&6; }
3134 # Test print first, because it will be a builtin if present.
3135 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3136 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3138 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3141 # Use this function as a fallback that always works.
3142 func_fallback_echo ()
3144 eval 'cat <<_LTECHO_EOF
3148 ECHO='func_fallback_echo'
3151 # func_echo_all arg...
3152 # Invoke $ECHO with all args, space-separated.
3159 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3160 $as_echo "printf" >&6; } ;;
3161 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3162 $as_echo "print -r" >&6; } ;;
3163 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3164 $as_echo "cat" >&6; } ;;
3180 DEPDIR="${am__leading_dot}deps"
3182 ac_config_commands="$ac_config_commands depfiles"
3185 am_make=${MAKE-make}
3186 cat > confinc << 'END'
3188 @echo this is the am__doit target
3191 # If we don't find an include directive, just comment out the code.
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3193 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3197 # First try GNU make style include.
3198 echo "include confinc" > confmf
3199 # Ignore all kinds of additional output from 'make'.
3200 case `$am_make -s -f confmf 2> /dev/null` in #(
3201 *the\ am__doit\ target*)
3207 # Now try BSD make style include.
3208 if test "$am__include" = "#"; then
3209 echo '.include "confinc"' > confmf
3210 case `$am_make -s -f confmf 2> /dev/null` in #(
3211 *the\ am__doit\ target*)
3212 am__include=.include
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3221 $as_echo "$_am_result" >&6; }
3222 rm -f confinc confmf
3224 # Check whether --enable-dependency-tracking was given.
3225 if test "${enable_dependency_tracking+set}" = set; then :
3226 enableval=$enable_dependency_tracking;
3229 if test "x$enable_dependency_tracking" != xno; then
3230 am_depcomp="$ac_aux_dir/depcomp"
3234 if test "x$enable_dependency_tracking" != xno; then
3244 ac_cpp='$CPP $CPPFLAGS'
3245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_CC+:} false; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC="$CC" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3287 if test -z "$ac_cv_prog_CC"; then
3289 # Extract the first word of "gcc", so it can be a program name with args.
3290 set dummy gcc; ac_word=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3294 $as_echo_n "(cached) " >&6
3296 if test -n "$ac_ct_CC"; then
3297 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 ac_cv_prog_ac_ct_CC="gcc"
3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3317 if test -n "$ac_ct_CC"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3319 $as_echo "$ac_ct_CC" >&6; }
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3325 if test "x$ac_ct_CC" = x; then
3328 case $cross_compiling:$ac_tool_warned in
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332 ac_tool_warned=yes ;;
3340 if test -z "$CC"; then
3341 if test -n "$ac_tool_prefix"; then
3342 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3343 set dummy ${ac_tool_prefix}cc; ac_word=$2
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3345 $as_echo_n "checking for $ac_word... " >&6; }
3346 if ${ac_cv_prog_CC+:} false; then :
3347 $as_echo_n "(cached) " >&6
3349 if test -n "$CC"; then
3350 ac_cv_prog_CC="$CC" # Let the user override the test.
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir=.
3357 for ac_exec_ext in '' $ac_executable_extensions; do
3358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3359 ac_cv_prog_CC="${ac_tool_prefix}cc"
3360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 if test -n "$CC"; then
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3372 $as_echo "$CC" >&6; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375 $as_echo "no" >&6; }
3381 if test -z "$CC"; then
3382 # Extract the first word of "cc", so it can be a program name with args.
3383 set dummy cc; ac_word=$2
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3385 $as_echo_n "checking for $ac_word... " >&6; }
3386 if ${ac_cv_prog_CC+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 if test -n "$CC"; then
3390 ac_cv_prog_CC="$CC" # Let the user override the test.
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3400 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3401 ac_prog_rejected=yes
3405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 if test $ac_prog_rejected = yes; then
3413 # We found a bogon in the path, so make sure we never use it.
3414 set dummy $ac_cv_prog_CC
3416 if test $# != 0; then
3417 # We chose a different compiler from the bogus one.
3418 # However, it has the same basename, so the bogon will be chosen
3419 # first if we set CC to just the basename; use the full file name.
3421 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3427 if test -n "$CC"; then
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3429 $as_echo "$CC" >&6; }
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 $as_echo "no" >&6; }
3437 if test -z "$CC"; then
3438 if test -n "$ac_tool_prefix"; then
3439 for ac_prog in cl.exe
3441 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3442 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 $as_echo_n "checking for $ac_word... " >&6; }
3445 if ${ac_cv_prog_CC+:} false; then :
3446 $as_echo_n "(cached) " >&6
3448 if test -n "$CC"; then
3449 ac_cv_prog_CC="$CC" # Let the user override the test.
3451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 test -z "$as_dir" && as_dir=.
3456 for ac_exec_ext in '' $ac_executable_extensions; do
3457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3458 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 if test -n "$CC"; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3471 $as_echo "$CC" >&6; }
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 $as_echo "no" >&6; }
3478 test -n "$CC" && break
3481 if test -z "$CC"; then
3483 for ac_prog in cl.exe
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 if test -n "$ac_ct_CC"; then
3493 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3502 ac_cv_prog_ac_ct_CC="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3513 if test -n "$ac_ct_CC"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3515 $as_echo "$ac_ct_CC" >&6; }
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3522 test -n "$ac_ct_CC" && break
3525 if test "x$ac_ct_CC" = x; then
3528 case $cross_compiling:$ac_tool_warned in
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3532 ac_tool_warned=yes ;;
3541 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error $? "no acceptable C compiler found in \$PATH
3544 See \`config.log' for more details" "$LINENO" 5; }
3546 # Provide some information about the compiler.
3547 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3550 for ac_option in --version -v -V -qversion; do
3551 { { ac_try="$ac_compiler $ac_option >&5"
3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;;
3556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557 $as_echo "$ac_try_echo"; } >&5
3558 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3560 if test -s conftest.err; then
3562 ... rest of stderr output deleted ...
3563 10q' conftest.err >conftest.er1
3564 cat conftest.er1 >&5
3566 rm -f conftest.er1 conftest.err
3567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568 test $ac_status = 0; }
3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3582 ac_clean_files_save=$ac_clean_files
3583 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3584 # Try to create an executable without -o first, disregard a.out.
3585 # It will help us diagnose broken compilers, and finding out an intuition
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3588 $as_echo_n "checking whether the C compiler works... " >&6; }
3589 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3591 # The possible output files:
3592 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3595 for ac_file in $ac_files
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3599 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3604 if { { ac_try="$ac_link_default"
3606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607 *) ac_try_echo=$ac_try;;
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611 (eval "$ac_link_default") 2>&5
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }; then :
3615 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3616 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3617 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3618 # so that the user can short-circuit this test for compilers unknown to
3620 for ac_file in $ac_files ''
3622 test -f "$ac_file" || continue
3624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3627 # We found the default executable, but exeext='' is most
3631 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3633 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3635 # We set ac_cv_exeext here because the later test for it is not
3636 # safe: cross compilers may not add the suffix if given an `-o'
3637 # argument, so we may need to know it at that point already.
3638 # Even if this section looks crufty: it has the advantage of
3645 test "$ac_cv_exeext" = no && ac_cv_exeext=
3650 if test -z "$ac_file"; then :
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3653 $as_echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3658 as_fn_error 77 "C compiler cannot create executables
3659 See \`config.log' for more details" "$LINENO" 5; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3662 $as_echo "yes" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3665 $as_echo_n "checking for C compiler default output file name... " >&6; }
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3667 $as_echo "$ac_file" >&6; }
3668 ac_exeext=$ac_cv_exeext
3670 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3671 ac_clean_files=$ac_clean_files_save
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3673 $as_echo_n "checking for suffix of executables... " >&6; }
3674 if { { ac_try="$ac_link"
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680 $as_echo "$ac_try_echo"; } >&5
3681 (eval "$ac_link") 2>&5
3683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684 test $ac_status = 0; }; then :
3685 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3686 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3687 # work properly (i.e., refer to `conftest.exe'), while it won't with
3689 for ac_file in conftest.exe conftest conftest.*; do
3690 test -f "$ac_file" || continue
3692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3693 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3701 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3702 See \`config.log' for more details" "$LINENO" 5; }
3704 rm -f conftest conftest$ac_cv_exeext
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3706 $as_echo "$ac_cv_exeext" >&6; }
3708 rm -f conftest.$ac_ext
3709 EXEEXT=$ac_cv_exeext
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3717 FILE *f = fopen ("conftest.out", "w");
3718 return ferror (f) || fclose (f) != 0;
3724 ac_clean_files="$ac_clean_files conftest.out"
3725 # Check that the compiler produces executables we can run. If not, either
3726 # the compiler is broken, or we cross compile.
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3728 $as_echo_n "checking whether we are cross compiling... " >&6; }
3729 if test "$cross_compiling" != yes; then
3730 { { ac_try="$ac_link"
3732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733 *) ac_try_echo=$ac_try;;
3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736 $as_echo "$ac_try_echo"; } >&5
3737 (eval "$ac_link") 2>&5
3739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740 test $ac_status = 0; }
3741 if { ac_try='./conftest$ac_cv_exeext'
3742 { { case "(($ac_try" in
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3747 $as_echo "$ac_try_echo"; } >&5
3748 (eval "$ac_try") 2>&5
3750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3751 test $ac_status = 0; }; }; then
3754 if test "$cross_compiling" = maybe; then
3757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3759 as_fn_error $? "cannot run C compiled programs.
3760 If you meant to cross compile, use \`--host'.
3761 See \`config.log' for more details" "$LINENO" 5; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3766 $as_echo "$cross_compiling" >&6; }
3768 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3769 ac_clean_files=$ac_clean_files_save
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3771 $as_echo_n "checking for suffix of object files... " >&6; }
3772 if ${ac_cv_objext+:} false; then :
3773 $as_echo_n "(cached) " >&6
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3786 rm -f conftest.o conftest.obj
3787 if { { ac_try="$ac_compile"
3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790 *) ac_try_echo=$ac_try;;
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794 (eval "$ac_compile") 2>&5
3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797 test $ac_status = 0; }; then :
3798 for ac_file in conftest.o conftest.obj conftest.*; do
3799 test -f "$ac_file" || continue;
3801 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3802 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3807 $as_echo "$as_me: failed program was:" >&5
3808 sed 's/^/| /' conftest.$ac_ext >&5
3810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3812 as_fn_error $? "cannot compute suffix of object files: cannot compile
3813 See \`config.log' for more details" "$LINENO" 5; }
3815 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3818 $as_echo "$ac_cv_objext" >&6; }
3819 OBJEXT=$ac_cv_objext
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3822 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3823 if ${ac_cv_c_compiler_gnu+:} false; then :
3824 $as_echo_n "(cached) " >&6
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3840 if ac_fn_c_try_compile "$LINENO"; then :
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3850 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3851 if test $ac_compiler_gnu = yes; then
3856 ac_test_CFLAGS=${CFLAGS+set}
3857 ac_save_CFLAGS=$CFLAGS
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3859 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3860 if ${ac_cv_prog_cc_g+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 ac_save_c_werror_flag=$ac_c_werror_flag
3864 ac_c_werror_flag=yes
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 if ac_fn_c_try_compile "$LINENO"; then :
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3893 if ac_fn_c_try_compile "$LINENO"; then :
3896 ac_c_werror_flag=$ac_save_c_werror_flag
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 if ac_fn_c_try_compile "$LINENO"; then :
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917 ac_c_werror_flag=$ac_save_c_werror_flag
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3920 $as_echo "$ac_cv_prog_cc_g" >&6; }
3921 if test "$ac_test_CFLAGS" = set; then
3922 CFLAGS=$ac_save_CFLAGS
3923 elif test $ac_cv_prog_cc_g = yes; then
3924 if test "$GCC" = yes; then
3930 if test "$GCC" = yes; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3937 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3938 if ${ac_cv_prog_cc_c89+:} false; then :
3939 $as_echo_n "(cached) " >&6
3941 ac_cv_prog_cc_c89=no
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3944 /* end confdefs.h. */
3948 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3949 struct buf { int x; };
3950 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3951 static char *e (p, i)
3957 static char *f (char * (*g) (char **, int), char **p, ...)
3962 s = g (p, va_arg (v,int));
3967 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3968 function prototypes and stuff, but not '\xHH' hex character constants.
3969 These don't provoke an error unfortunately, instead are silently treated
3970 as 'x'. The following induces an error, until -std is added to get
3971 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3972 array size at least. It's necessary to write '\x00'==0 to get something
3973 that's true only with -std. */
3974 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3976 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3977 inside strings and character constants. */
3979 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3981 int test (int i, double x);
3982 struct s1 {int (*f) (int a);};
3983 struct s2 {int (*f) (double a);};
3984 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3990 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3995 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3996 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3998 CC="$ac_save_CC $ac_arg"
3999 if ac_fn_c_try_compile "$LINENO"; then :
4000 ac_cv_prog_cc_c89=$ac_arg
4002 rm -f core conftest.err conftest.$ac_objext
4003 test "x$ac_cv_prog_cc_c89" != "xno" && break
4005 rm -f conftest.$ac_ext
4010 case "x$ac_cv_prog_cc_c89" in
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4013 $as_echo "none needed" >&6; } ;;
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4016 $as_echo "unsupported" >&6; } ;;
4018 CC="$CC $ac_cv_prog_cc_c89"
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4020 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4022 if test "x$ac_cv_prog_cc_c89" != xno; then :
4027 ac_cpp='$CPP $CPPFLAGS'
4028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4033 ac_cpp='$CPP $CPPFLAGS'
4034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4038 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4039 if ${am_cv_prog_cc_c_o+:} false; then :
4040 $as_echo_n "(cached) " >&6
4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h. */
4053 # Make sure it works both with $CC and with simple cc.
4054 # Following AC_PROG_CC_C_O, we do the test twice because some
4055 # compilers refuse to overwrite an existing .o file with -o,
4056 # though they will create one.
4057 am_cv_prog_cc_c_o=yes
4059 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4060 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } \
4064 && test -f conftest2.$ac_objext; then
4067 am_cv_prog_cc_c_o=no
4071 rm -f core conftest*
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4075 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4076 if test "$am_cv_prog_cc_c_o" != yes; then
4077 # Losing compiler, so override with the script.
4078 # FIXME: It is wrong to rewrite CC.
4079 # But if we don't then we get into trouble of one sort or another.
4080 # A longer-term fix would be to have automake use am__CC in this case,
4081 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4082 CC="$am_aux_dir/compile $CC"
4085 ac_cpp='$CPP $CPPFLAGS'
4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4091 depcc="$CC" am_compiler_list=
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4094 $as_echo_n "checking dependency style of $depcc... " >&6; }
4095 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4096 $as_echo_n "(cached) " >&6
4098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4099 # We make a subdir and do the tests there. Otherwise we can end up
4100 # making bogus files that we don't know about and never remove. For
4101 # instance it was reported that on HP-UX the gcc test will end up
4102 # making a dummy file named 'D' -- because '-MD' means "put the output
4106 # Copy depcomp to subdir because otherwise we won't find it if we're
4107 # using a relative directory.
4108 cp "$am_depcomp" conftest.dir
4110 # We will build objects and dependencies in a subdirectory because
4111 # it helps to detect inapplicable dependency modes. For instance
4112 # both Tru64's cc and ICC support -MD to output dependencies as a
4113 # side effect of compilation, but ICC will put the dependencies in
4114 # the current directory while Tru64 will put them in the object
4118 am_cv_CC_dependencies_compiler_type=none
4119 if test "$am_compiler_list" = ""; then
4120 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4123 case " $depcc " in #(
4124 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4127 for depmode in $am_compiler_list; do
4128 # Setup a source with many dependencies, because some compilers
4129 # like to wrap large dependency lists on column 80 (with \), and
4130 # we should not choose a depcomp mode which is confused by this.
4132 # We need to recreate these files for each test, as the compiler may
4133 # overwrite some of them when testing with obscure command lines.
4134 # This happens at least with the AIX C compiler.
4136 for i in 1 2 3 4 5 6; do
4137 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4138 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4139 # Solaris 10 /bin/sh.
4140 echo '/* dummy */' > sub/conftst$i.h
4142 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4144 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4145 # mode. It turns out that the SunPro C++ compiler does not properly
4146 # handle '-M -o', and we need to detect this. Also, some Intel
4147 # versions had trouble with output in subdirs.
4148 am__obj=sub/conftest.${OBJEXT-o}
4149 am__minus_obj="-o $am__obj"
4152 # This depmode causes a compiler race in universal mode.
4153 test "$am__universal" = false || continue
4156 # After this tag, mechanisms are not by side-effect, so they'll
4157 # only be used when explicitly requested.
4158 if test "x$enable_dependency_tracking" = xyes; then
4164 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4165 # This compiler won't grok '-c -o', but also, the minuso test has
4166 # not run yet. These depmodes are late enough in the game, and
4167 # so weak that their functioning should not be impacted.
4168 am__obj=conftest.${OBJEXT-o}
4173 if depmode=$depmode \
4174 source=sub/conftest.c object=$am__obj \
4175 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4176 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4177 >/dev/null 2>conftest.err &&
4178 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4179 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4180 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4181 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4182 # icc doesn't choke on unknown options, it will just issue warnings
4183 # or remarks (even with -Werror). So we grep stderr for any message
4184 # that says an option was ignored or not supported.
4185 # When given -MP, icc 7.0 and 7.1 complain thusly:
4186 # icc: Command line warning: ignoring option '-M'; no argument required
4187 # The diagnosis changed in icc 8.0:
4188 # icc: Command line remark: option '-MP' not supported
4189 if (grep 'ignoring option' conftest.err ||
4190 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4191 am_cv_CC_dependencies_compiler_type=$depmode
4200 am_cv_CC_dependencies_compiler_type=none
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4205 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4206 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4209 test "x$enable_dependency_tracking" != xno \
4210 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4212 am__fastdepCC_FALSE='#'
4214 am__fastdepCC_TRUE='#'
4215 am__fastdepCC_FALSE=
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4220 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4221 if ${ac_cv_path_SED+:} false; then :
4222 $as_echo_n "(cached) " >&6
4224 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4225 for ac_i in 1 2 3 4 5 6 7; do
4226 ac_script="$ac_script$as_nl$ac_script"
4228 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4229 { ac_script=; unset ac_script;}
4230 if test -z "$SED"; then
4231 ac_path_SED_found=false
4232 # Loop through the user's path and test for each of PROGNAME-LIST
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir=.
4238 for ac_prog in sed gsed; do
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4241 as_fn_executable_p "$ac_path_SED" || continue
4242 # Check for GNU ac_path_SED and select it if it is found.
4243 # Check for GNU $ac_path_SED
4244 case `"$ac_path_SED" --version 2>&1` in
4246 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4249 $as_echo_n 0123456789 >"conftest.in"
4252 cat "conftest.in" "conftest.in" >"conftest.tmp"
4253 mv "conftest.tmp" "conftest.in"
4254 cp "conftest.in" "conftest.nl"
4255 $as_echo '' >> "conftest.nl"
4256 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4257 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4258 as_fn_arith $ac_count + 1 && ac_count=$as_val
4259 if test $ac_count -gt ${ac_path_SED_max-0}; then
4260 # Best one so far, save it but keep looking for a better one
4261 ac_cv_path_SED="$ac_path_SED"
4262 ac_path_SED_max=$ac_count
4264 # 10*(2^10) chars as input seems more than enough
4265 test $ac_count -gt 10 && break
4267 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4270 $ac_path_SED_found && break 3
4275 if test -z "$ac_cv_path_SED"; then
4276 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4284 $as_echo "$ac_cv_path_SED" >&6; }
4285 SED="$ac_cv_path_SED"
4288 test -z "$SED" && SED=sed
4289 Xsed="$SED -e 1s/^X//"
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4302 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4303 if ${ac_cv_path_GREP+:} false; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -z "$GREP"; then
4307 ac_path_GREP_found=false
4308 # Loop through the user's path and test for each of PROGNAME-LIST
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4313 test -z "$as_dir" && as_dir=.
4314 for ac_prog in grep ggrep; do
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4317 as_fn_executable_p "$ac_path_GREP" || continue
4318 # Check for GNU ac_path_GREP and select it if it is found.
4319 # Check for GNU $ac_path_GREP
4320 case `"$ac_path_GREP" --version 2>&1` in
4322 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4325 $as_echo_n 0123456789 >"conftest.in"
4328 cat "conftest.in" "conftest.in" >"conftest.tmp"
4329 mv "conftest.tmp" "conftest.in"
4330 cp "conftest.in" "conftest.nl"
4331 $as_echo 'GREP' >> "conftest.nl"
4332 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4334 as_fn_arith $ac_count + 1 && ac_count=$as_val
4335 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4336 # Best one so far, save it but keep looking for a better one
4337 ac_cv_path_GREP="$ac_path_GREP"
4338 ac_path_GREP_max=$ac_count
4340 # 10*(2^10) chars as input seems more than enough
4341 test $ac_count -gt 10 && break
4343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346 $ac_path_GREP_found && break 3
4351 if test -z "$ac_cv_path_GREP"; then
4352 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4355 ac_cv_path_GREP=$GREP
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4360 $as_echo "$ac_cv_path_GREP" >&6; }
4361 GREP="$ac_cv_path_GREP"
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4365 $as_echo_n "checking for egrep... " >&6; }
4366 if ${ac_cv_path_EGREP+:} false; then :
4367 $as_echo_n "(cached) " >&6
4369 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4370 then ac_cv_path_EGREP="$GREP -E"
4372 if test -z "$EGREP"; then
4373 ac_path_EGREP_found=false
4374 # Loop through the user's path and test for each of PROGNAME-LIST
4375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4379 test -z "$as_dir" && as_dir=.
4380 for ac_prog in egrep; do
4381 for ac_exec_ext in '' $ac_executable_extensions; do
4382 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4383 as_fn_executable_p "$ac_path_EGREP" || continue
4384 # Check for GNU ac_path_EGREP and select it if it is found.
4385 # Check for GNU $ac_path_EGREP
4386 case `"$ac_path_EGREP" --version 2>&1` in
4388 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4391 $as_echo_n 0123456789 >"conftest.in"
4394 cat "conftest.in" "conftest.in" >"conftest.tmp"
4395 mv "conftest.tmp" "conftest.in"
4396 cp "conftest.in" "conftest.nl"
4397 $as_echo 'EGREP' >> "conftest.nl"
4398 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4400 as_fn_arith $ac_count + 1 && ac_count=$as_val
4401 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4402 # Best one so far, save it but keep looking for a better one
4403 ac_cv_path_EGREP="$ac_path_EGREP"
4404 ac_path_EGREP_max=$ac_count
4406 # 10*(2^10) chars as input seems more than enough
4407 test $ac_count -gt 10 && break
4409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4412 $ac_path_EGREP_found && break 3
4417 if test -z "$ac_cv_path_EGREP"; then
4418 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4421 ac_cv_path_EGREP=$EGREP
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4427 $as_echo "$ac_cv_path_EGREP" >&6; }
4428 EGREP="$ac_cv_path_EGREP"
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4432 $as_echo_n "checking for fgrep... " >&6; }
4433 if ${ac_cv_path_FGREP+:} false; then :
4434 $as_echo_n "(cached) " >&6
4436 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4437 then ac_cv_path_FGREP="$GREP -F"
4439 if test -z "$FGREP"; then
4440 ac_path_FGREP_found=false
4441 # Loop through the user's path and test for each of PROGNAME-LIST
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4446 test -z "$as_dir" && as_dir=.
4447 for ac_prog in fgrep; do
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4450 as_fn_executable_p "$ac_path_FGREP" || continue
4451 # Check for GNU ac_path_FGREP and select it if it is found.
4452 # Check for GNU $ac_path_FGREP
4453 case `"$ac_path_FGREP" --version 2>&1` in
4455 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4458 $as_echo_n 0123456789 >"conftest.in"
4461 cat "conftest.in" "conftest.in" >"conftest.tmp"
4462 mv "conftest.tmp" "conftest.in"
4463 cp "conftest.in" "conftest.nl"
4464 $as_echo 'FGREP' >> "conftest.nl"
4465 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4466 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4467 as_fn_arith $ac_count + 1 && ac_count=$as_val
4468 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4469 # Best one so far, save it but keep looking for a better one
4470 ac_cv_path_FGREP="$ac_path_FGREP"
4471 ac_path_FGREP_max=$ac_count
4473 # 10*(2^10) chars as input seems more than enough
4474 test $ac_count -gt 10 && break
4476 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4479 $ac_path_FGREP_found && break 3
4484 if test -z "$ac_cv_path_FGREP"; then
4485 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4488 ac_cv_path_FGREP=$FGREP
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4494 $as_echo "$ac_cv_path_FGREP" >&6; }
4495 FGREP="$ac_cv_path_FGREP"
4498 test -z "$GREP" && GREP=grep
4518 # Check whether --with-gnu-ld was given.
4519 if test "${with_gnu_ld+set}" = set; then :
4520 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4526 if test "$GCC" = yes; then
4527 # Check if gcc -print-prog-name=ld gives a path.
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4529 $as_echo_n "checking for ld used by $CC... " >&6; }
4532 # gcc leaves a trailing carriage return which upsets mingw
4533 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4535 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4538 # Accept absolute paths.
4540 re_direlt='/[^/][^/]*/\.\./'
4541 # Canonicalize the pathname of ld
4542 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4543 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4544 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4546 test -z "$LD" && LD="$ac_prog"
4549 # If it fails, then pretend we aren't using GCC.
4553 # If it is relative, then search for the first ld in PATH.
4557 elif test "$with_gnu_ld" = yes; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4559 $as_echo_n "checking for GNU ld... " >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4562 $as_echo_n "checking for non-GNU ld... " >&6; }
4564 if ${lt_cv_path_LD+:} false; then :
4565 $as_echo_n "(cached) " >&6
4567 if test -z "$LD"; then
4568 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4569 for ac_dir in $PATH; do
4571 test -z "$ac_dir" && ac_dir=.
4572 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4573 lt_cv_path_LD="$ac_dir/$ac_prog"
4574 # Check to see if the program is GNU ld. I'd rather use --version,
4575 # but apparently some variants of GNU ld only accept -v.
4576 # Break only if it was the GNU/non-GNU ld that we prefer.
4577 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4578 *GNU* | *'with BFD'*)
4579 test "$with_gnu_ld" != no && break
4582 test "$with_gnu_ld" != yes && break
4589 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4594 if test -n "$LD"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4596 $as_echo "$LD" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4601 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4603 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4604 if ${lt_cv_prog_gnu_ld+:} false; then :
4605 $as_echo_n "(cached) " >&6
4607 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4608 case `$LD -v 2>&1 </dev/null` in
4609 *GNU* | *'with BFD'*)
4610 lt_cv_prog_gnu_ld=yes
4613 lt_cv_prog_gnu_ld=no
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4618 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4619 with_gnu_ld=$lt_cv_prog_gnu_ld
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4630 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4631 if ${lt_cv_path_NM+:} false; then :
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$NM"; then
4635 # Let the user override the test.
4638 lt_nm_to_check="${ac_tool_prefix}nm"
4639 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4640 lt_nm_to_check="$lt_nm_to_check nm"
4642 for lt_tmp_nm in $lt_nm_to_check; do
4643 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4644 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4646 test -z "$ac_dir" && ac_dir=.
4647 tmp_nm="$ac_dir/$lt_tmp_nm"
4648 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4649 # Check to see if the nm accepts a BSD-compat flag.
4650 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4651 # nm: unknown option "B" ignored
4652 # Tru64's nm complains that /dev/null is an invalid object file
4653 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4654 */dev/null* | *'Invalid file or object type'*)
4655 lt_cv_path_NM="$tmp_nm -B"
4659 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4661 lt_cv_path_NM="$tmp_nm -p"
4665 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4666 continue # so that we can try to find one that supports BSD flags
4675 : ${lt_cv_path_NM=no}
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4679 $as_echo "$lt_cv_path_NM" >&6; }
4680 if test "$lt_cv_path_NM" != "no"; then
4683 # Didn't find any BSD compatible name lister, look for dumpbin.
4684 if test -n "$DUMPBIN"; then :
4685 # Let the user override the test.
4687 if test -n "$ac_tool_prefix"; then
4688 for ac_prog in dumpbin "link -dump"
4690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_DUMPBIN+:} false; then :
4695 $as_echo_n "(cached) " >&6
4697 if test -n "$DUMPBIN"; then
4698 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 DUMPBIN=$ac_cv_prog_DUMPBIN
4718 if test -n "$DUMPBIN"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4720 $as_echo "$DUMPBIN" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4727 test -n "$DUMPBIN" && break
4730 if test -z "$DUMPBIN"; then
4731 ac_ct_DUMPBIN=$DUMPBIN
4732 for ac_prog in dumpbin "link -dump"
4734 # Extract the first word of "$ac_prog", so it can be a program name with args.
4735 set dummy $ac_prog; ac_word=$2
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 if test -n "$ac_ct_DUMPBIN"; then
4742 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir=.
4749 for ac_exec_ext in '' $ac_executable_extensions; do
4750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4751 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4761 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4762 if test -n "$ac_ct_DUMPBIN"; then
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4764 $as_echo "$ac_ct_DUMPBIN" >&6; }
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4771 test -n "$ac_ct_DUMPBIN" && break
4774 if test "x$ac_ct_DUMPBIN" = x; then
4777 case $cross_compiling:$ac_tool_warned in
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4781 ac_tool_warned=yes ;;
4783 DUMPBIN=$ac_ct_DUMPBIN
4787 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4789 DUMPBIN="$DUMPBIN -symbols"
4797 if test "$DUMPBIN" != ":"; then
4801 test -z "$NM" && NM=nm
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4809 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4810 if ${lt_cv_nm_interface+:} false; then :
4811 $as_echo_n "(cached) " >&6
4813 lt_cv_nm_interface="BSD nm"
4814 echo "int some_variable = 0;" > conftest.$ac_ext
4815 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4816 (eval "$ac_compile" 2>conftest.err)
4817 cat conftest.err >&5
4818 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4819 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4820 cat conftest.err >&5
4821 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4822 cat conftest.out >&5
4823 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4824 lt_cv_nm_interface="MS dumpbin"
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4829 $as_echo "$lt_cv_nm_interface" >&6; }
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4832 $as_echo_n "checking whether ln -s works... " >&6; }
4834 if test "$LN_S" = "ln -s"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4839 $as_echo "no, using $LN_S" >&6; }
4842 # find the maximum length of command line arguments
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4844 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4845 if ${lt_cv_sys_max_cmd_len+:} false; then :
4846 $as_echo_n "(cached) " >&6
4853 # On DJGPP, this test can blow up pretty badly due to problems in libc
4854 # (any single argument exceeding 2000 bytes causes a buffer overrun
4855 # during glob expansion). Even if it were fixed, the result of this
4856 # check would be larger than it should be.
4857 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4861 # Under GNU Hurd, this test is not required because there is
4862 # no limit to the length of command line arguments.
4863 # Libtool will interpret -1 as no limit whatsoever
4864 lt_cv_sys_max_cmd_len=-1;
4867 cygwin* | mingw* | cegcc*)
4868 # On Win9x/ME, this test blows up -- it succeeds, but takes
4869 # about 5 minutes as the teststring grows exponentially.
4870 # Worse, since 9x/ME are not pre-emptively multitasking,
4871 # you end up with a "frozen" computer, even though with patience
4872 # the test eventually succeeds (with a max line length of 256k).
4873 # Instead, let's just punt: use the minimum linelength reported by
4874 # all of the supported platforms: 8192 (on NT/2K/XP).
4875 lt_cv_sys_max_cmd_len=8192;
4879 # On MiNT this can take a long time and run out of memory.
4880 lt_cv_sys_max_cmd_len=8192;
4884 # On AmigaOS with pdksh, this test takes hours, literally.
4885 # So we just punt and use a minimum line length of 8192.
4886 lt_cv_sys_max_cmd_len=8192;
4889 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4890 # This has been around since 386BSD, at least. Likely further.
4891 if test -x /sbin/sysctl; then
4892 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4893 elif test -x /usr/sbin/sysctl; then
4894 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4896 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4898 # And add a safety zone
4899 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4900 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4904 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4905 lt_cv_sys_max_cmd_len=196608
4909 # The test takes a long time on OS/2.
4910 lt_cv_sys_max_cmd_len=8192
4914 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4915 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4916 # nice to cause kernel panics so lets avoid the loop below.
4917 # First set a reasonable default.
4918 lt_cv_sys_max_cmd_len=16384
4920 if test -x /sbin/sysconfig; then
4921 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4922 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4927 lt_cv_sys_max_cmd_len=102400
4929 sysv5* | sco5v6* | sysv4.2uw2*)
4930 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4931 if test -n "$kargmax"; then
4932 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4934 lt_cv_sys_max_cmd_len=32768
4938 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4939 if test -n "$lt_cv_sys_max_cmd_len" && \
4940 test undefined != "$lt_cv_sys_max_cmd_len"; then
4941 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4944 # Make teststring a little bigger before we do anything with it.
4945 # a 1K string should be a reasonable start.
4946 for i in 1 2 3 4 5 6 7 8 ; do
4947 teststring=$teststring$teststring
4949 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4950 # If test is not a shell built-in, we'll probably end up computing a
4951 # maximum length that is only half of the actual maximum length, but
4953 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4954 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4955 test $i != 17 # 1/2 MB should be enough
4958 teststring=$teststring$teststring
4960 # Only check the string length outside the loop.
4961 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4963 # Add a significant safety factor because C++ compilers can tack on
4964 # massive amounts of additional arguments before passing them to the
4965 # linker. It appears as though 1/2 is a usable value.
4966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4973 if test -n $lt_cv_sys_max_cmd_len ; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4975 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4978 $as_echo "none" >&6; }
4980 max_cmd_len=$lt_cv_sys_max_cmd_len
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4992 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4993 # Try some XSI features
4996 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4998 && eval 'test $(( 1 + 1 )) -eq 2 \
4999 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5002 $as_echo "$xsi_shell" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5006 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5008 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5010 && lt_shell_append=yes
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5012 $as_echo "$lt_shell_append" >&6; }
5015 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5025 # test EBCDIC or ASCII
5026 case `echo X|tr X '\101'` in
5027 A) # ASCII based system
5028 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5029 lt_SP2NL='tr \040 \012'
5030 lt_NL2SP='tr \015\012 \040\040'
5032 *) # EBCDIC based system
5033 lt_SP2NL='tr \100 \n'
5034 lt_NL2SP='tr \r\n \100\100'
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5047 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5048 if ${lt_cv_to_host_file_cmd+:} false; then :
5049 $as_echo_n "(cached) " >&6
5054 *-*-mingw* ) # actually msys
5055 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5058 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5060 * ) # otherwise, assume *nix
5061 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5067 *-*-mingw* ) # actually msys
5068 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5071 lt_cv_to_host_file_cmd=func_convert_file_noop
5073 * ) # otherwise, assume *nix
5074 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5078 * ) # unhandled hosts (and "normal" native builds)
5079 lt_cv_to_host_file_cmd=func_convert_file_noop
5085 to_host_file_cmd=$lt_cv_to_host_file_cmd
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5087 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5094 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5095 if ${lt_cv_to_tool_file_cmd+:} false; then :
5096 $as_echo_n "(cached) " >&6
5098 #assume ordinary cross tools, or native build.
5099 lt_cv_to_tool_file_cmd=func_convert_file_noop
5103 *-*-mingw* ) # actually msys
5104 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5112 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5114 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5121 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5122 if ${lt_cv_ld_reload_flag+:} false; then :
5123 $as_echo_n "(cached) " >&6
5125 lt_cv_ld_reload_flag='-r'
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5128 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5129 reload_flag=$lt_cv_ld_reload_flag
5130 case $reload_flag in
5132 *) reload_flag=" $reload_flag" ;;
5134 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5136 cygwin* | mingw* | pw32* | cegcc*)
5137 if test "$GCC" != yes; then
5142 if test "$GCC" = yes; then
5143 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5145 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5158 if test -n "$ac_tool_prefix"; then
5159 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5160 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_OBJDUMP+:} false; then :
5164 $as_echo_n "(cached) " >&6
5166 if test -n "$OBJDUMP"; then
5167 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 OBJDUMP=$ac_cv_prog_OBJDUMP
5187 if test -n "$OBJDUMP"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5189 $as_echo "$OBJDUMP" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5197 if test -z "$ac_cv_prog_OBJDUMP"; then
5198 ac_ct_OBJDUMP=$OBJDUMP
5199 # Extract the first word of "objdump", so it can be a program name with args.
5200 set dummy objdump; ac_word=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5204 $as_echo_n "(cached) " >&6
5206 if test -n "$ac_ct_OBJDUMP"; then
5207 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5227 if test -n "$ac_ct_OBJDUMP"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5229 $as_echo "$ac_ct_OBJDUMP" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5235 if test "x$ac_ct_OBJDUMP" = x; then
5238 case $cross_compiling:$ac_tool_warned in
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5242 ac_tool_warned=yes ;;
5244 OBJDUMP=$ac_ct_OBJDUMP
5247 OBJDUMP="$ac_cv_prog_OBJDUMP"
5250 test -z "$OBJDUMP" && OBJDUMP=objdump
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5261 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5262 if ${lt_cv_deplibs_check_method+:} false; then :
5263 $as_echo_n "(cached) " >&6
5265 lt_cv_file_magic_cmd='$MAGIC_CMD'
5266 lt_cv_file_magic_test_file=
5267 lt_cv_deplibs_check_method='unknown'
5268 # Need to set the preceding variable on all platforms that support
5269 # interlibrary dependencies.
5270 # 'none' -- dependencies not supported.
5271 # `unknown' -- same as none, but documents that we really don't know.
5272 # 'pass_all' -- all dependencies passed with no checks.
5273 # 'test_compile' -- check by making test program.
5274 # 'file_magic [[regex]]' -- check by looking for files in library path
5275 # which responds to the $file_magic_cmd with a given extended regex.
5276 # If you have `file' or equivalent on your system and you're not sure
5277 # whether `pass_all' will *always* work, you probably want this one.
5281 lt_cv_deplibs_check_method=pass_all
5285 lt_cv_deplibs_check_method=pass_all
5289 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5290 lt_cv_file_magic_cmd='/usr/bin/file -L'
5291 lt_cv_file_magic_test_file=/shlib/libc.so
5295 # func_win32_libid is a shell function defined in ltmain.sh
5296 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5297 lt_cv_file_magic_cmd='func_win32_libid'
5301 # Base MSYS/MinGW do not provide the 'file' command needed by
5302 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5303 # unless we find 'file', for example because we are cross-compiling.
5304 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5305 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5306 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5307 lt_cv_file_magic_cmd='func_win32_libid'
5309 # Keep this pattern in sync with the one in func_win32_libid.
5310 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5311 lt_cv_file_magic_cmd='$OBJDUMP -f'
5316 # use the weaker test based on 'objdump'. See mingw*.
5317 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5318 lt_cv_file_magic_cmd='$OBJDUMP -f'
5321 darwin* | rhapsody*)
5322 lt_cv_deplibs_check_method=pass_all
5325 freebsd* | dragonfly*)
5326 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5329 # Not sure whether the presence of OpenBSD here was a mistake.
5330 # Let's accept both of them until this is cleared up.
5331 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5332 lt_cv_file_magic_cmd=/usr/bin/file
5333 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5337 lt_cv_deplibs_check_method=pass_all
5342 lt_cv_deplibs_check_method=pass_all
5345 hpux10.20* | hpux11*)
5346 lt_cv_file_magic_cmd=/usr/bin/file
5349 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5350 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5353 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]'
5354 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5357 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5358 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5364 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5365 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5368 irix5* | irix6* | nonstopux*)
5370 *-32|*"-32 ") libmagic=32-bit;;
5371 *-n32|*"-n32 ") libmagic=N32;;
5372 *-64|*"-64 ") libmagic=64-bit;;
5373 *) libmagic=never-match;;
5375 lt_cv_deplibs_check_method=pass_all
5378 # This must be glibc/ELF.
5379 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5380 lt_cv_deplibs_check_method=pass_all
5383 netbsd* | netbsdelf*-gnu)
5384 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5387 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5393 lt_cv_file_magic_cmd=/usr/bin/file
5394 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5398 lt_cv_deplibs_check_method=pass_all
5402 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5403 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5405 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5409 osf3* | osf4* | osf5*)
5410 lt_cv_deplibs_check_method=pass_all
5414 lt_cv_deplibs_check_method=pass_all
5418 lt_cv_deplibs_check_method=pass_all
5421 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5422 lt_cv_deplibs_check_method=pass_all
5426 case $host_vendor in
5428 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]'
5429 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5432 lt_cv_deplibs_check_method=pass_all
5435 lt_cv_file_magic_cmd='/bin/file'
5436 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5439 lt_cv_file_magic_cmd='/bin/file'
5440 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5441 lt_cv_file_magic_test_file=/lib/libc.so
5444 lt_cv_deplibs_check_method=pass_all
5447 lt_cv_deplibs_check_method=pass_all
5453 lt_cv_deplibs_check_method=pass_all
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5459 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5463 if test "$build" = "$host"; then
5466 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5469 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5475 file_magic_cmd=$lt_cv_file_magic_cmd
5476 deplibs_check_method=$lt_cv_deplibs_check_method
5477 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5500 if test -n "$ac_tool_prefix"; then
5501 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5502 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5504 $as_echo_n "checking for $ac_word... " >&6; }
5505 if ${ac_cv_prog_DLLTOOL+:} false; then :
5506 $as_echo_n "(cached) " >&6
5508 if test -n "$DLLTOOL"; then
5509 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5518 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 DLLTOOL=$ac_cv_prog_DLLTOOL
5529 if test -n "$DLLTOOL"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5531 $as_echo "$DLLTOOL" >&6; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5539 if test -z "$ac_cv_prog_DLLTOOL"; then
5540 ac_ct_DLLTOOL=$DLLTOOL
5541 # Extract the first word of "dlltool", so it can be a program name with args.
5542 set dummy dlltool; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5546 $as_echo_n "(cached) " >&6
5548 if test -n "$ac_ct_DLLTOOL"; then
5549 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5569 if test -n "$ac_ct_DLLTOOL"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5571 $as_echo "$ac_ct_DLLTOOL" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5577 if test "x$ac_ct_DLLTOOL" = x; then
5580 case $cross_compiling:$ac_tool_warned in
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5584 ac_tool_warned=yes ;;
5586 DLLTOOL=$ac_ct_DLLTOOL
5589 DLLTOOL="$ac_cv_prog_DLLTOOL"
5592 test -z "$DLLTOOL" && DLLTOOL=dlltool
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5604 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5605 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5606 $as_echo_n "(cached) " >&6
5608 lt_cv_sharedlib_from_linklib_cmd='unknown'
5611 cygwin* | mingw* | pw32* | cegcc*)
5612 # two different shell functions defined in ltmain.sh
5613 # decide which to use based on capabilities of $DLLTOOL
5614 case `$DLLTOOL --help 2>&1` in
5615 *--identify-strict*)
5616 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5619 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5624 # fallback: assume linklib IS sharedlib
5625 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5631 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5632 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5633 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5642 if test -n "$ac_tool_prefix"; then
5645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648 $as_echo_n "checking for $ac_word... " >&6; }
5649 if ${ac_cv_prog_AR+:} false; then :
5650 $as_echo_n "(cached) " >&6
5652 if test -n "$AR"; then
5653 ac_cv_prog_AR="$AR" # Let the user override the test.
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 if test -n "$AR"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5675 $as_echo "$AR" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5682 test -n "$AR" && break
5685 if test -z "$AR"; then
5689 # Extract the first word of "$ac_prog", so it can be a program name with args.
5690 set dummy $ac_prog; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$ac_ct_AR"; then
5697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_ac_ct_AR="$ac_prog"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5717 if test -n "$ac_ct_AR"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5719 $as_echo "$ac_ct_AR" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5726 test -n "$ac_ct_AR" && break
5729 if test "x$ac_ct_AR" = x; then
5732 case $cross_compiling:$ac_tool_warned in
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5736 ac_tool_warned=yes ;;
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5756 $as_echo_n "checking for archiver @FILE support... " >&6; }
5757 if ${lt_cv_ar_at_file+:} false; then :
5758 $as_echo_n "(cached) " >&6
5761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5762 /* end confdefs.h. */
5772 if ac_fn_c_try_compile "$LINENO"; then :
5773 echo conftest.$ac_objext > conftest.lst
5774 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5775 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5776 (eval $lt_ar_try) 2>&5
5778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5779 test $ac_status = 0; }
5780 if test "$ac_status" -eq 0; then
5781 # Ensure the archiver fails upon bogus file names.
5782 rm -f conftest.$ac_objext libconftest.a
5783 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5784 (eval $lt_ar_try) 2>&5
5786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5787 test $ac_status = 0; }
5788 if test "$ac_status" -ne 0; then
5792 rm -f conftest.* libconftest.a
5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5799 $as_echo "$lt_cv_ar_at_file" >&6; }
5801 if test "x$lt_cv_ar_at_file" = xno; then
5804 archiver_list_spec=$lt_cv_ar_at_file
5813 if test -n "$ac_tool_prefix"; then
5814 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5815 set dummy ${ac_tool_prefix}strip; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_STRIP+:} false; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$STRIP"; then
5822 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 STRIP=$ac_cv_prog_STRIP
5842 if test -n "$STRIP"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5844 $as_echo "$STRIP" >&6; }
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 if test -z "$ac_cv_prog_STRIP"; then
5854 # Extract the first word of "strip", so it can be a program name with args.
5855 set dummy strip; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -n "$ac_ct_STRIP"; then
5862 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 ac_cv_prog_ac_ct_STRIP="strip"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5882 if test -n "$ac_ct_STRIP"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5884 $as_echo "$ac_ct_STRIP" >&6; }
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5890 if test "x$ac_ct_STRIP" = x; then
5893 case $cross_compiling:$ac_tool_warned in
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned=yes ;;
5902 STRIP="$ac_cv_prog_STRIP"
5905 test -z "$STRIP" && STRIP=:
5912 if test -n "$ac_tool_prefix"; then
5913 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5914 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_RANLIB+:} false; then :
5918 $as_echo_n "(cached) " >&6
5920 if test -n "$RANLIB"; then
5921 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 RANLIB=$ac_cv_prog_RANLIB
5941 if test -n "$RANLIB"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5943 $as_echo "$RANLIB" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5951 if test -z "$ac_cv_prog_RANLIB"; then
5952 ac_ct_RANLIB=$RANLIB
5953 # Extract the first word of "ranlib", so it can be a program name with args.
5954 set dummy ranlib; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -n "$ac_ct_RANLIB"; then
5961 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_ac_ct_RANLIB="ranlib"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5981 if test -n "$ac_ct_RANLIB"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5983 $as_echo "$ac_ct_RANLIB" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5989 if test "x$ac_ct_RANLIB" = x; then
5992 case $cross_compiling:$ac_tool_warned in
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5996 ac_tool_warned=yes ;;
5998 RANLIB=$ac_ct_RANLIB
6001 RANLIB="$ac_cv_prog_RANLIB"
6004 test -z "$RANLIB" && RANLIB=:
6011 # Determine commands to create old-style static archives.
6012 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6013 old_postinstall_cmds='chmod 644 $oldlib'
6014 old_postuninstall_cmds=
6016 if test -n "$RANLIB"; then
6019 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6022 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6025 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6030 lock_old_archive_extraction=yes ;;
6032 lock_old_archive_extraction=no ;;
6073 # If no C compiler was specified, use CC.
6076 # If no C compiler flags were specified, use CFLAGS.
6077 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6079 # Allow CC to be a program name with arguments.
6083 # Check for command to grab the raw symbol name followed by C symbol from nm.
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6085 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6086 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6087 $as_echo_n "(cached) " >&6
6090 # These are sane defaults that work on at least a few old systems.
6091 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6093 # Character class describing NM global symbol codes.
6094 symcode='[BCDEGRST]'
6096 # Regexp to match symbols that can be accessed directly from C.
6097 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6099 # Define system-specific variables.
6104 cygwin* | mingw* | pw32* | cegcc*)
6105 symcode='[ABCDGISTW]'
6108 if test "$host_cpu" = ia64; then
6109 symcode='[ABCDEGRST]'
6113 symcode='[BCDEGRST]'
6116 symcode='[BCDEGQRST]'
6127 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6135 # If we're using GNU nm, then use its standard symbol codes.
6136 case `$NM -V 2>&1` in
6137 *GNU* | *'with BFD'*)
6138 symcode='[ABCDGIRSTW]' ;;
6141 # Transform an extracted symbol line into a proper C declaration.
6142 # Some systems (esp. on ia64) link data and code symbols differently,
6143 # so use this general approach.
6144 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6146 # Transform an extracted symbol line into symbol name and symbol address
6147 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6148 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'"
6150 # Handle CRLF in mingw tool chain
6154 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6158 # Try without a prefix underscore, then with it.
6159 for ac_symprfx in "" "_"; do
6161 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6162 symxfrm="\\1 $ac_symprfx\\2 \\2"
6164 # Write the raw and C identifiers.
6165 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6166 # Fake it for dumpbin and say T for any non-static function
6167 # and D for any global variable.
6168 # Also find C++ and __fastcall symbols from MSVC++,
6169 # which start with @ or ?.
6170 lt_cv_sys_global_symbol_pipe="$AWK '"\
6171 " {last_section=section; section=\$ 3};"\
6172 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6173 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6174 " \$ 0!~/External *\|/{next};"\
6175 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6176 " {if(hide[section]) next};"\
6177 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6178 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6179 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6180 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6181 " ' prfx=^$ac_symprfx"
6183 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6185 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6187 # Check to see that the pipe works correctly.
6191 cat > conftest.$ac_ext <<_LT_EOF
6196 void nm_test_func(void);
6197 void nm_test_func(void){}
6201 int main(){nm_test_var='a';nm_test_func();return(0);}
6204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6205 (eval $ac_compile) 2>&5
6207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6208 test $ac_status = 0; }; then
6209 # Now try to grab the symbols.
6211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6212 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6215 test $ac_status = 0; } && test -s "$nlist"; then
6216 # Try sorting and uniquifying the output.
6217 if sort "$nlist" | uniq > "$nlist"T; then
6218 mv -f "$nlist"T "$nlist"
6223 # Make sure that we snagged all the symbols we need.
6224 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6225 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6226 cat <<_LT_EOF > conftest.$ac_ext
6227 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6228 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6229 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6230 relocations are performed -- see ld's documentation on pseudo-relocs. */
6231 # define LT_DLSYM_CONST
6232 #elif defined(__osf__)
6233 /* This system does not cope well with relocations in const data. */
6234 # define LT_DLSYM_CONST
6236 # define LT_DLSYM_CONST const
6244 # Now generate the symbol file.
6245 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6247 cat <<_LT_EOF >> conftest.$ac_ext
6249 /* The mapping between symbol names and symbols. */
6250 LT_DLSYM_CONST struct {
6254 lt__PROGRAM__LTX_preloaded_symbols[] =
6256 { "@PROGRAM@", (void *) 0 },
6258 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6259 cat <<\_LT_EOF >> conftest.$ac_ext
6263 /* This works around a problem in FreeBSD linker */
6264 #ifdef FREEBSD_WORKAROUND
6265 static const void *lt_preloaded_setup() {
6266 return lt__PROGRAM__LTX_preloaded_symbols;
6274 # Now try linking the two files.
6275 mv conftest.$ac_objext conftstm.$ac_objext
6276 lt_globsym_save_LIBS=$LIBS
6277 lt_globsym_save_CFLAGS=$CFLAGS
6278 LIBS="conftstm.$ac_objext"
6279 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6280 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6281 (eval $ac_link) 2>&5
6283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6284 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6287 LIBS=$lt_globsym_save_LIBS
6288 CFLAGS=$lt_globsym_save_CFLAGS
6290 echo "cannot find nm_test_func in $nlist" >&5
6293 echo "cannot find nm_test_var in $nlist" >&5
6296 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6299 echo "$progname: failed program was:" >&5
6300 cat conftest.$ac_ext >&5
6302 rm -rf conftest* conftst*
6304 # Do not use the global_symbol_pipe unless it works.
6305 if test "$pipe_works" = yes; then
6308 lt_cv_sys_global_symbol_pipe=
6314 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6315 lt_cv_sys_global_symbol_to_cdecl=
6317 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6319 $as_echo "failed" >&6; }
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6322 $as_echo "ok" >&6; }
6325 # Response file support.
6326 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6327 nm_file_list_spec='@'
6328 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6329 nm_file_list_spec='@'
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6359 $as_echo_n "checking for sysroot... " >&6; }
6361 # Check whether --with-sysroot was given.
6362 if test "${with_sysroot+set}" = set; then :
6363 withval=$with_sysroot;
6370 case ${with_sysroot} in #(
6372 if test "$GCC" = yes; then
6373 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6377 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6383 $as_echo "${with_sysroot}" >&6; }
6384 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6389 $as_echo "${lt_sysroot:-no}" >&6; }
6395 # Check whether --enable-libtool-lock was given.
6396 if test "${enable_libtool_lock+set}" = set; then :
6397 enableval=$enable_libtool_lock;
6400 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6402 # Some flags need to be propagated to the compiler or linker for good
6406 # Find out which ABI we are using.
6407 echo 'int i;' > conftest.$ac_ext
6408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6409 (eval $ac_compile) 2>&5
6411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6412 test $ac_status = 0; }; then
6413 case `/usr/bin/file conftest.$ac_objext` in
6425 # Find out which ABI we are using.
6426 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6427 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6428 (eval $ac_compile) 2>&5
6430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6431 test $ac_status = 0; }; then
6432 if test "$lt_cv_prog_gnu_ld" = yes; then
6433 case `/usr/bin/file conftest.$ac_objext` in
6435 LD="${LD-ld} -melf32bsmip"
6438 LD="${LD-ld} -melf32bmipn32"
6441 LD="${LD-ld} -melf64bmip"
6445 case `/usr/bin/file conftest.$ac_objext` in
6461 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6462 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6463 # Find out which ABI we are using.
6464 echo 'int i;' > conftest.$ac_ext
6465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6466 (eval $ac_compile) 2>&5
6468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6469 test $ac_status = 0; }; then
6470 case `/usr/bin/file conftest.o` in
6473 x86_64-*kfreebsd*-gnu)
6474 LD="${LD-ld} -m elf_i386_fbsd"
6477 case `/usr/bin/file conftest.o` in
6479 LD="${LD-ld} -m elf32_x86_64"
6482 LD="${LD-ld} -m elf_i386"
6487 LD="${LD-ld} -m elf32lppclinux"
6490 LD="${LD-ld} -m elf32ppclinux"
6493 LD="${LD-ld} -m elf_s390"
6496 LD="${LD-ld} -m elf32_sparc"
6502 x86_64-*kfreebsd*-gnu)
6503 LD="${LD-ld} -m elf_x86_64_fbsd"
6506 LD="${LD-ld} -m elf_x86_64"
6509 LD="${LD-ld} -m elf64lppc"
6512 LD="${LD-ld} -m elf64ppc"
6514 s390*-*linux*|s390*-*tpf*)
6515 LD="${LD-ld} -m elf64_s390"
6518 LD="${LD-ld} -m elf64_sparc"
6528 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6529 SAVE_CFLAGS="$CFLAGS"
6530 CFLAGS="$CFLAGS -belf"
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6532 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6533 if ${lt_cv_cc_needs_belf+:} false; then :
6534 $as_echo_n "(cached) " >&6
6537 ac_cpp='$CPP $CPPFLAGS'
6538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h. */
6553 if ac_fn_c_try_link "$LINENO"; then :
6554 lt_cv_cc_needs_belf=yes
6556 lt_cv_cc_needs_belf=no
6558 rm -f core conftest.err conftest.$ac_objext \
6559 conftest$ac_exeext conftest.$ac_ext
6561 ac_cpp='$CPP $CPPFLAGS'
6562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6568 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6569 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6570 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6571 CFLAGS="$SAVE_CFLAGS"
6575 # Find out which ABI we are using.
6576 echo 'int i;' > conftest.$ac_ext
6577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6578 (eval $ac_compile) 2>&5
6580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6581 test $ac_status = 0; }; then
6582 case `/usr/bin/file conftest.o` in
6584 case $lt_cv_prog_gnu_ld in
6588 LD="${LD-ld} -m elf_x86_64"
6591 LD="${LD-ld} -m elf64_sparc"
6594 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6595 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6600 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6612 need_locks="$enable_libtool_lock"
6614 if test -n "$ac_tool_prefix"; then
6615 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6616 set dummy ${ac_tool_prefix}mt; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618 $as_echo_n "checking for $ac_word... " >&6; }
6619 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6620 $as_echo_n "(cached) " >&6
6622 if test -n "$MANIFEST_TOOL"; then
6623 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6643 if test -n "$MANIFEST_TOOL"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6645 $as_echo "$MANIFEST_TOOL" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 $as_echo "no" >&6; }
6653 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6654 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6655 # Extract the first word of "mt", so it can be a program name with args.
6656 set dummy mt; ac_word=$2
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 $as_echo_n "checking for $ac_word... " >&6; }
6659 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6660 $as_echo_n "(cached) " >&6
6662 if test -n "$ac_ct_MANIFEST_TOOL"; then
6663 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6683 if test -n "$ac_ct_MANIFEST_TOOL"; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6685 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6691 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6694 case $cross_compiling:$ac_tool_warned in
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6698 ac_tool_warned=yes ;;
6700 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6703 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6706 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6708 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6709 if ${lt_cv_path_mainfest_tool+:} false; then :
6710 $as_echo_n "(cached) " >&6
6712 lt_cv_path_mainfest_tool=no
6713 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6714 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6715 cat conftest.err >&5
6716 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6717 lt_cv_path_mainfest_tool=yes
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6722 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6723 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6733 rhapsody* | darwin*)
6734 if test -n "$ac_tool_prefix"; then
6735 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6736 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6740 $as_echo_n "(cached) " >&6
6742 if test -n "$DSYMUTIL"; then
6743 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6763 if test -n "$DSYMUTIL"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6765 $as_echo "$DSYMUTIL" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6773 if test -z "$ac_cv_prog_DSYMUTIL"; then
6774 ac_ct_DSYMUTIL=$DSYMUTIL
6775 # Extract the first word of "dsymutil", so it can be a program name with args.
6776 set dummy dsymutil; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$ac_ct_DSYMUTIL"; then
6783 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6803 if test -n "$ac_ct_DSYMUTIL"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6805 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6811 if test "x$ac_ct_DSYMUTIL" = x; then
6814 case $cross_compiling:$ac_tool_warned in
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6818 ac_tool_warned=yes ;;
6820 DSYMUTIL=$ac_ct_DSYMUTIL
6823 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6826 if test -n "$ac_tool_prefix"; then
6827 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6828 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 $as_echo_n "checking for $ac_word... " >&6; }
6831 if ${ac_cv_prog_NMEDIT+:} false; then :
6832 $as_echo_n "(cached) " >&6
6834 if test -n "$NMEDIT"; then
6835 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir=.
6842 for ac_exec_ext in '' $ac_executable_extensions; do
6843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6844 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854 NMEDIT=$ac_cv_prog_NMEDIT
6855 if test -n "$NMEDIT"; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6857 $as_echo "$NMEDIT" >&6; }
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860 $as_echo "no" >&6; }
6865 if test -z "$ac_cv_prog_NMEDIT"; then
6866 ac_ct_NMEDIT=$NMEDIT
6867 # Extract the first word of "nmedit", so it can be a program name with args.
6868 set dummy nmedit; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6872 $as_echo_n "(cached) " >&6
6874 if test -n "$ac_ct_NMEDIT"; then
6875 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir=.
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6895 if test -n "$ac_ct_NMEDIT"; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6897 $as_echo "$ac_ct_NMEDIT" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6903 if test "x$ac_ct_NMEDIT" = x; then
6906 case $cross_compiling:$ac_tool_warned in
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6910 ac_tool_warned=yes ;;
6912 NMEDIT=$ac_ct_NMEDIT
6915 NMEDIT="$ac_cv_prog_NMEDIT"
6918 if test -n "$ac_tool_prefix"; then
6919 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6920 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922 $as_echo_n "checking for $ac_word... " >&6; }
6923 if ${ac_cv_prog_LIPO+:} false; then :
6924 $as_echo_n "(cached) " >&6
6926 if test -n "$LIPO"; then
6927 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 test -z "$as_dir" && as_dir=.
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6936 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 LIPO=$ac_cv_prog_LIPO
6947 if test -n "$LIPO"; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6949 $as_echo "$LIPO" >&6; }
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6957 if test -z "$ac_cv_prog_LIPO"; then
6959 # Extract the first word of "lipo", so it can be a program name with args.
6960 set dummy lipo; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$ac_ct_LIPO"; then
6967 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_ac_ct_LIPO="lipo"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6987 if test -n "$ac_ct_LIPO"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6989 $as_echo "$ac_ct_LIPO" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6995 if test "x$ac_ct_LIPO" = x; then
6998 case $cross_compiling:$ac_tool_warned in
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7002 ac_tool_warned=yes ;;
7007 LIPO="$ac_cv_prog_LIPO"
7010 if test -n "$ac_tool_prefix"; then
7011 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7012 set dummy ${ac_tool_prefix}otool; ac_word=$2
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 $as_echo_n "checking for $ac_word... " >&6; }
7015 if ${ac_cv_prog_OTOOL+:} false; then :
7016 $as_echo_n "(cached) " >&6
7018 if test -n "$OTOOL"; then
7019 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7025 test -z "$as_dir" && as_dir=.
7026 for ac_exec_ext in '' $ac_executable_extensions; do
7027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7028 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038 OTOOL=$ac_cv_prog_OTOOL
7039 if test -n "$OTOOL"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7041 $as_echo "$OTOOL" >&6; }
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7049 if test -z "$ac_cv_prog_OTOOL"; then
7051 # Extract the first word of "otool", so it can be a program name with args.
7052 set dummy otool; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$ac_ct_OTOOL"; then
7059 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir=.
7066 for ac_exec_ext in '' $ac_executable_extensions; do
7067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_prog_ac_ct_OTOOL="otool"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7079 if test -n "$ac_ct_OTOOL"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7081 $as_echo "$ac_ct_OTOOL" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7087 if test "x$ac_ct_OTOOL" = x; then
7090 case $cross_compiling:$ac_tool_warned in
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7094 ac_tool_warned=yes ;;
7099 OTOOL="$ac_cv_prog_OTOOL"
7102 if test -n "$ac_tool_prefix"; then
7103 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7104 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if ${ac_cv_prog_OTOOL64+:} false; then :
7108 $as_echo_n "(cached) " >&6
7110 if test -n "$OTOOL64"; then
7111 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 test -z "$as_dir" && as_dir=.
7118 for ac_exec_ext in '' $ac_executable_extensions; do
7119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7120 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 OTOOL64=$ac_cv_prog_OTOOL64
7131 if test -n "$OTOOL64"; then
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7133 $as_echo "$OTOOL64" >&6; }
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7141 if test -z "$ac_cv_prog_OTOOL64"; then
7142 ac_ct_OTOOL64=$OTOOL64
7143 # Extract the first word of "otool64", so it can be a program name with args.
7144 set dummy otool64; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7148 $as_echo_n "(cached) " >&6
7150 if test -n "$ac_ct_OTOOL64"; then
7151 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 test -z "$as_dir" && as_dir=.
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_ac_ct_OTOOL64="otool64"
7161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7171 if test -n "$ac_ct_OTOOL64"; then
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7173 $as_echo "$ac_ct_OTOOL64" >&6; }
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7179 if test "x$ac_ct_OTOOL64" = x; then
7182 case $cross_compiling:$ac_tool_warned in
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7186 ac_tool_warned=yes ;;
7188 OTOOL64=$ac_ct_OTOOL64
7191 OTOOL64="$ac_cv_prog_OTOOL64"
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7221 $as_echo_n "checking for -single_module linker flag... " >&6; }
7222 if ${lt_cv_apple_cc_single_mod+:} false; then :
7223 $as_echo_n "(cached) " >&6
7225 lt_cv_apple_cc_single_mod=no
7226 if test -z "${LT_MULTI_MODULE}"; then
7227 # By default we will add the -single_module flag. You can override
7228 # by either setting the environment variable LT_MULTI_MODULE
7229 # non-empty at configure time, or by adding -multi_module to the
7231 rm -rf libconftest.dylib*
7232 echo "int foo(void){return 1;}" > conftest.c
7233 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7234 -dynamiclib -Wl,-single_module conftest.c" >&5
7235 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7236 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7238 # If there is a non-empty error log, and "single_module"
7239 # appears in it, assume the flag caused a linker warning
7240 if test -s conftest.err && $GREP single_module conftest.err; then
7241 cat conftest.err >&5
7242 # Otherwise, if the output was created with a 0 exit code from
7243 # the compiler, it worked.
7244 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7245 lt_cv_apple_cc_single_mod=yes
7247 cat conftest.err >&5
7249 rm -rf libconftest.dylib*
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7254 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7257 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7258 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7259 $as_echo_n "(cached) " >&6
7261 lt_cv_ld_exported_symbols_list=no
7262 save_LDFLAGS=$LDFLAGS
7263 echo "_main" > conftest.sym
7264 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7276 if ac_fn_c_try_link "$LINENO"; then :
7277 lt_cv_ld_exported_symbols_list=yes
7279 lt_cv_ld_exported_symbols_list=no
7281 rm -f core conftest.err conftest.$ac_objext \
7282 conftest$ac_exeext conftest.$ac_ext
7283 LDFLAGS="$save_LDFLAGS"
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7287 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7290 $as_echo_n "checking for -force_load linker flag... " >&6; }
7291 if ${lt_cv_ld_force_load+:} false; then :
7292 $as_echo_n "(cached) " >&6
7294 lt_cv_ld_force_load=no
7295 cat > conftest.c << _LT_EOF
7296 int forced_loaded() { return 2;}
7298 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7299 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7300 echo "$AR cru libconftest.a conftest.o" >&5
7301 $AR cru libconftest.a conftest.o 2>&5
7302 echo "$RANLIB libconftest.a" >&5
7303 $RANLIB libconftest.a 2>&5
7304 cat > conftest.c << _LT_EOF
7305 int main() { return 0;}
7307 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7308 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7310 if test -s conftest.err && $GREP force_load conftest.err; then
7311 cat conftest.err >&5
7312 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7313 lt_cv_ld_force_load=yes
7315 cat conftest.err >&5
7317 rm -f conftest.err libconftest.a conftest conftest.c
7318 rm -rf conftest.dSYM
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7322 $as_echo "$lt_cv_ld_force_load" >&6; }
7324 rhapsody* | darwin1.[012])
7325 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7327 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7328 darwin*) # darwin 5.x on
7329 # if running on 10.5 or later, the deployment target defaults
7330 # to the OS version, if on x86, and 10.4, the deployment
7331 # target defaults to 10.4. Don't you love it?
7332 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7333 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7334 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7336 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7338 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7342 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7343 _lt_dar_single_mod='$single_module'
7345 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7346 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7348 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7350 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7351 _lt_dsymutil='~$DSYMUTIL $lib || :'
7359 ac_cpp='$CPP $CPPFLAGS'
7360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7364 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7365 # On Suns, sometimes $CPP names a directory.
7366 if test -n "$CPP" && test -d "$CPP"; then
7369 if test -z "$CPP"; then
7370 if ${ac_cv_prog_CPP+:} false; then :
7371 $as_echo_n "(cached) " >&6
7373 # Double quotes because CPP needs to be expanded
7374 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7377 for ac_c_preproc_warn_flag in '' yes
7379 # Use a header file that comes with gcc, so configuring glibc
7380 # with a fresh cross-compiler works.
7381 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7382 # <limits.h> exists even on freestanding compilers.
7383 # On the NeXT, cc -E runs the code through the compiler's parser,
7384 # not just through cpp. "Syntax error" is here to catch this case.
7385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7386 /* end confdefs.h. */
7388 # include <limits.h>
7390 # include <assert.h>
7394 if ac_fn_c_try_cpp "$LINENO"; then :
7397 # Broken: fails on valid input.
7400 rm -f conftest.err conftest.i conftest.$ac_ext
7402 # OK, works on sane cases. Now check whether nonexistent headers
7403 # can be detected and how.
7404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7405 /* end confdefs.h. */
7406 #include <ac_nonexistent.h>
7408 if ac_fn_c_try_cpp "$LINENO"; then :
7409 # Broken: success on invalid input.
7412 # Passes both tests.
7416 rm -f conftest.err conftest.i conftest.$ac_ext
7419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7420 rm -f conftest.i conftest.err conftest.$ac_ext
7421 if $ac_preproc_ok; then :
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7434 $as_echo "$CPP" >&6; }
7436 for ac_c_preproc_warn_flag in '' yes
7438 # Use a header file that comes with gcc, so configuring glibc
7439 # with a fresh cross-compiler works.
7440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7441 # <limits.h> exists even on freestanding compilers.
7442 # On the NeXT, cc -E runs the code through the compiler's parser,
7443 # not just through cpp. "Syntax error" is here to catch this case.
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7447 # include <limits.h>
7449 # include <assert.h>
7453 if ac_fn_c_try_cpp "$LINENO"; then :
7456 # Broken: fails on valid input.
7459 rm -f conftest.err conftest.i conftest.$ac_ext
7461 # OK, works on sane cases. Now check whether nonexistent headers
7462 # can be detected and how.
7463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464 /* end confdefs.h. */
7465 #include <ac_nonexistent.h>
7467 if ac_fn_c_try_cpp "$LINENO"; then :
7468 # Broken: success on invalid input.
7471 # Passes both tests.
7475 rm -f conftest.err conftest.i conftest.$ac_ext
7478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7479 rm -f conftest.i conftest.err conftest.$ac_ext
7480 if $ac_preproc_ok; then :
7483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7485 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7486 See \`config.log' for more details" "$LINENO" 5; }
7490 ac_cpp='$CPP $CPPFLAGS'
7491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7497 $as_echo_n "checking for ANSI C header files... " >&6; }
7498 if ${ac_cv_header_stdc+:} false; then :
7499 $as_echo_n "(cached) " >&6
7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7516 if ac_fn_c_try_compile "$LINENO"; then :
7517 ac_cv_header_stdc=yes
7519 ac_cv_header_stdc=no
7521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7523 if test $ac_cv_header_stdc = yes; then
7524 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7531 $EGREP "memchr" >/dev/null 2>&1; then :
7534 ac_cv_header_stdc=no
7540 if test $ac_cv_header_stdc = yes; then
7541 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7548 $EGREP "free" >/dev/null 2>&1; then :
7551 ac_cv_header_stdc=no
7557 if test $ac_cv_header_stdc = yes; then
7558 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7559 if test "$cross_compiling" = yes; then :
7562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7563 /* end confdefs.h. */
7566 #if ((' ' & 0x0FF) == 0x020)
7567 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7568 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7570 # define ISLOWER(c) \
7571 (('a' <= (c) && (c) <= 'i') \
7572 || ('j' <= (c) && (c) <= 'r') \
7573 || ('s' <= (c) && (c) <= 'z'))
7574 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7577 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7582 for (i = 0; i < 256; i++)
7583 if (XOR (islower (i), ISLOWER (i))
7584 || toupper (i) != TOUPPER (i))
7589 if ac_fn_c_try_run "$LINENO"; then :
7592 ac_cv_header_stdc=no
7594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7595 conftest.$ac_objext conftest.beam conftest.$ac_ext
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7601 $as_echo "$ac_cv_header_stdc" >&6; }
7602 if test $ac_cv_header_stdc = yes; then
7604 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7608 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7610 inttypes.h stdint.h unistd.h
7612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7615 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7616 cat >>confdefs.h <<_ACEOF
7617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7625 for ac_header in dlfcn.h
7627 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7629 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7630 cat >>confdefs.h <<_ACEOF
7631 #define HAVE_DLFCN_H 1
7643 # Check whether --enable-static was given.
7644 if test "${enable_static+set}" = set; then :
7645 enableval=$enable_static; p=${PACKAGE-default}
7647 yes) enable_static=yes ;;
7648 no) enable_static=no ;;
7651 # Look at the argument we got. We use all the common list separators.
7652 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7653 for pkg in $enableval; do
7655 if test "X$pkg" = "X$p"; then
7681 # Check whether --enable-shared was given.
7682 if test "${enable_shared+set}" = set; then :
7683 enableval=$enable_shared; p=${PACKAGE-default}
7685 yes) enable_shared=yes ;;
7686 no) enable_shared=no ;;
7689 # Look at the argument we got. We use all the common list separators.
7690 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7691 for pkg in $enableval; do
7693 if test "X$pkg" = "X$p"; then
7714 # Check whether --with-pic was given.
7715 if test "${with_pic+set}" = set; then :
7716 withval=$with_pic; lt_p=${PACKAGE-default}
7718 yes|no) pic_mode=$withval ;;
7721 # Look at the argument we got. We use all the common list separators.
7722 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7723 for lt_pkg in $withval; do
7725 if test "X$lt_pkg" = "X$lt_p"; then
7737 test -z "$pic_mode" && pic_mode=default
7745 # Check whether --enable-fast-install was given.
7746 if test "${enable_fast_install+set}" = set; then :
7747 enableval=$enable_fast_install; p=${PACKAGE-default}
7749 yes) enable_fast_install=yes ;;
7750 no) enable_fast_install=no ;;
7752 enable_fast_install=no
7753 # Look at the argument we got. We use all the common list separators.
7754 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7755 for pkg in $enableval; do
7757 if test "X$pkg" = "X$p"; then
7758 enable_fast_install=yes
7765 enable_fast_install=yes
7778 # This can be used to rebuild libtool when needed
7779 LIBTOOL_DEPS="$ltmain"
7781 # Always use our own libtool.
7782 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7813 test -z "$LN_S" && LN_S="ln -s"
7828 if test -n "${ZSH_VERSION+set}" ; then
7829 setopt NO_GLOB_SUBST
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7833 $as_echo_n "checking for objdir... " >&6; }
7834 if ${lt_cv_objdir+:} false; then :
7835 $as_echo_n "(cached) " >&6
7837 rm -f .libs 2>/dev/null
7838 mkdir .libs 2>/dev/null
7839 if test -d .libs; then
7842 # MS-DOS does not allow filenames that begin with a dot.
7845 rmdir .libs 2>/dev/null
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7848 $as_echo "$lt_cv_objdir" >&6; }
7849 objdir=$lt_cv_objdir
7855 cat >>confdefs.h <<_ACEOF
7856 #define LT_OBJDIR "$lt_cv_objdir/"
7864 # AIX sometimes has problems with the GCC collect2 program. For some
7865 # reason, if we set the COLLECT_NAMES environment variable, the problems
7866 # vanish in a puff of smoke.
7867 if test "X${COLLECT_NAMES+set}" != Xset; then
7869 export COLLECT_NAMES
7876 can_build_shared=yes
7878 # All known linkers require a `.a' archive for static linking (except MSVC,
7879 # which needs '.lib').
7882 with_gnu_ld="$lt_cv_prog_gnu_ld"
7885 old_CFLAGS="$CFLAGS"
7887 # Set sane defaults for various variables
7888 test -z "$CC" && CC=cc
7889 test -z "$LTCC" && LTCC=$CC
7890 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7891 test -z "$LD" && LD=ld
7892 test -z "$ac_objext" && ac_objext=o
7894 for cc_temp in $compiler""; do
7896 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7897 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7902 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7905 # Only perform the check for file, if the check method requires it
7906 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7907 case $deplibs_check_method in
7909 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7911 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7912 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7913 $as_echo_n "(cached) " >&6
7917 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7920 lt_save_MAGIC_CMD="$MAGIC_CMD"
7921 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7922 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7923 for ac_dir in $ac_dummy; do
7925 test -z "$ac_dir" && ac_dir=.
7926 if test -f $ac_dir/${ac_tool_prefix}file; then
7927 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7928 if test -n "$file_magic_test_file"; then
7929 case $deplibs_check_method in
7931 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7932 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7933 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7934 $EGREP "$file_magic_regex" > /dev/null; then
7939 *** Warning: the command libtool uses to detect shared libraries,
7940 *** $file_magic_cmd, produces output that libtool cannot recognize.
7941 *** The result is that libtool may fail to recognize shared libraries
7942 *** as such. This will affect the creation of libtool libraries that
7943 *** depend on shared libraries, but programs linked with such libtool
7944 *** libraries will work regardless of this problem. Nevertheless, you
7945 *** may want to report the problem to your system manager and/or to
7946 *** bug-libtool@gnu.org
7956 MAGIC_CMD="$lt_save_MAGIC_CMD"
7961 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7962 if test -n "$MAGIC_CMD"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7964 $as_echo "$MAGIC_CMD" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7974 if test -z "$lt_cv_path_MAGIC_CMD"; then
7975 if test -n "$ac_tool_prefix"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7977 $as_echo_n "checking for file... " >&6; }
7978 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7979 $as_echo_n "(cached) " >&6
7983 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7986 lt_save_MAGIC_CMD="$MAGIC_CMD"
7987 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7988 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7989 for ac_dir in $ac_dummy; do
7991 test -z "$ac_dir" && ac_dir=.
7992 if test -f $ac_dir/file; then
7993 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7994 if test -n "$file_magic_test_file"; then
7995 case $deplibs_check_method in
7997 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7998 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7999 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8000 $EGREP "$file_magic_regex" > /dev/null; then
8005 *** Warning: the command libtool uses to detect shared libraries,
8006 *** $file_magic_cmd, produces output that libtool cannot recognize.
8007 *** The result is that libtool may fail to recognize shared libraries
8008 *** as such. This will affect the creation of libtool libraries that
8009 *** depend on shared libraries, but programs linked with such libtool
8010 *** libraries will work regardless of this problem. Nevertheless, you
8011 *** may want to report the problem to your system manager and/or to
8012 *** bug-libtool@gnu.org
8022 MAGIC_CMD="$lt_save_MAGIC_CMD"
8027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8028 if test -n "$MAGIC_CMD"; then
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8030 $as_echo "$MAGIC_CMD" >&6; }
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8046 # Use C for the default configuration in the libtool script
8050 ac_cpp='$CPP $CPPFLAGS'
8051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8056 # Source file extension for C test sources.
8059 # Object file extension for compiled C test sources.
8063 # Code to be used in simple compile tests
8064 lt_simple_compile_test_code="int some_variable = 0;"
8066 # Code to be used in simple link tests
8067 lt_simple_link_test_code='int main(){return(0);}'
8075 # If no C compiler was specified, use CC.
8078 # If no C compiler flags were specified, use CFLAGS.
8079 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8081 # Allow CC to be a program name with arguments.
8084 # Save the default compiler, since it gets overwritten when the other
8085 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8086 compiler_DEFAULT=$CC
8088 # save warnings/boilerplate of simple test code
8089 ac_outfile=conftest.$ac_objext
8090 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8091 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8092 _lt_compiler_boilerplate=`cat conftest.err`
8095 ac_outfile=conftest.$ac_objext
8096 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8097 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8098 _lt_linker_boilerplate=`cat conftest.err`
8103 ## There is no encapsulation within the following macros, do not change
8104 ## the running order or otherwise move them around unless you know exactly
8105 ## what you are doing...
8106 if test -n "$compiler"; then
8108 lt_prog_compiler_no_builtin_flag=
8110 if test "$GCC" = yes; then
8111 case $cc_basename in
8113 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8115 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8119 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8120 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8121 $as_echo_n "(cached) " >&6
8123 lt_cv_prog_compiler_rtti_exceptions=no
8124 ac_outfile=conftest.$ac_objext
8125 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8126 lt_compiler_flag="-fno-rtti -fno-exceptions"
8127 # Insert the option either (1) after the last *FLAGS variable, or
8128 # (2) before a word containing "conftest.", or (3) at the end.
8129 # Note that $ac_compile itself does not contain backslashes and begins
8130 # with a dollar sign (not a hyphen), so the echo should work correctly.
8131 # The option is referenced via a variable to avoid confusing sed.
8132 lt_compile=`echo "$ac_compile" | $SED \
8133 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8134 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8135 -e 's:$: $lt_compiler_flag:'`
8136 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8137 (eval "$lt_compile" 2>conftest.err)
8139 cat conftest.err >&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 if (exit $ac_status) && test -s "$ac_outfile"; then
8142 # The compiler can only warn and ignore the option if not recognized
8143 # So say no if there are warnings other than the usual output.
8144 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8145 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8146 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8147 lt_cv_prog_compiler_rtti_exceptions=yes
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8154 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8156 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8157 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8169 lt_prog_compiler_wl=
8170 lt_prog_compiler_pic=
8171 lt_prog_compiler_static=
8174 if test "$GCC" = yes; then
8175 lt_prog_compiler_wl='-Wl,'
8176 lt_prog_compiler_static='-static'
8180 # All AIX code is PIC.
8181 if test "$host_cpu" = ia64; then
8182 # AIX 5 now supports IA64 processor
8183 lt_prog_compiler_static='-Bstatic'
8190 # see comment about AmigaOS4 .so support
8191 lt_prog_compiler_pic='-fPIC'
8194 # FIXME: we need at least 68020 code to build shared libraries, but
8195 # adding the `-m68020' flag to GCC prevents building anything better,
8197 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8202 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8203 # PIC is the default for these OSes.
8206 mingw* | cygwin* | pw32* | os2* | cegcc*)
8207 # This hack is so that the source file can tell whether it is being
8208 # built for inclusion in a dll (and should export symbols for example).
8209 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8210 # (--disable-auto-import) libraries
8211 lt_prog_compiler_pic='-DDLL_EXPORT'
8214 darwin* | rhapsody*)
8215 # PIC is the default on this platform
8216 # Common symbols not allowed in MH_DYLIB files
8217 lt_prog_compiler_pic='-fno-common'
8221 # PIC is the default for Haiku.
8222 # The "-static" flag exists, but is broken.
8223 lt_prog_compiler_static=
8227 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8228 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8229 # sets the default TLS model and affects inlining.
8235 lt_prog_compiler_pic='-fPIC'
8241 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8242 # Instead, we relocate shared libraries at runtime.
8246 # Just because we use GCC doesn't mean we suddenly get shared libraries
8247 # on systems that don't support them.
8248 lt_prog_compiler_can_build_shared=no
8253 # QNX uses GNU C++, but need to define -shared option too, otherwise
8255 lt_prog_compiler_pic='-fPIC -shared'
8259 if test -d /usr/nec; then
8260 lt_prog_compiler_pic=-Kconform_pic
8265 lt_prog_compiler_pic='-fPIC'
8269 case $cc_basename in
8270 nvcc*) # Cuda Compiler Driver 2.2
8271 lt_prog_compiler_wl='-Xlinker '
8272 if test -n "$lt_prog_compiler_pic"; then
8273 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8278 # PORTME Check for flag to pass linker flags through the system compiler.
8281 lt_prog_compiler_wl='-Wl,'
8282 if test "$host_cpu" = ia64; then
8283 # AIX 5 now supports IA64 processor
8284 lt_prog_compiler_static='-Bstatic'
8286 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8290 mingw* | cygwin* | pw32* | os2* | cegcc*)
8291 # This hack is so that the source file can tell whether it is being
8292 # built for inclusion in a dll (and should export symbols for example).
8293 lt_prog_compiler_pic='-DDLL_EXPORT'
8296 hpux9* | hpux10* | hpux11*)
8297 lt_prog_compiler_wl='-Wl,'
8298 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8305 lt_prog_compiler_pic='+Z'
8308 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8309 lt_prog_compiler_static='${wl}-a ${wl}archive'
8312 irix5* | irix6* | nonstopux*)
8313 lt_prog_compiler_wl='-Wl,'
8314 # PIC (with -KPIC) is the default.
8315 lt_prog_compiler_static='-non_shared'
8318 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8319 case $cc_basename in
8320 # old Intel for x86_64 which still supported -KPIC.
8322 lt_prog_compiler_wl='-Wl,'
8323 lt_prog_compiler_pic='-KPIC'
8324 lt_prog_compiler_static='-static'
8326 # icc used to be incompatible with GCC.
8327 # ICC 10 doesn't accept -KPIC any more.
8329 lt_prog_compiler_wl='-Wl,'
8330 lt_prog_compiler_pic='-fPIC'
8331 lt_prog_compiler_static='-static'
8333 # Lahey Fortran 8.1.
8335 lt_prog_compiler_wl='-Wl,'
8336 lt_prog_compiler_pic='--shared'
8337 lt_prog_compiler_static='--static'
8340 # NAG Fortran compiler
8341 lt_prog_compiler_wl='-Wl,-Wl,,'
8342 lt_prog_compiler_pic='-PIC'
8343 lt_prog_compiler_static='-Bstatic'
8345 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8346 # Portland Group compilers (*not* the Pentium gcc compiler,
8347 # which looks to be a dead project)
8348 lt_prog_compiler_wl='-Wl,'
8349 lt_prog_compiler_pic='-fpic'
8350 lt_prog_compiler_static='-Bstatic'
8353 lt_prog_compiler_wl='-Wl,'
8354 # All Alpha code is PIC.
8355 lt_prog_compiler_static='-non_shared'
8357 xl* | bgxl* | bgf* | mpixl*)
8358 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8359 lt_prog_compiler_wl='-Wl,'
8360 lt_prog_compiler_pic='-qpic'
8361 lt_prog_compiler_static='-qstaticlink'
8364 case `$CC -V 2>&1 | sed 5q` in
8365 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8366 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8367 lt_prog_compiler_pic='-KPIC'
8368 lt_prog_compiler_static='-Bstatic'
8369 lt_prog_compiler_wl=''
8371 *Sun\ F* | *Sun*Fortran*)
8372 lt_prog_compiler_pic='-KPIC'
8373 lt_prog_compiler_static='-Bstatic'
8374 lt_prog_compiler_wl='-Qoption ld '
8378 lt_prog_compiler_pic='-KPIC'
8379 lt_prog_compiler_static='-Bstatic'
8380 lt_prog_compiler_wl='-Wl,'
8382 *Intel*\ [CF]*Compiler*)
8383 lt_prog_compiler_wl='-Wl,'
8384 lt_prog_compiler_pic='-fPIC'
8385 lt_prog_compiler_static='-static'
8388 lt_prog_compiler_wl='-Wl,'
8389 lt_prog_compiler_pic='-fpic'
8390 lt_prog_compiler_static='-Bstatic'
8398 lt_prog_compiler_pic='-KPIC'
8399 lt_prog_compiler_static='-Bstatic'
8403 # QNX uses GNU C++, but need to define -shared option too, otherwise
8405 lt_prog_compiler_pic='-fPIC -shared'
8408 osf3* | osf4* | osf5*)
8409 lt_prog_compiler_wl='-Wl,'
8410 # All OSF/1 code is PIC.
8411 lt_prog_compiler_static='-non_shared'
8415 lt_prog_compiler_static='-non_shared'
8419 lt_prog_compiler_pic='-KPIC'
8420 lt_prog_compiler_static='-Bstatic'
8421 case $cc_basename in
8422 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8423 lt_prog_compiler_wl='-Qoption ld ';;
8425 lt_prog_compiler_wl='-Wl,';;
8430 lt_prog_compiler_wl='-Qoption ld '
8431 lt_prog_compiler_pic='-PIC'
8432 lt_prog_compiler_static='-Bstatic'
8435 sysv4 | sysv4.2uw2* | sysv4.3*)
8436 lt_prog_compiler_wl='-Wl,'
8437 lt_prog_compiler_pic='-KPIC'
8438 lt_prog_compiler_static='-Bstatic'
8442 if test -d /usr/nec ;then
8443 lt_prog_compiler_pic='-Kconform_pic'
8444 lt_prog_compiler_static='-Bstatic'
8448 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8449 lt_prog_compiler_wl='-Wl,'
8450 lt_prog_compiler_pic='-KPIC'
8451 lt_prog_compiler_static='-Bstatic'
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_can_build_shared=no
8460 lt_prog_compiler_pic='-pic'
8461 lt_prog_compiler_static='-Bstatic'
8465 lt_prog_compiler_can_build_shared=no
8471 # For platforms which do not support PIC, -DPIC is meaningless:
8473 lt_prog_compiler_pic=
8476 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8481 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8482 if ${lt_cv_prog_compiler_pic+:} false; then :
8483 $as_echo_n "(cached) " >&6
8485 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8488 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8489 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8492 # Check to make sure the PIC flag actually works.
8494 if test -n "$lt_prog_compiler_pic"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8496 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8497 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8498 $as_echo_n "(cached) " >&6
8500 lt_cv_prog_compiler_pic_works=no
8501 ac_outfile=conftest.$ac_objext
8502 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8503 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8504 # Insert the option either (1) after the last *FLAGS variable, or
8505 # (2) before a word containing "conftest.", or (3) at the end.
8506 # Note that $ac_compile itself does not contain backslashes and begins
8507 # with a dollar sign (not a hyphen), so the echo should work correctly.
8508 # The option is referenced via a variable to avoid confusing sed.
8509 lt_compile=`echo "$ac_compile" | $SED \
8510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8512 -e 's:$: $lt_compiler_flag:'`
8513 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8514 (eval "$lt_compile" 2>conftest.err)
8516 cat conftest.err >&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 if (exit $ac_status) && test -s "$ac_outfile"; then
8519 # The compiler can only warn and ignore the option if not recognized
8520 # So say no if there are warnings other than the usual output.
8521 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8522 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8523 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8524 lt_cv_prog_compiler_pic_works=yes
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8531 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8533 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8534 case $lt_prog_compiler_pic in
8536 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8539 lt_prog_compiler_pic=
8540 lt_prog_compiler_can_build_shared=no
8556 # Check to make sure the static flag actually works.
8558 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8560 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8561 if ${lt_cv_prog_compiler_static_works+:} false; then :
8562 $as_echo_n "(cached) " >&6
8564 lt_cv_prog_compiler_static_works=no
8565 save_LDFLAGS="$LDFLAGS"
8566 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8567 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8568 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8569 # The linker can only warn and ignore the option if not recognized
8570 # So say no if there are warnings
8571 if test -s conftest.err; then
8572 # Append any errors to the config.log.
8573 cat conftest.err 1>&5
8574 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8575 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8576 if diff conftest.exp conftest.er2 >/dev/null; then
8577 lt_cv_prog_compiler_static_works=yes
8580 lt_cv_prog_compiler_static_works=yes
8584 LDFLAGS="$save_LDFLAGS"
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8588 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8590 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8593 lt_prog_compiler_static=
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8603 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8604 if ${lt_cv_prog_compiler_c_o+:} false; then :
8605 $as_echo_n "(cached) " >&6
8607 lt_cv_prog_compiler_c_o=no
8608 $RM -r conftest 2>/dev/null
8612 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8614 lt_compiler_flag="-o out/conftest2.$ac_objext"
8615 # Insert the option either (1) after the last *FLAGS variable, or
8616 # (2) before a word containing "conftest.", or (3) at the end.
8617 # Note that $ac_compile itself does not contain backslashes and begins
8618 # with a dollar sign (not a hyphen), so the echo should work correctly.
8619 lt_compile=`echo "$ac_compile" | $SED \
8620 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8621 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8622 -e 's:$: $lt_compiler_flag:'`
8623 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8624 (eval "$lt_compile" 2>out/conftest.err)
8626 cat out/conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8630 # The compiler can only warn and ignore the option if not recognized
8631 # So say no if there are warnings
8632 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8633 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8634 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8635 lt_cv_prog_compiler_c_o=yes
8640 # SGI C++ compiler will create directory out/ii_files/ for
8641 # template instantiation
8642 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8643 $RM out/* && rmdir out
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8650 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8658 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8659 if ${lt_cv_prog_compiler_c_o+:} false; then :
8660 $as_echo_n "(cached) " >&6
8662 lt_cv_prog_compiler_c_o=no
8663 $RM -r conftest 2>/dev/null
8667 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8669 lt_compiler_flag="-o out/conftest2.$ac_objext"
8670 # Insert the option either (1) after the last *FLAGS variable, or
8671 # (2) before a word containing "conftest.", or (3) at the end.
8672 # Note that $ac_compile itself does not contain backslashes and begins
8673 # with a dollar sign (not a hyphen), so the echo should work correctly.
8674 lt_compile=`echo "$ac_compile" | $SED \
8675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8677 -e 's:$: $lt_compiler_flag:'`
8678 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8679 (eval "$lt_compile" 2>out/conftest.err)
8681 cat out/conftest.err >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8685 # The compiler can only warn and ignore the option if not recognized
8686 # So say no if there are warnings
8687 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8688 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8689 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8690 lt_cv_prog_compiler_c_o=yes
8695 # SGI C++ compiler will create directory out/ii_files/ for
8696 # template instantiation
8697 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8698 $RM out/* && rmdir out
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8705 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8710 hard_links="nottested"
8711 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8712 # do not overwrite the value of need_locks provided by the user
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8714 $as_echo_n "checking if we can lock with hard links... " >&6; }
8717 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8719 ln conftest.a conftest.b 2>&5 || hard_links=no
8720 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8722 $as_echo "$hard_links" >&6; }
8723 if test "$hard_links" = no; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8725 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8738 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8741 allow_undefined_flag=
8742 always_export_symbols=no
8744 archive_expsym_cmds=
8745 compiler_needs_object=no
8746 enable_shared_with_static_runtimes=no
8747 export_dynamic_flag_spec=
8748 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8749 hardcode_automatic=no
8751 hardcode_direct_absolute=no
8752 hardcode_libdir_flag_spec=
8753 hardcode_libdir_separator=
8755 hardcode_shlibpath_var=unsupported
8757 link_all_deplibs=unknown
8760 old_archive_from_new_cmds=
8761 old_archive_from_expsyms_cmds=
8762 thread_safe_flag_spec=
8763 whole_archive_flag_spec=
8764 # include_expsyms should be a list of space-separated symbols to be *always*
8765 # included in the symbol list
8767 # exclude_expsyms can be an extended regexp of symbols to exclude
8768 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8769 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8770 # as well as any symbol that contains `d'.
8771 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8772 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8773 # platforms (ab)use it in PIC code, but their linkers get confused if
8774 # the symbol is explicitly referenced. Since portable code cannot
8775 # rely on this symbol name, it's probably fine to never include it in
8776 # preloaded symbol tables.
8777 # Exclude shared library initialization/finalization symbols.
8778 extract_expsyms_cmds=
8781 cygwin* | mingw* | pw32* | cegcc*)
8782 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8783 # When not using gcc, we currently assume that we are using
8784 # Microsoft Visual C++.
8785 if test "$GCC" != yes; then
8790 # we just hope/assume this is gcc and not c89 (= MSVC++)
8796 linux* | k*bsd*-gnu | gnu*)
8803 # On some targets, GNU ld is compatible enough with the native linker
8804 # that we're better off using the native interface for both.
8805 lt_use_gnu_ld_interface=no
8806 if test "$with_gnu_ld" = yes; then
8809 # The AIX port of GNU ld has always aspired to compatibility
8810 # with the native linker. However, as the warning in the GNU ld
8811 # block says, versions before 2.19.5* couldn't really create working
8812 # shared libraries, regardless of the interface used.
8813 case `$LD -v 2>&1` in
8814 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8815 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8816 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8818 lt_use_gnu_ld_interface=yes
8823 lt_use_gnu_ld_interface=yes
8828 if test "$lt_use_gnu_ld_interface" = yes; then
8829 # If archive_cmds runs LD, not CC, wlarc should be empty
8832 # Set some defaults for GNU ld with shared library support. These
8833 # are reset later if shared libraries are not supported. Putting them
8834 # here allows them to be overridden if necessary.
8835 runpath_var=LD_RUN_PATH
8836 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8837 export_dynamic_flag_spec='${wl}--export-dynamic'
8838 # ancient GNU ld didn't support --whole-archive et. al.
8839 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8840 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8842 whole_archive_flag_spec=
8844 supports_anon_versioning=no
8845 case `$LD -v 2>&1` in
8846 *GNU\ gold*) supports_anon_versioning=yes ;;
8847 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8848 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8849 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8850 *\ 2.11.*) ;; # other 2.11 versions
8851 *) supports_anon_versioning=yes ;;
8854 # See if GNU ld supports shared libraries.
8857 # On AIX/PPC, the GNU linker is very broken
8858 if test "$host_cpu" != ia64; then
8862 *** Warning: the GNU linker, at least up to release 2.19, is reported
8863 *** to be unable to reliably create shared libraries on AIX.
8864 *** Therefore, libtool is disabling shared libraries support. If you
8865 *** really care for shared libraries, you may want to install binutils
8866 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8867 *** You will then need to restart the configuration process.
8876 # see comment about AmigaOS4 .so support
8877 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8878 archive_expsym_cmds=''
8881 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)'
8882 hardcode_libdir_flag_spec='-L$libdir'
8883 hardcode_minus_L=yes
8889 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8890 allow_undefined_flag=unsupported
8891 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8892 # support --undefined. This deserves some investigation. FIXME
8893 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8899 cygwin* | mingw* | pw32* | cegcc*)
8900 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8901 # as there is no search path for DLLs.
8902 hardcode_libdir_flag_spec='-L$libdir'
8903 export_dynamic_flag_spec='${wl}--export-all-symbols'
8904 allow_undefined_flag=unsupported
8905 always_export_symbols=no
8906 enable_shared_with_static_runtimes=yes
8907 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'
8908 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8910 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8911 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8912 # If the export-symbols file already is a .def file (1st line
8913 # is EXPORTS), use it as is; otherwise, prepend...
8914 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8915 cp $export_symbols $output_objdir/$soname.def;
8917 echo EXPORTS > $output_objdir/$soname.def;
8918 cat $export_symbols >> $output_objdir/$soname.def;
8920 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8927 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8928 link_all_deplibs=yes
8933 hardcode_shlibpath_var=no
8934 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8935 export_dynamic_flag_spec='${wl}-E'
8936 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8937 # Instead, shared libraries are loaded at an image base (0x10000000 by
8938 # default) and relocated if they conflict, which is a slow very memory
8939 # consuming and fragmenting process. To avoid this, we pick a random,
8940 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8941 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8942 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8943 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'
8946 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8948 if test "$host_os" = linux-dietlibc; then
8949 case $cc_basename in
8950 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8953 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8954 && test "$tmp_diet" = no
8956 tmp_addflag=' $pic_flag'
8957 tmp_sharedflag='-shared'
8958 case $cc_basename,$host_cpu in
8959 pgcc*) # Portland Group C compiler
8960 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'
8961 tmp_addflag=' $pic_flag'
8963 pgf77* | pgf90* | pgf95* | pgfortran*)
8964 # Portland Group f77 and f90 compilers
8965 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'
8966 tmp_addflag=' $pic_flag -Mnomain' ;;
8967 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8968 tmp_addflag=' -i_dynamic' ;;
8969 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8970 tmp_addflag=' -i_dynamic -nofor_main' ;;
8971 ifc* | ifort*) # Intel Fortran compiler
8972 tmp_addflag=' -nofor_main' ;;
8973 lf95*) # Lahey Fortran 8.1
8974 whole_archive_flag_spec=
8975 tmp_sharedflag='--shared' ;;
8976 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8977 tmp_sharedflag='-qmkshrobj'
8979 nvcc*) # Cuda Compiler Driver 2.2
8980 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'
8981 compiler_needs_object=yes
8984 case `$CC -V 2>&1 | sed 5q` in
8985 *Sun\ C*) # Sun C 5.9
8986 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'
8987 compiler_needs_object=yes
8988 tmp_sharedflag='-G' ;;
8989 *Sun\ F*) # Sun Fortran 8.3
8990 tmp_sharedflag='-G' ;;
8992 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8994 if test "x$supports_anon_versioning" = xyes; then
8995 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8996 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8997 echo "local: *; };" >> $output_objdir/$libname.ver~
8998 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9001 case $cc_basename in
9002 xlf* | bgf* | bgxlf* | mpixlf*)
9003 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9004 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9005 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9006 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9007 if test "x$supports_anon_versioning" = xyes; then
9008 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9009 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9010 echo "local: *; };" >> $output_objdir/$libname.ver~
9011 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9020 netbsd* | netbsdelf*-gnu)
9021 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9022 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9025 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9026 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9031 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9035 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9036 *** create shared libraries on Solaris systems. Therefore, libtool
9037 *** is disabling shared libraries support. We urge you to upgrade GNU
9038 *** binutils to release 2.9.1 or newer. Another option is to modify
9039 *** your PATH or compiler configuration so that the native linker is
9040 *** used, and then restart.
9043 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9044 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9045 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9051 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9052 case `$LD -v 2>&1` in
9053 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9057 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9058 *** reliably create shared libraries on SCO systems. Therefore, libtool
9059 *** is disabling shared libraries support. We urge you to upgrade GNU
9060 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9061 *** your PATH or compiler configuration so that the native linker is
9062 *** used, and then restart.
9067 # For security reasons, it is highly recommended that you always
9068 # use absolute paths for naming shared libraries, and exclude the
9069 # DT_RUNPATH tag from executables and libraries. But doing so
9070 # requires that you compile everything twice, which is a pain.
9071 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9072 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9073 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9074 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9083 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9086 hardcode_shlibpath_var=no
9090 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9091 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9099 if test "$ld_shlibs" = no; then
9101 hardcode_libdir_flag_spec=
9102 export_dynamic_flag_spec=
9103 whole_archive_flag_spec=
9106 # PORTME fill in a description of your system's linker (not GNU ld)
9109 allow_undefined_flag=unsupported
9110 always_export_symbols=yes
9111 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'
9112 # Note: this linker hardcodes the directories in LIBPATH if there
9113 # are no directories specified by -L.
9114 hardcode_minus_L=yes
9115 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9116 # Neither direct hardcoding nor static linking is supported with a
9118 hardcode_direct=unsupported
9123 if test "$host_cpu" = ia64; then
9124 # On IA64, the linker does run time linking by default, so we don't
9125 # have to do anything special.
9126 aix_use_runtimelinking=no
9127 exp_sym_flag='-Bexport'
9130 # If we're using GNU nm, then we don't want the "-C" option.
9131 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9132 # Also, AIX nm treats weak defined symbols like other global
9133 # defined symbols, whereas GNU nm marks them as "W".
9134 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9135 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'
9137 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'
9139 aix_use_runtimelinking=no
9141 # Test if we are trying to use run time linking or normal
9142 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9143 # need to do runtime linking.
9144 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9145 for ld_flag in $LDFLAGS; do
9146 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9147 aix_use_runtimelinking=yes
9154 exp_sym_flag='-bexport'
9155 no_entry_flag='-bnoentry'
9158 # When large executables or shared objects are built, AIX ld can
9159 # have problems creating the table of contents. If linking a library
9160 # or program results in "error TOC overflow" add -mminimal-toc to
9161 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9162 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9166 hardcode_direct_absolute=yes
9167 hardcode_libdir_separator=':'
9168 link_all_deplibs=yes
9169 file_list_spec='${wl}-f,'
9171 if test "$GCC" = yes; then
9172 case $host_os in aix4.[012]|aix4.[012].*)
9173 # We only want to do this on AIX 4.2 and lower, the check
9174 # below for broken collect2 doesn't work under 4.3+
9175 collect2name=`${CC} -print-prog-name=collect2`
9176 if test -f "$collect2name" &&
9177 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9179 # We have reworked collect2
9182 # We have old collect2
9183 hardcode_direct=unsupported
9184 # It fails to find uninstalled libraries when the uninstalled
9185 # path is not listed in the libpath. Setting hardcode_minus_L
9186 # to unsupported forces relinking
9187 hardcode_minus_L=yes
9188 hardcode_libdir_flag_spec='-L$libdir'
9189 hardcode_libdir_separator=
9193 shared_flag='-shared'
9194 if test "$aix_use_runtimelinking" = yes; then
9195 shared_flag="$shared_flag "'${wl}-G'
9200 if test "$host_cpu" = ia64; then
9201 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9202 # chokes on -Wl,-G. The following line is correct:
9205 if test "$aix_use_runtimelinking" = yes; then
9206 shared_flag='${wl}-G'
9208 shared_flag='${wl}-bM:SRE'
9213 export_dynamic_flag_spec='${wl}-bexpall'
9214 # It seems that -bexpall does not export symbols beginning with
9215 # underscore (_), so it is better to generate a list of symbols to export.
9216 always_export_symbols=yes
9217 if test "$aix_use_runtimelinking" = yes; then
9218 # Warning - without using the other runtime loading flags (-brtl),
9219 # -berok will link without error, but may produce a broken library.
9220 allow_undefined_flag='-berok'
9221 # Determine the default libpath from the value encoded in an
9223 if test "${lt_cv_aix_libpath+set}" = set; then
9224 aix_libpath=$lt_cv_aix_libpath
9226 if ${lt_cv_aix_libpath_+:} false; then :
9227 $as_echo_n "(cached) " >&6
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9240 if ac_fn_c_try_link "$LINENO"; then :
9242 lt_aix_libpath_sed='
9243 /Import File Strings/,/^$/ {
9245 s/^0 *\([^ ]*\) *$/\1/
9249 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9250 # Check for a 64-bit object if we didn't find anything.
9251 if test -z "$lt_cv_aix_libpath_"; then
9252 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 if test -z "$lt_cv_aix_libpath_"; then
9258 lt_cv_aix_libpath_="/usr/lib:/lib"
9263 aix_libpath=$lt_cv_aix_libpath_
9266 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9267 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"
9269 if test "$host_cpu" = ia64; then
9270 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9271 allow_undefined_flag="-z nodefs"
9272 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"
9274 # Determine the default libpath from the value encoded in an
9276 if test "${lt_cv_aix_libpath+set}" = set; then
9277 aix_libpath=$lt_cv_aix_libpath
9279 if ${lt_cv_aix_libpath_+:} false; then :
9280 $as_echo_n "(cached) " >&6
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9293 if ac_fn_c_try_link "$LINENO"; then :
9295 lt_aix_libpath_sed='
9296 /Import File Strings/,/^$/ {
9298 s/^0 *\([^ ]*\) *$/\1/
9302 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9303 # Check for a 64-bit object if we didn't find anything.
9304 if test -z "$lt_cv_aix_libpath_"; then
9305 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 if test -z "$lt_cv_aix_libpath_"; then
9311 lt_cv_aix_libpath_="/usr/lib:/lib"
9316 aix_libpath=$lt_cv_aix_libpath_
9319 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9320 # Warning - without using the other run time loading flags,
9321 # -berok will link without error, but may produce a broken library.
9322 no_undefined_flag=' ${wl}-bernotok'
9323 allow_undefined_flag=' ${wl}-berok'
9324 if test "$with_gnu_ld" = yes; then
9325 # We only use this code for GNU lds that support --whole-archive.
9326 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9328 # Exported symbols can be pulled into shared objects from archives
9329 whole_archive_flag_spec='$convenience'
9331 archive_cmds_need_lc=yes
9332 # This is similar to how AIX traditionally builds its shared libraries.
9333 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'
9341 # see comment about AmigaOS4 .so support
9342 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343 archive_expsym_cmds=''
9346 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)'
9347 hardcode_libdir_flag_spec='-L$libdir'
9348 hardcode_minus_L=yes
9354 export_dynamic_flag_spec=-rdynamic
9357 cygwin* | mingw* | pw32* | cegcc*)
9358 # When not using gcc, we currently assume that we are using
9359 # Microsoft Visual C++.
9360 # hardcode_libdir_flag_spec is actually meaningless, as there is
9361 # no search path for DLLs.
9362 case $cc_basename in
9365 hardcode_libdir_flag_spec=' '
9366 allow_undefined_flag=unsupported
9367 always_export_symbols=yes
9369 # Tell ltmain to make .lib files, not .a files.
9371 # Tell ltmain to make .dll files, not .so files.
9373 # FIXME: Setting linknames here is a bad hack.
9374 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9375 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9376 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9378 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9380 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9382 # The linker will not automatically build a static lib if we build a DLL.
9383 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9384 enable_shared_with_static_runtimes=yes
9385 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9386 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9388 old_postinstall_cmds='chmod 644 $oldlib'
9389 postlink_cmds='lt_outputfile="@OUTPUT@"~
9390 lt_tool_outputfile="@TOOL_OUTPUT@"~
9391 case $lt_outputfile in
9394 lt_outputfile="$lt_outputfile.exe"
9395 lt_tool_outputfile="$lt_tool_outputfile.exe"
9398 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9399 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9400 $RM "$lt_outputfile.manifest";
9404 # Assume MSVC wrapper
9405 hardcode_libdir_flag_spec=' '
9406 allow_undefined_flag=unsupported
9407 # Tell ltmain to make .lib files, not .a files.
9409 # Tell ltmain to make .dll files, not .so files.
9411 # FIXME: Setting linknames here is a bad hack.
9412 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9413 # The linker will automatically build a .lib file if we build a DLL.
9414 old_archive_from_new_cmds='true'
9415 # FIXME: Should let the user specify the lib program.
9416 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9417 enable_shared_with_static_runtimes=yes
9422 darwin* | rhapsody*)
9425 archive_cmds_need_lc=no
9427 hardcode_automatic=yes
9428 hardcode_shlibpath_var=unsupported
9429 if test "$lt_cv_ld_force_load" = "yes"; then
9430 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\"`'
9433 whole_archive_flag_spec=''
9435 link_all_deplibs=yes
9436 allow_undefined_flag="$_lt_dar_allow_undefined"
9437 case $cc_basename in
9438 ifort*) _lt_dar_can_shared=yes ;;
9439 *) _lt_dar_can_shared=$GCC ;;
9441 if test "$_lt_dar_can_shared" = "yes"; then
9442 output_verbose_link_cmd=func_echo_all
9443 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9444 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9445 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}"
9446 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}"
9455 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9456 hardcode_libdir_flag_spec='-L$libdir'
9457 hardcode_shlibpath_var=no
9460 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9461 # support. Future versions do this automatically, but an explicit c++rt0.o
9462 # does not break anything, and helps significantly (at the cost of a little
9465 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9466 hardcode_libdir_flag_spec='-R$libdir'
9468 hardcode_shlibpath_var=no
9471 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9473 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9475 hardcode_minus_L=yes
9476 hardcode_shlibpath_var=no
9479 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9480 freebsd* | dragonfly*)
9481 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9482 hardcode_libdir_flag_spec='-R$libdir'
9484 hardcode_shlibpath_var=no
9488 if test "$GCC" = yes; then
9489 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'
9491 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'
9493 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9494 hardcode_libdir_separator=:
9497 # hardcode_minus_L: Not really in the search PATH,
9498 # but as the default location of the library.
9499 hardcode_minus_L=yes
9500 export_dynamic_flag_spec='${wl}-E'
9504 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9505 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9507 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9509 if test "$with_gnu_ld" = no; then
9510 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9511 hardcode_libdir_separator=:
9513 hardcode_direct_absolute=yes
9514 export_dynamic_flag_spec='${wl}-E'
9515 # hardcode_minus_L: Not really in the search PATH,
9516 # but as the default location of the library.
9517 hardcode_minus_L=yes
9522 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9525 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9528 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9531 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9537 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9540 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9544 # Older versions of the 11.00 compiler do not understand -b yet
9545 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9547 $as_echo_n "checking if $CC understands -b... " >&6; }
9548 if ${lt_cv_prog_compiler__b+:} false; then :
9549 $as_echo_n "(cached) " >&6
9551 lt_cv_prog_compiler__b=no
9552 save_LDFLAGS="$LDFLAGS"
9553 LDFLAGS="$LDFLAGS -b"
9554 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9555 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9556 # The linker can only warn and ignore the option if not recognized
9557 # So say no if there are warnings
9558 if test -s conftest.err; then
9559 # Append any errors to the config.log.
9560 cat conftest.err 1>&5
9561 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9562 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9563 if diff conftest.exp conftest.er2 >/dev/null; then
9564 lt_cv_prog_compiler__b=yes
9567 lt_cv_prog_compiler__b=yes
9571 LDFLAGS="$save_LDFLAGS"
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9575 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9577 if test x"$lt_cv_prog_compiler__b" = xyes; then
9578 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9586 if test "$with_gnu_ld" = no; then
9587 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9588 hardcode_libdir_separator=:
9593 hardcode_shlibpath_var=no
9597 hardcode_direct_absolute=yes
9598 export_dynamic_flag_spec='${wl}-E'
9600 # hardcode_minus_L: Not really in the search PATH,
9601 # but as the default location of the library.
9602 hardcode_minus_L=yes
9608 irix5* | irix6* | nonstopux*)
9609 if test "$GCC" = yes; then
9610 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'
9611 # Try to use the -exported_symbol ld option, if it does not
9612 # work, assume that -exports_file does not work either and
9613 # implicitly export all symbols.
9614 # This should be the same for all languages, so no per-tag cache variable.
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9616 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9617 if ${lt_cv_irix_exported_symbol+:} false; then :
9618 $as_echo_n "(cached) " >&6
9620 save_LDFLAGS="$LDFLAGS"
9621 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9624 int foo (void) { return 0; }
9626 if ac_fn_c_try_link "$LINENO"; then :
9627 lt_cv_irix_exported_symbol=yes
9629 lt_cv_irix_exported_symbol=no
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 LDFLAGS="$save_LDFLAGS"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9636 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9637 if test "$lt_cv_irix_exported_symbol" = yes; then
9638 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'
9641 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'
9642 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'
9644 archive_cmds_need_lc='no'
9645 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9646 hardcode_libdir_separator=:
9648 link_all_deplibs=yes
9651 netbsd* | netbsdelf*-gnu)
9652 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9653 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9655 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9657 hardcode_libdir_flag_spec='-R$libdir'
9659 hardcode_shlibpath_var=no
9663 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9665 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9666 hardcode_libdir_separator=:
9667 hardcode_shlibpath_var=no
9674 if test -f /usr/libexec/ld.so; then
9676 hardcode_shlibpath_var=no
9677 hardcode_direct_absolute=yes
9678 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9679 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9680 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9681 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9682 export_dynamic_flag_spec='${wl}-E'
9685 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9686 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9687 hardcode_libdir_flag_spec='-R$libdir'
9690 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9691 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9701 hardcode_libdir_flag_spec='-L$libdir'
9702 hardcode_minus_L=yes
9703 allow_undefined_flag=unsupported
9704 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'
9705 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9709 if test "$GCC" = yes; then
9710 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9711 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'
9713 allow_undefined_flag=' -expect_unresolved \*'
9714 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'
9716 archive_cmds_need_lc='no'
9717 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9718 hardcode_libdir_separator=:
9721 osf4* | osf5*) # as osf3* with the addition of -msym flag
9722 if test "$GCC" = yes; then
9723 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9724 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'
9725 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727 allow_undefined_flag=' -expect_unresolved \*'
9728 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'
9729 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~
9730 $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'
9732 # Both c and cxx compiler support -rpath directly
9733 hardcode_libdir_flag_spec='-rpath $libdir'
9735 archive_cmds_need_lc='no'
9736 hardcode_libdir_separator=:
9740 no_undefined_flag=' -z defs'
9741 if test "$GCC" = yes; then
9743 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9745 $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'
9747 case `$CC -V 2>&1` in
9750 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9751 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9752 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9756 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9757 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9758 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9762 hardcode_libdir_flag_spec='-R$libdir'
9763 hardcode_shlibpath_var=no
9765 solaris2.[0-5] | solaris2.[0-5].*) ;;
9767 # The compiler driver will combine and reorder linker options,
9768 # but understands `-z linker_flag'. GCC discards it without `$wl',
9769 # but is careful enough not to reorder.
9770 # Supported since Solaris 2.6 (maybe 2.5.1?)
9771 if test "$GCC" = yes; then
9772 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9774 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9778 link_all_deplibs=yes
9782 if test "x$host_vendor" = xsequent; then
9783 # Use $CC to link under sequent, because it throws in some extra .o
9784 # files that make .init and .fini sections work.
9785 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9787 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9789 hardcode_libdir_flag_spec='-L$libdir'
9791 hardcode_minus_L=yes
9792 hardcode_shlibpath_var=no
9796 case $host_vendor in
9798 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9799 hardcode_direct=yes # is this really true???
9802 ## LD is ld it makes a PLAMLIB
9803 ## CC just makes a GrossModule.
9804 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9805 reload_cmds='$CC -r -o $output$reload_objs'
9809 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9810 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9813 runpath_var='LD_RUN_PATH'
9814 hardcode_shlibpath_var=no
9818 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9819 hardcode_shlibpath_var=no
9820 export_dynamic_flag_spec='-Bexport'
9824 if test -d /usr/nec; then
9825 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9826 hardcode_shlibpath_var=no
9827 runpath_var=LD_RUN_PATH
9828 hardcode_runpath_var=yes
9833 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9834 no_undefined_flag='${wl}-z,text'
9835 archive_cmds_need_lc=no
9836 hardcode_shlibpath_var=no
9837 runpath_var='LD_RUN_PATH'
9839 if test "$GCC" = yes; then
9840 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9844 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9848 sysv5* | sco3.2v5* | sco5v6*)
9849 # Note: We can NOT use -z defs as we might desire, because we do not
9850 # link with -lc, and that would cause any symbols used from libc to
9851 # always be unresolved, which means just about no library would
9852 # ever link correctly. If we're not using GNU ld we use -z text
9853 # though, which does catch some bad symbols but isn't as heavy-handed
9855 no_undefined_flag='${wl}-z,text'
9856 allow_undefined_flag='${wl}-z,nodefs'
9857 archive_cmds_need_lc=no
9858 hardcode_shlibpath_var=no
9859 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9860 hardcode_libdir_separator=':'
9861 link_all_deplibs=yes
9862 export_dynamic_flag_spec='${wl}-Bexport'
9863 runpath_var='LD_RUN_PATH'
9865 if test "$GCC" = yes; then
9866 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9875 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9876 hardcode_libdir_flag_spec='-L$libdir'
9877 hardcode_shlibpath_var=no
9885 if test x$host_vendor = xsni; then
9887 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9888 export_dynamic_flag_spec='${wl}-Blargedynsym'
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9895 $as_echo "$ld_shlibs" >&6; }
9896 test "$ld_shlibs" = no && can_build_shared=no
9898 with_gnu_ld=$with_gnu_ld
9915 # Do we need to explicitly link libc?
9917 case "x$archive_cmds_need_lc" in
9919 # Assume -lc should be added
9920 archive_cmds_need_lc=yes
9922 if test "$enable_shared" = yes && test "$GCC" = yes; then
9923 case $archive_cmds in
9925 # FIXME: we may have to deal with multi-command sequences.
9928 # Test whether the compiler implicitly links with -lc since on some
9929 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9930 # to ld, don't add -lc before -lgcc.
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9932 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9933 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9934 $as_echo_n "(cached) " >&6
9937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9940 (eval $ac_compile) 2>&5
9942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9943 test $ac_status = 0; } 2>conftest.err; then
9946 libobjs=conftest.$ac_objext
9948 wl=$lt_prog_compiler_wl
9949 pic_flag=$lt_prog_compiler_pic
9955 lt_save_allow_undefined_flag=$allow_undefined_flag
9956 allow_undefined_flag=
9957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9958 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9961 test $ac_status = 0; }
9963 lt_cv_archive_cmds_need_lc=no
9965 lt_cv_archive_cmds_need_lc=yes
9967 allow_undefined_flag=$lt_save_allow_undefined_flag
9969 cat conftest.err 1>&5
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9975 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9976 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10135 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10137 if test "$GCC" = yes; then
10139 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10140 *) lt_awk_arg="/^libraries:/" ;;
10143 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10144 *) lt_sed_strip_eq="s,=/,/,g" ;;
10146 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10147 case $lt_search_path_spec in
10149 # if the path contains ";" then we assume it to be the separator
10150 # otherwise default to the standard path separator (i.e. ":") - it is
10151 # assumed that no part of a normal pathname contains ";" but that should
10152 # okay in the real world where ";" in dirpaths is itself problematic.
10153 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10156 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10159 # Ok, now we have the path, separated by spaces, we can step through it
10160 # and add multilib dir if necessary.
10161 lt_tmp_lt_search_path_spec=
10162 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10163 for lt_sys_path in $lt_search_path_spec; do
10164 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10165 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10167 test -d "$lt_sys_path" && \
10168 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10171 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10172 BEGIN {RS=" "; FS="/|\n";} {
10175 for (lt_i = NF; lt_i > 0; lt_i--) {
10176 if ($lt_i != "" && $lt_i != ".") {
10177 if ($lt_i == "..") {
10180 if (lt_count == 0) {
10181 lt_foo="/" $lt_i lt_foo;
10188 if (lt_foo != "") { lt_freq[lt_foo]++; }
10189 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10191 # AWK program above erroneously prepends '/' to C:/dos/paths
10194 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10195 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10197 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10199 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10201 library_names_spec=
10202 libname_spec='lib$name'
10206 postuninstall_cmds=
10210 shlibpath_overrides_runpath=unknown
10212 dynamic_linker="$host_os ld.so"
10213 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10214 need_lib_prefix=unknown
10215 hardcode_into_libs=no
10217 # when you set need_version to no, make sure it does not cause -set_version
10218 # flags to be left without arguments
10219 need_version=unknown
10223 version_type=linux # correct to gnu/linux during the next big refactor
10224 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10225 shlibpath_var=LIBPATH
10227 # AIX 3 has no versioning support, so we append a major version to the name.
10228 soname_spec='${libname}${release}${shared_ext}$major'
10232 version_type=linux # correct to gnu/linux during the next big refactor
10235 hardcode_into_libs=yes
10236 if test "$host_cpu" = ia64; then
10237 # AIX 5 supports IA64
10238 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10239 shlibpath_var=LD_LIBRARY_PATH
10241 # With GCC up to 2.95.x, collect2 would create an import file
10242 # for dependence libraries. The import file would start with
10243 # the line `#! .'. This would cause the generated library to
10244 # depend on `.', always an invalid library. This was fixed in
10245 # development snapshots of GCC prior to 3.0.
10247 aix4 | aix4.[01] | aix4.[01].*)
10248 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10250 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10253 can_build_shared=no
10257 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10258 # soname into executable. Probably we can add versioning support to
10259 # collect2, so additional links can be useful in future.
10260 if test "$aix_use_runtimelinking" = yes; then
10261 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10262 # instead of lib<name>.a to let people know that these are not
10263 # typical AIX shared libraries.
10264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10266 # We preserve .a as extension for shared libraries through AIX4.2
10267 # and later when we are not doing run time linking.
10268 library_names_spec='${libname}${release}.a $libname.a'
10269 soname_spec='${libname}${release}${shared_ext}$major'
10271 shlibpath_var=LIBPATH
10278 # Since July 2007 AmigaOS4 officially supports .so libraries.
10279 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10283 library_names_spec='$libname.ixlibrary $libname.a'
10284 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10285 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'
10291 library_names_spec='${libname}${shared_ext}'
10292 dynamic_linker="$host_os ld.so"
10293 shlibpath_var=LIBRARY_PATH
10297 version_type=linux # correct to gnu/linux during the next big refactor
10299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10300 soname_spec='${libname}${release}${shared_ext}$major'
10301 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10302 shlibpath_var=LD_LIBRARY_PATH
10303 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10304 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10305 # the default ld.so.conf also contains /usr/contrib/lib and
10306 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10307 # libtool to hard-code these into programs
10310 cygwin* | mingw* | pw32* | cegcc*)
10311 version_type=windows
10316 case $GCC,$cc_basename in
10319 library_names_spec='$libname.dll.a'
10320 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10321 postinstall_cmds='base_file=`basename \${file}`~
10322 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10323 dldir=$destdir/`dirname \$dlpath`~
10324 test -d \$dldir || mkdir -p \$dldir~
10325 $install_prog $dir/$dlname \$dldir/$dlname~
10326 chmod a+x \$dldir/$dlname~
10327 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10328 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10330 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10331 dlpath=$dir/\$dldll~
10333 shlibpath_overrides_runpath=yes
10337 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10338 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10340 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10343 # MinGW DLLs use traditional 'lib' prefix
10344 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10347 # pw32 DLLs use 'pw' prefix rather than 'lib'
10348 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10351 dynamic_linker='Win32 ld.exe'
10356 libname_spec='$name'
10357 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10358 library_names_spec='${libname}.dll.lib'
10362 sys_lib_search_path_spec=
10365 for lt_path in $LIB
10368 # Let DOS variable expansion print the short 8.3 style file name.
10369 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10370 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10373 # Convert to MSYS style.
10374 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10377 # Convert to unix form, then to dos form, then back to unix form
10378 # but this time dos style (no spaces!) so that the unix form looks
10379 # like /cygdrive/c/PROGRA~1:/cygdr...
10380 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10381 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10382 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10385 sys_lib_search_path_spec="$LIB"
10386 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10387 # It is most probably a Windows format PATH.
10388 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10390 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10392 # FIXME: find the short name or the path components, as spaces are
10393 # common. (e.g. "Program Files" -> "PROGRA~1")
10397 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10398 postinstall_cmds='base_file=`basename \${file}`~
10399 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10400 dldir=$destdir/`dirname \$dlpath`~
10401 test -d \$dldir || mkdir -p \$dldir~
10402 $install_prog $dir/$dlname \$dldir/$dlname'
10403 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10404 dlpath=$dir/\$dldll~
10406 shlibpath_overrides_runpath=yes
10407 dynamic_linker='Win32 link.exe'
10411 # Assume MSVC wrapper
10412 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10413 dynamic_linker='Win32 ld.exe'
10416 # FIXME: first we should search . and the directory the executable is in
10420 darwin* | rhapsody*)
10421 dynamic_linker="$host_os dyld"
10422 version_type=darwin
10425 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10426 soname_spec='${libname}${release}${major}$shared_ext'
10427 shlibpath_overrides_runpath=yes
10428 shlibpath_var=DYLD_LIBRARY_PATH
10429 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10431 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10432 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10436 version_type=linux # correct to gnu/linux during the next big refactor
10439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10440 soname_spec='${libname}${release}${shared_ext}$major'
10441 shlibpath_var=LD_LIBRARY_PATH
10444 freebsd* | dragonfly*)
10445 # DragonFly does not have aout. When/if they implement a new
10446 # versioning mechanism, adjust this.
10447 if test -x /usr/bin/objformat; then
10448 objformat=`/usr/bin/objformat`
10451 freebsd[23].*) objformat=aout ;;
10452 *) objformat=elf ;;
10455 version_type=freebsd-$objformat
10456 case $version_type in
10458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10463 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10467 shlibpath_var=LD_LIBRARY_PATH
10470 shlibpath_overrides_runpath=yes
10472 freebsd3.[01]* | freebsdelf3.[01]*)
10473 shlibpath_overrides_runpath=yes
10474 hardcode_into_libs=yes
10476 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10477 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10478 shlibpath_overrides_runpath=no
10479 hardcode_into_libs=yes
10481 *) # from 4.6 on, and DragonFly
10482 shlibpath_overrides_runpath=yes
10483 hardcode_into_libs=yes
10489 version_type=linux # correct to gnu/linux during the next big refactor
10492 dynamic_linker="$host_os runtime_loader"
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10494 soname_spec='${libname}${release}${shared_ext}$major'
10495 shlibpath_var=LIBRARY_PATH
10496 shlibpath_overrides_runpath=yes
10497 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10498 hardcode_into_libs=yes
10501 hpux9* | hpux10* | hpux11*)
10502 # Give a soname corresponding to the major version so that dld.sl refuses to
10503 # link against other versions.
10510 hardcode_into_libs=yes
10511 dynamic_linker="$host_os dld.so"
10512 shlibpath_var=LD_LIBRARY_PATH
10513 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515 soname_spec='${libname}${release}${shared_ext}$major'
10516 if test "X$HPUX_IA64_MODE" = X32; then
10517 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10519 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10521 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10525 hardcode_into_libs=yes
10526 dynamic_linker="$host_os dld.sl"
10527 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10528 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 soname_spec='${libname}${release}${shared_ext}$major'
10531 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10532 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10536 dynamic_linker="$host_os dld.sl"
10537 shlibpath_var=SHLIB_PATH
10538 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540 soname_spec='${libname}${release}${shared_ext}$major'
10543 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10544 postinstall_cmds='chmod 555 $lib'
10545 # or fails outright, so override atomically:
10546 install_override_mode=555
10550 version_type=linux # correct to gnu/linux during the next big refactor
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 shlibpath_overrides_runpath=no
10558 hardcode_into_libs=yes
10561 irix5* | irix6* | nonstopux*)
10563 nonstopux*) version_type=nonstopux ;;
10565 if test "$lt_cv_prog_gnu_ld" = yes; then
10566 version_type=linux # correct to gnu/linux during the next big refactor
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10576 irix5* | nonstopux*)
10577 libsuff= shlibsuff=
10580 case $LD in # libtool.m4 will add one of these switches to LD
10581 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10582 libsuff= shlibsuff= libmagic=32-bit;;
10583 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10584 libsuff=32 shlibsuff=N32 libmagic=N32;;
10585 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10586 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10587 *) libsuff= shlibsuff= libmagic=never-match;;
10591 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10592 shlibpath_overrides_runpath=no
10593 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10594 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10595 hardcode_into_libs=yes
10598 # No shared lib support for Linux oldld, aout, or coff.
10599 linux*oldld* | linux*aout* | linux*coff*)
10603 # This must be glibc/ELF.
10604 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10605 version_type=linux # correct to gnu/linux during the next big refactor
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10611 shlibpath_var=LD_LIBRARY_PATH
10612 shlibpath_overrides_runpath=no
10614 # Some binutils ld are patched to set DT_RUNPATH
10615 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10616 $as_echo_n "(cached) " >&6
10618 lt_cv_shlibpath_overrides_runpath=no
10619 save_LDFLAGS=$LDFLAGS
10620 save_libdir=$libdir
10621 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10622 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10634 if ac_fn_c_try_link "$LINENO"; then :
10635 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10636 lt_cv_shlibpath_overrides_runpath=yes
10639 rm -f core conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10641 LDFLAGS=$save_LDFLAGS
10642 libdir=$save_libdir
10646 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10648 # This implies no fast_install, which is unacceptable.
10649 # Some rework will be needed to allow for fast_install
10650 # before this can be enabled.
10651 hardcode_into_libs=yes
10653 # Append ld.so.conf contents to the search path
10654 if test -f /etc/ld.so.conf; then
10655 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' ' '`
10656 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10659 # We used to test for /lib/ld.so.1 and disable shared libraries on
10660 # powerpc, because MkLinux only supported shared libraries with the
10661 # GNU dynamic linker. Since this was broken with cross compilers,
10662 # most powerpc-linux boxes support dynamic linking these days and
10663 # people can always --disable-shared, the test was removed, and we
10664 # assume the GNU/Linux dynamic linker is in use.
10665 dynamic_linker='GNU/Linux ld.so'
10672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10673 soname_spec='${libname}${release}${shared_ext}$major'
10674 shlibpath_var=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath=no
10676 hardcode_into_libs=yes
10677 dynamic_linker='NetBSD ld.elf_so'
10684 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10686 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10687 dynamic_linker='NetBSD (a.out) ld.so'
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10690 soname_spec='${libname}${release}${shared_ext}$major'
10691 dynamic_linker='NetBSD ld.elf_so'
10693 shlibpath_var=LD_LIBRARY_PATH
10694 shlibpath_overrides_runpath=yes
10695 hardcode_into_libs=yes
10699 version_type=linux # correct to gnu/linux during the next big refactor
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10701 shlibpath_var=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath=yes
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 shlibpath_var=LD_LIBRARY_PATH
10712 shlibpath_overrides_runpath=no
10713 hardcode_into_libs=yes
10714 dynamic_linker='ldqnx.so'
10719 sys_lib_dlsearch_path_spec="/usr/lib"
10721 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10723 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10724 *) need_version=no ;;
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10727 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10728 shlibpath_var=LD_LIBRARY_PATH
10729 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10731 openbsd2.[89] | openbsd2.[89].*)
10732 shlibpath_overrides_runpath=no
10735 shlibpath_overrides_runpath=yes
10739 shlibpath_overrides_runpath=yes
10744 libname_spec='$name'
10747 library_names_spec='$libname${shared_ext} $libname.a'
10748 dynamic_linker='OS/2 ld.exe'
10749 shlibpath_var=LIBPATH
10752 osf3* | osf4* | osf5*)
10756 soname_spec='${libname}${release}${shared_ext}$major'
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 shlibpath_var=LD_LIBRARY_PATH
10759 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10760 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10768 version_type=linux # correct to gnu/linux during the next big refactor
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 shlibpath_overrides_runpath=yes
10775 hardcode_into_libs=yes
10776 # ldd complains unless libraries are executable
10777 postinstall_cmds='chmod +x $lib'
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10784 shlibpath_var=LD_LIBRARY_PATH
10785 shlibpath_overrides_runpath=yes
10786 if test "$with_gnu_ld" = yes; then
10793 version_type=linux # correct to gnu/linux during the next big refactor
10794 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795 soname_spec='${libname}${release}${shared_ext}$major'
10796 shlibpath_var=LD_LIBRARY_PATH
10797 case $host_vendor in
10799 shlibpath_overrides_runpath=no
10801 runpath_var=LD_RUN_PATH
10809 shlibpath_overrides_runpath=no
10810 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10816 if test -d /usr/nec ;then
10817 version_type=linux # correct to gnu/linux during the next big refactor
10818 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10819 soname_spec='$libname${shared_ext}.$major'
10820 shlibpath_var=LD_LIBRARY_PATH
10824 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10825 version_type=freebsd-elf
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 shlibpath_var=LD_LIBRARY_PATH
10831 shlibpath_overrides_runpath=yes
10832 hardcode_into_libs=yes
10833 if test "$with_gnu_ld" = yes; then
10834 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10836 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10839 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10843 sys_lib_dlsearch_path_spec='/usr/lib'
10847 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10848 version_type=linux # correct to gnu/linux during the next big refactor
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath=no
10854 hardcode_into_libs=yes
10858 version_type=linux # correct to gnu/linux during the next big refactor
10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10860 soname_spec='${libname}${release}${shared_ext}$major'
10861 shlibpath_var=LD_LIBRARY_PATH
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10869 $as_echo "$dynamic_linker" >&6; }
10870 test "$dynamic_linker" = no && can_build_shared=no
10872 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10873 if test "$GCC" = yes; then
10874 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10877 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10878 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10880 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10881 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10976 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10978 if test -n "$hardcode_libdir_flag_spec" ||
10979 test -n "$runpath_var" ||
10980 test "X$hardcode_automatic" = "Xyes" ; then
10982 # We can hardcode non-existent directories.
10983 if test "$hardcode_direct" != no &&
10984 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10985 # have to relink, otherwise we might link with an installed library
10986 # when we should be linking with a yet-to-be-installed one
10987 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10988 test "$hardcode_minus_L" != no; then
10989 # Linking always hardcodes the temporary library directory.
10990 hardcode_action=relink
10992 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10993 hardcode_action=immediate
10996 # We cannot hardcode anything, or else we can only hardcode existing
10998 hardcode_action=unsupported
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11001 $as_echo "$hardcode_action" >&6; }
11003 if test "$hardcode_action" = relink ||
11004 test "$inherit_rpath" = yes; then
11005 # Fast installation is not supported
11006 enable_fast_install=no
11007 elif test "$shlibpath_overrides_runpath" = yes ||
11008 test "$enable_shared" = no; then
11009 # Fast installation is not necessary
11010 enable_fast_install=needless
11018 if test "x$enable_dlopen" != xyes; then
11019 enable_dlopen=unknown
11020 enable_dlopen_self=unknown
11021 enable_dlopen_self_static=unknown
11028 lt_cv_dlopen="load_add_on"
11030 lt_cv_dlopen_self=yes
11033 mingw* | pw32* | cegcc*)
11034 lt_cv_dlopen="LoadLibrary"
11039 lt_cv_dlopen="dlopen"
11044 # if libdl is installed we need to link against it
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11046 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11047 if ${ac_cv_lib_dl_dlopen+:} false; then :
11048 $as_echo_n "(cached) " >&6
11050 ac_check_lib_save_LIBS=$LIBS
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11055 /* Override any GCC internal prototype to avoid an error.
11056 Use char because int might match the return type of a GCC
11057 builtin and then its argument prototype would still apply. */
11070 if ac_fn_c_try_link "$LINENO"; then :
11071 ac_cv_lib_dl_dlopen=yes
11073 ac_cv_lib_dl_dlopen=no
11075 rm -f core conftest.err conftest.$ac_objext \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_lib_save_LIBS
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11080 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11081 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11082 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11085 lt_cv_dlopen="dyld"
11087 lt_cv_dlopen_self=yes
11094 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11095 if test "x$ac_cv_func_shl_load" = xyes; then :
11096 lt_cv_dlopen="shl_load"
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11099 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11100 if ${ac_cv_lib_dld_shl_load+:} false; then :
11101 $as_echo_n "(cached) " >&6
11103 ac_check_lib_save_LIBS=$LIBS
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11118 return shl_load ();
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_dld_shl_load=yes
11126 ac_cv_lib_dld_shl_load=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11133 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11134 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11135 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11137 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11138 if test "x$ac_cv_func_dlopen" = xyes; then :
11139 lt_cv_dlopen="dlopen"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11142 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11143 if ${ac_cv_lib_dl_dlopen+:} false; then :
11144 $as_echo_n "(cached) " >&6
11146 ac_check_lib_save_LIBS=$LIBS
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 ac_cv_lib_dl_dlopen=yes
11169 ac_cv_lib_dl_dlopen=no
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11176 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11177 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11178 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11181 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11182 if ${ac_cv_lib_svld_dlopen+:} false; then :
11183 $as_echo_n "(cached) " >&6
11185 ac_check_lib_save_LIBS=$LIBS
11186 LIBS="-lsvld $LIBS"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11190 /* Override any GCC internal prototype to avoid an error.
11191 Use char because int might match the return type of a GCC
11192 builtin and then its argument prototype would still apply. */
11205 if ac_fn_c_try_link "$LINENO"; then :
11206 ac_cv_lib_svld_dlopen=yes
11208 ac_cv_lib_svld_dlopen=no
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS=$ac_check_lib_save_LIBS
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11215 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11216 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11217 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11220 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11221 if ${ac_cv_lib_dld_dld_link+:} false; then :
11222 $as_echo_n "(cached) " >&6
11224 ac_check_lib_save_LIBS=$LIBS
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11239 return dld_link ();
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dld_dld_link=yes
11247 ac_cv_lib_dld_dld_link=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11254 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11255 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11256 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11277 if test "x$lt_cv_dlopen" != xno; then
11283 case $lt_cv_dlopen in
11285 save_CPPFLAGS="$CPPFLAGS"
11286 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11288 save_LDFLAGS="$LDFLAGS"
11289 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11292 LIBS="$lt_cv_dlopen_libs $LIBS"
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11295 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11296 if ${lt_cv_dlopen_self+:} false; then :
11297 $as_echo_n "(cached) " >&6
11299 if test "$cross_compiling" = yes; then :
11300 lt_cv_dlopen_self=cross
11302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11303 lt_status=$lt_dlunknown
11304 cat > conftest.$ac_ext <<_LT_EOF
11305 #line $LINENO "configure"
11306 #include "confdefs.h"
11315 # define LT_DLGLOBAL RTLD_GLOBAL
11318 # define LT_DLGLOBAL DL_GLOBAL
11320 # define LT_DLGLOBAL 0
11324 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11325 find out it does not work in some platform. */
11326 #ifndef LT_DLLAZY_OR_NOW
11328 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11331 # define LT_DLLAZY_OR_NOW DL_LAZY
11334 # define LT_DLLAZY_OR_NOW RTLD_NOW
11337 # define LT_DLLAZY_OR_NOW DL_NOW
11339 # define LT_DLLAZY_OR_NOW 0
11346 /* When -fvisbility=hidden is used, assume the code has been annotated
11347 correspondingly for the symbols needed. */
11348 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11349 int fnord () __attribute__((visibility("default")));
11352 int fnord () { return 42; }
11355 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11356 int status = $lt_dlunknown;
11360 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11363 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11364 else puts (dlerror ());
11366 /* dlclose (self); */
11374 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11375 (eval $ac_link) 2>&5
11377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11378 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11379 (./conftest; exit; ) >&5 2>/dev/null
11381 case x$lt_status in
11382 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11383 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11384 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11387 # compilation failed
11388 lt_cv_dlopen_self=no
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11396 $as_echo "$lt_cv_dlopen_self" >&6; }
11398 if test "x$lt_cv_dlopen_self" = xyes; then
11399 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11401 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11402 if ${lt_cv_dlopen_self_static+:} false; then :
11403 $as_echo_n "(cached) " >&6
11405 if test "$cross_compiling" = yes; then :
11406 lt_cv_dlopen_self_static=cross
11408 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11409 lt_status=$lt_dlunknown
11410 cat > conftest.$ac_ext <<_LT_EOF
11411 #line $LINENO "configure"
11412 #include "confdefs.h"
11421 # define LT_DLGLOBAL RTLD_GLOBAL
11424 # define LT_DLGLOBAL DL_GLOBAL
11426 # define LT_DLGLOBAL 0
11430 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11431 find out it does not work in some platform. */
11432 #ifndef LT_DLLAZY_OR_NOW
11434 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11437 # define LT_DLLAZY_OR_NOW DL_LAZY
11440 # define LT_DLLAZY_OR_NOW RTLD_NOW
11443 # define LT_DLLAZY_OR_NOW DL_NOW
11445 # define LT_DLLAZY_OR_NOW 0
11452 /* When -fvisbility=hidden is used, assume the code has been annotated
11453 correspondingly for the symbols needed. */
11454 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11455 int fnord () __attribute__((visibility("default")));
11458 int fnord () { return 42; }
11461 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11462 int status = $lt_dlunknown;
11466 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11469 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11470 else puts (dlerror ());
11472 /* dlclose (self); */
11480 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11481 (eval $ac_link) 2>&5
11483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11484 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11485 (./conftest; exit; ) >&5 2>/dev/null
11487 case x$lt_status in
11488 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11489 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11490 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11493 # compilation failed
11494 lt_cv_dlopen_self_static=no
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11502 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11505 CPPFLAGS="$save_CPPFLAGS"
11506 LDFLAGS="$save_LDFLAGS"
11511 case $lt_cv_dlopen_self in
11512 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11513 *) enable_dlopen_self=unknown ;;
11516 case $lt_cv_dlopen_self_static in
11517 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11518 *) enable_dlopen_self_static=unknown ;;
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11541 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11542 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11543 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11544 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11546 $as_echo "yes" >&6; }
11548 # FIXME - insert some real tests, host_os isn't really good enough
11551 if test -n "$STRIP" ; then
11552 striplib="$STRIP -x"
11553 old_striplib="$STRIP -S"
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11555 $as_echo "yes" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11558 $as_echo "no" >&6; }
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11563 $as_echo "no" >&6; }
11579 # Report which library types will actually be built
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11581 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11583 $as_echo "$can_build_shared" >&6; }
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11586 $as_echo_n "checking whether to build shared libraries... " >&6; }
11587 test "$can_build_shared" = "no" && enable_shared=no
11589 # On AIX, shared libraries and static libraries use the same namespace, and
11590 # are all built from PIC.
11593 test "$enable_shared" = yes && enable_static=no
11594 if test -n "$RANLIB"; then
11595 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11596 postinstall_cmds='$RANLIB $lib'
11601 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11602 test "$enable_shared" = yes && enable_static=no
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11607 $as_echo "$enable_shared" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11610 $as_echo_n "checking whether to build static libraries... " >&6; }
11611 # Make sure either enable_shared or enable_static is yes.
11612 test "$enable_shared" = yes || enable_static=yes
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11614 $as_echo "$enable_static" >&6; }
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11642 ac_config_commands="$ac_config_commands libtool"
11647 # Only expand once:
11659 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11660 if test -n "$ac_tool_prefix"; then
11661 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11662 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 $as_echo_n "checking for $ac_word... " >&6; }
11665 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11666 $as_echo_n "(cached) " >&6
11668 case $PKG_CONFIG in
11670 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674 for as_dir in $PATH
11677 test -z "$as_dir" && as_dir=.
11678 for ac_exec_ext in '' $ac_executable_extensions; do
11679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11691 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11692 if test -n "$PKG_CONFIG"; then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11694 $as_echo "$PKG_CONFIG" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 $as_echo "no" >&6; }
11702 if test -z "$ac_cv_path_PKG_CONFIG"; then
11703 ac_pt_PKG_CONFIG=$PKG_CONFIG
11704 # Extract the first word of "pkg-config", so it can be a program name with args.
11705 set dummy pkg-config; ac_word=$2
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11707 $as_echo_n "checking for $ac_word... " >&6; }
11708 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11709 $as_echo_n "(cached) " >&6
11711 case $ac_pt_PKG_CONFIG in
11713 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11720 test -z "$as_dir" && as_dir=.
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11723 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11734 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11735 if test -n "$ac_pt_PKG_CONFIG"; then
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11737 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11740 $as_echo "no" >&6; }
11743 if test "x$ac_pt_PKG_CONFIG" = x; then
11746 case $cross_compiling:$ac_tool_warned in
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11750 ac_tool_warned=yes ;;
11752 PKG_CONFIG=$ac_pt_PKG_CONFIG
11755 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11759 if test -n "$PKG_CONFIG"; then
11760 _pkg_min_version=0.9.0
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11762 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11763 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11765 $as_echo "yes" >&6; }
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11768 $as_echo "no" >&6; }
11775 gtk_doc_requires="gtk-doc >= 1.18"
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
11777 $as_echo_n "checking for gtk-doc... " >&6; }
11778 if test -n "$PKG_CONFIG" && \
11779 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
11780 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
11782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11783 test $ac_status = 0; }; then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
11789 $as_echo "$have_gtk_doc" >&6; }
11791 if test "$have_gtk_doc" = "no"; then
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11793 You will not be able to create source packages with 'make dist'
11794 because $gtk_doc_requires is not found." >&5
11795 $as_echo "$as_me: WARNING:
11796 You will not be able to create source packages with 'make dist'
11797 because $gtk_doc_requires is not found." >&2;}
11800 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11801 set dummy gtkdoc-check; ac_word=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11803 $as_echo_n "checking for $ac_word... " >&6; }
11804 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
11805 $as_echo_n "(cached) " >&6
11807 if test -n "$GTKDOC_CHECK"; then
11808 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
11810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11811 for as_dir in $PATH
11814 test -z "$as_dir" && as_dir=.
11815 for ac_exec_ext in '' $ac_executable_extensions; do
11816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11817 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
11818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11827 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
11828 if test -n "$GTKDOC_CHECK"; then
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11830 $as_echo "$GTKDOC_CHECK" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833 $as_echo "no" >&6; }
11837 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11838 set dummy gtkdoc-check; ac_word=$2
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11840 $as_echo_n "checking for $ac_word... " >&6; }
11841 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
11842 $as_echo_n "(cached) " >&6
11844 case $GTKDOC_CHECK_PATH in
11846 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
11849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11850 for as_dir in $PATH
11853 test -z "$as_dir" && as_dir=.
11854 for ac_exec_ext in '' $ac_executable_extensions; do
11855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11856 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
11857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11867 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
11868 if test -n "$GTKDOC_CHECK_PATH"; then
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
11870 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11873 $as_echo "no" >&6; }
11877 for ac_prog in gtkdoc-rebase
11879 # Extract the first word of "$ac_prog", so it can be a program name with args.
11880 set dummy $ac_prog; ac_word=$2
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11882 $as_echo_n "checking for $ac_word... " >&6; }
11883 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
11884 $as_echo_n "(cached) " >&6
11886 case $GTKDOC_REBASE in
11888 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11892 for as_dir in $PATH
11895 test -z "$as_dir" && as_dir=.
11896 for ac_exec_ext in '' $ac_executable_extensions; do
11897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11898 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11909 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11910 if test -n "$GTKDOC_REBASE"; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11912 $as_echo "$GTKDOC_REBASE" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11915 $as_echo "no" >&6; }
11919 test -n "$GTKDOC_REBASE" && break
11921 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11923 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11924 set dummy gtkdoc-mkpdf; ac_word=$2
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11926 $as_echo_n "checking for $ac_word... " >&6; }
11927 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
11928 $as_echo_n "(cached) " >&6
11930 case $GTKDOC_MKPDF in
11932 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11936 for as_dir in $PATH
11939 test -z "$as_dir" && as_dir=.
11940 for ac_exec_ext in '' $ac_executable_extensions; do
11941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11942 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11953 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11954 if test -n "$GTKDOC_MKPDF"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11956 $as_echo "$GTKDOC_MKPDF" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11959 $as_echo "no" >&6; }
11965 # Check whether --with-html-dir was given.
11966 if test "${with_html_dir+set}" = set; then :
11967 withval=$with_html_dir;
11969 with_html_dir='${datadir}/gtk-doc/html'
11972 HTML_DIR="$with_html_dir"
11975 # Check whether --enable-gtk-doc was given.
11976 if test "${enable_gtk_doc+set}" = set; then :
11977 enableval=$enable_gtk_doc;
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11984 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11986 $as_echo "$enable_gtk_doc" >&6; }
11988 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
11990 You must have $gtk_doc_requires installed to build documentation for
11991 $PACKAGE_NAME. Please install gtk-doc or disable building the
11992 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
11995 if test "x$PACKAGE_NAME" != "xglib"; then
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
11999 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12001 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12002 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12003 elif test -n "$PKG_CONFIG"; then
12004 if test -n "$PKG_CONFIG" && \
12005 { { $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
12006 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12009 test $ac_status = 0; }; then
12010 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12011 test "x$?" != "x0" && pkg_failed=yes
12018 if test -n "$GTKDOC_DEPS_LIBS"; then
12019 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12020 elif test -n "$PKG_CONFIG"; then
12021 if test -n "$PKG_CONFIG" && \
12022 { { $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
12023 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12026 test $ac_status = 0; }; then
12027 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12028 test "x$?" != "x0" && pkg_failed=yes
12038 if test $pkg_failed = yes; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12040 $as_echo "no" >&6; }
12042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12043 _pkg_short_errors_supported=yes
12045 _pkg_short_errors_supported=no
12047 if test $_pkg_short_errors_supported = yes; then
12048 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`
12050 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12052 # Put the nasty error message in config.log where it belongs
12053 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12056 elif test $pkg_failed = untried; then
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12058 $as_echo "no" >&6; }
12061 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12062 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12064 $as_echo "yes" >&6; }
12069 # Check whether --enable-gtk-doc-html was given.
12070 if test "${enable_gtk_doc_html+set}" = set; then :
12071 enableval=$enable_gtk_doc_html;
12073 enable_gtk_doc_html=yes
12076 # Check whether --enable-gtk-doc-pdf was given.
12077 if test "${enable_gtk_doc_pdf+set}" = set; then :
12078 enableval=$enable_gtk_doc_pdf;
12080 enable_gtk_doc_pdf=no
12084 if test -z "$GTKDOC_MKPDF"; then
12085 enable_gtk_doc_pdf=no
12088 if test -z "$AM_DEFAULT_VERBOSITY"; then
12089 AM_DEFAULT_VERBOSITY=1
12093 if test x$have_gtk_doc = xyes; then
12095 HAVE_GTK_DOC_FALSE='#'
12097 HAVE_GTK_DOC_TRUE='#'
12098 HAVE_GTK_DOC_FALSE=
12101 if test x$enable_gtk_doc = xyes; then
12102 ENABLE_GTK_DOC_TRUE=
12103 ENABLE_GTK_DOC_FALSE='#'
12105 ENABLE_GTK_DOC_TRUE='#'
12106 ENABLE_GTK_DOC_FALSE=
12109 if test x$enable_gtk_doc_html = xyes; then
12110 GTK_DOC_BUILD_HTML_TRUE=
12111 GTK_DOC_BUILD_HTML_FALSE='#'
12113 GTK_DOC_BUILD_HTML_TRUE='#'
12114 GTK_DOC_BUILD_HTML_FALSE=
12117 if test x$enable_gtk_doc_pdf = xyes; then
12118 GTK_DOC_BUILD_PDF_TRUE=
12119 GTK_DOC_BUILD_PDF_FALSE='#'
12121 GTK_DOC_BUILD_PDF_TRUE='#'
12122 GTK_DOC_BUILD_PDF_FALSE=
12125 if test -n "$LIBTOOL"; then
12126 GTK_DOC_USE_LIBTOOL_TRUE=
12127 GTK_DOC_USE_LIBTOOL_FALSE='#'
12129 GTK_DOC_USE_LIBTOOL_TRUE='#'
12130 GTK_DOC_USE_LIBTOOL_FALSE=
12133 if test -n "$GTKDOC_REBASE"; then
12134 GTK_DOC_USE_REBASE_TRUE=
12135 GTK_DOC_USE_REBASE_FALSE='#'
12137 GTK_DOC_USE_REBASE_TRUE='#'
12138 GTK_DOC_USE_REBASE_FALSE=
12143 # Checks for programs.
12145 ac_cpp='$CPP $CPPFLAGS'
12146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12149 if test -n "$ac_tool_prefix"; then
12150 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12151 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12153 $as_echo_n "checking for $ac_word... " >&6; }
12154 if ${ac_cv_prog_CC+:} false; then :
12155 $as_echo_n "(cached) " >&6
12157 if test -n "$CC"; then
12158 ac_cv_prog_CC="$CC" # Let the user override the test.
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $PATH
12164 test -z "$as_dir" && as_dir=.
12165 for ac_exec_ext in '' $ac_executable_extensions; do
12166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12178 if test -n "$CC"; then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12180 $as_echo "$CC" >&6; }
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12183 $as_echo "no" >&6; }
12188 if test -z "$ac_cv_prog_CC"; then
12190 # Extract the first word of "gcc", so it can be a program name with args.
12191 set dummy gcc; ac_word=$2
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12193 $as_echo_n "checking for $ac_word... " >&6; }
12194 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12195 $as_echo_n "(cached) " >&6
12197 if test -n "$ac_ct_CC"; then
12198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_ac_ct_CC="gcc"
12208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12218 if test -n "$ac_ct_CC"; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12220 $as_echo "$ac_ct_CC" >&6; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12226 if test "x$ac_ct_CC" = x; then
12229 case $cross_compiling:$ac_tool_warned in
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12232 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12233 ac_tool_warned=yes ;;
12238 CC="$ac_cv_prog_CC"
12241 if test -z "$CC"; then
12242 if test -n "$ac_tool_prefix"; then
12243 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12244 set dummy ${ac_tool_prefix}cc; ac_word=$2
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12246 $as_echo_n "checking for $ac_word... " >&6; }
12247 if ${ac_cv_prog_CC+:} false; then :
12248 $as_echo_n "(cached) " >&6
12250 if test -n "$CC"; then
12251 ac_cv_prog_CC="$CC" # Let the user override the test.
12253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12254 for as_dir in $PATH
12257 test -z "$as_dir" && as_dir=.
12258 for ac_exec_ext in '' $ac_executable_extensions; do
12259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12260 ac_cv_prog_CC="${ac_tool_prefix}cc"
12261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12271 if test -n "$CC"; then
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12273 $as_echo "$CC" >&6; }
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12276 $as_echo "no" >&6; }
12282 if test -z "$CC"; then
12283 # Extract the first word of "cc", so it can be a program name with args.
12284 set dummy cc; ac_word=$2
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12286 $as_echo_n "checking for $ac_word... " >&6; }
12287 if ${ac_cv_prog_CC+:} false; then :
12288 $as_echo_n "(cached) " >&6
12290 if test -n "$CC"; then
12291 ac_cv_prog_CC="$CC" # Let the user override the test.
12293 ac_prog_rejected=no
12294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12295 for as_dir in $PATH
12298 test -z "$as_dir" && as_dir=.
12299 for ac_exec_ext in '' $ac_executable_extensions; do
12300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12301 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12302 ac_prog_rejected=yes
12306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12313 if test $ac_prog_rejected = yes; then
12314 # We found a bogon in the path, so make sure we never use it.
12315 set dummy $ac_cv_prog_CC
12317 if test $# != 0; then
12318 # We chose a different compiler from the bogus one.
12319 # However, it has the same basename, so the bogon will be chosen
12320 # first if we set CC to just the basename; use the full file name.
12322 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12328 if test -n "$CC"; then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12330 $as_echo "$CC" >&6; }
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12338 if test -z "$CC"; then
12339 if test -n "$ac_tool_prefix"; then
12340 for ac_prog in cl.exe
12342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12345 $as_echo_n "checking for $ac_word... " >&6; }
12346 if ${ac_cv_prog_CC+:} false; then :
12347 $as_echo_n "(cached) " >&6
12349 if test -n "$CC"; then
12350 ac_cv_prog_CC="$CC" # Let the user override the test.
12352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12353 for as_dir in $PATH
12356 test -z "$as_dir" && as_dir=.
12357 for ac_exec_ext in '' $ac_executable_extensions; do
12358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12359 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 if test -n "$CC"; then
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12372 $as_echo "$CC" >&6; }
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12375 $as_echo "no" >&6; }
12379 test -n "$CC" && break
12382 if test -z "$CC"; then
12384 for ac_prog in cl.exe
12386 # Extract the first word of "$ac_prog", so it can be a program name with args.
12387 set dummy $ac_prog; ac_word=$2
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12389 $as_echo_n "checking for $ac_word... " >&6; }
12390 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12391 $as_echo_n "(cached) " >&6
12393 if test -n "$ac_ct_CC"; then
12394 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397 for as_dir in $PATH
12400 test -z "$as_dir" && as_dir=.
12401 for ac_exec_ext in '' $ac_executable_extensions; do
12402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12403 ac_cv_prog_ac_ct_CC="$ac_prog"
12404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12414 if test -n "$ac_ct_CC"; then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12416 $as_echo "$ac_ct_CC" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419 $as_echo "no" >&6; }
12423 test -n "$ac_ct_CC" && break
12426 if test "x$ac_ct_CC" = x; then
12429 case $cross_compiling:$ac_tool_warned in
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12433 ac_tool_warned=yes ;;
12442 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12444 as_fn_error $? "no acceptable C compiler found in \$PATH
12445 See \`config.log' for more details" "$LINENO" 5; }
12447 # Provide some information about the compiler.
12448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12451 for ac_option in --version -v -V -qversion; do
12452 { { ac_try="$ac_compiler $ac_option >&5"
12453 case "(($ac_try" in
12454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12455 *) ac_try_echo=$ac_try;;
12457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12458 $as_echo "$ac_try_echo"; } >&5
12459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12461 if test -s conftest.err; then
12463 ... rest of stderr output deleted ...
12464 10q' conftest.err >conftest.er1
12465 cat conftest.er1 >&5
12467 rm -f conftest.er1 conftest.err
12468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12469 test $ac_status = 0; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12473 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12474 if ${ac_cv_c_compiler_gnu+:} false; then :
12475 $as_echo_n "(cached) " >&6
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12491 if ac_fn_c_try_compile "$LINENO"; then :
12492 ac_compiler_gnu=yes
12496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12497 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12501 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12502 if test $ac_compiler_gnu = yes; then
12507 ac_test_CFLAGS=${CFLAGS+set}
12508 ac_save_CFLAGS=$CFLAGS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12510 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12511 if ${ac_cv_prog_cc_g+:} false; then :
12512 $as_echo_n "(cached) " >&6
12514 ac_save_c_werror_flag=$ac_c_werror_flag
12515 ac_c_werror_flag=yes
12518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12529 if ac_fn_c_try_compile "$LINENO"; then :
12530 ac_cv_prog_cc_g=yes
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12544 if ac_fn_c_try_compile "$LINENO"; then :
12547 ac_c_werror_flag=$ac_save_c_werror_flag
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12560 if ac_fn_c_try_compile "$LINENO"; then :
12561 ac_cv_prog_cc_g=yes
12563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12568 ac_c_werror_flag=$ac_save_c_werror_flag
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12571 $as_echo "$ac_cv_prog_cc_g" >&6; }
12572 if test "$ac_test_CFLAGS" = set; then
12573 CFLAGS=$ac_save_CFLAGS
12574 elif test $ac_cv_prog_cc_g = yes; then
12575 if test "$GCC" = yes; then
12581 if test "$GCC" = yes; then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12588 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12589 if ${ac_cv_prog_cc_c89+:} false; then :
12590 $as_echo_n "(cached) " >&6
12592 ac_cv_prog_cc_c89=no
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12596 #include <stdarg.h>
12599 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12600 struct buf { int x; };
12601 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12602 static char *e (p, i)
12608 static char *f (char * (*g) (char **, int), char **p, ...)
12613 s = g (p, va_arg (v,int));
12618 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12619 function prototypes and stuff, but not '\xHH' hex character constants.
12620 These don't provoke an error unfortunately, instead are silently treated
12621 as 'x'. The following induces an error, until -std is added to get
12622 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12623 array size at least. It's necessary to write '\x00'==0 to get something
12624 that's true only with -std. */
12625 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12627 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12628 inside strings and character constants. */
12630 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12632 int test (int i, double x);
12633 struct s1 {int (*f) (int a);};
12634 struct s2 {int (*f) (double a);};
12635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12641 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12646 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12647 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12649 CC="$ac_save_CC $ac_arg"
12650 if ac_fn_c_try_compile "$LINENO"; then :
12651 ac_cv_prog_cc_c89=$ac_arg
12653 rm -f core conftest.err conftest.$ac_objext
12654 test "x$ac_cv_prog_cc_c89" != "xno" && break
12656 rm -f conftest.$ac_ext
12661 case "x$ac_cv_prog_cc_c89" in
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12664 $as_echo "none needed" >&6; } ;;
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12667 $as_echo "unsupported" >&6; } ;;
12669 CC="$CC $ac_cv_prog_cc_c89"
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12671 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12673 if test "x$ac_cv_prog_cc_c89" != xno; then :
12678 ac_cpp='$CPP $CPPFLAGS'
12679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12684 ac_cpp='$CPP $CPPFLAGS'
12685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12689 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12690 if ${am_cv_prog_cc_c_o+:} false; then :
12691 $as_echo_n "(cached) " >&6
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12704 # Make sure it works both with $CC and with simple cc.
12705 # Following AC_PROG_CC_C_O, we do the test twice because some
12706 # compilers refuse to overwrite an existing .o file with -o,
12707 # though they will create one.
12708 am_cv_prog_cc_c_o=yes
12709 for am_i in 1 2; do
12710 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12711 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } \
12715 && test -f conftest2.$ac_objext; then
12718 am_cv_prog_cc_c_o=no
12722 rm -f core conftest*
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12726 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12727 if test "$am_cv_prog_cc_c_o" != yes; then
12728 # Losing compiler, so override with the script.
12729 # FIXME: It is wrong to rewrite CC.
12730 # But if we don't then we get into trouble of one sort or another.
12731 # A longer-term fix would be to have automake use am__CC in this case,
12732 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12733 CC="$am_aux_dir/compile $CC"
12736 ac_cpp='$CPP $CPPFLAGS'
12737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12742 depcc="$CC" am_compiler_list=
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12745 $as_echo_n "checking dependency style of $depcc... " >&6; }
12746 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12747 $as_echo_n "(cached) " >&6
12749 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12750 # We make a subdir and do the tests there. Otherwise we can end up
12751 # making bogus files that we don't know about and never remove. For
12752 # instance it was reported that on HP-UX the gcc test will end up
12753 # making a dummy file named 'D' -- because '-MD' means "put the output
12755 rm -rf conftest.dir
12757 # Copy depcomp to subdir because otherwise we won't find it if we're
12758 # using a relative directory.
12759 cp "$am_depcomp" conftest.dir
12761 # We will build objects and dependencies in a subdirectory because
12762 # it helps to detect inapplicable dependency modes. For instance
12763 # both Tru64's cc and ICC support -MD to output dependencies as a
12764 # side effect of compilation, but ICC will put the dependencies in
12765 # the current directory while Tru64 will put them in the object
12769 am_cv_CC_dependencies_compiler_type=none
12770 if test "$am_compiler_list" = ""; then
12771 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12773 am__universal=false
12774 case " $depcc " in #(
12775 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12778 for depmode in $am_compiler_list; do
12779 # Setup a source with many dependencies, because some compilers
12780 # like to wrap large dependency lists on column 80 (with \), and
12781 # we should not choose a depcomp mode which is confused by this.
12783 # We need to recreate these files for each test, as the compiler may
12784 # overwrite some of them when testing with obscure command lines.
12785 # This happens at least with the AIX C compiler.
12787 for i in 1 2 3 4 5 6; do
12788 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12789 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12790 # Solaris 10 /bin/sh.
12791 echo '/* dummy */' > sub/conftst$i.h
12793 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12795 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12796 # mode. It turns out that the SunPro C++ compiler does not properly
12797 # handle '-M -o', and we need to detect this. Also, some Intel
12798 # versions had trouble with output in subdirs.
12799 am__obj=sub/conftest.${OBJEXT-o}
12800 am__minus_obj="-o $am__obj"
12803 # This depmode causes a compiler race in universal mode.
12804 test "$am__universal" = false || continue
12807 # After this tag, mechanisms are not by side-effect, so they'll
12808 # only be used when explicitly requested.
12809 if test "x$enable_dependency_tracking" = xyes; then
12815 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12816 # This compiler won't grok '-c -o', but also, the minuso test has
12817 # not run yet. These depmodes are late enough in the game, and
12818 # so weak that their functioning should not be impacted.
12819 am__obj=conftest.${OBJEXT-o}
12824 if depmode=$depmode \
12825 source=sub/conftest.c object=$am__obj \
12826 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12827 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12828 >/dev/null 2>conftest.err &&
12829 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12830 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12831 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12832 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12833 # icc doesn't choke on unknown options, it will just issue warnings
12834 # or remarks (even with -Werror). So we grep stderr for any message
12835 # that says an option was ignored or not supported.
12836 # When given -MP, icc 7.0 and 7.1 complain thusly:
12837 # icc: Command line warning: ignoring option '-M'; no argument required
12838 # The diagnosis changed in icc 8.0:
12839 # icc: Command line remark: option '-MP' not supported
12840 if (grep 'ignoring option' conftest.err ||
12841 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12842 am_cv_CC_dependencies_compiler_type=$depmode
12849 rm -rf conftest.dir
12851 am_cv_CC_dependencies_compiler_type=none
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12856 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12857 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12860 test "x$enable_dependency_tracking" != xno \
12861 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12862 am__fastdepCC_TRUE=
12863 am__fastdepCC_FALSE='#'
12865 am__fastdepCC_TRUE='#'
12866 am__fastdepCC_FALSE=
12870 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12871 set dummy glib-mkenums; ac_word=$2
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12873 $as_echo_n "checking for $ac_word... " >&6; }
12874 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12875 $as_echo_n "(cached) " >&6
12877 case $GLIB_MKENUMS in
12879 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12883 for as_dir in $PATH
12886 test -z "$as_dir" && as_dir=.
12887 for ac_exec_ext in '' $ac_executable_extensions; do
12888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12889 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12897 test -z "$ac_cv_path_GLIB_MKENUMS" && ac_cv_path_GLIB_MKENUMS="$PATH"
12901 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12902 if test -n "$GLIB_MKENUMS"; then
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12904 $as_echo "$GLIB_MKENUMS" >&6; }
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12912 # Checks for libraries.
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12916 $as_echo_n "checking for GLIB... " >&6; }
12918 if test -n "$GLIB_CFLAGS"; then
12919 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12920 elif test -n "$PKG_CONFIG"; then
12921 if test -n "$PKG_CONFIG" && \
12922 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12923 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12926 test $ac_status = 0; }; then
12927 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30" 2>/dev/null`
12928 test "x$?" != "x0" && pkg_failed=yes
12935 if test -n "$GLIB_LIBS"; then
12936 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12937 elif test -n "$PKG_CONFIG"; then
12938 if test -n "$PKG_CONFIG" && \
12939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12940 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943 test $ac_status = 0; }; then
12944 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30" 2>/dev/null`
12945 test "x$?" != "x0" && pkg_failed=yes
12955 if test $pkg_failed = yes; then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957 $as_echo "no" >&6; }
12959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12960 _pkg_short_errors_supported=yes
12962 _pkg_short_errors_supported=no
12964 if test $_pkg_short_errors_supported = yes; then
12965 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12967 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12969 # Put the nasty error message in config.log where it belongs
12970 echo "$GLIB_PKG_ERRORS" >&5
12972 as_fn_error $? "Package requirements (glib-2.0 >= 2.30) were not met:
12976 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12977 installed software in a non-standard prefix.
12979 Alternatively, you may set the environment variables GLIB_CFLAGS
12980 and GLIB_LIBS to avoid the need to call pkg-config.
12981 See the pkg-config man page for more details." "$LINENO" 5
12982 elif test $pkg_failed = untried; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984 $as_echo "no" >&6; }
12985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12987 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12988 is in your PATH or set the PKG_CONFIG environment variable to the full
12989 path to pkg-config.
12991 Alternatively, you may set the environment variables GLIB_CFLAGS
12992 and GLIB_LIBS to avoid the need to call pkg-config.
12993 See the pkg-config man page for more details.
12995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12996 See \`config.log' for more details" "$LINENO" 5; }
12998 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12999 GLIB_LIBS=$pkg_cv_GLIB_LIBS
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13001 $as_echo "yes" >&6; }
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13010 $as_echo_n "checking for GIO... " >&6; }
13012 if test -n "$GIO_CFLAGS"; then
13013 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13014 elif test -n "$PKG_CONFIG"; then
13015 if test -n "$PKG_CONFIG" && \
13016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13017 ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13020 test $ac_status = 0; }; then
13021 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 gio-unix-2.0" 2>/dev/null`
13022 test "x$?" != "x0" && pkg_failed=yes
13029 if test -n "$GIO_LIBS"; then
13030 pkg_cv_GIO_LIBS="$GIO_LIBS"
13031 elif test -n "$PKG_CONFIG"; then
13032 if test -n "$PKG_CONFIG" && \
13033 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13034 ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13037 test $ac_status = 0; }; then
13038 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 gio-unix-2.0" 2>/dev/null`
13039 test "x$?" != "x0" && pkg_failed=yes
13049 if test $pkg_failed = yes; then
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13051 $as_echo "no" >&6; }
13053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13054 _pkg_short_errors_supported=yes
13056 _pkg_short_errors_supported=no
13058 if test $_pkg_short_errors_supported = yes; then
13059 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13061 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13063 # Put the nasty error message in config.log where it belongs
13064 echo "$GIO_PKG_ERRORS" >&5
13066 as_fn_error $? "Package requirements (gio-2.0 gio-unix-2.0) were not met:
13070 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13071 installed software in a non-standard prefix.
13073 Alternatively, you may set the environment variables GIO_CFLAGS
13074 and GIO_LIBS to avoid the need to call pkg-config.
13075 See the pkg-config man page for more details." "$LINENO" 5
13076 elif test $pkg_failed = untried; then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13078 $as_echo "no" >&6; }
13079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13081 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13082 is in your PATH or set the PKG_CONFIG environment variable to the full
13083 path to pkg-config.
13085 Alternatively, you may set the environment variables GIO_CFLAGS
13086 and GIO_LIBS to avoid the need to call pkg-config.
13087 See the pkg-config man page for more details.
13089 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13090 See \`config.log' for more details" "$LINENO" 5; }
13092 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13093 GIO_LIBS=$pkg_cv_GIO_LIBS
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13095 $as_echo "yes" >&6; }
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
13104 $as_echo_n "checking for GMODULE... " >&6; }
13106 if test -n "$GMODULE_CFLAGS"; then
13107 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
13108 elif test -n "$PKG_CONFIG"; then
13109 if test -n "$PKG_CONFIG" && \
13110 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13111 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13114 test $ac_status = 0; }; then
13115 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
13116 test "x$?" != "x0" && pkg_failed=yes
13123 if test -n "$GMODULE_LIBS"; then
13124 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
13125 elif test -n "$PKG_CONFIG"; then
13126 if test -n "$PKG_CONFIG" && \
13127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13128 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13131 test $ac_status = 0; }; then
13132 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
13133 test "x$?" != "x0" && pkg_failed=yes
13143 if test $pkg_failed = yes; then
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13145 $as_echo "no" >&6; }
13147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13148 _pkg_short_errors_supported=yes
13150 _pkg_short_errors_supported=no
13152 if test $_pkg_short_errors_supported = yes; then
13153 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13155 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13157 # Put the nasty error message in config.log where it belongs
13158 echo "$GMODULE_PKG_ERRORS" >&5
13160 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
13162 $GMODULE_PKG_ERRORS
13164 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13165 installed software in a non-standard prefix.
13167 Alternatively, you may set the environment variables GMODULE_CFLAGS
13168 and GMODULE_LIBS to avoid the need to call pkg-config.
13169 See the pkg-config man page for more details." "$LINENO" 5
13170 elif test $pkg_failed = untried; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13172 $as_echo "no" >&6; }
13173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13175 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13176 is in your PATH or set the PKG_CONFIG environment variable to the full
13177 path to pkg-config.
13179 Alternatively, you may set the environment variables GMODULE_CFLAGS
13180 and GMODULE_LIBS to avoid the need to call pkg-config.
13181 See the pkg-config man page for more details.
13183 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13184 See \`config.log' for more details" "$LINENO" 5; }
13186 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
13187 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13189 $as_echo "yes" >&6; }
13195 # Check for libtlm-nfc
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
13199 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
13201 if test -n "$LIBTLM_NFC_CFLAGS"; then
13202 pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
13203 elif test -n "$PKG_CONFIG"; then
13204 if test -n "$PKG_CONFIG" && \
13205 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13206 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13209 test $ac_status = 0; }; then
13210 pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
13211 test "x$?" != "x0" && pkg_failed=yes
13218 if test -n "$LIBTLM_NFC_LIBS"; then
13219 pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
13220 elif test -n "$PKG_CONFIG"; then
13221 if test -n "$PKG_CONFIG" && \
13222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
13223 ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
13225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13226 test $ac_status = 0; }; then
13227 pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
13228 test "x$?" != "x0" && pkg_failed=yes
13238 if test $pkg_failed = yes; then
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13240 $as_echo "no" >&6; }
13242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13243 _pkg_short_errors_supported=yes
13245 _pkg_short_errors_supported=no
13247 if test $_pkg_short_errors_supported = yes; then
13248 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13250 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
13252 # Put the nasty error message in config.log where it belongs
13253 echo "$LIBTLM_NFC_PKG_ERRORS" >&5
13256 elif test $pkg_failed = untried; then
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13258 $as_echo "no" >&6; }
13261 LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
13262 LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13264 $as_echo "yes" >&6; }
13265 have_libtlm_nfc=yes
13269 if test x$have_libtlm_nfc = xyes; then
13270 HAVE_LIBTLM_NFC_TRUE=
13271 HAVE_LIBTLM_NFC_FALSE='#'
13273 HAVE_LIBTLM_NFC_TRUE='#'
13274 HAVE_LIBTLM_NFC_FALSE=
13278 for ac_header in security/pam_appl.h
13280 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13281 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13282 cat >>confdefs.h <<_ACEOF
13283 #define HAVE_SECURITY_PAM_APPL_H 1
13287 as_fn_error $? "\"pam-devel is required\"" "$LINENO" 5
13292 for ac_header in security/pam_misc.h
13294 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "$ac_includes_default"
13295 if test "x$ac_cv_header_security_pam_misc_h" = xyes; then :
13296 cat >>confdefs.h <<_ACEOF
13297 #define HAVE_SECURITY_PAM_MISC_H 1
13301 as_fn_error $? "\"pam-misc is required\"" "$LINENO" 5
13307 TLM_CFLAGS="$GLIB_CFLAGS $GIO_CFLAGS $GMODULE_CFLAGS -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wall -Werror"
13308 TLM_LIBS="$GLIB_LIBS $GIO_LIBS $GMODULE_LIBS"
13313 # Check whether --enable-debug was given.
13314 if test "${enable_debug+set}" = set; then :
13315 enableval=$enable_debug; enable_debug=$enable_debug
13320 if test "x$enable_debug" = "xyes" ; then
13322 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
13324 # Check whether --enable-tests was given.
13325 if test "${enable_tests+set}" = set; then :
13326 enableval=$enable_tests; enable_tests=$enable_tests
13331 if test "x$enable_tests" = "xyes" ; then
13333 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13338 $as_echo_n "checking for CHECK... " >&6; }
13340 if test -n "$CHECK_CFLAGS"; then
13341 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13342 elif test -n "$PKG_CONFIG"; then
13343 if test -n "$PKG_CONFIG" && \
13344 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13345 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13348 test $ac_status = 0; }; then
13349 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
13350 test "x$?" != "x0" && pkg_failed=yes
13357 if test -n "$CHECK_LIBS"; then
13358 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13359 elif test -n "$PKG_CONFIG"; then
13360 if test -n "$PKG_CONFIG" && \
13361 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13362 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13365 test $ac_status = 0; }; then
13366 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
13367 test "x$?" != "x0" && pkg_failed=yes
13377 if test $pkg_failed = yes; then
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13379 $as_echo "no" >&6; }
13381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13382 _pkg_short_errors_supported=yes
13384 _pkg_short_errors_supported=no
13386 if test $_pkg_short_errors_supported = yes; then
13387 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13389 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13391 # Put the nasty error message in config.log where it belongs
13392 echo "$CHECK_PKG_ERRORS" >&5
13394 as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
13398 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13399 installed software in a non-standard prefix.
13401 Alternatively, you may set the environment variables CHECK_CFLAGS
13402 and CHECK_LIBS to avoid the need to call pkg-config.
13403 See the pkg-config man page for more details." "$LINENO" 5
13404 elif test $pkg_failed = untried; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13406 $as_echo "no" >&6; }
13407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13409 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13410 is in your PATH or set the PKG_CONFIG environment variable to the full
13411 path to pkg-config.
13413 Alternatively, you may set the environment variables CHECK_CFLAGS
13414 and CHECK_LIBS to avoid the need to call pkg-config.
13415 See the pkg-config man page for more details.
13417 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13418 See \`config.log' for more details" "$LINENO" 5; }
13420 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13421 CHECK_LIBS=$pkg_cv_CHECK_LIBS
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13423 $as_echo "yes" >&6; }
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Tests can't be enabled without debug features\"" >&5
13429 $as_echo "$as_me: WARNING: \"Tests can't be enabled without debug features\"" >&2;}
13434 if test "x$enable_tests" = "xyes"; then
13436 ENABLE_TESTS_FALSE='#'
13438 ENABLE_TESTS_TRUE='#'
13439 ENABLE_TESTS_FALSE=
13444 # Check whether --enable-examples was given.
13445 if test "${enable_examples+set}" = set; then :
13446 enableval=$enable_examples; enable_examples=$enable_examples
13448 enable_examples="no"
13451 if test x$enable_examples = xyes; then
13452 ENABLE_EXAMPLES_TRUE=
13453 ENABLE_EXAMPLES_FALSE='#'
13455 ENABLE_EXAMPLES_TRUE='#'
13456 ENABLE_EXAMPLES_FALSE=
13460 if test "x$enable_examples" = "xyes" ; then
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13464 $as_echo_n "checking for ELEMENTARY... " >&6; }
13466 if test -n "$ELEMENTARY_CFLAGS"; then
13467 pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13468 elif test -n "$PKG_CONFIG"; then
13469 if test -n "$PKG_CONFIG" && \
13470 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13471 ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13474 test $ac_status = 0; }; then
13475 pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "elementary" 2>/dev/null`
13476 test "x$?" != "x0" && pkg_failed=yes
13483 if test -n "$ELEMENTARY_LIBS"; then
13484 pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13485 elif test -n "$PKG_CONFIG"; then
13486 if test -n "$PKG_CONFIG" && \
13487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13488 ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13491 test $ac_status = 0; }; then
13492 pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "elementary" 2>/dev/null`
13493 test "x$?" != "x0" && pkg_failed=yes
13503 if test $pkg_failed = yes; then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13505 $as_echo "no" >&6; }
13507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13508 _pkg_short_errors_supported=yes
13510 _pkg_short_errors_supported=no
13512 if test $_pkg_short_errors_supported = yes; then
13513 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "elementary" 2>&1`
13515 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "elementary" 2>&1`
13517 # Put the nasty error message in config.log where it belongs
13518 echo "$ELEMENTARY_PKG_ERRORS" >&5
13520 as_fn_error $? "Package requirements (elementary) were not met:
13522 $ELEMENTARY_PKG_ERRORS
13524 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13525 installed software in a non-standard prefix.
13527 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13528 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13529 See the pkg-config man page for more details." "$LINENO" 5
13530 elif test $pkg_failed = untried; then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13532 $as_echo "no" >&6; }
13533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13535 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13536 is in your PATH or set the PKG_CONFIG environment variable to the full
13537 path to pkg-config.
13539 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13540 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13541 See the pkg-config man page for more details.
13543 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13544 See \`config.log' for more details" "$LINENO" 5; }
13546 ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13547 ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13549 $as_echo "yes" >&6; }
13556 # Define socket path
13557 # Check whether --enable-sockets-path was given.
13558 if test "${enable_sockets_path+set}" = set; then :
13559 enableval=$enable_sockets_path; enable_sockets_path=$enableval
13561 enable_sockets_path="/var/run/tlm"
13565 cat >>confdefs.h <<_ACEOF
13566 #define TLM_DBUS_SOCKET_PATH "$enable_sockets_path"
13570 cat >>confdefs.h <<_ACEOF
13571 #define TLM_DBUS_ROOT_SOCKET_ADDRESS "unix:path=$enable_sockets_path/dbus-sock"
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUM" >&5
13579 $as_echo_n "checking for LIBGUM... " >&6; }
13581 if test -n "$LIBGUM_CFLAGS"; then
13582 pkg_cv_LIBGUM_CFLAGS="$LIBGUM_CFLAGS"
13583 elif test -n "$PKG_CONFIG"; then
13584 if test -n "$PKG_CONFIG" && \
13585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13586 ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13589 test $ac_status = 0; }; then
13590 pkg_cv_LIBGUM_CFLAGS=`$PKG_CONFIG --cflags "libgum" 2>/dev/null`
13591 test "x$?" != "x0" && pkg_failed=yes
13598 if test -n "$LIBGUM_LIBS"; then
13599 pkg_cv_LIBGUM_LIBS="$LIBGUM_LIBS"
13600 elif test -n "$PKG_CONFIG"; then
13601 if test -n "$PKG_CONFIG" && \
13602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13603 ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13606 test $ac_status = 0; }; then
13607 pkg_cv_LIBGUM_LIBS=`$PKG_CONFIG --libs "libgum" 2>/dev/null`
13608 test "x$?" != "x0" && pkg_failed=yes
13618 if test $pkg_failed = yes; then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13620 $as_echo "no" >&6; }
13622 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13623 _pkg_short_errors_supported=yes
13625 _pkg_short_errors_supported=no
13627 if test $_pkg_short_errors_supported = yes; then
13628 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgum" 2>&1`
13630 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgum" 2>&1`
13632 # Put the nasty error message in config.log where it belongs
13633 echo "$LIBGUM_PKG_ERRORS" >&5
13636 elif test $pkg_failed = untried; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13638 $as_echo "no" >&6; }
13641 LIBGUM_CFLAGS=$pkg_cv_LIBGUM_CFLAGS
13642 LIBGUM_LIBS=$pkg_cv_LIBGUM_LIBS
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13644 $as_echo "yes" >&6; }
13647 # Check whether --enable-gum was given.
13648 if test "${enable_gum+set}" = set; then :
13649 enableval=$enable_gum;
13651 enable_gum=$have_libgum
13654 if test "x$enable_gum" = "xyes" && test "x$have_libgum" = "xno" ; then
13655 as_fn_error $? "\"libgum is required.\"" "$LINENO" 5
13659 if test x$have_libgum = xyes; then
13661 HAVE_LIBGUM_FALSE='#'
13663 HAVE_LIBGUM_TRUE='#'
13668 if test "x$enable_gum" = "xyes" ; then
13669 ACCOUNT_PLUGIN_NAME=gumd
13672 ACCOUNT_PLUGIN_NAME=default
13676 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/sessiond/Makefile src/utils/Makefile 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"
13679 cat >confcache <<\_ACEOF
13680 # This file is a shell script that caches the results of configure
13681 # tests run on this system so they can be shared between configure
13682 # scripts and configure runs, see configure's option --config-cache.
13683 # It is not useful on other systems. If it contains results you don't
13684 # want to keep, you may remove or edit it.
13686 # config.status only pays attention to the cache file if you give it
13687 # the --recheck option to rerun configure.
13689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13691 # following values.
13695 # The following way of writing the cache mishandles newlines in values,
13696 # but we know of no workaround that is simple, portable, and efficient.
13697 # So, we kill variables containing newlines.
13698 # Ultrix sh set writes to stderr and can't be redirected directly,
13699 # and sets the high bit in the cache file unless we assign to the vars.
13701 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13702 eval ac_val=\$$ac_var
13706 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13707 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13710 _ | IFS | as_nl) ;; #(
13711 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13712 *) { eval $ac_var=; unset $ac_var;} ;;
13718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13719 *${as_nl}ac_space=\ *)
13720 # `set' does not quote correctly, so add quotes: double-quote
13721 # substitution turns \\\\ into \\, and sed turns \\ into \.
13724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13727 # `set' quotes correctly as required by POSIX, so do not add quotes.
13728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13742 if test -w "$cache_file"; then
13743 if test "x$cache_file" != "x/dev/null"; then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13745 $as_echo "$as_me: updating cache $cache_file" >&6;}
13746 if test ! -f "$cache_file" || test -h "$cache_file"; then
13747 cat confcache >"$cache_file"
13749 case $cache_file in #(
13751 mv -f confcache "$cache_file"$$ &&
13752 mv -f "$cache_file"$$ "$cache_file" ;; #(
13754 mv -f confcache "$cache_file" ;;
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13760 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13765 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13766 # Let make expand exec_prefix.
13767 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13769 DEFS=-DHAVE_CONFIG_H
13774 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13775 # 1. Remove the extension, and $U if already installed.
13776 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13777 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13778 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13779 # will be set to the directory where LIBOBJS objects are built.
13780 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13781 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13783 LIBOBJS=$ac_libobjs
13785 LTLIBOBJS=$ac_ltlibobjs
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13789 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13790 if test -n "$am_sleep_pid"; then
13791 # Hide warnings about reused PIDs.
13792 wait $am_sleep_pid 2>/dev/null
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13795 $as_echo "done" >&6; }
13796 if test -n "$EXEEXT"; then
13798 am__EXEEXT_FALSE='#'
13800 am__EXEEXT_TRUE='#'
13804 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13805 as_fn_error $? "conditional \"AMDEP\" was never defined.
13806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13808 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13809 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13812 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13813 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13816 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13817 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13820 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13821 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13824 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13825 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13828 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13829 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13832 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13833 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13836 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13837 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13840 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13841 as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13844 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13845 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13848 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
13849 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
13850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13852 if test -z "${HAVE_LIBGUM_TRUE}" && test -z "${HAVE_LIBGUM_FALSE}"; then
13853 as_fn_error $? "conditional \"HAVE_LIBGUM\" was never defined.
13854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13857 : "${CONFIG_STATUS=./config.status}"
13859 ac_clean_files_save=$ac_clean_files
13860 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13862 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13864 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13866 # Generated by $as_me.
13867 # Run this file to recreate the current configuration.
13868 # Compiler output produced by configure, useful for debugging
13869 # configure, is in config.log if it exists.
13872 ac_cs_recheck=false
13875 SHELL=\${CONFIG_SHELL-$SHELL}
13878 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13879 ## -------------------- ##
13880 ## M4sh Initialization. ##
13881 ## -------------------- ##
13883 # Be more Bourne compatible
13884 DUALCASE=1; export DUALCASE # for MKS sh
13885 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13888 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13889 # is contrary to our usage. Disable this feature.
13890 alias -g '${1+"$@"}'='"$@"'
13891 setopt NO_GLOB_SUBST
13893 case `(set -o) 2>/dev/null` in #(
13905 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13906 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13908 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13909 # Prefer a ksh shell builtin over an external printf program on Solaris,
13910 # but without wasting forks for bash or zsh.
13911 if test -z "$BASH_VERSION$ZSH_VERSION" \
13912 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13913 as_echo='print -r --'
13914 as_echo_n='print -rn --'
13915 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13916 as_echo='printf %s\n'
13917 as_echo_n='printf %s'
13919 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13920 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13921 as_echo_n='/usr/ucb/echo -n'
13923 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13924 as_echo_n_body='eval
13928 expr "X$arg" : "X\\(.*\\)$as_nl";
13929 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13931 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13933 export as_echo_n_body
13934 as_echo_n='sh -c $as_echo_n_body as_echo'
13936 export as_echo_body
13937 as_echo='sh -c $as_echo_body as_echo'
13940 # The user is always right.
13941 if test "${PATH_SEPARATOR+set}" != set; then
13943 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13944 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13951 # We need space, tab and new line, in precisely that order. Quoting is
13952 # there to prevent editors from complaining about space-tab.
13953 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13954 # splitting by setting IFS to empty value.)
13957 # Find who we are. Look in the path if we contain no directory separator.
13960 *[\\/]* ) as_myself=$0 ;;
13961 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13962 for as_dir in $PATH
13965 test -z "$as_dir" && as_dir=.
13966 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13972 # We did not find ourselves, most probably we were run as `sh COMMAND'
13973 # in which case we are not to be found in the path.
13974 if test "x$as_myself" = x; then
13977 if test ! -f "$as_myself"; then
13978 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13982 # Unset variables that we do not need and which cause bugs (e.g. in
13983 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13984 # suppresses any "Segmentation fault" message there. '((' could
13985 # trigger a bug in pdksh 5.2.14.
13986 for as_var in BASH_ENV ENV MAIL MAILPATH
13987 do eval test x\${$as_var+set} = xset \
13988 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14001 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14004 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14005 # ----------------------------------------
14006 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14007 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14008 # script with STATUS, using 1 if that was 0.
14011 as_status=$1; test $as_status -eq 0 && as_status=1
14013 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14014 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14016 $as_echo "$as_me: error: $2" >&2
14017 as_fn_exit $as_status
14021 # as_fn_set_status STATUS
14022 # -----------------------
14023 # Set $? to STATUS, without forking.
14024 as_fn_set_status ()
14027 } # as_fn_set_status
14029 # as_fn_exit STATUS
14030 # -----------------
14031 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14035 as_fn_set_status $1
14041 # Portably unset VAR.
14044 { eval $1=; unset $1;}
14046 as_unset=as_fn_unset
14047 # as_fn_append VAR VALUE
14048 # ----------------------
14049 # Append the text in VALUE to the end of the definition contained in VAR. Take
14050 # advantage of any shell optimizations that allow amortized linear growth over
14051 # repeated appends, instead of the typical quadratic growth present in naive
14053 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14054 eval 'as_fn_append ()
14065 # as_fn_arith ARG...
14066 # ------------------
14067 # Perform arithmetic evaluation on the ARGs, and store the result in the
14068 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14069 # must be portable across $(()) and expr.
14070 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14071 eval 'as_fn_arith ()
14078 as_val=`expr "$@" || test $? -eq 1`
14083 if expr a : '\(a\)' >/dev/null 2>&1 &&
14084 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14090 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14091 as_basename=basename
14096 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14102 as_me=`$as_basename -- "$0" ||
14103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14104 X"$0" : 'X\(//\)$' \| \
14105 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14107 sed '/^.*\/\([^/][^/]*\)\/*$/{
14121 # Avoid depending upon Character Ranges.
14122 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14123 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14124 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14125 as_cr_digits='0123456789'
14126 as_cr_alnum=$as_cr_Letters$as_cr_digits
14128 ECHO_C= ECHO_N= ECHO_T=
14129 case `echo -n x` in #(((((
14131 case `echo 'xy\c'` in
14132 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14134 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14141 rm -f conf$$ conf$$.exe conf$$.file
14142 if test -d conf$$.dir; then
14143 rm -f conf$$.dir/conf$$.file
14146 mkdir conf$$.dir 2>/dev/null
14148 if (echo >conf$$.file) 2>/dev/null; then
14149 if ln -s conf$$.file conf$$ 2>/dev/null; then
14151 # ... but there are two gotchas:
14152 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14153 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14154 # In both cases, we have to default to `cp -pR'.
14155 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14157 elif ln conf$$.file conf$$ 2>/dev/null; then
14165 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14166 rmdir conf$$.dir 2>/dev/null
14171 # Create "$as_dir" as a directory, including parents if necessary.
14176 -*) as_dir=./$as_dir;;
14178 test -d "$as_dir" || eval $as_mkdir_p || {
14182 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14183 *) as_qdir=$as_dir;;
14185 as_dirs="'$as_qdir' $as_dirs"
14186 as_dir=`$as_dirname -- "$as_dir" ||
14187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14188 X"$as_dir" : 'X\(//\)[^/]' \| \
14189 X"$as_dir" : 'X\(//\)$' \| \
14190 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14191 $as_echo X"$as_dir" |
14192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14196 /^X\(\/\/\)[^/].*/{
14209 test -d "$as_dir" && break
14211 test -z "$as_dirs" || eval "mkdir $as_dirs"
14212 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14216 if mkdir -p . 2>/dev/null; then
14217 as_mkdir_p='mkdir -p "$as_dir"'
14219 test -d ./-p && rmdir ./-p
14224 # as_fn_executable_p FILE
14225 # -----------------------
14226 # Test if FILE is an executable regular file.
14227 as_fn_executable_p ()
14229 test -f "$1" && test -x "$1"
14230 } # as_fn_executable_p
14231 as_test_x='test -x'
14232 as_executable_p=as_fn_executable_p
14234 # Sed expression to map a string onto a valid CPP name.
14235 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14237 # Sed expression to map a string onto a valid variable name.
14238 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14242 ## ----------------------------------- ##
14243 ## Main body of $CONFIG_STATUS script. ##
14244 ## ----------------------------------- ##
14246 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14249 # Save the log message, to keep $0 and so on meaningful, and to
14250 # report actual input values of CONFIG_FILES etc. instead of their
14251 # values after options handling.
14253 This file was extended by tlm $as_me 1.0.3, which was
14254 generated by GNU Autoconf 2.69. Invocation command line was
14256 CONFIG_FILES = $CONFIG_FILES
14257 CONFIG_HEADERS = $CONFIG_HEADERS
14258 CONFIG_LINKS = $CONFIG_LINKS
14259 CONFIG_COMMANDS = $CONFIG_COMMANDS
14262 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14267 case $ac_config_files in *"
14268 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14271 case $ac_config_headers in *"
14272 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14277 # Files that config.status was made for.
14278 config_files="$ac_config_files"
14279 config_headers="$ac_config_headers"
14280 config_commands="$ac_config_commands"
14284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14286 \`$as_me' instantiates files and other configuration actions
14287 from templates according to the current configuration. Unless the files
14288 and actions are specified as TAGs, all are instantiated by default.
14290 Usage: $0 [OPTION]... [TAG]...
14292 -h, --help print this help, then exit
14293 -V, --version print version number and configuration settings, then exit
14294 --config print configuration, then exit
14295 -q, --quiet, --silent
14296 do not print progress messages
14297 -d, --debug don't remove temporary files
14298 --recheck update $as_me by reconfiguring in the same conditions
14299 --file=FILE[:TEMPLATE]
14300 instantiate the configuration file FILE
14301 --header=FILE[:TEMPLATE]
14302 instantiate the configuration header FILE
14304 Configuration files:
14307 Configuration headers:
14310 Configuration commands:
14313 Report bugs to the package provider."
14316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14317 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14319 tlm config.status 1.0.3
14320 configured by $0, generated by GNU Autoconf 2.69,
14321 with options \\"\$ac_cs_config\\"
14323 Copyright (C) 2012 Free Software Foundation, Inc.
14324 This config.status script is free software; the Free Software Foundation
14325 gives unlimited permission to copy, distribute and modify it."
14332 test -n "\$AWK" || AWK=awk
14335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14336 # The default lists apply if the user does not specify any file.
14342 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14343 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14347 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14359 # Handling of the options.
14360 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14362 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14363 $as_echo "$ac_cs_version"; exit ;;
14364 --config | --confi | --conf | --con | --co | --c )
14365 $as_echo "$ac_cs_config"; exit ;;
14366 --debug | --debu | --deb | --de | --d | -d )
14368 --file | --fil | --fi | --f )
14371 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14372 '') as_fn_error $? "missing file argument" ;;
14374 as_fn_append CONFIG_FILES " '$ac_optarg'"
14375 ac_need_defaults=false;;
14376 --header | --heade | --head | --hea )
14379 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14381 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14382 ac_need_defaults=false;;
14384 # Conflict between --help and --header
14385 as_fn_error $? "ambiguous option: \`$1'
14386 Try \`$0 --help' for more information.";;
14387 --help | --hel | -h )
14388 $as_echo "$ac_cs_usage"; exit ;;
14389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14390 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14393 # This is an error.
14394 -*) as_fn_error $? "unrecognized option: \`$1'
14395 Try \`$0 --help' for more information." ;;
14397 *) as_fn_append ac_config_targets " $1"
14398 ac_need_defaults=false ;;
14404 ac_configure_extra_args=
14406 if $ac_cs_silent; then
14408 ac_configure_extra_args="$ac_configure_extra_args --silent"
14412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14413 if \$ac_cs_recheck; then
14414 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14416 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14417 CONFIG_SHELL='$SHELL'
14418 export CONFIG_SHELL
14423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14427 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14428 ## Running $as_me. ##
14434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14438 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14441 # The HP-UX ksh and POSIX shell print the target directory to stdout
14442 # if CDPATH is set.
14443 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14445 sed_quote_subst='$sed_quote_subst'
14446 double_quote_subst='$double_quote_subst'
14447 delay_variable_subst='$delay_variable_subst'
14448 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14449 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14450 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14451 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14452 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14453 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14454 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14455 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14456 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14457 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14458 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14459 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14460 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14461 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14462 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14463 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14464 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14465 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14466 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14467 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14468 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14469 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14470 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14471 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14472 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14473 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14474 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14475 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14476 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14477 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14478 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14479 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14480 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14481 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14482 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14483 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14484 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14485 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14486 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14487 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14488 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14489 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14490 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14491 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14492 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14493 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14494 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14495 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14496 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14497 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14498 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14499 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14500 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14501 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14502 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14503 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14504 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"`'
14505 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14506 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14507 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14508 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14509 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14510 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14511 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14512 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14513 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14514 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14515 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14516 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14517 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14518 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14519 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14520 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14521 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14522 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14523 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14524 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14525 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14526 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14527 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14528 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14529 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14530 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14531 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14532 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14533 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14534 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14535 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14536 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14537 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14538 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14539 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14540 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14541 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14542 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14543 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14544 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14545 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14546 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14547 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14548 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14549 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14550 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14551 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14552 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14553 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14554 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14555 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14556 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14557 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14558 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14559 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14560 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14561 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14562 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14563 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14564 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14565 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14566 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14567 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14568 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14569 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14570 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14571 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14572 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14573 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14574 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14575 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14576 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14577 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14580 LTCFLAGS='$LTCFLAGS'
14581 compiler='$compiler_DEFAULT'
14583 # A function that is used when there is no print builtin or printf.
14584 func_fallback_echo ()
14586 eval 'cat <<_LTECHO_EOF
14591 # Quote evaled strings.
14606 deplibs_check_method \
14611 sharedlib_from_linklib_cmd \
14614 archiver_list_spec \
14620 lt_cv_sys_global_symbol_pipe \
14621 lt_cv_sys_global_symbol_to_cdecl \
14622 lt_cv_sys_global_symbol_to_c_name_address \
14623 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14624 nm_file_list_spec \
14625 lt_prog_compiler_no_builtin_flag \
14626 lt_prog_compiler_pic \
14627 lt_prog_compiler_wl \
14628 lt_prog_compiler_static \
14629 lt_cv_prog_compiler_c_o \
14638 export_dynamic_flag_spec \
14639 whole_archive_flag_spec \
14640 compiler_needs_object \
14642 allow_undefined_flag \
14643 no_undefined_flag \
14644 hardcode_libdir_flag_spec \
14645 hardcode_libdir_separator \
14649 variables_saved_for_relink \
14651 library_names_spec \
14653 install_override_mode \
14657 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14658 *[\\\\\\\`\\"\\\$]*)
14659 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14662 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14667 # Double-quote double-evaled strings.
14668 for var in reload_cmds \
14669 old_postinstall_cmds \
14670 old_postuninstall_cmds \
14672 extract_expsyms_cmds \
14673 old_archive_from_new_cmds \
14674 old_archive_from_expsyms_cmds \
14676 archive_expsym_cmds \
14678 module_expsym_cmds \
14679 export_symbols_cmds \
14683 postuninstall_cmds \
14685 sys_lib_search_path_spec \
14686 sys_lib_dlsearch_path_spec; do
14687 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14688 *[\\\\\\\`\\"\\\$]*)
14689 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14692 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14697 ac_aux_dir='$ac_aux_dir'
14698 xsi_shell='$xsi_shell'
14699 lt_shell_append='$lt_shell_append'
14701 # See if we are running on zsh, and set the options which allow our
14702 # commands through without removal of \ escapes INIT.
14703 if test -n "\${ZSH_VERSION+set}" ; then
14704 setopt NO_GLOB_SUBST
14710 TIMESTAMP='$TIMESTAMP'
14719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14721 # Handling of arguments.
14722 for ac_config_target in $ac_config_targets
14724 case $ac_config_target in
14725 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14726 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14727 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14728 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14729 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14730 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14731 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14732 "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14733 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14734 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14735 "src/daemon/tlm.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/tlm.pc" ;;
14736 "src/sessiond/Makefile") CONFIG_FILES="$CONFIG_FILES src/sessiond/Makefile" ;;
14737 "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
14738 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14739 "src/plugins/default/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/default/Makefile" ;;
14740 "src/plugins/gumd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gumd/Makefile" ;;
14741 "src/plugins/nfc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/nfc/Makefile" ;;
14742 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14743 "data/tlm.conf") CONFIG_FILES="$CONFIG_FILES data/tlm.conf" ;;
14744 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14745 "tests/config/Makefile") CONFIG_FILES="$CONFIG_FILES tests/config/Makefile" ;;
14746 "tests/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/daemon/Makefile" ;;
14747 "tests/tlm-test.conf") CONFIG_FILES="$CONFIG_FILES tests/tlm-test.conf" ;;
14748 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14750 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14755 # If the user did not use the arguments to specify the items to instantiate,
14756 # then the envvar interface is used. Set only those that are not.
14757 # We use the long form for the default assignment because of an extremely
14758 # bizarre bug on SunOS 4.1.3.
14759 if $ac_need_defaults; then
14760 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14761 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14762 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14765 # Have a temporary directory for convenience. Make it in the build tree
14766 # simply because there is no reason against having it here, and in addition,
14767 # creating and moving files from /tmp can sometimes cause problems.
14768 # Hook for its removal unless debugging.
14769 # Note that there is a small window in which the directory will not be cleaned:
14770 # after its creation but before its name has been assigned to `$tmp'.
14774 trap 'exit_status=$?
14775 : "${ac_tmp:=$tmp}"
14776 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14778 trap 'as_fn_exit 1' 1 2 13 15
14780 # Create a (secure) tmp directory for tmp files.
14783 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14787 tmp=./conf$$-$RANDOM
14788 (umask 077 && mkdir "$tmp")
14789 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14792 # Set up the scripts for CONFIG_FILES section.
14793 # No need to generate them if there are no CONFIG_FILES.
14794 # This happens for instance with `./config.status config.h'.
14795 if test -n "$CONFIG_FILES"; then
14798 ac_cr=`echo X | tr X '\015'`
14799 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14800 # But we know of no other shell where ac_cr would be empty at this
14801 # point, so we can use a bashism as a fallback.
14802 if test "x$ac_cr" = x; then
14803 eval ac_cr=\$\'\\r\'
14805 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14806 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14809 ac_cs_awk_cr=$ac_cr
14812 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14817 echo "cat >conf$$subs.awk <<_ACEOF" &&
14818 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14820 } >conf$$subs.sh ||
14821 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14822 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14824 for ac_last_try in false false false false false :; do
14825 . ./conf$$subs.sh ||
14826 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14828 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14829 if test $ac_delim_n = $ac_delim_num; then
14831 elif $ac_last_try; then
14832 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14834 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14837 rm -f conf$$subs.sh
14839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14840 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14844 s/^/S["/; s/!.*/"]=/
14854 s/\(.\{148\}\)..*/\1/
14856 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14861 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14868 s/\(.\{148\}\)..*/\1/
14870 s/["\\]/\\&/g; s/^/"/; s/$/"/
14874 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14879 ' <conf$$subs.awk | sed '
14884 ' >>$CONFIG_STATUS || ac_write_fail=1
14885 rm -f conf$$subs.awk
14886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14888 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14889 for (key in S) S_is_set[key] = 1
14895 nfields = split(line, field, "@")
14897 len = length(field[1])
14898 for (i = 2; i < nfields; i++) {
14900 keylen = length(key)
14901 if (S_is_set[key]) {
14903 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14904 len += length(value) + length(field[++i])
14915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14916 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14917 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14920 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14921 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14924 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14925 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14926 # trailing colons and then remove the whole line if VPATH becomes empty
14927 # (actually we leave an empty line to preserve line numbers).
14928 if test "x$srcdir" = x.; then
14929 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14948 fi # test -n "$CONFIG_FILES"
14950 # Set up the scripts for CONFIG_HEADERS section.
14951 # No need to generate them if there are no CONFIG_HEADERS.
14952 # This happens for instance with `./config.status Makefile'.
14953 if test -n "$CONFIG_HEADERS"; then
14954 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14958 # Transform confdefs.h into an awk script `defines.awk', embedded as
14959 # here-document in config.status, that substitutes the proper values into
14960 # config.h.in to produce config.h.
14962 # Create a delimiter string that does not exist in confdefs.h, to ease
14963 # handling of long lines.
14965 for ac_last_try in false false :; do
14966 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14967 if test -z "$ac_tt"; then
14969 elif $ac_last_try; then
14970 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14976 # For the awk script, D is an array of macro values keyed by name,
14977 # likewise P contains macro parameters if any. Preserve backslash
14978 # newline sequences.
14980 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14982 s/.\{148\}/&'"$ac_delim"'/g
14985 s/^[ ]*#[ ]*define[ ][ ]*/ /
14992 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14994 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14999 D["\1"]=" \3\\\\\\n"\\/p
15001 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15006 s/.\{148\}/&'"$ac_delim"'/g
15011 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15014 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15016 ' <confdefs.h | sed '
15017 s/'"$ac_delim"'/"\\\
15018 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15021 for (key in D) D_is_set[key] = 1
15024 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15026 split(line, arg, " ")
15027 if (arg[1] == "#") {
15031 defundef = substr(arg[1], 2)
15034 split(mac1, mac2, "(") #)
15036 prefix = substr(line, 1, index(line, defundef) - 1)
15037 if (D_is_set[macro]) {
15038 # Preserve the white space surrounding the "#".
15039 print prefix "define", macro P[macro] D[macro]
15042 # Replace #undef with comments. This is necessary, for example,
15043 # in the case of _POSIX_SOURCE, which is predefined and required
15044 # on some systems where configure will not decide to define it.
15045 if (defundef == "undef") {
15046 print "/*", prefix defundef, macro, "*/"
15054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15055 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15056 fi # test -n "$CONFIG_HEADERS"
15059 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15064 :[FHLC]) ac_mode=$ac_tag; continue;;
15066 case $ac_mode$ac_tag in
15068 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15069 :[FH]-) ac_tag=-:-;;
15070 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15087 -) ac_f="$ac_tmp/stdin";;
15088 *) # Look for the file first in the build tree, then in the source tree
15089 # (if the path is not absolute). The absolute path cannot be DOS-style,
15090 # because $ac_f cannot contain `:'.
15094 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15096 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15098 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15099 as_fn_append ac_file_inputs " '$ac_f'"
15102 # Let's still pretend it is `configure' which instantiates (i.e., don't
15103 # use $as_me), people would be surprised to read:
15104 # /* config.h. Generated by config.status. */
15105 configure_input='Generated from '`
15106 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15108 if test x"$ac_file" != x-; then
15109 configure_input="$ac_file. $configure_input"
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15111 $as_echo "$as_me: creating $ac_file" >&6;}
15113 # Neutralize special characters interpreted by sed in replacement strings.
15114 case $configure_input in #(
15115 *\&* | *\|* | *\\* )
15116 ac_sed_conf_input=`$as_echo "$configure_input" |
15117 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15118 *) ac_sed_conf_input=$configure_input;;
15122 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15123 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15128 ac_dir=`$as_dirname -- "$ac_file" ||
15129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15130 X"$ac_file" : 'X\(//\)[^/]' \| \
15131 X"$ac_file" : 'X\(//\)$' \| \
15132 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15133 $as_echo X"$ac_file" |
15134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15138 /^X\(\/\/\)[^/].*/{
15151 as_dir="$ac_dir"; as_fn_mkdir_p
15155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15157 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15158 # A ".." for each directory in $ac_dir_suffix.
15159 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15160 case $ac_top_builddir_sub in
15161 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15162 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15165 ac_abs_top_builddir=$ac_pwd
15166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15167 # for backward compatibility:
15168 ac_top_builddir=$ac_top_build_prefix
15171 .) # We are building in place.
15173 ac_top_srcdir=$ac_top_builddir_sub
15174 ac_abs_top_srcdir=$ac_pwd ;;
15175 [\\/]* | ?:[\\/]* ) # Absolute name.
15176 ac_srcdir=$srcdir$ac_dir_suffix;
15177 ac_top_srcdir=$srcdir
15178 ac_abs_top_srcdir=$srcdir ;;
15179 *) # Relative name.
15180 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15181 ac_top_srcdir=$ac_top_build_prefix$srcdir
15182 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15194 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15195 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15197 ac_MKDIR_P=$MKDIR_P
15199 [\\/$]* | ?:[\\/]* ) ;;
15200 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15205 # If the template does not know about datarootdir, expand it.
15206 # FIXME: This hack should be removed a few years after 2.60.
15207 ac_datarootdir_hack=; ac_datarootdir_seen=
15218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15219 *datarootdir*) ac_datarootdir_seen=yes;;
15220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15225 ac_datarootdir_hack='
15226 s&@datadir@&$datadir&g
15227 s&@docdir@&$docdir&g
15228 s&@infodir@&$infodir&g
15229 s&@localedir@&$localedir&g
15230 s&@mandir@&$mandir&g
15231 s&\\\${datarootdir}&$datarootdir&g' ;;
15235 # Neutralize VPATH when `$srcdir' = `.'.
15236 # Shell code in configure.ac might set extrasub.
15237 # FIXME: do we really want to maintain this feature?
15238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15239 ac_sed_extra="$ac_vpsub
15242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15245 s|@configure_input@|$ac_sed_conf_input|;t t
15246 s&@top_builddir@&$ac_top_builddir_sub&;t t
15247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15248 s&@srcdir@&$ac_srcdir&;t t
15249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15250 s&@top_srcdir@&$ac_top_srcdir&;t t
15251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15252 s&@builddir@&$ac_builddir&;t t
15253 s&@abs_builddir@&$ac_abs_builddir&;t t
15254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15255 s&@INSTALL@&$ac_INSTALL&;t t
15256 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15257 $ac_datarootdir_hack
15259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15260 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15263 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15265 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15267 which seems to be undefined. Please make sure it is defined" >&5
15268 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15269 which seems to be undefined. Please make sure it is defined" >&2;}
15271 rm -f "$ac_tmp/stdin"
15273 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15274 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15282 if test x"$ac_file" != x-; then
15284 $as_echo "/* $configure_input */" \
15285 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15286 } >"$ac_tmp/config.h" \
15287 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15288 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15290 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15293 mv "$ac_tmp/config.h" "$ac_file" \
15294 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15297 $as_echo "/* $configure_input */" \
15298 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15299 || as_fn_error $? "could not create -" "$LINENO" 5
15301 # Compute "$ac_file"'s index in $config_headers.
15304 for _am_header in $config_headers :; do
15305 case $_am_header in
15306 $_am_arg | $_am_arg:* )
15309 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15312 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15313 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15314 X"$_am_arg" : 'X\(//\)[^/]' \| \
15315 X"$_am_arg" : 'X\(//\)$' \| \
15316 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15317 $as_echo X"$_am_arg" |
15318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15322 /^X\(\/\/\)[^/].*/{
15334 s/.*/./; q'`/stamp-h$_am_stamp_count
15337 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15338 $as_echo "$as_me: executing $ac_file commands" >&6;}
15343 case $ac_file$ac_mode in
15344 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15345 # Older Autoconf quotes --file arguments for eval, but not when files
15346 # are listed without --file. Let's play safe and only enable the eval
15347 # if we detect the quoting.
15348 case $CONFIG_FILES in
15349 *\'*) eval set x "$CONFIG_FILES" ;;
15350 *) set x $CONFIG_FILES ;;
15355 # Strip MF so we end up with the name of the file.
15356 mf=`echo "$mf" | sed -e 's/:.*$//'`
15357 # Check whether this is an Automake generated Makefile or not.
15358 # We used to match only the files named 'Makefile.in', but
15359 # some people rename them; so instead we look at the file content.
15360 # Grep'ing the first line is not enough: some people post-process
15361 # each Makefile.in and add a new line on top of each file to say so.
15362 # Grep'ing the whole file is not good either: AIX grep has a line
15363 # limit of 2048, but all sed's we know have understand at least 4000.
15364 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15365 dirpart=`$as_dirname -- "$mf" ||
15366 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15367 X"$mf" : 'X\(//\)[^/]' \| \
15368 X"$mf" : 'X\(//\)$' \| \
15369 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15375 /^X\(\/\/\)[^/].*/{
15391 # Extract the definition of DEPDIR, am__include, and am__quote
15392 # from the Makefile without running 'make'.
15393 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15394 test -z "$DEPDIR" && continue
15395 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15396 test -z "$am__include" && continue
15397 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15398 # Find all dependency output files, they are included files with
15399 # $(DEPDIR) in their names. We invoke sed twice because it is the
15400 # simplest approach to changing $(DEPDIR) to its actual value in the
15402 for file in `sed -n "
15403 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15404 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15405 # Make sure the directory exists.
15406 test -f "$dirpart/$file" && continue
15407 fdir=`$as_dirname -- "$file" ||
15408 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15409 X"$file" : 'X\(//\)[^/]' \| \
15410 X"$file" : 'X\(//\)$' \| \
15411 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15412 $as_echo X"$file" |
15413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15417 /^X\(\/\/\)[^/].*/{
15430 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15431 # echo "creating $dirpart/$file"
15432 echo '# dummy' > "$dirpart/$file"
15439 # See if we are running on zsh, and set the options which allow our
15440 # commands through without removal of \ escapes.
15441 if test -n "${ZSH_VERSION+set}" ; then
15442 setopt NO_GLOB_SUBST
15445 cfgfile="${ofile}T"
15446 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15449 cat <<_LT_EOF >> "$cfgfile"
15452 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15453 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15454 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15455 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15457 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15458 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15460 # Written by Gordon Matzigkeit, 1996
15462 # This file is part of GNU Libtool.
15464 # GNU Libtool is free software; you can redistribute it and/or
15465 # modify it under the terms of the GNU General Public License as
15466 # published by the Free Software Foundation; either version 2 of
15467 # the License, or (at your option) any later version.
15469 # As a special exception to the GNU General Public License,
15470 # if you distribute this file as part of a program or library that
15471 # is built using GNU Libtool, you may include this file under the
15472 # same distribution terms that you use for the rest of that program.
15474 # GNU Libtool is distributed in the hope that it will be useful,
15475 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15476 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15477 # GNU General Public License for more details.
15479 # You should have received a copy of the GNU General Public License
15480 # along with GNU Libtool; see the file COPYING. If not, a copy
15481 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15482 # obtained by writing to the Free Software Foundation, Inc.,
15483 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15486 # The names of the tagged configurations supported by this script.
15489 # ### BEGIN LIBTOOL CONFIG
15491 # Which release of libtool.m4 was used?
15492 macro_version=$macro_version
15493 macro_revision=$macro_revision
15495 # Whether or not to build static libraries.
15496 build_old_libs=$enable_static
15498 # Whether or not to build shared libraries.
15499 build_libtool_libs=$enable_shared
15501 # What type of objects to build.
15504 # Whether or not to optimize for fast installation.
15505 fast_install=$enable_fast_install
15507 # Shell to use when invoking shell scripts.
15510 # An echo program that protects backslashes.
15513 # The PATH separator for the build system.
15514 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15517 host_alias=$host_alias
15521 # The build system.
15522 build_alias=$build_alias
15526 # A sed program that does not truncate output.
15529 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15530 Xsed="\$SED -e 1s/^X//"
15532 # A grep program that handles long lines.
15538 # A literal string matcher.
15541 # A BSD- or MS-compatible name lister.
15544 # Whether we need soft or hard links.
15547 # What is the maximum length of a command?
15548 max_cmd_len=$max_cmd_len
15550 # Object file suffix (normally "o").
15553 # Executable file suffix (normally "").
15556 # whether the shell understands "unset".
15559 # turn spaces into newlines.
15562 # turn newlines into spaces.
15565 # convert \$build file names to \$host format.
15566 to_host_file_cmd=$lt_cv_to_host_file_cmd
15568 # convert \$build files to toolchain format.
15569 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15571 # An object symbol dumper.
15572 OBJDUMP=$lt_OBJDUMP
15574 # Method to check whether dependent libraries are shared objects.
15575 deplibs_check_method=$lt_deplibs_check_method
15577 # Command to use when deplibs_check_method = "file_magic".
15578 file_magic_cmd=$lt_file_magic_cmd
15580 # How to find potential files when deplibs_check_method = "file_magic".
15581 file_magic_glob=$lt_file_magic_glob
15583 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15584 want_nocaseglob=$lt_want_nocaseglob
15586 # DLL creation program.
15587 DLLTOOL=$lt_DLLTOOL
15589 # Command to associate shared and link libraries.
15590 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15595 # Flags to create an archive.
15596 AR_FLAGS=$lt_AR_FLAGS
15598 # How to feed a file listing to the archiver.
15599 archiver_list_spec=$lt_archiver_list_spec
15601 # A symbol stripping program.
15604 # Commands used to install an old-style archive.
15606 old_postinstall_cmds=$lt_old_postinstall_cmds
15607 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15609 # Whether to use a lock for old archive extraction.
15610 lock_old_archive_extraction=$lock_old_archive_extraction
15615 # LTCC compiler flags.
15616 LTCFLAGS=$lt_CFLAGS
15618 # Take the output of nm and produce a listing of raw symbols and C names.
15619 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15621 # Transform the output of nm in a proper C declaration.
15622 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15624 # Transform the output of nm in a C name address pair.
15625 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15627 # Transform the output of nm in a C name address pair when lib prefix is needed.
15628 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15630 # Specify filename containing input files for \$NM.
15631 nm_file_list_spec=$lt_nm_file_list_spec
15633 # The root where to search for dependent libraries,and in which our libraries should be installed.
15634 lt_sysroot=$lt_sysroot
15636 # The name of the directory that contains temporary libtool files.
15639 # Used to examine libraries when file_magic_cmd begins with "file".
15640 MAGIC_CMD=$MAGIC_CMD
15642 # Must we lock files when doing compilation?
15643 need_locks=$lt_need_locks
15646 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15648 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15649 DSYMUTIL=$lt_DSYMUTIL
15651 # Tool to change global to local symbols on Mac OS X.
15654 # Tool to manipulate fat objects and archives on Mac OS X.
15657 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15660 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15661 OTOOL64=$lt_OTOOL64
15663 # Old archive suffix (normally "a").
15666 # Shared library suffix (normally ".so").
15667 shrext_cmds=$lt_shrext_cmds
15669 # The commands to extract the exported symbol list from a shared archive.
15670 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15672 # Variables whose values should be saved in libtool wrapper scripts and
15673 # restored at link time.
15674 variables_saved_for_relink=$lt_variables_saved_for_relink
15676 # Do we need the "lib" prefix for modules?
15677 need_lib_prefix=$need_lib_prefix
15679 # Do we need a version for libraries?
15680 need_version=$need_version
15682 # Library versioning type.
15683 version_type=$version_type
15685 # Shared library runtime path variable.
15686 runpath_var=$runpath_var
15688 # Shared library path variable.
15689 shlibpath_var=$shlibpath_var
15691 # Is shlibpath searched before the hard-coded library search path?
15692 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15694 # Format of library name prefix.
15695 libname_spec=$lt_libname_spec
15697 # List of archive names. First name is the real one, the rest are links.
15698 # The last name is the one that the linker finds with -lNAME
15699 library_names_spec=$lt_library_names_spec
15701 # The coded name of the library, if different from the real name.
15702 soname_spec=$lt_soname_spec
15704 # Permission mode override for installation of shared libraries.
15705 install_override_mode=$lt_install_override_mode
15707 # Command to use after installation of a shared archive.
15708 postinstall_cmds=$lt_postinstall_cmds
15710 # Command to use after uninstallation of a shared archive.
15711 postuninstall_cmds=$lt_postuninstall_cmds
15713 # Commands used to finish a libtool library installation in a directory.
15714 finish_cmds=$lt_finish_cmds
15716 # As "finish_cmds", except a single script fragment to be evaled but
15718 finish_eval=$lt_finish_eval
15720 # Whether we should hardcode library paths into libraries.
15721 hardcode_into_libs=$hardcode_into_libs
15723 # Compile-time system search path for libraries.
15724 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15726 # Run-time system search path for libraries.
15727 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15729 # Whether dlopen is supported.
15730 dlopen_support=$enable_dlopen
15732 # Whether dlopen of programs is supported.
15733 dlopen_self=$enable_dlopen_self
15735 # Whether dlopen of statically linked programs is supported.
15736 dlopen_self_static=$enable_dlopen_self_static
15738 # Commands to strip libraries.
15739 old_striplib=$lt_old_striplib
15740 striplib=$lt_striplib
15743 # The linker used to build libraries.
15746 # How to create reloadable object files.
15747 reload_flag=$lt_reload_flag
15748 reload_cmds=$lt_reload_cmds
15750 # Commands used to build an old-style archive.
15751 old_archive_cmds=$lt_old_archive_cmds
15753 # A language specific compiler.
15756 # Is the compiler the GNU compiler?
15759 # Compiler flag to turn off builtin functions.
15760 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15762 # Additional compiler flags for building library objects.
15763 pic_flag=$lt_lt_prog_compiler_pic
15765 # How to pass a linker flag through the compiler.
15766 wl=$lt_lt_prog_compiler_wl
15768 # Compiler flag to prevent dynamic linking.
15769 link_static_flag=$lt_lt_prog_compiler_static
15771 # Does compiler simultaneously support -c and -o options?
15772 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15774 # Whether or not to add -lc for building shared libraries.
15775 build_libtool_need_lc=$archive_cmds_need_lc
15777 # Whether or not to disallow shared libs when runtime libs are static.
15778 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15780 # Compiler flag to allow reflexive dlopens.
15781 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15783 # Compiler flag to generate shared objects directly from archives.
15784 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15786 # Whether the compiler copes with passing no objects directly.
15787 compiler_needs_object=$lt_compiler_needs_object
15789 # Create an old-style archive from a shared archive.
15790 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15792 # Create a temporary old-style archive to link instead of a shared archive.
15793 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15795 # Commands used to build a shared archive.
15796 archive_cmds=$lt_archive_cmds
15797 archive_expsym_cmds=$lt_archive_expsym_cmds
15799 # Commands used to build a loadable module if different from building
15800 # a shared archive.
15801 module_cmds=$lt_module_cmds
15802 module_expsym_cmds=$lt_module_expsym_cmds
15804 # Whether we are building with GNU ld or not.
15805 with_gnu_ld=$lt_with_gnu_ld
15807 # Flag that allows shared libraries with undefined symbols to be built.
15808 allow_undefined_flag=$lt_allow_undefined_flag
15810 # Flag that enforces no undefined symbols.
15811 no_undefined_flag=$lt_no_undefined_flag
15813 # Flag to hardcode \$libdir into a binary during linking.
15814 # This must work even if \$libdir does not exist
15815 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15817 # Whether we need a single "-rpath" flag with a separated argument.
15818 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15820 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15821 # DIR into the resulting binary.
15822 hardcode_direct=$hardcode_direct
15824 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15825 # DIR into the resulting binary and the resulting library dependency is
15826 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15827 # library is relocated.
15828 hardcode_direct_absolute=$hardcode_direct_absolute
15830 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15831 # into the resulting binary.
15832 hardcode_minus_L=$hardcode_minus_L
15834 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15835 # into the resulting binary.
15836 hardcode_shlibpath_var=$hardcode_shlibpath_var
15838 # Set to "yes" if building a shared library automatically hardcodes DIR
15839 # into the library and all subsequent libraries and executables linked
15841 hardcode_automatic=$hardcode_automatic
15843 # Set to yes if linker adds runtime paths of dependent libraries
15844 # to runtime path list.
15845 inherit_rpath=$inherit_rpath
15847 # Whether libtool must link a program against all its dependency libraries.
15848 link_all_deplibs=$link_all_deplibs
15850 # Set to "yes" if exported symbols are required.
15851 always_export_symbols=$always_export_symbols
15853 # The commands to list exported symbols.
15854 export_symbols_cmds=$lt_export_symbols_cmds
15856 # Symbols that should not be listed in the preloaded symbols.
15857 exclude_expsyms=$lt_exclude_expsyms
15859 # Symbols that must always be exported.
15860 include_expsyms=$lt_include_expsyms
15862 # Commands necessary for linking programs (against libraries) with templates.
15863 prelink_cmds=$lt_prelink_cmds
15865 # Commands necessary for finishing linking programs.
15866 postlink_cmds=$lt_postlink_cmds
15868 # Specify filename containing input files.
15869 file_list_spec=$lt_file_list_spec
15871 # How to hardcode a shared library path into an executable.
15872 hardcode_action=$hardcode_action
15874 # ### END LIBTOOL CONFIG
15880 cat <<\_LT_EOF >> "$cfgfile"
15881 # AIX sometimes has problems with the GCC collect2 program. For some
15882 # reason, if we set the COLLECT_NAMES environment variable, the problems
15883 # vanish in a puff of smoke.
15884 if test "X${COLLECT_NAMES+set}" != Xset; then
15886 export COLLECT_NAMES
15893 ltmain="$ac_aux_dir/ltmain.sh"
15896 # We use sed instead of cat because bash on DJGPP gets confused if
15897 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15898 # text mode, it properly converts lines to CR/LF. This bash problem
15899 # is reportedly fixed, but why not run on old versions too?
15900 sed '$q' "$ltmain" >> "$cfgfile" \
15901 || (rm -f "$cfgfile"; exit 1)
15903 if test x"$xsi_shell" = xyes; then
15904 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15908 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15909 \ * ) func_dirname_result="${3}" ;;\
15911 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15912 && mv -f "$cfgfile.tmp" "$cfgfile" \
15913 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15914 test 0 -eq $? || _lt_function_replace_fail=:
15917 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15920 \ func_basename_result="${1##*/}"\
15921 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15922 && mv -f "$cfgfile.tmp" "$cfgfile" \
15923 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15924 test 0 -eq $? || _lt_function_replace_fail=:
15927 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15928 func_dirname_and_basename ()\
15931 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15932 \ * ) func_dirname_result="${3}" ;;\
15934 \ func_basename_result="${1##*/}"\
15935 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15936 && mv -f "$cfgfile.tmp" "$cfgfile" \
15937 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15938 test 0 -eq $? || _lt_function_replace_fail=:
15941 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15944 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15945 \ # positional parameters, so assign one to ordinary parameter first.\
15946 \ func_stripname_result=${3}\
15947 \ func_stripname_result=${func_stripname_result#"${1}"}\
15948 \ func_stripname_result=${func_stripname_result%"${2}"}\
15949 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15950 && mv -f "$cfgfile.tmp" "$cfgfile" \
15951 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15952 test 0 -eq $? || _lt_function_replace_fail=:
15955 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15956 func_split_long_opt ()\
15958 \ func_split_long_opt_name=${1%%=*}\
15959 \ func_split_long_opt_arg=${1#*=}\
15960 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15961 && mv -f "$cfgfile.tmp" "$cfgfile" \
15962 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15963 test 0 -eq $? || _lt_function_replace_fail=:
15966 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15967 func_split_short_opt ()\
15969 \ func_split_short_opt_arg=${1#??}\
15970 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15971 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15972 && mv -f "$cfgfile.tmp" "$cfgfile" \
15973 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15974 test 0 -eq $? || _lt_function_replace_fail=:
15977 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15981 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15982 \ *) func_lo2o_result=${1} ;;\
15984 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15985 && mv -f "$cfgfile.tmp" "$cfgfile" \
15986 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15987 test 0 -eq $? || _lt_function_replace_fail=:
15990 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15993 func_xform_result=${1%.*}.lo\
15994 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15995 && mv -f "$cfgfile.tmp" "$cfgfile" \
15996 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15997 test 0 -eq $? || _lt_function_replace_fail=:
16000 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16003 func_arith_result=$(( $* ))\
16004 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16005 && mv -f "$cfgfile.tmp" "$cfgfile" \
16006 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16007 test 0 -eq $? || _lt_function_replace_fail=:
16010 sed -e '/^func_len ()$/,/^} # func_len /c\
16013 func_len_result=${#1}\
16014 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16015 && mv -f "$cfgfile.tmp" "$cfgfile" \
16016 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16017 test 0 -eq $? || _lt_function_replace_fail=:
16021 if test x"$lt_shell_append" = xyes; then
16022 sed -e '/^func_append ()$/,/^} # func_append /c\
16025 eval "${1}+=\\${2}"\
16026 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16027 && mv -f "$cfgfile.tmp" "$cfgfile" \
16028 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16029 test 0 -eq $? || _lt_function_replace_fail=:
16032 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16033 func_append_quoted ()\
16035 \ func_quote_for_eval "${2}"\
16036 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16037 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16038 && mv -f "$cfgfile.tmp" "$cfgfile" \
16039 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16040 test 0 -eq $? || _lt_function_replace_fail=:
16043 # Save a `func_append' function call where possible by direct use of '+='
16044 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16045 && mv -f "$cfgfile.tmp" "$cfgfile" \
16046 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16047 test 0 -eq $? || _lt_function_replace_fail=:
16049 # Save a `func_append' function call even when '+=' is not available
16050 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16051 && mv -f "$cfgfile.tmp" "$cfgfile" \
16052 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16053 test 0 -eq $? || _lt_function_replace_fail=:
16056 if test x"$_lt_function_replace_fail" = x":"; then
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16058 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16062 mv -f "$cfgfile" "$ofile" ||
16063 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16074 ac_clean_files=$ac_clean_files_save
16076 test $ac_write_fail = 0 ||
16077 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16080 # configure is writing to config.log, and then calls config.status.
16081 # config.status does its own redirection, appending to config.log.
16082 # Unfortunately, on DOS this fails, as config.log is still kept open
16083 # by configure, so config.status won't be able to write to it; its
16084 # output is simply discarded. So we exec the FD to /dev/null,
16085 # effectively closing config.log, so it can be properly (re)opened and
16086 # appended to by config.status. When coming back to configure, we
16087 # need to make the FD available again.
16088 if test "$no_create" != yes; then
16090 ac_config_status_args=
16091 test "$silent" = yes &&
16092 ac_config_status_args="$ac_config_status_args --quiet"
16094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16097 # would make configure fail if this is the last instruction.
16098 $ac_cs_success || as_fn_exit 1
16100 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16102 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16107 echo "Enabled debug features : "$enable_debug
16108 echo "Building tests : "$enable_tests
16109 echo "Enabled Gumd : "$enable_gum $have_libgum
16110 echo "Enabled NFC : "$have_libtlm_nfc
16111 echo "Enabled examples : "$enable_examples