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
658 GTK_DOC_USE_REBASE_FALSE
659 GTK_DOC_USE_REBASE_TRUE
660 GTK_DOC_USE_LIBTOOL_FALSE
661 GTK_DOC_USE_LIBTOOL_TRUE
662 GTK_DOC_BUILD_PDF_FALSE
663 GTK_DOC_BUILD_PDF_TRUE
664 GTK_DOC_BUILD_HTML_FALSE
665 GTK_DOC_BUILD_HTML_TRUE
739 INSTALL_STRIP_PROGRAM
781 program_transform_name
794 enable_option_checking
800 enable_dependency_tracking
814 ac_precious_vars='build_alias
842 # Initialize some variables set by options.
844 ac_init_version=false
845 ac_unrecognized_opts=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name=s,x,x,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir='${exec_prefix}/bin'
871 sbindir='${exec_prefix}/sbin'
872 libexecdir='${exec_prefix}/libexec'
873 datarootdir='${prefix}/share'
874 datadir='${datarootdir}'
875 sysconfdir='${prefix}/etc'
876 sharedstatedir='${prefix}/com'
877 localstatedir='${prefix}/var'
878 includedir='${prefix}/include'
879 oldincludedir='/usr/include'
880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir='${datarootdir}/info'
886 libdir='${exec_prefix}/lib'
887 localedir='${datarootdir}/locale'
888 mandir='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\$ac_option
902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir | --bindir | --bindi | --bind | --bin | --bi)
915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918 -build | --build | --buil | --bui | --bu)
919 ac_prev=build_alias ;;
920 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921 build_alias=$ac_optarg ;;
923 -cache-file | --cache-file | --cache-fil | --cache-fi \
924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925 ac_prev=cache_file ;;
926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928 cache_file=$ac_optarg ;;
931 cache_file=config.cache ;;
933 -datadir | --datadir | --datadi | --datad)
935 -datadir=* | --datadir=* | --datadi=* | --datad=*)
936 datadir=$ac_optarg ;;
938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939 | --dataroo | --dataro | --datar)
940 ac_prev=datarootdir ;;
941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943 datarootdir=$ac_optarg ;;
945 -disable-* | --disable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
959 eval enable_$ac_useropt=no ;;
961 -docdir | --docdir | --docdi | --doc | --do)
963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971 -enable-* | --enable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
985 eval enable_$ac_useropt=\$ac_optarg ;;
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016 htmldir=$ac_optarg ;;
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1030 -libdir | --libdir | --libdi | --libd)
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1121 -psdir | --psdir | --psdi | --psd | --ps)
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 sbindir=$ac_optarg ;;
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 sharedstatedir=$ac_optarg ;;
1147 -site | --site | --sit)
1149 -site=* | --site=* | --sit=*)
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1189 eval with_$ac_useropt=\$ac_optarg ;;
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1205 eval with_$ac_useropt=no ;;
1208 # Obsolete; use --with-x.
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303 test "$silent" = yes && exec 6>/dev/null
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1346 ac_srcdir_defaulted=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures tlm 1.0.3 to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/tlm]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive ) echo "Configuration of tlm 1.0.3:";;
1455 --disable-option-checking ignore unrecognized --enable/--with options
1456 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1457 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1458 --enable-silent-rules less verbose build output (undo: "make V=1")
1459 --disable-silent-rules verbose build output (undo: "make V=0")
1460 --enable-static[=PKGS] build static libraries [default=no]
1461 --enable-shared[=PKGS] build shared libraries [default=yes]
1462 --enable-fast-install[=PKGS]
1463 optimize for fast installation [default=yes]
1464 --enable-dependency-tracking
1465 do not reject slow dependency extractors
1466 --disable-dependency-tracking
1467 speeds up one-time build
1468 --disable-libtool-lock avoid locking (might break parallel builds)
1469 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1470 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1471 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1472 --enable-debug enable debug features
1473 --enable-tests build unit tests
1474 --enable-examples enable examples
1475 --enable-sockets-path=path enable dbus sockets path at location
1476 "path" instead of default "/var/run/tlm"
1477 --enable-gum build for gumd plugin
1480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1482 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1484 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1485 --with-sysroot=DIR Search for dependent libraries within DIR
1486 (or the compiler's sysroot if not specified).
1487 --with-html-dir=PATH path to installed docs
1489 Some influential environment variables:
1490 CC C compiler command
1491 CFLAGS C compiler flags
1492 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1493 nonstandard directory <lib dir>
1494 LIBS libraries to pass to the linker, e.g. -l<library>
1495 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1496 you have headers in a nonstandard directory <include dir>
1498 PKG_CONFIG path to pkg-config utility
1500 directories to add to pkg-config's search path
1502 path overriding pkg-config's built-in search path
1504 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1506 linker flags for GTKDOC_DEPS, overriding pkg-config
1507 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1508 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1509 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1510 GIO_LIBS linker flags for GIO, overriding pkg-config
1512 C compiler flags for GMODULE, overriding pkg-config
1514 linker flags for GMODULE, overriding pkg-config
1516 C compiler flags for CHECK, overriding pkg-config
1517 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1519 C compiler flags for ELEMENTARY, overriding pkg-config
1521 linker flags for ELEMENTARY, overriding pkg-config
1523 C compiler flags for LIBGUM, overriding pkg-config
1524 LIBGUM_LIBS linker flags for LIBGUM, overriding pkg-config
1526 Use these variables to override the choices made by `configure' or to help
1527 it to find libraries and programs with nonstandard names/locations.
1529 Report bugs to the package provider.
1534 if test "$ac_init_help" = "recursive"; then
1535 # If there are subdirs, report their specific --help.
1536 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537 test -d "$ac_dir" ||
1538 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1546 # A ".." for each directory in $ac_dir_suffix.
1547 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548 case $ac_top_builddir_sub in
1549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1553 ac_abs_top_builddir=$ac_pwd
1554 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1555 # for backward compatibility:
1556 ac_top_builddir=$ac_top_build_prefix
1559 .) # We are building in place.
1561 ac_top_srcdir=$ac_top_builddir_sub
1562 ac_abs_top_srcdir=$ac_pwd ;;
1563 [\\/]* | ?:[\\/]* ) # Absolute name.
1564 ac_srcdir=$srcdir$ac_dir_suffix;
1565 ac_top_srcdir=$srcdir
1566 ac_abs_top_srcdir=$srcdir ;;
1568 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1569 ac_top_srcdir=$ac_top_build_prefix$srcdir
1570 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1574 cd "$ac_dir" || { ac_status=$?; continue; }
1575 # Check for guested configure.
1576 if test -f "$ac_srcdir/configure.gnu"; then
1578 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1579 elif test -f "$ac_srcdir/configure"; then
1581 $SHELL "$ac_srcdir/configure" --help=recursive
1583 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1585 cd "$ac_pwd" || { ac_status=$?; break; }
1589 test -n "$ac_init_help" && exit $ac_status
1590 if $ac_init_version; then
1593 generated by GNU Autoconf 2.69
1595 Copyright (C) 2012 Free Software Foundation, Inc.
1596 This configure script is free software; the Free Software Foundation
1597 gives unlimited permission to copy, distribute and modify it.
1602 ## ------------------------ ##
1603 ## Autoconf initialization. ##
1604 ## ------------------------ ##
1606 # ac_fn_c_try_compile LINENO
1607 # --------------------------
1608 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1609 ac_fn_c_try_compile ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 rm -f conftest.$ac_objext
1613 if { { ac_try="$ac_compile"
1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616 *) ac_try_echo=$ac_try;;
1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_compile") 2>conftest.err
1622 if test -s conftest.err; then
1623 grep -v '^ *+' conftest.err >conftest.er1
1624 cat conftest.er1 >&5
1625 mv -f conftest.er1 conftest.err
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } && {
1629 test -z "$ac_c_werror_flag" ||
1630 test ! -s conftest.err
1631 } && test -s conftest.$ac_objext; then :
1634 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.$ac_ext >&5
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status $ac_retval
1642 } # ac_fn_c_try_compile
1644 # ac_fn_c_try_link LINENO
1645 # -----------------------
1646 # Try to link conftest.$ac_ext, and return whether this succeeded.
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 rm -f conftest.$ac_objext conftest$ac_exeext
1651 if { { ac_try="$ac_link"
1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_link") 2>conftest.err
1660 if test -s conftest.err; then
1661 grep -v '^ *+' conftest.err >conftest.er1
1662 cat conftest.er1 >&5
1663 mv -f conftest.er1 conftest.err
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } && {
1667 test -z "$ac_c_werror_flag" ||
1668 test ! -s conftest.err
1669 } && test -s conftest$ac_exeext && {
1670 test "$cross_compiling" = yes ||
1671 test -x conftest$ac_exeext
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1680 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1681 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1682 # interfere with the next link command; also delete a directory that is
1683 # left behind by Apple's compiler. We do this before executing the actions.
1684 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1688 } # ac_fn_c_try_link
1690 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1691 # -------------------------------------------------------
1692 # Tests whether HEADER exists and can be compiled using the include files in
1693 # INCLUDES, setting the cache variable VAR accordingly.
1694 ac_fn_c_check_header_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \${$3+:} false; then :
1700 $as_echo_n "(cached) " >&6
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1707 if ac_fn_c_try_compile "$LINENO"; then :
1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716 $as_echo "$ac_res" >&6; }
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 } # ac_fn_c_check_header_compile
1721 # ac_fn_c_try_cpp LINENO
1722 # ----------------------
1723 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 if { { ac_try="$ac_cpp conftest.$ac_ext"
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } > conftest.i && {
1743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1758 # ac_fn_c_try_run LINENO
1759 # ----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1761 # that executables *can* be run.
1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765 if { { ac_try="$ac_link"
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_link") 2>&5
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1776 { { case "(($ac_try" in
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_try") 2>&5
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; }; }; then :
1788 $as_echo "$as_me: program exited with status $ac_status" >&5
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.$ac_ext >&5
1792 ac_retval=$ac_status
1794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1800 # ac_fn_c_check_func LINENO FUNC VAR
1801 # ----------------------------------
1802 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1803 ac_fn_c_check_func ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1813 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1815 #define $2 innocuous_$2
1817 /* System header to define __stub macros and hopefully few prototypes,
1818 which can conflict with char $2 (); below.
1819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1820 <limits.h> exists even on freestanding compilers. */
1823 # include <limits.h>
1825 # include <assert.h>
1830 /* Override any GCC internal prototype to avoid an error.
1831 Use char because int might match the return type of a GCC
1832 builtin and then its argument prototype would still apply. */
1837 /* The GNU C library defines this for functions which it implements
1838 to always fail with ENOSYS. Some functions are actually named
1839 something starting with __ and the normal name is an alias. */
1840 #if defined __stub_$2 || defined __stub___$2
1852 if ac_fn_c_try_link "$LINENO"; then :
1857 rm -f core conftest.err conftest.$ac_objext \
1858 conftest$ac_exeext conftest.$ac_ext
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 } # ac_fn_c_check_func
1867 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1868 # -------------------------------------------------------
1869 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1870 # the include files in INCLUDES and setting the cache variable VAR
1872 ac_fn_c_check_header_mongrel ()
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 if eval \${$3+:} false; then :
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877 $as_echo_n "checking for $2... " >&6; }
1878 if eval \${$3+:} false; then :
1879 $as_echo_n "(cached) " >&6
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1885 # Is the header compilable?
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1887 $as_echo_n "checking $2 usability... " >&6; }
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1893 if ac_fn_c_try_compile "$LINENO"; then :
1894 ac_header_compiler=yes
1896 ac_header_compiler=no
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1900 $as_echo "$ac_header_compiler" >&6; }
1902 # Is the header present?
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1904 $as_echo_n "checking $2 presence... " >&6; }
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1909 if ac_fn_c_try_cpp "$LINENO"; then :
1910 ac_header_preproc=yes
1912 ac_header_preproc=no
1914 rm -f conftest.err conftest.i conftest.$ac_ext
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1916 $as_echo "$ac_header_preproc" >&6; }
1918 # So? What about this header?
1919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1922 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1924 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1928 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1930 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1932 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1934 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \${$3+:} false; then :
1942 $as_echo_n "(cached) " >&6
1944 eval "$3=\$ac_header_compiler"
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_header_mongrel
1953 cat >config.log <<_ACEOF
1954 This file contains any messages produced by compilers while
1955 running configure, to aid debugging if configure makes a mistake.
1957 It was created by tlm $as_me 1.0.3, which was
1958 generated by GNU Autoconf 2.69. Invocation command line was
1970 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1971 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1972 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1973 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1974 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1976 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1977 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1979 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1980 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1981 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1982 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1983 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1984 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1985 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir=.
1994 $as_echo "PATH: $as_dir"
2010 # Keep a trace of the command line.
2011 # Strip out --no-create and --no-recursion so they do not pile up.
2012 # Strip out --silent because we don't want to record it for future runs.
2013 # Also quote any args containing shell meta-characters.
2014 # Make two passes to allow for proper duplicate-argument suppression.
2018 ac_must_keep_next=false
2024 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2026 | -silent | --silent | --silen | --sile | --sil)
2029 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2032 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2034 as_fn_append ac_configure_args1 " '$ac_arg'"
2035 if test $ac_must_keep_next = true; then
2036 ac_must_keep_next=false # Got value, back to normal.
2039 *=* | --config-cache | -C | -disable-* | --disable-* \
2040 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2041 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2042 | -with-* | --with-* | -without-* | --without-* | --x)
2043 case "$ac_configure_args0 " in
2044 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2047 -* ) ac_must_keep_next=true ;;
2050 as_fn_append ac_configure_args " '$ac_arg'"
2055 { ac_configure_args0=; unset ac_configure_args0;}
2056 { ac_configure_args1=; unset ac_configure_args1;}
2058 # When interrupted or exit'd, cleanup temporary files, and complete
2059 # config.log. We remove comments because anyway the quotes in there
2060 # would cause problems or look ugly.
2061 # WARNING: Use '\'' to represent an apostrophe within the trap.
2062 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2063 trap 'exit_status=$?
2064 # Save into config.log some information that might help in debugging.
2068 $as_echo "## ---------------- ##
2069 ## Cache variables. ##
2070 ## ---------------- ##"
2072 # The following way of writing the cache mishandles newlines in values,
2074 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2075 eval ac_val=\$$ac_var
2079 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2080 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2083 _ | IFS | as_nl) ;; #(
2084 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2085 *) { eval $ac_var=; unset $ac_var;} ;;
2090 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2091 *${as_nl}ac_space=\ *)
2093 "s/'\''/'\''\\\\'\'''\''/g;
2094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2104 $as_echo "## ----------------- ##
2105 ## Output variables. ##
2106 ## ----------------- ##"
2108 for ac_var in $ac_subst_vars
2110 eval ac_val=\$$ac_var
2112 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2114 $as_echo "$ac_var='\''$ac_val'\''"
2118 if test -n "$ac_subst_files"; then
2119 $as_echo "## ------------------- ##
2120 ## File substitutions. ##
2121 ## ------------------- ##"
2123 for ac_var in $ac_subst_files
2125 eval ac_val=\$$ac_var
2127 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2129 $as_echo "$ac_var='\''$ac_val'\''"
2134 if test -s confdefs.h; then
2135 $as_echo "## ----------- ##
2142 test "$ac_signal" != 0 &&
2143 $as_echo "$as_me: caught signal $ac_signal"
2144 $as_echo "$as_me: exit $exit_status"
2146 rm -f core *.core core.conftest.* &&
2147 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2150 for ac_signal in 1 2 13 15; do
2151 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2155 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2156 rm -f -r conftest* confdefs.h
2158 $as_echo "/* confdefs.h */" > confdefs.h
2160 # Predefined preprocessor variables.
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_NAME "$PACKAGE_NAME"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_STRING "$PACKAGE_STRING"
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_URL "$PACKAGE_URL"
2187 # Let the site file select an alternate cache file if it wants to.
2188 # Prefer an explicitly selected file to automatically selected ones.
2191 if test -n "$CONFIG_SITE"; then
2192 # We do not want a PATH search for config.site.
2193 case $CONFIG_SITE in #((
2194 -*) ac_site_file1=./$CONFIG_SITE;;
2195 */*) ac_site_file1=$CONFIG_SITE;;
2196 *) ac_site_file1=./$CONFIG_SITE;;
2198 elif test "x$prefix" != xNONE; then
2199 ac_site_file1=$prefix/share/config.site
2200 ac_site_file2=$prefix/etc/config.site
2202 ac_site_file1=$ac_default_prefix/share/config.site
2203 ac_site_file2=$ac_default_prefix/etc/config.site
2205 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2207 test "x$ac_site_file" = xNONE && continue
2208 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2210 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2211 sed 's/^/| /' "$ac_site_file" >&5
2213 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 as_fn_error $? "failed to load site script $ac_site_file
2216 See \`config.log' for more details" "$LINENO" 5; }
2220 if test -r "$cache_file"; then
2221 # Some versions of bash will fail to source /dev/null (special files
2222 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2223 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2225 $as_echo "$as_me: loading cache $cache_file" >&6;}
2227 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2228 *) . "./$cache_file";;
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2233 $as_echo "$as_me: creating cache $cache_file" >&6;}
2237 # Check that the precious variables saved in the cache have kept the same
2239 ac_cache_corrupted=false
2240 for ac_var in $ac_precious_vars; do
2241 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2242 eval ac_new_set=\$ac_env_${ac_var}_set
2243 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2244 eval ac_new_val=\$ac_env_${ac_var}_value
2245 case $ac_old_set,$ac_new_set in
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2248 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2249 ac_cache_corrupted=: ;;
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2252 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2253 ac_cache_corrupted=: ;;
2256 if test "x$ac_old_val" != "x$ac_new_val"; then
2257 # differences in whitespace do not lead to failure.
2258 ac_old_val_w=`echo x $ac_old_val`
2259 ac_new_val_w=`echo x $ac_new_val`
2260 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2262 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2263 ac_cache_corrupted=:
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2266 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2267 eval $ac_var=\$ac_old_val
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2270 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2272 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2275 # Pass precious variables to config.status.
2276 if test "$ac_new_set" = set; then
2278 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2279 *) ac_arg=$ac_var=$ac_new_val ;;
2281 case " $ac_configure_args " in
2282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2283 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2287 if $ac_cache_corrupted; then
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2291 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2292 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2294 ## -------------------- ##
2295 ## Main body of script. ##
2296 ## -------------------- ##
2299 ac_cpp='$CPP $CPPFLAGS'
2300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2306 ac_config_headers="$ac_config_headers config.h"
2310 am__api_version='1.14'
2313 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2314 if test -f "$ac_dir/install-sh"; then
2316 ac_install_sh="$ac_aux_dir/install-sh -c"
2318 elif test -f "$ac_dir/install.sh"; then
2320 ac_install_sh="$ac_aux_dir/install.sh -c"
2322 elif test -f "$ac_dir/shtool"; then
2324 ac_install_sh="$ac_aux_dir/shtool install -c"
2328 if test -z "$ac_aux_dir"; then
2329 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2332 # These three variables are undocumented and unsupported,
2333 # and are intended to be withdrawn in a future Autoconf release.
2334 # They can cause serious problems if a builder's source tree is in a directory
2335 # whose full name contains unusual characters.
2336 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2337 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2338 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2341 # Find a good install program. We prefer a C program (faster),
2342 # so one script is as good as another. But avoid the broken or
2343 # incompatible versions:
2344 # SysV /etc/install, /usr/sbin/install
2345 # SunOS /usr/etc/install
2346 # IRIX /sbin/install
2348 # AmigaOS /C/install, which installs bootblocks on floppy discs
2349 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2350 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2351 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2352 # OS/2's system install, which has a completely different semantic
2353 # ./install, which can be erroneously created by make from ./install.sh.
2354 # Reject install programs that cannot install multiple files.
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2356 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2357 if test -z "$INSTALL"; then
2358 if ${ac_cv_path_install+:} false; then :
2359 $as_echo_n "(cached) " >&6
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 # Account for people who put trailing slashes in PATH elements.
2367 case $as_dir/ in #((
2368 ./ | .// | /[cC]/* | \
2369 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2370 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2373 # OSF1 and SCO ODT 3.0 have their own names for install.
2374 # Don't use installbsd from OSF since it installs stuff as root
2376 for ac_prog in ginstall scoinst install; do
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2379 if test $ac_prog = install &&
2380 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2381 # AIX install. It has an incompatible calling convention.
2383 elif test $ac_prog = install &&
2384 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2385 # program-specific install script used by HP pwplus--don't use.
2388 rm -rf conftest.one conftest.two conftest.dir
2389 echo one > conftest.one
2390 echo two > conftest.two
2392 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2393 test -s conftest.one && test -s conftest.two &&
2394 test -s conftest.dir/conftest.one &&
2395 test -s conftest.dir/conftest.two
2397 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2410 rm -rf conftest.one conftest.two conftest.dir
2413 if test "${ac_cv_path_install+set}" = set; then
2414 INSTALL=$ac_cv_path_install
2416 # As a last resort, use the slow shell script. Don't cache a
2417 # value for INSTALL within a source directory, because that will
2418 # break other packages using the cache if that directory is
2419 # removed, or if the value is a relative name.
2420 INSTALL=$ac_install_sh
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2424 $as_echo "$INSTALL" >&6; }
2426 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2427 # It thinks the first close brace ends the variable substitution.
2428 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2430 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2432 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2435 $as_echo_n "checking whether build environment is sane... " >&6; }
2436 # Reject unsafe characters in $srcdir or the absolute working directory
2437 # name. Accept space and tab only in the latter.
2441 *[\\\"\#\$\&\'\`$am_lf]*)
2442 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2445 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2446 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2449 # Do 'set' in a subshell so we don't clobber the current shell's
2450 # arguments. Must try -L first in case configure is actually a
2451 # symlink; some systems play weird games with the mod time of symlinks
2452 # (eg FreeBSD returns the mod time of the symlink's containing
2456 for am_try in 1 2; do
2457 echo "timestamp, slept: $am_has_slept" > conftest.file
2458 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2459 if test "$*" = "X"; then
2461 set X `ls -t "$srcdir/configure" conftest.file`
2463 if test "$*" != "X $srcdir/configure conftest.file" \
2464 && test "$*" != "X conftest.file $srcdir/configure"; then
2466 # If neither matched, then we have a broken ls. This can happen
2467 # if, for instance, CONFIG_SHELL is bash and it inherits a
2468 # broken ls alias from the environment. This has actually
2469 # happened. Such a system could not be considered "sane".
2470 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2471 alias in your environment" "$LINENO" 5
2473 if test "$2" = conftest.file || test $am_try -eq 2; then
2480 test "$2" = conftest.file
2486 as_fn_error $? "newly created file is older than distributed files!
2487 Check your system clock" "$LINENO" 5
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2490 $as_echo "yes" >&6; }
2491 # If we didn't sleep, we still need to ensure time stamps of config.status and
2492 # generated files are strictly newer.
2494 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2501 test "$program_prefix" != NONE &&
2502 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2503 # Use a double $ so make ignores it.
2504 test "$program_suffix" != NONE &&
2505 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2506 # Double any \ or $.
2507 # By default was `s,x,x', remove it if useless.
2508 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2509 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2511 # expand $ac_aux_dir to an absolute path
2512 am_aux_dir=`cd $ac_aux_dir && pwd`
2514 if test x"${MISSING+set}" != xset; then
2517 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2519 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2522 # Use eval to expand $SHELL
2523 if eval "$MISSING --is-lightweight"; then
2524 am_missing_run="$MISSING "
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2528 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2531 if test x"${install_sh}" != xset; then
2534 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2536 install_sh="\${SHELL} $am_aux_dir/install-sh"
2540 # Installed binaries are usually stripped using 'strip' when the user
2541 # run "make install-strip". However 'strip' might not be the right
2542 # tool to use in cross-compilation environments, therefore Automake
2543 # will honor the 'STRIP' environment variable to overrule this program.
2544 if test "$cross_compiling" != no; then
2545 if test -n "$ac_tool_prefix"; then
2546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2547 set dummy ${ac_tool_prefix}strip; ac_word=$2
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if ${ac_cv_prog_STRIP+:} false; then :
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$STRIP"; then
2554 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2573 STRIP=$ac_cv_prog_STRIP
2574 if test -n "$STRIP"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2576 $as_echo "$STRIP" >&6; }
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2584 if test -z "$ac_cv_prog_STRIP"; then
2586 # Extract the first word of "strip", so it can be a program name with args.
2587 set dummy strip; ac_word=$2
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2591 $as_echo_n "(cached) " >&6
2593 if test -n "$ac_ct_STRIP"; then
2594 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir=.
2601 for ac_exec_ext in '' $ac_executable_extensions; do
2602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2603 ac_cv_prog_ac_ct_STRIP="strip"
2604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2614 if test -n "$ac_ct_STRIP"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2616 $as_echo "$ac_ct_STRIP" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619 $as_echo "no" >&6; }
2622 if test "x$ac_ct_STRIP" = x; then
2625 case $cross_compiling:$ac_tool_warned in
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2629 ac_tool_warned=yes ;;
2634 STRIP="$ac_cv_prog_STRIP"
2638 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2641 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2642 if test -z "$MKDIR_P"; then
2643 if ${ac_cv_path_mkdir+:} false; then :
2644 $as_echo_n "(cached) " >&6
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2650 test -z "$as_dir" && as_dir=.
2651 for ac_prog in mkdir gmkdir; do
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2654 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2655 'mkdir (GNU coreutils) '* | \
2656 'mkdir (coreutils) '* | \
2657 'mkdir (fileutils) '4.1*)
2658 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2668 test -d ./--version && rmdir ./--version
2669 if test "${ac_cv_path_mkdir+set}" = set; then
2670 MKDIR_P="$ac_cv_path_mkdir -p"
2672 # As a last resort, use the slow shell script. Don't cache a
2673 # value for MKDIR_P within a source directory, because that will
2674 # break other packages using the cache if that directory is
2675 # removed, or if the value is a relative name.
2676 MKDIR_P="$ac_install_sh -d"
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2680 $as_echo "$MKDIR_P" >&6; }
2682 for ac_prog in gawk mawk nawk awk
2684 # Extract the first word of "$ac_prog", so it can be a program name with args.
2685 set dummy $ac_prog; ac_word=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_AWK+:} false; then :
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$AWK"; then
2692 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 for ac_exec_ext in '' $ac_executable_extensions; do
2700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2701 ac_cv_prog_AWK="$ac_prog"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 if test -n "$AWK"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2714 $as_echo "$AWK" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2721 test -n "$AWK" && break
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2725 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2727 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2728 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2729 $as_echo_n "(cached) " >&6
2731 cat >conftest.make <<\_ACEOF
2734 @echo '@@@%%%=$(MAKE)=@@@%%%'
2736 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2737 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2739 eval ac_cv_prog_make_${ac_make}_set=yes;;
2741 eval ac_cv_prog_make_${ac_make}_set=no;;
2745 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2747 $as_echo "yes" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2752 SET_MAKE="MAKE=${MAKE-make}"
2755 rm -rf .tst 2>/dev/null
2756 mkdir .tst 2>/dev/null
2757 if test -d .tst; then
2762 rmdir .tst 2>/dev/null
2764 # Check whether --enable-silent-rules was given.
2765 if test "${enable_silent_rules+set}" = set; then :
2766 enableval=$enable_silent_rules;
2769 case $enable_silent_rules in # (((
2770 yes) AM_DEFAULT_VERBOSITY=0;;
2771 no) AM_DEFAULT_VERBOSITY=1;;
2772 *) AM_DEFAULT_VERBOSITY=1;;
2774 am_make=${MAKE-make}
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2776 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2777 if ${am_cv_make_support_nested_variables+:} false; then :
2778 $as_echo_n "(cached) " >&6
2780 if $as_echo 'TRUE=$(BAR$(V))
2786 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2787 am_cv_make_support_nested_variables=yes
2789 am_cv_make_support_nested_variables=no
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2793 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2794 if test $am_cv_make_support_nested_variables = yes; then
2796 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2798 AM_V=$AM_DEFAULT_VERBOSITY
2799 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2803 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2804 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2805 # is not polluted with repeated "-I."
2806 am__isrc=' -I$(srcdir)'
2807 # test to see if srcdir already configured
2808 if test -f $srcdir/config.status; then
2809 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2813 # test whether we have cygpath
2814 if test -z "$CYGPATH_W"; then
2815 if (cygpath --version) >/dev/null 2>/dev/null; then
2816 CYGPATH_W='cygpath -w'
2823 # Define the identity of the package.
2828 cat >>confdefs.h <<_ACEOF
2829 #define PACKAGE "$PACKAGE"
2833 cat >>confdefs.h <<_ACEOF
2834 #define VERSION "$VERSION"
2837 # Some tools Automake needs.
2839 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2842 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2845 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2848 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2851 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2853 # For better backward compatibility. To be removed once Automake 1.9.x
2854 # dies out for good. For more background, see:
2855 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2856 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2857 mkdir_p='$(MKDIR_P)'
2859 # We need awk for the "check" target. The system "awk" is bad on
2861 # Always define AMTAR for backward compatibility. Yes, it's still used
2862 # in the wild :-( We should find a proper way to deprecate it ...
2866 # We'll loop over all known methods to create a tar archive until one works.
2867 _am_tools='gnutar pax cpio none'
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2872 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2874 # Go ahead even if we have the value already cached. We do so because we
2875 # need to set the values for the 'am__tar' and 'am__untar' variables.
2876 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2878 for _am_tool in $_am_tools; do
2881 for _am_tar in tar gnutar gtar; do
2882 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2883 ($_am_tar --version) >&5 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } && break
2888 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2889 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2890 am__untar="$_am_tar -xf -"
2893 # Must skip GNU tar: if it does not support --format= it doesn't create
2894 # ustar tarball either.
2895 (tar --version) >/dev/null 2>&1 && continue
2896 am__tar='tar chf - "$$tardir"'
2897 am__tar_='tar chf - "$tardir"'
2898 am__untar='tar xf -'
2901 am__tar='pax -L -x pax -w "$$tardir"'
2902 am__tar_='pax -L -x pax -w "$tardir"'
2906 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2907 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2908 am__untar='cpio -i -H pax -d'
2917 # If the value was cached, stop now. We just wanted to have am__tar
2918 # and am__untar set.
2919 test -n "${am_cv_prog_tar_pax}" && break
2921 # tar/untar a dummy directory, and stop if the command works.
2924 echo GrepMe > conftest.dir/file
2925 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2926 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }
2931 if test -s conftest.tar; then
2932 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2933 ($am__untar <conftest.tar) >&5 2>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }
2937 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2938 (cat conftest.dir/file) >&5 2>&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }
2942 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2947 if ${am_cv_prog_tar_pax+:} false; then :
2948 $as_echo_n "(cached) " >&6
2950 am_cv_prog_tar_pax=$_am_tool
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2954 $as_echo "$am_cv_prog_tar_pax" >&6; }
2961 # POSIX will say in a future version that running "rm -f" with no argument
2962 # is OK; and we want to be able to make that assumption in our Makefile
2963 # recipes. So use an aggressive probe to check that the usage we want is
2964 # actually supported "in the wild" to an acceptable degree.
2965 # See automake bug#10828.
2966 # To make any issue more visible, cause the running configure to be aborted
2967 # by default if the 'rm' program in use doesn't match our expectations; the
2968 # user can still override this though.
2969 if rm -f && rm -fr && rm -rf; then : OK; else
2973 Your 'rm' program seems unable to run without file operands specified
2974 on the command line, even when the '-f' option is present. This is contrary
2975 to the behaviour of most rm programs out there, and not conforming with
2976 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2978 Please tell bug-automake@gnu.org about your system, including the value
2979 of your $PATH and any error possibly output before this message. This
2980 can help us improve future automake versions.
2983 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2984 echo 'Configuration will proceed anyway, since you have set the' >&2
2985 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2989 Aborting the configuration process, to ensure you take notice of the issue.
2991 You can download and install GNU coreutils to get an 'rm' implementation
2992 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2994 If you want to complete the configuration process using your problematic
2995 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2996 to "yes", and re-run configure.
2999 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3008 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3013 macro_version='2.4.2'
3014 macro_revision='1.3337'
3028 ltmain="$ac_aux_dir/ltmain.sh"
3030 # Make sure we can run config.sub.
3031 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3032 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3035 $as_echo_n "checking build system type... " >&6; }
3036 if ${ac_cv_build+:} false; then :
3037 $as_echo_n "(cached) " >&6
3039 ac_build_alias=$build_alias
3040 test "x$ac_build_alias" = x &&
3041 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3042 test "x$ac_build_alias" = x &&
3043 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3044 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3045 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3049 $as_echo "$ac_cv_build" >&6; }
3050 case $ac_cv_build in
3052 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3055 ac_save_IFS=$IFS; IFS='-'
3061 # Remember, the first character of IFS is used to create $*,
3062 # except with old shells:
3065 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3069 $as_echo_n "checking host system type... " >&6; }
3070 if ${ac_cv_host+:} false; then :
3071 $as_echo_n "(cached) " >&6
3073 if test "x$host_alias" = x; then
3074 ac_cv_host=$ac_cv_build
3076 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3077 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3082 $as_echo "$ac_cv_host" >&6; }
3085 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3088 ac_save_IFS=$IFS; IFS='-'
3094 # Remember, the first character of IFS is used to create $*,
3095 # except with old shells:
3098 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3101 # Backslashify metacharacters that are still active within
3102 # double-quoted strings.
3103 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3105 # Same as above, but do not quote variable references.
3106 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3108 # Sed substitution to delay expansion of an escaped shell variable in a
3109 # double_quote_subst'ed string.
3110 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3112 # Sed substitution to delay expansion of an escaped single quote.
3113 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3115 # Sed substitution to avoid accidental globbing in evaled expressions
3116 no_glob_subst='s/\*/\\\*/g'
3118 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3119 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3120 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3123 $as_echo_n "checking how to print strings... " >&6; }
3124 # Test print first, because it will be a builtin if present.
3125 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3126 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3128 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3131 # Use this function as a fallback that always works.
3132 func_fallback_echo ()
3134 eval 'cat <<_LTECHO_EOF
3138 ECHO='func_fallback_echo'
3141 # func_echo_all arg...
3142 # Invoke $ECHO with all args, space-separated.
3149 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3150 $as_echo "printf" >&6; } ;;
3151 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3152 $as_echo "print -r" >&6; } ;;
3153 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3154 $as_echo "cat" >&6; } ;;
3170 DEPDIR="${am__leading_dot}deps"
3172 ac_config_commands="$ac_config_commands depfiles"
3175 am_make=${MAKE-make}
3176 cat > confinc << 'END'
3178 @echo this is the am__doit target
3181 # If we don't find an include directive, just comment out the code.
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3183 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3187 # First try GNU make style include.
3188 echo "include confinc" > confmf
3189 # Ignore all kinds of additional output from 'make'.
3190 case `$am_make -s -f confmf 2> /dev/null` in #(
3191 *the\ am__doit\ target*)
3197 # Now try BSD make style include.
3198 if test "$am__include" = "#"; then
3199 echo '.include "confinc"' > confmf
3200 case `$am_make -s -f confmf 2> /dev/null` in #(
3201 *the\ am__doit\ target*)
3202 am__include=.include
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3211 $as_echo "$_am_result" >&6; }
3212 rm -f confinc confmf
3214 # Check whether --enable-dependency-tracking was given.
3215 if test "${enable_dependency_tracking+set}" = set; then :
3216 enableval=$enable_dependency_tracking;
3219 if test "x$enable_dependency_tracking" != xno; then
3220 am_depcomp="$ac_aux_dir/depcomp"
3224 if test "x$enable_dependency_tracking" != xno; then
3234 ac_cpp='$CPP $CPPFLAGS'
3235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3238 if test -n "$ac_tool_prefix"; then
3239 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3240 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242 $as_echo_n "checking for $ac_word... " >&6; }
3243 if ${ac_cv_prog_CC+:} false; then :
3244 $as_echo_n "(cached) " >&6
3246 if test -n "$CC"; then
3247 ac_cv_prog_CC="$CC" # Let the user override the test.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 test -z "$as_dir" && as_dir=.
3254 for ac_exec_ext in '' $ac_executable_extensions; do
3255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3256 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 if test -n "$CC"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3269 $as_echo "$CC" >&6; }
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3277 if test -z "$ac_cv_prog_CC"; then
3279 # Extract the first word of "gcc", so it can be a program name with args.
3280 set dummy gcc; ac_word=$2
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282 $as_echo_n "checking for $ac_word... " >&6; }
3283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3284 $as_echo_n "(cached) " >&6
3286 if test -n "$ac_ct_CC"; then
3287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 test -z "$as_dir" && as_dir=.
3294 for ac_exec_ext in '' $ac_executable_extensions; do
3295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3296 ac_cv_prog_ac_ct_CC="gcc"
3297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3307 if test -n "$ac_ct_CC"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3309 $as_echo "$ac_ct_CC" >&6; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 $as_echo "no" >&6; }
3315 if test "x$ac_ct_CC" = x; then
3318 case $cross_compiling:$ac_tool_warned in
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3322 ac_tool_warned=yes ;;
3330 if test -z "$CC"; then
3331 if test -n "$ac_tool_prefix"; then
3332 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3333 set dummy ${ac_tool_prefix}cc; ac_word=$2
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335 $as_echo_n "checking for $ac_word... " >&6; }
3336 if ${ac_cv_prog_CC+:} false; then :
3337 $as_echo_n "(cached) " >&6
3339 if test -n "$CC"; then
3340 ac_cv_prog_CC="$CC" # Let the user override the test.
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 test -z "$as_dir" && as_dir=.
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349 ac_cv_prog_CC="${ac_tool_prefix}cc"
3350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 if test -n "$CC"; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362 $as_echo "$CC" >&6; }
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3371 if test -z "$CC"; then
3372 # Extract the first word of "cc", so it can be a program name with args.
3373 set dummy cc; ac_word=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375 $as_echo_n "checking for $ac_word... " >&6; }
3376 if ${ac_cv_prog_CC+:} false; then :
3377 $as_echo_n "(cached) " >&6
3379 if test -n "$CC"; then
3380 ac_cv_prog_CC="$CC" # Let the user override the test.
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir=.
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3391 ac_prog_rejected=yes
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 if test $ac_prog_rejected = yes; then
3403 # We found a bogon in the path, so make sure we never use it.
3404 set dummy $ac_cv_prog_CC
3406 if test $# != 0; then
3407 # We chose a different compiler from the bogus one.
3408 # However, it has the same basename, so the bogon will be chosen
3409 # first if we set CC to just the basename; use the full file name.
3411 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3417 if test -n "$CC"; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3419 $as_echo "$CC" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3427 if test -z "$CC"; then
3428 if test -n "$ac_tool_prefix"; then
3429 for ac_prog in cl.exe
3431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434 $as_echo_n "checking for $ac_word... " >&6; }
3435 if ${ac_cv_prog_CC+:} false; then :
3436 $as_echo_n "(cached) " >&6
3438 if test -n "$CC"; then
3439 ac_cv_prog_CC="$CC" # Let the user override the test.
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3459 if test -n "$CC"; then
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3461 $as_echo "$CC" >&6; }
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3468 test -n "$CC" && break
3471 if test -z "$CC"; then
3473 for ac_prog in cl.exe
3475 # Extract the first word of "$ac_prog", so it can be a program name with args.
3476 set dummy $ac_prog; ac_word=$2
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3480 $as_echo_n "(cached) " >&6
3482 if test -n "$ac_ct_CC"; then
3483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 test -z "$as_dir" && as_dir=.
3490 for ac_exec_ext in '' $ac_executable_extensions; do
3491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492 ac_cv_prog_ac_ct_CC="$ac_prog"
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3503 if test -n "$ac_ct_CC"; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3505 $as_echo "$ac_ct_CC" >&6; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3512 test -n "$ac_ct_CC" && break
3515 if test "x$ac_ct_CC" = x; then
3518 case $cross_compiling:$ac_tool_warned in
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3522 ac_tool_warned=yes ;;
3531 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533 as_fn_error $? "no acceptable C compiler found in \$PATH
3534 See \`config.log' for more details" "$LINENO" 5; }
3536 # Provide some information about the compiler.
3537 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3540 for ac_option in --version -v -V -qversion; do
3541 { { ac_try="$ac_compiler $ac_option >&5"
3543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544 *) ac_try_echo=$ac_try;;
3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547 $as_echo "$ac_try_echo"; } >&5
3548 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3550 if test -s conftest.err; then
3552 ... rest of stderr output deleted ...
3553 10q' conftest.err >conftest.er1
3554 cat conftest.er1 >&5
3556 rm -f conftest.er1 conftest.err
3557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3558 test $ac_status = 0; }
3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h. */
3572 ac_clean_files_save=$ac_clean_files
3573 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3574 # Try to create an executable without -o first, disregard a.out.
3575 # It will help us diagnose broken compilers, and finding out an intuition
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3578 $as_echo_n "checking whether the C compiler works... " >&6; }
3579 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3581 # The possible output files:
3582 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3585 for ac_file in $ac_files
3588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3589 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3594 if { { ac_try="$ac_link_default"
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3600 $as_echo "$ac_try_echo"; } >&5
3601 (eval "$ac_link_default") 2>&5
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }; then :
3605 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3606 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3607 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3608 # so that the user can short-circuit this test for compilers unknown to
3610 for ac_file in $ac_files ''
3612 test -f "$ac_file" || continue
3614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3617 # We found the default executable, but exeext='' is most
3621 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3623 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3625 # We set ac_cv_exeext here because the later test for it is not
3626 # safe: cross compilers may not add the suffix if given an `-o'
3627 # argument, so we may need to know it at that point already.
3628 # Even if this section looks crufty: it has the advantage of
3635 test "$ac_cv_exeext" = no && ac_cv_exeext=
3640 if test -z "$ac_file"; then :
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3643 $as_echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3648 as_fn_error 77 "C compiler cannot create executables
3649 See \`config.log' for more details" "$LINENO" 5; }
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3652 $as_echo "yes" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3655 $as_echo_n "checking for C compiler default output file name... " >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3657 $as_echo "$ac_file" >&6; }
3658 ac_exeext=$ac_cv_exeext
3660 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3661 ac_clean_files=$ac_clean_files_save
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3663 $as_echo_n "checking for suffix of executables... " >&6; }
3664 if { { ac_try="$ac_link"
3666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667 *) ac_try_echo=$ac_try;;
3669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3670 $as_echo "$ac_try_echo"; } >&5
3671 (eval "$ac_link") 2>&5
3673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3674 test $ac_status = 0; }; then :
3675 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3676 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3677 # work properly (i.e., refer to `conftest.exe'), while it won't with
3679 for ac_file in conftest.exe conftest conftest.*; do
3680 test -f "$ac_file" || continue
3682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3683 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3692 See \`config.log' for more details" "$LINENO" 5; }
3694 rm -f conftest conftest$ac_cv_exeext
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3696 $as_echo "$ac_cv_exeext" >&6; }
3698 rm -f conftest.$ac_ext
3699 EXEEXT=$ac_cv_exeext
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3707 FILE *f = fopen ("conftest.out", "w");
3708 return ferror (f) || fclose (f) != 0;
3714 ac_clean_files="$ac_clean_files conftest.out"
3715 # Check that the compiler produces executables we can run. If not, either
3716 # the compiler is broken, or we cross compile.
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3718 $as_echo_n "checking whether we are cross compiling... " >&6; }
3719 if test "$cross_compiling" != yes; then
3720 { { ac_try="$ac_link"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_link") 2>&5
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; }
3731 if { ac_try='./conftest$ac_cv_exeext'
3732 { { case "(($ac_try" in
3733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734 *) ac_try_echo=$ac_try;;
3736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3737 $as_echo "$ac_try_echo"; } >&5
3738 (eval "$ac_try") 2>&5
3740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741 test $ac_status = 0; }; }; then
3744 if test "$cross_compiling" = maybe; then
3747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error $? "cannot run C compiled programs.
3750 If you meant to cross compile, use \`--host'.
3751 See \`config.log' for more details" "$LINENO" 5; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3756 $as_echo "$cross_compiling" >&6; }
3758 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3759 ac_clean_files=$ac_clean_files_save
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3761 $as_echo_n "checking for suffix of object files... " >&6; }
3762 if ${ac_cv_objext+:} false; then :
3763 $as_echo_n "(cached) " >&6
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3776 rm -f conftest.o conftest.obj
3777 if { { ac_try="$ac_compile"
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784 (eval "$ac_compile") 2>&5
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }; then :
3788 for ac_file in conftest.o conftest.obj conftest.*; do
3789 test -f "$ac_file" || continue;
3791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3792 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3797 $as_echo "$as_me: failed program was:" >&5
3798 sed 's/^/| /' conftest.$ac_ext >&5
3800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802 as_fn_error $? "cannot compute suffix of object files: cannot compile
3803 See \`config.log' for more details" "$LINENO" 5; }
3805 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3808 $as_echo "$ac_cv_objext" >&6; }
3809 OBJEXT=$ac_cv_objext
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3812 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3813 if ${ac_cv_c_compiler_gnu+:} false; then :
3814 $as_echo_n "(cached) " >&6
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3830 if ac_fn_c_try_compile "$LINENO"; then :
3835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3840 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3841 if test $ac_compiler_gnu = yes; then
3846 ac_test_CFLAGS=${CFLAGS+set}
3847 ac_save_CFLAGS=$CFLAGS
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3849 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3850 if ${ac_cv_prog_cc_g+:} false; then :
3851 $as_echo_n "(cached) " >&6
3853 ac_save_c_werror_flag=$ac_c_werror_flag
3854 ac_c_werror_flag=yes
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 if ac_fn_c_try_compile "$LINENO"; then :
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3883 if ac_fn_c_try_compile "$LINENO"; then :
3886 ac_c_werror_flag=$ac_save_c_werror_flag
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3899 if ac_fn_c_try_compile "$LINENO"; then :
3902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907 ac_c_werror_flag=$ac_save_c_werror_flag
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3910 $as_echo "$ac_cv_prog_cc_g" >&6; }
3911 if test "$ac_test_CFLAGS" = set; then
3912 CFLAGS=$ac_save_CFLAGS
3913 elif test $ac_cv_prog_cc_g = yes; then
3914 if test "$GCC" = yes; then
3920 if test "$GCC" = yes; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3927 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3928 if ${ac_cv_prog_cc_c89+:} false; then :
3929 $as_echo_n "(cached) " >&6
3931 ac_cv_prog_cc_c89=no
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3939 struct buf { int x; };
3940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3941 static char *e (p, i)
3947 static char *f (char * (*g) (char **, int), char **p, ...)
3952 s = g (p, va_arg (v,int));
3957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3958 function prototypes and stuff, but not '\xHH' hex character constants.
3959 These don't provoke an error unfortunately, instead are silently treated
3960 as 'x'. The following induces an error, until -std is added to get
3961 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3962 array size at least. It's necessary to write '\x00'==0 to get something
3963 that's true only with -std. */
3964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3966 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3967 inside strings and character constants. */
3969 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3971 int test (int i, double x);
3972 struct s1 {int (*f) (int a);};
3973 struct s2 {int (*f) (double a);};
3974 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3980 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3985 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3986 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3988 CC="$ac_save_CC $ac_arg"
3989 if ac_fn_c_try_compile "$LINENO"; then :
3990 ac_cv_prog_cc_c89=$ac_arg
3992 rm -f core conftest.err conftest.$ac_objext
3993 test "x$ac_cv_prog_cc_c89" != "xno" && break
3995 rm -f conftest.$ac_ext
4000 case "x$ac_cv_prog_cc_c89" in
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4003 $as_echo "none needed" >&6; } ;;
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4006 $as_echo "unsupported" >&6; } ;;
4008 CC="$CC $ac_cv_prog_cc_c89"
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4010 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4012 if test "x$ac_cv_prog_cc_c89" != xno; then :
4017 ac_cpp='$CPP $CPPFLAGS'
4018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023 ac_cpp='$CPP $CPPFLAGS'
4024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4028 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4029 if ${am_cv_prog_cc_c_o+:} false; then :
4030 $as_echo_n "(cached) " >&6
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 # Make sure it works both with $CC and with simple cc.
4044 # Following AC_PROG_CC_C_O, we do the test twice because some
4045 # compilers refuse to overwrite an existing .o file with -o,
4046 # though they will create one.
4047 am_cv_prog_cc_c_o=yes
4049 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4050 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); } \
4054 && test -f conftest2.$ac_objext; then
4057 am_cv_prog_cc_c_o=no
4061 rm -f core conftest*
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4065 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4066 if test "$am_cv_prog_cc_c_o" != yes; then
4067 # Losing compiler, so override with the script.
4068 # FIXME: It is wrong to rewrite CC.
4069 # But if we don't then we get into trouble of one sort or another.
4070 # A longer-term fix would be to have automake use am__CC in this case,
4071 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4072 CC="$am_aux_dir/compile $CC"
4075 ac_cpp='$CPP $CPPFLAGS'
4076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4081 depcc="$CC" am_compiler_list=
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4084 $as_echo_n "checking dependency style of $depcc... " >&6; }
4085 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4089 # We make a subdir and do the tests there. Otherwise we can end up
4090 # making bogus files that we don't know about and never remove. For
4091 # instance it was reported that on HP-UX the gcc test will end up
4092 # making a dummy file named 'D' -- because '-MD' means "put the output
4096 # Copy depcomp to subdir because otherwise we won't find it if we're
4097 # using a relative directory.
4098 cp "$am_depcomp" conftest.dir
4100 # We will build objects and dependencies in a subdirectory because
4101 # it helps to detect inapplicable dependency modes. For instance
4102 # both Tru64's cc and ICC support -MD to output dependencies as a
4103 # side effect of compilation, but ICC will put the dependencies in
4104 # the current directory while Tru64 will put them in the object
4108 am_cv_CC_dependencies_compiler_type=none
4109 if test "$am_compiler_list" = ""; then
4110 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4113 case " $depcc " in #(
4114 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4117 for depmode in $am_compiler_list; do
4118 # Setup a source with many dependencies, because some compilers
4119 # like to wrap large dependency lists on column 80 (with \), and
4120 # we should not choose a depcomp mode which is confused by this.
4122 # We need to recreate these files for each test, as the compiler may
4123 # overwrite some of them when testing with obscure command lines.
4124 # This happens at least with the AIX C compiler.
4126 for i in 1 2 3 4 5 6; do
4127 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4128 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4129 # Solaris 10 /bin/sh.
4130 echo '/* dummy */' > sub/conftst$i.h
4132 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4134 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4135 # mode. It turns out that the SunPro C++ compiler does not properly
4136 # handle '-M -o', and we need to detect this. Also, some Intel
4137 # versions had trouble with output in subdirs.
4138 am__obj=sub/conftest.${OBJEXT-o}
4139 am__minus_obj="-o $am__obj"
4142 # This depmode causes a compiler race in universal mode.
4143 test "$am__universal" = false || continue
4146 # After this tag, mechanisms are not by side-effect, so they'll
4147 # only be used when explicitly requested.
4148 if test "x$enable_dependency_tracking" = xyes; then
4154 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4155 # This compiler won't grok '-c -o', but also, the minuso test has
4156 # not run yet. These depmodes are late enough in the game, and
4157 # so weak that their functioning should not be impacted.
4158 am__obj=conftest.${OBJEXT-o}
4163 if depmode=$depmode \
4164 source=sub/conftest.c object=$am__obj \
4165 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4166 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4167 >/dev/null 2>conftest.err &&
4168 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4169 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4170 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4171 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4172 # icc doesn't choke on unknown options, it will just issue warnings
4173 # or remarks (even with -Werror). So we grep stderr for any message
4174 # that says an option was ignored or not supported.
4175 # When given -MP, icc 7.0 and 7.1 complain thusly:
4176 # icc: Command line warning: ignoring option '-M'; no argument required
4177 # The diagnosis changed in icc 8.0:
4178 # icc: Command line remark: option '-MP' not supported
4179 if (grep 'ignoring option' conftest.err ||
4180 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4181 am_cv_CC_dependencies_compiler_type=$depmode
4190 am_cv_CC_dependencies_compiler_type=none
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4195 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4196 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4199 test "x$enable_dependency_tracking" != xno \
4200 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4202 am__fastdepCC_FALSE='#'
4204 am__fastdepCC_TRUE='#'
4205 am__fastdepCC_FALSE=
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4210 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4211 if ${ac_cv_path_SED+:} false; then :
4212 $as_echo_n "(cached) " >&6
4214 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4215 for ac_i in 1 2 3 4 5 6 7; do
4216 ac_script="$ac_script$as_nl$ac_script"
4218 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4219 { ac_script=; unset ac_script;}
4220 if test -z "$SED"; then
4221 ac_path_SED_found=false
4222 # Loop through the user's path and test for each of PROGNAME-LIST
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir=.
4228 for ac_prog in sed gsed; do
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4231 as_fn_executable_p "$ac_path_SED" || continue
4232 # Check for GNU ac_path_SED and select it if it is found.
4233 # Check for GNU $ac_path_SED
4234 case `"$ac_path_SED" --version 2>&1` in
4236 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4239 $as_echo_n 0123456789 >"conftest.in"
4242 cat "conftest.in" "conftest.in" >"conftest.tmp"
4243 mv "conftest.tmp" "conftest.in"
4244 cp "conftest.in" "conftest.nl"
4245 $as_echo '' >> "conftest.nl"
4246 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4247 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4248 as_fn_arith $ac_count + 1 && ac_count=$as_val
4249 if test $ac_count -gt ${ac_path_SED_max-0}; then
4250 # Best one so far, save it but keep looking for a better one
4251 ac_cv_path_SED="$ac_path_SED"
4252 ac_path_SED_max=$ac_count
4254 # 10*(2^10) chars as input seems more than enough
4255 test $ac_count -gt 10 && break
4257 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4260 $ac_path_SED_found && break 3
4265 if test -z "$ac_cv_path_SED"; then
4266 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4274 $as_echo "$ac_cv_path_SED" >&6; }
4275 SED="$ac_cv_path_SED"
4278 test -z "$SED" && SED=sed
4279 Xsed="$SED -e 1s/^X//"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4292 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4293 if ${ac_cv_path_GREP+:} false; then :
4294 $as_echo_n "(cached) " >&6
4296 if test -z "$GREP"; then
4297 ac_path_GREP_found=false
4298 # Loop through the user's path and test for each of PROGNAME-LIST
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4303 test -z "$as_dir" && as_dir=.
4304 for ac_prog in grep ggrep; do
4305 for ac_exec_ext in '' $ac_executable_extensions; do
4306 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4307 as_fn_executable_p "$ac_path_GREP" || continue
4308 # Check for GNU ac_path_GREP and select it if it is found.
4309 # Check for GNU $ac_path_GREP
4310 case `"$ac_path_GREP" --version 2>&1` in
4312 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4315 $as_echo_n 0123456789 >"conftest.in"
4318 cat "conftest.in" "conftest.in" >"conftest.tmp"
4319 mv "conftest.tmp" "conftest.in"
4320 cp "conftest.in" "conftest.nl"
4321 $as_echo 'GREP' >> "conftest.nl"
4322 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4323 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4324 as_fn_arith $ac_count + 1 && ac_count=$as_val
4325 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4326 # Best one so far, save it but keep looking for a better one
4327 ac_cv_path_GREP="$ac_path_GREP"
4328 ac_path_GREP_max=$ac_count
4330 # 10*(2^10) chars as input seems more than enough
4331 test $ac_count -gt 10 && break
4333 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4336 $ac_path_GREP_found && break 3
4341 if test -z "$ac_cv_path_GREP"; then
4342 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4345 ac_cv_path_GREP=$GREP
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4350 $as_echo "$ac_cv_path_GREP" >&6; }
4351 GREP="$ac_cv_path_GREP"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4355 $as_echo_n "checking for egrep... " >&6; }
4356 if ${ac_cv_path_EGREP+:} false; then :
4357 $as_echo_n "(cached) " >&6
4359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4360 then ac_cv_path_EGREP="$GREP -E"
4362 if test -z "$EGREP"; then
4363 ac_path_EGREP_found=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4369 test -z "$as_dir" && as_dir=.
4370 for ac_prog in egrep; do
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4373 as_fn_executable_p "$ac_path_EGREP" || continue
4374 # Check for GNU ac_path_EGREP and select it if it is found.
4375 # Check for GNU $ac_path_EGREP
4376 case `"$ac_path_EGREP" --version 2>&1` in
4378 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4381 $as_echo_n 0123456789 >"conftest.in"
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 $as_echo 'EGREP' >> "conftest.nl"
4388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390 as_fn_arith $ac_count + 1 && ac_count=$as_val
4391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_EGREP="$ac_path_EGREP"
4394 ac_path_EGREP_max=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4402 $ac_path_EGREP_found && break 3
4407 if test -z "$ac_cv_path_EGREP"; then
4408 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4411 ac_cv_path_EGREP=$EGREP
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4417 $as_echo "$ac_cv_path_EGREP" >&6; }
4418 EGREP="$ac_cv_path_EGREP"
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4422 $as_echo_n "checking for fgrep... " >&6; }
4423 if ${ac_cv_path_FGREP+:} false; then :
4424 $as_echo_n "(cached) " >&6
4426 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4427 then ac_cv_path_FGREP="$GREP -F"
4429 if test -z "$FGREP"; then
4430 ac_path_FGREP_found=false
4431 # Loop through the user's path and test for each of PROGNAME-LIST
4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4436 test -z "$as_dir" && as_dir=.
4437 for ac_prog in fgrep; do
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4440 as_fn_executable_p "$ac_path_FGREP" || continue
4441 # Check for GNU ac_path_FGREP and select it if it is found.
4442 # Check for GNU $ac_path_FGREP
4443 case `"$ac_path_FGREP" --version 2>&1` in
4445 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4448 $as_echo_n 0123456789 >"conftest.in"
4451 cat "conftest.in" "conftest.in" >"conftest.tmp"
4452 mv "conftest.tmp" "conftest.in"
4453 cp "conftest.in" "conftest.nl"
4454 $as_echo 'FGREP' >> "conftest.nl"
4455 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4457 as_fn_arith $ac_count + 1 && ac_count=$as_val
4458 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4459 # Best one so far, save it but keep looking for a better one
4460 ac_cv_path_FGREP="$ac_path_FGREP"
4461 ac_path_FGREP_max=$ac_count
4463 # 10*(2^10) chars as input seems more than enough
4464 test $ac_count -gt 10 && break
4466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4469 $ac_path_FGREP_found && break 3
4474 if test -z "$ac_cv_path_FGREP"; then
4475 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4478 ac_cv_path_FGREP=$FGREP
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4484 $as_echo "$ac_cv_path_FGREP" >&6; }
4485 FGREP="$ac_cv_path_FGREP"
4488 test -z "$GREP" && GREP=grep
4508 # Check whether --with-gnu-ld was given.
4509 if test "${with_gnu_ld+set}" = set; then :
4510 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4516 if test "$GCC" = yes; then
4517 # Check if gcc -print-prog-name=ld gives a path.
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4519 $as_echo_n "checking for ld used by $CC... " >&6; }
4522 # gcc leaves a trailing carriage return which upsets mingw
4523 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4525 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4528 # Accept absolute paths.
4530 re_direlt='/[^/][^/]*/\.\./'
4531 # Canonicalize the pathname of ld
4532 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4533 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4534 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4536 test -z "$LD" && LD="$ac_prog"
4539 # If it fails, then pretend we aren't using GCC.
4543 # If it is relative, then search for the first ld in PATH.
4547 elif test "$with_gnu_ld" = yes; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4549 $as_echo_n "checking for GNU ld... " >&6; }
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4552 $as_echo_n "checking for non-GNU ld... " >&6; }
4554 if ${lt_cv_path_LD+:} false; then :
4555 $as_echo_n "(cached) " >&6
4557 if test -z "$LD"; then
4558 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4559 for ac_dir in $PATH; do
4561 test -z "$ac_dir" && ac_dir=.
4562 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4563 lt_cv_path_LD="$ac_dir/$ac_prog"
4564 # Check to see if the program is GNU ld. I'd rather use --version,
4565 # but apparently some variants of GNU ld only accept -v.
4566 # Break only if it was the GNU/non-GNU ld that we prefer.
4567 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4568 *GNU* | *'with BFD'*)
4569 test "$with_gnu_ld" != no && break
4572 test "$with_gnu_ld" != yes && break
4579 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4584 if test -n "$LD"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4586 $as_echo "$LD" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4591 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4593 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4594 if ${lt_cv_prog_gnu_ld+:} false; then :
4595 $as_echo_n "(cached) " >&6
4597 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4598 case `$LD -v 2>&1 </dev/null` in
4599 *GNU* | *'with BFD'*)
4600 lt_cv_prog_gnu_ld=yes
4603 lt_cv_prog_gnu_ld=no
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4608 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4609 with_gnu_ld=$lt_cv_prog_gnu_ld
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4620 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4621 if ${lt_cv_path_NM+:} false; then :
4622 $as_echo_n "(cached) " >&6
4624 if test -n "$NM"; then
4625 # Let the user override the test.
4628 lt_nm_to_check="${ac_tool_prefix}nm"
4629 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4630 lt_nm_to_check="$lt_nm_to_check nm"
4632 for lt_tmp_nm in $lt_nm_to_check; do
4633 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4634 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4636 test -z "$ac_dir" && ac_dir=.
4637 tmp_nm="$ac_dir/$lt_tmp_nm"
4638 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4639 # Check to see if the nm accepts a BSD-compat flag.
4640 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4641 # nm: unknown option "B" ignored
4642 # Tru64's nm complains that /dev/null is an invalid object file
4643 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4644 */dev/null* | *'Invalid file or object type'*)
4645 lt_cv_path_NM="$tmp_nm -B"
4649 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4651 lt_cv_path_NM="$tmp_nm -p"
4655 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4656 continue # so that we can try to find one that supports BSD flags
4665 : ${lt_cv_path_NM=no}
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4669 $as_echo "$lt_cv_path_NM" >&6; }
4670 if test "$lt_cv_path_NM" != "no"; then
4673 # Didn't find any BSD compatible name lister, look for dumpbin.
4674 if test -n "$DUMPBIN"; then :
4675 # Let the user override the test.
4677 if test -n "$ac_tool_prefix"; then
4678 for ac_prog in dumpbin "link -dump"
4680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4684 if ${ac_cv_prog_DUMPBIN+:} false; then :
4685 $as_echo_n "(cached) " >&6
4687 if test -n "$DUMPBIN"; then
4688 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 test -z "$as_dir" && as_dir=.
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4707 DUMPBIN=$ac_cv_prog_DUMPBIN
4708 if test -n "$DUMPBIN"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4710 $as_echo "$DUMPBIN" >&6; }
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4717 test -n "$DUMPBIN" && break
4720 if test -z "$DUMPBIN"; then
4721 ac_ct_DUMPBIN=$DUMPBIN
4722 for ac_prog in dumpbin "link -dump"
4724 # Extract the first word of "$ac_prog", so it can be a program name with args.
4725 set dummy $ac_prog; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4729 $as_echo_n "(cached) " >&6
4731 if test -n "$ac_ct_DUMPBIN"; then
4732 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 test -z "$as_dir" && as_dir=.
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4741 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4752 if test -n "$ac_ct_DUMPBIN"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4754 $as_echo "$ac_ct_DUMPBIN" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4761 test -n "$ac_ct_DUMPBIN" && break
4764 if test "x$ac_ct_DUMPBIN" = x; then
4767 case $cross_compiling:$ac_tool_warned in
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4771 ac_tool_warned=yes ;;
4773 DUMPBIN=$ac_ct_DUMPBIN
4777 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4779 DUMPBIN="$DUMPBIN -symbols"
4787 if test "$DUMPBIN" != ":"; then
4791 test -z "$NM" && NM=nm
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4799 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4800 if ${lt_cv_nm_interface+:} false; then :
4801 $as_echo_n "(cached) " >&6
4803 lt_cv_nm_interface="BSD nm"
4804 echo "int some_variable = 0;" > conftest.$ac_ext
4805 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4806 (eval "$ac_compile" 2>conftest.err)
4807 cat conftest.err >&5
4808 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4809 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4810 cat conftest.err >&5
4811 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4812 cat conftest.out >&5
4813 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4814 lt_cv_nm_interface="MS dumpbin"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4819 $as_echo "$lt_cv_nm_interface" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4822 $as_echo_n "checking whether ln -s works... " >&6; }
4824 if test "$LN_S" = "ln -s"; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4826 $as_echo "yes" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4829 $as_echo "no, using $LN_S" >&6; }
4832 # find the maximum length of command line arguments
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4834 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4835 if ${lt_cv_sys_max_cmd_len+:} false; then :
4836 $as_echo_n "(cached) " >&6
4843 # On DJGPP, this test can blow up pretty badly due to problems in libc
4844 # (any single argument exceeding 2000 bytes causes a buffer overrun
4845 # during glob expansion). Even if it were fixed, the result of this
4846 # check would be larger than it should be.
4847 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4851 # Under GNU Hurd, this test is not required because there is
4852 # no limit to the length of command line arguments.
4853 # Libtool will interpret -1 as no limit whatsoever
4854 lt_cv_sys_max_cmd_len=-1;
4857 cygwin* | mingw* | cegcc*)
4858 # On Win9x/ME, this test blows up -- it succeeds, but takes
4859 # about 5 minutes as the teststring grows exponentially.
4860 # Worse, since 9x/ME are not pre-emptively multitasking,
4861 # you end up with a "frozen" computer, even though with patience
4862 # the test eventually succeeds (with a max line length of 256k).
4863 # Instead, let's just punt: use the minimum linelength reported by
4864 # all of the supported platforms: 8192 (on NT/2K/XP).
4865 lt_cv_sys_max_cmd_len=8192;
4869 # On MiNT this can take a long time and run out of memory.
4870 lt_cv_sys_max_cmd_len=8192;
4874 # On AmigaOS with pdksh, this test takes hours, literally.
4875 # So we just punt and use a minimum line length of 8192.
4876 lt_cv_sys_max_cmd_len=8192;
4879 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4880 # This has been around since 386BSD, at least. Likely further.
4881 if test -x /sbin/sysctl; then
4882 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4883 elif test -x /usr/sbin/sysctl; then
4884 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4886 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4888 # And add a safety zone
4889 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4890 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4894 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4895 lt_cv_sys_max_cmd_len=196608
4899 # The test takes a long time on OS/2.
4900 lt_cv_sys_max_cmd_len=8192
4904 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4905 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4906 # nice to cause kernel panics so lets avoid the loop below.
4907 # First set a reasonable default.
4908 lt_cv_sys_max_cmd_len=16384
4910 if test -x /sbin/sysconfig; then
4911 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4912 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4917 lt_cv_sys_max_cmd_len=102400
4919 sysv5* | sco5v6* | sysv4.2uw2*)
4920 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4921 if test -n "$kargmax"; then
4922 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4924 lt_cv_sys_max_cmd_len=32768
4928 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4929 if test -n "$lt_cv_sys_max_cmd_len"; then
4930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4933 # Make teststring a little bigger before we do anything with it.
4934 # a 1K string should be a reasonable start.
4935 for i in 1 2 3 4 5 6 7 8 ; do
4936 teststring=$teststring$teststring
4938 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4939 # If test is not a shell built-in, we'll probably end up computing a
4940 # maximum length that is only half of the actual maximum length, but
4942 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4943 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4944 test $i != 17 # 1/2 MB should be enough
4947 teststring=$teststring$teststring
4949 # Only check the string length outside the loop.
4950 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4952 # Add a significant safety factor because C++ compilers can tack on
4953 # massive amounts of additional arguments before passing them to the
4954 # linker. It appears as though 1/2 is a usable value.
4955 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4962 if test -n $lt_cv_sys_max_cmd_len ; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4964 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4967 $as_echo "none" >&6; }
4969 max_cmd_len=$lt_cv_sys_max_cmd_len
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4981 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4982 # Try some XSI features
4985 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4987 && eval 'test $(( 1 + 1 )) -eq 2 \
4988 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4991 $as_echo "$xsi_shell" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4995 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4997 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4999 && lt_shell_append=yes
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5001 $as_echo "$lt_shell_append" >&6; }
5004 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5014 # test EBCDIC or ASCII
5015 case `echo X|tr X '\101'` in
5016 A) # ASCII based system
5017 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5018 lt_SP2NL='tr \040 \012'
5019 lt_NL2SP='tr \015\012 \040\040'
5021 *) # EBCDIC based system
5022 lt_SP2NL='tr \100 \n'
5023 lt_NL2SP='tr \r\n \100\100'
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5036 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5037 if ${lt_cv_to_host_file_cmd+:} false; then :
5038 $as_echo_n "(cached) " >&6
5043 *-*-mingw* ) # actually msys
5044 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5047 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5049 * ) # otherwise, assume *nix
5050 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5056 *-*-mingw* ) # actually msys
5057 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5060 lt_cv_to_host_file_cmd=func_convert_file_noop
5062 * ) # otherwise, assume *nix
5063 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5067 * ) # unhandled hosts (and "normal" native builds)
5068 lt_cv_to_host_file_cmd=func_convert_file_noop
5074 to_host_file_cmd=$lt_cv_to_host_file_cmd
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5076 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5083 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5084 if ${lt_cv_to_tool_file_cmd+:} false; then :
5085 $as_echo_n "(cached) " >&6
5087 #assume ordinary cross tools, or native build.
5088 lt_cv_to_tool_file_cmd=func_convert_file_noop
5092 *-*-mingw* ) # actually msys
5093 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5101 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5103 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5110 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5111 if ${lt_cv_ld_reload_flag+:} false; then :
5112 $as_echo_n "(cached) " >&6
5114 lt_cv_ld_reload_flag='-r'
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5117 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5118 reload_flag=$lt_cv_ld_reload_flag
5119 case $reload_flag in
5121 *) reload_flag=" $reload_flag" ;;
5123 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5125 cygwin* | mingw* | pw32* | cegcc*)
5126 if test "$GCC" != yes; then
5131 if test "$GCC" = yes; then
5132 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5134 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5147 if test -n "$ac_tool_prefix"; then
5148 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5149 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_OBJDUMP+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 if test -n "$OBJDUMP"; then
5156 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 OBJDUMP=$ac_cv_prog_OBJDUMP
5176 if test -n "$OBJDUMP"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5178 $as_echo "$OBJDUMP" >&6; }
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5186 if test -z "$ac_cv_prog_OBJDUMP"; then
5187 ac_ct_OBJDUMP=$OBJDUMP
5188 # Extract the first word of "objdump", so it can be a program name with args.
5189 set dummy objdump; ac_word=$2
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5191 $as_echo_n "checking for $ac_word... " >&6; }
5192 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5193 $as_echo_n "(cached) " >&6
5195 if test -n "$ac_ct_OBJDUMP"; then
5196 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5216 if test -n "$ac_ct_OBJDUMP"; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5218 $as_echo "$ac_ct_OBJDUMP" >&6; }
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5224 if test "x$ac_ct_OBJDUMP" = x; then
5227 case $cross_compiling:$ac_tool_warned in
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5231 ac_tool_warned=yes ;;
5233 OBJDUMP=$ac_ct_OBJDUMP
5236 OBJDUMP="$ac_cv_prog_OBJDUMP"
5239 test -z "$OBJDUMP" && OBJDUMP=objdump
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5250 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5251 if ${lt_cv_deplibs_check_method+:} false; then :
5252 $as_echo_n "(cached) " >&6
5254 lt_cv_file_magic_cmd='$MAGIC_CMD'
5255 lt_cv_file_magic_test_file=
5256 lt_cv_deplibs_check_method='unknown'
5257 # Need to set the preceding variable on all platforms that support
5258 # interlibrary dependencies.
5259 # 'none' -- dependencies not supported.
5260 # `unknown' -- same as none, but documents that we really don't know.
5261 # 'pass_all' -- all dependencies passed with no checks.
5262 # 'test_compile' -- check by making test program.
5263 # 'file_magic [[regex]]' -- check by looking for files in library path
5264 # which responds to the $file_magic_cmd with a given extended regex.
5265 # If you have `file' or equivalent on your system and you're not sure
5266 # whether `pass_all' will *always* work, you probably want this one.
5270 lt_cv_deplibs_check_method=pass_all
5274 lt_cv_deplibs_check_method=pass_all
5278 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5279 lt_cv_file_magic_cmd='/usr/bin/file -L'
5280 lt_cv_file_magic_test_file=/shlib/libc.so
5284 # func_win32_libid is a shell function defined in ltmain.sh
5285 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5286 lt_cv_file_magic_cmd='func_win32_libid'
5290 # Base MSYS/MinGW do not provide the 'file' command needed by
5291 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5292 # unless we find 'file', for example because we are cross-compiling.
5293 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5294 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5295 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5296 lt_cv_file_magic_cmd='func_win32_libid'
5298 # Keep this pattern in sync with the one in func_win32_libid.
5299 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5300 lt_cv_file_magic_cmd='$OBJDUMP -f'
5305 # use the weaker test based on 'objdump'. See mingw*.
5306 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5307 lt_cv_file_magic_cmd='$OBJDUMP -f'
5310 darwin* | rhapsody*)
5311 lt_cv_deplibs_check_method=pass_all
5314 freebsd* | dragonfly*)
5315 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5318 # Not sure whether the presence of OpenBSD here was a mistake.
5319 # Let's accept both of them until this is cleared up.
5320 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5321 lt_cv_file_magic_cmd=/usr/bin/file
5322 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5326 lt_cv_deplibs_check_method=pass_all
5331 lt_cv_deplibs_check_method=pass_all
5335 lt_cv_deplibs_check_method=pass_all
5338 hpux10.20* | hpux11*)
5339 lt_cv_file_magic_cmd=/usr/bin/file
5342 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5343 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5346 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]'
5347 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5350 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5351 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5357 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5358 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5361 irix5* | irix6* | nonstopux*)
5363 *-32|*"-32 ") libmagic=32-bit;;
5364 *-n32|*"-n32 ") libmagic=N32;;
5365 *-64|*"-64 ") libmagic=64-bit;;
5366 *) libmagic=never-match;;
5368 lt_cv_deplibs_check_method=pass_all
5371 # This must be glibc/ELF.
5372 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5373 lt_cv_deplibs_check_method=pass_all
5377 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5378 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5380 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5386 lt_cv_file_magic_cmd=/usr/bin/file
5387 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5391 lt_cv_deplibs_check_method=pass_all
5395 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5396 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5398 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5402 osf3* | osf4* | osf5*)
5403 lt_cv_deplibs_check_method=pass_all
5407 lt_cv_deplibs_check_method=pass_all
5411 lt_cv_deplibs_check_method=pass_all
5414 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5415 lt_cv_deplibs_check_method=pass_all
5419 case $host_vendor in
5421 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]'
5422 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5425 lt_cv_deplibs_check_method=pass_all
5428 lt_cv_file_magic_cmd='/bin/file'
5429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5432 lt_cv_file_magic_cmd='/bin/file'
5433 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5434 lt_cv_file_magic_test_file=/lib/libc.so
5437 lt_cv_deplibs_check_method=pass_all
5440 lt_cv_deplibs_check_method=pass_all
5446 lt_cv_deplibs_check_method=pass_all
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5452 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5456 if test "$build" = "$host"; then
5459 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5462 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5468 file_magic_cmd=$lt_cv_file_magic_cmd
5469 deplibs_check_method=$lt_cv_deplibs_check_method
5470 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5493 if test -n "$ac_tool_prefix"; then
5494 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5495 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_DLLTOOL+:} false; then :
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$DLLTOOL"; then
5502 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 DLLTOOL=$ac_cv_prog_DLLTOOL
5522 if test -n "$DLLTOOL"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5524 $as_echo "$DLLTOOL" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5532 if test -z "$ac_cv_prog_DLLTOOL"; then
5533 ac_ct_DLLTOOL=$DLLTOOL
5534 # Extract the first word of "dlltool", so it can be a program name with args.
5535 set dummy dlltool; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5539 $as_echo_n "(cached) " >&6
5541 if test -n "$ac_ct_DLLTOOL"; then
5542 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5562 if test -n "$ac_ct_DLLTOOL"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5564 $as_echo "$ac_ct_DLLTOOL" >&6; }
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5570 if test "x$ac_ct_DLLTOOL" = x; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned=yes ;;
5579 DLLTOOL=$ac_ct_DLLTOOL
5582 DLLTOOL="$ac_cv_prog_DLLTOOL"
5585 test -z "$DLLTOOL" && DLLTOOL=dlltool
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5597 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5598 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5599 $as_echo_n "(cached) " >&6
5601 lt_cv_sharedlib_from_linklib_cmd='unknown'
5604 cygwin* | mingw* | pw32* | cegcc*)
5605 # two different shell functions defined in ltmain.sh
5606 # decide which to use based on capabilities of $DLLTOOL
5607 case `$DLLTOOL --help 2>&1` in
5608 *--identify-strict*)
5609 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5612 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5617 # fallback: assume linklib IS sharedlib
5618 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5624 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5625 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5626 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5635 if test -n "$ac_tool_prefix"; then
5638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_AR+:} false; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$AR"; then
5646 ac_cv_prog_AR="$AR" # Let the user override the test.
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir=.
5653 for ac_exec_ext in '' $ac_executable_extensions; do
5654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 if test -n "$AR"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5668 $as_echo "$AR" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5675 test -n "$AR" && break
5678 if test -z "$AR"; then
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy $ac_prog; ac_word=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$ac_ct_AR"; then
5690 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir=.
5697 for ac_exec_ext in '' $ac_executable_extensions; do
5698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_ac_ct_AR="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5710 if test -n "$ac_ct_AR"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5712 $as_echo "$ac_ct_AR" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$ac_ct_AR" && break
5722 if test "x$ac_ct_AR" = x; then
5725 case $cross_compiling:$ac_tool_warned in
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5729 ac_tool_warned=yes ;;
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5749 $as_echo_n "checking for archiver @FILE support... " >&6; }
5750 if ${lt_cv_ar_at_file+:} false; then :
5751 $as_echo_n "(cached) " >&6
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5765 if ac_fn_c_try_compile "$LINENO"; then :
5766 echo conftest.$ac_objext > conftest.lst
5767 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5769 (eval $lt_ar_try) 2>&5
5771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5772 test $ac_status = 0; }
5773 if test "$ac_status" -eq 0; then
5774 # Ensure the archiver fails upon bogus file names.
5775 rm -f conftest.$ac_objext libconftest.a
5776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5777 (eval $lt_ar_try) 2>&5
5779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5780 test $ac_status = 0; }
5781 if test "$ac_status" -ne 0; then
5785 rm -f conftest.* libconftest.a
5788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5792 $as_echo "$lt_cv_ar_at_file" >&6; }
5794 if test "x$lt_cv_ar_at_file" = xno; then
5797 archiver_list_spec=$lt_cv_ar_at_file
5806 if test -n "$ac_tool_prefix"; then
5807 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5808 set dummy ${ac_tool_prefix}strip; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_STRIP+:} false; then :
5812 $as_echo_n "(cached) " >&6
5814 if test -n "$STRIP"; then
5815 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 STRIP=$ac_cv_prog_STRIP
5835 if test -n "$STRIP"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5837 $as_echo "$STRIP" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5845 if test -z "$ac_cv_prog_STRIP"; then
5847 # Extract the first word of "strip", so it can be a program name with args.
5848 set dummy strip; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5852 $as_echo_n "(cached) " >&6
5854 if test -n "$ac_ct_STRIP"; then
5855 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5864 ac_cv_prog_ac_ct_STRIP="strip"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5875 if test -n "$ac_ct_STRIP"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5877 $as_echo "$ac_ct_STRIP" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5883 if test "x$ac_ct_STRIP" = x; then
5886 case $cross_compiling:$ac_tool_warned in
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5890 ac_tool_warned=yes ;;
5895 STRIP="$ac_cv_prog_STRIP"
5898 test -z "$STRIP" && STRIP=:
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5907 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_RANLIB+:} false; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -n "$RANLIB"; then
5914 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 RANLIB=$ac_cv_prog_RANLIB
5934 if test -n "$RANLIB"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5936 $as_echo "$RANLIB" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 if test -z "$ac_cv_prog_RANLIB"; then
5945 ac_ct_RANLIB=$RANLIB
5946 # Extract the first word of "ranlib", so it can be a program name with args.
5947 set dummy ranlib; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5951 $as_echo_n "(cached) " >&6
5953 if test -n "$ac_ct_RANLIB"; then
5954 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_ac_ct_RANLIB="ranlib"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5974 if test -n "$ac_ct_RANLIB"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5976 $as_echo "$ac_ct_RANLIB" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5982 if test "x$ac_ct_RANLIB" = x; then
5985 case $cross_compiling:$ac_tool_warned in
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989 ac_tool_warned=yes ;;
5991 RANLIB=$ac_ct_RANLIB
5994 RANLIB="$ac_cv_prog_RANLIB"
5997 test -z "$RANLIB" && RANLIB=:
6004 # Determine commands to create old-style static archives.
6005 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6006 old_postinstall_cmds='chmod 644 $oldlib'
6007 old_postuninstall_cmds=
6009 if test -n "$RANLIB"; then
6012 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6015 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6018 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6023 lock_old_archive_extraction=yes ;;
6025 lock_old_archive_extraction=no ;;
6066 # If no C compiler was specified, use CC.
6069 # If no C compiler flags were specified, use CFLAGS.
6070 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6072 # Allow CC to be a program name with arguments.
6076 # Check for command to grab the raw symbol name followed by C symbol from nm.
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6078 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6079 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6080 $as_echo_n "(cached) " >&6
6083 # These are sane defaults that work on at least a few old systems.
6084 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6086 # Character class describing NM global symbol codes.
6087 symcode='[BCDEGRST]'
6089 # Regexp to match symbols that can be accessed directly from C.
6090 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6092 # Define system-specific variables.
6097 cygwin* | mingw* | pw32* | cegcc*)
6098 symcode='[ABCDGISTW]'
6101 if test "$host_cpu" = ia64; then
6102 symcode='[ABCDEGRST]'
6106 symcode='[BCDEGRST]'
6109 symcode='[BCDEGQRST]'
6120 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6128 # If we're using GNU nm, then use its standard symbol codes.
6129 case `$NM -V 2>&1` in
6130 *GNU* | *'with BFD'*)
6131 symcode='[ABCDGIRSTW]' ;;
6134 # Transform an extracted symbol line into a proper C declaration.
6135 # Some systems (esp. on ia64) link data and code symbols differently,
6136 # so use this general approach.
6137 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6139 # Transform an extracted symbol line into symbol name and symbol address
6140 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6141 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'"
6143 # Handle CRLF in mingw tool chain
6147 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6151 # Try without a prefix underscore, then with it.
6152 for ac_symprfx in "" "_"; do
6154 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6155 symxfrm="\\1 $ac_symprfx\\2 \\2"
6157 # Write the raw and C identifiers.
6158 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6159 # Fake it for dumpbin and say T for any non-static function
6160 # and D for any global variable.
6161 # Also find C++ and __fastcall symbols from MSVC++,
6162 # which start with @ or ?.
6163 lt_cv_sys_global_symbol_pipe="$AWK '"\
6164 " {last_section=section; section=\$ 3};"\
6165 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6166 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6167 " \$ 0!~/External *\|/{next};"\
6168 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6169 " {if(hide[section]) next};"\
6170 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6171 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6172 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6173 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6174 " ' prfx=^$ac_symprfx"
6176 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6178 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6180 # Check to see that the pipe works correctly.
6184 cat > conftest.$ac_ext <<_LT_EOF
6189 void nm_test_func(void);
6190 void nm_test_func(void){}
6194 int main(){nm_test_var='a';nm_test_func();return(0);}
6197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6198 (eval $ac_compile) 2>&5
6200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6201 test $ac_status = 0; }; then
6202 # Now try to grab the symbols.
6204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6205 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6208 test $ac_status = 0; } && test -s "$nlist"; then
6209 # Try sorting and uniquifying the output.
6210 if sort "$nlist" | uniq > "$nlist"T; then
6211 mv -f "$nlist"T "$nlist"
6216 # Make sure that we snagged all the symbols we need.
6217 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6218 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6219 cat <<_LT_EOF > conftest.$ac_ext
6220 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6221 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6222 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6223 relocations are performed -- see ld's documentation on pseudo-relocs. */
6224 # define LT_DLSYM_CONST
6225 #elif defined(__osf__)
6226 /* This system does not cope well with relocations in const data. */
6227 # define LT_DLSYM_CONST
6229 # define LT_DLSYM_CONST const
6237 # Now generate the symbol file.
6238 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6240 cat <<_LT_EOF >> conftest.$ac_ext
6242 /* The mapping between symbol names and symbols. */
6243 LT_DLSYM_CONST struct {
6247 lt__PROGRAM__LTX_preloaded_symbols[] =
6249 { "@PROGRAM@", (void *) 0 },
6251 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6252 cat <<\_LT_EOF >> conftest.$ac_ext
6256 /* This works around a problem in FreeBSD linker */
6257 #ifdef FREEBSD_WORKAROUND
6258 static const void *lt_preloaded_setup() {
6259 return lt__PROGRAM__LTX_preloaded_symbols;
6267 # Now try linking the two files.
6268 mv conftest.$ac_objext conftstm.$ac_objext
6269 lt_globsym_save_LIBS=$LIBS
6270 lt_globsym_save_CFLAGS=$CFLAGS
6271 LIBS="conftstm.$ac_objext"
6272 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6274 (eval $ac_link) 2>&5
6276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6277 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6280 LIBS=$lt_globsym_save_LIBS
6281 CFLAGS=$lt_globsym_save_CFLAGS
6283 echo "cannot find nm_test_func in $nlist" >&5
6286 echo "cannot find nm_test_var in $nlist" >&5
6289 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6292 echo "$progname: failed program was:" >&5
6293 cat conftest.$ac_ext >&5
6295 rm -rf conftest* conftst*
6297 # Do not use the global_symbol_pipe unless it works.
6298 if test "$pipe_works" = yes; then
6301 lt_cv_sys_global_symbol_pipe=
6307 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6308 lt_cv_sys_global_symbol_to_cdecl=
6310 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6312 $as_echo "failed" >&6; }
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6315 $as_echo "ok" >&6; }
6318 # Response file support.
6319 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6320 nm_file_list_spec='@'
6321 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6322 nm_file_list_spec='@'
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6352 $as_echo_n "checking for sysroot... " >&6; }
6354 # Check whether --with-sysroot was given.
6355 if test "${with_sysroot+set}" = set; then :
6356 withval=$with_sysroot;
6363 case ${with_sysroot} in #(
6365 if test "$GCC" = yes; then
6366 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6370 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6376 $as_echo "${with_sysroot}" >&6; }
6377 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6382 $as_echo "${lt_sysroot:-no}" >&6; }
6388 # Check whether --enable-libtool-lock was given.
6389 if test "${enable_libtool_lock+set}" = set; then :
6390 enableval=$enable_libtool_lock;
6393 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6395 # Some flags need to be propagated to the compiler or linker for good
6399 # Find out which ABI we are using.
6400 echo 'int i;' > conftest.$ac_ext
6401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6402 (eval $ac_compile) 2>&5
6404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6405 test $ac_status = 0; }; then
6406 case `/usr/bin/file conftest.$ac_objext` in
6418 # Find out which ABI we are using.
6419 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6421 (eval $ac_compile) 2>&5
6423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424 test $ac_status = 0; }; then
6425 if test "$lt_cv_prog_gnu_ld" = yes; then
6426 case `/usr/bin/file conftest.$ac_objext` in
6428 LD="${LD-ld} -melf32bsmip"
6431 LD="${LD-ld} -melf32bmipn32"
6434 LD="${LD-ld} -melf64bmip"
6438 case `/usr/bin/file conftest.$ac_objext` in
6454 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6455 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6456 # Find out which ABI we are using.
6457 echo 'int i;' > conftest.$ac_ext
6458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6459 (eval $ac_compile) 2>&5
6461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6462 test $ac_status = 0; }; then
6463 case `/usr/bin/file conftest.o` in
6466 x86_64-*kfreebsd*-gnu)
6467 LD="${LD-ld} -m elf_i386_fbsd"
6470 LD="${LD-ld} -m elf_i386"
6472 ppc64-*linux*|powerpc64-*linux*)
6473 LD="${LD-ld} -m elf32ppclinux"
6476 LD="${LD-ld} -m elf_s390"
6479 LD="${LD-ld} -m elf32_sparc"
6485 x86_64-*kfreebsd*-gnu)
6486 LD="${LD-ld} -m elf_x86_64_fbsd"
6489 LD="${LD-ld} -m elf_x86_64"
6491 ppc*-*linux*|powerpc*-*linux*)
6492 LD="${LD-ld} -m elf64ppc"
6494 s390*-*linux*|s390*-*tpf*)
6495 LD="${LD-ld} -m elf64_s390"
6498 LD="${LD-ld} -m elf64_sparc"
6508 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6509 SAVE_CFLAGS="$CFLAGS"
6510 CFLAGS="$CFLAGS -belf"
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6512 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6513 if ${lt_cv_cc_needs_belf+:} false; then :
6514 $as_echo_n "(cached) " >&6
6517 ac_cpp='$CPP $CPPFLAGS'
6518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6533 if ac_fn_c_try_link "$LINENO"; then :
6534 lt_cv_cc_needs_belf=yes
6536 lt_cv_cc_needs_belf=no
6538 rm -f core conftest.err conftest.$ac_objext \
6539 conftest$ac_exeext conftest.$ac_ext
6541 ac_cpp='$CPP $CPPFLAGS'
6542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6548 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6549 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6550 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6551 CFLAGS="$SAVE_CFLAGS"
6555 # Find out which ABI we are using.
6556 echo 'int i;' > conftest.$ac_ext
6557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6558 (eval $ac_compile) 2>&5
6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6561 test $ac_status = 0; }; then
6562 case `/usr/bin/file conftest.o` in
6564 case $lt_cv_prog_gnu_ld in
6568 LD="${LD-ld} -m elf_x86_64"
6571 LD="${LD-ld} -m elf64_sparc"
6574 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6575 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6580 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6592 need_locks="$enable_libtool_lock"
6594 if test -n "$ac_tool_prefix"; then
6595 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6596 set dummy ${ac_tool_prefix}mt; ac_word=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$MANIFEST_TOOL"; then
6603 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir=.
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6612 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6623 if test -n "$MANIFEST_TOOL"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6625 $as_echo "$MANIFEST_TOOL" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6633 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6634 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6635 # Extract the first word of "mt", so it can be a program name with args.
6636 set dummy mt; ac_word=$2
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6638 $as_echo_n "checking for $ac_word... " >&6; }
6639 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6640 $as_echo_n "(cached) " >&6
6642 if test -n "$ac_ct_MANIFEST_TOOL"; then
6643 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 test -z "$as_dir" && as_dir=.
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6663 if test -n "$ac_ct_MANIFEST_TOOL"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6665 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6671 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6674 case $cross_compiling:$ac_tool_warned in
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6678 ac_tool_warned=yes ;;
6680 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6683 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6686 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6688 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6689 if ${lt_cv_path_mainfest_tool+:} false; then :
6690 $as_echo_n "(cached) " >&6
6692 lt_cv_path_mainfest_tool=no
6693 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6694 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6695 cat conftest.err >&5
6696 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6697 lt_cv_path_mainfest_tool=yes
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6702 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6703 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6713 rhapsody* | darwin*)
6714 if test -n "$ac_tool_prefix"; then
6715 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6716 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6718 $as_echo_n "checking for $ac_word... " >&6; }
6719 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6720 $as_echo_n "(cached) " >&6
6722 if test -n "$DSYMUTIL"; then
6723 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729 test -z "$as_dir" && as_dir=.
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6742 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6743 if test -n "$DSYMUTIL"; then
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6745 $as_echo "$DSYMUTIL" >&6; }
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 $as_echo "no" >&6; }
6753 if test -z "$ac_cv_prog_DSYMUTIL"; then
6754 ac_ct_DSYMUTIL=$DSYMUTIL
6755 # Extract the first word of "dsymutil", so it can be a program name with args.
6756 set dummy dsymutil; ac_word=$2
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 $as_echo_n "checking for $ac_word... " >&6; }
6759 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6760 $as_echo_n "(cached) " >&6
6762 if test -n "$ac_ct_DSYMUTIL"; then
6763 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir=.
6770 for ac_exec_ext in '' $ac_executable_extensions; do
6771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6783 if test -n "$ac_ct_DSYMUTIL"; then
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6785 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788 $as_echo "no" >&6; }
6791 if test "x$ac_ct_DSYMUTIL" = x; then
6794 case $cross_compiling:$ac_tool_warned in
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6798 ac_tool_warned=yes ;;
6800 DSYMUTIL=$ac_ct_DSYMUTIL
6803 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6806 if test -n "$ac_tool_prefix"; then
6807 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6808 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_NMEDIT+:} false; then :
6812 $as_echo_n "(cached) " >&6
6814 if test -n "$NMEDIT"; then
6815 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821 test -z "$as_dir" && as_dir=.
6822 for ac_exec_ext in '' $ac_executable_extensions; do
6823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6824 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 NMEDIT=$ac_cv_prog_NMEDIT
6835 if test -n "$NMEDIT"; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6837 $as_echo "$NMEDIT" >&6; }
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6845 if test -z "$ac_cv_prog_NMEDIT"; then
6846 ac_ct_NMEDIT=$NMEDIT
6847 # Extract the first word of "nmedit", so it can be a program name with args.
6848 set dummy nmedit; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$ac_ct_NMEDIT"; then
6855 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6875 if test -n "$ac_ct_NMEDIT"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6877 $as_echo "$ac_ct_NMEDIT" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6883 if test "x$ac_ct_NMEDIT" = x; then
6886 case $cross_compiling:$ac_tool_warned in
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned=yes ;;
6892 NMEDIT=$ac_ct_NMEDIT
6895 NMEDIT="$ac_cv_prog_NMEDIT"
6898 if test -n "$ac_tool_prefix"; then
6899 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6900 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6902 $as_echo_n "checking for $ac_word... " >&6; }
6903 if ${ac_cv_prog_LIPO+:} false; then :
6904 $as_echo_n "(cached) " >&6
6906 if test -n "$LIPO"; then
6907 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 test -z "$as_dir" && as_dir=.
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6916 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926 LIPO=$ac_cv_prog_LIPO
6927 if test -n "$LIPO"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6929 $as_echo "$LIPO" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6937 if test -z "$ac_cv_prog_LIPO"; then
6939 # Extract the first word of "lipo", so it can be a program name with args.
6940 set dummy lipo; ac_word=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 $as_echo_n "checking for $ac_word... " >&6; }
6943 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6944 $as_echo_n "(cached) " >&6
6946 if test -n "$ac_ct_LIPO"; then
6947 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953 test -z "$as_dir" && as_dir=.
6954 for ac_exec_ext in '' $ac_executable_extensions; do
6955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6956 ac_cv_prog_ac_ct_LIPO="lipo"
6957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6967 if test -n "$ac_ct_LIPO"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6969 $as_echo "$ac_ct_LIPO" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6975 if test "x$ac_ct_LIPO" = x; then
6978 case $cross_compiling:$ac_tool_warned in
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6982 ac_tool_warned=yes ;;
6987 LIPO="$ac_cv_prog_LIPO"
6990 if test -n "$ac_tool_prefix"; then
6991 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6992 set dummy ${ac_tool_prefix}otool; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6994 $as_echo_n "checking for $ac_word... " >&6; }
6995 if ${ac_cv_prog_OTOOL+:} false; then :
6996 $as_echo_n "(cached) " >&6
6998 if test -n "$OTOOL"; then
6999 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018 OTOOL=$ac_cv_prog_OTOOL
7019 if test -n "$OTOOL"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7021 $as_echo "$OTOOL" >&6; }
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7024 $as_echo "no" >&6; }
7029 if test -z "$ac_cv_prog_OTOOL"; then
7031 # Extract the first word of "otool", so it can be a program name with args.
7032 set dummy otool; ac_word=$2
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7034 $as_echo_n "checking for $ac_word... " >&6; }
7035 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7036 $as_echo_n "(cached) " >&6
7038 if test -n "$ac_ct_OTOOL"; then
7039 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045 test -z "$as_dir" && as_dir=.
7046 for ac_exec_ext in '' $ac_executable_extensions; do
7047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7048 ac_cv_prog_ac_ct_OTOOL="otool"
7049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7058 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7059 if test -n "$ac_ct_OTOOL"; then
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7061 $as_echo "$ac_ct_OTOOL" >&6; }
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7064 $as_echo "no" >&6; }
7067 if test "x$ac_ct_OTOOL" = x; then
7070 case $cross_compiling:$ac_tool_warned in
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7074 ac_tool_warned=yes ;;
7079 OTOOL="$ac_cv_prog_OTOOL"
7082 if test -n "$ac_tool_prefix"; then
7083 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7084 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7086 $as_echo_n "checking for $ac_word... " >&6; }
7087 if ${ac_cv_prog_OTOOL64+:} false; then :
7088 $as_echo_n "(cached) " >&6
7090 if test -n "$OTOOL64"; then
7091 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 test -z "$as_dir" && as_dir=.
7098 for ac_exec_ext in '' $ac_executable_extensions; do
7099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7100 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110 OTOOL64=$ac_cv_prog_OTOOL64
7111 if test -n "$OTOOL64"; then
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7113 $as_echo "$OTOOL64" >&6; }
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7116 $as_echo "no" >&6; }
7121 if test -z "$ac_cv_prog_OTOOL64"; then
7122 ac_ct_OTOOL64=$OTOOL64
7123 # Extract the first word of "otool64", so it can be a program name with args.
7124 set dummy otool64; ac_word=$2
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7126 $as_echo_n "checking for $ac_word... " >&6; }
7127 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7128 $as_echo_n "(cached) " >&6
7130 if test -n "$ac_ct_OTOOL64"; then
7131 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 test -z "$as_dir" && as_dir=.
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_ac_ct_OTOOL64="otool64"
7141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7150 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7151 if test -n "$ac_ct_OTOOL64"; then
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7153 $as_echo "$ac_ct_OTOOL64" >&6; }
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 $as_echo "no" >&6; }
7159 if test "x$ac_ct_OTOOL64" = x; then
7162 case $cross_compiling:$ac_tool_warned in
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7166 ac_tool_warned=yes ;;
7168 OTOOL64=$ac_ct_OTOOL64
7171 OTOOL64="$ac_cv_prog_OTOOL64"
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7201 $as_echo_n "checking for -single_module linker flag... " >&6; }
7202 if ${lt_cv_apple_cc_single_mod+:} false; then :
7203 $as_echo_n "(cached) " >&6
7205 lt_cv_apple_cc_single_mod=no
7206 if test -z "${LT_MULTI_MODULE}"; then
7207 # By default we will add the -single_module flag. You can override
7208 # by either setting the environment variable LT_MULTI_MODULE
7209 # non-empty at configure time, or by adding -multi_module to the
7211 rm -rf libconftest.dylib*
7212 echo "int foo(void){return 1;}" > conftest.c
7213 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7214 -dynamiclib -Wl,-single_module conftest.c" >&5
7215 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7216 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7218 # If there is a non-empty error log, and "single_module"
7219 # appears in it, assume the flag caused a linker warning
7220 if test -s conftest.err && $GREP single_module conftest.err; then
7221 cat conftest.err >&5
7222 # Otherwise, if the output was created with a 0 exit code from
7223 # the compiler, it worked.
7224 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7225 lt_cv_apple_cc_single_mod=yes
7227 cat conftest.err >&5
7229 rm -rf libconftest.dylib*
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7234 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7237 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7238 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7239 $as_echo_n "(cached) " >&6
7241 lt_cv_ld_exported_symbols_list=no
7242 save_LDFLAGS=$LDFLAGS
7243 echo "_main" > conftest.sym
7244 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7256 if ac_fn_c_try_link "$LINENO"; then :
7257 lt_cv_ld_exported_symbols_list=yes
7259 lt_cv_ld_exported_symbols_list=no
7261 rm -f core conftest.err conftest.$ac_objext \
7262 conftest$ac_exeext conftest.$ac_ext
7263 LDFLAGS="$save_LDFLAGS"
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7267 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7270 $as_echo_n "checking for -force_load linker flag... " >&6; }
7271 if ${lt_cv_ld_force_load+:} false; then :
7272 $as_echo_n "(cached) " >&6
7274 lt_cv_ld_force_load=no
7275 cat > conftest.c << _LT_EOF
7276 int forced_loaded() { return 2;}
7278 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7279 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7280 echo "$AR cru libconftest.a conftest.o" >&5
7281 $AR cru libconftest.a conftest.o 2>&5
7282 echo "$RANLIB libconftest.a" >&5
7283 $RANLIB libconftest.a 2>&5
7284 cat > conftest.c << _LT_EOF
7285 int main() { return 0;}
7287 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7288 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7290 if test -s conftest.err && $GREP force_load conftest.err; then
7291 cat conftest.err >&5
7292 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7293 lt_cv_ld_force_load=yes
7295 cat conftest.err >&5
7297 rm -f conftest.err libconftest.a conftest conftest.c
7298 rm -rf conftest.dSYM
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7302 $as_echo "$lt_cv_ld_force_load" >&6; }
7304 rhapsody* | darwin1.[012])
7305 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7307 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7308 darwin*) # darwin 5.x on
7309 # if running on 10.5 or later, the deployment target defaults
7310 # to the OS version, if on x86, and 10.4, the deployment
7311 # target defaults to 10.4. Don't you love it?
7312 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7313 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7314 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7316 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7318 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7322 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7323 _lt_dar_single_mod='$single_module'
7325 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7326 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7328 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7330 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7331 _lt_dsymutil='~$DSYMUTIL $lib || :'
7339 ac_cpp='$CPP $CPPFLAGS'
7340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7344 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7345 # On Suns, sometimes $CPP names a directory.
7346 if test -n "$CPP" && test -d "$CPP"; then
7349 if test -z "$CPP"; then
7350 if ${ac_cv_prog_CPP+:} false; then :
7351 $as_echo_n "(cached) " >&6
7353 # Double quotes because CPP needs to be expanded
7354 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7357 for ac_c_preproc_warn_flag in '' yes
7359 # Use a header file that comes with gcc, so configuring glibc
7360 # with a fresh cross-compiler works.
7361 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7362 # <limits.h> exists even on freestanding compilers.
7363 # On the NeXT, cc -E runs the code through the compiler's parser,
7364 # not just through cpp. "Syntax error" is here to catch this case.
7365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7368 # include <limits.h>
7370 # include <assert.h>
7374 if ac_fn_c_try_cpp "$LINENO"; then :
7377 # Broken: fails on valid input.
7380 rm -f conftest.err conftest.i conftest.$ac_ext
7382 # OK, works on sane cases. Now check whether nonexistent headers
7383 # can be detected and how.
7384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7385 /* end confdefs.h. */
7386 #include <ac_nonexistent.h>
7388 if ac_fn_c_try_cpp "$LINENO"; then :
7389 # Broken: success on invalid input.
7392 # Passes both tests.
7396 rm -f conftest.err conftest.i conftest.$ac_ext
7399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7400 rm -f conftest.i conftest.err conftest.$ac_ext
7401 if $ac_preproc_ok; then :
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7414 $as_echo "$CPP" >&6; }
7416 for ac_c_preproc_warn_flag in '' yes
7418 # Use a header file that comes with gcc, so configuring glibc
7419 # with a fresh cross-compiler works.
7420 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7421 # <limits.h> exists even on freestanding compilers.
7422 # On the NeXT, cc -E runs the code through the compiler's parser,
7423 # not just through cpp. "Syntax error" is here to catch this case.
7424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425 /* end confdefs.h. */
7427 # include <limits.h>
7429 # include <assert.h>
7433 if ac_fn_c_try_cpp "$LINENO"; then :
7436 # Broken: fails on valid input.
7439 rm -f conftest.err conftest.i conftest.$ac_ext
7441 # OK, works on sane cases. Now check whether nonexistent headers
7442 # can be detected and how.
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7445 #include <ac_nonexistent.h>
7447 if ac_fn_c_try_cpp "$LINENO"; then :
7448 # Broken: success on invalid input.
7451 # Passes both tests.
7455 rm -f conftest.err conftest.i conftest.$ac_ext
7458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7459 rm -f conftest.i conftest.err conftest.$ac_ext
7460 if $ac_preproc_ok; then :
7463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7465 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7466 See \`config.log' for more details" "$LINENO" 5; }
7470 ac_cpp='$CPP $CPPFLAGS'
7471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7477 $as_echo_n "checking for ANSI C header files... " >&6; }
7478 if ${ac_cv_header_stdc+:} false; then :
7479 $as_echo_n "(cached) " >&6
7481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7482 /* end confdefs.h. */
7496 if ac_fn_c_try_compile "$LINENO"; then :
7497 ac_cv_header_stdc=yes
7499 ac_cv_header_stdc=no
7501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7503 if test $ac_cv_header_stdc = yes; then
7504 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7506 /* end confdefs.h. */
7510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7511 $EGREP "memchr" >/dev/null 2>&1; then :
7514 ac_cv_header_stdc=no
7520 if test $ac_cv_header_stdc = yes; then
7521 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7528 $EGREP "free" >/dev/null 2>&1; then :
7531 ac_cv_header_stdc=no
7537 if test $ac_cv_header_stdc = yes; then
7538 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7539 if test "$cross_compiling" = yes; then :
7542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7546 #if ((' ' & 0x0FF) == 0x020)
7547 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7548 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7550 # define ISLOWER(c) \
7551 (('a' <= (c) && (c) <= 'i') \
7552 || ('j' <= (c) && (c) <= 'r') \
7553 || ('s' <= (c) && (c) <= 'z'))
7554 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7557 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7562 for (i = 0; i < 256; i++)
7563 if (XOR (islower (i), ISLOWER (i))
7564 || toupper (i) != TOUPPER (i))
7569 if ac_fn_c_try_run "$LINENO"; then :
7572 ac_cv_header_stdc=no
7574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7575 conftest.$ac_objext conftest.beam conftest.$ac_ext
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7581 $as_echo "$ac_cv_header_stdc" >&6; }
7582 if test $ac_cv_header_stdc = yes; then
7584 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7588 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7589 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7590 inttypes.h stdint.h unistd.h
7592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7596 cat >>confdefs.h <<_ACEOF
7597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7605 for ac_header in dlfcn.h
7607 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7609 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7610 cat >>confdefs.h <<_ACEOF
7611 #define HAVE_DLFCN_H 1
7623 # Check whether --enable-static was given.
7624 if test "${enable_static+set}" = set; then :
7625 enableval=$enable_static; p=${PACKAGE-default}
7627 yes) enable_static=yes ;;
7628 no) enable_static=no ;;
7631 # Look at the argument we got. We use all the common list separators.
7632 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7633 for pkg in $enableval; do
7635 if test "X$pkg" = "X$p"; then
7661 # Check whether --enable-shared was given.
7662 if test "${enable_shared+set}" = set; then :
7663 enableval=$enable_shared; p=${PACKAGE-default}
7665 yes) enable_shared=yes ;;
7666 no) enable_shared=no ;;
7669 # Look at the argument we got. We use all the common list separators.
7670 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7671 for pkg in $enableval; do
7673 if test "X$pkg" = "X$p"; then
7694 # Check whether --with-pic was given.
7695 if test "${with_pic+set}" = set; then :
7696 withval=$with_pic; lt_p=${PACKAGE-default}
7698 yes|no) pic_mode=$withval ;;
7701 # Look at the argument we got. We use all the common list separators.
7702 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7703 for lt_pkg in $withval; do
7705 if test "X$lt_pkg" = "X$lt_p"; then
7717 test -z "$pic_mode" && pic_mode=default
7725 # Check whether --enable-fast-install was given.
7726 if test "${enable_fast_install+set}" = set; then :
7727 enableval=$enable_fast_install; p=${PACKAGE-default}
7729 yes) enable_fast_install=yes ;;
7730 no) enable_fast_install=no ;;
7732 enable_fast_install=no
7733 # Look at the argument we got. We use all the common list separators.
7734 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7735 for pkg in $enableval; do
7737 if test "X$pkg" = "X$p"; then
7738 enable_fast_install=yes
7745 enable_fast_install=yes
7758 # This can be used to rebuild libtool when needed
7759 LIBTOOL_DEPS="$ltmain"
7761 # Always use our own libtool.
7762 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7793 test -z "$LN_S" && LN_S="ln -s"
7808 if test -n "${ZSH_VERSION+set}" ; then
7809 setopt NO_GLOB_SUBST
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7813 $as_echo_n "checking for objdir... " >&6; }
7814 if ${lt_cv_objdir+:} false; then :
7815 $as_echo_n "(cached) " >&6
7817 rm -f .libs 2>/dev/null
7818 mkdir .libs 2>/dev/null
7819 if test -d .libs; then
7822 # MS-DOS does not allow filenames that begin with a dot.
7825 rmdir .libs 2>/dev/null
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7828 $as_echo "$lt_cv_objdir" >&6; }
7829 objdir=$lt_cv_objdir
7835 cat >>confdefs.h <<_ACEOF
7836 #define LT_OBJDIR "$lt_cv_objdir/"
7844 # AIX sometimes has problems with the GCC collect2 program. For some
7845 # reason, if we set the COLLECT_NAMES environment variable, the problems
7846 # vanish in a puff of smoke.
7847 if test "X${COLLECT_NAMES+set}" != Xset; then
7849 export COLLECT_NAMES
7856 can_build_shared=yes
7858 # All known linkers require a `.a' archive for static linking (except MSVC,
7859 # which needs '.lib').
7862 with_gnu_ld="$lt_cv_prog_gnu_ld"
7865 old_CFLAGS="$CFLAGS"
7867 # Set sane defaults for various variables
7868 test -z "$CC" && CC=cc
7869 test -z "$LTCC" && LTCC=$CC
7870 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7871 test -z "$LD" && LD=ld
7872 test -z "$ac_objext" && ac_objext=o
7874 for cc_temp in $compiler""; do
7876 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7877 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7882 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7885 # Only perform the check for file, if the check method requires it
7886 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7887 case $deplibs_check_method in
7889 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7891 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7892 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7893 $as_echo_n "(cached) " >&6
7897 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7900 lt_save_MAGIC_CMD="$MAGIC_CMD"
7901 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7902 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7903 for ac_dir in $ac_dummy; do
7905 test -z "$ac_dir" && ac_dir=.
7906 if test -f $ac_dir/${ac_tool_prefix}file; then
7907 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7908 if test -n "$file_magic_test_file"; then
7909 case $deplibs_check_method in
7911 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7912 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7913 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7914 $EGREP "$file_magic_regex" > /dev/null; then
7919 *** Warning: the command libtool uses to detect shared libraries,
7920 *** $file_magic_cmd, produces output that libtool cannot recognize.
7921 *** The result is that libtool may fail to recognize shared libraries
7922 *** as such. This will affect the creation of libtool libraries that
7923 *** depend on shared libraries, but programs linked with such libtool
7924 *** libraries will work regardless of this problem. Nevertheless, you
7925 *** may want to report the problem to your system manager and/or to
7926 *** bug-libtool@gnu.org
7936 MAGIC_CMD="$lt_save_MAGIC_CMD"
7941 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7942 if test -n "$MAGIC_CMD"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7944 $as_echo "$MAGIC_CMD" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7954 if test -z "$lt_cv_path_MAGIC_CMD"; then
7955 if test -n "$ac_tool_prefix"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7957 $as_echo_n "checking for file... " >&6; }
7958 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7959 $as_echo_n "(cached) " >&6
7963 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7966 lt_save_MAGIC_CMD="$MAGIC_CMD"
7967 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7968 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7969 for ac_dir in $ac_dummy; do
7971 test -z "$ac_dir" && ac_dir=.
7972 if test -f $ac_dir/file; then
7973 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7974 if test -n "$file_magic_test_file"; then
7975 case $deplibs_check_method in
7977 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7978 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7979 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7980 $EGREP "$file_magic_regex" > /dev/null; then
7985 *** Warning: the command libtool uses to detect shared libraries,
7986 *** $file_magic_cmd, produces output that libtool cannot recognize.
7987 *** The result is that libtool may fail to recognize shared libraries
7988 *** as such. This will affect the creation of libtool libraries that
7989 *** depend on shared libraries, but programs linked with such libtool
7990 *** libraries will work regardless of this problem. Nevertheless, you
7991 *** may want to report the problem to your system manager and/or to
7992 *** bug-libtool@gnu.org
8002 MAGIC_CMD="$lt_save_MAGIC_CMD"
8007 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8008 if test -n "$MAGIC_CMD"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8010 $as_echo "$MAGIC_CMD" >&6; }
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8013 $as_echo "no" >&6; }
8026 # Use C for the default configuration in the libtool script
8030 ac_cpp='$CPP $CPPFLAGS'
8031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8036 # Source file extension for C test sources.
8039 # Object file extension for compiled C test sources.
8043 # Code to be used in simple compile tests
8044 lt_simple_compile_test_code="int some_variable = 0;"
8046 # Code to be used in simple link tests
8047 lt_simple_link_test_code='int main(){return(0);}'
8055 # If no C compiler was specified, use CC.
8058 # If no C compiler flags were specified, use CFLAGS.
8059 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8061 # Allow CC to be a program name with arguments.
8064 # Save the default compiler, since it gets overwritten when the other
8065 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8066 compiler_DEFAULT=$CC
8068 # save warnings/boilerplate of simple test code
8069 ac_outfile=conftest.$ac_objext
8070 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8071 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8072 _lt_compiler_boilerplate=`cat conftest.err`
8075 ac_outfile=conftest.$ac_objext
8076 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8077 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8078 _lt_linker_boilerplate=`cat conftest.err`
8083 ## There is no encapsulation within the following macros, do not change
8084 ## the running order or otherwise move them around unless you know exactly
8085 ## what you are doing...
8086 if test -n "$compiler"; then
8088 lt_prog_compiler_no_builtin_flag=
8090 if test "$GCC" = yes; then
8091 case $cc_basename in
8093 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8095 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8099 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8100 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8101 $as_echo_n "(cached) " >&6
8103 lt_cv_prog_compiler_rtti_exceptions=no
8104 ac_outfile=conftest.$ac_objext
8105 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8106 lt_compiler_flag="-fno-rtti -fno-exceptions"
8107 # Insert the option either (1) after the last *FLAGS variable, or
8108 # (2) before a word containing "conftest.", or (3) at the end.
8109 # Note that $ac_compile itself does not contain backslashes and begins
8110 # with a dollar sign (not a hyphen), so the echo should work correctly.
8111 # The option is referenced via a variable to avoid confusing sed.
8112 lt_compile=`echo "$ac_compile" | $SED \
8113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8115 -e 's:$: $lt_compiler_flag:'`
8116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8117 (eval "$lt_compile" 2>conftest.err)
8119 cat conftest.err >&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 if (exit $ac_status) && test -s "$ac_outfile"; then
8122 # The compiler can only warn and ignore the option if not recognized
8123 # So say no if there are warnings other than the usual output.
8124 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8125 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8126 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8127 lt_cv_prog_compiler_rtti_exceptions=yes
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8134 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8136 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8137 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8149 lt_prog_compiler_wl=
8150 lt_prog_compiler_pic=
8151 lt_prog_compiler_static=
8154 if test "$GCC" = yes; then
8155 lt_prog_compiler_wl='-Wl,'
8156 lt_prog_compiler_static='-static'
8160 # All AIX code is PIC.
8161 if test "$host_cpu" = ia64; then
8162 # AIX 5 now supports IA64 processor
8163 lt_prog_compiler_static='-Bstatic'
8170 # see comment about AmigaOS4 .so support
8171 lt_prog_compiler_pic='-fPIC'
8174 # FIXME: we need at least 68020 code to build shared libraries, but
8175 # adding the `-m68020' flag to GCC prevents building anything better,
8177 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8182 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8183 # PIC is the default for these OSes.
8186 mingw* | cygwin* | pw32* | os2* | cegcc*)
8187 # This hack is so that the source file can tell whether it is being
8188 # built for inclusion in a dll (and should export symbols for example).
8189 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8190 # (--disable-auto-import) libraries
8191 lt_prog_compiler_pic='-DDLL_EXPORT'
8194 darwin* | rhapsody*)
8195 # PIC is the default on this platform
8196 # Common symbols not allowed in MH_DYLIB files
8197 lt_prog_compiler_pic='-fno-common'
8201 # PIC is the default for Haiku.
8202 # The "-static" flag exists, but is broken.
8203 lt_prog_compiler_static=
8207 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8208 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8209 # sets the default TLS model and affects inlining.
8215 lt_prog_compiler_pic='-fPIC'
8221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8222 # Instead, we relocate shared libraries at runtime.
8226 # Just because we use GCC doesn't mean we suddenly get shared libraries
8227 # on systems that don't support them.
8228 lt_prog_compiler_can_build_shared=no
8233 # QNX uses GNU C++, but need to define -shared option too, otherwise
8235 lt_prog_compiler_pic='-fPIC -shared'
8239 if test -d /usr/nec; then
8240 lt_prog_compiler_pic=-Kconform_pic
8245 lt_prog_compiler_pic='-fPIC'
8249 case $cc_basename in
8250 nvcc*) # Cuda Compiler Driver 2.2
8251 lt_prog_compiler_wl='-Xlinker '
8252 if test -n "$lt_prog_compiler_pic"; then
8253 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8258 # PORTME Check for flag to pass linker flags through the system compiler.
8261 lt_prog_compiler_wl='-Wl,'
8262 if test "$host_cpu" = ia64; then
8263 # AIX 5 now supports IA64 processor
8264 lt_prog_compiler_static='-Bstatic'
8266 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8270 mingw* | cygwin* | pw32* | os2* | cegcc*)
8271 # This hack is so that the source file can tell whether it is being
8272 # built for inclusion in a dll (and should export symbols for example).
8273 lt_prog_compiler_pic='-DDLL_EXPORT'
8276 hpux9* | hpux10* | hpux11*)
8277 lt_prog_compiler_wl='-Wl,'
8278 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8285 lt_prog_compiler_pic='+Z'
8288 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8289 lt_prog_compiler_static='${wl}-a ${wl}archive'
8292 irix5* | irix6* | nonstopux*)
8293 lt_prog_compiler_wl='-Wl,'
8294 # PIC (with -KPIC) is the default.
8295 lt_prog_compiler_static='-non_shared'
8298 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8299 case $cc_basename in
8300 # old Intel for x86_64 which still supported -KPIC.
8302 lt_prog_compiler_wl='-Wl,'
8303 lt_prog_compiler_pic='-KPIC'
8304 lt_prog_compiler_static='-static'
8306 # icc used to be incompatible with GCC.
8307 # ICC 10 doesn't accept -KPIC any more.
8309 lt_prog_compiler_wl='-Wl,'
8310 lt_prog_compiler_pic='-fPIC'
8311 lt_prog_compiler_static='-static'
8313 # Lahey Fortran 8.1.
8315 lt_prog_compiler_wl='-Wl,'
8316 lt_prog_compiler_pic='--shared'
8317 lt_prog_compiler_static='--static'
8320 # NAG Fortran compiler
8321 lt_prog_compiler_wl='-Wl,-Wl,,'
8322 lt_prog_compiler_pic='-PIC'
8323 lt_prog_compiler_static='-Bstatic'
8325 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8326 # Portland Group compilers (*not* the Pentium gcc compiler,
8327 # which looks to be a dead project)
8328 lt_prog_compiler_wl='-Wl,'
8329 lt_prog_compiler_pic='-fpic'
8330 lt_prog_compiler_static='-Bstatic'
8333 lt_prog_compiler_wl='-Wl,'
8334 # All Alpha code is PIC.
8335 lt_prog_compiler_static='-non_shared'
8337 xl* | bgxl* | bgf* | mpixl*)
8338 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8339 lt_prog_compiler_wl='-Wl,'
8340 lt_prog_compiler_pic='-qpic'
8341 lt_prog_compiler_static='-qstaticlink'
8344 case `$CC -V 2>&1 | sed 5q` in
8345 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8346 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8347 lt_prog_compiler_pic='-KPIC'
8348 lt_prog_compiler_static='-Bstatic'
8349 lt_prog_compiler_wl=''
8351 *Sun\ F* | *Sun*Fortran*)
8352 lt_prog_compiler_pic='-KPIC'
8353 lt_prog_compiler_static='-Bstatic'
8354 lt_prog_compiler_wl='-Qoption ld '
8358 lt_prog_compiler_pic='-KPIC'
8359 lt_prog_compiler_static='-Bstatic'
8360 lt_prog_compiler_wl='-Wl,'
8362 *Intel*\ [CF]*Compiler*)
8363 lt_prog_compiler_wl='-Wl,'
8364 lt_prog_compiler_pic='-fPIC'
8365 lt_prog_compiler_static='-static'
8368 lt_prog_compiler_wl='-Wl,'
8369 lt_prog_compiler_pic='-fpic'
8370 lt_prog_compiler_static='-Bstatic'
8378 lt_prog_compiler_pic='-KPIC'
8379 lt_prog_compiler_static='-Bstatic'
8383 # QNX uses GNU C++, but need to define -shared option too, otherwise
8385 lt_prog_compiler_pic='-fPIC -shared'
8388 osf3* | osf4* | osf5*)
8389 lt_prog_compiler_wl='-Wl,'
8390 # All OSF/1 code is PIC.
8391 lt_prog_compiler_static='-non_shared'
8395 lt_prog_compiler_static='-non_shared'
8399 lt_prog_compiler_pic='-KPIC'
8400 lt_prog_compiler_static='-Bstatic'
8401 case $cc_basename in
8402 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8403 lt_prog_compiler_wl='-Qoption ld ';;
8405 lt_prog_compiler_wl='-Wl,';;
8410 lt_prog_compiler_wl='-Qoption ld '
8411 lt_prog_compiler_pic='-PIC'
8412 lt_prog_compiler_static='-Bstatic'
8415 sysv4 | sysv4.2uw2* | sysv4.3*)
8416 lt_prog_compiler_wl='-Wl,'
8417 lt_prog_compiler_pic='-KPIC'
8418 lt_prog_compiler_static='-Bstatic'
8422 if test -d /usr/nec ;then
8423 lt_prog_compiler_pic='-Kconform_pic'
8424 lt_prog_compiler_static='-Bstatic'
8428 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8429 lt_prog_compiler_wl='-Wl,'
8430 lt_prog_compiler_pic='-KPIC'
8431 lt_prog_compiler_static='-Bstatic'
8435 lt_prog_compiler_wl='-Wl,'
8436 lt_prog_compiler_can_build_shared=no
8440 lt_prog_compiler_pic='-pic'
8441 lt_prog_compiler_static='-Bstatic'
8445 lt_prog_compiler_can_build_shared=no
8451 # For platforms which do not support PIC, -DPIC is meaningless:
8453 lt_prog_compiler_pic=
8456 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8461 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8462 if ${lt_cv_prog_compiler_pic+:} false; then :
8463 $as_echo_n "(cached) " >&6
8465 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8468 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8469 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8472 # Check to make sure the PIC flag actually works.
8474 if test -n "$lt_prog_compiler_pic"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8476 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8477 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8478 $as_echo_n "(cached) " >&6
8480 lt_cv_prog_compiler_pic_works=no
8481 ac_outfile=conftest.$ac_objext
8482 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8483 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8484 # Insert the option either (1) after the last *FLAGS variable, or
8485 # (2) before a word containing "conftest.", or (3) at the end.
8486 # Note that $ac_compile itself does not contain backslashes and begins
8487 # with a dollar sign (not a hyphen), so the echo should work correctly.
8488 # The option is referenced via a variable to avoid confusing sed.
8489 lt_compile=`echo "$ac_compile" | $SED \
8490 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8492 -e 's:$: $lt_compiler_flag:'`
8493 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8494 (eval "$lt_compile" 2>conftest.err)
8496 cat conftest.err >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 if (exit $ac_status) && test -s "$ac_outfile"; then
8499 # The compiler can only warn and ignore the option if not recognized
8500 # So say no if there are warnings other than the usual output.
8501 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8502 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8503 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8504 lt_cv_prog_compiler_pic_works=yes
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8511 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8513 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8514 case $lt_prog_compiler_pic in
8516 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8519 lt_prog_compiler_pic=
8520 lt_prog_compiler_can_build_shared=no
8536 # Check to make sure the static flag actually works.
8538 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8540 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8541 if ${lt_cv_prog_compiler_static_works+:} false; then :
8542 $as_echo_n "(cached) " >&6
8544 lt_cv_prog_compiler_static_works=no
8545 save_LDFLAGS="$LDFLAGS"
8546 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8547 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8548 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8549 # The linker can only warn and ignore the option if not recognized
8550 # So say no if there are warnings
8551 if test -s conftest.err; then
8552 # Append any errors to the config.log.
8553 cat conftest.err 1>&5
8554 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8555 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8556 if diff conftest.exp conftest.er2 >/dev/null; then
8557 lt_cv_prog_compiler_static_works=yes
8560 lt_cv_prog_compiler_static_works=yes
8564 LDFLAGS="$save_LDFLAGS"
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8568 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8570 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8573 lt_prog_compiler_static=
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8583 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8584 if ${lt_cv_prog_compiler_c_o+:} false; then :
8585 $as_echo_n "(cached) " >&6
8587 lt_cv_prog_compiler_c_o=no
8588 $RM -r conftest 2>/dev/null
8592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8594 lt_compiler_flag="-o out/conftest2.$ac_objext"
8595 # Insert the option either (1) after the last *FLAGS variable, or
8596 # (2) before a word containing "conftest.", or (3) at the end.
8597 # Note that $ac_compile itself does not contain backslashes and begins
8598 # with a dollar sign (not a hyphen), so the echo should work correctly.
8599 lt_compile=`echo "$ac_compile" | $SED \
8600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8602 -e 's:$: $lt_compiler_flag:'`
8603 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8604 (eval "$lt_compile" 2>out/conftest.err)
8606 cat out/conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8610 # The compiler can only warn and ignore the option if not recognized
8611 # So say no if there are warnings
8612 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8613 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8614 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8615 lt_cv_prog_compiler_c_o=yes
8620 # SGI C++ compiler will create directory out/ii_files/ for
8621 # template instantiation
8622 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8623 $RM out/* && rmdir out
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8630 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8638 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8639 if ${lt_cv_prog_compiler_c_o+:} false; then :
8640 $as_echo_n "(cached) " >&6
8642 lt_cv_prog_compiler_c_o=no
8643 $RM -r conftest 2>/dev/null
8647 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8649 lt_compiler_flag="-o out/conftest2.$ac_objext"
8650 # Insert the option either (1) after the last *FLAGS variable, or
8651 # (2) before a word containing "conftest.", or (3) at the end.
8652 # Note that $ac_compile itself does not contain backslashes and begins
8653 # with a dollar sign (not a hyphen), so the echo should work correctly.
8654 lt_compile=`echo "$ac_compile" | $SED \
8655 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8657 -e 's:$: $lt_compiler_flag:'`
8658 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8659 (eval "$lt_compile" 2>out/conftest.err)
8661 cat out/conftest.err >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8665 # The compiler can only warn and ignore the option if not recognized
8666 # So say no if there are warnings
8667 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8668 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8669 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8670 lt_cv_prog_compiler_c_o=yes
8675 # SGI C++ compiler will create directory out/ii_files/ for
8676 # template instantiation
8677 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8678 $RM out/* && rmdir out
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8685 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8690 hard_links="nottested"
8691 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8692 # do not overwrite the value of need_locks provided by the user
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8694 $as_echo_n "checking if we can lock with hard links... " >&6; }
8697 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8699 ln conftest.a conftest.b 2>&5 || hard_links=no
8700 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8702 $as_echo "$hard_links" >&6; }
8703 if test "$hard_links" = no; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8705 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8718 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8721 allow_undefined_flag=
8722 always_export_symbols=no
8724 archive_expsym_cmds=
8725 compiler_needs_object=no
8726 enable_shared_with_static_runtimes=no
8727 export_dynamic_flag_spec=
8728 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8729 hardcode_automatic=no
8731 hardcode_direct_absolute=no
8732 hardcode_libdir_flag_spec=
8733 hardcode_libdir_separator=
8735 hardcode_shlibpath_var=unsupported
8737 link_all_deplibs=unknown
8740 old_archive_from_new_cmds=
8741 old_archive_from_expsyms_cmds=
8742 thread_safe_flag_spec=
8743 whole_archive_flag_spec=
8744 # include_expsyms should be a list of space-separated symbols to be *always*
8745 # included in the symbol list
8747 # exclude_expsyms can be an extended regexp of symbols to exclude
8748 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8749 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8750 # as well as any symbol that contains `d'.
8751 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8752 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8753 # platforms (ab)use it in PIC code, but their linkers get confused if
8754 # the symbol is explicitly referenced. Since portable code cannot
8755 # rely on this symbol name, it's probably fine to never include it in
8756 # preloaded symbol tables.
8757 # Exclude shared library initialization/finalization symbols.
8758 extract_expsyms_cmds=
8761 cygwin* | mingw* | pw32* | cegcc*)
8762 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8763 # When not using gcc, we currently assume that we are using
8764 # Microsoft Visual C++.
8765 if test "$GCC" != yes; then
8770 # we just hope/assume this is gcc and not c89 (= MSVC++)
8780 # On some targets, GNU ld is compatible enough with the native linker
8781 # that we're better off using the native interface for both.
8782 lt_use_gnu_ld_interface=no
8783 if test "$with_gnu_ld" = yes; then
8786 # The AIX port of GNU ld has always aspired to compatibility
8787 # with the native linker. However, as the warning in the GNU ld
8788 # block says, versions before 2.19.5* couldn't really create working
8789 # shared libraries, regardless of the interface used.
8790 case `$LD -v 2>&1` in
8791 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8792 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8793 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8795 lt_use_gnu_ld_interface=yes
8800 lt_use_gnu_ld_interface=yes
8805 if test "$lt_use_gnu_ld_interface" = yes; then
8806 # If archive_cmds runs LD, not CC, wlarc should be empty
8809 # Set some defaults for GNU ld with shared library support. These
8810 # are reset later if shared libraries are not supported. Putting them
8811 # here allows them to be overridden if necessary.
8812 runpath_var=LD_RUN_PATH
8813 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8814 export_dynamic_flag_spec='${wl}--export-dynamic'
8815 # ancient GNU ld didn't support --whole-archive et. al.
8816 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8817 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8819 whole_archive_flag_spec=
8821 supports_anon_versioning=no
8822 case `$LD -v 2>&1` in
8823 *GNU\ gold*) supports_anon_versioning=yes ;;
8824 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8825 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8826 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8827 *\ 2.11.*) ;; # other 2.11 versions
8828 *) supports_anon_versioning=yes ;;
8831 # See if GNU ld supports shared libraries.
8834 # On AIX/PPC, the GNU linker is very broken
8835 if test "$host_cpu" != ia64; then
8839 *** Warning: the GNU linker, at least up to release 2.19, is reported
8840 *** to be unable to reliably create shared libraries on AIX.
8841 *** Therefore, libtool is disabling shared libraries support. If you
8842 *** really care for shared libraries, you may want to install binutils
8843 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8844 *** You will then need to restart the configuration process.
8853 # see comment about AmigaOS4 .so support
8854 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8855 archive_expsym_cmds=''
8858 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)'
8859 hardcode_libdir_flag_spec='-L$libdir'
8860 hardcode_minus_L=yes
8866 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8867 allow_undefined_flag=unsupported
8868 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8869 # support --undefined. This deserves some investigation. FIXME
8870 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8876 cygwin* | mingw* | pw32* | cegcc*)
8877 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8878 # as there is no search path for DLLs.
8879 hardcode_libdir_flag_spec='-L$libdir'
8880 export_dynamic_flag_spec='${wl}--export-all-symbols'
8881 allow_undefined_flag=unsupported
8882 always_export_symbols=no
8883 enable_shared_with_static_runtimes=yes
8884 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'
8885 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8887 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8888 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8889 # If the export-symbols file already is a .def file (1st line
8890 # is EXPORTS), use it as is; otherwise, prepend...
8891 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8892 cp $export_symbols $output_objdir/$soname.def;
8894 echo EXPORTS > $output_objdir/$soname.def;
8895 cat $export_symbols >> $output_objdir/$soname.def;
8897 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8904 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8905 link_all_deplibs=yes
8910 hardcode_shlibpath_var=no
8911 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8912 export_dynamic_flag_spec='${wl}-E'
8913 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8914 # Instead, shared libraries are loaded at an image base (0x10000000 by
8915 # default) and relocated if they conflict, which is a slow very memory
8916 # consuming and fragmenting process. To avoid this, we pick a random,
8917 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8918 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8919 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8920 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'
8923 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8925 if test "$host_os" = linux-dietlibc; then
8926 case $cc_basename in
8927 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8930 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8931 && test "$tmp_diet" = no
8933 tmp_addflag=' $pic_flag'
8934 tmp_sharedflag='-shared'
8935 case $cc_basename,$host_cpu in
8936 pgcc*) # Portland Group C compiler
8937 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'
8938 tmp_addflag=' $pic_flag'
8940 pgf77* | pgf90* | pgf95* | pgfortran*)
8941 # Portland Group f77 and f90 compilers
8942 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'
8943 tmp_addflag=' $pic_flag -Mnomain' ;;
8944 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8945 tmp_addflag=' -i_dynamic' ;;
8946 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8947 tmp_addflag=' -i_dynamic -nofor_main' ;;
8948 ifc* | ifort*) # Intel Fortran compiler
8949 tmp_addflag=' -nofor_main' ;;
8950 lf95*) # Lahey Fortran 8.1
8951 whole_archive_flag_spec=
8952 tmp_sharedflag='--shared' ;;
8953 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8954 tmp_sharedflag='-qmkshrobj'
8956 nvcc*) # Cuda Compiler Driver 2.2
8957 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'
8958 compiler_needs_object=yes
8961 case `$CC -V 2>&1 | sed 5q` in
8962 *Sun\ C*) # Sun C 5.9
8963 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'
8964 compiler_needs_object=yes
8965 tmp_sharedflag='-G' ;;
8966 *Sun\ F*) # Sun Fortran 8.3
8967 tmp_sharedflag='-G' ;;
8969 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8971 if test "x$supports_anon_versioning" = xyes; then
8972 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8973 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8974 echo "local: *; };" >> $output_objdir/$libname.ver~
8975 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8978 case $cc_basename in
8979 xlf* | bgf* | bgxlf* | mpixlf*)
8980 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8981 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8983 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8984 if test "x$supports_anon_versioning" = xyes; then
8985 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8986 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8987 echo "local: *; };" >> $output_objdir/$libname.ver~
8988 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8998 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8999 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9002 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9003 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9008 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9012 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9013 *** create shared libraries on Solaris systems. Therefore, libtool
9014 *** is disabling shared libraries support. We urge you to upgrade GNU
9015 *** binutils to release 2.9.1 or newer. Another option is to modify
9016 *** your PATH or compiler configuration so that the native linker is
9017 *** used, and then restart.
9020 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9021 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9022 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9028 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9029 case `$LD -v 2>&1` in
9030 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9034 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9035 *** reliably create shared libraries on SCO systems. Therefore, libtool
9036 *** is disabling shared libraries support. We urge you to upgrade GNU
9037 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9038 *** your PATH or compiler configuration so that the native linker is
9039 *** used, and then restart.
9044 # For security reasons, it is highly recommended that you always
9045 # use absolute paths for naming shared libraries, and exclude the
9046 # DT_RUNPATH tag from executables and libraries. But doing so
9047 # requires that you compile everything twice, which is a pain.
9048 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9050 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9051 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9060 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9063 hardcode_shlibpath_var=no
9067 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9068 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9069 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9076 if test "$ld_shlibs" = no; then
9078 hardcode_libdir_flag_spec=
9079 export_dynamic_flag_spec=
9080 whole_archive_flag_spec=
9083 # PORTME fill in a description of your system's linker (not GNU ld)
9086 allow_undefined_flag=unsupported
9087 always_export_symbols=yes
9088 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'
9089 # Note: this linker hardcodes the directories in LIBPATH if there
9090 # are no directories specified by -L.
9091 hardcode_minus_L=yes
9092 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9093 # Neither direct hardcoding nor static linking is supported with a
9095 hardcode_direct=unsupported
9100 if test "$host_cpu" = ia64; then
9101 # On IA64, the linker does run time linking by default, so we don't
9102 # have to do anything special.
9103 aix_use_runtimelinking=no
9104 exp_sym_flag='-Bexport'
9107 # If we're using GNU nm, then we don't want the "-C" option.
9108 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9109 # Also, AIX nm treats weak defined symbols like other global
9110 # defined symbols, whereas GNU nm marks them as "W".
9111 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9112 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'
9114 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'
9116 aix_use_runtimelinking=no
9118 # Test if we are trying to use run time linking or normal
9119 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9120 # need to do runtime linking.
9121 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9122 for ld_flag in $LDFLAGS; do
9123 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9124 aix_use_runtimelinking=yes
9131 exp_sym_flag='-bexport'
9132 no_entry_flag='-bnoentry'
9135 # When large executables or shared objects are built, AIX ld can
9136 # have problems creating the table of contents. If linking a library
9137 # or program results in "error TOC overflow" add -mminimal-toc to
9138 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9139 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9143 hardcode_direct_absolute=yes
9144 hardcode_libdir_separator=':'
9145 link_all_deplibs=yes
9146 file_list_spec='${wl}-f,'
9148 if test "$GCC" = yes; then
9149 case $host_os in aix4.[012]|aix4.[012].*)
9150 # We only want to do this on AIX 4.2 and lower, the check
9151 # below for broken collect2 doesn't work under 4.3+
9152 collect2name=`${CC} -print-prog-name=collect2`
9153 if test -f "$collect2name" &&
9154 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9156 # We have reworked collect2
9159 # We have old collect2
9160 hardcode_direct=unsupported
9161 # It fails to find uninstalled libraries when the uninstalled
9162 # path is not listed in the libpath. Setting hardcode_minus_L
9163 # to unsupported forces relinking
9164 hardcode_minus_L=yes
9165 hardcode_libdir_flag_spec='-L$libdir'
9166 hardcode_libdir_separator=
9170 shared_flag='-shared'
9171 if test "$aix_use_runtimelinking" = yes; then
9172 shared_flag="$shared_flag "'${wl}-G'
9176 if test "$host_cpu" = ia64; then
9177 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9178 # chokes on -Wl,-G. The following line is correct:
9181 if test "$aix_use_runtimelinking" = yes; then
9182 shared_flag='${wl}-G'
9184 shared_flag='${wl}-bM:SRE'
9189 export_dynamic_flag_spec='${wl}-bexpall'
9190 # It seems that -bexpall does not export symbols beginning with
9191 # underscore (_), so it is better to generate a list of symbols to export.
9192 always_export_symbols=yes
9193 if test "$aix_use_runtimelinking" = yes; then
9194 # Warning - without using the other runtime loading flags (-brtl),
9195 # -berok will link without error, but may produce a broken library.
9196 allow_undefined_flag='-berok'
9197 # Determine the default libpath from the value encoded in an
9199 if test "${lt_cv_aix_libpath+set}" = set; then
9200 aix_libpath=$lt_cv_aix_libpath
9202 if ${lt_cv_aix_libpath_+:} false; then :
9203 $as_echo_n "(cached) " >&6
9205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9206 /* end confdefs.h. */
9216 if ac_fn_c_try_link "$LINENO"; then :
9218 lt_aix_libpath_sed='
9219 /Import File Strings/,/^$/ {
9221 s/^0 *\([^ ]*\) *$/\1/
9225 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9226 # Check for a 64-bit object if we didn't find anything.
9227 if test -z "$lt_cv_aix_libpath_"; then
9228 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9231 rm -f core conftest.err conftest.$ac_objext \
9232 conftest$ac_exeext conftest.$ac_ext
9233 if test -z "$lt_cv_aix_libpath_"; then
9234 lt_cv_aix_libpath_="/usr/lib:/lib"
9239 aix_libpath=$lt_cv_aix_libpath_
9242 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9243 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"
9245 if test "$host_cpu" = ia64; then
9246 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9247 allow_undefined_flag="-z nodefs"
9248 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"
9250 # Determine the default libpath from the value encoded in an
9252 if test "${lt_cv_aix_libpath+set}" = set; then
9253 aix_libpath=$lt_cv_aix_libpath
9255 if ${lt_cv_aix_libpath_+:} false; then :
9256 $as_echo_n "(cached) " >&6
9258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9259 /* end confdefs.h. */
9269 if ac_fn_c_try_link "$LINENO"; then :
9271 lt_aix_libpath_sed='
9272 /Import File Strings/,/^$/ {
9274 s/^0 *\([^ ]*\) *$/\1/
9278 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9279 # Check for a 64-bit object if we didn't find anything.
9280 if test -z "$lt_cv_aix_libpath_"; then
9281 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9284 rm -f core conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286 if test -z "$lt_cv_aix_libpath_"; then
9287 lt_cv_aix_libpath_="/usr/lib:/lib"
9292 aix_libpath=$lt_cv_aix_libpath_
9295 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9296 # Warning - without using the other run time loading flags,
9297 # -berok will link without error, but may produce a broken library.
9298 no_undefined_flag=' ${wl}-bernotok'
9299 allow_undefined_flag=' ${wl}-berok'
9300 if test "$with_gnu_ld" = yes; then
9301 # We only use this code for GNU lds that support --whole-archive.
9302 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9304 # Exported symbols can be pulled into shared objects from archives
9305 whole_archive_flag_spec='$convenience'
9307 archive_cmds_need_lc=yes
9308 # This is similar to how AIX traditionally builds its shared libraries.
9309 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'
9317 # see comment about AmigaOS4 .so support
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 archive_expsym_cmds=''
9322 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)'
9323 hardcode_libdir_flag_spec='-L$libdir'
9324 hardcode_minus_L=yes
9330 export_dynamic_flag_spec=-rdynamic
9333 cygwin* | mingw* | pw32* | cegcc*)
9334 # When not using gcc, we currently assume that we are using
9335 # Microsoft Visual C++.
9336 # hardcode_libdir_flag_spec is actually meaningless, as there is
9337 # no search path for DLLs.
9338 case $cc_basename in
9341 hardcode_libdir_flag_spec=' '
9342 allow_undefined_flag=unsupported
9343 always_export_symbols=yes
9345 # Tell ltmain to make .lib files, not .a files.
9347 # Tell ltmain to make .dll files, not .so files.
9349 # FIXME: Setting linknames here is a bad hack.
9350 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9351 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9352 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9354 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9356 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9358 # The linker will not automatically build a static lib if we build a DLL.
9359 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9360 enable_shared_with_static_runtimes=yes
9361 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9362 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9364 old_postinstall_cmds='chmod 644 $oldlib'
9365 postlink_cmds='lt_outputfile="@OUTPUT@"~
9366 lt_tool_outputfile="@TOOL_OUTPUT@"~
9367 case $lt_outputfile in
9370 lt_outputfile="$lt_outputfile.exe"
9371 lt_tool_outputfile="$lt_tool_outputfile.exe"
9374 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9375 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9376 $RM "$lt_outputfile.manifest";
9380 # Assume MSVC wrapper
9381 hardcode_libdir_flag_spec=' '
9382 allow_undefined_flag=unsupported
9383 # Tell ltmain to make .lib files, not .a files.
9385 # Tell ltmain to make .dll files, not .so files.
9387 # FIXME: Setting linknames here is a bad hack.
9388 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9389 # The linker will automatically build a .lib file if we build a DLL.
9390 old_archive_from_new_cmds='true'
9391 # FIXME: Should let the user specify the lib program.
9392 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9393 enable_shared_with_static_runtimes=yes
9398 darwin* | rhapsody*)
9401 archive_cmds_need_lc=no
9403 hardcode_automatic=yes
9404 hardcode_shlibpath_var=unsupported
9405 if test "$lt_cv_ld_force_load" = "yes"; then
9406 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\"`'
9409 whole_archive_flag_spec=''
9411 link_all_deplibs=yes
9412 allow_undefined_flag="$_lt_dar_allow_undefined"
9413 case $cc_basename in
9414 ifort*) _lt_dar_can_shared=yes ;;
9415 *) _lt_dar_can_shared=$GCC ;;
9417 if test "$_lt_dar_can_shared" = "yes"; then
9418 output_verbose_link_cmd=func_echo_all
9419 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9420 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9421 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}"
9422 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}"
9431 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9432 hardcode_libdir_flag_spec='-L$libdir'
9433 hardcode_shlibpath_var=no
9436 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9437 # support. Future versions do this automatically, but an explicit c++rt0.o
9438 # does not break anything, and helps significantly (at the cost of a little
9441 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9442 hardcode_libdir_flag_spec='-R$libdir'
9444 hardcode_shlibpath_var=no
9447 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9449 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9451 hardcode_minus_L=yes
9452 hardcode_shlibpath_var=no
9455 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9456 freebsd* | dragonfly*)
9457 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9458 hardcode_libdir_flag_spec='-R$libdir'
9460 hardcode_shlibpath_var=no
9464 if test "$GCC" = yes; then
9465 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'
9467 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'
9469 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9470 hardcode_libdir_separator=:
9473 # hardcode_minus_L: Not really in the search PATH,
9474 # but as the default location of the library.
9475 hardcode_minus_L=yes
9476 export_dynamic_flag_spec='${wl}-E'
9480 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9481 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9483 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9485 if test "$with_gnu_ld" = no; then
9486 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9487 hardcode_libdir_separator=:
9489 hardcode_direct_absolute=yes
9490 export_dynamic_flag_spec='${wl}-E'
9491 # hardcode_minus_L: Not really in the search PATH,
9492 # but as the default location of the library.
9493 hardcode_minus_L=yes
9498 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9501 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9504 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9507 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9513 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9516 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9520 # Older versions of the 11.00 compiler do not understand -b yet
9521 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9523 $as_echo_n "checking if $CC understands -b... " >&6; }
9524 if ${lt_cv_prog_compiler__b+:} false; then :
9525 $as_echo_n "(cached) " >&6
9527 lt_cv_prog_compiler__b=no
9528 save_LDFLAGS="$LDFLAGS"
9529 LDFLAGS="$LDFLAGS -b"
9530 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9531 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9532 # The linker can only warn and ignore the option if not recognized
9533 # So say no if there are warnings
9534 if test -s conftest.err; then
9535 # Append any errors to the config.log.
9536 cat conftest.err 1>&5
9537 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9538 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9539 if diff conftest.exp conftest.er2 >/dev/null; then
9540 lt_cv_prog_compiler__b=yes
9543 lt_cv_prog_compiler__b=yes
9547 LDFLAGS="$save_LDFLAGS"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9551 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9553 if test x"$lt_cv_prog_compiler__b" = xyes; then
9554 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9562 if test "$with_gnu_ld" = no; then
9563 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9564 hardcode_libdir_separator=:
9569 hardcode_shlibpath_var=no
9573 hardcode_direct_absolute=yes
9574 export_dynamic_flag_spec='${wl}-E'
9576 # hardcode_minus_L: Not really in the search PATH,
9577 # but as the default location of the library.
9578 hardcode_minus_L=yes
9584 irix5* | irix6* | nonstopux*)
9585 if test "$GCC" = yes; then
9586 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'
9587 # Try to use the -exported_symbol ld option, if it does not
9588 # work, assume that -exports_file does not work either and
9589 # implicitly export all symbols.
9590 # This should be the same for all languages, so no per-tag cache variable.
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9592 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9593 if ${lt_cv_irix_exported_symbol+:} false; then :
9594 $as_echo_n "(cached) " >&6
9596 save_LDFLAGS="$LDFLAGS"
9597 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9600 int foo (void) { return 0; }
9602 if ac_fn_c_try_link "$LINENO"; then :
9603 lt_cv_irix_exported_symbol=yes
9605 lt_cv_irix_exported_symbol=no
9607 rm -f core conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9609 LDFLAGS="$save_LDFLAGS"
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9612 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9613 if test "$lt_cv_irix_exported_symbol" = yes; then
9614 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'
9617 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'
9618 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'
9620 archive_cmds_need_lc='no'
9621 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9622 hardcode_libdir_separator=:
9624 link_all_deplibs=yes
9628 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9629 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9631 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9633 hardcode_libdir_flag_spec='-R$libdir'
9635 hardcode_shlibpath_var=no
9639 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9641 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9642 hardcode_libdir_separator=:
9643 hardcode_shlibpath_var=no
9650 if test -f /usr/libexec/ld.so; then
9652 hardcode_shlibpath_var=no
9653 hardcode_direct_absolute=yes
9654 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9655 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9657 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9658 export_dynamic_flag_spec='${wl}-E'
9661 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9662 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9663 hardcode_libdir_flag_spec='-R$libdir'
9666 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9667 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9677 hardcode_libdir_flag_spec='-L$libdir'
9678 hardcode_minus_L=yes
9679 allow_undefined_flag=unsupported
9680 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'
9681 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9685 if test "$GCC" = yes; then
9686 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9687 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'
9689 allow_undefined_flag=' -expect_unresolved \*'
9690 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'
9692 archive_cmds_need_lc='no'
9693 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9694 hardcode_libdir_separator=:
9697 osf4* | osf5*) # as osf3* with the addition of -msym flag
9698 if test "$GCC" = yes; then
9699 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9700 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'
9701 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9703 allow_undefined_flag=' -expect_unresolved \*'
9704 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'
9705 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~
9706 $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'
9708 # Both c and cxx compiler support -rpath directly
9709 hardcode_libdir_flag_spec='-rpath $libdir'
9711 archive_cmds_need_lc='no'
9712 hardcode_libdir_separator=:
9716 no_undefined_flag=' -z defs'
9717 if test "$GCC" = yes; then
9719 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9721 $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'
9723 case `$CC -V 2>&1` in
9726 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9728 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9732 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9733 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9734 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9738 hardcode_libdir_flag_spec='-R$libdir'
9739 hardcode_shlibpath_var=no
9741 solaris2.[0-5] | solaris2.[0-5].*) ;;
9743 # The compiler driver will combine and reorder linker options,
9744 # but understands `-z linker_flag'. GCC discards it without `$wl',
9745 # but is careful enough not to reorder.
9746 # Supported since Solaris 2.6 (maybe 2.5.1?)
9747 if test "$GCC" = yes; then
9748 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9750 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9754 link_all_deplibs=yes
9758 if test "x$host_vendor" = xsequent; then
9759 # Use $CC to link under sequent, because it throws in some extra .o
9760 # files that make .init and .fini sections work.
9761 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9763 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9765 hardcode_libdir_flag_spec='-L$libdir'
9767 hardcode_minus_L=yes
9768 hardcode_shlibpath_var=no
9772 case $host_vendor in
9774 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_direct=yes # is this really true???
9778 ## LD is ld it makes a PLAMLIB
9779 ## CC just makes a GrossModule.
9780 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9781 reload_cmds='$CC -r -o $output$reload_objs'
9785 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9786 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9789 runpath_var='LD_RUN_PATH'
9790 hardcode_shlibpath_var=no
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_shlibpath_var=no
9796 export_dynamic_flag_spec='-Bexport'
9800 if test -d /usr/nec; then
9801 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9802 hardcode_shlibpath_var=no
9803 runpath_var=LD_RUN_PATH
9804 hardcode_runpath_var=yes
9809 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9810 no_undefined_flag='${wl}-z,text'
9811 archive_cmds_need_lc=no
9812 hardcode_shlibpath_var=no
9813 runpath_var='LD_RUN_PATH'
9815 if test "$GCC" = yes; then
9816 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9817 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9819 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9820 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9824 sysv5* | sco3.2v5* | sco5v6*)
9825 # Note: We can NOT use -z defs as we might desire, because we do not
9826 # link with -lc, and that would cause any symbols used from libc to
9827 # always be unresolved, which means just about no library would
9828 # ever link correctly. If we're not using GNU ld we use -z text
9829 # though, which does catch some bad symbols but isn't as heavy-handed
9831 no_undefined_flag='${wl}-z,text'
9832 allow_undefined_flag='${wl}-z,nodefs'
9833 archive_cmds_need_lc=no
9834 hardcode_shlibpath_var=no
9835 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9836 hardcode_libdir_separator=':'
9837 link_all_deplibs=yes
9838 export_dynamic_flag_spec='${wl}-Bexport'
9839 runpath_var='LD_RUN_PATH'
9841 if test "$GCC" = yes; then
9842 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9852 hardcode_libdir_flag_spec='-L$libdir'
9853 hardcode_shlibpath_var=no
9861 if test x$host_vendor = xsni; then
9863 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9864 export_dynamic_flag_spec='${wl}-Blargedynsym'
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9871 $as_echo "$ld_shlibs" >&6; }
9872 test "$ld_shlibs" = no && can_build_shared=no
9874 with_gnu_ld=$with_gnu_ld
9891 # Do we need to explicitly link libc?
9893 case "x$archive_cmds_need_lc" in
9895 # Assume -lc should be added
9896 archive_cmds_need_lc=yes
9898 if test "$enable_shared" = yes && test "$GCC" = yes; then
9899 case $archive_cmds in
9901 # FIXME: we may have to deal with multi-command sequences.
9904 # Test whether the compiler implicitly links with -lc since on some
9905 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9906 # to ld, don't add -lc before -lgcc.
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9908 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9909 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9910 $as_echo_n "(cached) " >&6
9913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9916 (eval $ac_compile) 2>&5
9918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9919 test $ac_status = 0; } 2>conftest.err; then
9922 libobjs=conftest.$ac_objext
9924 wl=$lt_prog_compiler_wl
9925 pic_flag=$lt_prog_compiler_pic
9931 lt_save_allow_undefined_flag=$allow_undefined_flag
9932 allow_undefined_flag=
9933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9934 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9937 test $ac_status = 0; }
9939 lt_cv_archive_cmds_need_lc=no
9941 lt_cv_archive_cmds_need_lc=yes
9943 allow_undefined_flag=$lt_save_allow_undefined_flag
9945 cat conftest.err 1>&5
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9951 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9952 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10111 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10113 if test "$GCC" = yes; then
10115 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10116 *) lt_awk_arg="/^libraries:/" ;;
10119 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10120 *) lt_sed_strip_eq="s,=/,/,g" ;;
10122 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10123 case $lt_search_path_spec in
10125 # if the path contains ";" then we assume it to be the separator
10126 # otherwise default to the standard path separator (i.e. ":") - it is
10127 # assumed that no part of a normal pathname contains ";" but that should
10128 # okay in the real world where ";" in dirpaths is itself problematic.
10129 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10132 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10135 # Ok, now we have the path, separated by spaces, we can step through it
10136 # and add multilib dir if necessary.
10137 lt_tmp_lt_search_path_spec=
10138 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10139 for lt_sys_path in $lt_search_path_spec; do
10140 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10141 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10143 test -d "$lt_sys_path" && \
10144 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10147 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10148 BEGIN {RS=" "; FS="/|\n";} {
10151 for (lt_i = NF; lt_i > 0; lt_i--) {
10152 if ($lt_i != "" && $lt_i != ".") {
10153 if ($lt_i == "..") {
10156 if (lt_count == 0) {
10157 lt_foo="/" $lt_i lt_foo;
10164 if (lt_foo != "") { lt_freq[lt_foo]++; }
10165 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10167 # AWK program above erroneously prepends '/' to C:/dos/paths
10170 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10171 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10173 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10175 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10177 library_names_spec=
10178 libname_spec='lib$name'
10182 postuninstall_cmds=
10186 shlibpath_overrides_runpath=unknown
10188 dynamic_linker="$host_os ld.so"
10189 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10190 need_lib_prefix=unknown
10191 hardcode_into_libs=no
10193 # when you set need_version to no, make sure it does not cause -set_version
10194 # flags to be left without arguments
10195 need_version=unknown
10199 version_type=linux # correct to gnu/linux during the next big refactor
10200 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10201 shlibpath_var=LIBPATH
10203 # AIX 3 has no versioning support, so we append a major version to the name.
10204 soname_spec='${libname}${release}${shared_ext}$major'
10208 version_type=linux # correct to gnu/linux during the next big refactor
10211 hardcode_into_libs=yes
10212 if test "$host_cpu" = ia64; then
10213 # AIX 5 supports IA64
10214 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10215 shlibpath_var=LD_LIBRARY_PATH
10217 # With GCC up to 2.95.x, collect2 would create an import file
10218 # for dependence libraries. The import file would start with
10219 # the line `#! .'. This would cause the generated library to
10220 # depend on `.', always an invalid library. This was fixed in
10221 # development snapshots of GCC prior to 3.0.
10223 aix4 | aix4.[01] | aix4.[01].*)
10224 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10226 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10229 can_build_shared=no
10233 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10234 # soname into executable. Probably we can add versioning support to
10235 # collect2, so additional links can be useful in future.
10236 if test "$aix_use_runtimelinking" = yes; then
10237 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10238 # instead of lib<name>.a to let people know that these are not
10239 # typical AIX shared libraries.
10240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10242 # We preserve .a as extension for shared libraries through AIX4.2
10243 # and later when we are not doing run time linking.
10244 library_names_spec='${libname}${release}.a $libname.a'
10245 soname_spec='${libname}${release}${shared_ext}$major'
10247 shlibpath_var=LIBPATH
10254 # Since July 2007 AmigaOS4 officially supports .so libraries.
10255 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10259 library_names_spec='$libname.ixlibrary $libname.a'
10260 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10261 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'
10267 library_names_spec='${libname}${shared_ext}'
10268 dynamic_linker="$host_os ld.so"
10269 shlibpath_var=LIBRARY_PATH
10273 version_type=linux # correct to gnu/linux during the next big refactor
10275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10276 soname_spec='${libname}${release}${shared_ext}$major'
10277 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10278 shlibpath_var=LD_LIBRARY_PATH
10279 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10280 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10281 # the default ld.so.conf also contains /usr/contrib/lib and
10282 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10283 # libtool to hard-code these into programs
10286 cygwin* | mingw* | pw32* | cegcc*)
10287 version_type=windows
10292 case $GCC,$cc_basename in
10295 library_names_spec='$libname.dll.a'
10296 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10297 postinstall_cmds='base_file=`basename \${file}`~
10298 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10299 dldir=$destdir/`dirname \$dlpath`~
10300 test -d \$dldir || mkdir -p \$dldir~
10301 $install_prog $dir/$dlname \$dldir/$dlname~
10302 chmod a+x \$dldir/$dlname~
10303 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10304 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10306 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10307 dlpath=$dir/\$dldll~
10309 shlibpath_overrides_runpath=yes
10313 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10314 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10316 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10319 # MinGW DLLs use traditional 'lib' prefix
10320 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10323 # pw32 DLLs use 'pw' prefix rather than 'lib'
10324 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10327 dynamic_linker='Win32 ld.exe'
10332 libname_spec='$name'
10333 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10334 library_names_spec='${libname}.dll.lib'
10338 sys_lib_search_path_spec=
10341 for lt_path in $LIB
10344 # Let DOS variable expansion print the short 8.3 style file name.
10345 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10346 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10349 # Convert to MSYS style.
10350 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10353 # Convert to unix form, then to dos form, then back to unix form
10354 # but this time dos style (no spaces!) so that the unix form looks
10355 # like /cygdrive/c/PROGRA~1:/cygdr...
10356 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10357 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10358 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10361 sys_lib_search_path_spec="$LIB"
10362 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10363 # It is most probably a Windows format PATH.
10364 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10366 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10368 # FIXME: find the short name or the path components, as spaces are
10369 # common. (e.g. "Program Files" -> "PROGRA~1")
10373 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10374 postinstall_cmds='base_file=`basename \${file}`~
10375 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10376 dldir=$destdir/`dirname \$dlpath`~
10377 test -d \$dldir || mkdir -p \$dldir~
10378 $install_prog $dir/$dlname \$dldir/$dlname'
10379 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10380 dlpath=$dir/\$dldll~
10382 shlibpath_overrides_runpath=yes
10383 dynamic_linker='Win32 link.exe'
10387 # Assume MSVC wrapper
10388 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10389 dynamic_linker='Win32 ld.exe'
10392 # FIXME: first we should search . and the directory the executable is in
10396 darwin* | rhapsody*)
10397 dynamic_linker="$host_os dyld"
10398 version_type=darwin
10401 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10402 soname_spec='${libname}${release}${major}$shared_ext'
10403 shlibpath_overrides_runpath=yes
10404 shlibpath_var=DYLD_LIBRARY_PATH
10405 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10407 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10408 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10412 version_type=linux # correct to gnu/linux during the next big refactor
10415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10416 soname_spec='${libname}${release}${shared_ext}$major'
10417 shlibpath_var=LD_LIBRARY_PATH
10420 freebsd* | dragonfly*)
10421 # DragonFly does not have aout. When/if they implement a new
10422 # versioning mechanism, adjust this.
10423 if test -x /usr/bin/objformat; then
10424 objformat=`/usr/bin/objformat`
10427 freebsd[23].*) objformat=aout ;;
10428 *) objformat=elf ;;
10431 version_type=freebsd-$objformat
10432 case $version_type in
10434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10439 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10443 shlibpath_var=LD_LIBRARY_PATH
10446 shlibpath_overrides_runpath=yes
10448 freebsd3.[01]* | freebsdelf3.[01]*)
10449 shlibpath_overrides_runpath=yes
10450 hardcode_into_libs=yes
10452 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10453 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10454 shlibpath_overrides_runpath=no
10455 hardcode_into_libs=yes
10457 *) # from 4.6 on, and DragonFly
10458 shlibpath_overrides_runpath=yes
10459 hardcode_into_libs=yes
10465 version_type=linux # correct to gnu/linux during the next big refactor
10468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10469 soname_spec='${libname}${release}${shared_ext}$major'
10470 shlibpath_var=LD_LIBRARY_PATH
10471 shlibpath_overrides_runpath=no
10472 hardcode_into_libs=yes
10476 version_type=linux # correct to gnu/linux during the next big refactor
10479 dynamic_linker="$host_os runtime_loader"
10480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10481 soname_spec='${libname}${release}${shared_ext}$major'
10482 shlibpath_var=LIBRARY_PATH
10483 shlibpath_overrides_runpath=yes
10484 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10485 hardcode_into_libs=yes
10488 hpux9* | hpux10* | hpux11*)
10489 # Give a soname corresponding to the major version so that dld.sl refuses to
10490 # link against other versions.
10497 hardcode_into_libs=yes
10498 dynamic_linker="$host_os dld.so"
10499 shlibpath_var=LD_LIBRARY_PATH
10500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 soname_spec='${libname}${release}${shared_ext}$major'
10503 if test "X$HPUX_IA64_MODE" = X32; then
10504 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10506 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10508 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10512 hardcode_into_libs=yes
10513 dynamic_linker="$host_os dld.sl"
10514 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10515 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 soname_spec='${libname}${release}${shared_ext}$major'
10518 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10519 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10523 dynamic_linker="$host_os dld.sl"
10524 shlibpath_var=SHLIB_PATH
10525 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec='${libname}${release}${shared_ext}$major'
10530 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10531 postinstall_cmds='chmod 555 $lib'
10532 # or fails outright, so override atomically:
10533 install_override_mode=555
10537 version_type=linux # correct to gnu/linux during the next big refactor
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10541 soname_spec='${libname}${release}${shared_ext}$major'
10542 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10543 shlibpath_var=LD_LIBRARY_PATH
10544 shlibpath_overrides_runpath=no
10545 hardcode_into_libs=yes
10548 irix5* | irix6* | nonstopux*)
10550 nonstopux*) version_type=nonstopux ;;
10552 if test "$lt_cv_prog_gnu_ld" = yes; then
10553 version_type=linux # correct to gnu/linux during the next big refactor
10560 soname_spec='${libname}${release}${shared_ext}$major'
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10563 irix5* | nonstopux*)
10564 libsuff= shlibsuff=
10567 case $LD in # libtool.m4 will add one of these switches to LD
10568 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10569 libsuff= shlibsuff= libmagic=32-bit;;
10570 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10571 libsuff=32 shlibsuff=N32 libmagic=N32;;
10572 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10573 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10574 *) libsuff= shlibsuff= libmagic=never-match;;
10578 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10579 shlibpath_overrides_runpath=no
10580 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10581 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10582 hardcode_into_libs=yes
10585 # No shared lib support for Linux oldld, aout, or coff.
10586 linux*oldld* | linux*aout* | linux*coff*)
10590 # This must be glibc/ELF.
10591 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10592 version_type=linux # correct to gnu/linux during the next big refactor
10595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 soname_spec='${libname}${release}${shared_ext}$major'
10597 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10598 shlibpath_var=LD_LIBRARY_PATH
10599 shlibpath_overrides_runpath=no
10601 # Some binutils ld are patched to set DT_RUNPATH
10602 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10603 $as_echo_n "(cached) " >&6
10605 lt_cv_shlibpath_overrides_runpath=no
10606 save_LDFLAGS=$LDFLAGS
10607 save_libdir=$libdir
10608 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10609 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10621 if ac_fn_c_try_link "$LINENO"; then :
10622 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10623 lt_cv_shlibpath_overrides_runpath=yes
10626 rm -f core conftest.err conftest.$ac_objext \
10627 conftest$ac_exeext conftest.$ac_ext
10628 LDFLAGS=$save_LDFLAGS
10629 libdir=$save_libdir
10633 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10635 # This implies no fast_install, which is unacceptable.
10636 # Some rework will be needed to allow for fast_install
10637 # before this can be enabled.
10638 hardcode_into_libs=yes
10640 # Append ld.so.conf contents to the search path
10641 if test -f /etc/ld.so.conf; then
10642 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' ' '`
10643 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10646 # We used to test for /lib/ld.so.1 and disable shared libraries on
10647 # powerpc, because MkLinux only supported shared libraries with the
10648 # GNU dynamic linker. Since this was broken with cross compilers,
10649 # most powerpc-linux boxes support dynamic linking these days and
10650 # people can always --disable-shared, the test was removed, and we
10651 # assume the GNU/Linux dynamic linker is in use.
10652 dynamic_linker='GNU/Linux ld.so'
10659 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10661 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10662 dynamic_linker='NetBSD (a.out) ld.so'
10664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10666 dynamic_linker='NetBSD ld.elf_so'
10668 shlibpath_var=LD_LIBRARY_PATH
10669 shlibpath_overrides_runpath=yes
10670 hardcode_into_libs=yes
10674 version_type=linux # correct to gnu/linux during the next big refactor
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 shlibpath_var=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath=yes
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10685 soname_spec='${libname}${release}${shared_ext}$major'
10686 shlibpath_var=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath=no
10688 hardcode_into_libs=yes
10689 dynamic_linker='ldqnx.so'
10694 sys_lib_dlsearch_path_spec="/usr/lib"
10696 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10698 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10699 *) need_version=no ;;
10701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10702 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10703 shlibpath_var=LD_LIBRARY_PATH
10704 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10706 openbsd2.[89] | openbsd2.[89].*)
10707 shlibpath_overrides_runpath=no
10710 shlibpath_overrides_runpath=yes
10714 shlibpath_overrides_runpath=yes
10719 libname_spec='$name'
10722 library_names_spec='$libname${shared_ext} $libname.a'
10723 dynamic_linker='OS/2 ld.exe'
10724 shlibpath_var=LIBPATH
10727 osf3* | osf4* | osf5*)
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 shlibpath_var=LD_LIBRARY_PATH
10734 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10735 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10743 version_type=linux # correct to gnu/linux during the next big refactor
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10747 soname_spec='${libname}${release}${shared_ext}$major'
10748 shlibpath_var=LD_LIBRARY_PATH
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10751 # ldd complains unless libraries are executable
10752 postinstall_cmds='chmod +x $lib'
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10758 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10759 shlibpath_var=LD_LIBRARY_PATH
10760 shlibpath_overrides_runpath=yes
10761 if test "$with_gnu_ld" = yes; then
10768 version_type=linux # correct to gnu/linux during the next big refactor
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 soname_spec='${libname}${release}${shared_ext}$major'
10771 shlibpath_var=LD_LIBRARY_PATH
10772 case $host_vendor in
10774 shlibpath_overrides_runpath=no
10776 runpath_var=LD_RUN_PATH
10784 shlibpath_overrides_runpath=no
10785 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10791 if test -d /usr/nec ;then
10792 version_type=linux # correct to gnu/linux during the next big refactor
10793 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10794 soname_spec='$libname${shared_ext}.$major'
10795 shlibpath_var=LD_LIBRARY_PATH
10799 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10800 version_type=freebsd-elf
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 shlibpath_var=LD_LIBRARY_PATH
10806 shlibpath_overrides_runpath=yes
10807 hardcode_into_libs=yes
10808 if test "$with_gnu_ld" = yes; then
10809 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10811 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10814 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10818 sys_lib_dlsearch_path_spec='/usr/lib'
10822 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10823 version_type=linux # correct to gnu/linux during the next big refactor
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 shlibpath_var=LD_LIBRARY_PATH
10828 shlibpath_overrides_runpath=no
10829 hardcode_into_libs=yes
10833 version_type=linux # correct to gnu/linux during the next big refactor
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 shlibpath_var=LD_LIBRARY_PATH
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10844 $as_echo "$dynamic_linker" >&6; }
10845 test "$dynamic_linker" = no && can_build_shared=no
10847 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10848 if test "$GCC" = yes; then
10849 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10852 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10853 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10855 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10856 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10951 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10953 if test -n "$hardcode_libdir_flag_spec" ||
10954 test -n "$runpath_var" ||
10955 test "X$hardcode_automatic" = "Xyes" ; then
10957 # We can hardcode non-existent directories.
10958 if test "$hardcode_direct" != no &&
10959 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10960 # have to relink, otherwise we might link with an installed library
10961 # when we should be linking with a yet-to-be-installed one
10962 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10963 test "$hardcode_minus_L" != no; then
10964 # Linking always hardcodes the temporary library directory.
10965 hardcode_action=relink
10967 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10968 hardcode_action=immediate
10971 # We cannot hardcode anything, or else we can only hardcode existing
10973 hardcode_action=unsupported
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10976 $as_echo "$hardcode_action" >&6; }
10978 if test "$hardcode_action" = relink ||
10979 test "$inherit_rpath" = yes; then
10980 # Fast installation is not supported
10981 enable_fast_install=no
10982 elif test "$shlibpath_overrides_runpath" = yes ||
10983 test "$enable_shared" = no; then
10984 # Fast installation is not necessary
10985 enable_fast_install=needless
10993 if test "x$enable_dlopen" != xyes; then
10994 enable_dlopen=unknown
10995 enable_dlopen_self=unknown
10996 enable_dlopen_self_static=unknown
11003 lt_cv_dlopen="load_add_on"
11005 lt_cv_dlopen_self=yes
11008 mingw* | pw32* | cegcc*)
11009 lt_cv_dlopen="LoadLibrary"
11014 lt_cv_dlopen="dlopen"
11019 # if libdl is installed we need to link against it
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11021 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11022 if ${ac_cv_lib_dl_dlopen+:} false; then :
11023 $as_echo_n "(cached) " >&6
11025 ac_check_lib_save_LIBS=$LIBS
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11045 if ac_fn_c_try_link "$LINENO"; then :
11046 ac_cv_lib_dl_dlopen=yes
11048 ac_cv_lib_dl_dlopen=no
11050 rm -f core conftest.err conftest.$ac_objext \
11051 conftest$ac_exeext conftest.$ac_ext
11052 LIBS=$ac_check_lib_save_LIBS
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11055 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11056 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11057 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11060 lt_cv_dlopen="dyld"
11062 lt_cv_dlopen_self=yes
11069 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11070 if test "x$ac_cv_func_shl_load" = xyes; then :
11071 lt_cv_dlopen="shl_load"
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11074 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11075 if ${ac_cv_lib_dld_shl_load+:} false; then :
11076 $as_echo_n "(cached) " >&6
11078 ac_check_lib_save_LIBS=$LIBS
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11083 /* Override any GCC internal prototype to avoid an error.
11084 Use char because int might match the return type of a GCC
11085 builtin and then its argument prototype would still apply. */
11093 return shl_load ();
11098 if ac_fn_c_try_link "$LINENO"; then :
11099 ac_cv_lib_dld_shl_load=yes
11101 ac_cv_lib_dld_shl_load=no
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_lib_save_LIBS
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11108 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11109 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11110 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11112 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11113 if test "x$ac_cv_func_dlopen" = xyes; then :
11114 lt_cv_dlopen="dlopen"
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11117 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11118 if ${ac_cv_lib_dl_dlopen+:} false; then :
11119 $as_echo_n "(cached) " >&6
11121 ac_check_lib_save_LIBS=$LIBS
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 ac_cv_lib_dl_dlopen=yes
11144 ac_cv_lib_dl_dlopen=no
11146 rm -f core conftest.err conftest.$ac_objext \
11147 conftest$ac_exeext conftest.$ac_ext
11148 LIBS=$ac_check_lib_save_LIBS
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11151 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11152 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11153 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11156 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11157 if ${ac_cv_lib_svld_dlopen+:} false; then :
11158 $as_echo_n "(cached) " >&6
11160 ac_check_lib_save_LIBS=$LIBS
11161 LIBS="-lsvld $LIBS"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11165 /* Override any GCC internal prototype to avoid an error.
11166 Use char because int might match the return type of a GCC
11167 builtin and then its argument prototype would still apply. */
11180 if ac_fn_c_try_link "$LINENO"; then :
11181 ac_cv_lib_svld_dlopen=yes
11183 ac_cv_lib_svld_dlopen=no
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_lib_save_LIBS
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11190 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11191 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11192 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11195 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11196 if ${ac_cv_lib_dld_dld_link+:} false; then :
11197 $as_echo_n "(cached) " >&6
11199 ac_check_lib_save_LIBS=$LIBS
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11214 return dld_link ();
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_dld_dld_link=yes
11222 ac_cv_lib_dld_dld_link=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11229 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11230 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11231 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11252 if test "x$lt_cv_dlopen" != xno; then
11258 case $lt_cv_dlopen in
11260 save_CPPFLAGS="$CPPFLAGS"
11261 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11263 save_LDFLAGS="$LDFLAGS"
11264 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11267 LIBS="$lt_cv_dlopen_libs $LIBS"
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11270 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11271 if ${lt_cv_dlopen_self+:} false; then :
11272 $as_echo_n "(cached) " >&6
11274 if test "$cross_compiling" = yes; then :
11275 lt_cv_dlopen_self=cross
11277 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11278 lt_status=$lt_dlunknown
11279 cat > conftest.$ac_ext <<_LT_EOF
11280 #line $LINENO "configure"
11281 #include "confdefs.h"
11290 # define LT_DLGLOBAL RTLD_GLOBAL
11293 # define LT_DLGLOBAL DL_GLOBAL
11295 # define LT_DLGLOBAL 0
11299 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11300 find out it does not work in some platform. */
11301 #ifndef LT_DLLAZY_OR_NOW
11303 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11306 # define LT_DLLAZY_OR_NOW DL_LAZY
11309 # define LT_DLLAZY_OR_NOW RTLD_NOW
11312 # define LT_DLLAZY_OR_NOW DL_NOW
11314 # define LT_DLLAZY_OR_NOW 0
11321 /* When -fvisbility=hidden is used, assume the code has been annotated
11322 correspondingly for the symbols needed. */
11323 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11324 int fnord () __attribute__((visibility("default")));
11327 int fnord () { return 42; }
11330 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11331 int status = $lt_dlunknown;
11335 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11338 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11339 else puts (dlerror ());
11341 /* dlclose (self); */
11349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11350 (eval $ac_link) 2>&5
11352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11353 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11354 (./conftest; exit; ) >&5 2>/dev/null
11356 case x$lt_status in
11357 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11358 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11359 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11362 # compilation failed
11363 lt_cv_dlopen_self=no
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11371 $as_echo "$lt_cv_dlopen_self" >&6; }
11373 if test "x$lt_cv_dlopen_self" = xyes; then
11374 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11376 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11377 if ${lt_cv_dlopen_self_static+:} false; then :
11378 $as_echo_n "(cached) " >&6
11380 if test "$cross_compiling" = yes; then :
11381 lt_cv_dlopen_self_static=cross
11383 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11384 lt_status=$lt_dlunknown
11385 cat > conftest.$ac_ext <<_LT_EOF
11386 #line $LINENO "configure"
11387 #include "confdefs.h"
11396 # define LT_DLGLOBAL RTLD_GLOBAL
11399 # define LT_DLGLOBAL DL_GLOBAL
11401 # define LT_DLGLOBAL 0
11405 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11406 find out it does not work in some platform. */
11407 #ifndef LT_DLLAZY_OR_NOW
11409 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11412 # define LT_DLLAZY_OR_NOW DL_LAZY
11415 # define LT_DLLAZY_OR_NOW RTLD_NOW
11418 # define LT_DLLAZY_OR_NOW DL_NOW
11420 # define LT_DLLAZY_OR_NOW 0
11427 /* When -fvisbility=hidden is used, assume the code has been annotated
11428 correspondingly for the symbols needed. */
11429 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11430 int fnord () __attribute__((visibility("default")));
11433 int fnord () { return 42; }
11436 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11437 int status = $lt_dlunknown;
11441 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11444 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11445 else puts (dlerror ());
11447 /* dlclose (self); */
11455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11456 (eval $ac_link) 2>&5
11458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11459 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11460 (./conftest; exit; ) >&5 2>/dev/null
11462 case x$lt_status in
11463 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11464 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11465 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11468 # compilation failed
11469 lt_cv_dlopen_self_static=no
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11477 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11480 CPPFLAGS="$save_CPPFLAGS"
11481 LDFLAGS="$save_LDFLAGS"
11486 case $lt_cv_dlopen_self in
11487 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11488 *) enable_dlopen_self=unknown ;;
11491 case $lt_cv_dlopen_self_static in
11492 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11493 *) enable_dlopen_self_static=unknown ;;
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11516 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11517 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11518 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11519 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11521 $as_echo "yes" >&6; }
11523 # FIXME - insert some real tests, host_os isn't really good enough
11526 if test -n "$STRIP" ; then
11527 striplib="$STRIP -x"
11528 old_striplib="$STRIP -S"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11530 $as_echo "yes" >&6; }
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533 $as_echo "no" >&6; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11538 $as_echo "no" >&6; }
11554 # Report which library types will actually be built
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11556 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11558 $as_echo "$can_build_shared" >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11561 $as_echo_n "checking whether to build shared libraries... " >&6; }
11562 test "$can_build_shared" = "no" && enable_shared=no
11564 # On AIX, shared libraries and static libraries use the same namespace, and
11565 # are all built from PIC.
11568 test "$enable_shared" = yes && enable_static=no
11569 if test -n "$RANLIB"; then
11570 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11571 postinstall_cmds='$RANLIB $lib'
11576 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11577 test "$enable_shared" = yes && enable_static=no
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11582 $as_echo "$enable_shared" >&6; }
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11585 $as_echo_n "checking whether to build static libraries... " >&6; }
11586 # Make sure either enable_shared or enable_static is yes.
11587 test "$enable_shared" = yes || enable_static=yes
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11589 $as_echo "$enable_static" >&6; }
11596 ac_cpp='$CPP $CPPFLAGS'
11597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11617 ac_config_commands="$ac_config_commands libtool"
11622 # Only expand once:
11634 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11635 if test -n "$ac_tool_prefix"; then
11636 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11637 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11639 $as_echo_n "checking for $ac_word... " >&6; }
11640 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11641 $as_echo_n "(cached) " >&6
11643 case $PKG_CONFIG in
11645 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11649 for as_dir in $PATH
11652 test -z "$as_dir" && as_dir=.
11653 for ac_exec_ext in '' $ac_executable_extensions; do
11654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11655 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11666 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11667 if test -n "$PKG_CONFIG"; then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11669 $as_echo "$PKG_CONFIG" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11672 $as_echo "no" >&6; }
11677 if test -z "$ac_cv_path_PKG_CONFIG"; then
11678 ac_pt_PKG_CONFIG=$PKG_CONFIG
11679 # Extract the first word of "pkg-config", so it can be a program name with args.
11680 set dummy pkg-config; ac_word=$2
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11682 $as_echo_n "checking for $ac_word... " >&6; }
11683 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11684 $as_echo_n "(cached) " >&6
11686 case $ac_pt_PKG_CONFIG in
11688 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11692 for as_dir in $PATH
11695 test -z "$as_dir" && as_dir=.
11696 for ac_exec_ext in '' $ac_executable_extensions; do
11697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11698 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11709 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11710 if test -n "$ac_pt_PKG_CONFIG"; then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11712 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11715 $as_echo "no" >&6; }
11718 if test "x$ac_pt_PKG_CONFIG" = x; then
11721 case $cross_compiling:$ac_tool_warned in
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11725 ac_tool_warned=yes ;;
11727 PKG_CONFIG=$ac_pt_PKG_CONFIG
11730 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11734 if test -n "$PKG_CONFIG"; then
11735 _pkg_min_version=0.9.0
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11737 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11738 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11740 $as_echo "yes" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11750 gtk_doc_requires="gtk-doc >= 1.18"
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
11752 $as_echo_n "checking for gtk-doc... " >&6; }
11753 if test -n "$PKG_CONFIG" && \
11754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
11755 ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
11757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11758 test $ac_status = 0; }; then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
11764 $as_echo "$have_gtk_doc" >&6; }
11766 if test "$have_gtk_doc" = "no"; then
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
11768 You will not be able to create source packages with 'make dist'
11769 because $gtk_doc_requires is not found." >&5
11770 $as_echo "$as_me: WARNING:
11771 You will not be able to create source packages with 'make dist'
11772 because $gtk_doc_requires is not found." >&2;}
11775 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11776 set dummy gtkdoc-check; ac_word=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11778 $as_echo_n "checking for $ac_word... " >&6; }
11779 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
11780 $as_echo_n "(cached) " >&6
11782 if test -n "$GTKDOC_CHECK"; then
11783 ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11789 test -z "$as_dir" && as_dir=.
11790 for ac_exec_ext in '' $ac_executable_extensions; do
11791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
11793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
11803 if test -n "$GTKDOC_CHECK"; then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11805 $as_echo "$GTKDOC_CHECK" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11812 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11813 set dummy gtkdoc-check; ac_word=$2
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11815 $as_echo_n "checking for $ac_word... " >&6; }
11816 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
11817 $as_echo_n "(cached) " >&6
11819 case $GTKDOC_CHECK_PATH in
11821 ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
11824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11825 for as_dir in $PATH
11828 test -z "$as_dir" && as_dir=.
11829 for ac_exec_ext in '' $ac_executable_extensions; do
11830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11831 ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
11832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11842 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
11843 if test -n "$GTKDOC_CHECK_PATH"; then
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
11845 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11852 for ac_prog in gtkdoc-rebase
11854 # Extract the first word of "$ac_prog", so it can be a program name with args.
11855 set dummy $ac_prog; ac_word=$2
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11857 $as_echo_n "checking for $ac_word... " >&6; }
11858 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
11859 $as_echo_n "(cached) " >&6
11861 case $GTKDOC_REBASE in
11863 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11867 for as_dir in $PATH
11870 test -z "$as_dir" && as_dir=.
11871 for ac_exec_ext in '' $ac_executable_extensions; do
11872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11873 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11884 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11885 if test -n "$GTKDOC_REBASE"; then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11887 $as_echo "$GTKDOC_REBASE" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11894 test -n "$GTKDOC_REBASE" && break
11896 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11898 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11899 set dummy gtkdoc-mkpdf; ac_word=$2
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11901 $as_echo_n "checking for $ac_word... " >&6; }
11902 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
11903 $as_echo_n "(cached) " >&6
11905 case $GTKDOC_MKPDF in
11907 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11911 for as_dir in $PATH
11914 test -z "$as_dir" && as_dir=.
11915 for ac_exec_ext in '' $ac_executable_extensions; do
11916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11917 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11928 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11929 if test -n "$GTKDOC_MKPDF"; then
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11931 $as_echo "$GTKDOC_MKPDF" >&6; }
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11934 $as_echo "no" >&6; }
11940 # Check whether --with-html-dir was given.
11941 if test "${with_html_dir+set}" = set; then :
11942 withval=$with_html_dir;
11944 with_html_dir='${datadir}/gtk-doc/html'
11947 HTML_DIR="$with_html_dir"
11950 # Check whether --enable-gtk-doc was given.
11951 if test "${enable_gtk_doc+set}" = set; then :
11952 enableval=$enable_gtk_doc;
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11959 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11961 $as_echo "$enable_gtk_doc" >&6; }
11963 if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
11965 You must have $gtk_doc_requires installed to build documentation for
11966 $PACKAGE_NAME. Please install gtk-doc or disable building the
11967 documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
11970 if test "x$PACKAGE_NAME" != "xglib"; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
11974 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
11976 if test -n "$GTKDOC_DEPS_CFLAGS"; then
11977 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
11978 elif test -n "$PKG_CONFIG"; then
11979 if test -n "$PKG_CONFIG" && \
11980 { { $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
11981 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
11983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11984 test $ac_status = 0; }; then
11985 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
11986 test "x$?" != "x0" && pkg_failed=yes
11993 if test -n "$GTKDOC_DEPS_LIBS"; then
11994 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
11995 elif test -n "$PKG_CONFIG"; then
11996 if test -n "$PKG_CONFIG" && \
11997 { { $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
11998 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12001 test $ac_status = 0; }; then
12002 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12003 test "x$?" != "x0" && pkg_failed=yes
12013 if test $pkg_failed = yes; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12015 $as_echo "no" >&6; }
12017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12018 _pkg_short_errors_supported=yes
12020 _pkg_short_errors_supported=no
12022 if test $_pkg_short_errors_supported = yes; then
12023 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`
12025 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12027 # Put the nasty error message in config.log where it belongs
12028 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12031 elif test $pkg_failed = untried; then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12033 $as_echo "no" >&6; }
12036 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12037 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12039 $as_echo "yes" >&6; }
12044 # Check whether --enable-gtk-doc-html was given.
12045 if test "${enable_gtk_doc_html+set}" = set; then :
12046 enableval=$enable_gtk_doc_html;
12048 enable_gtk_doc_html=yes
12051 # Check whether --enable-gtk-doc-pdf was given.
12052 if test "${enable_gtk_doc_pdf+set}" = set; then :
12053 enableval=$enable_gtk_doc_pdf;
12055 enable_gtk_doc_pdf=no
12059 if test -z "$GTKDOC_MKPDF"; then
12060 enable_gtk_doc_pdf=no
12063 if test -z "$AM_DEFAULT_VERBOSITY"; then
12064 AM_DEFAULT_VERBOSITY=1
12068 if test x$have_gtk_doc = xyes; then
12070 HAVE_GTK_DOC_FALSE='#'
12072 HAVE_GTK_DOC_TRUE='#'
12073 HAVE_GTK_DOC_FALSE=
12076 if test x$enable_gtk_doc = xyes; then
12077 ENABLE_GTK_DOC_TRUE=
12078 ENABLE_GTK_DOC_FALSE='#'
12080 ENABLE_GTK_DOC_TRUE='#'
12081 ENABLE_GTK_DOC_FALSE=
12084 if test x$enable_gtk_doc_html = xyes; then
12085 GTK_DOC_BUILD_HTML_TRUE=
12086 GTK_DOC_BUILD_HTML_FALSE='#'
12088 GTK_DOC_BUILD_HTML_TRUE='#'
12089 GTK_DOC_BUILD_HTML_FALSE=
12092 if test x$enable_gtk_doc_pdf = xyes; then
12093 GTK_DOC_BUILD_PDF_TRUE=
12094 GTK_DOC_BUILD_PDF_FALSE='#'
12096 GTK_DOC_BUILD_PDF_TRUE='#'
12097 GTK_DOC_BUILD_PDF_FALSE=
12100 if test -n "$LIBTOOL"; then
12101 GTK_DOC_USE_LIBTOOL_TRUE=
12102 GTK_DOC_USE_LIBTOOL_FALSE='#'
12104 GTK_DOC_USE_LIBTOOL_TRUE='#'
12105 GTK_DOC_USE_LIBTOOL_FALSE=
12108 if test -n "$GTKDOC_REBASE"; then
12109 GTK_DOC_USE_REBASE_TRUE=
12110 GTK_DOC_USE_REBASE_FALSE='#'
12112 GTK_DOC_USE_REBASE_TRUE='#'
12113 GTK_DOC_USE_REBASE_FALSE=
12118 # Checks for programs.
12120 ac_cpp='$CPP $CPPFLAGS'
12121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12124 if test -n "$ac_tool_prefix"; then
12125 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12126 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12128 $as_echo_n "checking for $ac_word... " >&6; }
12129 if ${ac_cv_prog_CC+:} false; then :
12130 $as_echo_n "(cached) " >&6
12132 if test -n "$CC"; then
12133 ac_cv_prog_CC="$CC" # Let the user override the test.
12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136 for as_dir in $PATH
12139 test -z "$as_dir" && as_dir=.
12140 for ac_exec_ext in '' $ac_executable_extensions; do
12141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12142 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12153 if test -n "$CC"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12155 $as_echo "$CC" >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12163 if test -z "$ac_cv_prog_CC"; then
12165 # Extract the first word of "gcc", so it can be a program name with args.
12166 set dummy gcc; ac_word=$2
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12168 $as_echo_n "checking for $ac_word... " >&6; }
12169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12170 $as_echo_n "(cached) " >&6
12172 if test -n "$ac_ct_CC"; then
12173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12176 for as_dir in $PATH
12179 test -z "$as_dir" && as_dir=.
12180 for ac_exec_ext in '' $ac_executable_extensions; do
12181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12182 ac_cv_prog_ac_ct_CC="gcc"
12183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12193 if test -n "$ac_ct_CC"; then
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12195 $as_echo "$ac_ct_CC" >&6; }
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12198 $as_echo "no" >&6; }
12201 if test "x$ac_ct_CC" = x; then
12204 case $cross_compiling:$ac_tool_warned in
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12208 ac_tool_warned=yes ;;
12213 CC="$ac_cv_prog_CC"
12216 if test -z "$CC"; then
12217 if test -n "$ac_tool_prefix"; then
12218 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12219 set dummy ${ac_tool_prefix}cc; ac_word=$2
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12221 $as_echo_n "checking for $ac_word... " >&6; }
12222 if ${ac_cv_prog_CC+:} false; then :
12223 $as_echo_n "(cached) " >&6
12225 if test -n "$CC"; then
12226 ac_cv_prog_CC="$CC" # Let the user override the test.
12228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12229 for as_dir in $PATH
12232 test -z "$as_dir" && as_dir=.
12233 for ac_exec_ext in '' $ac_executable_extensions; do
12234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12235 ac_cv_prog_CC="${ac_tool_prefix}cc"
12236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12246 if test -n "$CC"; then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12248 $as_echo "$CC" >&6; }
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12251 $as_echo "no" >&6; }
12257 if test -z "$CC"; then
12258 # Extract the first word of "cc", so it can be a program name with args.
12259 set dummy cc; ac_word=$2
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12261 $as_echo_n "checking for $ac_word... " >&6; }
12262 if ${ac_cv_prog_CC+:} false; then :
12263 $as_echo_n "(cached) " >&6
12265 if test -n "$CC"; then
12266 ac_cv_prog_CC="$CC" # Let the user override the test.
12268 ac_prog_rejected=no
12269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12270 for as_dir in $PATH
12273 test -z "$as_dir" && as_dir=.
12274 for ac_exec_ext in '' $ac_executable_extensions; do
12275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12276 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12277 ac_prog_rejected=yes
12281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12288 if test $ac_prog_rejected = yes; then
12289 # We found a bogon in the path, so make sure we never use it.
12290 set dummy $ac_cv_prog_CC
12292 if test $# != 0; then
12293 # We chose a different compiler from the bogus one.
12294 # However, it has the same basename, so the bogon will be chosen
12295 # first if we set CC to just the basename; use the full file name.
12297 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12303 if test -n "$CC"; then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12305 $as_echo "$CC" >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12308 $as_echo "no" >&6; }
12313 if test -z "$CC"; then
12314 if test -n "$ac_tool_prefix"; then
12315 for ac_prog in cl.exe
12317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12320 $as_echo_n "checking for $ac_word... " >&6; }
12321 if ${ac_cv_prog_CC+:} false; then :
12322 $as_echo_n "(cached) " >&6
12324 if test -n "$CC"; then
12325 ac_cv_prog_CC="$CC" # Let the user override the test.
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $PATH
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12334 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12345 if test -n "$CC"; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12347 $as_echo "$CC" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12350 $as_echo "no" >&6; }
12354 test -n "$CC" && break
12357 if test -z "$CC"; then
12359 for ac_prog in cl.exe
12361 # Extract the first word of "$ac_prog", so it can be a program name with args.
12362 set dummy $ac_prog; ac_word=$2
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12364 $as_echo_n "checking for $ac_word... " >&6; }
12365 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12366 $as_echo_n "(cached) " >&6
12368 if test -n "$ac_ct_CC"; then
12369 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $PATH
12375 test -z "$as_dir" && as_dir=.
12376 for ac_exec_ext in '' $ac_executable_extensions; do
12377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12378 ac_cv_prog_ac_ct_CC="$ac_prog"
12379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12389 if test -n "$ac_ct_CC"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12391 $as_echo "$ac_ct_CC" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12398 test -n "$ac_ct_CC" && break
12401 if test "x$ac_ct_CC" = x; then
12404 case $cross_compiling:$ac_tool_warned in
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12408 ac_tool_warned=yes ;;
12417 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12419 as_fn_error $? "no acceptable C compiler found in \$PATH
12420 See \`config.log' for more details" "$LINENO" 5; }
12422 # Provide some information about the compiler.
12423 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12426 for ac_option in --version -v -V -qversion; do
12427 { { ac_try="$ac_compiler $ac_option >&5"
12428 case "(($ac_try" in
12429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12430 *) ac_try_echo=$ac_try;;
12432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12433 $as_echo "$ac_try_echo"; } >&5
12434 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12436 if test -s conftest.err; then
12438 ... rest of stderr output deleted ...
12439 10q' conftest.err >conftest.er1
12440 cat conftest.er1 >&5
12442 rm -f conftest.er1 conftest.err
12443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12444 test $ac_status = 0; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12448 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12449 if ${ac_cv_c_compiler_gnu+:} false; then :
12450 $as_echo_n "(cached) " >&6
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12466 if ac_fn_c_try_compile "$LINENO"; then :
12467 ac_compiler_gnu=yes
12471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12472 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12476 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12477 if test $ac_compiler_gnu = yes; then
12482 ac_test_CFLAGS=${CFLAGS+set}
12483 ac_save_CFLAGS=$CFLAGS
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12485 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12486 if ${ac_cv_prog_cc_g+:} false; then :
12487 $as_echo_n "(cached) " >&6
12489 ac_save_c_werror_flag=$ac_c_werror_flag
12490 ac_c_werror_flag=yes
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12504 if ac_fn_c_try_compile "$LINENO"; then :
12505 ac_cv_prog_cc_g=yes
12508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12519 if ac_fn_c_try_compile "$LINENO"; then :
12522 ac_c_werror_flag=$ac_save_c_werror_flag
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12535 if ac_fn_c_try_compile "$LINENO"; then :
12536 ac_cv_prog_cc_g=yes
12538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12543 ac_c_werror_flag=$ac_save_c_werror_flag
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12546 $as_echo "$ac_cv_prog_cc_g" >&6; }
12547 if test "$ac_test_CFLAGS" = set; then
12548 CFLAGS=$ac_save_CFLAGS
12549 elif test $ac_cv_prog_cc_g = yes; then
12550 if test "$GCC" = yes; then
12556 if test "$GCC" = yes; then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12563 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12564 if ${ac_cv_prog_cc_c89+:} false; then :
12565 $as_echo_n "(cached) " >&6
12567 ac_cv_prog_cc_c89=no
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12571 #include <stdarg.h>
12574 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12575 struct buf { int x; };
12576 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12577 static char *e (p, i)
12583 static char *f (char * (*g) (char **, int), char **p, ...)
12588 s = g (p, va_arg (v,int));
12593 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12594 function prototypes and stuff, but not '\xHH' hex character constants.
12595 These don't provoke an error unfortunately, instead are silently treated
12596 as 'x'. The following induces an error, until -std is added to get
12597 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12598 array size at least. It's necessary to write '\x00'==0 to get something
12599 that's true only with -std. */
12600 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12602 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12603 inside strings and character constants. */
12605 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12607 int test (int i, double x);
12608 struct s1 {int (*f) (int a);};
12609 struct s2 {int (*f) (double a);};
12610 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12616 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12621 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12622 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12624 CC="$ac_save_CC $ac_arg"
12625 if ac_fn_c_try_compile "$LINENO"; then :
12626 ac_cv_prog_cc_c89=$ac_arg
12628 rm -f core conftest.err conftest.$ac_objext
12629 test "x$ac_cv_prog_cc_c89" != "xno" && break
12631 rm -f conftest.$ac_ext
12636 case "x$ac_cv_prog_cc_c89" in
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12639 $as_echo "none needed" >&6; } ;;
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12642 $as_echo "unsupported" >&6; } ;;
12644 CC="$CC $ac_cv_prog_cc_c89"
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12646 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12648 if test "x$ac_cv_prog_cc_c89" != xno; then :
12653 ac_cpp='$CPP $CPPFLAGS'
12654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12659 ac_cpp='$CPP $CPPFLAGS'
12660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12664 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12665 if ${am_cv_prog_cc_c_o+:} false; then :
12666 $as_echo_n "(cached) " >&6
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12679 # Make sure it works both with $CC and with simple cc.
12680 # Following AC_PROG_CC_C_O, we do the test twice because some
12681 # compilers refuse to overwrite an existing .o file with -o,
12682 # though they will create one.
12683 am_cv_prog_cc_c_o=yes
12684 for am_i in 1 2; do
12685 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12686 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } \
12690 && test -f conftest2.$ac_objext; then
12693 am_cv_prog_cc_c_o=no
12697 rm -f core conftest*
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12701 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12702 if test "$am_cv_prog_cc_c_o" != yes; then
12703 # Losing compiler, so override with the script.
12704 # FIXME: It is wrong to rewrite CC.
12705 # But if we don't then we get into trouble of one sort or another.
12706 # A longer-term fix would be to have automake use am__CC in this case,
12707 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12708 CC="$am_aux_dir/compile $CC"
12711 ac_cpp='$CPP $CPPFLAGS'
12712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12717 depcc="$CC" am_compiler_list=
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12720 $as_echo_n "checking dependency style of $depcc... " >&6; }
12721 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12722 $as_echo_n "(cached) " >&6
12724 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12725 # We make a subdir and do the tests there. Otherwise we can end up
12726 # making bogus files that we don't know about and never remove. For
12727 # instance it was reported that on HP-UX the gcc test will end up
12728 # making a dummy file named 'D' -- because '-MD' means "put the output
12730 rm -rf conftest.dir
12732 # Copy depcomp to subdir because otherwise we won't find it if we're
12733 # using a relative directory.
12734 cp "$am_depcomp" conftest.dir
12736 # We will build objects and dependencies in a subdirectory because
12737 # it helps to detect inapplicable dependency modes. For instance
12738 # both Tru64's cc and ICC support -MD to output dependencies as a
12739 # side effect of compilation, but ICC will put the dependencies in
12740 # the current directory while Tru64 will put them in the object
12744 am_cv_CC_dependencies_compiler_type=none
12745 if test "$am_compiler_list" = ""; then
12746 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12748 am__universal=false
12749 case " $depcc " in #(
12750 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12753 for depmode in $am_compiler_list; do
12754 # Setup a source with many dependencies, because some compilers
12755 # like to wrap large dependency lists on column 80 (with \), and
12756 # we should not choose a depcomp mode which is confused by this.
12758 # We need to recreate these files for each test, as the compiler may
12759 # overwrite some of them when testing with obscure command lines.
12760 # This happens at least with the AIX C compiler.
12762 for i in 1 2 3 4 5 6; do
12763 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12764 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12765 # Solaris 10 /bin/sh.
12766 echo '/* dummy */' > sub/conftst$i.h
12768 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12770 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12771 # mode. It turns out that the SunPro C++ compiler does not properly
12772 # handle '-M -o', and we need to detect this. Also, some Intel
12773 # versions had trouble with output in subdirs.
12774 am__obj=sub/conftest.${OBJEXT-o}
12775 am__minus_obj="-o $am__obj"
12778 # This depmode causes a compiler race in universal mode.
12779 test "$am__universal" = false || continue
12782 # After this tag, mechanisms are not by side-effect, so they'll
12783 # only be used when explicitly requested.
12784 if test "x$enable_dependency_tracking" = xyes; then
12790 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12791 # This compiler won't grok '-c -o', but also, the minuso test has
12792 # not run yet. These depmodes are late enough in the game, and
12793 # so weak that their functioning should not be impacted.
12794 am__obj=conftest.${OBJEXT-o}
12799 if depmode=$depmode \
12800 source=sub/conftest.c object=$am__obj \
12801 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12802 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12803 >/dev/null 2>conftest.err &&
12804 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12805 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12806 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12807 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12808 # icc doesn't choke on unknown options, it will just issue warnings
12809 # or remarks (even with -Werror). So we grep stderr for any message
12810 # that says an option was ignored or not supported.
12811 # When given -MP, icc 7.0 and 7.1 complain thusly:
12812 # icc: Command line warning: ignoring option '-M'; no argument required
12813 # The diagnosis changed in icc 8.0:
12814 # icc: Command line remark: option '-MP' not supported
12815 if (grep 'ignoring option' conftest.err ||
12816 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12817 am_cv_CC_dependencies_compiler_type=$depmode
12824 rm -rf conftest.dir
12826 am_cv_CC_dependencies_compiler_type=none
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12831 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12832 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12835 test "x$enable_dependency_tracking" != xno \
12836 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12837 am__fastdepCC_TRUE=
12838 am__fastdepCC_FALSE='#'
12840 am__fastdepCC_TRUE='#'
12841 am__fastdepCC_FALSE=
12845 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12846 set dummy glib-mkenums; ac_word=$2
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12848 $as_echo_n "checking for $ac_word... " >&6; }
12849 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12850 $as_echo_n "(cached) " >&6
12852 case $GLIB_MKENUMS in
12854 ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12858 for as_dir in $PATH
12861 test -z "$as_dir" && as_dir=.
12862 for ac_exec_ext in '' $ac_executable_extensions; do
12863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12864 ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12872 test -z "$ac_cv_path_GLIB_MKENUMS" && ac_cv_path_GLIB_MKENUMS="$PATH"
12876 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12877 if test -n "$GLIB_MKENUMS"; then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12879 $as_echo "$GLIB_MKENUMS" >&6; }
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12887 # Checks for libraries.
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12891 $as_echo_n "checking for GLIB... " >&6; }
12893 if test -n "$GLIB_CFLAGS"; then
12894 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12895 elif test -n "$PKG_CONFIG"; then
12896 if test -n "$PKG_CONFIG" && \
12897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12898 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12901 test $ac_status = 0; }; then
12902 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30" 2>/dev/null`
12903 test "x$?" != "x0" && pkg_failed=yes
12910 if test -n "$GLIB_LIBS"; then
12911 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12912 elif test -n "$PKG_CONFIG"; then
12913 if test -n "$PKG_CONFIG" && \
12914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30\""; } >&5
12915 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30") 2>&5
12917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12918 test $ac_status = 0; }; then
12919 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30" 2>/dev/null`
12920 test "x$?" != "x0" && pkg_failed=yes
12930 if test $pkg_failed = yes; then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12932 $as_echo "no" >&6; }
12934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12935 _pkg_short_errors_supported=yes
12937 _pkg_short_errors_supported=no
12939 if test $_pkg_short_errors_supported = yes; then
12940 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12942 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30" 2>&1`
12944 # Put the nasty error message in config.log where it belongs
12945 echo "$GLIB_PKG_ERRORS" >&5
12947 as_fn_error $? "Package requirements (glib-2.0 >= 2.30) were not met:
12951 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12952 installed software in a non-standard prefix.
12954 Alternatively, you may set the environment variables GLIB_CFLAGS
12955 and GLIB_LIBS to avoid the need to call pkg-config.
12956 See the pkg-config man page for more details." "$LINENO" 5
12957 elif test $pkg_failed = untried; then
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12959 $as_echo "no" >&6; }
12960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12962 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12963 is in your PATH or set the PKG_CONFIG environment variable to the full
12964 path to pkg-config.
12966 Alternatively, you may set the environment variables GLIB_CFLAGS
12967 and GLIB_LIBS to avoid the need to call pkg-config.
12968 See the pkg-config man page for more details.
12970 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12971 See \`config.log' for more details" "$LINENO" 5; }
12973 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12974 GLIB_LIBS=$pkg_cv_GLIB_LIBS
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12976 $as_echo "yes" >&6; }
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12985 $as_echo_n "checking for GIO... " >&6; }
12987 if test -n "$GIO_CFLAGS"; then
12988 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12989 elif test -n "$PKG_CONFIG"; then
12990 if test -n "$PKG_CONFIG" && \
12991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
12992 ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
12994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12995 test $ac_status = 0; }; then
12996 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 gio-unix-2.0" 2>/dev/null`
12997 test "x$?" != "x0" && pkg_failed=yes
13004 if test -n "$GIO_LIBS"; then
13005 pkg_cv_GIO_LIBS="$GIO_LIBS"
13006 elif test -n "$PKG_CONFIG"; then
13007 if test -n "$PKG_CONFIG" && \
13008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 gio-unix-2.0\""; } >&5
13009 ($PKG_CONFIG --exists --print-errors "gio-2.0 gio-unix-2.0") 2>&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13012 test $ac_status = 0; }; then
13013 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 gio-unix-2.0" 2>/dev/null`
13014 test "x$?" != "x0" && pkg_failed=yes
13024 if test $pkg_failed = yes; then
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026 $as_echo "no" >&6; }
13028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13029 _pkg_short_errors_supported=yes
13031 _pkg_short_errors_supported=no
13033 if test $_pkg_short_errors_supported = yes; then
13034 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13036 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 gio-unix-2.0" 2>&1`
13038 # Put the nasty error message in config.log where it belongs
13039 echo "$GIO_PKG_ERRORS" >&5
13041 as_fn_error $? "Package requirements (gio-2.0 gio-unix-2.0) were not met:
13045 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13046 installed software in a non-standard prefix.
13048 Alternatively, you may set the environment variables GIO_CFLAGS
13049 and GIO_LIBS to avoid the need to call pkg-config.
13050 See the pkg-config man page for more details." "$LINENO" 5
13051 elif test $pkg_failed = untried; then
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13053 $as_echo "no" >&6; }
13054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13056 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13057 is in your PATH or set the PKG_CONFIG environment variable to the full
13058 path to pkg-config.
13060 Alternatively, you may set the environment variables GIO_CFLAGS
13061 and GIO_LIBS to avoid the need to call pkg-config.
13062 See the pkg-config man page for more details.
13064 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13065 See \`config.log' for more details" "$LINENO" 5; }
13067 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13068 GIO_LIBS=$pkg_cv_GIO_LIBS
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13070 $as_echo "yes" >&6; }
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
13079 $as_echo_n "checking for GMODULE... " >&6; }
13081 if test -n "$GMODULE_CFLAGS"; then
13082 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
13083 elif test -n "$PKG_CONFIG"; then
13084 if test -n "$PKG_CONFIG" && \
13085 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13086 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13089 test $ac_status = 0; }; then
13090 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
13091 test "x$?" != "x0" && pkg_failed=yes
13098 if test -n "$GMODULE_LIBS"; then
13099 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
13100 elif test -n "$PKG_CONFIG"; then
13101 if test -n "$PKG_CONFIG" && \
13102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\""; } >&5
13103 ($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
13105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13106 test $ac_status = 0; }; then
13107 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
13108 test "x$?" != "x0" && pkg_failed=yes
13118 if test $pkg_failed = yes; then
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120 $as_echo "no" >&6; }
13122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13123 _pkg_short_errors_supported=yes
13125 _pkg_short_errors_supported=no
13127 if test $_pkg_short_errors_supported = yes; then
13128 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13130 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0" 2>&1`
13132 # Put the nasty error message in config.log where it belongs
13133 echo "$GMODULE_PKG_ERRORS" >&5
13135 as_fn_error $? "Package requirements (gmodule-2.0) were not met:
13137 $GMODULE_PKG_ERRORS
13139 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13140 installed software in a non-standard prefix.
13142 Alternatively, you may set the environment variables GMODULE_CFLAGS
13143 and GMODULE_LIBS to avoid the need to call pkg-config.
13144 See the pkg-config man page for more details." "$LINENO" 5
13145 elif test $pkg_failed = untried; then
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13147 $as_echo "no" >&6; }
13148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13150 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13151 is in your PATH or set the PKG_CONFIG environment variable to the full
13152 path to pkg-config.
13154 Alternatively, you may set the environment variables GMODULE_CFLAGS
13155 and GMODULE_LIBS to avoid the need to call pkg-config.
13156 See the pkg-config man page for more details.
13158 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13159 See \`config.log' for more details" "$LINENO" 5; }
13161 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
13162 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13164 $as_echo "yes" >&6; }
13170 for ac_header in security/pam_appl.h
13172 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13173 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13174 cat >>confdefs.h <<_ACEOF
13175 #define HAVE_SECURITY_PAM_APPL_H 1
13179 as_fn_error $? "\"pam-devel is required\"" "$LINENO" 5
13184 for ac_header in security/pam_misc.h
13186 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "$ac_includes_default"
13187 if test "x$ac_cv_header_security_pam_misc_h" = xyes; then :
13188 cat >>confdefs.h <<_ACEOF
13189 #define HAVE_SECURITY_PAM_MISC_H 1
13193 as_fn_error $? "\"pam-misc is required\"" "$LINENO" 5
13199 TLM_CFLAGS="$GLIB_CFLAGS $GIO_CFLAGS $GMODULE_CFLAGS -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wall -Werror"
13200 TLM_LIBS="$GLIB_LIBS $GIO_LIBS $GMODULE_LIBS"
13205 # Check whether --enable-debug was given.
13206 if test "${enable_debug+set}" = set; then :
13207 enableval=$enable_debug; enable_debug=$enable_debug
13212 if test "x$enable_debug" = "xyes" ; then
13214 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
13216 # Check whether --enable-tests was given.
13217 if test "${enable_tests+set}" = set; then :
13218 enableval=$enable_tests; enable_tests=$enable_tests
13223 if test "x$enable_tests" = "xyes" ; then
13225 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
13230 $as_echo_n "checking for CHECK... " >&6; }
13232 if test -n "$CHECK_CFLAGS"; then
13233 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
13234 elif test -n "$PKG_CONFIG"; then
13235 if test -n "$PKG_CONFIG" && \
13236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13237 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13240 test $ac_status = 0; }; then
13241 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
13242 test "x$?" != "x0" && pkg_failed=yes
13249 if test -n "$CHECK_LIBS"; then
13250 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
13251 elif test -n "$PKG_CONFIG"; then
13252 if test -n "$PKG_CONFIG" && \
13253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
13254 ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
13256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13257 test $ac_status = 0; }; then
13258 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
13259 test "x$?" != "x0" && pkg_failed=yes
13269 if test $pkg_failed = yes; then
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13271 $as_echo "no" >&6; }
13273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13274 _pkg_short_errors_supported=yes
13276 _pkg_short_errors_supported=no
13278 if test $_pkg_short_errors_supported = yes; then
13279 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13281 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
13283 # Put the nasty error message in config.log where it belongs
13284 echo "$CHECK_PKG_ERRORS" >&5
13286 as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
13290 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13291 installed software in a non-standard prefix.
13293 Alternatively, you may set the environment variables CHECK_CFLAGS
13294 and CHECK_LIBS to avoid the need to call pkg-config.
13295 See the pkg-config man page for more details." "$LINENO" 5
13296 elif test $pkg_failed = untried; then
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13298 $as_echo "no" >&6; }
13299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13301 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13302 is in your PATH or set the PKG_CONFIG environment variable to the full
13303 path to pkg-config.
13305 Alternatively, you may set the environment variables CHECK_CFLAGS
13306 and CHECK_LIBS to avoid the need to call pkg-config.
13307 See the pkg-config man page for more details.
13309 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13310 See \`config.log' for more details" "$LINENO" 5; }
13312 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
13313 CHECK_LIBS=$pkg_cv_CHECK_LIBS
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13315 $as_echo "yes" >&6; }
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Tests can't be enabled without debug features\"" >&5
13321 $as_echo "$as_me: WARNING: \"Tests can't be enabled without debug features\"" >&2;}
13326 if test "x$enable_tests" = "xyes"; then
13328 ENABLE_TESTS_FALSE='#'
13330 ENABLE_TESTS_TRUE='#'
13331 ENABLE_TESTS_FALSE=
13336 # Check whether --enable-examples was given.
13337 if test "${enable_examples+set}" = set; then :
13338 enableval=$enable_examples; enable_examples=$enable_examples
13340 enable_examples="no"
13343 if test x$enable_examples = xyes; then
13344 ENABLE_EXAMPLES_TRUE=
13345 ENABLE_EXAMPLES_FALSE='#'
13347 ENABLE_EXAMPLES_TRUE='#'
13348 ENABLE_EXAMPLES_FALSE=
13352 if test "x$enable_examples" = "xyes" ; then
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13356 $as_echo_n "checking for ELEMENTARY... " >&6; }
13358 if test -n "$ELEMENTARY_CFLAGS"; then
13359 pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13360 elif test -n "$PKG_CONFIG"; then
13361 if test -n "$PKG_CONFIG" && \
13362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13363 ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13366 test $ac_status = 0; }; then
13367 pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "elementary" 2>/dev/null`
13368 test "x$?" != "x0" && pkg_failed=yes
13375 if test -n "$ELEMENTARY_LIBS"; then
13376 pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13377 elif test -n "$PKG_CONFIG"; then
13378 if test -n "$PKG_CONFIG" && \
13379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"elementary\""; } >&5
13380 ($PKG_CONFIG --exists --print-errors "elementary") 2>&5
13382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13383 test $ac_status = 0; }; then
13384 pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "elementary" 2>/dev/null`
13385 test "x$?" != "x0" && pkg_failed=yes
13395 if test $pkg_failed = yes; then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13397 $as_echo "no" >&6; }
13399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13400 _pkg_short_errors_supported=yes
13402 _pkg_short_errors_supported=no
13404 if test $_pkg_short_errors_supported = yes; then
13405 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "elementary" 2>&1`
13407 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "elementary" 2>&1`
13409 # Put the nasty error message in config.log where it belongs
13410 echo "$ELEMENTARY_PKG_ERRORS" >&5
13412 as_fn_error $? "Package requirements (elementary) were not met:
13414 $ELEMENTARY_PKG_ERRORS
13416 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13417 installed software in a non-standard prefix.
13419 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13420 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13421 See the pkg-config man page for more details." "$LINENO" 5
13422 elif test $pkg_failed = untried; then
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13427 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13428 is in your PATH or set the PKG_CONFIG environment variable to the full
13429 path to pkg-config.
13431 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13432 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13433 See the pkg-config man page for more details.
13435 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13436 See \`config.log' for more details" "$LINENO" 5; }
13438 ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13439 ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13441 $as_echo "yes" >&6; }
13448 # Define socket path
13449 # Check whether --enable-sockets-path was given.
13450 if test "${enable_sockets_path+set}" = set; then :
13451 enableval=$enable_sockets_path; enable_sockets_path=$enableval
13453 enable_sockets_path="/var/run/tlm"
13457 cat >>confdefs.h <<_ACEOF
13458 #define TLM_DBUS_SOCKET_PATH "$enable_sockets_path"
13462 cat >>confdefs.h <<_ACEOF
13463 #define TLM_DBUS_ROOT_SOCKET_ADDRESS "unix:path=$enable_sockets_path/dbus-sock"
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUM" >&5
13471 $as_echo_n "checking for LIBGUM... " >&6; }
13473 if test -n "$LIBGUM_CFLAGS"; then
13474 pkg_cv_LIBGUM_CFLAGS="$LIBGUM_CFLAGS"
13475 elif test -n "$PKG_CONFIG"; then
13476 if test -n "$PKG_CONFIG" && \
13477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13478 ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13481 test $ac_status = 0; }; then
13482 pkg_cv_LIBGUM_CFLAGS=`$PKG_CONFIG --cflags "libgum" 2>/dev/null`
13483 test "x$?" != "x0" && pkg_failed=yes
13490 if test -n "$LIBGUM_LIBS"; then
13491 pkg_cv_LIBGUM_LIBS="$LIBGUM_LIBS"
13492 elif test -n "$PKG_CONFIG"; then
13493 if test -n "$PKG_CONFIG" && \
13494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgum\""; } >&5
13495 ($PKG_CONFIG --exists --print-errors "libgum") 2>&5
13497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13498 test $ac_status = 0; }; then
13499 pkg_cv_LIBGUM_LIBS=`$PKG_CONFIG --libs "libgum" 2>/dev/null`
13500 test "x$?" != "x0" && pkg_failed=yes
13510 if test $pkg_failed = yes; then
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13512 $as_echo "no" >&6; }
13514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13515 _pkg_short_errors_supported=yes
13517 _pkg_short_errors_supported=no
13519 if test $_pkg_short_errors_supported = yes; then
13520 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgum" 2>&1`
13522 LIBGUM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgum" 2>&1`
13524 # Put the nasty error message in config.log where it belongs
13525 echo "$LIBGUM_PKG_ERRORS" >&5
13528 elif test $pkg_failed = untried; then
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13530 $as_echo "no" >&6; }
13533 LIBGUM_CFLAGS=$pkg_cv_LIBGUM_CFLAGS
13534 LIBGUM_LIBS=$pkg_cv_LIBGUM_LIBS
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13536 $as_echo "yes" >&6; }
13539 # Check whether --enable-gum was given.
13540 if test "${enable_gum+set}" = set; then :
13541 enableval=$enable_gum;
13543 enable_gum=$have_libgum
13546 if test "x$enable_gum" = "xyes" && test "x$have_libgum" = "xno" ; then
13547 as_fn_error $? "\"libgum is required.\"" "$LINENO" 5
13551 if test x$have_libgum = xyes; then
13553 HAVE_LIBGUM_FALSE='#'
13555 HAVE_LIBGUM_TRUE='#'
13560 if test "x$enable_gum" = "xyes" ; then
13561 ACCOUNT_PLUGIN_NAME=gumd
13564 ACCOUNT_PLUGIN_NAME=default
13568 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 data/Makefile data/tlm.conf tests/Makefile tests/config/Makefile tests/daemon/Makefile tests/tlm-test.conf examples/Makefile"
13571 cat >confcache <<\_ACEOF
13572 # This file is a shell script that caches the results of configure
13573 # tests run on this system so they can be shared between configure
13574 # scripts and configure runs, see configure's option --config-cache.
13575 # It is not useful on other systems. If it contains results you don't
13576 # want to keep, you may remove or edit it.
13578 # config.status only pays attention to the cache file if you give it
13579 # the --recheck option to rerun configure.
13581 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13582 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13583 # following values.
13587 # The following way of writing the cache mishandles newlines in values,
13588 # but we know of no workaround that is simple, portable, and efficient.
13589 # So, we kill variables containing newlines.
13590 # Ultrix sh set writes to stderr and can't be redirected directly,
13591 # and sets the high bit in the cache file unless we assign to the vars.
13593 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13594 eval ac_val=\$$ac_var
13598 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13599 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13602 _ | IFS | as_nl) ;; #(
13603 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13604 *) { eval $ac_var=; unset $ac_var;} ;;
13610 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13611 *${as_nl}ac_space=\ *)
13612 # `set' does not quote correctly, so add quotes: double-quote
13613 # substitution turns \\\\ into \\, and sed turns \\ into \.
13616 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13619 # `set' quotes correctly as required by POSIX, so do not add quotes.
13620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13629 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13631 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13633 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13634 if test -w "$cache_file"; then
13635 if test "x$cache_file" != "x/dev/null"; then
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13637 $as_echo "$as_me: updating cache $cache_file" >&6;}
13638 if test ! -f "$cache_file" || test -h "$cache_file"; then
13639 cat confcache >"$cache_file"
13641 case $cache_file in #(
13643 mv -f confcache "$cache_file"$$ &&
13644 mv -f "$cache_file"$$ "$cache_file" ;; #(
13646 mv -f confcache "$cache_file" ;;
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13652 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13657 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13658 # Let make expand exec_prefix.
13659 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13661 DEFS=-DHAVE_CONFIG_H
13666 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13667 # 1. Remove the extension, and $U if already installed.
13668 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13669 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13670 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13671 # will be set to the directory where LIBOBJS objects are built.
13672 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13673 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13675 LIBOBJS=$ac_libobjs
13677 LTLIBOBJS=$ac_ltlibobjs
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13681 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13682 if test -n "$am_sleep_pid"; then
13683 # Hide warnings about reused PIDs.
13684 wait $am_sleep_pid 2>/dev/null
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13687 $as_echo "done" >&6; }
13688 if test -n "$EXEEXT"; then
13690 am__EXEEXT_FALSE='#'
13692 am__EXEEXT_TRUE='#'
13696 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13697 as_fn_error $? "conditional \"AMDEP\" was never defined.
13698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13700 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13701 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13704 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13705 as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13708 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13709 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13712 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13713 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13716 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13717 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13720 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13721 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13724 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13725 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13728 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13729 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13732 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
13733 as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
13734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13736 if test -z "${ENABLE_EXAMPLES_TRUE}" && test -z "${ENABLE_EXAMPLES_FALSE}"; then
13737 as_fn_error $? "conditional \"ENABLE_EXAMPLES\" was never defined.
13738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13740 if test -z "${HAVE_LIBGUM_TRUE}" && test -z "${HAVE_LIBGUM_FALSE}"; then
13741 as_fn_error $? "conditional \"HAVE_LIBGUM\" was never defined.
13742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13745 : "${CONFIG_STATUS=./config.status}"
13747 ac_clean_files_save=$ac_clean_files
13748 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13750 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13752 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13754 # Generated by $as_me.
13755 # Run this file to recreate the current configuration.
13756 # Compiler output produced by configure, useful for debugging
13757 # configure, is in config.log if it exists.
13760 ac_cs_recheck=false
13763 SHELL=\${CONFIG_SHELL-$SHELL}
13766 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13767 ## -------------------- ##
13768 ## M4sh Initialization. ##
13769 ## -------------------- ##
13771 # Be more Bourne compatible
13772 DUALCASE=1; export DUALCASE # for MKS sh
13773 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13776 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13777 # is contrary to our usage. Disable this feature.
13778 alias -g '${1+"$@"}'='"$@"'
13779 setopt NO_GLOB_SUBST
13781 case `(set -o) 2>/dev/null` in #(
13793 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13794 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13797 # Prefer a ksh shell builtin over an external printf program on Solaris,
13798 # but without wasting forks for bash or zsh.
13799 if test -z "$BASH_VERSION$ZSH_VERSION" \
13800 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13801 as_echo='print -r --'
13802 as_echo_n='print -rn --'
13803 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13804 as_echo='printf %s\n'
13805 as_echo_n='printf %s'
13807 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13808 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13809 as_echo_n='/usr/ucb/echo -n'
13811 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13812 as_echo_n_body='eval
13816 expr "X$arg" : "X\\(.*\\)$as_nl";
13817 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13819 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13821 export as_echo_n_body
13822 as_echo_n='sh -c $as_echo_n_body as_echo'
13824 export as_echo_body
13825 as_echo='sh -c $as_echo_body as_echo'
13828 # The user is always right.
13829 if test "${PATH_SEPARATOR+set}" != set; then
13831 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13832 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13839 # We need space, tab and new line, in precisely that order. Quoting is
13840 # there to prevent editors from complaining about space-tab.
13841 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13842 # splitting by setting IFS to empty value.)
13845 # Find who we are. Look in the path if we contain no directory separator.
13848 *[\\/]* ) as_myself=$0 ;;
13849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13850 for as_dir in $PATH
13853 test -z "$as_dir" && as_dir=.
13854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13860 # We did not find ourselves, most probably we were run as `sh COMMAND'
13861 # in which case we are not to be found in the path.
13862 if test "x$as_myself" = x; then
13865 if test ! -f "$as_myself"; then
13866 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13870 # Unset variables that we do not need and which cause bugs (e.g. in
13871 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13872 # suppresses any "Segmentation fault" message there. '((' could
13873 # trigger a bug in pdksh 5.2.14.
13874 for as_var in BASH_ENV ENV MAIL MAILPATH
13875 do eval test x\${$as_var+set} = xset \
13876 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13892 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13893 # ----------------------------------------
13894 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13895 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13896 # script with STATUS, using 1 if that was 0.
13899 as_status=$1; test $as_status -eq 0 && as_status=1
13901 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13902 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13904 $as_echo "$as_me: error: $2" >&2
13905 as_fn_exit $as_status
13909 # as_fn_set_status STATUS
13910 # -----------------------
13911 # Set $? to STATUS, without forking.
13912 as_fn_set_status ()
13915 } # as_fn_set_status
13917 # as_fn_exit STATUS
13918 # -----------------
13919 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13923 as_fn_set_status $1
13929 # Portably unset VAR.
13932 { eval $1=; unset $1;}
13934 as_unset=as_fn_unset
13935 # as_fn_append VAR VALUE
13936 # ----------------------
13937 # Append the text in VALUE to the end of the definition contained in VAR. Take
13938 # advantage of any shell optimizations that allow amortized linear growth over
13939 # repeated appends, instead of the typical quadratic growth present in naive
13941 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13942 eval 'as_fn_append ()
13953 # as_fn_arith ARG...
13954 # ------------------
13955 # Perform arithmetic evaluation on the ARGs, and store the result in the
13956 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13957 # must be portable across $(()) and expr.
13958 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13959 eval 'as_fn_arith ()
13966 as_val=`expr "$@" || test $? -eq 1`
13971 if expr a : '\(a\)' >/dev/null 2>&1 &&
13972 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13978 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13979 as_basename=basename
13984 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13990 as_me=`$as_basename -- "$0" ||
13991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13992 X"$0" : 'X\(//\)$' \| \
13993 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13995 sed '/^.*\/\([^/][^/]*\)\/*$/{
14009 # Avoid depending upon Character Ranges.
14010 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14013 as_cr_digits='0123456789'
14014 as_cr_alnum=$as_cr_Letters$as_cr_digits
14016 ECHO_C= ECHO_N= ECHO_T=
14017 case `echo -n x` in #(((((
14019 case `echo 'xy\c'` in
14020 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14022 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14029 rm -f conf$$ conf$$.exe conf$$.file
14030 if test -d conf$$.dir; then
14031 rm -f conf$$.dir/conf$$.file
14034 mkdir conf$$.dir 2>/dev/null
14036 if (echo >conf$$.file) 2>/dev/null; then
14037 if ln -s conf$$.file conf$$ 2>/dev/null; then
14039 # ... but there are two gotchas:
14040 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14041 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14042 # In both cases, we have to default to `cp -pR'.
14043 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14045 elif ln conf$$.file conf$$ 2>/dev/null; then
14053 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14054 rmdir conf$$.dir 2>/dev/null
14059 # Create "$as_dir" as a directory, including parents if necessary.
14064 -*) as_dir=./$as_dir;;
14066 test -d "$as_dir" || eval $as_mkdir_p || {
14070 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14071 *) as_qdir=$as_dir;;
14073 as_dirs="'$as_qdir' $as_dirs"
14074 as_dir=`$as_dirname -- "$as_dir" ||
14075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14076 X"$as_dir" : 'X\(//\)[^/]' \| \
14077 X"$as_dir" : 'X\(//\)$' \| \
14078 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14079 $as_echo X"$as_dir" |
14080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14084 /^X\(\/\/\)[^/].*/{
14097 test -d "$as_dir" && break
14099 test -z "$as_dirs" || eval "mkdir $as_dirs"
14100 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14104 if mkdir -p . 2>/dev/null; then
14105 as_mkdir_p='mkdir -p "$as_dir"'
14107 test -d ./-p && rmdir ./-p
14112 # as_fn_executable_p FILE
14113 # -----------------------
14114 # Test if FILE is an executable regular file.
14115 as_fn_executable_p ()
14117 test -f "$1" && test -x "$1"
14118 } # as_fn_executable_p
14119 as_test_x='test -x'
14120 as_executable_p=as_fn_executable_p
14122 # Sed expression to map a string onto a valid CPP name.
14123 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14125 # Sed expression to map a string onto a valid variable name.
14126 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14130 ## ----------------------------------- ##
14131 ## Main body of $CONFIG_STATUS script. ##
14132 ## ----------------------------------- ##
14134 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14137 # Save the log message, to keep $0 and so on meaningful, and to
14138 # report actual input values of CONFIG_FILES etc. instead of their
14139 # values after options handling.
14141 This file was extended by tlm $as_me 1.0.3, which was
14142 generated by GNU Autoconf 2.69. Invocation command line was
14144 CONFIG_FILES = $CONFIG_FILES
14145 CONFIG_HEADERS = $CONFIG_HEADERS
14146 CONFIG_LINKS = $CONFIG_LINKS
14147 CONFIG_COMMANDS = $CONFIG_COMMANDS
14150 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14155 case $ac_config_files in *"
14156 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14159 case $ac_config_headers in *"
14160 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14165 # Files that config.status was made for.
14166 config_files="$ac_config_files"
14167 config_headers="$ac_config_headers"
14168 config_commands="$ac_config_commands"
14172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14174 \`$as_me' instantiates files and other configuration actions
14175 from templates according to the current configuration. Unless the files
14176 and actions are specified as TAGs, all are instantiated by default.
14178 Usage: $0 [OPTION]... [TAG]...
14180 -h, --help print this help, then exit
14181 -V, --version print version number and configuration settings, then exit
14182 --config print configuration, then exit
14183 -q, --quiet, --silent
14184 do not print progress messages
14185 -d, --debug don't remove temporary files
14186 --recheck update $as_me by reconfiguring in the same conditions
14187 --file=FILE[:TEMPLATE]
14188 instantiate the configuration file FILE
14189 --header=FILE[:TEMPLATE]
14190 instantiate the configuration header FILE
14192 Configuration files:
14195 Configuration headers:
14198 Configuration commands:
14201 Report bugs to the package provider."
14204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14205 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14207 tlm config.status 1.0.3
14208 configured by $0, generated by GNU Autoconf 2.69,
14209 with options \\"\$ac_cs_config\\"
14211 Copyright (C) 2012 Free Software Foundation, Inc.
14212 This config.status script is free software; the Free Software Foundation
14213 gives unlimited permission to copy, distribute and modify it."
14220 test -n "\$AWK" || AWK=awk
14223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14224 # The default lists apply if the user does not specify any file.
14230 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14231 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14235 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14247 # Handling of the options.
14248 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14250 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14251 $as_echo "$ac_cs_version"; exit ;;
14252 --config | --confi | --conf | --con | --co | --c )
14253 $as_echo "$ac_cs_config"; exit ;;
14254 --debug | --debu | --deb | --de | --d | -d )
14256 --file | --fil | --fi | --f )
14259 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14260 '') as_fn_error $? "missing file argument" ;;
14262 as_fn_append CONFIG_FILES " '$ac_optarg'"
14263 ac_need_defaults=false;;
14264 --header | --heade | --head | --hea )
14267 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14269 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14270 ac_need_defaults=false;;
14272 # Conflict between --help and --header
14273 as_fn_error $? "ambiguous option: \`$1'
14274 Try \`$0 --help' for more information.";;
14275 --help | --hel | -h )
14276 $as_echo "$ac_cs_usage"; exit ;;
14277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14278 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14281 # This is an error.
14282 -*) as_fn_error $? "unrecognized option: \`$1'
14283 Try \`$0 --help' for more information." ;;
14285 *) as_fn_append ac_config_targets " $1"
14286 ac_need_defaults=false ;;
14292 ac_configure_extra_args=
14294 if $ac_cs_silent; then
14296 ac_configure_extra_args="$ac_configure_extra_args --silent"
14300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14301 if \$ac_cs_recheck; then
14302 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14304 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14305 CONFIG_SHELL='$SHELL'
14306 export CONFIG_SHELL
14311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14315 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14316 ## Running $as_me. ##
14322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14326 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14329 # The HP-UX ksh and POSIX shell print the target directory to stdout
14330 # if CDPATH is set.
14331 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14333 sed_quote_subst='$sed_quote_subst'
14334 double_quote_subst='$double_quote_subst'
14335 delay_variable_subst='$delay_variable_subst'
14336 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14337 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14338 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14339 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14340 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14341 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14342 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14343 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14344 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14345 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14346 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14347 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14348 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14349 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14350 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14351 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14352 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14353 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14354 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14355 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14356 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14357 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14358 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14359 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14360 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14361 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14362 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14363 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14364 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14365 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14366 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14367 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14368 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14369 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14370 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14371 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14372 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14373 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14374 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14375 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14376 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14377 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14378 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14379 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14380 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14381 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14382 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14383 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14384 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14385 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14386 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14387 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14388 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14389 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14390 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14391 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14392 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"`'
14393 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14394 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14395 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14396 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14397 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14398 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14399 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14400 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14401 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14402 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14403 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14404 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14405 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14406 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14407 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14408 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14409 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14410 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14411 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14412 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14413 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14414 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14415 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14416 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14417 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14418 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14419 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14420 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14421 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14422 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14423 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14424 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14425 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14426 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14427 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14428 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14429 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14430 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14431 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14432 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14433 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14434 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14435 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14436 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14437 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14438 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14439 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14440 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14441 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14442 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14443 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14444 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14445 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14446 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14447 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14448 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14449 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14450 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14451 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14452 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14453 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14454 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14455 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14456 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14457 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14458 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14459 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14460 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14461 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14462 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14463 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14464 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14465 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14468 LTCFLAGS='$LTCFLAGS'
14469 compiler='$compiler_DEFAULT'
14471 # A function that is used when there is no print builtin or printf.
14472 func_fallback_echo ()
14474 eval 'cat <<_LTECHO_EOF
14479 # Quote evaled strings.
14494 deplibs_check_method \
14499 sharedlib_from_linklib_cmd \
14502 archiver_list_spec \
14508 lt_cv_sys_global_symbol_pipe \
14509 lt_cv_sys_global_symbol_to_cdecl \
14510 lt_cv_sys_global_symbol_to_c_name_address \
14511 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14512 nm_file_list_spec \
14513 lt_prog_compiler_no_builtin_flag \
14514 lt_prog_compiler_pic \
14515 lt_prog_compiler_wl \
14516 lt_prog_compiler_static \
14517 lt_cv_prog_compiler_c_o \
14526 export_dynamic_flag_spec \
14527 whole_archive_flag_spec \
14528 compiler_needs_object \
14530 allow_undefined_flag \
14531 no_undefined_flag \
14532 hardcode_libdir_flag_spec \
14533 hardcode_libdir_separator \
14537 variables_saved_for_relink \
14539 library_names_spec \
14541 install_override_mode \
14545 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14546 *[\\\\\\\`\\"\\\$]*)
14547 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14550 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14555 # Double-quote double-evaled strings.
14556 for var in reload_cmds \
14557 old_postinstall_cmds \
14558 old_postuninstall_cmds \
14560 extract_expsyms_cmds \
14561 old_archive_from_new_cmds \
14562 old_archive_from_expsyms_cmds \
14564 archive_expsym_cmds \
14566 module_expsym_cmds \
14567 export_symbols_cmds \
14571 postuninstall_cmds \
14573 sys_lib_search_path_spec \
14574 sys_lib_dlsearch_path_spec; do
14575 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14576 *[\\\\\\\`\\"\\\$]*)
14577 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14580 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14585 ac_aux_dir='$ac_aux_dir'
14586 xsi_shell='$xsi_shell'
14587 lt_shell_append='$lt_shell_append'
14589 # See if we are running on zsh, and set the options which allow our
14590 # commands through without removal of \ escapes INIT.
14591 if test -n "\${ZSH_VERSION+set}" ; then
14592 setopt NO_GLOB_SUBST
14598 TIMESTAMP='$TIMESTAMP'
14607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14609 # Handling of arguments.
14610 for ac_config_target in $ac_config_targets
14612 case $ac_config_target in
14613 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14614 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14615 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14616 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14617 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14618 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14619 "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14620 "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14621 "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14622 "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14623 "src/daemon/tlm.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/tlm.pc" ;;
14624 "src/sessiond/Makefile") CONFIG_FILES="$CONFIG_FILES src/sessiond/Makefile" ;;
14625 "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
14626 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14627 "src/plugins/default/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/default/Makefile" ;;
14628 "src/plugins/gumd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gumd/Makefile" ;;
14629 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14630 "data/tlm.conf") CONFIG_FILES="$CONFIG_FILES data/tlm.conf" ;;
14631 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14632 "tests/config/Makefile") CONFIG_FILES="$CONFIG_FILES tests/config/Makefile" ;;
14633 "tests/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/daemon/Makefile" ;;
14634 "tests/tlm-test.conf") CONFIG_FILES="$CONFIG_FILES tests/tlm-test.conf" ;;
14635 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14637 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14642 # If the user did not use the arguments to specify the items to instantiate,
14643 # then the envvar interface is used. Set only those that are not.
14644 # We use the long form for the default assignment because of an extremely
14645 # bizarre bug on SunOS 4.1.3.
14646 if $ac_need_defaults; then
14647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14652 # Have a temporary directory for convenience. Make it in the build tree
14653 # simply because there is no reason against having it here, and in addition,
14654 # creating and moving files from /tmp can sometimes cause problems.
14655 # Hook for its removal unless debugging.
14656 # Note that there is a small window in which the directory will not be cleaned:
14657 # after its creation but before its name has been assigned to `$tmp'.
14661 trap 'exit_status=$?
14662 : "${ac_tmp:=$tmp}"
14663 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14665 trap 'as_fn_exit 1' 1 2 13 15
14667 # Create a (secure) tmp directory for tmp files.
14670 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14674 tmp=./conf$$-$RANDOM
14675 (umask 077 && mkdir "$tmp")
14676 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14679 # Set up the scripts for CONFIG_FILES section.
14680 # No need to generate them if there are no CONFIG_FILES.
14681 # This happens for instance with `./config.status config.h'.
14682 if test -n "$CONFIG_FILES"; then
14685 ac_cr=`echo X | tr X '\015'`
14686 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14687 # But we know of no other shell where ac_cr would be empty at this
14688 # point, so we can use a bashism as a fallback.
14689 if test "x$ac_cr" = x; then
14690 eval ac_cr=\$\'\\r\'
14692 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14693 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14696 ac_cs_awk_cr=$ac_cr
14699 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14704 echo "cat >conf$$subs.awk <<_ACEOF" &&
14705 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14707 } >conf$$subs.sh ||
14708 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14709 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14711 for ac_last_try in false false false false false :; do
14712 . ./conf$$subs.sh ||
14713 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14715 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14716 if test $ac_delim_n = $ac_delim_num; then
14718 elif $ac_last_try; then
14719 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14721 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14724 rm -f conf$$subs.sh
14726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14727 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14731 s/^/S["/; s/!.*/"]=/
14741 s/\(.\{148\}\)..*/\1/
14743 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14748 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14755 s/\(.\{148\}\)..*/\1/
14757 s/["\\]/\\&/g; s/^/"/; s/$/"/
14761 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14766 ' <conf$$subs.awk | sed '
14771 ' >>$CONFIG_STATUS || ac_write_fail=1
14772 rm -f conf$$subs.awk
14773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14775 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14776 for (key in S) S_is_set[key] = 1
14782 nfields = split(line, field, "@")
14784 len = length(field[1])
14785 for (i = 2; i < nfields; i++) {
14787 keylen = length(key)
14788 if (S_is_set[key]) {
14790 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14791 len += length(value) + length(field[++i])
14802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14803 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14804 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14807 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14808 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14811 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14812 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14813 # trailing colons and then remove the whole line if VPATH becomes empty
14814 # (actually we leave an empty line to preserve line numbers).
14815 if test "x$srcdir" = x.; then
14816 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14835 fi # test -n "$CONFIG_FILES"
14837 # Set up the scripts for CONFIG_HEADERS section.
14838 # No need to generate them if there are no CONFIG_HEADERS.
14839 # This happens for instance with `./config.status Makefile'.
14840 if test -n "$CONFIG_HEADERS"; then
14841 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14845 # Transform confdefs.h into an awk script `defines.awk', embedded as
14846 # here-document in config.status, that substitutes the proper values into
14847 # config.h.in to produce config.h.
14849 # Create a delimiter string that does not exist in confdefs.h, to ease
14850 # handling of long lines.
14852 for ac_last_try in false false :; do
14853 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14854 if test -z "$ac_tt"; then
14856 elif $ac_last_try; then
14857 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14859 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14863 # For the awk script, D is an array of macro values keyed by name,
14864 # likewise P contains macro parameters if any. Preserve backslash
14865 # newline sequences.
14867 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14869 s/.\{148\}/&'"$ac_delim"'/g
14872 s/^[ ]*#[ ]*define[ ][ ]*/ /
14879 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14881 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14885 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14886 D["\1"]=" \3\\\\\\n"\\/p
14888 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14893 s/.\{148\}/&'"$ac_delim"'/g
14898 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14901 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14903 ' <confdefs.h | sed '
14904 s/'"$ac_delim"'/"\\\
14905 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14908 for (key in D) D_is_set[key] = 1
14911 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14913 split(line, arg, " ")
14914 if (arg[1] == "#") {
14918 defundef = substr(arg[1], 2)
14921 split(mac1, mac2, "(") #)
14923 prefix = substr(line, 1, index(line, defundef) - 1)
14924 if (D_is_set[macro]) {
14925 # Preserve the white space surrounding the "#".
14926 print prefix "define", macro P[macro] D[macro]
14929 # Replace #undef with comments. This is necessary, for example,
14930 # in the case of _POSIX_SOURCE, which is predefined and required
14931 # on some systems where configure will not decide to define it.
14932 if (defundef == "undef") {
14933 print "/*", prefix defundef, macro, "*/"
14941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14942 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14943 fi # test -n "$CONFIG_HEADERS"
14946 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14951 :[FHLC]) ac_mode=$ac_tag; continue;;
14953 case $ac_mode$ac_tag in
14955 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14956 :[FH]-) ac_tag=-:-;;
14957 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14974 -) ac_f="$ac_tmp/stdin";;
14975 *) # Look for the file first in the build tree, then in the source tree
14976 # (if the path is not absolute). The absolute path cannot be DOS-style,
14977 # because $ac_f cannot contain `:'.
14981 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14983 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14985 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14986 as_fn_append ac_file_inputs " '$ac_f'"
14989 # Let's still pretend it is `configure' which instantiates (i.e., don't
14990 # use $as_me), people would be surprised to read:
14991 # /* config.h. Generated by config.status. */
14992 configure_input='Generated from '`
14993 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14995 if test x"$ac_file" != x-; then
14996 configure_input="$ac_file. $configure_input"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14998 $as_echo "$as_me: creating $ac_file" >&6;}
15000 # Neutralize special characters interpreted by sed in replacement strings.
15001 case $configure_input in #(
15002 *\&* | *\|* | *\\* )
15003 ac_sed_conf_input=`$as_echo "$configure_input" |
15004 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15005 *) ac_sed_conf_input=$configure_input;;
15009 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15010 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15015 ac_dir=`$as_dirname -- "$ac_file" ||
15016 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15017 X"$ac_file" : 'X\(//\)[^/]' \| \
15018 X"$ac_file" : 'X\(//\)$' \| \
15019 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15020 $as_echo X"$ac_file" |
15021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15025 /^X\(\/\/\)[^/].*/{
15038 as_dir="$ac_dir"; as_fn_mkdir_p
15042 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15044 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15045 # A ".." for each directory in $ac_dir_suffix.
15046 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15047 case $ac_top_builddir_sub in
15048 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15049 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15052 ac_abs_top_builddir=$ac_pwd
15053 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15054 # for backward compatibility:
15055 ac_top_builddir=$ac_top_build_prefix
15058 .) # We are building in place.
15060 ac_top_srcdir=$ac_top_builddir_sub
15061 ac_abs_top_srcdir=$ac_pwd ;;
15062 [\\/]* | ?:[\\/]* ) # Absolute name.
15063 ac_srcdir=$srcdir$ac_dir_suffix;
15064 ac_top_srcdir=$srcdir
15065 ac_abs_top_srcdir=$srcdir ;;
15066 *) # Relative name.
15067 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15068 ac_top_srcdir=$ac_top_build_prefix$srcdir
15069 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15071 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15081 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15082 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15084 ac_MKDIR_P=$MKDIR_P
15086 [\\/$]* | ?:[\\/]* ) ;;
15087 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15092 # If the template does not know about datarootdir, expand it.
15093 # FIXME: This hack should be removed a few years after 2.60.
15094 ac_datarootdir_hack=; ac_datarootdir_seen=
15105 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15106 *datarootdir*) ac_datarootdir_seen=yes;;
15107 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15109 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15112 ac_datarootdir_hack='
15113 s&@datadir@&$datadir&g
15114 s&@docdir@&$docdir&g
15115 s&@infodir@&$infodir&g
15116 s&@localedir@&$localedir&g
15117 s&@mandir@&$mandir&g
15118 s&\\\${datarootdir}&$datarootdir&g' ;;
15122 # Neutralize VPATH when `$srcdir' = `.'.
15123 # Shell code in configure.ac might set extrasub.
15124 # FIXME: do we really want to maintain this feature?
15125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15126 ac_sed_extra="$ac_vpsub
15129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15131 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15132 s|@configure_input@|$ac_sed_conf_input|;t t
15133 s&@top_builddir@&$ac_top_builddir_sub&;t t
15134 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15135 s&@srcdir@&$ac_srcdir&;t t
15136 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15137 s&@top_srcdir@&$ac_top_srcdir&;t t
15138 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15139 s&@builddir@&$ac_builddir&;t t
15140 s&@abs_builddir@&$ac_abs_builddir&;t t
15141 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15142 s&@INSTALL@&$ac_INSTALL&;t t
15143 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15144 $ac_datarootdir_hack
15146 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15147 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15149 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15150 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15151 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15152 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15154 which seems to be undefined. Please make sure it is defined" >&5
15155 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15156 which seems to be undefined. Please make sure it is defined" >&2;}
15158 rm -f "$ac_tmp/stdin"
15160 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15161 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15163 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15169 if test x"$ac_file" != x-; then
15171 $as_echo "/* $configure_input */" \
15172 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15173 } >"$ac_tmp/config.h" \
15174 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15175 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15177 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15180 mv "$ac_tmp/config.h" "$ac_file" \
15181 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15184 $as_echo "/* $configure_input */" \
15185 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15186 || as_fn_error $? "could not create -" "$LINENO" 5
15188 # Compute "$ac_file"'s index in $config_headers.
15191 for _am_header in $config_headers :; do
15192 case $_am_header in
15193 $_am_arg | $_am_arg:* )
15196 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15199 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15200 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15201 X"$_am_arg" : 'X\(//\)[^/]' \| \
15202 X"$_am_arg" : 'X\(//\)$' \| \
15203 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15204 $as_echo X"$_am_arg" |
15205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15209 /^X\(\/\/\)[^/].*/{
15221 s/.*/./; q'`/stamp-h$_am_stamp_count
15224 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15225 $as_echo "$as_me: executing $ac_file commands" >&6;}
15230 case $ac_file$ac_mode in
15231 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15232 # Older Autoconf quotes --file arguments for eval, but not when files
15233 # are listed without --file. Let's play safe and only enable the eval
15234 # if we detect the quoting.
15235 case $CONFIG_FILES in
15236 *\'*) eval set x "$CONFIG_FILES" ;;
15237 *) set x $CONFIG_FILES ;;
15242 # Strip MF so we end up with the name of the file.
15243 mf=`echo "$mf" | sed -e 's/:.*$//'`
15244 # Check whether this is an Automake generated Makefile or not.
15245 # We used to match only the files named 'Makefile.in', but
15246 # some people rename them; so instead we look at the file content.
15247 # Grep'ing the first line is not enough: some people post-process
15248 # each Makefile.in and add a new line on top of each file to say so.
15249 # Grep'ing the whole file is not good either: AIX grep has a line
15250 # limit of 2048, but all sed's we know have understand at least 4000.
15251 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15252 dirpart=`$as_dirname -- "$mf" ||
15253 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15254 X"$mf" : 'X\(//\)[^/]' \| \
15255 X"$mf" : 'X\(//\)$' \| \
15256 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15262 /^X\(\/\/\)[^/].*/{
15278 # Extract the definition of DEPDIR, am__include, and am__quote
15279 # from the Makefile without running 'make'.
15280 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15281 test -z "$DEPDIR" && continue
15282 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15283 test -z "$am__include" && continue
15284 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15285 # Find all dependency output files, they are included files with
15286 # $(DEPDIR) in their names. We invoke sed twice because it is the
15287 # simplest approach to changing $(DEPDIR) to its actual value in the
15289 for file in `sed -n "
15290 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15291 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15292 # Make sure the directory exists.
15293 test -f "$dirpart/$file" && continue
15294 fdir=`$as_dirname -- "$file" ||
15295 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15296 X"$file" : 'X\(//\)[^/]' \| \
15297 X"$file" : 'X\(//\)$' \| \
15298 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15299 $as_echo X"$file" |
15300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15304 /^X\(\/\/\)[^/].*/{
15317 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15318 # echo "creating $dirpart/$file"
15319 echo '# dummy' > "$dirpart/$file"
15326 # See if we are running on zsh, and set the options which allow our
15327 # commands through without removal of \ escapes.
15328 if test -n "${ZSH_VERSION+set}" ; then
15329 setopt NO_GLOB_SUBST
15332 cfgfile="${ofile}T"
15333 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15336 cat <<_LT_EOF >> "$cfgfile"
15339 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15340 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15341 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15342 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15344 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15345 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15347 # Written by Gordon Matzigkeit, 1996
15349 # This file is part of GNU Libtool.
15351 # GNU Libtool is free software; you can redistribute it and/or
15352 # modify it under the terms of the GNU General Public License as
15353 # published by the Free Software Foundation; either version 2 of
15354 # the License, or (at your option) any later version.
15356 # As a special exception to the GNU General Public License,
15357 # if you distribute this file as part of a program or library that
15358 # is built using GNU Libtool, you may include this file under the
15359 # same distribution terms that you use for the rest of that program.
15361 # GNU Libtool is distributed in the hope that it will be useful,
15362 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15363 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15364 # GNU General Public License for more details.
15366 # You should have received a copy of the GNU General Public License
15367 # along with GNU Libtool; see the file COPYING. If not, a copy
15368 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15369 # obtained by writing to the Free Software Foundation, Inc.,
15370 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15373 # The names of the tagged configurations supported by this script.
15376 # ### BEGIN LIBTOOL CONFIG
15378 # Which release of libtool.m4 was used?
15379 macro_version=$macro_version
15380 macro_revision=$macro_revision
15382 # Whether or not to build static libraries.
15383 build_old_libs=$enable_static
15385 # Whether or not to build shared libraries.
15386 build_libtool_libs=$enable_shared
15388 # What type of objects to build.
15391 # Whether or not to optimize for fast installation.
15392 fast_install=$enable_fast_install
15394 # Shell to use when invoking shell scripts.
15397 # An echo program that protects backslashes.
15400 # The PATH separator for the build system.
15401 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15404 host_alias=$host_alias
15408 # The build system.
15409 build_alias=$build_alias
15413 # A sed program that does not truncate output.
15416 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15417 Xsed="\$SED -e 1s/^X//"
15419 # A grep program that handles long lines.
15425 # A literal string matcher.
15428 # A BSD- or MS-compatible name lister.
15431 # Whether we need soft or hard links.
15434 # What is the maximum length of a command?
15435 max_cmd_len=$max_cmd_len
15437 # Object file suffix (normally "o").
15440 # Executable file suffix (normally "").
15443 # whether the shell understands "unset".
15446 # turn spaces into newlines.
15449 # turn newlines into spaces.
15452 # convert \$build file names to \$host format.
15453 to_host_file_cmd=$lt_cv_to_host_file_cmd
15455 # convert \$build files to toolchain format.
15456 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15458 # An object symbol dumper.
15459 OBJDUMP=$lt_OBJDUMP
15461 # Method to check whether dependent libraries are shared objects.
15462 deplibs_check_method=$lt_deplibs_check_method
15464 # Command to use when deplibs_check_method = "file_magic".
15465 file_magic_cmd=$lt_file_magic_cmd
15467 # How to find potential files when deplibs_check_method = "file_magic".
15468 file_magic_glob=$lt_file_magic_glob
15470 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15471 want_nocaseglob=$lt_want_nocaseglob
15473 # DLL creation program.
15474 DLLTOOL=$lt_DLLTOOL
15476 # Command to associate shared and link libraries.
15477 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15482 # Flags to create an archive.
15483 AR_FLAGS=$lt_AR_FLAGS
15485 # How to feed a file listing to the archiver.
15486 archiver_list_spec=$lt_archiver_list_spec
15488 # A symbol stripping program.
15491 # Commands used to install an old-style archive.
15493 old_postinstall_cmds=$lt_old_postinstall_cmds
15494 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15496 # Whether to use a lock for old archive extraction.
15497 lock_old_archive_extraction=$lock_old_archive_extraction
15502 # LTCC compiler flags.
15503 LTCFLAGS=$lt_CFLAGS
15505 # Take the output of nm and produce a listing of raw symbols and C names.
15506 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15508 # Transform the output of nm in a proper C declaration.
15509 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15511 # Transform the output of nm in a C name address pair.
15512 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15514 # Transform the output of nm in a C name address pair when lib prefix is needed.
15515 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15517 # Specify filename containing input files for \$NM.
15518 nm_file_list_spec=$lt_nm_file_list_spec
15520 # The root where to search for dependent libraries,and in which our libraries should be installed.
15521 lt_sysroot=$lt_sysroot
15523 # The name of the directory that contains temporary libtool files.
15526 # Used to examine libraries when file_magic_cmd begins with "file".
15527 MAGIC_CMD=$MAGIC_CMD
15529 # Must we lock files when doing compilation?
15530 need_locks=$lt_need_locks
15533 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15535 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15536 DSYMUTIL=$lt_DSYMUTIL
15538 # Tool to change global to local symbols on Mac OS X.
15541 # Tool to manipulate fat objects and archives on Mac OS X.
15544 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15547 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15548 OTOOL64=$lt_OTOOL64
15550 # Old archive suffix (normally "a").
15553 # Shared library suffix (normally ".so").
15554 shrext_cmds=$lt_shrext_cmds
15556 # The commands to extract the exported symbol list from a shared archive.
15557 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15559 # Variables whose values should be saved in libtool wrapper scripts and
15560 # restored at link time.
15561 variables_saved_for_relink=$lt_variables_saved_for_relink
15563 # Do we need the "lib" prefix for modules?
15564 need_lib_prefix=$need_lib_prefix
15566 # Do we need a version for libraries?
15567 need_version=$need_version
15569 # Library versioning type.
15570 version_type=$version_type
15572 # Shared library runtime path variable.
15573 runpath_var=$runpath_var
15575 # Shared library path variable.
15576 shlibpath_var=$shlibpath_var
15578 # Is shlibpath searched before the hard-coded library search path?
15579 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15581 # Format of library name prefix.
15582 libname_spec=$lt_libname_spec
15584 # List of archive names. First name is the real one, the rest are links.
15585 # The last name is the one that the linker finds with -lNAME
15586 library_names_spec=$lt_library_names_spec
15588 # The coded name of the library, if different from the real name.
15589 soname_spec=$lt_soname_spec
15591 # Permission mode override for installation of shared libraries.
15592 install_override_mode=$lt_install_override_mode
15594 # Command to use after installation of a shared archive.
15595 postinstall_cmds=$lt_postinstall_cmds
15597 # Command to use after uninstallation of a shared archive.
15598 postuninstall_cmds=$lt_postuninstall_cmds
15600 # Commands used to finish a libtool library installation in a directory.
15601 finish_cmds=$lt_finish_cmds
15603 # As "finish_cmds", except a single script fragment to be evaled but
15605 finish_eval=$lt_finish_eval
15607 # Whether we should hardcode library paths into libraries.
15608 hardcode_into_libs=$hardcode_into_libs
15610 # Compile-time system search path for libraries.
15611 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15613 # Run-time system search path for libraries.
15614 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15616 # Whether dlopen is supported.
15617 dlopen_support=$enable_dlopen
15619 # Whether dlopen of programs is supported.
15620 dlopen_self=$enable_dlopen_self
15622 # Whether dlopen of statically linked programs is supported.
15623 dlopen_self_static=$enable_dlopen_self_static
15625 # Commands to strip libraries.
15626 old_striplib=$lt_old_striplib
15627 striplib=$lt_striplib
15630 # The linker used to build libraries.
15633 # How to create reloadable object files.
15634 reload_flag=$lt_reload_flag
15635 reload_cmds=$lt_reload_cmds
15637 # Commands used to build an old-style archive.
15638 old_archive_cmds=$lt_old_archive_cmds
15640 # A language specific compiler.
15643 # Is the compiler the GNU compiler?
15646 # Compiler flag to turn off builtin functions.
15647 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15649 # Additional compiler flags for building library objects.
15650 pic_flag=$lt_lt_prog_compiler_pic
15652 # How to pass a linker flag through the compiler.
15653 wl=$lt_lt_prog_compiler_wl
15655 # Compiler flag to prevent dynamic linking.
15656 link_static_flag=$lt_lt_prog_compiler_static
15658 # Does compiler simultaneously support -c and -o options?
15659 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15661 # Whether or not to add -lc for building shared libraries.
15662 build_libtool_need_lc=$archive_cmds_need_lc
15664 # Whether or not to disallow shared libs when runtime libs are static.
15665 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15667 # Compiler flag to allow reflexive dlopens.
15668 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15670 # Compiler flag to generate shared objects directly from archives.
15671 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15673 # Whether the compiler copes with passing no objects directly.
15674 compiler_needs_object=$lt_compiler_needs_object
15676 # Create an old-style archive from a shared archive.
15677 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15679 # Create a temporary old-style archive to link instead of a shared archive.
15680 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15682 # Commands used to build a shared archive.
15683 archive_cmds=$lt_archive_cmds
15684 archive_expsym_cmds=$lt_archive_expsym_cmds
15686 # Commands used to build a loadable module if different from building
15687 # a shared archive.
15688 module_cmds=$lt_module_cmds
15689 module_expsym_cmds=$lt_module_expsym_cmds
15691 # Whether we are building with GNU ld or not.
15692 with_gnu_ld=$lt_with_gnu_ld
15694 # Flag that allows shared libraries with undefined symbols to be built.
15695 allow_undefined_flag=$lt_allow_undefined_flag
15697 # Flag that enforces no undefined symbols.
15698 no_undefined_flag=$lt_no_undefined_flag
15700 # Flag to hardcode \$libdir into a binary during linking.
15701 # This must work even if \$libdir does not exist
15702 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15704 # Whether we need a single "-rpath" flag with a separated argument.
15705 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15707 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15708 # DIR into the resulting binary.
15709 hardcode_direct=$hardcode_direct
15711 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15712 # DIR into the resulting binary and the resulting library dependency is
15713 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15714 # library is relocated.
15715 hardcode_direct_absolute=$hardcode_direct_absolute
15717 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15718 # into the resulting binary.
15719 hardcode_minus_L=$hardcode_minus_L
15721 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15722 # into the resulting binary.
15723 hardcode_shlibpath_var=$hardcode_shlibpath_var
15725 # Set to "yes" if building a shared library automatically hardcodes DIR
15726 # into the library and all subsequent libraries and executables linked
15728 hardcode_automatic=$hardcode_automatic
15730 # Set to yes if linker adds runtime paths of dependent libraries
15731 # to runtime path list.
15732 inherit_rpath=$inherit_rpath
15734 # Whether libtool must link a program against all its dependency libraries.
15735 link_all_deplibs=$link_all_deplibs
15737 # Set to "yes" if exported symbols are required.
15738 always_export_symbols=$always_export_symbols
15740 # The commands to list exported symbols.
15741 export_symbols_cmds=$lt_export_symbols_cmds
15743 # Symbols that should not be listed in the preloaded symbols.
15744 exclude_expsyms=$lt_exclude_expsyms
15746 # Symbols that must always be exported.
15747 include_expsyms=$lt_include_expsyms
15749 # Commands necessary for linking programs (against libraries) with templates.
15750 prelink_cmds=$lt_prelink_cmds
15752 # Commands necessary for finishing linking programs.
15753 postlink_cmds=$lt_postlink_cmds
15755 # Specify filename containing input files.
15756 file_list_spec=$lt_file_list_spec
15758 # How to hardcode a shared library path into an executable.
15759 hardcode_action=$hardcode_action
15761 # ### END LIBTOOL CONFIG
15767 cat <<\_LT_EOF >> "$cfgfile"
15768 # AIX sometimes has problems with the GCC collect2 program. For some
15769 # reason, if we set the COLLECT_NAMES environment variable, the problems
15770 # vanish in a puff of smoke.
15771 if test "X${COLLECT_NAMES+set}" != Xset; then
15773 export COLLECT_NAMES
15780 ltmain="$ac_aux_dir/ltmain.sh"
15783 # We use sed instead of cat because bash on DJGPP gets confused if
15784 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15785 # text mode, it properly converts lines to CR/LF. This bash problem
15786 # is reportedly fixed, but why not run on old versions too?
15787 sed '$q' "$ltmain" >> "$cfgfile" \
15788 || (rm -f "$cfgfile"; exit 1)
15790 if test x"$xsi_shell" = xyes; then
15791 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15795 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15796 \ * ) func_dirname_result="${3}" ;;\
15798 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15799 && mv -f "$cfgfile.tmp" "$cfgfile" \
15800 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15801 test 0 -eq $? || _lt_function_replace_fail=:
15804 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15807 \ func_basename_result="${1##*/}"\
15808 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15809 && mv -f "$cfgfile.tmp" "$cfgfile" \
15810 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15811 test 0 -eq $? || _lt_function_replace_fail=:
15814 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15815 func_dirname_and_basename ()\
15818 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15819 \ * ) func_dirname_result="${3}" ;;\
15821 \ func_basename_result="${1##*/}"\
15822 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15823 && mv -f "$cfgfile.tmp" "$cfgfile" \
15824 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15825 test 0 -eq $? || _lt_function_replace_fail=:
15828 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15831 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15832 \ # positional parameters, so assign one to ordinary parameter first.\
15833 \ func_stripname_result=${3}\
15834 \ func_stripname_result=${func_stripname_result#"${1}"}\
15835 \ func_stripname_result=${func_stripname_result%"${2}"}\
15836 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15837 && mv -f "$cfgfile.tmp" "$cfgfile" \
15838 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15839 test 0 -eq $? || _lt_function_replace_fail=:
15842 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15843 func_split_long_opt ()\
15845 \ func_split_long_opt_name=${1%%=*}\
15846 \ func_split_long_opt_arg=${1#*=}\
15847 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15848 && mv -f "$cfgfile.tmp" "$cfgfile" \
15849 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15850 test 0 -eq $? || _lt_function_replace_fail=:
15853 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15854 func_split_short_opt ()\
15856 \ func_split_short_opt_arg=${1#??}\
15857 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15858 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15859 && mv -f "$cfgfile.tmp" "$cfgfile" \
15860 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15861 test 0 -eq $? || _lt_function_replace_fail=:
15864 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15868 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15869 \ *) func_lo2o_result=${1} ;;\
15871 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15872 && mv -f "$cfgfile.tmp" "$cfgfile" \
15873 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15874 test 0 -eq $? || _lt_function_replace_fail=:
15877 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15880 func_xform_result=${1%.*}.lo\
15881 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15882 && mv -f "$cfgfile.tmp" "$cfgfile" \
15883 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15884 test 0 -eq $? || _lt_function_replace_fail=:
15887 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15890 func_arith_result=$(( $* ))\
15891 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15892 && mv -f "$cfgfile.tmp" "$cfgfile" \
15893 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15894 test 0 -eq $? || _lt_function_replace_fail=:
15897 sed -e '/^func_len ()$/,/^} # func_len /c\
15900 func_len_result=${#1}\
15901 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15902 && mv -f "$cfgfile.tmp" "$cfgfile" \
15903 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15904 test 0 -eq $? || _lt_function_replace_fail=:
15908 if test x"$lt_shell_append" = xyes; then
15909 sed -e '/^func_append ()$/,/^} # func_append /c\
15912 eval "${1}+=\\${2}"\
15913 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15914 && mv -f "$cfgfile.tmp" "$cfgfile" \
15915 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15916 test 0 -eq $? || _lt_function_replace_fail=:
15919 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15920 func_append_quoted ()\
15922 \ func_quote_for_eval "${2}"\
15923 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15924 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15925 && mv -f "$cfgfile.tmp" "$cfgfile" \
15926 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15927 test 0 -eq $? || _lt_function_replace_fail=:
15930 # Save a `func_append' function call where possible by direct use of '+='
15931 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15932 && mv -f "$cfgfile.tmp" "$cfgfile" \
15933 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15934 test 0 -eq $? || _lt_function_replace_fail=:
15936 # Save a `func_append' function call even when '+=' is not available
15937 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15938 && mv -f "$cfgfile.tmp" "$cfgfile" \
15939 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15940 test 0 -eq $? || _lt_function_replace_fail=:
15943 if test x"$_lt_function_replace_fail" = x":"; then
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15945 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15949 mv -f "$cfgfile" "$ofile" ||
15950 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15961 ac_clean_files=$ac_clean_files_save
15963 test $ac_write_fail = 0 ||
15964 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15967 # configure is writing to config.log, and then calls config.status.
15968 # config.status does its own redirection, appending to config.log.
15969 # Unfortunately, on DOS this fails, as config.log is still kept open
15970 # by configure, so config.status won't be able to write to it; its
15971 # output is simply discarded. So we exec the FD to /dev/null,
15972 # effectively closing config.log, so it can be properly (re)opened and
15973 # appended to by config.status. When coming back to configure, we
15974 # need to make the FD available again.
15975 if test "$no_create" != yes; then
15977 ac_config_status_args=
15978 test "$silent" = yes &&
15979 ac_config_status_args="$ac_config_status_args --quiet"
15981 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15983 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15984 # would make configure fail if this is the last instruction.
15985 $ac_cs_success || as_fn_exit 1
15987 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15989 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15994 echo "Enabled debug features : "$enable_debug
15995 echo "Building tests : "$enable_tests
15996 echo "Enabled Gumd : "$enable_gum $have_libgum
15997 echo "Enabled NFC : "$have_libtlm_nfc
15998 echo "Enabled examples : "$enable_examples