2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dleyna-core 0.2.2.
5 # Report bugs to <https://github.com/01org/dleyna-core/issues/new>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/01org/dleyna-core/issues/new about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='dleyna-core'
592 PACKAGE_TARNAME='dleyna-core'
593 PACKAGE_VERSION='0.2.2'
594 PACKAGE_STRING='dleyna-core 0.2.2'
595 PACKAGE_BUGREPORT='https://github.com/01org/dleyna-core/issues/new'
596 PACKAGE_URL='https://01.org/dleyna/'
598 ac_unique_file="libdleyna/core/main-loop.c"
599 ac_default_prefix=/usr/local
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
642 DLEYNA_CONNECTOR_LIB_PATTERN
707 MAINTAINER_MODE_FALSE
717 INSTALL_STRIP_PROGRAM
759 program_transform_name
772 enable_option_checking
773 enable_maintainer_mode
775 enable_dependency_tracking
788 ac_precious_vars='build_alias
810 # Initialize some variables set by options.
812 ac_init_version=false
813 ac_unrecognized_opts=
815 # The variables have the same names as the options, with
816 # dashes changed to underlines.
824 program_transform_name=s,x,x,
832 # Installation directory options.
833 # These are left unexpanded so users can "make install exec_prefix=/foo"
834 # and all the variables that are supposed to be based on exec_prefix
835 # by default will actually change.
836 # Use braces instead of parens because sh, perl, etc. also accept them.
837 # (The list follows the same order as the GNU Coding Standards.)
838 bindir='${exec_prefix}/bin'
839 sbindir='${exec_prefix}/sbin'
840 libexecdir='${exec_prefix}/libexec'
841 datarootdir='${prefix}/share'
842 datadir='${datarootdir}'
843 sysconfdir='${prefix}/etc'
844 sharedstatedir='${prefix}/com'
845 localstatedir='${prefix}/var'
846 includedir='${prefix}/include'
847 oldincludedir='/usr/include'
848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
849 infodir='${datarootdir}/info'
854 libdir='${exec_prefix}/lib'
855 localedir='${datarootdir}/locale'
856 mandir='${datarootdir}/man'
862 # If the previous option needs an argument, assign it.
863 if test -n "$ac_prev"; then
864 eval $ac_prev=\$ac_option
870 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
875 # Accept the important Cygnus configure options, so we can diagnose typos.
877 case $ac_dashdash$ac_option in
881 -bindir | --bindir | --bindi | --bind | --bin | --bi)
883 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
886 -build | --build | --buil | --bui | --bu)
887 ac_prev=build_alias ;;
888 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
889 build_alias=$ac_optarg ;;
891 -cache-file | --cache-file | --cache-fil | --cache-fi \
892 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
893 ac_prev=cache_file ;;
894 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
895 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
896 cache_file=$ac_optarg ;;
899 cache_file=config.cache ;;
901 -datadir | --datadir | --datadi | --datad)
903 -datadir=* | --datadir=* | --datadi=* | --datad=*)
904 datadir=$ac_optarg ;;
906 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
907 | --dataroo | --dataro | --datar)
908 ac_prev=datarootdir ;;
909 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
910 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
911 datarootdir=$ac_optarg ;;
913 -disable-* | --disable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=no ;;
929 -docdir | --docdir | --docdi | --doc | --do)
931 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
934 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
936 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
939 -enable-* | --enable-*)
940 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 as_fn_error $? "invalid feature name: $ac_useropt"
944 ac_useropt_orig=$ac_useropt
945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
951 ac_unrecognized_sep=', ';;
953 eval enable_$ac_useropt=\$ac_optarg ;;
955 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
956 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
957 | --exec | --exe | --ex)
958 ac_prev=exec_prefix ;;
959 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
960 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
961 | --exec=* | --exe=* | --ex=*)
962 exec_prefix=$ac_optarg ;;
964 -gas | --gas | --ga | --g)
965 # Obsolete; use --with-gas.
968 -help | --help | --hel | --he | -h)
970 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
971 ac_init_help=recursive ;;
972 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
973 ac_init_help=short ;;
975 -host | --host | --hos | --ho)
976 ac_prev=host_alias ;;
977 -host=* | --host=* | --hos=* | --ho=*)
978 host_alias=$ac_optarg ;;
980 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
982 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
984 htmldir=$ac_optarg ;;
986 -includedir | --includedir | --includedi | --included | --include \
987 | --includ | --inclu | --incl | --inc)
988 ac_prev=includedir ;;
989 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
990 | --includ=* | --inclu=* | --incl=* | --inc=*)
991 includedir=$ac_optarg ;;
993 -infodir | --infodir | --infodi | --infod | --info | --inf)
995 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
996 infodir=$ac_optarg ;;
998 -libdir | --libdir | --libdi | --libd)
1000 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1001 libdir=$ac_optarg ;;
1003 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1004 | --libexe | --libex | --libe)
1005 ac_prev=libexecdir ;;
1006 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1007 | --libexe=* | --libex=* | --libe=*)
1008 libexecdir=$ac_optarg ;;
1010 -localedir | --localedir | --localedi | --localed | --locale)
1011 ac_prev=localedir ;;
1012 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1013 localedir=$ac_optarg ;;
1015 -localstatedir | --localstatedir | --localstatedi | --localstated \
1016 | --localstate | --localstat | --localsta | --localst | --locals)
1017 ac_prev=localstatedir ;;
1018 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1019 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1020 localstatedir=$ac_optarg ;;
1022 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1024 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1025 mandir=$ac_optarg ;;
1027 -nfp | --nfp | --nf)
1028 # Obsolete; use --without-fp.
1031 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1032 | --no-cr | --no-c | -n)
1035 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1036 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1039 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1040 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1041 | --oldin | --oldi | --old | --ol | --o)
1042 ac_prev=oldincludedir ;;
1043 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1044 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1045 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1046 oldincludedir=$ac_optarg ;;
1048 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1050 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1051 prefix=$ac_optarg ;;
1053 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1054 | --program-pre | --program-pr | --program-p)
1055 ac_prev=program_prefix ;;
1056 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1057 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1058 program_prefix=$ac_optarg ;;
1060 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1061 | --program-suf | --program-su | --program-s)
1062 ac_prev=program_suffix ;;
1063 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1064 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1065 program_suffix=$ac_optarg ;;
1067 -program-transform-name | --program-transform-name \
1068 | --program-transform-nam | --program-transform-na \
1069 | --program-transform-n | --program-transform- \
1070 | --program-transform | --program-transfor \
1071 | --program-transfo | --program-transf \
1072 | --program-trans | --program-tran \
1073 | --progr-tra | --program-tr | --program-t)
1074 ac_prev=program_transform_name ;;
1075 -program-transform-name=* | --program-transform-name=* \
1076 | --program-transform-nam=* | --program-transform-na=* \
1077 | --program-transform-n=* | --program-transform-=* \
1078 | --program-transform=* | --program-transfor=* \
1079 | --program-transfo=* | --program-transf=* \
1080 | --program-trans=* | --program-tran=* \
1081 | --progr-tra=* | --program-tr=* | --program-t=*)
1082 program_transform_name=$ac_optarg ;;
1084 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1086 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1087 pdfdir=$ac_optarg ;;
1089 -psdir | --psdir | --psdi | --psd | --ps)
1091 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1095 | -silent | --silent | --silen | --sile | --sil)
1098 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1100 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1102 sbindir=$ac_optarg ;;
1104 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1105 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1106 | --sharedst | --shareds | --shared | --share | --shar \
1108 ac_prev=sharedstatedir ;;
1109 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1110 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1111 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1113 sharedstatedir=$ac_optarg ;;
1115 -site | --site | --sit)
1117 -site=* | --site=* | --sit=*)
1120 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1122 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1123 srcdir=$ac_optarg ;;
1125 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1126 | --syscon | --sysco | --sysc | --sys | --sy)
1127 ac_prev=sysconfdir ;;
1128 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1129 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1130 sysconfdir=$ac_optarg ;;
1132 -target | --target | --targe | --targ | --tar | --ta | --t)
1133 ac_prev=target_alias ;;
1134 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1135 target_alias=$ac_optarg ;;
1137 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1140 -version | --version | --versio | --versi | --vers | -V)
1141 ac_init_version=: ;;
1144 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147 as_fn_error $? "invalid package name: $ac_useropt"
1148 ac_useropt_orig=$ac_useropt
1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1155 ac_unrecognized_sep=', ';;
1157 eval with_$ac_useropt=\$ac_optarg ;;
1159 -without-* | --without-*)
1160 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1163 as_fn_error $? "invalid package name: $ac_useropt"
1164 ac_useropt_orig=$ac_useropt
1165 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1171 ac_unrecognized_sep=', ';;
1173 eval with_$ac_useropt=no ;;
1176 # Obsolete; use --with-x.
1179 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1180 | --x-incl | --x-inc | --x-in | --x-i)
1181 ac_prev=x_includes ;;
1182 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1183 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1184 x_includes=$ac_optarg ;;
1186 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1187 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1188 ac_prev=x_libraries ;;
1189 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1190 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1191 x_libraries=$ac_optarg ;;
1193 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1194 Try \`$0 --help' for more information"
1198 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1199 # Reject names that are not valid shell variable names.
1200 case $ac_envvar in #(
1201 '' | [0-9]* | *[!_$as_cr_alnum]* )
1202 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1204 eval $ac_envvar=\$ac_optarg
1205 export $ac_envvar ;;
1208 # FIXME: should be removed in autoconf 3.0.
1209 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1210 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1211 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1212 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1218 if test -n "$ac_prev"; then
1219 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1220 as_fn_error $? "missing argument to $ac_option"
1223 if test -n "$ac_unrecognized_opts"; then
1224 case $enable_option_checking in
1226 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1227 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231 # Check all directory arguments for consistency.
1232 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val=\$$ac_var
1238 # Remove trailing slashes.
1241 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1242 eval $ac_var=\$ac_val;;
1244 # Be sure to have absolute directory names.
1246 [\\/$]* | ?:[\\/]* ) continue;;
1247 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1249 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1252 # There might be people who depend on the old broken behavior: `$host'
1253 # used to hold the argument of --host etc.
1254 # FIXME: To remove some day.
1257 target=$target_alias
1259 # FIXME: To remove some day.
1260 if test "x$host_alias" != x; then
1261 if test "x$build_alias" = x; then
1262 cross_compiling=maybe
1263 elif test "x$build_alias" != "x$host_alias"; then
1269 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1271 test "$silent" = yes && exec 6>/dev/null
1274 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1275 ac_ls_di=`ls -di .` &&
1276 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1277 as_fn_error $? "working directory cannot be determined"
1278 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1279 as_fn_error $? "pwd does not report name of working directory"
1282 # Find the source files, if location was not specified.
1283 if test -z "$srcdir"; then
1284 ac_srcdir_defaulted=yes
1285 # Try the directory containing this script, then the parent directory.
1286 ac_confdir=`$as_dirname -- "$as_myself" ||
1287 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1288 X"$as_myself" : 'X\(//\)[^/]' \| \
1289 X"$as_myself" : 'X\(//\)$' \| \
1290 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1291 $as_echo X"$as_myself" |
1292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1314 ac_srcdir_defaulted=no
1316 if test ! -r "$srcdir/$ac_unique_file"; then
1317 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1318 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1320 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1322 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1324 # When building in place, set srcdir=.
1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
1328 # Remove unnecessary trailing slashes from srcdir.
1329 # Double slashes in file names in object file debugging info
1330 # mess up M-x gdb in Emacs.
1332 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1334 for ac_var in $ac_precious_vars; do
1335 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1336 eval ac_env_${ac_var}_value=\$${ac_var}
1337 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1338 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1342 # Report the --help message.
1344 if test "$ac_init_help" = "long"; then
1345 # Omit some internal or obsolete options to make the list less imposing.
1346 # This message is too long to be a string in the A/UX 3.1 sh.
1348 \`configure' configures dleyna-core 0.2.2 to adapt to many kinds of systems.
1350 Usage: $0 [OPTION]... [VAR=VALUE]...
1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1353 VAR=VALUE. See below for descriptions of some of the useful variables.
1355 Defaults for the options are specified in brackets.
1358 -h, --help display this help and exit
1359 --help=short display options specific to this package
1360 --help=recursive display the short help of all the included packages
1361 -V, --version display version information and exit
1362 -q, --quiet, --silent do not print \`checking ...' messages
1363 --cache-file=FILE cache test results in FILE [disabled]
1364 -C, --config-cache alias for \`--cache-file=config.cache'
1365 -n, --no-create do not create output files
1366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1368 Installation directories:
1369 --prefix=PREFIX install architecture-independent files in PREFIX
1370 [$ac_default_prefix]
1371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1374 By default, \`make install' will install all the files in
1375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1377 for instance \`--prefix=\$HOME'.
1379 For better control, use the options below.
1381 Fine tuning of the installation directories:
1382 --bindir=DIR user executables [EPREFIX/bin]
1383 --sbindir=DIR system admin executables [EPREFIX/sbin]
1384 --libexecdir=DIR program executables [EPREFIX/libexec]
1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1388 --libdir=DIR object code libraries [EPREFIX/lib]
1389 --includedir=DIR C header files [PREFIX/include]
1390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1393 --infodir=DIR info documentation [DATAROOTDIR/info]
1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1395 --mandir=DIR man documentation [DATAROOTDIR/man]
1396 --docdir=DIR documentation root [DATAROOTDIR/doc/dleyna-core]
1397 --htmldir=DIR html documentation [DOCDIR]
1398 --dvidir=DIR dvi documentation [DOCDIR]
1399 --pdfdir=DIR pdf documentation [DOCDIR]
1400 --psdir=DIR ps documentation [DOCDIR]
1406 --program-prefix=PREFIX prepend PREFIX to installed program names
1407 --program-suffix=SUFFIX append SUFFIX to installed program names
1408 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1411 --build=BUILD configure for building on BUILD [guessed]
1412 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1416 if test -n "$ac_init_help"; then
1417 case $ac_init_help in
1418 short | recursive ) echo "Configuration of dleyna-core 0.2.2:";;
1423 --disable-option-checking ignore unrecognized --enable/--with options
1424 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1425 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1426 --enable-maintainer-mode enable make rules and dependencies not useful
1427 (and sometimes confusing) to the casual installer
1428 --enable-silent-rules less verbose build output (undo: `make V=1')
1429 --disable-silent-rules verbose build output (undo: `make V=0')
1430 --disable-dependency-tracking speeds up one-time build
1431 --enable-dependency-tracking do not reject slow dependency extractors
1432 --enable-static[=PKGS] build static libraries [default=no]
1433 --enable-shared[=PKGS] build shared libraries [default=yes]
1434 --enable-fast-install[=PKGS]
1435 optimize for fast installation [default=yes]
1436 --disable-libtool-lock avoid locking (might break parallel builds)
1437 --enable-debug enable compiling with debugging information
1438 --enable-werror warnings are treated as errors
1439 --disable-optimization disable code optimization through compiler
1442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1444 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1446 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1447 --with-sysroot=DIR Search for dependent libraries within DIR
1448 (or the compiler's sysroot if not specified).
1449 --with-log-level enable logging information (0,1..6,7,8) 0=disabled
1450 7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1451 comma separated list of log level
1453 Some influential environment variables:
1454 CC C compiler command
1455 CFLAGS C compiler flags
1456 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1457 nonstandard directory <lib dir>
1458 LIBS libraries to pass to the linker, e.g. -l<library>
1459 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1460 you have headers in a nonstandard directory <include dir>
1462 PKG_CONFIG path to pkg-config utility
1464 directories to add to pkg-config's search path
1466 path overriding pkg-config's built-in search path
1467 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1468 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1469 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1470 GIO_LIBS linker flags for GIO, overriding pkg-config
1472 C compiler flags for GMODULE, overriding pkg-config
1474 linker flags for GMODULE, overriding pkg-config
1476 C compiler flags for GUPNP, overriding pkg-config
1477 GUPNP_LIBS linker flags for GUPNP, overriding pkg-config
1479 Use these variables to override the choices made by `configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1482 Report bugs to <https://github.com/01org/dleyna-core/issues/new>.
1483 dleyna-core home page: <https://01.org/dleyna/>.
1488 if test "$ac_init_help" = "recursive"; then
1489 # If there are subdirs, report their specific --help.
1490 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1491 test -d "$ac_dir" ||
1492 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1500 # A ".." for each directory in $ac_dir_suffix.
1501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1502 case $ac_top_builddir_sub in
1503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1507 ac_abs_top_builddir=$ac_pwd
1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1509 # for backward compatibility:
1510 ac_top_builddir=$ac_top_build_prefix
1513 .) # We are building in place.
1515 ac_top_srcdir=$ac_top_builddir_sub
1516 ac_abs_top_srcdir=$ac_pwd ;;
1517 [\\/]* | ?:[\\/]* ) # Absolute name.
1518 ac_srcdir=$srcdir$ac_dir_suffix;
1519 ac_top_srcdir=$srcdir
1520 ac_abs_top_srcdir=$srcdir ;;
1522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1523 ac_top_srcdir=$ac_top_build_prefix$srcdir
1524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1528 cd "$ac_dir" || { ac_status=$?; continue; }
1529 # Check for guested configure.
1530 if test -f "$ac_srcdir/configure.gnu"; then
1532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1533 elif test -f "$ac_srcdir/configure"; then
1535 $SHELL "$ac_srcdir/configure" --help=recursive
1537 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1539 cd "$ac_pwd" || { ac_status=$?; break; }
1543 test -n "$ac_init_help" && exit $ac_status
1544 if $ac_init_version; then
1546 dleyna-core configure 0.2.2
1547 generated by GNU Autoconf 2.69
1549 Copyright (C) 2012 Free Software Foundation, Inc.
1550 This configure script is free software; the Free Software Foundation
1551 gives unlimited permission to copy, distribute and modify it.
1556 ## ------------------------ ##
1557 ## Autoconf initialization. ##
1558 ## ------------------------ ##
1560 # ac_fn_c_try_compile LINENO
1561 # --------------------------
1562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1563 ac_fn_c_try_compile ()
1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1566 rm -f conftest.$ac_objext
1567 if { { ac_try="$ac_compile"
1569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570 *) ac_try_echo=$ac_try;;
1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573 $as_echo "$ac_try_echo"; } >&5
1574 (eval "$ac_compile") 2>conftest.err
1576 if test -s conftest.err; then
1577 grep -v '^ *+' conftest.err >conftest.er1
1578 cat conftest.er1 >&5
1579 mv -f conftest.er1 conftest.err
1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582 test $ac_status = 0; } && {
1583 test -z "$ac_c_werror_flag" ||
1584 test ! -s conftest.err
1585 } && test -s conftest.$ac_objext; then :
1588 $as_echo "$as_me: failed program was:" >&5
1589 sed 's/^/| /' conftest.$ac_ext >&5
1593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594 as_fn_set_status $ac_retval
1596 } # ac_fn_c_try_compile
1598 # ac_fn_c_try_link LINENO
1599 # -----------------------
1600 # Try to link conftest.$ac_ext, and return whether this succeeded.
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 rm -f conftest.$ac_objext conftest$ac_exeext
1605 if { { ac_try="$ac_link"
1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_link") 2>conftest.err
1614 if test -s conftest.err; then
1615 grep -v '^ *+' conftest.err >conftest.er1
1616 cat conftest.er1 >&5
1617 mv -f conftest.er1 conftest.err
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; } && {
1621 test -z "$ac_c_werror_flag" ||
1622 test ! -s conftest.err
1623 } && test -s conftest$ac_exeext && {
1624 test "$cross_compiling" = yes ||
1625 test -x conftest$ac_exeext
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1635 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1636 # interfere with the next link command; also delete a directory that is
1637 # left behind by Apple's compiler. We do this before executing the actions.
1638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status $ac_retval
1642 } # ac_fn_c_try_link
1644 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1645 # -------------------------------------------------------
1646 # Tests whether HEADER exists and can be compiled using the include files in
1647 # INCLUDES, setting the cache variable VAR accordingly.
1648 ac_fn_c_check_header_compile ()
1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1652 $as_echo_n "checking for $2... " >&6; }
1653 if eval \${$3+:} false; then :
1654 $as_echo_n "(cached) " >&6
1656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657 /* end confdefs.h. */
1661 if ac_fn_c_try_compile "$LINENO"; then :
1666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1670 $as_echo "$ac_res" >&6; }
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 } # ac_fn_c_check_header_compile
1675 # ac_fn_c_try_cpp LINENO
1676 # ----------------------
1677 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 if { { ac_try="$ac_cpp conftest.$ac_ext"
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } > conftest.i && {
1697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1712 # ac_fn_c_try_run LINENO
1713 # ----------------------
1714 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1715 # that executables *can* be run.
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_link"
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_link") 2>&5
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1730 { { case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_try") 2>&5
1738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739 test $ac_status = 0; }; }; then :
1742 $as_echo "$as_me: program exited with status $ac_status" >&5
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1746 ac_retval=$ac_status
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status $ac_retval
1754 # ac_fn_c_check_func LINENO FUNC VAR
1755 # ----------------------------------
1756 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1757 ac_fn_c_check_func ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766 /* end confdefs.h. */
1767 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1769 #define $2 innocuous_$2
1771 /* System header to define __stub macros and hopefully few prototypes,
1772 which can conflict with char $2 (); below.
1773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1774 <limits.h> exists even on freestanding compilers. */
1777 # include <limits.h>
1779 # include <assert.h>
1784 /* Override any GCC internal prototype to avoid an error.
1785 Use char because int might match the return type of a GCC
1786 builtin and then its argument prototype would still apply. */
1791 /* The GNU C library defines this for functions which it implements
1792 to always fail with ENOSYS. Some functions are actually named
1793 something starting with __ and the normal name is an alias. */
1794 #if defined __stub_$2 || defined __stub___$2
1806 if ac_fn_c_try_link "$LINENO"; then :
1811 rm -f core conftest.err conftest.$ac_objext \
1812 conftest$ac_exeext conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816 $as_echo "$ac_res" >&6; }
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 } # ac_fn_c_check_func
1821 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1822 # -------------------------------------------------------
1823 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1824 # the include files in INCLUDES and setting the cache variable VAR
1826 ac_fn_c_check_header_mongrel ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 if eval \${$3+:} false; then :
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \${$3+:} false; then :
1833 $as_echo_n "(cached) " >&6
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 $as_echo "$ac_res" >&6; }
1839 # Is the header compilable?
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1841 $as_echo_n "checking $2 usability... " >&6; }
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1847 if ac_fn_c_try_compile "$LINENO"; then :
1848 ac_header_compiler=yes
1850 ac_header_compiler=no
1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1854 $as_echo "$ac_header_compiler" >&6; }
1856 # Is the header present?
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1858 $as_echo_n "checking $2 presence... " >&6; }
1859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1863 if ac_fn_c_try_cpp "$LINENO"; then :
1864 ac_header_preproc=yes
1866 ac_header_preproc=no
1868 rm -f conftest.err conftest.i conftest.$ac_ext
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1870 $as_echo "$ac_header_preproc" >&6; }
1872 # So? What about this header?
1873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1876 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1878 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1882 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1884 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1886 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1888 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1890 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1891 ( $as_echo "## -------------------------------------------------------------- ##
1892 ## Report this to https://github.com/01org/dleyna-core/issues/new ##
1893 ## -------------------------------------------------------------- ##"
1894 ) | sed "s/^/$as_me: WARNING: /" >&2
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \${$3+:} false; then :
1900 $as_echo_n "(cached) " >&6
1902 eval "$3=\$ac_header_compiler"
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_header_mongrel
1912 # ac_fn_c_find_uintX_t LINENO BITS VAR
1913 # ------------------------------------
1914 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1916 ac_fn_c_find_uintX_t ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1920 $as_echo_n "checking for uint$2_t... " >&6; }
1921 if eval \${$3+:} false; then :
1922 $as_echo_n "(cached) " >&6
1925 # Order is important - never check a type that is potentially smaller
1926 # than half of the expected target width.
1927 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1928 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1931 $ac_includes_default
1935 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1937 return test_array [0];
1943 if ac_fn_c_try_compile "$LINENO"; then :
1948 eval "$3=\$ac_type" ;;
1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952 if eval test \"x\$"$3"\" = x"no"; then :
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_find_uintX_t
1966 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1967 # -------------------------------------------
1968 # Tests whether TYPE exists after having included INCLUDES, setting cache
1969 # variable VAR accordingly.
1970 ac_fn_c_check_type ()
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1974 $as_echo_n "checking for $2... " >&6; }
1975 if eval \${$3+:} false; then :
1976 $as_echo_n "(cached) " >&6
1979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980 /* end confdefs.h. */
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
2004 if ac_fn_c_try_compile "$LINENO"; then :
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 } # ac_fn_c_check_type
2019 cat >config.log <<_ACEOF
2020 This file contains any messages produced by compilers while
2021 running configure, to aid debugging if configure makes a mistake.
2023 It was created by dleyna-core $as_me 0.2.2, which was
2024 generated by GNU Autoconf 2.69. Invocation command line was
2036 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2037 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2038 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2039 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2040 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2042 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2043 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2045 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2046 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2047 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2048 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2049 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2050 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2051 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir=.
2060 $as_echo "PATH: $as_dir"
2076 # Keep a trace of the command line.
2077 # Strip out --no-create and --no-recursion so they do not pile up.
2078 # Strip out --silent because we don't want to record it for future runs.
2079 # Also quote any args containing shell meta-characters.
2080 # Make two passes to allow for proper duplicate-argument suppression.
2084 ac_must_keep_next=false
2090 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2092 | -silent | --silent | --silen | --sile | --sil)
2095 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2098 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2100 as_fn_append ac_configure_args1 " '$ac_arg'"
2101 if test $ac_must_keep_next = true; then
2102 ac_must_keep_next=false # Got value, back to normal.
2105 *=* | --config-cache | -C | -disable-* | --disable-* \
2106 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2107 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2108 | -with-* | --with-* | -without-* | --without-* | --x)
2109 case "$ac_configure_args0 " in
2110 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2113 -* ) ac_must_keep_next=true ;;
2116 as_fn_append ac_configure_args " '$ac_arg'"
2121 { ac_configure_args0=; unset ac_configure_args0;}
2122 { ac_configure_args1=; unset ac_configure_args1;}
2124 # When interrupted or exit'd, cleanup temporary files, and complete
2125 # config.log. We remove comments because anyway the quotes in there
2126 # would cause problems or look ugly.
2127 # WARNING: Use '\'' to represent an apostrophe within the trap.
2128 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2129 trap 'exit_status=$?
2130 # Save into config.log some information that might help in debugging.
2134 $as_echo "## ---------------- ##
2135 ## Cache variables. ##
2136 ## ---------------- ##"
2138 # The following way of writing the cache mishandles newlines in values,
2140 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2141 eval ac_val=\$$ac_var
2145 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2146 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2149 _ | IFS | as_nl) ;; #(
2150 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2151 *) { eval $ac_var=; unset $ac_var;} ;;
2156 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2157 *${as_nl}ac_space=\ *)
2159 "s/'\''/'\''\\\\'\'''\''/g;
2160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2170 $as_echo "## ----------------- ##
2171 ## Output variables. ##
2172 ## ----------------- ##"
2174 for ac_var in $ac_subst_vars
2176 eval ac_val=\$$ac_var
2178 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2180 $as_echo "$ac_var='\''$ac_val'\''"
2184 if test -n "$ac_subst_files"; then
2185 $as_echo "## ------------------- ##
2186 ## File substitutions. ##
2187 ## ------------------- ##"
2189 for ac_var in $ac_subst_files
2191 eval ac_val=\$$ac_var
2193 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2195 $as_echo "$ac_var='\''$ac_val'\''"
2200 if test -s confdefs.h; then
2201 $as_echo "## ----------- ##
2208 test "$ac_signal" != 0 &&
2209 $as_echo "$as_me: caught signal $ac_signal"
2210 $as_echo "$as_me: exit $exit_status"
2212 rm -f core *.core core.conftest.* &&
2213 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2216 for ac_signal in 1 2 13 15; do
2217 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2221 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2222 rm -f -r conftest* confdefs.h
2224 $as_echo "/* confdefs.h */" > confdefs.h
2226 # Predefined preprocessor variables.
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_NAME "$PACKAGE_NAME"
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_STRING "$PACKAGE_STRING"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_URL "$PACKAGE_URL"
2253 # Let the site file select an alternate cache file if it wants to.
2254 # Prefer an explicitly selected file to automatically selected ones.
2257 if test -n "$CONFIG_SITE"; then
2258 # We do not want a PATH search for config.site.
2259 case $CONFIG_SITE in #((
2260 -*) ac_site_file1=./$CONFIG_SITE;;
2261 */*) ac_site_file1=$CONFIG_SITE;;
2262 *) ac_site_file1=./$CONFIG_SITE;;
2264 elif test "x$prefix" != xNONE; then
2265 ac_site_file1=$prefix/share/config.site
2266 ac_site_file2=$prefix/etc/config.site
2268 ac_site_file1=$ac_default_prefix/share/config.site
2269 ac_site_file2=$ac_default_prefix/etc/config.site
2271 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2273 test "x$ac_site_file" = xNONE && continue
2274 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2276 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2277 sed 's/^/| /' "$ac_site_file" >&5
2279 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 as_fn_error $? "failed to load site script $ac_site_file
2282 See \`config.log' for more details" "$LINENO" 5; }
2286 if test -r "$cache_file"; then
2287 # Some versions of bash will fail to source /dev/null (special files
2288 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2289 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2291 $as_echo "$as_me: loading cache $cache_file" >&6;}
2293 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2294 *) . "./$cache_file";;
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2299 $as_echo "$as_me: creating cache $cache_file" >&6;}
2303 # Check that the precious variables saved in the cache have kept the same
2305 ac_cache_corrupted=false
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2308 eval ac_new_set=\$ac_env_${ac_var}_set
2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2310 eval ac_new_val=\$ac_env_${ac_var}_value
2311 case $ac_old_set,$ac_new_set in
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2314 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2318 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2319 ac_cache_corrupted=: ;;
2322 if test "x$ac_old_val" != "x$ac_new_val"; then
2323 # differences in whitespace do not lead to failure.
2324 ac_old_val_w=`echo x $ac_old_val`
2325 ac_new_val_w=`echo x $ac_new_val`
2326 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2328 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2329 ac_cache_corrupted=:
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2332 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2333 eval $ac_var=\$ac_old_val
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2336 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2338 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2341 # Pass precious variables to config.status.
2342 if test "$ac_new_set" = set; then
2344 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2345 *) ac_arg=$ac_var=$ac_new_val ;;
2347 case " $ac_configure_args " in
2348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2349 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2353 if $ac_cache_corrupted; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2357 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2358 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2360 ## -------------------- ##
2361 ## Main body of script. ##
2362 ## -------------------- ##
2365 ac_cpp='$CPP $CPPFLAGS'
2366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2372 ac_config_headers="$ac_config_headers config.h"
2375 for ac_dir in build-aux "$srcdir"/build-aux; do
2376 if test -f "$ac_dir/install-sh"; then
2378 ac_install_sh="$ac_aux_dir/install-sh -c"
2380 elif test -f "$ac_dir/install.sh"; then
2382 ac_install_sh="$ac_aux_dir/install.sh -c"
2384 elif test -f "$ac_dir/shtool"; then
2386 ac_install_sh="$ac_aux_dir/shtool install -c"
2390 if test -z "$ac_aux_dir"; then
2391 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2394 # These three variables are undocumented and unsupported,
2395 # and are intended to be withdrawn in a future Autoconf release.
2396 # They can cause serious problems if a builder's source tree is in a directory
2397 # whose full name contains unusual characters.
2398 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2399 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2400 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2408 am__api_version='1.11'
2410 # Find a good install program. We prefer a C program (faster),
2411 # so one script is as good as another. But avoid the broken or
2412 # incompatible versions:
2413 # SysV /etc/install, /usr/sbin/install
2414 # SunOS /usr/etc/install
2415 # IRIX /sbin/install
2417 # AmigaOS /C/install, which installs bootblocks on floppy discs
2418 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2419 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2420 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2421 # OS/2's system install, which has a completely different semantic
2422 # ./install, which can be erroneously created by make from ./install.sh.
2423 # Reject install programs that cannot install multiple files.
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2425 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2426 if test -z "$INSTALL"; then
2427 if ${ac_cv_path_install+:} false; then :
2428 $as_echo_n "(cached) " >&6
2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir=.
2435 # Account for people who put trailing slashes in PATH elements.
2436 case $as_dir/ in #((
2437 ./ | .// | /[cC]/* | \
2438 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2439 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2442 # OSF1 and SCO ODT 3.0 have their own names for install.
2443 # Don't use installbsd from OSF since it installs stuff as root
2445 for ac_prog in ginstall scoinst install; do
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2448 if test $ac_prog = install &&
2449 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2450 # AIX install. It has an incompatible calling convention.
2452 elif test $ac_prog = install &&
2453 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2454 # program-specific install script used by HP pwplus--don't use.
2457 rm -rf conftest.one conftest.two conftest.dir
2458 echo one > conftest.one
2459 echo two > conftest.two
2461 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2462 test -s conftest.one && test -s conftest.two &&
2463 test -s conftest.dir/conftest.one &&
2464 test -s conftest.dir/conftest.two
2466 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2479 rm -rf conftest.one conftest.two conftest.dir
2482 if test "${ac_cv_path_install+set}" = set; then
2483 INSTALL=$ac_cv_path_install
2485 # As a last resort, use the slow shell script. Don't cache a
2486 # value for INSTALL within a source directory, because that will
2487 # break other packages using the cache if that directory is
2488 # removed, or if the value is a relative name.
2489 INSTALL=$ac_install_sh
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2493 $as_echo "$INSTALL" >&6; }
2495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2496 # It thinks the first close brace ends the variable substitution.
2497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2501 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2504 $as_echo_n "checking whether build environment is sane... " >&6; }
2507 echo timestamp > conftest.file
2508 # Reject unsafe characters in $srcdir or the absolute working directory
2509 # name. Accept space and tab only in the latter.
2513 *[\\\"\#\$\&\'\`$am_lf]*)
2514 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2517 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2518 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2521 # Do `set' in a subshell so we don't clobber the current shell's
2522 # arguments. Must try -L first in case configure is actually a
2523 # symlink; some systems play weird games with the mod time of symlinks
2524 # (eg FreeBSD returns the mod time of the symlink's containing
2527 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2528 if test "$*" = "X"; then
2530 set X `ls -t "$srcdir/configure" conftest.file`
2533 if test "$*" != "X $srcdir/configure conftest.file" \
2534 && test "$*" != "X conftest.file $srcdir/configure"; then
2536 # If neither matched, then we have a broken ls. This can happen
2537 # if, for instance, CONFIG_SHELL is bash and it inherits a
2538 # broken ls alias from the environment. This has actually
2539 # happened. Such a system could not be considered "sane".
2540 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2541 alias in your environment" "$LINENO" 5
2544 test "$2" = conftest.file
2550 as_fn_error $? "newly created file is older than distributed files!
2551 Check your system clock" "$LINENO" 5
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2554 $as_echo "yes" >&6; }
2555 test "$program_prefix" != NONE &&
2556 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2557 # Use a double $ so make ignores it.
2558 test "$program_suffix" != NONE &&
2559 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2560 # Double any \ or $.
2561 # By default was `s,x,x', remove it if useless.
2562 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2563 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2565 # expand $ac_aux_dir to an absolute path
2566 am_aux_dir=`cd $ac_aux_dir && pwd`
2568 if test x"${MISSING+set}" != xset; then
2571 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2573 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2576 # Use eval to expand $SHELL
2577 if eval "$MISSING --run true"; then
2578 am_missing_run="$MISSING --run "
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2582 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2585 if test x"${install_sh}" != xset; then
2588 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2590 install_sh="\${SHELL} $am_aux_dir/install-sh"
2594 # Installed binaries are usually stripped using `strip' when the user
2595 # run `make install-strip'. However `strip' might not be the right
2596 # tool to use in cross-compilation environments, therefore Automake
2597 # will honor the `STRIP' environment variable to overrule this program.
2598 if test "$cross_compiling" != no; then
2599 if test -n "$ac_tool_prefix"; then
2600 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2601 set dummy ${ac_tool_prefix}strip; ac_word=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if ${ac_cv_prog_STRIP+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$STRIP"; then
2608 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 STRIP=$ac_cv_prog_STRIP
2628 if test -n "$STRIP"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2630 $as_echo "$STRIP" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2638 if test -z "$ac_cv_prog_STRIP"; then
2640 # Extract the first word of "strip", so it can be a program name with args.
2641 set dummy strip; ac_word=$2
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$ac_ct_STRIP"; then
2648 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_ac_ct_STRIP="strip"
2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2668 if test -n "$ac_ct_STRIP"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2670 $as_echo "$ac_ct_STRIP" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2673 $as_echo "no" >&6; }
2676 if test "x$ac_ct_STRIP" = x; then
2679 case $cross_compiling:$ac_tool_warned in
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2683 ac_tool_warned=yes ;;
2688 STRIP="$ac_cv_prog_STRIP"
2692 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2695 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2696 if test -z "$MKDIR_P"; then
2697 if ${ac_cv_path_mkdir+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2704 test -z "$as_dir" && as_dir=.
2705 for ac_prog in mkdir gmkdir; do
2706 for ac_exec_ext in '' $ac_executable_extensions; do
2707 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2708 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2709 'mkdir (GNU coreutils) '* | \
2710 'mkdir (coreutils) '* | \
2711 'mkdir (fileutils) '4.1*)
2712 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2722 test -d ./--version && rmdir ./--version
2723 if test "${ac_cv_path_mkdir+set}" = set; then
2724 MKDIR_P="$ac_cv_path_mkdir -p"
2726 # As a last resort, use the slow shell script. Don't cache a
2727 # value for MKDIR_P within a source directory, because that will
2728 # break other packages using the cache if that directory is
2729 # removed, or if the value is a relative name.
2730 MKDIR_P="$ac_install_sh -d"
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2734 $as_echo "$MKDIR_P" >&6; }
2738 [\\/$]* | ?:[\\/]*) ;;
2739 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2742 for ac_prog in gawk mawk nawk awk
2744 # Extract the first word of "$ac_prog", so it can be a program name with args.
2745 set dummy $ac_prog; ac_word=$2
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747 $as_echo_n "checking for $ac_word... " >&6; }
2748 if ${ac_cv_prog_AWK+:} false; then :
2749 $as_echo_n "(cached) " >&6
2751 if test -n "$AWK"; then
2752 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir=.
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2761 ac_cv_prog_AWK="$ac_prog"
2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 if test -n "$AWK"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2774 $as_echo "$AWK" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2781 test -n "$AWK" && break
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2785 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2787 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2788 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 cat >conftest.make <<\_ACEOF
2794 @echo '@@@%%%=$(MAKE)=@@@%%%'
2796 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2797 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2799 eval ac_cv_prog_make_${ac_make}_set=yes;;
2801 eval ac_cv_prog_make_${ac_make}_set=no;;
2805 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2807 $as_echo "yes" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2812 SET_MAKE="MAKE=${MAKE-make}"
2815 rm -rf .tst 2>/dev/null
2816 mkdir .tst 2>/dev/null
2817 if test -d .tst; then
2822 rmdir .tst 2>/dev/null
2824 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2825 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2826 # is not polluted with repeated "-I."
2827 am__isrc=' -I$(srcdir)'
2828 # test to see if srcdir already configured
2829 if test -f $srcdir/config.status; then
2830 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2834 # test whether we have cygpath
2835 if test -z "$CYGPATH_W"; then
2836 if (cygpath --version) >/dev/null 2>/dev/null; then
2837 CYGPATH_W='cygpath -w'
2844 # Define the identity of the package.
2845 PACKAGE='dleyna-core'
2849 cat >>confdefs.h <<_ACEOF
2850 #define PACKAGE "$PACKAGE"
2854 cat >>confdefs.h <<_ACEOF
2855 #define VERSION "$VERSION"
2858 # Some tools Automake needs.
2860 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2863 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2866 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2869 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2872 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2874 # We need awk for the "check" target. The system "awk" is bad on
2876 # Always define AMTAR for backward compatibility. Yes, it's still used
2877 # in the wild :-( We should find a proper way to deprecate it ...
2880 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2889 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2890 # Check whether --enable-maintainer-mode was given.
2891 if test "${enable_maintainer_mode+set}" = set; then :
2892 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2894 USE_MAINTAINER_MODE=no
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2898 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2899 if test $USE_MAINTAINER_MODE = yes; then
2900 MAINTAINER_MODE_TRUE=
2901 MAINTAINER_MODE_FALSE='#'
2903 MAINTAINER_MODE_TRUE='#'
2904 MAINTAINER_MODE_FALSE=
2907 MAINT=$MAINTAINER_MODE_TRUE
2910 # Check whether --enable-silent-rules was given.
2911 if test "${enable_silent_rules+set}" = set; then :
2912 enableval=$enable_silent_rules;
2915 case $enable_silent_rules in
2916 yes) AM_DEFAULT_VERBOSITY=0;;
2917 no) AM_DEFAULT_VERBOSITY=1;;
2918 *) AM_DEFAULT_VERBOSITY=0;;
2920 am_make=${MAKE-make}
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2922 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2923 if ${am_cv_make_support_nested_variables+:} false; then :
2924 $as_echo_n "(cached) " >&6
2926 if $as_echo 'TRUE=$(BAR$(V))
2932 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2933 am_cv_make_support_nested_variables=yes
2935 am_cv_make_support_nested_variables=no
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2939 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2940 if test $am_cv_make_support_nested_variables = yes; then
2942 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2944 AM_V=$AM_DEFAULT_VERBOSITY
2945 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2951 if (test x"${CFLAGS}" = x""); then
2954 CFLAGS+=" -D_FORTIFY_SOURCE=2"
2957 if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
2959 CFLAGS+=" -Wno-unused-parameter"
2960 CFLAGS+=" -Wno-missing-field-initializers"
2961 CFLAGS+=" -Wdeclaration-after-statement"
2962 CFLAGS+=" -Wmissing-declarations"
2963 CFLAGS+=" -Wredundant-decls"
2964 CFLAGS+=" -Wcast-align"
2966 CFLAGS+=" -Wstrict-prototypes"
2967 CFLAGS+=" -Wmissing-prototypes"
2968 CFLAGS+=" -Wnested-externs"
2970 CFLAGS+=" -Wformat=2"
2971 CFLAGS+=" -Winit-self"
2973 CFLAGS+=" -std=gnu99"
2974 CFLAGS+=" -pedantic"
2975 CFLAGS+=" -Wno-overlength-strings"
2977 CFLAGS+=" -DG_DISABLE_DEPRECATED"
2978 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
2981 CFLAGS+=" -Wno-format-extra-args"
2984 # Checks for languages.
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2992 # Checks for programs.
2994 ac_cpp='$CPP $CPPFLAGS'
2995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998 if test -n "$ac_tool_prefix"; then
2999 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3000 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if ${ac_cv_prog_CC+:} false; then :
3004 $as_echo_n "(cached) " >&6
3006 if test -n "$CC"; then
3007 ac_cv_prog_CC="$CC" # Let the user override the test.
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir=.
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3016 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 if test -n "$CC"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3029 $as_echo "$CC" >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3037 if test -z "$ac_cv_prog_CC"; then
3039 # Extract the first word of "gcc", so it can be a program name with args.
3040 set dummy gcc; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$ac_ct_CC"; then
3047 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_ac_ct_CC="gcc"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3067 if test -n "$ac_ct_CC"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3069 $as_echo "$ac_ct_CC" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3075 if test "x$ac_ct_CC" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3082 ac_tool_warned=yes ;;
3090 if test -z "$CC"; then
3091 if test -n "$ac_tool_prefix"; then
3092 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3093 set dummy ${ac_tool_prefix}cc; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if ${ac_cv_prog_CC+:} false; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$CC"; then
3100 ac_cv_prog_CC="$CC" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_CC="${ac_tool_prefix}cc"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122 $as_echo "$CC" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3131 if test -z "$CC"; then
3132 # Extract the first word of "cc", so it can be a program name with args.
3133 set dummy cc; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_CC+:} false; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC="$CC" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3151 ac_prog_rejected=yes
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 if test $ac_prog_rejected = yes; then
3163 # We found a bogon in the path, so make sure we never use it.
3164 set dummy $ac_cv_prog_CC
3166 if test $# != 0; then
3167 # We chose a different compiler from the bogus one.
3168 # However, it has the same basename, so the bogon will be chosen
3169 # first if we set CC to just the basename; use the full file name.
3171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3177 if test -n "$CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179 $as_echo "$CC" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3187 if test -z "$CC"; then
3188 if test -n "$ac_tool_prefix"; then
3189 for ac_prog in cl.exe
3191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3192 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_CC+:} false; then :
3196 $as_echo_n "(cached) " >&6
3198 if test -n "$CC"; then
3199 ac_cv_prog_CC="$CC" # Let the user override the test.
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 if test -n "$CC"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3221 $as_echo "$CC" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3228 test -n "$CC" && break
3231 if test -z "$CC"; then
3233 for ac_prog in cl.exe
3235 # Extract the first word of "$ac_prog", so it can be a program name with args.
3236 set dummy $ac_prog; ac_word=$2
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238 $as_echo_n "checking for $ac_word... " >&6; }
3239 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3240 $as_echo_n "(cached) " >&6
3242 if test -n "$ac_ct_CC"; then
3243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir=.
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252 ac_cv_prog_ac_ct_CC="$ac_prog"
3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3263 if test -n "$ac_ct_CC"; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3265 $as_echo "$ac_ct_CC" >&6; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268 $as_echo "no" >&6; }
3272 test -n "$ac_ct_CC" && break
3275 if test "x$ac_ct_CC" = x; then
3278 case $cross_compiling:$ac_tool_warned in
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3282 ac_tool_warned=yes ;;
3291 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error $? "no acceptable C compiler found in \$PATH
3294 See \`config.log' for more details" "$LINENO" 5; }
3296 # Provide some information about the compiler.
3297 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3300 for ac_option in --version -v -V -qversion; do
3301 { { ac_try="$ac_compiler $ac_option >&5"
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3310 if test -s conftest.err; then
3312 ... rest of stderr output deleted ...
3313 10q' conftest.err >conftest.er1
3314 cat conftest.er1 >&5
3316 rm -f conftest.er1 conftest.err
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 ac_clean_files_save=$ac_clean_files
3333 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3334 # Try to create an executable without -o first, disregard a.out.
3335 # It will help us diagnose broken compilers, and finding out an intuition
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3338 $as_echo_n "checking whether the C compiler works... " >&6; }
3339 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3341 # The possible output files:
3342 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3345 for ac_file in $ac_files
3348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3349 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3354 if { { ac_try="$ac_link_default"
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_link_default") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; then :
3365 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3366 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3367 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3368 # so that the user can short-circuit this test for compilers unknown to
3370 for ac_file in $ac_files ''
3372 test -f "$ac_file" || continue
3374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3377 # We found the default executable, but exeext='' is most
3381 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3383 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3385 # We set ac_cv_exeext here because the later test for it is not
3386 # safe: cross compilers may not add the suffix if given an `-o'
3387 # argument, so we may need to know it at that point already.
3388 # Even if this section looks crufty: it has the advantage of
3395 test "$ac_cv_exeext" = no && ac_cv_exeext=
3400 if test -z "$ac_file"; then :
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3403 $as_echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408 as_fn_error 77 "C compiler cannot create executables
3409 See \`config.log' for more details" "$LINENO" 5; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3412 $as_echo "yes" >&6; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3415 $as_echo_n "checking for C compiler default output file name... " >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3417 $as_echo "$ac_file" >&6; }
3418 ac_exeext=$ac_cv_exeext
3420 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3421 ac_clean_files=$ac_clean_files_save
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3423 $as_echo_n "checking for suffix of executables... " >&6; }
3424 if { { ac_try="$ac_link"
3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3430 $as_echo "$ac_try_echo"; } >&5
3431 (eval "$ac_link") 2>&5
3433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3434 test $ac_status = 0; }; then :
3435 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3436 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3437 # work properly (i.e., refer to `conftest.exe'), while it won't with
3439 for ac_file in conftest.exe conftest conftest.*; do
3440 test -f "$ac_file" || continue
3442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3443 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3452 See \`config.log' for more details" "$LINENO" 5; }
3454 rm -f conftest conftest$ac_cv_exeext
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3456 $as_echo "$ac_cv_exeext" >&6; }
3458 rm -f conftest.$ac_ext
3459 EXEEXT=$ac_cv_exeext
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3467 FILE *f = fopen ("conftest.out", "w");
3468 return ferror (f) || fclose (f) != 0;
3474 ac_clean_files="$ac_clean_files conftest.out"
3475 # Check that the compiler produces executables we can run. If not, either
3476 # the compiler is broken, or we cross compile.
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3478 $as_echo_n "checking whether we are cross compiling... " >&6; }
3479 if test "$cross_compiling" != yes; then
3480 { { ac_try="$ac_link"
3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483 *) ac_try_echo=$ac_try;;
3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3486 $as_echo "$ac_try_echo"; } >&5
3487 (eval "$ac_link") 2>&5
3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3490 test $ac_status = 0; }
3491 if { ac_try='./conftest$ac_cv_exeext'
3492 { { case "(($ac_try" in
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
3498 (eval "$ac_try") 2>&5
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }; }; then
3504 if test "$cross_compiling" = maybe; then
3507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 as_fn_error $? "cannot run C compiled programs.
3510 If you meant to cross compile, use \`--host'.
3511 See \`config.log' for more details" "$LINENO" 5; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3516 $as_echo "$cross_compiling" >&6; }
3518 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3519 ac_clean_files=$ac_clean_files_save
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3521 $as_echo_n "checking for suffix of object files... " >&6; }
3522 if ${ac_cv_objext+:} false; then :
3523 $as_echo_n "(cached) " >&6
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 rm -f conftest.o conftest.obj
3537 if { { ac_try="$ac_compile"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543 $as_echo "$ac_try_echo"; } >&5
3544 (eval "$ac_compile") 2>&5
3546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 test $ac_status = 0; }; then :
3548 for ac_file in conftest.o conftest.obj conftest.*; do
3549 test -f "$ac_file" || continue;
3551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3557 $as_echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562 as_fn_error $? "cannot compute suffix of object files: cannot compile
3563 See \`config.log' for more details" "$LINENO" 5; }
3565 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3568 $as_echo "$ac_cv_objext" >&6; }
3569 OBJEXT=$ac_cv_objext
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3572 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3573 if ${ac_cv_c_compiler_gnu+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h. */
3590 if ac_fn_c_try_compile "$LINENO"; then :
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3600 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3601 if test $ac_compiler_gnu = yes; then
3606 ac_test_CFLAGS=${CFLAGS+set}
3607 ac_save_CFLAGS=$CFLAGS
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3609 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3610 if ${ac_cv_prog_cc_g+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 ac_save_c_werror_flag=$ac_c_werror_flag
3614 ac_c_werror_flag=yes
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3628 if ac_fn_c_try_compile "$LINENO"; then :
3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633 /* end confdefs.h. */
3643 if ac_fn_c_try_compile "$LINENO"; then :
3646 ac_c_werror_flag=$ac_save_c_werror_flag
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 if ac_fn_c_try_compile "$LINENO"; then :
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667 ac_c_werror_flag=$ac_save_c_werror_flag
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3670 $as_echo "$ac_cv_prog_cc_g" >&6; }
3671 if test "$ac_test_CFLAGS" = set; then
3672 CFLAGS=$ac_save_CFLAGS
3673 elif test $ac_cv_prog_cc_g = yes; then
3674 if test "$GCC" = yes; then
3680 if test "$GCC" = yes; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3687 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3688 if ${ac_cv_prog_cc_c89+:} false; then :
3689 $as_echo_n "(cached) " >&6
3691 ac_cv_prog_cc_c89=no
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3699 struct buf { int x; };
3700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3701 static char *e (p, i)
3707 static char *f (char * (*g) (char **, int), char **p, ...)
3712 s = g (p, va_arg (v,int));
3717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3718 function prototypes and stuff, but not '\xHH' hex character constants.
3719 These don't provoke an error unfortunately, instead are silently treated
3720 as 'x'. The following induces an error, until -std is added to get
3721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3722 array size at least. It's necessary to write '\x00'==0 to get something
3723 that's true only with -std. */
3724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3727 inside strings and character constants. */
3729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3731 int test (int i, double x);
3732 struct s1 {int (*f) (int a);};
3733 struct s2 {int (*f) (double a);};
3734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3748 CC="$ac_save_CC $ac_arg"
3749 if ac_fn_c_try_compile "$LINENO"; then :
3750 ac_cv_prog_cc_c89=$ac_arg
3752 rm -f core conftest.err conftest.$ac_objext
3753 test "x$ac_cv_prog_cc_c89" != "xno" && break
3755 rm -f conftest.$ac_ext
3760 case "x$ac_cv_prog_cc_c89" in
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3763 $as_echo "none needed" >&6; } ;;
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3766 $as_echo "unsupported" >&6; } ;;
3768 CC="$CC $ac_cv_prog_cc_c89"
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3770 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3772 if test "x$ac_cv_prog_cc_c89" != xno; then :
3777 ac_cpp='$CPP $CPPFLAGS'
3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781 DEPDIR="${am__leading_dot}deps"
3783 ac_config_commands="$ac_config_commands depfiles"
3786 am_make=${MAKE-make}
3787 cat > confinc << 'END'
3789 @echo this is the am__doit target
3792 # If we don't find an include directive, just comment out the code.
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3794 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3798 # First try GNU make style include.
3799 echo "include confinc" > confmf
3800 # Ignore all kinds of additional output from `make'.
3801 case `$am_make -s -f confmf 2> /dev/null` in #(
3802 *the\ am__doit\ target*)
3808 # Now try BSD make style include.
3809 if test "$am__include" = "#"; then
3810 echo '.include "confinc"' > confmf
3811 case `$am_make -s -f confmf 2> /dev/null` in #(
3812 *the\ am__doit\ target*)
3813 am__include=.include
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3822 $as_echo "$_am_result" >&6; }
3823 rm -f confinc confmf
3825 # Check whether --enable-dependency-tracking was given.
3826 if test "${enable_dependency_tracking+set}" = set; then :
3827 enableval=$enable_dependency_tracking;
3830 if test "x$enable_dependency_tracking" != xno; then
3831 am_depcomp="$ac_aux_dir/depcomp"
3835 if test "x$enable_dependency_tracking" != xno; then
3845 depcc="$CC" am_compiler_list=
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3848 $as_echo_n "checking dependency style of $depcc... " >&6; }
3849 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3853 # We make a subdir and do the tests there. Otherwise we can end up
3854 # making bogus files that we don't know about and never remove. For
3855 # instance it was reported that on HP-UX the gcc test will end up
3856 # making a dummy file named `D' -- because `-MD' means `put the output
3860 # Copy depcomp to subdir because otherwise we won't find it if we're
3861 # using a relative directory.
3862 cp "$am_depcomp" conftest.dir
3864 # We will build objects and dependencies in a subdirectory because
3865 # it helps to detect inapplicable dependency modes. For instance
3866 # both Tru64's cc and ICC support -MD to output dependencies as a
3867 # side effect of compilation, but ICC will put the dependencies in
3868 # the current directory while Tru64 will put them in the object
3872 am_cv_CC_dependencies_compiler_type=none
3873 if test "$am_compiler_list" = ""; then
3874 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3877 case " $depcc " in #(
3878 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3881 for depmode in $am_compiler_list; do
3882 # Setup a source with many dependencies, because some compilers
3883 # like to wrap large dependency lists on column 80 (with \), and
3884 # we should not choose a depcomp mode which is confused by this.
3886 # We need to recreate these files for each test, as the compiler may
3887 # overwrite some of them when testing with obscure command lines.
3888 # This happens at least with the AIX C compiler.
3890 for i in 1 2 3 4 5 6; do
3891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3893 # Solaris 8's {/usr,}/bin/sh.
3894 touch sub/conftst$i.h
3896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3898 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3899 # mode. It turns out that the SunPro C++ compiler does not properly
3900 # handle `-M -o', and we need to detect this. Also, some Intel
3901 # versions had trouble with output in subdirs
3902 am__obj=sub/conftest.${OBJEXT-o}
3903 am__minus_obj="-o $am__obj"
3906 # This depmode causes a compiler race in universal mode.
3907 test "$am__universal" = false || continue
3910 # after this tag, mechanisms are not by side-effect, so they'll
3911 # only be used when explicitly requested
3912 if test "x$enable_dependency_tracking" = xyes; then
3918 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3919 # This compiler won't grok `-c -o', but also, the minuso test has
3920 # not run yet. These depmodes are late enough in the game, and
3921 # so weak that their functioning should not be impacted.
3922 am__obj=conftest.${OBJEXT-o}
3927 if depmode=$depmode \
3928 source=sub/conftest.c object=$am__obj \
3929 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3930 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3931 >/dev/null 2>conftest.err &&
3932 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3933 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3934 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3935 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3936 # icc doesn't choke on unknown options, it will just issue warnings
3937 # or remarks (even with -Werror). So we grep stderr for any message
3938 # that says an option was ignored or not supported.
3939 # When given -MP, icc 7.0 and 7.1 complain thusly:
3940 # icc: Command line warning: ignoring option '-M'; no argument required
3941 # The diagnosis changed in icc 8.0:
3942 # icc: Command line remark: option '-MP' not supported
3943 if (grep 'ignoring option' conftest.err ||
3944 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3945 am_cv_CC_dependencies_compiler_type=$depmode
3954 am_cv_CC_dependencies_compiler_type=none
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3959 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3960 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3963 test "x$enable_dependency_tracking" != xno \
3964 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3966 am__fastdepCC_FALSE='#'
3968 am__fastdepCC_TRUE='#'
3969 am__fastdepCC_FALSE=
3973 if test "x$CC" != xcc; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3975 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3978 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3980 set dummy $CC; ac_cc=`$as_echo "$2" |
3981 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3982 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3983 $as_echo_n "(cached) " >&6
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3996 # Make sure it works both with $CC and with simple cc.
3997 # We do the test twice because some compilers refuse to overwrite an
3998 # existing .o file with -o, though they will create one.
3999 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4001 if { { case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_try") 2>&5
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; } &&
4011 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4016 $as_echo "$ac_try_echo"; } >&5
4017 (eval "$ac_try") 2>&5
4019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4020 test $ac_status = 0; };
4022 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4023 if test "x$CC" != xcc; then
4024 # Test first that cc exists at all.
4025 if { ac_try='cc -c conftest.$ac_ext >&5'
4026 { { case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_try") 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }; }; then
4036 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4038 if { { case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_try") 2>&5
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; } &&
4048 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_try") 2>&5
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; };
4062 # cc exists but doesn't like -o.
4063 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4068 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4070 rm -f core conftest*
4073 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4075 $as_echo "yes" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4080 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4084 # FIXME: we rely on the cache variable name because
4085 # there is no other way.
4087 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4088 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4089 if test "$am_t" != yes; then
4090 # Losing compiler, so override with the script.
4091 # FIXME: It is wrong to rewrite CC.
4092 # But if we don't then we get into trouble of one sort or another.
4093 # A longer-term fix would be to have automake use am__CC in this case,
4094 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4095 CC="$am_aux_dir/compile $CC"
4101 # Initialize libtool
4102 # Disable generation of static libraries
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4107 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4112 macro_version='2.4.2'
4113 macro_revision='1.3337'
4127 ltmain="$ac_aux_dir/ltmain.sh"
4129 # Make sure we can run config.sub.
4130 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4131 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4134 $as_echo_n "checking build system type... " >&6; }
4135 if ${ac_cv_build+:} false; then :
4136 $as_echo_n "(cached) " >&6
4138 ac_build_alias=$build_alias
4139 test "x$ac_build_alias" = x &&
4140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4141 test "x$ac_build_alias" = x &&
4142 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4143 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4148 $as_echo "$ac_cv_build" >&6; }
4149 case $ac_cv_build in
4151 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4154 ac_save_IFS=$IFS; IFS='-'
4160 # Remember, the first character of IFS is used to create $*,
4161 # except with old shells:
4164 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4168 $as_echo_n "checking host system type... " >&6; }
4169 if ${ac_cv_host+:} false; then :
4170 $as_echo_n "(cached) " >&6
4172 if test "x$host_alias" = x; then
4173 ac_cv_host=$ac_cv_build
4175 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4181 $as_echo "$ac_cv_host" >&6; }
4184 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4187 ac_save_IFS=$IFS; IFS='-'
4193 # Remember, the first character of IFS is used to create $*,
4194 # except with old shells:
4197 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4200 # Backslashify metacharacters that are still active within
4201 # double-quoted strings.
4202 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4204 # Same as above, but do not quote variable references.
4205 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4207 # Sed substitution to delay expansion of an escaped shell variable in a
4208 # double_quote_subst'ed string.
4209 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4211 # Sed substitution to delay expansion of an escaped single quote.
4212 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4214 # Sed substitution to avoid accidental globbing in evaled expressions
4215 no_glob_subst='s/\*/\\\*/g'
4217 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4218 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4219 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4222 $as_echo_n "checking how to print strings... " >&6; }
4223 # Test print first, because it will be a builtin if present.
4224 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4225 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4227 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4230 # Use this function as a fallback that always works.
4231 func_fallback_echo ()
4233 eval 'cat <<_LTECHO_EOF
4237 ECHO='func_fallback_echo'
4240 # func_echo_all arg...
4241 # Invoke $ECHO with all args, space-separated.
4248 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4249 $as_echo "printf" >&6; } ;;
4250 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4251 $as_echo "print -r" >&6; } ;;
4252 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4253 $as_echo "cat" >&6; } ;;
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4270 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4271 if ${ac_cv_path_SED+:} false; then :
4272 $as_echo_n "(cached) " >&6
4274 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4275 for ac_i in 1 2 3 4 5 6 7; do
4276 ac_script="$ac_script$as_nl$ac_script"
4278 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4279 { ac_script=; unset ac_script;}
4280 if test -z "$SED"; then
4281 ac_path_SED_found=false
4282 # Loop through the user's path and test for each of PROGNAME-LIST
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287 test -z "$as_dir" && as_dir=.
4288 for ac_prog in sed gsed; do
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4291 as_fn_executable_p "$ac_path_SED" || continue
4292 # Check for GNU ac_path_SED and select it if it is found.
4293 # Check for GNU $ac_path_SED
4294 case `"$ac_path_SED" --version 2>&1` in
4296 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4299 $as_echo_n 0123456789 >"conftest.in"
4302 cat "conftest.in" "conftest.in" >"conftest.tmp"
4303 mv "conftest.tmp" "conftest.in"
4304 cp "conftest.in" "conftest.nl"
4305 $as_echo '' >> "conftest.nl"
4306 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4308 as_fn_arith $ac_count + 1 && ac_count=$as_val
4309 if test $ac_count -gt ${ac_path_SED_max-0}; then
4310 # Best one so far, save it but keep looking for a better one
4311 ac_cv_path_SED="$ac_path_SED"
4312 ac_path_SED_max=$ac_count
4314 # 10*(2^10) chars as input seems more than enough
4315 test $ac_count -gt 10 && break
4317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4320 $ac_path_SED_found && break 3
4325 if test -z "$ac_cv_path_SED"; then
4326 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4334 $as_echo "$ac_cv_path_SED" >&6; }
4335 SED="$ac_cv_path_SED"
4338 test -z "$SED" && SED=sed
4339 Xsed="$SED -e 1s/^X//"
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4352 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4353 if ${ac_cv_path_GREP+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -z "$GREP"; then
4357 ac_path_GREP_found=false
4358 # Loop through the user's path and test for each of PROGNAME-LIST
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4363 test -z "$as_dir" && as_dir=.
4364 for ac_prog in grep ggrep; do
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4367 as_fn_executable_p "$ac_path_GREP" || continue
4368 # Check for GNU ac_path_GREP and select it if it is found.
4369 # Check for GNU $ac_path_GREP
4370 case `"$ac_path_GREP" --version 2>&1` in
4372 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4375 $as_echo_n 0123456789 >"conftest.in"
4378 cat "conftest.in" "conftest.in" >"conftest.tmp"
4379 mv "conftest.tmp" "conftest.in"
4380 cp "conftest.in" "conftest.nl"
4381 $as_echo 'GREP' >> "conftest.nl"
4382 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4384 as_fn_arith $ac_count + 1 && ac_count=$as_val
4385 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4386 # Best one so far, save it but keep looking for a better one
4387 ac_cv_path_GREP="$ac_path_GREP"
4388 ac_path_GREP_max=$ac_count
4390 # 10*(2^10) chars as input seems more than enough
4391 test $ac_count -gt 10 && break
4393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4396 $ac_path_GREP_found && break 3
4401 if test -z "$ac_cv_path_GREP"; then
4402 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4405 ac_cv_path_GREP=$GREP
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4410 $as_echo "$ac_cv_path_GREP" >&6; }
4411 GREP="$ac_cv_path_GREP"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4415 $as_echo_n "checking for egrep... " >&6; }
4416 if ${ac_cv_path_EGREP+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4420 then ac_cv_path_EGREP="$GREP -E"
4422 if test -z "$EGREP"; then
4423 ac_path_EGREP_found=false
4424 # Loop through the user's path and test for each of PROGNAME-LIST
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4429 test -z "$as_dir" && as_dir=.
4430 for ac_prog in egrep; do
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4433 as_fn_executable_p "$ac_path_EGREP" || continue
4434 # Check for GNU ac_path_EGREP and select it if it is found.
4435 # Check for GNU $ac_path_EGREP
4436 case `"$ac_path_EGREP" --version 2>&1` in
4438 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4441 $as_echo_n 0123456789 >"conftest.in"
4444 cat "conftest.in" "conftest.in" >"conftest.tmp"
4445 mv "conftest.tmp" "conftest.in"
4446 cp "conftest.in" "conftest.nl"
4447 $as_echo 'EGREP' >> "conftest.nl"
4448 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4450 as_fn_arith $ac_count + 1 && ac_count=$as_val
4451 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4452 # Best one so far, save it but keep looking for a better one
4453 ac_cv_path_EGREP="$ac_path_EGREP"
4454 ac_path_EGREP_max=$ac_count
4456 # 10*(2^10) chars as input seems more than enough
4457 test $ac_count -gt 10 && break
4459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4462 $ac_path_EGREP_found && break 3
4467 if test -z "$ac_cv_path_EGREP"; then
4468 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4471 ac_cv_path_EGREP=$EGREP
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4477 $as_echo "$ac_cv_path_EGREP" >&6; }
4478 EGREP="$ac_cv_path_EGREP"
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4482 $as_echo_n "checking for fgrep... " >&6; }
4483 if ${ac_cv_path_FGREP+:} false; then :
4484 $as_echo_n "(cached) " >&6
4486 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4487 then ac_cv_path_FGREP="$GREP -F"
4489 if test -z "$FGREP"; then
4490 ac_path_FGREP_found=false
4491 # Loop through the user's path and test for each of PROGNAME-LIST
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4493 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4496 test -z "$as_dir" && as_dir=.
4497 for ac_prog in fgrep; do
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4500 as_fn_executable_p "$ac_path_FGREP" || continue
4501 # Check for GNU ac_path_FGREP and select it if it is found.
4502 # Check for GNU $ac_path_FGREP
4503 case `"$ac_path_FGREP" --version 2>&1` in
4505 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4508 $as_echo_n 0123456789 >"conftest.in"
4511 cat "conftest.in" "conftest.in" >"conftest.tmp"
4512 mv "conftest.tmp" "conftest.in"
4513 cp "conftest.in" "conftest.nl"
4514 $as_echo 'FGREP' >> "conftest.nl"
4515 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4516 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4517 as_fn_arith $ac_count + 1 && ac_count=$as_val
4518 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4519 # Best one so far, save it but keep looking for a better one
4520 ac_cv_path_FGREP="$ac_path_FGREP"
4521 ac_path_FGREP_max=$ac_count
4523 # 10*(2^10) chars as input seems more than enough
4524 test $ac_count -gt 10 && break
4526 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4529 $ac_path_FGREP_found && break 3
4534 if test -z "$ac_cv_path_FGREP"; then
4535 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4538 ac_cv_path_FGREP=$FGREP
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4544 $as_echo "$ac_cv_path_FGREP" >&6; }
4545 FGREP="$ac_cv_path_FGREP"
4548 test -z "$GREP" && GREP=grep
4568 # Check whether --with-gnu-ld was given.
4569 if test "${with_gnu_ld+set}" = set; then :
4570 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4576 if test "$GCC" = yes; then
4577 # Check if gcc -print-prog-name=ld gives a path.
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4579 $as_echo_n "checking for ld used by $CC... " >&6; }
4582 # gcc leaves a trailing carriage return which upsets mingw
4583 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4585 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4588 # Accept absolute paths.
4590 re_direlt='/[^/][^/]*/\.\./'
4591 # Canonicalize the pathname of ld
4592 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4593 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4594 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4596 test -z "$LD" && LD="$ac_prog"
4599 # If it fails, then pretend we aren't using GCC.
4603 # If it is relative, then search for the first ld in PATH.
4607 elif test "$with_gnu_ld" = yes; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4609 $as_echo_n "checking for GNU ld... " >&6; }
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4612 $as_echo_n "checking for non-GNU ld... " >&6; }
4614 if ${lt_cv_path_LD+:} false; then :
4615 $as_echo_n "(cached) " >&6
4617 if test -z "$LD"; then
4618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4619 for ac_dir in $PATH; do
4621 test -z "$ac_dir" && ac_dir=.
4622 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4623 lt_cv_path_LD="$ac_dir/$ac_prog"
4624 # Check to see if the program is GNU ld. I'd rather use --version,
4625 # but apparently some variants of GNU ld only accept -v.
4626 # Break only if it was the GNU/non-GNU ld that we prefer.
4627 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4628 *GNU* | *'with BFD'*)
4629 test "$with_gnu_ld" != no && break
4632 test "$with_gnu_ld" != yes && break
4639 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4644 if test -n "$LD"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4646 $as_echo "$LD" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4651 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4653 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4654 if ${lt_cv_prog_gnu_ld+:} false; then :
4655 $as_echo_n "(cached) " >&6
4657 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4658 case `$LD -v 2>&1 </dev/null` in
4659 *GNU* | *'with BFD'*)
4660 lt_cv_prog_gnu_ld=yes
4663 lt_cv_prog_gnu_ld=no
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4668 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4669 with_gnu_ld=$lt_cv_prog_gnu_ld
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4680 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4681 if ${lt_cv_path_NM+:} false; then :
4682 $as_echo_n "(cached) " >&6
4684 if test -n "$NM"; then
4685 # Let the user override the test.
4688 lt_nm_to_check="${ac_tool_prefix}nm"
4689 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4690 lt_nm_to_check="$lt_nm_to_check nm"
4692 for lt_tmp_nm in $lt_nm_to_check; do
4693 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4694 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4696 test -z "$ac_dir" && ac_dir=.
4697 tmp_nm="$ac_dir/$lt_tmp_nm"
4698 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4699 # Check to see if the nm accepts a BSD-compat flag.
4700 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4701 # nm: unknown option "B" ignored
4702 # Tru64's nm complains that /dev/null is an invalid object file
4703 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4704 */dev/null* | *'Invalid file or object type'*)
4705 lt_cv_path_NM="$tmp_nm -B"
4709 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4711 lt_cv_path_NM="$tmp_nm -p"
4715 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4716 continue # so that we can try to find one that supports BSD flags
4725 : ${lt_cv_path_NM=no}
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4729 $as_echo "$lt_cv_path_NM" >&6; }
4730 if test "$lt_cv_path_NM" != "no"; then
4733 # Didn't find any BSD compatible name lister, look for dumpbin.
4734 if test -n "$DUMPBIN"; then :
4735 # Let the user override the test.
4737 if test -n "$ac_tool_prefix"; then
4738 for ac_prog in dumpbin "link -dump"
4740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743 $as_echo_n "checking for $ac_word... " >&6; }
4744 if ${ac_cv_prog_DUMPBIN+:} false; then :
4745 $as_echo_n "(cached) " >&6
4747 if test -n "$DUMPBIN"; then
4748 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 test -z "$as_dir" && as_dir=.
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4757 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 DUMPBIN=$ac_cv_prog_DUMPBIN
4768 if test -n "$DUMPBIN"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4770 $as_echo "$DUMPBIN" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4777 test -n "$DUMPBIN" && break
4780 if test -z "$DUMPBIN"; then
4781 ac_ct_DUMPBIN=$DUMPBIN
4782 for ac_prog in dumpbin "link -dump"
4784 # Extract the first word of "$ac_prog", so it can be a program name with args.
4785 set dummy $ac_prog; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 if test -n "$ac_ct_DUMPBIN"; then
4792 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4812 if test -n "$ac_ct_DUMPBIN"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4814 $as_echo "$ac_ct_DUMPBIN" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4821 test -n "$ac_ct_DUMPBIN" && break
4824 if test "x$ac_ct_DUMPBIN" = x; then
4827 case $cross_compiling:$ac_tool_warned in
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4831 ac_tool_warned=yes ;;
4833 DUMPBIN=$ac_ct_DUMPBIN
4837 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4839 DUMPBIN="$DUMPBIN -symbols"
4847 if test "$DUMPBIN" != ":"; then
4851 test -z "$NM" && NM=nm
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4859 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4860 if ${lt_cv_nm_interface+:} false; then :
4861 $as_echo_n "(cached) " >&6
4863 lt_cv_nm_interface="BSD nm"
4864 echo "int some_variable = 0;" > conftest.$ac_ext
4865 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4866 (eval "$ac_compile" 2>conftest.err)
4867 cat conftest.err >&5
4868 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4869 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4870 cat conftest.err >&5
4871 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4872 cat conftest.out >&5
4873 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4874 lt_cv_nm_interface="MS dumpbin"
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4879 $as_echo "$lt_cv_nm_interface" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4882 $as_echo_n "checking whether ln -s works... " >&6; }
4884 if test "$LN_S" = "ln -s"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4886 $as_echo "yes" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4889 $as_echo "no, using $LN_S" >&6; }
4892 # find the maximum length of command line arguments
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4894 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4895 if ${lt_cv_sys_max_cmd_len+:} false; then :
4896 $as_echo_n "(cached) " >&6
4903 # On DJGPP, this test can blow up pretty badly due to problems in libc
4904 # (any single argument exceeding 2000 bytes causes a buffer overrun
4905 # during glob expansion). Even if it were fixed, the result of this
4906 # check would be larger than it should be.
4907 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4911 # Under GNU Hurd, this test is not required because there is
4912 # no limit to the length of command line arguments.
4913 # Libtool will interpret -1 as no limit whatsoever
4914 lt_cv_sys_max_cmd_len=-1;
4917 cygwin* | mingw* | cegcc*)
4918 # On Win9x/ME, this test blows up -- it succeeds, but takes
4919 # about 5 minutes as the teststring grows exponentially.
4920 # Worse, since 9x/ME are not pre-emptively multitasking,
4921 # you end up with a "frozen" computer, even though with patience
4922 # the test eventually succeeds (with a max line length of 256k).
4923 # Instead, let's just punt: use the minimum linelength reported by
4924 # all of the supported platforms: 8192 (on NT/2K/XP).
4925 lt_cv_sys_max_cmd_len=8192;
4929 # On MiNT this can take a long time and run out of memory.
4930 lt_cv_sys_max_cmd_len=8192;
4934 # On AmigaOS with pdksh, this test takes hours, literally.
4935 # So we just punt and use a minimum line length of 8192.
4936 lt_cv_sys_max_cmd_len=8192;
4939 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4940 # This has been around since 386BSD, at least. Likely further.
4941 if test -x /sbin/sysctl; then
4942 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4943 elif test -x /usr/sbin/sysctl; then
4944 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4946 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4948 # And add a safety zone
4949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4954 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4955 lt_cv_sys_max_cmd_len=196608
4959 # The test takes a long time on OS/2.
4960 lt_cv_sys_max_cmd_len=8192
4964 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4965 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4966 # nice to cause kernel panics so lets avoid the loop below.
4967 # First set a reasonable default.
4968 lt_cv_sys_max_cmd_len=16384
4970 if test -x /sbin/sysconfig; then
4971 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4972 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4977 lt_cv_sys_max_cmd_len=102400
4979 sysv5* | sco5v6* | sysv4.2uw2*)
4980 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4981 if test -n "$kargmax"; then
4982 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4984 lt_cv_sys_max_cmd_len=32768
4988 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4989 if test -n "$lt_cv_sys_max_cmd_len" && \
4990 test undefined != "$lt_cv_sys_max_cmd_len"; then
4991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4992 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4994 # Make teststring a little bigger before we do anything with it.
4995 # a 1K string should be a reasonable start.
4996 for i in 1 2 3 4 5 6 7 8 ; do
4997 teststring=$teststring$teststring
4999 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5000 # If test is not a shell built-in, we'll probably end up computing a
5001 # maximum length that is only half of the actual maximum length, but
5003 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5004 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5005 test $i != 17 # 1/2 MB should be enough
5008 teststring=$teststring$teststring
5010 # Only check the string length outside the loop.
5011 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5013 # Add a significant safety factor because C++ compilers can tack on
5014 # massive amounts of additional arguments before passing them to the
5015 # linker. It appears as though 1/2 is a usable value.
5016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5023 if test -n $lt_cv_sys_max_cmd_len ; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5025 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5028 $as_echo "none" >&6; }
5030 max_cmd_len=$lt_cv_sys_max_cmd_len
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5042 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5043 # Try some XSI features
5046 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5048 && eval 'test $(( 1 + 1 )) -eq 2 \
5049 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5052 $as_echo "$xsi_shell" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5056 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5058 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5060 && lt_shell_append=yes
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5062 $as_echo "$lt_shell_append" >&6; }
5065 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5075 # test EBCDIC or ASCII
5076 case `echo X|tr X '\101'` in
5077 A) # ASCII based system
5078 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5079 lt_SP2NL='tr \040 \012'
5080 lt_NL2SP='tr \015\012 \040\040'
5082 *) # EBCDIC based system
5083 lt_SP2NL='tr \100 \n'
5084 lt_NL2SP='tr \r\n \100\100'
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5097 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5098 if ${lt_cv_to_host_file_cmd+:} false; then :
5099 $as_echo_n "(cached) " >&6
5104 *-*-mingw* ) # actually msys
5105 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5108 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5110 * ) # otherwise, assume *nix
5111 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5117 *-*-mingw* ) # actually msys
5118 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5121 lt_cv_to_host_file_cmd=func_convert_file_noop
5123 * ) # otherwise, assume *nix
5124 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5128 * ) # unhandled hosts (and "normal" native builds)
5129 lt_cv_to_host_file_cmd=func_convert_file_noop
5135 to_host_file_cmd=$lt_cv_to_host_file_cmd
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5137 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5144 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5145 if ${lt_cv_to_tool_file_cmd+:} false; then :
5146 $as_echo_n "(cached) " >&6
5148 #assume ordinary cross tools, or native build.
5149 lt_cv_to_tool_file_cmd=func_convert_file_noop
5153 *-*-mingw* ) # actually msys
5154 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5162 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5164 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5171 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5172 if ${lt_cv_ld_reload_flag+:} false; then :
5173 $as_echo_n "(cached) " >&6
5175 lt_cv_ld_reload_flag='-r'
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5178 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5179 reload_flag=$lt_cv_ld_reload_flag
5180 case $reload_flag in
5182 *) reload_flag=" $reload_flag" ;;
5184 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5186 cygwin* | mingw* | pw32* | cegcc*)
5187 if test "$GCC" != yes; then
5192 if test "$GCC" = yes; then
5193 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5195 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5208 if test -n "$ac_tool_prefix"; then
5209 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5210 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if ${ac_cv_prog_OBJDUMP+:} false; then :
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$OBJDUMP"; then
5217 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5226 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 OBJDUMP=$ac_cv_prog_OBJDUMP
5237 if test -n "$OBJDUMP"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5239 $as_echo "$OBJDUMP" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5247 if test -z "$ac_cv_prog_OBJDUMP"; then
5248 ac_ct_OBJDUMP=$OBJDUMP
5249 # Extract the first word of "objdump", so it can be a program name with args.
5250 set dummy objdump; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$ac_ct_OBJDUMP"; then
5257 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5277 if test -n "$ac_ct_OBJDUMP"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5279 $as_echo "$ac_ct_OBJDUMP" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5285 if test "x$ac_ct_OBJDUMP" = x; then
5288 case $cross_compiling:$ac_tool_warned in
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5292 ac_tool_warned=yes ;;
5294 OBJDUMP=$ac_ct_OBJDUMP
5297 OBJDUMP="$ac_cv_prog_OBJDUMP"
5300 test -z "$OBJDUMP" && OBJDUMP=objdump
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5311 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5312 if ${lt_cv_deplibs_check_method+:} false; then :
5313 $as_echo_n "(cached) " >&6
5315 lt_cv_file_magic_cmd='$MAGIC_CMD'
5316 lt_cv_file_magic_test_file=
5317 lt_cv_deplibs_check_method='unknown'
5318 # Need to set the preceding variable on all platforms that support
5319 # interlibrary dependencies.
5320 # 'none' -- dependencies not supported.
5321 # `unknown' -- same as none, but documents that we really don't know.
5322 # 'pass_all' -- all dependencies passed with no checks.
5323 # 'test_compile' -- check by making test program.
5324 # 'file_magic [[regex]]' -- check by looking for files in library path
5325 # which responds to the $file_magic_cmd with a given extended regex.
5326 # If you have `file' or equivalent on your system and you're not sure
5327 # whether `pass_all' will *always* work, you probably want this one.
5331 lt_cv_deplibs_check_method=pass_all
5335 lt_cv_deplibs_check_method=pass_all
5339 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5340 lt_cv_file_magic_cmd='/usr/bin/file -L'
5341 lt_cv_file_magic_test_file=/shlib/libc.so
5345 # func_win32_libid is a shell function defined in ltmain.sh
5346 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5347 lt_cv_file_magic_cmd='func_win32_libid'
5351 # Base MSYS/MinGW do not provide the 'file' command needed by
5352 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5353 # unless we find 'file', for example because we are cross-compiling.
5354 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5355 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5356 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5357 lt_cv_file_magic_cmd='func_win32_libid'
5359 # Keep this pattern in sync with the one in func_win32_libid.
5360 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5361 lt_cv_file_magic_cmd='$OBJDUMP -f'
5366 # use the weaker test based on 'objdump'. See mingw*.
5367 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5368 lt_cv_file_magic_cmd='$OBJDUMP -f'
5371 darwin* | rhapsody*)
5372 lt_cv_deplibs_check_method=pass_all
5375 freebsd* | dragonfly*)
5376 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5379 # Not sure whether the presence of OpenBSD here was a mistake.
5380 # Let's accept both of them until this is cleared up.
5381 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5382 lt_cv_file_magic_cmd=/usr/bin/file
5383 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5387 lt_cv_deplibs_check_method=pass_all
5392 lt_cv_deplibs_check_method=pass_all
5395 hpux10.20* | hpux11*)
5396 lt_cv_file_magic_cmd=/usr/bin/file
5399 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5400 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5403 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]'
5404 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5407 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5408 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5414 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5415 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5418 irix5* | irix6* | nonstopux*)
5420 *-32|*"-32 ") libmagic=32-bit;;
5421 *-n32|*"-n32 ") libmagic=N32;;
5422 *-64|*"-64 ") libmagic=64-bit;;
5423 *) libmagic=never-match;;
5425 lt_cv_deplibs_check_method=pass_all
5428 # This must be glibc/ELF.
5429 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5430 lt_cv_deplibs_check_method=pass_all
5433 netbsd* | netbsdelf*-gnu)
5434 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5435 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5437 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5442 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5443 lt_cv_file_magic_cmd=/usr/bin/file
5444 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5448 lt_cv_deplibs_check_method=pass_all
5452 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5453 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5455 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5459 osf3* | osf4* | osf5*)
5460 lt_cv_deplibs_check_method=pass_all
5464 lt_cv_deplibs_check_method=pass_all
5468 lt_cv_deplibs_check_method=pass_all
5471 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5472 lt_cv_deplibs_check_method=pass_all
5476 case $host_vendor in
5478 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]'
5479 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5482 lt_cv_deplibs_check_method=pass_all
5485 lt_cv_file_magic_cmd='/bin/file'
5486 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5489 lt_cv_file_magic_cmd='/bin/file'
5490 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5491 lt_cv_file_magic_test_file=/lib/libc.so
5494 lt_cv_deplibs_check_method=pass_all
5497 lt_cv_deplibs_check_method=pass_all
5503 lt_cv_deplibs_check_method=pass_all
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5509 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5513 if test "$build" = "$host"; then
5516 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5519 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5525 file_magic_cmd=$lt_cv_file_magic_cmd
5526 deplibs_check_method=$lt_cv_deplibs_check_method
5527 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5550 if test -n "$ac_tool_prefix"; then
5551 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5552 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_DLLTOOL+:} false; then :
5556 $as_echo_n "(cached) " >&6
5558 if test -n "$DLLTOOL"; then
5559 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 DLLTOOL=$ac_cv_prog_DLLTOOL
5579 if test -n "$DLLTOOL"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5581 $as_echo "$DLLTOOL" >&6; }
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5589 if test -z "$ac_cv_prog_DLLTOOL"; then
5590 ac_ct_DLLTOOL=$DLLTOOL
5591 # Extract the first word of "dlltool", so it can be a program name with args.
5592 set dummy dlltool; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5596 $as_echo_n "(cached) " >&6
5598 if test -n "$ac_ct_DLLTOOL"; then
5599 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5619 if test -n "$ac_ct_DLLTOOL"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5621 $as_echo "$ac_ct_DLLTOOL" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5627 if test "x$ac_ct_DLLTOOL" = x; then
5630 case $cross_compiling:$ac_tool_warned in
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5634 ac_tool_warned=yes ;;
5636 DLLTOOL=$ac_ct_DLLTOOL
5639 DLLTOOL="$ac_cv_prog_DLLTOOL"
5642 test -z "$DLLTOOL" && DLLTOOL=dlltool
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5654 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5655 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5656 $as_echo_n "(cached) " >&6
5658 lt_cv_sharedlib_from_linklib_cmd='unknown'
5661 cygwin* | mingw* | pw32* | cegcc*)
5662 # two different shell functions defined in ltmain.sh
5663 # decide which to use based on capabilities of $DLLTOOL
5664 case `$DLLTOOL --help 2>&1` in
5665 *--identify-strict*)
5666 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5669 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5674 # fallback: assume linklib IS sharedlib
5675 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5681 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5682 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5683 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5692 if test -n "$ac_tool_prefix"; then
5695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if ${ac_cv_prog_AR+:} false; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$AR"; then
5703 ac_cv_prog_AR="$AR" # Let the user override the test.
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 if test -n "$AR"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5725 $as_echo "$AR" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5732 test -n "$AR" && break
5735 if test -z "$AR"; then
5739 # Extract the first word of "$ac_prog", so it can be a program name with args.
5740 set dummy $ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$ac_ct_AR"; then
5747 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_ac_ct_AR="$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5767 if test -n "$ac_ct_AR"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5769 $as_echo "$ac_ct_AR" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$ac_ct_AR" && break
5779 if test "x$ac_ct_AR" = x; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786 ac_tool_warned=yes ;;
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5806 $as_echo_n "checking for archiver @FILE support... " >&6; }
5807 if ${lt_cv_ar_at_file+:} false; then :
5808 $as_echo_n "(cached) " >&6
5811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5822 if ac_fn_c_try_compile "$LINENO"; then :
5823 echo conftest.$ac_objext > conftest.lst
5824 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5825 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5826 (eval $lt_ar_try) 2>&5
5828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5829 test $ac_status = 0; }
5830 if test "$ac_status" -eq 0; then
5831 # Ensure the archiver fails upon bogus file names.
5832 rm -f conftest.$ac_objext libconftest.a
5833 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5834 (eval $lt_ar_try) 2>&5
5836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5837 test $ac_status = 0; }
5838 if test "$ac_status" -ne 0; then
5842 rm -f conftest.* libconftest.a
5845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5849 $as_echo "$lt_cv_ar_at_file" >&6; }
5851 if test "x$lt_cv_ar_at_file" = xno; then
5854 archiver_list_spec=$lt_cv_ar_at_file
5863 if test -n "$ac_tool_prefix"; then
5864 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5865 set dummy ${ac_tool_prefix}strip; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_STRIP+:} false; then :
5869 $as_echo_n "(cached) " >&6
5871 if test -n "$STRIP"; then
5872 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 STRIP=$ac_cv_prog_STRIP
5892 if test -n "$STRIP"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5894 $as_echo "$STRIP" >&6; }
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5902 if test -z "$ac_cv_prog_STRIP"; then
5904 # Extract the first word of "strip", so it can be a program name with args.
5905 set dummy strip; ac_word=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5909 $as_echo_n "(cached) " >&6
5911 if test -n "$ac_ct_STRIP"; then
5912 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_ac_ct_STRIP="strip"
5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5932 if test -n "$ac_ct_STRIP"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5934 $as_echo "$ac_ct_STRIP" >&6; }
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5940 if test "x$ac_ct_STRIP" = x; then
5943 case $cross_compiling:$ac_tool_warned in
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5947 ac_tool_warned=yes ;;
5952 STRIP="$ac_cv_prog_STRIP"
5955 test -z "$STRIP" && STRIP=:
5962 if test -n "$ac_tool_prefix"; then
5963 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5964 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_RANLIB+:} false; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -n "$RANLIB"; then
5971 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 RANLIB=$ac_cv_prog_RANLIB
5991 if test -n "$RANLIB"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5993 $as_echo "$RANLIB" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6001 if test -z "$ac_cv_prog_RANLIB"; then
6002 ac_ct_RANLIB=$RANLIB
6003 # Extract the first word of "ranlib", so it can be a program name with args.
6004 set dummy ranlib; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6008 $as_echo_n "(cached) " >&6
6010 if test -n "$ac_ct_RANLIB"; then
6011 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_ac_ct_RANLIB="ranlib"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6030 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6031 if test -n "$ac_ct_RANLIB"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6033 $as_echo "$ac_ct_RANLIB" >&6; }
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6039 if test "x$ac_ct_RANLIB" = x; then
6042 case $cross_compiling:$ac_tool_warned in
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6046 ac_tool_warned=yes ;;
6048 RANLIB=$ac_ct_RANLIB
6051 RANLIB="$ac_cv_prog_RANLIB"
6054 test -z "$RANLIB" && RANLIB=:
6061 # Determine commands to create old-style static archives.
6062 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6063 old_postinstall_cmds='chmod 644 $oldlib'
6064 old_postuninstall_cmds=
6066 if test -n "$RANLIB"; then
6069 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6072 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6075 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6080 lock_old_archive_extraction=yes ;;
6082 lock_old_archive_extraction=no ;;
6123 # If no C compiler was specified, use CC.
6126 # If no C compiler flags were specified, use CFLAGS.
6127 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6129 # Allow CC to be a program name with arguments.
6133 # Check for command to grab the raw symbol name followed by C symbol from nm.
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6135 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6136 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6137 $as_echo_n "(cached) " >&6
6140 # These are sane defaults that work on at least a few old systems.
6141 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6143 # Character class describing NM global symbol codes.
6144 symcode='[BCDEGRST]'
6146 # Regexp to match symbols that can be accessed directly from C.
6147 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6149 # Define system-specific variables.
6154 cygwin* | mingw* | pw32* | cegcc*)
6155 symcode='[ABCDGISTW]'
6158 if test "$host_cpu" = ia64; then
6159 symcode='[ABCDEGRST]'
6163 symcode='[BCDEGRST]'
6166 symcode='[BCDEGQRST]'
6177 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6185 # If we're using GNU nm, then use its standard symbol codes.
6186 case `$NM -V 2>&1` in
6187 *GNU* | *'with BFD'*)
6188 symcode='[ABCDGIRSTW]' ;;
6191 # Transform an extracted symbol line into a proper C declaration.
6192 # Some systems (esp. on ia64) link data and code symbols differently,
6193 # so use this general approach.
6194 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6196 # Transform an extracted symbol line into symbol name and symbol address
6197 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6198 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'"
6200 # Handle CRLF in mingw tool chain
6204 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6208 # Try without a prefix underscore, then with it.
6209 for ac_symprfx in "" "_"; do
6211 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6212 symxfrm="\\1 $ac_symprfx\\2 \\2"
6214 # Write the raw and C identifiers.
6215 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6216 # Fake it for dumpbin and say T for any non-static function
6217 # and D for any global variable.
6218 # Also find C++ and __fastcall symbols from MSVC++,
6219 # which start with @ or ?.
6220 lt_cv_sys_global_symbol_pipe="$AWK '"\
6221 " {last_section=section; section=\$ 3};"\
6222 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6223 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6224 " \$ 0!~/External *\|/{next};"\
6225 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6226 " {if(hide[section]) next};"\
6227 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6228 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6229 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6230 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6231 " ' prfx=^$ac_symprfx"
6233 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6235 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6237 # Check to see that the pipe works correctly.
6241 cat > conftest.$ac_ext <<_LT_EOF
6246 void nm_test_func(void);
6247 void nm_test_func(void){}
6251 int main(){nm_test_var='a';nm_test_func();return(0);}
6254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6255 (eval $ac_compile) 2>&5
6257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6258 test $ac_status = 0; }; then
6259 # Now try to grab the symbols.
6261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6262 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6265 test $ac_status = 0; } && test -s "$nlist"; then
6266 # Try sorting and uniquifying the output.
6267 if sort "$nlist" | uniq > "$nlist"T; then
6268 mv -f "$nlist"T "$nlist"
6273 # Make sure that we snagged all the symbols we need.
6274 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6275 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6276 cat <<_LT_EOF > conftest.$ac_ext
6277 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6278 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6279 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6280 relocations are performed -- see ld's documentation on pseudo-relocs. */
6281 # define LT_DLSYM_CONST
6282 #elif defined(__osf__)
6283 /* This system does not cope well with relocations in const data. */
6284 # define LT_DLSYM_CONST
6286 # define LT_DLSYM_CONST const
6294 # Now generate the symbol file.
6295 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6297 cat <<_LT_EOF >> conftest.$ac_ext
6299 /* The mapping between symbol names and symbols. */
6300 LT_DLSYM_CONST struct {
6304 lt__PROGRAM__LTX_preloaded_symbols[] =
6306 { "@PROGRAM@", (void *) 0 },
6308 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6309 cat <<\_LT_EOF >> conftest.$ac_ext
6313 /* This works around a problem in FreeBSD linker */
6314 #ifdef FREEBSD_WORKAROUND
6315 static const void *lt_preloaded_setup() {
6316 return lt__PROGRAM__LTX_preloaded_symbols;
6324 # Now try linking the two files.
6325 mv conftest.$ac_objext conftstm.$ac_objext
6326 lt_globsym_save_LIBS=$LIBS
6327 lt_globsym_save_CFLAGS=$CFLAGS
6328 LIBS="conftstm.$ac_objext"
6329 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6331 (eval $ac_link) 2>&5
6333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6334 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6337 LIBS=$lt_globsym_save_LIBS
6338 CFLAGS=$lt_globsym_save_CFLAGS
6340 echo "cannot find nm_test_func in $nlist" >&5
6343 echo "cannot find nm_test_var in $nlist" >&5
6346 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6349 echo "$progname: failed program was:" >&5
6350 cat conftest.$ac_ext >&5
6352 rm -rf conftest* conftst*
6354 # Do not use the global_symbol_pipe unless it works.
6355 if test "$pipe_works" = yes; then
6358 lt_cv_sys_global_symbol_pipe=
6364 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6365 lt_cv_sys_global_symbol_to_cdecl=
6367 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6369 $as_echo "failed" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6372 $as_echo "ok" >&6; }
6375 # Response file support.
6376 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6377 nm_file_list_spec='@'
6378 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6379 nm_file_list_spec='@'
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6409 $as_echo_n "checking for sysroot... " >&6; }
6411 # Check whether --with-sysroot was given.
6412 if test "${with_sysroot+set}" = set; then :
6413 withval=$with_sysroot;
6420 case ${with_sysroot} in #(
6422 if test "$GCC" = yes; then
6423 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6427 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6433 $as_echo "${with_sysroot}" >&6; }
6434 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6439 $as_echo "${lt_sysroot:-no}" >&6; }
6445 # Check whether --enable-libtool-lock was given.
6446 if test "${enable_libtool_lock+set}" = set; then :
6447 enableval=$enable_libtool_lock;
6450 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6452 # Some flags need to be propagated to the compiler or linker for good
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.$ac_objext` in
6475 # Find out which ABI we are using.
6476 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6478 (eval $ac_compile) 2>&5
6480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6481 test $ac_status = 0; }; then
6482 if test "$lt_cv_prog_gnu_ld" = yes; then
6483 case `/usr/bin/file conftest.$ac_objext` in
6485 LD="${LD-ld} -melf32bsmip"
6488 LD="${LD-ld} -melf32bmipn32"
6491 LD="${LD-ld} -melf64bmip"
6495 case `/usr/bin/file conftest.$ac_objext` in
6511 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6512 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6513 # Find out which ABI we are using.
6514 echo 'int i;' > conftest.$ac_ext
6515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6516 (eval $ac_compile) 2>&5
6518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6519 test $ac_status = 0; }; then
6520 case `/usr/bin/file conftest.o` in
6523 x86_64-*kfreebsd*-gnu)
6524 LD="${LD-ld} -m elf_i386_fbsd"
6527 case `/usr/bin/file conftest.o` in
6529 LD="${LD-ld} -m elf32_x86_64"
6532 LD="${LD-ld} -m elf_i386"
6536 ppc64-*linux*|powerpc64-*linux*)
6537 LD="${LD-ld} -m elf32ppclinux"
6540 LD="${LD-ld} -m elf_s390"
6543 LD="${LD-ld} -m elf32_sparc"
6549 x86_64-*kfreebsd*-gnu)
6550 LD="${LD-ld} -m elf_x86_64_fbsd"
6553 LD="${LD-ld} -m elf_x86_64"
6555 ppc*-*linux*|powerpc*-*linux*)
6556 LD="${LD-ld} -m elf64ppc"
6558 s390*-*linux*|s390*-*tpf*)
6559 LD="${LD-ld} -m elf64_s390"
6562 LD="${LD-ld} -m elf64_sparc"
6572 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6573 SAVE_CFLAGS="$CFLAGS"
6574 CFLAGS="$CFLAGS -belf"
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6576 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6577 if ${lt_cv_cc_needs_belf+:} false; then :
6578 $as_echo_n "(cached) " >&6
6581 ac_cpp='$CPP $CPPFLAGS'
6582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6587 /* end confdefs.h. */
6597 if ac_fn_c_try_link "$LINENO"; then :
6598 lt_cv_cc_needs_belf=yes
6600 lt_cv_cc_needs_belf=no
6602 rm -f core conftest.err conftest.$ac_objext \
6603 conftest$ac_exeext conftest.$ac_ext
6605 ac_cpp='$CPP $CPPFLAGS'
6606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6612 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6613 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6614 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6615 CFLAGS="$SAVE_CFLAGS"
6619 # Find out which ABI we are using.
6620 echo 'int i;' > conftest.$ac_ext
6621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6622 (eval $ac_compile) 2>&5
6624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6625 test $ac_status = 0; }; then
6626 case `/usr/bin/file conftest.o` in
6628 case $lt_cv_prog_gnu_ld in
6632 LD="${LD-ld} -m elf_x86_64"
6635 LD="${LD-ld} -m elf64_sparc"
6638 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6639 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6644 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6656 need_locks="$enable_libtool_lock"
6658 if test -n "$ac_tool_prefix"; then
6659 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6660 set dummy ${ac_tool_prefix}mt; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6664 $as_echo_n "(cached) " >&6
6666 if test -n "$MANIFEST_TOOL"; then
6667 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6676 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6687 if test -n "$MANIFEST_TOOL"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6689 $as_echo "$MANIFEST_TOOL" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6697 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6698 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6699 # Extract the first word of "mt", so it can be a program name with args.
6700 set dummy mt; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 $as_echo_n "checking for $ac_word... " >&6; }
6703 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6704 $as_echo_n "(cached) " >&6
6706 if test -n "$ac_ct_MANIFEST_TOOL"; then
6707 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6716 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6727 if test -n "$ac_ct_MANIFEST_TOOL"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6729 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732 $as_echo "no" >&6; }
6735 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6738 case $cross_compiling:$ac_tool_warned in
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6742 ac_tool_warned=yes ;;
6744 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6747 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6750 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6752 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6753 if ${lt_cv_path_mainfest_tool+:} false; then :
6754 $as_echo_n "(cached) " >&6
6756 lt_cv_path_mainfest_tool=no
6757 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6758 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6759 cat conftest.err >&5
6760 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6761 lt_cv_path_mainfest_tool=yes
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6766 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6767 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6777 rhapsody* | darwin*)
6778 if test -n "$ac_tool_prefix"; then
6779 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6780 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$DSYMUTIL"; then
6787 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir=.
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6807 if test -n "$DSYMUTIL"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6809 $as_echo "$DSYMUTIL" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6817 if test -z "$ac_cv_prog_DSYMUTIL"; then
6818 ac_ct_DSYMUTIL=$DSYMUTIL
6819 # Extract the first word of "dsymutil", so it can be a program name with args.
6820 set dummy dsymutil; ac_word=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6824 $as_echo_n "(cached) " >&6
6826 if test -n "$ac_ct_DSYMUTIL"; then
6827 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir=.
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6847 if test -n "$ac_ct_DSYMUTIL"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6849 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6855 if test "x$ac_ct_DSYMUTIL" = x; then
6858 case $cross_compiling:$ac_tool_warned in
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6862 ac_tool_warned=yes ;;
6864 DSYMUTIL=$ac_ct_DSYMUTIL
6867 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6870 if test -n "$ac_tool_prefix"; then
6871 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6872 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 $as_echo_n "checking for $ac_word... " >&6; }
6875 if ${ac_cv_prog_NMEDIT+:} false; then :
6876 $as_echo_n "(cached) " >&6
6878 if test -n "$NMEDIT"; then
6879 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6885 test -z "$as_dir" && as_dir=.
6886 for ac_exec_ext in '' $ac_executable_extensions; do
6887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6888 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 NMEDIT=$ac_cv_prog_NMEDIT
6899 if test -n "$NMEDIT"; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6901 $as_echo "$NMEDIT" >&6; }
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 $as_echo "no" >&6; }
6909 if test -z "$ac_cv_prog_NMEDIT"; then
6910 ac_ct_NMEDIT=$NMEDIT
6911 # Extract the first word of "nmedit", so it can be a program name with args.
6912 set dummy nmedit; ac_word=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6916 $as_echo_n "(cached) " >&6
6918 if test -n "$ac_ct_NMEDIT"; then
6919 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 test -z "$as_dir" && as_dir=.
6926 for ac_exec_ext in '' $ac_executable_extensions; do
6927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6928 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6939 if test -n "$ac_ct_NMEDIT"; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6941 $as_echo "$ac_ct_NMEDIT" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6947 if test "x$ac_ct_NMEDIT" = x; then
6950 case $cross_compiling:$ac_tool_warned in
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6954 ac_tool_warned=yes ;;
6956 NMEDIT=$ac_ct_NMEDIT
6959 NMEDIT="$ac_cv_prog_NMEDIT"
6962 if test -n "$ac_tool_prefix"; then
6963 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6964 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6966 $as_echo_n "checking for $ac_word... " >&6; }
6967 if ${ac_cv_prog_LIPO+:} false; then :
6968 $as_echo_n "(cached) " >&6
6970 if test -n "$LIPO"; then
6971 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6977 test -z "$as_dir" && as_dir=.
6978 for ac_exec_ext in '' $ac_executable_extensions; do
6979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6980 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990 LIPO=$ac_cv_prog_LIPO
6991 if test -n "$LIPO"; then
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6993 $as_echo "$LIPO" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6996 $as_echo "no" >&6; }
7001 if test -z "$ac_cv_prog_LIPO"; then
7003 # Extract the first word of "lipo", so it can be a program name with args.
7004 set dummy lipo; ac_word=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7008 $as_echo_n "(cached) " >&6
7010 if test -n "$ac_ct_LIPO"; then
7011 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7017 test -z "$as_dir" && as_dir=.
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7020 ac_cv_prog_ac_ct_LIPO="lipo"
7021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7031 if test -n "$ac_ct_LIPO"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7033 $as_echo "$ac_ct_LIPO" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7036 $as_echo "no" >&6; }
7039 if test "x$ac_ct_LIPO" = x; then
7042 case $cross_compiling:$ac_tool_warned in
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7046 ac_tool_warned=yes ;;
7051 LIPO="$ac_cv_prog_LIPO"
7054 if test -n "$ac_tool_prefix"; then
7055 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7056 set dummy ${ac_tool_prefix}otool; ac_word=$2
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7058 $as_echo_n "checking for $ac_word... " >&6; }
7059 if ${ac_cv_prog_OTOOL+:} false; then :
7060 $as_echo_n "(cached) " >&6
7062 if test -n "$OTOOL"; then
7063 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7069 test -z "$as_dir" && as_dir=.
7070 for ac_exec_ext in '' $ac_executable_extensions; do
7071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7072 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 OTOOL=$ac_cv_prog_OTOOL
7083 if test -n "$OTOOL"; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7085 $as_echo "$OTOOL" >&6; }
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7088 $as_echo "no" >&6; }
7093 if test -z "$ac_cv_prog_OTOOL"; then
7095 # Extract the first word of "otool", so it can be a program name with args.
7096 set dummy otool; ac_word=$2
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098 $as_echo_n "checking for $ac_word... " >&6; }
7099 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7100 $as_echo_n "(cached) " >&6
7102 if test -n "$ac_ct_OTOOL"; then
7103 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7109 test -z "$as_dir" && as_dir=.
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7112 ac_cv_prog_ac_ct_OTOOL="otool"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7123 if test -n "$ac_ct_OTOOL"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7125 $as_echo "$ac_ct_OTOOL" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7131 if test "x$ac_ct_OTOOL" = x; then
7134 case $cross_compiling:$ac_tool_warned in
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7138 ac_tool_warned=yes ;;
7143 OTOOL="$ac_cv_prog_OTOOL"
7146 if test -n "$ac_tool_prefix"; then
7147 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7148 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_OTOOL64+:} false; then :
7152 $as_echo_n "(cached) " >&6
7154 if test -n "$OTOOL64"; then
7155 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir=.
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 OTOOL64=$ac_cv_prog_OTOOL64
7175 if test -n "$OTOOL64"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7177 $as_echo "$OTOOL64" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7185 if test -z "$ac_cv_prog_OTOOL64"; then
7186 ac_ct_OTOOL64=$OTOOL64
7187 # Extract the first word of "otool64", so it can be a program name with args.
7188 set dummy otool64; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7192 $as_echo_n "(cached) " >&6
7194 if test -n "$ac_ct_OTOOL64"; then
7195 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir=.
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_ac_ct_OTOOL64="otool64"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7215 if test -n "$ac_ct_OTOOL64"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7217 $as_echo "$ac_ct_OTOOL64" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7223 if test "x$ac_ct_OTOOL64" = x; then
7226 case $cross_compiling:$ac_tool_warned in
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7230 ac_tool_warned=yes ;;
7232 OTOOL64=$ac_ct_OTOOL64
7235 OTOOL64="$ac_cv_prog_OTOOL64"
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7265 $as_echo_n "checking for -single_module linker flag... " >&6; }
7266 if ${lt_cv_apple_cc_single_mod+:} false; then :
7267 $as_echo_n "(cached) " >&6
7269 lt_cv_apple_cc_single_mod=no
7270 if test -z "${LT_MULTI_MODULE}"; then
7271 # By default we will add the -single_module flag. You can override
7272 # by either setting the environment variable LT_MULTI_MODULE
7273 # non-empty at configure time, or by adding -multi_module to the
7275 rm -rf libconftest.dylib*
7276 echo "int foo(void){return 1;}" > conftest.c
7277 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7278 -dynamiclib -Wl,-single_module conftest.c" >&5
7279 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7280 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7282 # If there is a non-empty error log, and "single_module"
7283 # appears in it, assume the flag caused a linker warning
7284 if test -s conftest.err && $GREP single_module conftest.err; then
7285 cat conftest.err >&5
7286 # Otherwise, if the output was created with a 0 exit code from
7287 # the compiler, it worked.
7288 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7289 lt_cv_apple_cc_single_mod=yes
7291 cat conftest.err >&5
7293 rm -rf libconftest.dylib*
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7298 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7301 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7302 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7303 $as_echo_n "(cached) " >&6
7305 lt_cv_ld_exported_symbols_list=no
7306 save_LDFLAGS=$LDFLAGS
7307 echo "_main" > conftest.sym
7308 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h. */
7320 if ac_fn_c_try_link "$LINENO"; then :
7321 lt_cv_ld_exported_symbols_list=yes
7323 lt_cv_ld_exported_symbols_list=no
7325 rm -f core conftest.err conftest.$ac_objext \
7326 conftest$ac_exeext conftest.$ac_ext
7327 LDFLAGS="$save_LDFLAGS"
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7331 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7334 $as_echo_n "checking for -force_load linker flag... " >&6; }
7335 if ${lt_cv_ld_force_load+:} false; then :
7336 $as_echo_n "(cached) " >&6
7338 lt_cv_ld_force_load=no
7339 cat > conftest.c << _LT_EOF
7340 int forced_loaded() { return 2;}
7342 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7343 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7344 echo "$AR cru libconftest.a conftest.o" >&5
7345 $AR cru libconftest.a conftest.o 2>&5
7346 echo "$RANLIB libconftest.a" >&5
7347 $RANLIB libconftest.a 2>&5
7348 cat > conftest.c << _LT_EOF
7349 int main() { return 0;}
7351 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7352 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7354 if test -s conftest.err && $GREP force_load conftest.err; then
7355 cat conftest.err >&5
7356 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7357 lt_cv_ld_force_load=yes
7359 cat conftest.err >&5
7361 rm -f conftest.err libconftest.a conftest conftest.c
7362 rm -rf conftest.dSYM
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7366 $as_echo "$lt_cv_ld_force_load" >&6; }
7368 rhapsody* | darwin1.[012])
7369 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7371 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7372 darwin*) # darwin 5.x on
7373 # if running on 10.5 or later, the deployment target defaults
7374 # to the OS version, if on x86, and 10.4, the deployment
7375 # target defaults to 10.4. Don't you love it?
7376 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7377 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7378 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7380 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7382 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7386 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7387 _lt_dar_single_mod='$single_module'
7389 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7390 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7392 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7394 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7395 _lt_dsymutil='~$DSYMUTIL $lib || :'
7403 ac_cpp='$CPP $CPPFLAGS'
7404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7408 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7409 # On Suns, sometimes $CPP names a directory.
7410 if test -n "$CPP" && test -d "$CPP"; then
7413 if test -z "$CPP"; then
7414 if ${ac_cv_prog_CPP+:} false; then :
7415 $as_echo_n "(cached) " >&6
7417 # Double quotes because CPP needs to be expanded
7418 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7421 for ac_c_preproc_warn_flag in '' yes
7423 # Use a header file that comes with gcc, so configuring glibc
7424 # with a fresh cross-compiler works.
7425 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7426 # <limits.h> exists even on freestanding compilers.
7427 # On the NeXT, cc -E runs the code through the compiler's parser,
7428 # not just through cpp. "Syntax error" is here to catch this case.
7429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7430 /* end confdefs.h. */
7432 # include <limits.h>
7434 # include <assert.h>
7438 if ac_fn_c_try_cpp "$LINENO"; then :
7441 # Broken: fails on valid input.
7444 rm -f conftest.err conftest.i conftest.$ac_ext
7446 # OK, works on sane cases. Now check whether nonexistent headers
7447 # can be detected and how.
7448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449 /* end confdefs.h. */
7450 #include <ac_nonexistent.h>
7452 if ac_fn_c_try_cpp "$LINENO"; then :
7453 # Broken: success on invalid input.
7456 # Passes both tests.
7460 rm -f conftest.err conftest.i conftest.$ac_ext
7463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7464 rm -f conftest.i conftest.err conftest.$ac_ext
7465 if $ac_preproc_ok; then :
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7478 $as_echo "$CPP" >&6; }
7480 for ac_c_preproc_warn_flag in '' yes
7482 # Use a header file that comes with gcc, so configuring glibc
7483 # with a fresh cross-compiler works.
7484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7485 # <limits.h> exists even on freestanding compilers.
7486 # On the NeXT, cc -E runs the code through the compiler's parser,
7487 # not just through cpp. "Syntax error" is here to catch this case.
7488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7489 /* end confdefs.h. */
7491 # include <limits.h>
7493 # include <assert.h>
7497 if ac_fn_c_try_cpp "$LINENO"; then :
7500 # Broken: fails on valid input.
7503 rm -f conftest.err conftest.i conftest.$ac_ext
7505 # OK, works on sane cases. Now check whether nonexistent headers
7506 # can be detected and how.
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7509 #include <ac_nonexistent.h>
7511 if ac_fn_c_try_cpp "$LINENO"; then :
7512 # Broken: success on invalid input.
7515 # Passes both tests.
7519 rm -f conftest.err conftest.i conftest.$ac_ext
7522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7523 rm -f conftest.i conftest.err conftest.$ac_ext
7524 if $ac_preproc_ok; then :
7527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7529 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7530 See \`config.log' for more details" "$LINENO" 5; }
7534 ac_cpp='$CPP $CPPFLAGS'
7535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7541 $as_echo_n "checking for ANSI C header files... " >&6; }
7542 if ${ac_cv_header_stdc+:} false; then :
7543 $as_echo_n "(cached) " >&6
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7560 if ac_fn_c_try_compile "$LINENO"; then :
7561 ac_cv_header_stdc=yes
7563 ac_cv_header_stdc=no
7565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7567 if test $ac_cv_header_stdc = yes; then
7568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7575 $EGREP "memchr" >/dev/null 2>&1; then :
7578 ac_cv_header_stdc=no
7584 if test $ac_cv_header_stdc = yes; then
7585 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7592 $EGREP "free" >/dev/null 2>&1; then :
7595 ac_cv_header_stdc=no
7601 if test $ac_cv_header_stdc = yes; then
7602 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7603 if test "$cross_compiling" = yes; then :
7606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7610 #if ((' ' & 0x0FF) == 0x020)
7611 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7612 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7614 # define ISLOWER(c) \
7615 (('a' <= (c) && (c) <= 'i') \
7616 || ('j' <= (c) && (c) <= 'r') \
7617 || ('s' <= (c) && (c) <= 'z'))
7618 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7621 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7626 for (i = 0; i < 256; i++)
7627 if (XOR (islower (i), ISLOWER (i))
7628 || toupper (i) != TOUPPER (i))
7633 if ac_fn_c_try_run "$LINENO"; then :
7636 ac_cv_header_stdc=no
7638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7639 conftest.$ac_objext conftest.beam conftest.$ac_ext
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7645 $as_echo "$ac_cv_header_stdc" >&6; }
7646 if test $ac_cv_header_stdc = yes; then
7648 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7653 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7654 inttypes.h stdint.h unistd.h
7656 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7657 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7659 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7660 cat >>confdefs.h <<_ACEOF
7661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 for ac_header in dlfcn.h
7671 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7673 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7674 cat >>confdefs.h <<_ACEOF
7675 #define HAVE_DLFCN_H 1
7688 # Check whether --enable-static was given.
7689 if test "${enable_static+set}" = set; then :
7690 enableval=$enable_static; p=${PACKAGE-default}
7692 yes) enable_static=yes ;;
7693 no) enable_static=no ;;
7696 # Look at the argument we got. We use all the common list separators.
7697 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7698 for pkg in $enableval; do
7700 if test "X$pkg" = "X$p"; then
7724 # Check whether --enable-shared was given.
7725 if test "${enable_shared+set}" = set; then :
7726 enableval=$enable_shared; p=${PACKAGE-default}
7728 yes) enable_shared=yes ;;
7729 no) enable_shared=no ;;
7732 # Look at the argument we got. We use all the common list separators.
7733 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7734 for pkg in $enableval; do
7736 if test "X$pkg" = "X$p"; then
7757 # Check whether --with-pic was given.
7758 if test "${with_pic+set}" = set; then :
7759 withval=$with_pic; lt_p=${PACKAGE-default}
7761 yes|no) pic_mode=$withval ;;
7764 # Look at the argument we got. We use all the common list separators.
7765 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7766 for lt_pkg in $withval; do
7768 if test "X$lt_pkg" = "X$lt_p"; then
7780 test -z "$pic_mode" && pic_mode=default
7788 # Check whether --enable-fast-install was given.
7789 if test "${enable_fast_install+set}" = set; then :
7790 enableval=$enable_fast_install; p=${PACKAGE-default}
7792 yes) enable_fast_install=yes ;;
7793 no) enable_fast_install=no ;;
7795 enable_fast_install=no
7796 # Look at the argument we got. We use all the common list separators.
7797 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7798 for pkg in $enableval; do
7800 if test "X$pkg" = "X$p"; then
7801 enable_fast_install=yes
7808 enable_fast_install=yes
7821 # This can be used to rebuild libtool when needed
7822 LIBTOOL_DEPS="$ltmain"
7824 # Always use our own libtool.
7825 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7856 test -z "$LN_S" && LN_S="ln -s"
7871 if test -n "${ZSH_VERSION+set}" ; then
7872 setopt NO_GLOB_SUBST
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7876 $as_echo_n "checking for objdir... " >&6; }
7877 if ${lt_cv_objdir+:} false; then :
7878 $as_echo_n "(cached) " >&6
7880 rm -f .libs 2>/dev/null
7881 mkdir .libs 2>/dev/null
7882 if test -d .libs; then
7885 # MS-DOS does not allow filenames that begin with a dot.
7888 rmdir .libs 2>/dev/null
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7891 $as_echo "$lt_cv_objdir" >&6; }
7892 objdir=$lt_cv_objdir
7898 cat >>confdefs.h <<_ACEOF
7899 #define LT_OBJDIR "$lt_cv_objdir/"
7907 # AIX sometimes has problems with the GCC collect2 program. For some
7908 # reason, if we set the COLLECT_NAMES environment variable, the problems
7909 # vanish in a puff of smoke.
7910 if test "X${COLLECT_NAMES+set}" != Xset; then
7912 export COLLECT_NAMES
7919 can_build_shared=yes
7921 # All known linkers require a `.a' archive for static linking (except MSVC,
7922 # which needs '.lib').
7925 with_gnu_ld="$lt_cv_prog_gnu_ld"
7928 old_CFLAGS="$CFLAGS"
7930 # Set sane defaults for various variables
7931 test -z "$CC" && CC=cc
7932 test -z "$LTCC" && LTCC=$CC
7933 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7934 test -z "$LD" && LD=ld
7935 test -z "$ac_objext" && ac_objext=o
7937 for cc_temp in $compiler""; do
7939 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7940 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7945 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7948 # Only perform the check for file, if the check method requires it
7949 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7950 case $deplibs_check_method in
7952 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7954 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7955 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7956 $as_echo_n "(cached) " >&6
7960 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7963 lt_save_MAGIC_CMD="$MAGIC_CMD"
7964 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7965 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7966 for ac_dir in $ac_dummy; do
7968 test -z "$ac_dir" && ac_dir=.
7969 if test -f $ac_dir/${ac_tool_prefix}file; then
7970 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7971 if test -n "$file_magic_test_file"; then
7972 case $deplibs_check_method in
7974 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7975 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7977 $EGREP "$file_magic_regex" > /dev/null; then
7982 *** Warning: the command libtool uses to detect shared libraries,
7983 *** $file_magic_cmd, produces output that libtool cannot recognize.
7984 *** The result is that libtool may fail to recognize shared libraries
7985 *** as such. This will affect the creation of libtool libraries that
7986 *** depend on shared libraries, but programs linked with such libtool
7987 *** libraries will work regardless of this problem. Nevertheless, you
7988 *** may want to report the problem to your system manager and/or to
7989 *** bug-libtool@gnu.org
7999 MAGIC_CMD="$lt_save_MAGIC_CMD"
8004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8005 if test -n "$MAGIC_CMD"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8007 $as_echo "$MAGIC_CMD" >&6; }
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8017 if test -z "$lt_cv_path_MAGIC_CMD"; then
8018 if test -n "$ac_tool_prefix"; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8020 $as_echo_n "checking for file... " >&6; }
8021 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8022 $as_echo_n "(cached) " >&6
8026 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8029 lt_save_MAGIC_CMD="$MAGIC_CMD"
8030 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8031 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8032 for ac_dir in $ac_dummy; do
8034 test -z "$ac_dir" && ac_dir=.
8035 if test -f $ac_dir/file; then
8036 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8037 if test -n "$file_magic_test_file"; then
8038 case $deplibs_check_method in
8040 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8041 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8042 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8043 $EGREP "$file_magic_regex" > /dev/null; then
8048 *** Warning: the command libtool uses to detect shared libraries,
8049 *** $file_magic_cmd, produces output that libtool cannot recognize.
8050 *** The result is that libtool may fail to recognize shared libraries
8051 *** as such. This will affect the creation of libtool libraries that
8052 *** depend on shared libraries, but programs linked with such libtool
8053 *** libraries will work regardless of this problem. Nevertheless, you
8054 *** may want to report the problem to your system manager and/or to
8055 *** bug-libtool@gnu.org
8065 MAGIC_CMD="$lt_save_MAGIC_CMD"
8070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8071 if test -n "$MAGIC_CMD"; then
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8073 $as_echo "$MAGIC_CMD" >&6; }
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8089 # Use C for the default configuration in the libtool script
8093 ac_cpp='$CPP $CPPFLAGS'
8094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8099 # Source file extension for C test sources.
8102 # Object file extension for compiled C test sources.
8106 # Code to be used in simple compile tests
8107 lt_simple_compile_test_code="int some_variable = 0;"
8109 # Code to be used in simple link tests
8110 lt_simple_link_test_code='int main(){return(0);}'
8118 # If no C compiler was specified, use CC.
8121 # If no C compiler flags were specified, use CFLAGS.
8122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8124 # Allow CC to be a program name with arguments.
8127 # Save the default compiler, since it gets overwritten when the other
8128 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8129 compiler_DEFAULT=$CC
8131 # save warnings/boilerplate of simple test code
8132 ac_outfile=conftest.$ac_objext
8133 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8134 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8135 _lt_compiler_boilerplate=`cat conftest.err`
8138 ac_outfile=conftest.$ac_objext
8139 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8140 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8141 _lt_linker_boilerplate=`cat conftest.err`
8146 ## There is no encapsulation within the following macros, do not change
8147 ## the running order or otherwise move them around unless you know exactly
8148 ## what you are doing...
8149 if test -n "$compiler"; then
8151 lt_prog_compiler_no_builtin_flag=
8153 if test "$GCC" = yes; then
8154 case $cc_basename in
8156 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8158 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8162 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8163 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8164 $as_echo_n "(cached) " >&6
8166 lt_cv_prog_compiler_rtti_exceptions=no
8167 ac_outfile=conftest.$ac_objext
8168 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8169 lt_compiler_flag="-fno-rtti -fno-exceptions"
8170 # Insert the option either (1) after the last *FLAGS variable, or
8171 # (2) before a word containing "conftest.", or (3) at the end.
8172 # Note that $ac_compile itself does not contain backslashes and begins
8173 # with a dollar sign (not a hyphen), so the echo should work correctly.
8174 # The option is referenced via a variable to avoid confusing sed.
8175 lt_compile=`echo "$ac_compile" | $SED \
8176 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8177 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8178 -e 's:$: $lt_compiler_flag:'`
8179 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8180 (eval "$lt_compile" 2>conftest.err)
8182 cat conftest.err >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 if (exit $ac_status) && test -s "$ac_outfile"; then
8185 # The compiler can only warn and ignore the option if not recognized
8186 # So say no if there are warnings other than the usual output.
8187 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8188 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8189 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8190 lt_cv_prog_compiler_rtti_exceptions=yes
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8197 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8199 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8200 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8212 lt_prog_compiler_wl=
8213 lt_prog_compiler_pic=
8214 lt_prog_compiler_static=
8217 if test "$GCC" = yes; then
8218 lt_prog_compiler_wl='-Wl,'
8219 lt_prog_compiler_static='-static'
8223 # All AIX code is PIC.
8224 if test "$host_cpu" = ia64; then
8225 # AIX 5 now supports IA64 processor
8226 lt_prog_compiler_static='-Bstatic'
8233 # see comment about AmigaOS4 .so support
8234 lt_prog_compiler_pic='-fPIC'
8237 # FIXME: we need at least 68020 code to build shared libraries, but
8238 # adding the `-m68020' flag to GCC prevents building anything better,
8240 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8245 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8246 # PIC is the default for these OSes.
8249 mingw* | cygwin* | pw32* | os2* | cegcc*)
8250 # This hack is so that the source file can tell whether it is being
8251 # built for inclusion in a dll (and should export symbols for example).
8252 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8253 # (--disable-auto-import) libraries
8254 lt_prog_compiler_pic='-DDLL_EXPORT'
8257 darwin* | rhapsody*)
8258 # PIC is the default on this platform
8259 # Common symbols not allowed in MH_DYLIB files
8260 lt_prog_compiler_pic='-fno-common'
8264 # PIC is the default for Haiku.
8265 # The "-static" flag exists, but is broken.
8266 lt_prog_compiler_static=
8270 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8271 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8272 # sets the default TLS model and affects inlining.
8278 lt_prog_compiler_pic='-fPIC'
8284 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8285 # Instead, we relocate shared libraries at runtime.
8289 # Just because we use GCC doesn't mean we suddenly get shared libraries
8290 # on systems that don't support them.
8291 lt_prog_compiler_can_build_shared=no
8296 # QNX uses GNU C++, but need to define -shared option too, otherwise
8298 lt_prog_compiler_pic='-fPIC -shared'
8302 if test -d /usr/nec; then
8303 lt_prog_compiler_pic=-Kconform_pic
8308 lt_prog_compiler_pic='-fPIC'
8312 case $cc_basename in
8313 nvcc*) # Cuda Compiler Driver 2.2
8314 lt_prog_compiler_wl='-Xlinker '
8315 if test -n "$lt_prog_compiler_pic"; then
8316 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8321 # PORTME Check for flag to pass linker flags through the system compiler.
8324 lt_prog_compiler_wl='-Wl,'
8325 if test "$host_cpu" = ia64; then
8326 # AIX 5 now supports IA64 processor
8327 lt_prog_compiler_static='-Bstatic'
8329 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8333 mingw* | cygwin* | pw32* | os2* | cegcc*)
8334 # This hack is so that the source file can tell whether it is being
8335 # built for inclusion in a dll (and should export symbols for example).
8336 lt_prog_compiler_pic='-DDLL_EXPORT'
8339 hpux9* | hpux10* | hpux11*)
8340 lt_prog_compiler_wl='-Wl,'
8341 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8348 lt_prog_compiler_pic='+Z'
8351 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8352 lt_prog_compiler_static='${wl}-a ${wl}archive'
8355 irix5* | irix6* | nonstopux*)
8356 lt_prog_compiler_wl='-Wl,'
8357 # PIC (with -KPIC) is the default.
8358 lt_prog_compiler_static='-non_shared'
8361 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8362 case $cc_basename in
8363 # old Intel for x86_64 which still supported -KPIC.
8365 lt_prog_compiler_wl='-Wl,'
8366 lt_prog_compiler_pic='-KPIC'
8367 lt_prog_compiler_static='-static'
8369 # icc used to be incompatible with GCC.
8370 # ICC 10 doesn't accept -KPIC any more.
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_pic='-fPIC'
8374 lt_prog_compiler_static='-static'
8376 # Lahey Fortran 8.1.
8378 lt_prog_compiler_wl='-Wl,'
8379 lt_prog_compiler_pic='--shared'
8380 lt_prog_compiler_static='--static'
8383 # NAG Fortran compiler
8384 lt_prog_compiler_wl='-Wl,-Wl,,'
8385 lt_prog_compiler_pic='-PIC'
8386 lt_prog_compiler_static='-Bstatic'
8388 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8389 # Portland Group compilers (*not* the Pentium gcc compiler,
8390 # which looks to be a dead project)
8391 lt_prog_compiler_wl='-Wl,'
8392 lt_prog_compiler_pic='-fpic'
8393 lt_prog_compiler_static='-Bstatic'
8396 lt_prog_compiler_wl='-Wl,'
8397 # All Alpha code is PIC.
8398 lt_prog_compiler_static='-non_shared'
8400 xl* | bgxl* | bgf* | mpixl*)
8401 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8402 lt_prog_compiler_wl='-Wl,'
8403 lt_prog_compiler_pic='-qpic'
8404 lt_prog_compiler_static='-qstaticlink'
8407 case `$CC -V 2>&1 | sed 5q` in
8408 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8409 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8410 lt_prog_compiler_pic='-KPIC'
8411 lt_prog_compiler_static='-Bstatic'
8412 lt_prog_compiler_wl=''
8414 *Sun\ F* | *Sun*Fortran*)
8415 lt_prog_compiler_pic='-KPIC'
8416 lt_prog_compiler_static='-Bstatic'
8417 lt_prog_compiler_wl='-Qoption ld '
8421 lt_prog_compiler_pic='-KPIC'
8422 lt_prog_compiler_static='-Bstatic'
8423 lt_prog_compiler_wl='-Wl,'
8425 *Intel*\ [CF]*Compiler*)
8426 lt_prog_compiler_wl='-Wl,'
8427 lt_prog_compiler_pic='-fPIC'
8428 lt_prog_compiler_static='-static'
8431 lt_prog_compiler_wl='-Wl,'
8432 lt_prog_compiler_pic='-fpic'
8433 lt_prog_compiler_static='-Bstatic'
8441 lt_prog_compiler_pic='-KPIC'
8442 lt_prog_compiler_static='-Bstatic'
8446 # QNX uses GNU C++, but need to define -shared option too, otherwise
8448 lt_prog_compiler_pic='-fPIC -shared'
8451 osf3* | osf4* | osf5*)
8452 lt_prog_compiler_wl='-Wl,'
8453 # All OSF/1 code is PIC.
8454 lt_prog_compiler_static='-non_shared'
8458 lt_prog_compiler_static='-non_shared'
8462 lt_prog_compiler_pic='-KPIC'
8463 lt_prog_compiler_static='-Bstatic'
8464 case $cc_basename in
8465 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8466 lt_prog_compiler_wl='-Qoption ld ';;
8468 lt_prog_compiler_wl='-Wl,';;
8473 lt_prog_compiler_wl='-Qoption ld '
8474 lt_prog_compiler_pic='-PIC'
8475 lt_prog_compiler_static='-Bstatic'
8478 sysv4 | sysv4.2uw2* | sysv4.3*)
8479 lt_prog_compiler_wl='-Wl,'
8480 lt_prog_compiler_pic='-KPIC'
8481 lt_prog_compiler_static='-Bstatic'
8485 if test -d /usr/nec ;then
8486 lt_prog_compiler_pic='-Kconform_pic'
8487 lt_prog_compiler_static='-Bstatic'
8491 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8492 lt_prog_compiler_wl='-Wl,'
8493 lt_prog_compiler_pic='-KPIC'
8494 lt_prog_compiler_static='-Bstatic'
8498 lt_prog_compiler_wl='-Wl,'
8499 lt_prog_compiler_can_build_shared=no
8503 lt_prog_compiler_pic='-pic'
8504 lt_prog_compiler_static='-Bstatic'
8508 lt_prog_compiler_can_build_shared=no
8514 # For platforms which do not support PIC, -DPIC is meaningless:
8516 lt_prog_compiler_pic=
8519 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8524 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8525 if ${lt_cv_prog_compiler_pic+:} false; then :
8526 $as_echo_n "(cached) " >&6
8528 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8531 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8532 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8535 # Check to make sure the PIC flag actually works.
8537 if test -n "$lt_prog_compiler_pic"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8539 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8540 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8541 $as_echo_n "(cached) " >&6
8543 lt_cv_prog_compiler_pic_works=no
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8546 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8547 # Insert the option either (1) after the last *FLAGS variable, or
8548 # (2) before a word containing "conftest.", or (3) at the end.
8549 # Note that $ac_compile itself does not contain backslashes and begins
8550 # with a dollar sign (not a hyphen), so the echo should work correctly.
8551 # The option is referenced via a variable to avoid confusing sed.
8552 lt_compile=`echo "$ac_compile" | $SED \
8553 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8555 -e 's:$: $lt_compiler_flag:'`
8556 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8557 (eval "$lt_compile" 2>conftest.err)
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 if (exit $ac_status) && test -s "$ac_outfile"; then
8562 # The compiler can only warn and ignore the option if not recognized
8563 # So say no if there are warnings other than the usual output.
8564 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8565 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8566 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8567 lt_cv_prog_compiler_pic_works=yes
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8574 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8576 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8577 case $lt_prog_compiler_pic in
8579 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8582 lt_prog_compiler_pic=
8583 lt_prog_compiler_can_build_shared=no
8599 # Check to make sure the static flag actually works.
8601 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8603 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8604 if ${lt_cv_prog_compiler_static_works+:} false; then :
8605 $as_echo_n "(cached) " >&6
8607 lt_cv_prog_compiler_static_works=no
8608 save_LDFLAGS="$LDFLAGS"
8609 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8610 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8611 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8612 # The linker can only warn and ignore the option if not recognized
8613 # So say no if there are warnings
8614 if test -s conftest.err; then
8615 # Append any errors to the config.log.
8616 cat conftest.err 1>&5
8617 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8618 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8619 if diff conftest.exp conftest.er2 >/dev/null; then
8620 lt_cv_prog_compiler_static_works=yes
8623 lt_cv_prog_compiler_static_works=yes
8627 LDFLAGS="$save_LDFLAGS"
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8631 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8633 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8636 lt_prog_compiler_static=
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8646 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8647 if ${lt_cv_prog_compiler_c_o+:} false; then :
8648 $as_echo_n "(cached) " >&6
8650 lt_cv_prog_compiler_c_o=no
8651 $RM -r conftest 2>/dev/null
8655 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8657 lt_compiler_flag="-o out/conftest2.$ac_objext"
8658 # Insert the option either (1) after the last *FLAGS variable, or
8659 # (2) before a word containing "conftest.", or (3) at the end.
8660 # Note that $ac_compile itself does not contain backslashes and begins
8661 # with a dollar sign (not a hyphen), so the echo should work correctly.
8662 lt_compile=`echo "$ac_compile" | $SED \
8663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8665 -e 's:$: $lt_compiler_flag:'`
8666 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8667 (eval "$lt_compile" 2>out/conftest.err)
8669 cat out/conftest.err >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8673 # The compiler can only warn and ignore the option if not recognized
8674 # So say no if there are warnings
8675 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8676 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8677 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8678 lt_cv_prog_compiler_c_o=yes
8683 # SGI C++ compiler will create directory out/ii_files/ for
8684 # template instantiation
8685 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8686 $RM out/* && rmdir out
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8693 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8701 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8702 if ${lt_cv_prog_compiler_c_o+:} false; then :
8703 $as_echo_n "(cached) " >&6
8705 lt_cv_prog_compiler_c_o=no
8706 $RM -r conftest 2>/dev/null
8710 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8712 lt_compiler_flag="-o out/conftest2.$ac_objext"
8713 # Insert the option either (1) after the last *FLAGS variable, or
8714 # (2) before a word containing "conftest.", or (3) at the end.
8715 # Note that $ac_compile itself does not contain backslashes and begins
8716 # with a dollar sign (not a hyphen), so the echo should work correctly.
8717 lt_compile=`echo "$ac_compile" | $SED \
8718 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8719 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8720 -e 's:$: $lt_compiler_flag:'`
8721 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8722 (eval "$lt_compile" 2>out/conftest.err)
8724 cat out/conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8728 # The compiler can only warn and ignore the option if not recognized
8729 # So say no if there are warnings
8730 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8731 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8732 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8733 lt_cv_prog_compiler_c_o=yes
8738 # SGI C++ compiler will create directory out/ii_files/ for
8739 # template instantiation
8740 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8741 $RM out/* && rmdir out
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8748 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8753 hard_links="nottested"
8754 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8755 # do not overwrite the value of need_locks provided by the user
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8757 $as_echo_n "checking if we can lock with hard links... " >&6; }
8760 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8762 ln conftest.a conftest.b 2>&5 || hard_links=no
8763 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8765 $as_echo "$hard_links" >&6; }
8766 if test "$hard_links" = no; then
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8768 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8781 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8784 allow_undefined_flag=
8785 always_export_symbols=no
8787 archive_expsym_cmds=
8788 compiler_needs_object=no
8789 enable_shared_with_static_runtimes=no
8790 export_dynamic_flag_spec=
8791 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8792 hardcode_automatic=no
8794 hardcode_direct_absolute=no
8795 hardcode_libdir_flag_spec=
8796 hardcode_libdir_separator=
8798 hardcode_shlibpath_var=unsupported
8800 link_all_deplibs=unknown
8803 old_archive_from_new_cmds=
8804 old_archive_from_expsyms_cmds=
8805 thread_safe_flag_spec=
8806 whole_archive_flag_spec=
8807 # include_expsyms should be a list of space-separated symbols to be *always*
8808 # included in the symbol list
8810 # exclude_expsyms can be an extended regexp of symbols to exclude
8811 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8812 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8813 # as well as any symbol that contains `d'.
8814 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8815 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8816 # platforms (ab)use it in PIC code, but their linkers get confused if
8817 # the symbol is explicitly referenced. Since portable code cannot
8818 # rely on this symbol name, it's probably fine to never include it in
8819 # preloaded symbol tables.
8820 # Exclude shared library initialization/finalization symbols.
8821 extract_expsyms_cmds=
8824 cygwin* | mingw* | pw32* | cegcc*)
8825 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8826 # When not using gcc, we currently assume that we are using
8827 # Microsoft Visual C++.
8828 if test "$GCC" != yes; then
8833 # we just hope/assume this is gcc and not c89 (= MSVC++)
8839 linux* | k*bsd*-gnu | gnu*)
8846 # On some targets, GNU ld is compatible enough with the native linker
8847 # that we're better off using the native interface for both.
8848 lt_use_gnu_ld_interface=no
8849 if test "$with_gnu_ld" = yes; then
8852 # The AIX port of GNU ld has always aspired to compatibility
8853 # with the native linker. However, as the warning in the GNU ld
8854 # block says, versions before 2.19.5* couldn't really create working
8855 # shared libraries, regardless of the interface used.
8856 case `$LD -v 2>&1` in
8857 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8858 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8859 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8861 lt_use_gnu_ld_interface=yes
8866 lt_use_gnu_ld_interface=yes
8871 if test "$lt_use_gnu_ld_interface" = yes; then
8872 # If archive_cmds runs LD, not CC, wlarc should be empty
8875 # Set some defaults for GNU ld with shared library support. These
8876 # are reset later if shared libraries are not supported. Putting them
8877 # here allows them to be overridden if necessary.
8878 runpath_var=LD_RUN_PATH
8879 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8880 export_dynamic_flag_spec='${wl}--export-dynamic'
8881 # ancient GNU ld didn't support --whole-archive et. al.
8882 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8883 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8885 whole_archive_flag_spec=
8887 supports_anon_versioning=no
8888 case `$LD -v 2>&1` in
8889 *GNU\ gold*) supports_anon_versioning=yes ;;
8890 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8891 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8892 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8893 *\ 2.11.*) ;; # other 2.11 versions
8894 *) supports_anon_versioning=yes ;;
8897 # See if GNU ld supports shared libraries.
8900 # On AIX/PPC, the GNU linker is very broken
8901 if test "$host_cpu" != ia64; then
8905 *** Warning: the GNU linker, at least up to release 2.19, is reported
8906 *** to be unable to reliably create shared libraries on AIX.
8907 *** Therefore, libtool is disabling shared libraries support. If you
8908 *** really care for shared libraries, you may want to install binutils
8909 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8910 *** You will then need to restart the configuration process.
8919 # see comment about AmigaOS4 .so support
8920 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8921 archive_expsym_cmds=''
8924 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)'
8925 hardcode_libdir_flag_spec='-L$libdir'
8926 hardcode_minus_L=yes
8932 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8933 allow_undefined_flag=unsupported
8934 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8935 # support --undefined. This deserves some investigation. FIXME
8936 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942 cygwin* | mingw* | pw32* | cegcc*)
8943 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8944 # as there is no search path for DLLs.
8945 hardcode_libdir_flag_spec='-L$libdir'
8946 export_dynamic_flag_spec='${wl}--export-all-symbols'
8947 allow_undefined_flag=unsupported
8948 always_export_symbols=no
8949 enable_shared_with_static_runtimes=yes
8950 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'
8951 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8953 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8954 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8955 # If the export-symbols file already is a .def file (1st line
8956 # is EXPORTS), use it as is; otherwise, prepend...
8957 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8958 cp $export_symbols $output_objdir/$soname.def;
8960 echo EXPORTS > $output_objdir/$soname.def;
8961 cat $export_symbols >> $output_objdir/$soname.def;
8963 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8970 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8971 link_all_deplibs=yes
8976 hardcode_shlibpath_var=no
8977 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8978 export_dynamic_flag_spec='${wl}-E'
8979 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8980 # Instead, shared libraries are loaded at an image base (0x10000000 by
8981 # default) and relocated if they conflict, which is a slow very memory
8982 # consuming and fragmenting process. To avoid this, we pick a random,
8983 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8984 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8985 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8986 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'
8989 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8991 if test "$host_os" = linux-dietlibc; then
8992 case $cc_basename in
8993 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8996 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8997 && test "$tmp_diet" = no
8999 tmp_addflag=' $pic_flag'
9000 tmp_sharedflag='-shared'
9001 case $cc_basename,$host_cpu in
9002 pgcc*) # Portland Group C compiler
9003 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'
9004 tmp_addflag=' $pic_flag'
9006 pgf77* | pgf90* | pgf95* | pgfortran*)
9007 # Portland Group f77 and f90 compilers
9008 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'
9009 tmp_addflag=' $pic_flag -Mnomain' ;;
9010 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9011 tmp_addflag=' -i_dynamic' ;;
9012 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9013 tmp_addflag=' -i_dynamic -nofor_main' ;;
9014 ifc* | ifort*) # Intel Fortran compiler
9015 tmp_addflag=' -nofor_main' ;;
9016 lf95*) # Lahey Fortran 8.1
9017 whole_archive_flag_spec=
9018 tmp_sharedflag='--shared' ;;
9019 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9020 tmp_sharedflag='-qmkshrobj'
9022 nvcc*) # Cuda Compiler Driver 2.2
9023 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'
9024 compiler_needs_object=yes
9027 case `$CC -V 2>&1 | sed 5q` in
9028 *Sun\ C*) # Sun C 5.9
9029 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'
9030 compiler_needs_object=yes
9031 tmp_sharedflag='-G' ;;
9032 *Sun\ F*) # Sun Fortran 8.3
9033 tmp_sharedflag='-G' ;;
9035 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 if test "x$supports_anon_versioning" = xyes; then
9038 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9039 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9040 echo "local: *; };" >> $output_objdir/$libname.ver~
9041 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9044 case $cc_basename in
9045 xlf* | bgf* | bgxlf* | mpixlf*)
9046 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9047 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9048 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9049 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9050 if test "x$supports_anon_versioning" = xyes; then
9051 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9052 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9053 echo "local: *; };" >> $output_objdir/$libname.ver~
9054 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9063 netbsd* | netbsdelf*-gnu)
9064 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9065 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
9074 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9078 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9079 *** create shared libraries on Solaris systems. Therefore, libtool
9080 *** is disabling shared libraries support. We urge you to upgrade GNU
9081 *** binutils to release 2.9.1 or newer. Another option is to modify
9082 *** your PATH or compiler configuration so that the native linker is
9083 *** used, and then restart.
9086 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9087 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9094 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9095 case `$LD -v 2>&1` in
9096 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9100 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9101 *** reliably create shared libraries on SCO systems. Therefore, libtool
9102 *** is disabling shared libraries support. We urge you to upgrade GNU
9103 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9104 *** your PATH or compiler configuration so that the native linker is
9105 *** used, and then restart.
9110 # For security reasons, it is highly recommended that you always
9111 # use absolute paths for naming shared libraries, and exclude the
9112 # DT_RUNPATH tag from executables and libraries. But doing so
9113 # requires that you compile everything twice, which is a pain.
9114 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9115 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9116 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9117 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9126 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9129 hardcode_shlibpath_var=no
9133 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9134 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9142 if test "$ld_shlibs" = no; then
9144 hardcode_libdir_flag_spec=
9145 export_dynamic_flag_spec=
9146 whole_archive_flag_spec=
9149 # PORTME fill in a description of your system's linker (not GNU ld)
9152 allow_undefined_flag=unsupported
9153 always_export_symbols=yes
9154 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'
9155 # Note: this linker hardcodes the directories in LIBPATH if there
9156 # are no directories specified by -L.
9157 hardcode_minus_L=yes
9158 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9159 # Neither direct hardcoding nor static linking is supported with a
9161 hardcode_direct=unsupported
9166 if test "$host_cpu" = ia64; then
9167 # On IA64, the linker does run time linking by default, so we don't
9168 # have to do anything special.
9169 aix_use_runtimelinking=no
9170 exp_sym_flag='-Bexport'
9173 # If we're using GNU nm, then we don't want the "-C" option.
9174 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9175 # Also, AIX nm treats weak defined symbols like other global
9176 # defined symbols, whereas GNU nm marks them as "W".
9177 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9178 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'
9180 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'
9182 aix_use_runtimelinking=no
9184 # Test if we are trying to use run time linking or normal
9185 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9186 # need to do runtime linking.
9187 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9188 for ld_flag in $LDFLAGS; do
9189 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9190 aix_use_runtimelinking=yes
9197 exp_sym_flag='-bexport'
9198 no_entry_flag='-bnoentry'
9201 # When large executables or shared objects are built, AIX ld can
9202 # have problems creating the table of contents. If linking a library
9203 # or program results in "error TOC overflow" add -mminimal-toc to
9204 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9205 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9209 hardcode_direct_absolute=yes
9210 hardcode_libdir_separator=':'
9211 link_all_deplibs=yes
9212 file_list_spec='${wl}-f,'
9214 if test "$GCC" = yes; then
9215 case $host_os in aix4.[012]|aix4.[012].*)
9216 # We only want to do this on AIX 4.2 and lower, the check
9217 # below for broken collect2 doesn't work under 4.3+
9218 collect2name=`${CC} -print-prog-name=collect2`
9219 if test -f "$collect2name" &&
9220 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9222 # We have reworked collect2
9225 # We have old collect2
9226 hardcode_direct=unsupported
9227 # It fails to find uninstalled libraries when the uninstalled
9228 # path is not listed in the libpath. Setting hardcode_minus_L
9229 # to unsupported forces relinking
9230 hardcode_minus_L=yes
9231 hardcode_libdir_flag_spec='-L$libdir'
9232 hardcode_libdir_separator=
9236 shared_flag='-shared'
9237 if test "$aix_use_runtimelinking" = yes; then
9238 shared_flag="$shared_flag "'${wl}-G'
9243 if test "$host_cpu" = ia64; then
9244 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9245 # chokes on -Wl,-G. The following line is correct:
9248 if test "$aix_use_runtimelinking" = yes; then
9249 shared_flag='${wl}-G'
9251 shared_flag='${wl}-bM:SRE'
9256 export_dynamic_flag_spec='${wl}-bexpall'
9257 # It seems that -bexpall does not export symbols beginning with
9258 # underscore (_), so it is better to generate a list of symbols to export.
9259 always_export_symbols=yes
9260 if test "$aix_use_runtimelinking" = yes; then
9261 # Warning - without using the other runtime loading flags (-brtl),
9262 # -berok will link without error, but may produce a broken library.
9263 allow_undefined_flag='-berok'
9264 # Determine the default libpath from the value encoded in an
9266 if test "${lt_cv_aix_libpath+set}" = set; then
9267 aix_libpath=$lt_cv_aix_libpath
9269 if ${lt_cv_aix_libpath_+:} false; then :
9270 $as_echo_n "(cached) " >&6
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9283 if ac_fn_c_try_link "$LINENO"; then :
9285 lt_aix_libpath_sed='
9286 /Import File Strings/,/^$/ {
9288 s/^0 *\([^ ]*\) *$/\1/
9292 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9293 # Check for a 64-bit object if we didn't find anything.
9294 if test -z "$lt_cv_aix_libpath_"; then
9295 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 if test -z "$lt_cv_aix_libpath_"; then
9301 lt_cv_aix_libpath_="/usr/lib:/lib"
9306 aix_libpath=$lt_cv_aix_libpath_
9309 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9310 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"
9312 if test "$host_cpu" = ia64; then
9313 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9314 allow_undefined_flag="-z nodefs"
9315 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"
9317 # Determine the default libpath from the value encoded in an
9319 if test "${lt_cv_aix_libpath+set}" = set; then
9320 aix_libpath=$lt_cv_aix_libpath
9322 if ${lt_cv_aix_libpath_+:} false; then :
9323 $as_echo_n "(cached) " >&6
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9336 if ac_fn_c_try_link "$LINENO"; then :
9338 lt_aix_libpath_sed='
9339 /Import File Strings/,/^$/ {
9341 s/^0 *\([^ ]*\) *$/\1/
9345 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9346 # Check for a 64-bit object if we didn't find anything.
9347 if test -z "$lt_cv_aix_libpath_"; then
9348 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 if test -z "$lt_cv_aix_libpath_"; then
9354 lt_cv_aix_libpath_="/usr/lib:/lib"
9359 aix_libpath=$lt_cv_aix_libpath_
9362 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9363 # Warning - without using the other run time loading flags,
9364 # -berok will link without error, but may produce a broken library.
9365 no_undefined_flag=' ${wl}-bernotok'
9366 allow_undefined_flag=' ${wl}-berok'
9367 if test "$with_gnu_ld" = yes; then
9368 # We only use this code for GNU lds that support --whole-archive.
9369 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9371 # Exported symbols can be pulled into shared objects from archives
9372 whole_archive_flag_spec='$convenience'
9374 archive_cmds_need_lc=yes
9375 # This is similar to how AIX traditionally builds its shared libraries.
9376 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'
9384 # see comment about AmigaOS4 .so support
9385 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9386 archive_expsym_cmds=''
9389 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)'
9390 hardcode_libdir_flag_spec='-L$libdir'
9391 hardcode_minus_L=yes
9397 export_dynamic_flag_spec=-rdynamic
9400 cygwin* | mingw* | pw32* | cegcc*)
9401 # When not using gcc, we currently assume that we are using
9402 # Microsoft Visual C++.
9403 # hardcode_libdir_flag_spec is actually meaningless, as there is
9404 # no search path for DLLs.
9405 case $cc_basename in
9408 hardcode_libdir_flag_spec=' '
9409 allow_undefined_flag=unsupported
9410 always_export_symbols=yes
9412 # Tell ltmain to make .lib files, not .a files.
9414 # Tell ltmain to make .dll files, not .so files.
9416 # FIXME: Setting linknames here is a bad hack.
9417 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9418 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9419 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9421 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9423 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9425 # The linker will not automatically build a static lib if we build a DLL.
9426 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9427 enable_shared_with_static_runtimes=yes
9428 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9429 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9431 old_postinstall_cmds='chmod 644 $oldlib'
9432 postlink_cmds='lt_outputfile="@OUTPUT@"~
9433 lt_tool_outputfile="@TOOL_OUTPUT@"~
9434 case $lt_outputfile in
9437 lt_outputfile="$lt_outputfile.exe"
9438 lt_tool_outputfile="$lt_tool_outputfile.exe"
9441 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9442 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9443 $RM "$lt_outputfile.manifest";
9447 # Assume MSVC wrapper
9448 hardcode_libdir_flag_spec=' '
9449 allow_undefined_flag=unsupported
9450 # Tell ltmain to make .lib files, not .a files.
9452 # Tell ltmain to make .dll files, not .so files.
9454 # FIXME: Setting linknames here is a bad hack.
9455 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9456 # The linker will automatically build a .lib file if we build a DLL.
9457 old_archive_from_new_cmds='true'
9458 # FIXME: Should let the user specify the lib program.
9459 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9460 enable_shared_with_static_runtimes=yes
9465 darwin* | rhapsody*)
9468 archive_cmds_need_lc=no
9470 hardcode_automatic=yes
9471 hardcode_shlibpath_var=unsupported
9472 if test "$lt_cv_ld_force_load" = "yes"; then
9473 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\"`'
9476 whole_archive_flag_spec=''
9478 link_all_deplibs=yes
9479 allow_undefined_flag="$_lt_dar_allow_undefined"
9480 case $cc_basename in
9481 ifort*) _lt_dar_can_shared=yes ;;
9482 *) _lt_dar_can_shared=$GCC ;;
9484 if test "$_lt_dar_can_shared" = "yes"; then
9485 output_verbose_link_cmd=func_echo_all
9486 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9487 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9488 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}"
9489 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}"
9498 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499 hardcode_libdir_flag_spec='-L$libdir'
9500 hardcode_shlibpath_var=no
9503 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9504 # support. Future versions do this automatically, but an explicit c++rt0.o
9505 # does not break anything, and helps significantly (at the cost of a little
9508 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9509 hardcode_libdir_flag_spec='-R$libdir'
9511 hardcode_shlibpath_var=no
9514 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9516 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9518 hardcode_minus_L=yes
9519 hardcode_shlibpath_var=no
9522 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9523 freebsd* | dragonfly*)
9524 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9525 hardcode_libdir_flag_spec='-R$libdir'
9527 hardcode_shlibpath_var=no
9531 if test "$GCC" = yes; then
9532 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'
9534 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'
9536 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9537 hardcode_libdir_separator=:
9540 # hardcode_minus_L: Not really in the search PATH,
9541 # but as the default location of the library.
9542 hardcode_minus_L=yes
9543 export_dynamic_flag_spec='${wl}-E'
9547 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9548 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9550 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9552 if test "$with_gnu_ld" = no; then
9553 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9554 hardcode_libdir_separator=:
9556 hardcode_direct_absolute=yes
9557 export_dynamic_flag_spec='${wl}-E'
9558 # hardcode_minus_L: Not really in the search PATH,
9559 # but as the default location of the library.
9560 hardcode_minus_L=yes
9565 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9568 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9571 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9574 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9583 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9587 # Older versions of the 11.00 compiler do not understand -b yet
9588 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9590 $as_echo_n "checking if $CC understands -b... " >&6; }
9591 if ${lt_cv_prog_compiler__b+:} false; then :
9592 $as_echo_n "(cached) " >&6
9594 lt_cv_prog_compiler__b=no
9595 save_LDFLAGS="$LDFLAGS"
9596 LDFLAGS="$LDFLAGS -b"
9597 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9598 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9599 # The linker can only warn and ignore the option if not recognized
9600 # So say no if there are warnings
9601 if test -s conftest.err; then
9602 # Append any errors to the config.log.
9603 cat conftest.err 1>&5
9604 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9605 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9606 if diff conftest.exp conftest.er2 >/dev/null; then
9607 lt_cv_prog_compiler__b=yes
9610 lt_cv_prog_compiler__b=yes
9614 LDFLAGS="$save_LDFLAGS"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9618 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9620 if test x"$lt_cv_prog_compiler__b" = xyes; then
9621 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9629 if test "$with_gnu_ld" = no; then
9630 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9631 hardcode_libdir_separator=:
9636 hardcode_shlibpath_var=no
9640 hardcode_direct_absolute=yes
9641 export_dynamic_flag_spec='${wl}-E'
9643 # hardcode_minus_L: Not really in the search PATH,
9644 # but as the default location of the library.
9645 hardcode_minus_L=yes
9651 irix5* | irix6* | nonstopux*)
9652 if test "$GCC" = yes; then
9653 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'
9654 # Try to use the -exported_symbol ld option, if it does not
9655 # work, assume that -exports_file does not work either and
9656 # implicitly export all symbols.
9657 # This should be the same for all languages, so no per-tag cache variable.
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9659 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9660 if ${lt_cv_irix_exported_symbol+:} false; then :
9661 $as_echo_n "(cached) " >&6
9663 save_LDFLAGS="$LDFLAGS"
9664 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9667 int foo (void) { return 0; }
9669 if ac_fn_c_try_link "$LINENO"; then :
9670 lt_cv_irix_exported_symbol=yes
9672 lt_cv_irix_exported_symbol=no
9674 rm -f core conftest.err conftest.$ac_objext \
9675 conftest$ac_exeext conftest.$ac_ext
9676 LDFLAGS="$save_LDFLAGS"
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9679 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9680 if test "$lt_cv_irix_exported_symbol" = yes; then
9681 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'
9684 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'
9685 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'
9687 archive_cmds_need_lc='no'
9688 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9689 hardcode_libdir_separator=:
9691 link_all_deplibs=yes
9694 netbsd* | netbsdelf*-gnu)
9695 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9696 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9698 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9700 hardcode_libdir_flag_spec='-R$libdir'
9702 hardcode_shlibpath_var=no
9706 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9709 hardcode_libdir_separator=:
9710 hardcode_shlibpath_var=no
9717 if test -f /usr/libexec/ld.so; then
9719 hardcode_shlibpath_var=no
9720 hardcode_direct_absolute=yes
9721 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9722 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9724 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9725 export_dynamic_flag_spec='${wl}-E'
9728 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9729 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9730 hardcode_libdir_flag_spec='-R$libdir'
9733 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9734 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_minus_L=yes
9746 allow_undefined_flag=unsupported
9747 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'
9748 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9752 if test "$GCC" = yes; then
9753 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9754 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'
9756 allow_undefined_flag=' -expect_unresolved \*'
9757 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'
9759 archive_cmds_need_lc='no'
9760 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9761 hardcode_libdir_separator=:
9764 osf4* | osf5*) # as osf3* with the addition of -msym flag
9765 if test "$GCC" = yes; then
9766 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9767 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'
9768 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9770 allow_undefined_flag=' -expect_unresolved \*'
9771 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'
9772 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~
9773 $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'
9775 # Both c and cxx compiler support -rpath directly
9776 hardcode_libdir_flag_spec='-rpath $libdir'
9778 archive_cmds_need_lc='no'
9779 hardcode_libdir_separator=:
9783 no_undefined_flag=' -z defs'
9784 if test "$GCC" = yes; then
9786 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9787 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9788 $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'
9790 case `$CC -V 2>&1` in
9793 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9794 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9795 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9799 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9801 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_shlibpath_var=no
9808 solaris2.[0-5] | solaris2.[0-5].*) ;;
9810 # The compiler driver will combine and reorder linker options,
9811 # but understands `-z linker_flag'. GCC discards it without `$wl',
9812 # but is careful enough not to reorder.
9813 # Supported since Solaris 2.6 (maybe 2.5.1?)
9814 if test "$GCC" = yes; then
9815 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9817 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9821 link_all_deplibs=yes
9825 if test "x$host_vendor" = xsequent; then
9826 # Use $CC to link under sequent, because it throws in some extra .o
9827 # files that make .init and .fini sections work.
9828 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9832 hardcode_libdir_flag_spec='-L$libdir'
9834 hardcode_minus_L=yes
9835 hardcode_shlibpath_var=no
9839 case $host_vendor in
9841 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 hardcode_direct=yes # is this really true???
9845 ## LD is ld it makes a PLAMLIB
9846 ## CC just makes a GrossModule.
9847 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9848 reload_cmds='$CC -r -o $output$reload_objs'
9852 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9853 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9856 runpath_var='LD_RUN_PATH'
9857 hardcode_shlibpath_var=no
9861 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9862 hardcode_shlibpath_var=no
9863 export_dynamic_flag_spec='-Bexport'
9867 if test -d /usr/nec; then
9868 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9869 hardcode_shlibpath_var=no
9870 runpath_var=LD_RUN_PATH
9871 hardcode_runpath_var=yes
9876 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9877 no_undefined_flag='${wl}-z,text'
9878 archive_cmds_need_lc=no
9879 hardcode_shlibpath_var=no
9880 runpath_var='LD_RUN_PATH'
9882 if test "$GCC" = yes; then
9883 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9887 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9891 sysv5* | sco3.2v5* | sco5v6*)
9892 # Note: We can NOT use -z defs as we might desire, because we do not
9893 # link with -lc, and that would cause any symbols used from libc to
9894 # always be unresolved, which means just about no library would
9895 # ever link correctly. If we're not using GNU ld we use -z text
9896 # though, which does catch some bad symbols but isn't as heavy-handed
9898 no_undefined_flag='${wl}-z,text'
9899 allow_undefined_flag='${wl}-z,nodefs'
9900 archive_cmds_need_lc=no
9901 hardcode_shlibpath_var=no
9902 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9903 hardcode_libdir_separator=':'
9904 link_all_deplibs=yes
9905 export_dynamic_flag_spec='${wl}-Bexport'
9906 runpath_var='LD_RUN_PATH'
9908 if test "$GCC" = yes; then
9909 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_libdir_flag_spec='-L$libdir'
9920 hardcode_shlibpath_var=no
9928 if test x$host_vendor = xsni; then
9930 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9931 export_dynamic_flag_spec='${wl}-Blargedynsym'
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9938 $as_echo "$ld_shlibs" >&6; }
9939 test "$ld_shlibs" = no && can_build_shared=no
9941 with_gnu_ld=$with_gnu_ld
9958 # Do we need to explicitly link libc?
9960 case "x$archive_cmds_need_lc" in
9962 # Assume -lc should be added
9963 archive_cmds_need_lc=yes
9965 if test "$enable_shared" = yes && test "$GCC" = yes; then
9966 case $archive_cmds in
9968 # FIXME: we may have to deal with multi-command sequences.
9971 # Test whether the compiler implicitly links with -lc since on some
9972 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9973 # to ld, don't add -lc before -lgcc.
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9975 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9976 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9977 $as_echo_n "(cached) " >&6
9980 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9983 (eval $ac_compile) 2>&5
9985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9986 test $ac_status = 0; } 2>conftest.err; then
9989 libobjs=conftest.$ac_objext
9991 wl=$lt_prog_compiler_wl
9992 pic_flag=$lt_prog_compiler_pic
9998 lt_save_allow_undefined_flag=$allow_undefined_flag
9999 allow_undefined_flag=
10000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10001 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10004 test $ac_status = 0; }
10006 lt_cv_archive_cmds_need_lc=no
10008 lt_cv_archive_cmds_need_lc=yes
10010 allow_undefined_flag=$lt_save_allow_undefined_flag
10012 cat conftest.err 1>&5
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10018 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10019 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10178 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10180 if test "$GCC" = yes; then
10182 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10183 *) lt_awk_arg="/^libraries:/" ;;
10186 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10187 *) lt_sed_strip_eq="s,=/,/,g" ;;
10189 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10190 case $lt_search_path_spec in
10192 # if the path contains ";" then we assume it to be the separator
10193 # otherwise default to the standard path separator (i.e. ":") - it is
10194 # assumed that no part of a normal pathname contains ";" but that should
10195 # okay in the real world where ";" in dirpaths is itself problematic.
10196 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10199 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10202 # Ok, now we have the path, separated by spaces, we can step through it
10203 # and add multilib dir if necessary.
10204 lt_tmp_lt_search_path_spec=
10205 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10206 for lt_sys_path in $lt_search_path_spec; do
10207 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10208 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10210 test -d "$lt_sys_path" && \
10211 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10214 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10215 BEGIN {RS=" "; FS="/|\n";} {
10218 for (lt_i = NF; lt_i > 0; lt_i--) {
10219 if ($lt_i != "" && $lt_i != ".") {
10220 if ($lt_i == "..") {
10223 if (lt_count == 0) {
10224 lt_foo="/" $lt_i lt_foo;
10231 if (lt_foo != "") { lt_freq[lt_foo]++; }
10232 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10234 # AWK program above erroneously prepends '/' to C:/dos/paths
10237 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10238 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10240 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10242 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10244 library_names_spec=
10245 libname_spec='lib$name'
10249 postuninstall_cmds=
10253 shlibpath_overrides_runpath=unknown
10255 dynamic_linker="$host_os ld.so"
10256 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10257 need_lib_prefix=unknown
10258 hardcode_into_libs=no
10260 # when you set need_version to no, make sure it does not cause -set_version
10261 # flags to be left without arguments
10262 need_version=unknown
10266 version_type=linux # correct to gnu/linux during the next big refactor
10267 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10268 shlibpath_var=LIBPATH
10270 # AIX 3 has no versioning support, so we append a major version to the name.
10271 soname_spec='${libname}${release}${shared_ext}$major'
10275 version_type=linux # correct to gnu/linux during the next big refactor
10278 hardcode_into_libs=yes
10279 if test "$host_cpu" = ia64; then
10280 # AIX 5 supports IA64
10281 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10282 shlibpath_var=LD_LIBRARY_PATH
10284 # With GCC up to 2.95.x, collect2 would create an import file
10285 # for dependence libraries. The import file would start with
10286 # the line `#! .'. This would cause the generated library to
10287 # depend on `.', always an invalid library. This was fixed in
10288 # development snapshots of GCC prior to 3.0.
10290 aix4 | aix4.[01] | aix4.[01].*)
10291 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10293 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10296 can_build_shared=no
10300 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10301 # soname into executable. Probably we can add versioning support to
10302 # collect2, so additional links can be useful in future.
10303 if test "$aix_use_runtimelinking" = yes; then
10304 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10305 # instead of lib<name>.a to let people know that these are not
10306 # typical AIX shared libraries.
10307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 # We preserve .a as extension for shared libraries through AIX4.2
10310 # and later when we are not doing run time linking.
10311 library_names_spec='${libname}${release}.a $libname.a'
10312 soname_spec='${libname}${release}${shared_ext}$major'
10314 shlibpath_var=LIBPATH
10321 # Since July 2007 AmigaOS4 officially supports .so libraries.
10322 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10326 library_names_spec='$libname.ixlibrary $libname.a'
10327 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10328 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'
10334 library_names_spec='${libname}${shared_ext}'
10335 dynamic_linker="$host_os ld.so"
10336 shlibpath_var=LIBRARY_PATH
10340 version_type=linux # correct to gnu/linux during the next big refactor
10342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343 soname_spec='${libname}${release}${shared_ext}$major'
10344 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10345 shlibpath_var=LD_LIBRARY_PATH
10346 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10347 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10348 # the default ld.so.conf also contains /usr/contrib/lib and
10349 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10350 # libtool to hard-code these into programs
10353 cygwin* | mingw* | pw32* | cegcc*)
10354 version_type=windows
10359 case $GCC,$cc_basename in
10362 library_names_spec='$libname.dll.a'
10363 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10364 postinstall_cmds='base_file=`basename \${file}`~
10365 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10366 dldir=$destdir/`dirname \$dlpath`~
10367 test -d \$dldir || mkdir -p \$dldir~
10368 $install_prog $dir/$dlname \$dldir/$dlname~
10369 chmod a+x \$dldir/$dlname~
10370 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10371 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10373 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10374 dlpath=$dir/\$dldll~
10376 shlibpath_overrides_runpath=yes
10380 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10381 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10383 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10386 # MinGW DLLs use traditional 'lib' prefix
10387 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10390 # pw32 DLLs use 'pw' prefix rather than 'lib'
10391 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10394 dynamic_linker='Win32 ld.exe'
10399 libname_spec='$name'
10400 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10401 library_names_spec='${libname}.dll.lib'
10405 sys_lib_search_path_spec=
10408 for lt_path in $LIB
10411 # Let DOS variable expansion print the short 8.3 style file name.
10412 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10413 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10416 # Convert to MSYS style.
10417 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10420 # Convert to unix form, then to dos form, then back to unix form
10421 # but this time dos style (no spaces!) so that the unix form looks
10422 # like /cygdrive/c/PROGRA~1:/cygdr...
10423 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10424 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10425 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10428 sys_lib_search_path_spec="$LIB"
10429 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10430 # It is most probably a Windows format PATH.
10431 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10433 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10435 # FIXME: find the short name or the path components, as spaces are
10436 # common. (e.g. "Program Files" -> "PROGRA~1")
10440 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10441 postinstall_cmds='base_file=`basename \${file}`~
10442 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10443 dldir=$destdir/`dirname \$dlpath`~
10444 test -d \$dldir || mkdir -p \$dldir~
10445 $install_prog $dir/$dlname \$dldir/$dlname'
10446 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10447 dlpath=$dir/\$dldll~
10449 shlibpath_overrides_runpath=yes
10450 dynamic_linker='Win32 link.exe'
10454 # Assume MSVC wrapper
10455 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10456 dynamic_linker='Win32 ld.exe'
10459 # FIXME: first we should search . and the directory the executable is in
10463 darwin* | rhapsody*)
10464 dynamic_linker="$host_os dyld"
10465 version_type=darwin
10468 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10469 soname_spec='${libname}${release}${major}$shared_ext'
10470 shlibpath_overrides_runpath=yes
10471 shlibpath_var=DYLD_LIBRARY_PATH
10472 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10474 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10475 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10479 version_type=linux # correct to gnu/linux during the next big refactor
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10483 soname_spec='${libname}${release}${shared_ext}$major'
10484 shlibpath_var=LD_LIBRARY_PATH
10487 freebsd* | dragonfly*)
10488 # DragonFly does not have aout. When/if they implement a new
10489 # versioning mechanism, adjust this.
10490 if test -x /usr/bin/objformat; then
10491 objformat=`/usr/bin/objformat`
10494 freebsd[23].*) objformat=aout ;;
10495 *) objformat=elf ;;
10498 version_type=freebsd-$objformat
10499 case $version_type in
10501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10510 shlibpath_var=LD_LIBRARY_PATH
10513 shlibpath_overrides_runpath=yes
10515 freebsd3.[01]* | freebsdelf3.[01]*)
10516 shlibpath_overrides_runpath=yes
10517 hardcode_into_libs=yes
10519 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10520 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10521 shlibpath_overrides_runpath=no
10522 hardcode_into_libs=yes
10524 *) # from 4.6 on, and DragonFly
10525 shlibpath_overrides_runpath=yes
10526 hardcode_into_libs=yes
10532 version_type=linux # correct to gnu/linux during the next big refactor
10535 dynamic_linker="$host_os runtime_loader"
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10537 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBRARY_PATH
10539 shlibpath_overrides_runpath=yes
10540 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10541 hardcode_into_libs=yes
10544 hpux9* | hpux10* | hpux11*)
10545 # Give a soname corresponding to the major version so that dld.sl refuses to
10546 # link against other versions.
10553 hardcode_into_libs=yes
10554 dynamic_linker="$host_os dld.so"
10555 shlibpath_var=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10558 soname_spec='${libname}${release}${shared_ext}$major'
10559 if test "X$HPUX_IA64_MODE" = X32; then
10560 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10562 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10564 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10568 hardcode_into_libs=yes
10569 dynamic_linker="$host_os dld.sl"
10570 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10571 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10575 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10579 dynamic_linker="$host_os dld.sl"
10580 shlibpath_var=SHLIB_PATH
10581 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583 soname_spec='${libname}${release}${shared_ext}$major'
10586 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10587 postinstall_cmds='chmod 555 $lib'
10588 # or fails outright, so override atomically:
10589 install_override_mode=555
10593 version_type=linux # correct to gnu/linux during the next big refactor
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10597 soname_spec='${libname}${release}${shared_ext}$major'
10598 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10599 shlibpath_var=LD_LIBRARY_PATH
10600 shlibpath_overrides_runpath=no
10601 hardcode_into_libs=yes
10604 irix5* | irix6* | nonstopux*)
10606 nonstopux*) version_type=nonstopux ;;
10608 if test "$lt_cv_prog_gnu_ld" = yes; then
10609 version_type=linux # correct to gnu/linux during the next big refactor
10616 soname_spec='${libname}${release}${shared_ext}$major'
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10619 irix5* | nonstopux*)
10620 libsuff= shlibsuff=
10623 case $LD in # libtool.m4 will add one of these switches to LD
10624 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10625 libsuff= shlibsuff= libmagic=32-bit;;
10626 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10627 libsuff=32 shlibsuff=N32 libmagic=N32;;
10628 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10629 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10630 *) libsuff= shlibsuff= libmagic=never-match;;
10634 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10635 shlibpath_overrides_runpath=no
10636 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10637 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10638 hardcode_into_libs=yes
10641 # No shared lib support for Linux oldld, aout, or coff.
10642 linux*oldld* | linux*aout* | linux*coff*)
10646 # This must be glibc/ELF.
10647 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10648 version_type=linux # correct to gnu/linux during the next big refactor
10651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652 soname_spec='${libname}${release}${shared_ext}$major'
10653 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10654 shlibpath_var=LD_LIBRARY_PATH
10655 shlibpath_overrides_runpath=no
10657 # Some binutils ld are patched to set DT_RUNPATH
10658 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10659 $as_echo_n "(cached) " >&6
10661 lt_cv_shlibpath_overrides_runpath=no
10662 save_LDFLAGS=$LDFLAGS
10663 save_libdir=$libdir
10664 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10665 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10679 lt_cv_shlibpath_overrides_runpath=yes
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LDFLAGS=$save_LDFLAGS
10685 libdir=$save_libdir
10689 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10691 # This implies no fast_install, which is unacceptable.
10692 # Some rework will be needed to allow for fast_install
10693 # before this can be enabled.
10694 hardcode_into_libs=yes
10696 # Append ld.so.conf contents to the search path
10697 if test -f /etc/ld.so.conf; then
10698 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' ' '`
10699 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10702 # We used to test for /lib/ld.so.1 and disable shared libraries on
10703 # powerpc, because MkLinux only supported shared libraries with the
10704 # GNU dynamic linker. Since this was broken with cross compilers,
10705 # most powerpc-linux boxes support dynamic linking these days and
10706 # people can always --disable-shared, the test was removed, and we
10707 # assume the GNU/Linux dynamic linker is in use.
10708 dynamic_linker='GNU/Linux ld.so'
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=no
10719 hardcode_into_libs=yes
10720 dynamic_linker='NetBSD ld.elf_so'
10727 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10729 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10730 dynamic_linker='NetBSD (a.out) ld.so'
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 dynamic_linker='NetBSD ld.elf_so'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=yes
10738 hardcode_into_libs=yes
10742 version_type=linux # correct to gnu/linux during the next big refactor
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10744 shlibpath_var=LD_LIBRARY_PATH
10745 shlibpath_overrides_runpath=yes
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 shlibpath_var=LD_LIBRARY_PATH
10755 shlibpath_overrides_runpath=no
10756 hardcode_into_libs=yes
10757 dynamic_linker='ldqnx.so'
10762 sys_lib_dlsearch_path_spec="/usr/lib"
10764 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10766 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10767 *) need_version=no ;;
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10770 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10771 shlibpath_var=LD_LIBRARY_PATH
10772 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10774 openbsd2.[89] | openbsd2.[89].*)
10775 shlibpath_overrides_runpath=no
10778 shlibpath_overrides_runpath=yes
10782 shlibpath_overrides_runpath=yes
10787 libname_spec='$name'
10790 library_names_spec='$libname${shared_ext} $libname.a'
10791 dynamic_linker='OS/2 ld.exe'
10792 shlibpath_var=LIBPATH
10795 osf3* | osf4* | osf5*)
10799 soname_spec='${libname}${release}${shared_ext}$major'
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 shlibpath_var=LD_LIBRARY_PATH
10802 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10803 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10811 version_type=linux # correct to gnu/linux during the next big refactor
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=yes
10818 hardcode_into_libs=yes
10819 # ldd complains unless libraries are executable
10820 postinstall_cmds='chmod +x $lib'
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10826 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10827 shlibpath_var=LD_LIBRARY_PATH
10828 shlibpath_overrides_runpath=yes
10829 if test "$with_gnu_ld" = yes; then
10836 version_type=linux # correct to gnu/linux during the next big refactor
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 soname_spec='${libname}${release}${shared_ext}$major'
10839 shlibpath_var=LD_LIBRARY_PATH
10840 case $host_vendor in
10842 shlibpath_overrides_runpath=no
10844 runpath_var=LD_RUN_PATH
10852 shlibpath_overrides_runpath=no
10853 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10859 if test -d /usr/nec ;then
10860 version_type=linux # correct to gnu/linux during the next big refactor
10861 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10862 soname_spec='$libname${shared_ext}.$major'
10863 shlibpath_var=LD_LIBRARY_PATH
10867 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10868 version_type=freebsd-elf
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes
10875 hardcode_into_libs=yes
10876 if test "$with_gnu_ld" = yes; then
10877 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10879 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10882 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10886 sys_lib_dlsearch_path_spec='/usr/lib'
10890 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10891 version_type=linux # correct to gnu/linux during the next big refactor
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath=no
10897 hardcode_into_libs=yes
10901 version_type=linux # correct to gnu/linux during the next big refactor
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 soname_spec='${libname}${release}${shared_ext}$major'
10904 shlibpath_var=LD_LIBRARY_PATH
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10912 $as_echo "$dynamic_linker" >&6; }
10913 test "$dynamic_linker" = no && can_build_shared=no
10915 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10916 if test "$GCC" = yes; then
10917 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10920 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10921 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10923 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10924 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11019 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11021 if test -n "$hardcode_libdir_flag_spec" ||
11022 test -n "$runpath_var" ||
11023 test "X$hardcode_automatic" = "Xyes" ; then
11025 # We can hardcode non-existent directories.
11026 if test "$hardcode_direct" != no &&
11027 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11028 # have to relink, otherwise we might link with an installed library
11029 # when we should be linking with a yet-to-be-installed one
11030 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11031 test "$hardcode_minus_L" != no; then
11032 # Linking always hardcodes the temporary library directory.
11033 hardcode_action=relink
11035 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11036 hardcode_action=immediate
11039 # We cannot hardcode anything, or else we can only hardcode existing
11041 hardcode_action=unsupported
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11044 $as_echo "$hardcode_action" >&6; }
11046 if test "$hardcode_action" = relink ||
11047 test "$inherit_rpath" = yes; then
11048 # Fast installation is not supported
11049 enable_fast_install=no
11050 elif test "$shlibpath_overrides_runpath" = yes ||
11051 test "$enable_shared" = no; then
11052 # Fast installation is not necessary
11053 enable_fast_install=needless
11061 if test "x$enable_dlopen" != xyes; then
11062 enable_dlopen=unknown
11063 enable_dlopen_self=unknown
11064 enable_dlopen_self_static=unknown
11071 lt_cv_dlopen="load_add_on"
11073 lt_cv_dlopen_self=yes
11076 mingw* | pw32* | cegcc*)
11077 lt_cv_dlopen="LoadLibrary"
11082 lt_cv_dlopen="dlopen"
11087 # if libdl is installed we need to link against it
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11089 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11090 if ${ac_cv_lib_dl_dlopen+:} false; then :
11091 $as_echo_n "(cached) " >&6
11093 ac_check_lib_save_LIBS=$LIBS
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11098 /* Override any GCC internal prototype to avoid an error.
11099 Use char because int might match the return type of a GCC
11100 builtin and then its argument prototype would still apply. */
11113 if ac_fn_c_try_link "$LINENO"; then :
11114 ac_cv_lib_dl_dlopen=yes
11116 ac_cv_lib_dl_dlopen=no
11118 rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11123 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11124 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11125 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11128 lt_cv_dlopen="dyld"
11130 lt_cv_dlopen_self=yes
11137 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11138 if test "x$ac_cv_func_shl_load" = xyes; then :
11139 lt_cv_dlopen="shl_load"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11142 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11143 if ${ac_cv_lib_dld_shl_load+:} false; then :
11144 $as_echo_n "(cached) " >&6
11146 ac_check_lib_save_LIBS=$LIBS
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11161 return shl_load ();
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 ac_cv_lib_dld_shl_load=yes
11169 ac_cv_lib_dld_shl_load=no
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11176 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11177 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11178 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11180 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11181 if test "x$ac_cv_func_dlopen" = xyes; then :
11182 lt_cv_dlopen="dlopen"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11185 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11186 if ${ac_cv_lib_dl_dlopen+:} false; then :
11187 $as_echo_n "(cached) " >&6
11189 ac_check_lib_save_LIBS=$LIBS
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_dl_dlopen=yes
11212 ac_cv_lib_dl_dlopen=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11219 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11220 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11221 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11224 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11225 if ${ac_cv_lib_svld_dlopen+:} false; then :
11226 $as_echo_n "(cached) " >&6
11228 ac_check_lib_save_LIBS=$LIBS
11229 LIBS="-lsvld $LIBS"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 ac_cv_lib_svld_dlopen=yes
11251 ac_cv_lib_svld_dlopen=no
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11258 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11259 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11260 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11263 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11264 if ${ac_cv_lib_dld_dld_link+:} false; then :
11265 $as_echo_n "(cached) " >&6
11267 ac_check_lib_save_LIBS=$LIBS
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11282 return dld_link ();
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_dld_dld_link=yes
11290 ac_cv_lib_dld_dld_link=no
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11297 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11298 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11299 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11320 if test "x$lt_cv_dlopen" != xno; then
11326 case $lt_cv_dlopen in
11328 save_CPPFLAGS="$CPPFLAGS"
11329 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11331 save_LDFLAGS="$LDFLAGS"
11332 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11335 LIBS="$lt_cv_dlopen_libs $LIBS"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11338 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11339 if ${lt_cv_dlopen_self+:} false; then :
11340 $as_echo_n "(cached) " >&6
11342 if test "$cross_compiling" = yes; then :
11343 lt_cv_dlopen_self=cross
11345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11346 lt_status=$lt_dlunknown
11347 cat > conftest.$ac_ext <<_LT_EOF
11348 #line $LINENO "configure"
11349 #include "confdefs.h"
11358 # define LT_DLGLOBAL RTLD_GLOBAL
11361 # define LT_DLGLOBAL DL_GLOBAL
11363 # define LT_DLGLOBAL 0
11367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11368 find out it does not work in some platform. */
11369 #ifndef LT_DLLAZY_OR_NOW
11371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11374 # define LT_DLLAZY_OR_NOW DL_LAZY
11377 # define LT_DLLAZY_OR_NOW RTLD_NOW
11380 # define LT_DLLAZY_OR_NOW DL_NOW
11382 # define LT_DLLAZY_OR_NOW 0
11389 /* When -fvisbility=hidden is used, assume the code has been annotated
11390 correspondingly for the symbols needed. */
11391 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11392 int fnord () __attribute__((visibility("default")));
11395 int fnord () { return 42; }
11398 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11399 int status = $lt_dlunknown;
11403 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11406 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11407 else puts (dlerror ());
11409 /* dlclose (self); */
11417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11418 (eval $ac_link) 2>&5
11420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11421 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11422 (./conftest; exit; ) >&5 2>/dev/null
11424 case x$lt_status in
11425 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11426 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11427 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11430 # compilation failed
11431 lt_cv_dlopen_self=no
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11439 $as_echo "$lt_cv_dlopen_self" >&6; }
11441 if test "x$lt_cv_dlopen_self" = xyes; then
11442 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11444 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11445 if ${lt_cv_dlopen_self_static+:} false; then :
11446 $as_echo_n "(cached) " >&6
11448 if test "$cross_compiling" = yes; then :
11449 lt_cv_dlopen_self_static=cross
11451 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11452 lt_status=$lt_dlunknown
11453 cat > conftest.$ac_ext <<_LT_EOF
11454 #line $LINENO "configure"
11455 #include "confdefs.h"
11464 # define LT_DLGLOBAL RTLD_GLOBAL
11467 # define LT_DLGLOBAL DL_GLOBAL
11469 # define LT_DLGLOBAL 0
11473 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11474 find out it does not work in some platform. */
11475 #ifndef LT_DLLAZY_OR_NOW
11477 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11480 # define LT_DLLAZY_OR_NOW DL_LAZY
11483 # define LT_DLLAZY_OR_NOW RTLD_NOW
11486 # define LT_DLLAZY_OR_NOW DL_NOW
11488 # define LT_DLLAZY_OR_NOW 0
11495 /* When -fvisbility=hidden is used, assume the code has been annotated
11496 correspondingly for the symbols needed. */
11497 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11498 int fnord () __attribute__((visibility("default")));
11501 int fnord () { return 42; }
11504 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11505 int status = $lt_dlunknown;
11509 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11512 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11513 else puts (dlerror ());
11515 /* dlclose (self); */
11523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11524 (eval $ac_link) 2>&5
11526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11527 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11528 (./conftest; exit; ) >&5 2>/dev/null
11530 case x$lt_status in
11531 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11532 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11533 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11536 # compilation failed
11537 lt_cv_dlopen_self_static=no
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11545 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11548 CPPFLAGS="$save_CPPFLAGS"
11549 LDFLAGS="$save_LDFLAGS"
11554 case $lt_cv_dlopen_self in
11555 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11556 *) enable_dlopen_self=unknown ;;
11559 case $lt_cv_dlopen_self_static in
11560 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11561 *) enable_dlopen_self_static=unknown ;;
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11584 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11585 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11586 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11587 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11589 $as_echo "yes" >&6; }
11591 # FIXME - insert some real tests, host_os isn't really good enough
11594 if test -n "$STRIP" ; then
11595 striplib="$STRIP -x"
11596 old_striplib="$STRIP -S"
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11598 $as_echo "yes" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11601 $as_echo "no" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11606 $as_echo "no" >&6; }
11622 # Report which library types will actually be built
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11624 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11626 $as_echo "$can_build_shared" >&6; }
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11629 $as_echo_n "checking whether to build shared libraries... " >&6; }
11630 test "$can_build_shared" = "no" && enable_shared=no
11632 # On AIX, shared libraries and static libraries use the same namespace, and
11633 # are all built from PIC.
11636 test "$enable_shared" = yes && enable_static=no
11637 if test -n "$RANLIB"; then
11638 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11639 postinstall_cmds='$RANLIB $lib'
11644 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11645 test "$enable_shared" = yes && enable_static=no
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11650 $as_echo "$enable_shared" >&6; }
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11653 $as_echo_n "checking whether to build static libraries... " >&6; }
11654 # Make sure either enable_shared or enable_static is yes.
11655 test "$enable_shared" = yes || enable_static=yes
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11657 $as_echo "$enable_static" >&6; }
11664 ac_cpp='$CPP $CPPFLAGS'
11665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11685 ac_config_commands="$ac_config_commands libtool"
11690 # Only expand once:
11695 # Checks for libraries.
11703 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11704 if test -n "$ac_tool_prefix"; then
11705 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11706 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11708 $as_echo_n "checking for $ac_word... " >&6; }
11709 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11710 $as_echo_n "(cached) " >&6
11712 case $PKG_CONFIG in
11714 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11718 for as_dir in $PATH
11721 test -z "$as_dir" && as_dir=.
11722 for ac_exec_ext in '' $ac_executable_extensions; do
11723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11724 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11735 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11736 if test -n "$PKG_CONFIG"; then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11738 $as_echo "$PKG_CONFIG" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11746 if test -z "$ac_cv_path_PKG_CONFIG"; then
11747 ac_pt_PKG_CONFIG=$PKG_CONFIG
11748 # Extract the first word of "pkg-config", so it can be a program name with args.
11749 set dummy pkg-config; ac_word=$2
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11751 $as_echo_n "checking for $ac_word... " >&6; }
11752 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11753 $as_echo_n "(cached) " >&6
11755 case $ac_pt_PKG_CONFIG in
11757 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11761 for as_dir in $PATH
11764 test -z "$as_dir" && as_dir=.
11765 for ac_exec_ext in '' $ac_executable_extensions; do
11766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11767 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11778 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11779 if test -n "$ac_pt_PKG_CONFIG"; then
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11781 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11784 $as_echo "no" >&6; }
11787 if test "x$ac_pt_PKG_CONFIG" = x; then
11790 case $cross_compiling:$ac_tool_warned in
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11794 ac_tool_warned=yes ;;
11796 PKG_CONFIG=$ac_pt_PKG_CONFIG
11799 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11803 if test -n "$PKG_CONFIG"; then
11804 _pkg_min_version=0.16
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11806 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11807 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11809 $as_echo "yes" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11812 $as_echo "no" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11819 $as_echo_n "checking for GLIB... " >&6; }
11821 if test -n "$GLIB_CFLAGS"; then
11822 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11823 elif test -n "$PKG_CONFIG"; then
11824 if test -n "$PKG_CONFIG" && \
11825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11826 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11829 test $ac_status = 0; }; then
11830 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11831 test "x$?" != "x0" && pkg_failed=yes
11838 if test -n "$GLIB_LIBS"; then
11839 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11840 elif test -n "$PKG_CONFIG"; then
11841 if test -n "$PKG_CONFIG" && \
11842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11843 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11846 test $ac_status = 0; }; then
11847 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
11848 test "x$?" != "x0" && pkg_failed=yes
11858 if test $pkg_failed = yes; then
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11863 _pkg_short_errors_supported=yes
11865 _pkg_short_errors_supported=no
11867 if test $_pkg_short_errors_supported = yes; then
11868 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11870 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11872 # Put the nasty error message in config.log where it belongs
11873 echo "$GLIB_PKG_ERRORS" >&5
11875 as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met:
11879 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11880 installed software in a non-standard prefix.
11882 Alternatively, you may set the environment variables GLIB_CFLAGS
11883 and GLIB_LIBS to avoid the need to call pkg-config.
11884 See the pkg-config man page for more details." "$LINENO" 5
11885 elif test $pkg_failed = untried; then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11887 $as_echo "no" >&6; }
11888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11890 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11891 is in your PATH or set the PKG_CONFIG environment variable to the full
11892 path to pkg-config.
11894 Alternatively, you may set the environment variables GLIB_CFLAGS
11895 and GLIB_LIBS to avoid the need to call pkg-config.
11896 See the pkg-config man page for more details.
11898 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11899 See \`config.log' for more details" "$LINENO" 5; }
11901 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11902 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11904 $as_echo "yes" >&6; }
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
11910 $as_echo_n "checking for GIO... " >&6; }
11912 if test -n "$GIO_CFLAGS"; then
11913 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
11914 elif test -n "$PKG_CONFIG"; then
11915 if test -n "$PKG_CONFIG" && \
11916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
11917 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11920 test $ac_status = 0; }; then
11921 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
11922 test "x$?" != "x0" && pkg_failed=yes
11929 if test -n "$GIO_LIBS"; then
11930 pkg_cv_GIO_LIBS="$GIO_LIBS"
11931 elif test -n "$PKG_CONFIG"; then
11932 if test -n "$PKG_CONFIG" && \
11933 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
11934 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
11936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11937 test $ac_status = 0; }; then
11938 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
11939 test "x$?" != "x0" && pkg_failed=yes
11949 if test $pkg_failed = yes; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11951 $as_echo "no" >&6; }
11953 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11954 _pkg_short_errors_supported=yes
11956 _pkg_short_errors_supported=no
11958 if test $_pkg_short_errors_supported = yes; then
11959 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
11961 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
11963 # Put the nasty error message in config.log where it belongs
11964 echo "$GIO_PKG_ERRORS" >&5
11966 as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
11970 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11971 installed software in a non-standard prefix.
11973 Alternatively, you may set the environment variables GIO_CFLAGS
11974 and GIO_LIBS to avoid the need to call pkg-config.
11975 See the pkg-config man page for more details." "$LINENO" 5
11976 elif test $pkg_failed = untried; then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11981 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11982 is in your PATH or set the PKG_CONFIG environment variable to the full
11983 path to pkg-config.
11985 Alternatively, you may set the environment variables GIO_CFLAGS
11986 and GIO_LIBS to avoid the need to call pkg-config.
11987 See the pkg-config man page for more details.
11989 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11990 See \`config.log' for more details" "$LINENO" 5; }
11992 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
11993 GIO_LIBS=$pkg_cv_GIO_LIBS
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11995 $as_echo "yes" >&6; }
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
12001 $as_echo_n "checking for GMODULE... " >&6; }
12003 if test -n "$GMODULE_CFLAGS"; then
12004 pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
12005 elif test -n "$PKG_CONFIG"; then
12006 if test -n "$PKG_CONFIG" && \
12007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.28\""; } >&5
12008 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.28") 2>&5
12010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12011 test $ac_status = 0; }; then
12012 pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= 2.28" 2>/dev/null`
12013 test "x$?" != "x0" && pkg_failed=yes
12020 if test -n "$GMODULE_LIBS"; then
12021 pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12022 elif test -n "$PKG_CONFIG"; then
12023 if test -n "$PKG_CONFIG" && \
12024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= 2.28\""; } >&5
12025 ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= 2.28") 2>&5
12027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12028 test $ac_status = 0; }; then
12029 pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= 2.28" 2>/dev/null`
12030 test "x$?" != "x0" && pkg_failed=yes
12040 if test $pkg_failed = yes; then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12042 $as_echo "no" >&6; }
12044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12045 _pkg_short_errors_supported=yes
12047 _pkg_short_errors_supported=no
12049 if test $_pkg_short_errors_supported = yes; then
12050 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= 2.28" 2>&1`
12052 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= 2.28" 2>&1`
12054 # Put the nasty error message in config.log where it belongs
12055 echo "$GMODULE_PKG_ERRORS" >&5
12057 as_fn_error $? "Package requirements (gmodule-2.0 >= 2.28) were not met:
12059 $GMODULE_PKG_ERRORS
12061 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12062 installed software in a non-standard prefix.
12064 Alternatively, you may set the environment variables GMODULE_CFLAGS
12065 and GMODULE_LIBS to avoid the need to call pkg-config.
12066 See the pkg-config man page for more details." "$LINENO" 5
12067 elif test $pkg_failed = untried; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12069 $as_echo "no" >&6; }
12070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12072 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12073 is in your PATH or set the PKG_CONFIG environment variable to the full
12074 path to pkg-config.
12076 Alternatively, you may set the environment variables GMODULE_CFLAGS
12077 and GMODULE_LIBS to avoid the need to call pkg-config.
12078 See the pkg-config man page for more details.
12080 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12081 See \`config.log' for more details" "$LINENO" 5; }
12083 GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12084 GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12086 $as_echo "yes" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
12092 $as_echo_n "checking for GUPNP... " >&6; }
12094 if test -n "$GUPNP_CFLAGS"; then
12095 pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
12096 elif test -n "$PKG_CONFIG"; then
12097 if test -n "$PKG_CONFIG" && \
12098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.5\""; } >&5
12099 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.5") 2>&5
12101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12102 test $ac_status = 0; }; then
12103 pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.20.5" 2>/dev/null`
12104 test "x$?" != "x0" && pkg_failed=yes
12111 if test -n "$GUPNP_LIBS"; then
12112 pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
12113 elif test -n "$PKG_CONFIG"; then
12114 if test -n "$PKG_CONFIG" && \
12115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.5\""; } >&5
12116 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.5") 2>&5
12118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12119 test $ac_status = 0; }; then
12120 pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.20.5" 2>/dev/null`
12121 test "x$?" != "x0" && pkg_failed=yes
12131 if test $pkg_failed = yes; then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12133 $as_echo "no" >&6; }
12135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12136 _pkg_short_errors_supported=yes
12138 _pkg_short_errors_supported=no
12140 if test $_pkg_short_errors_supported = yes; then
12141 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.20.5" 2>&1`
12143 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.20.5" 2>&1`
12145 # Put the nasty error message in config.log where it belongs
12146 echo "$GUPNP_PKG_ERRORS" >&5
12148 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.20.5) were not met:
12152 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12153 installed software in a non-standard prefix.
12155 Alternatively, you may set the environment variables GUPNP_CFLAGS
12156 and GUPNP_LIBS to avoid the need to call pkg-config.
12157 See the pkg-config man page for more details." "$LINENO" 5
12158 elif test $pkg_failed = untried; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12163 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12164 is in your PATH or set the PKG_CONFIG environment variable to the full
12165 path to pkg-config.
12167 Alternatively, you may set the environment variables GUPNP_CFLAGS
12168 and GUPNP_LIBS to avoid the need to call pkg-config.
12169 See the pkg-config man page for more details.
12171 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12172 See \`config.log' for more details" "$LINENO" 5; }
12174 GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
12175 GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12177 $as_echo "yes" >&6; }
12181 # Checks for header files.
12182 for ac_header in stdlib.h string.h syslog.h
12184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12185 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12186 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12187 cat >>confdefs.h <<_ACEOF
12188 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12196 # Checks for typedefs, structures, and compiler characteristics.
12197 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12198 case $ac_cv_c_uint8_t in #(
12202 $as_echo "#define _UINT8_T 1" >>confdefs.h
12205 cat >>confdefs.h <<_ACEOF
12206 #define uint8_t $ac_cv_c_uint8_t
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12212 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12213 if ${ac_cv_header_stdbool_h+:} false; then :
12214 $as_echo_n "(cached) " >&6
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12219 #include <stdbool.h>
12221 "error: bool is not defined"
12224 "error: false is not defined"
12227 "error: false is not 0"
12230 "error: true is not defined"
12233 "error: true is not 1"
12235 #ifndef __bool_true_false_are_defined
12236 "error: __bool_true_false_are_defined is not defined"
12239 struct s { _Bool s: 1; _Bool t; } s;
12241 char a[true == 1 ? 1 : -1];
12242 char b[false == 0 ? 1 : -1];
12243 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12244 char d[(bool) 0.5 == true ? 1 : -1];
12245 /* See body of main program for 'e'. */
12246 char f[(_Bool) 0.0 == false ? 1 : -1];
12248 char h[sizeof (_Bool)];
12249 char i[sizeof s.t];
12250 enum { j = false, k = true, l = false * true, m = true * 256 };
12251 /* The following fails for
12252 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12254 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12255 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12256 /* Catch a bug in an HP-UX C compiler. See
12257 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12258 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12270 /* Refer to every declared value, to avoid compiler optimizations. */
12271 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12272 + !m + !n + !o + !p + !q + !pq);
12278 if ac_fn_c_try_compile "$LINENO"; then :
12279 ac_cv_header_stdbool_h=yes
12281 ac_cv_header_stdbool_h=no
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12286 $as_echo "$ac_cv_header_stdbool_h" >&6; }
12287 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12288 if test "x$ac_cv_type__Bool" = xyes; then :
12290 cat >>confdefs.h <<_ACEOF
12291 #define HAVE__BOOL 1
12298 if test $ac_cv_header_stdbool_h = yes; then
12300 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
12304 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12305 if test "x$ac_cv_type_size_t" = xyes; then :
12309 cat >>confdefs.h <<_ACEOF
12310 #define size_t unsigned int
12316 # Checks for library functions.
12317 for ac_header in stdlib.h
12319 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12320 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12321 cat >>confdefs.h <<_ACEOF
12322 #define HAVE_STDLIB_H 1
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12330 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12331 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12332 $as_echo_n "(cached) " >&6
12334 if test "$cross_compiling" = yes; then :
12335 ac_cv_func_malloc_0_nonnull=no
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12339 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12340 # include <stdlib.h>
12348 return ! malloc (0);
12353 if ac_fn_c_try_run "$LINENO"; then :
12354 ac_cv_func_malloc_0_nonnull=yes
12356 ac_cv_func_malloc_0_nonnull=no
12358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12359 conftest.$ac_objext conftest.beam conftest.$ac_ext
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12364 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12365 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12367 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12370 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12372 case " $LIBOBJS " in
12373 *" malloc.$ac_objext "* ) ;;
12374 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12379 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12384 for ac_header in stdlib.h
12386 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12387 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12388 cat >>confdefs.h <<_ACEOF
12389 #define HAVE_STDLIB_H 1
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12397 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12398 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
12399 $as_echo_n "(cached) " >&6
12401 if test "$cross_compiling" = yes; then :
12402 ac_cv_func_realloc_0_nonnull=no
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12406 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12407 # include <stdlib.h>
12415 return ! realloc (0, 0);
12420 if ac_fn_c_try_run "$LINENO"; then :
12421 ac_cv_func_realloc_0_nonnull=yes
12423 ac_cv_func_realloc_0_nonnull=no
12425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12426 conftest.$ac_objext conftest.beam conftest.$ac_ext
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12431 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12432 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12434 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12437 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12439 case " $LIBOBJS " in
12440 *" realloc.$ac_objext "* ) ;;
12441 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12446 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12451 for ac_func in memset strchr strrchr strstr
12453 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12454 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12456 cat >>confdefs.h <<_ACEOF
12457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12464 # Define Log Level values
12476 cat >>confdefs.h <<_ACEOF
12477 #define DLEYNA_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
12481 cat >>confdefs.h <<_ACEOF
12482 #define DLEYNA_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
12486 cat >>confdefs.h <<_ACEOF
12487 #define DLEYNA_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
12491 cat >>confdefs.h <<_ACEOF
12492 #define DLEYNA_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
12496 cat >>confdefs.h <<_ACEOF
12497 #define DLEYNA_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
12501 cat >>confdefs.h <<_ACEOF
12502 #define DLEYNA_LOG_LEVEL_INFO ${LOG_LEVEL_5}
12506 cat >>confdefs.h <<_ACEOF
12507 #define DLEYNA_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
12511 cat >>confdefs.h <<_ACEOF
12512 #define DLEYNA_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
12516 cat >>confdefs.h <<_ACEOF
12517 #define DLEYNA_LOG_LEVEL_ALL ${LOG_LEVEL_8}
12522 # Check whether --enable-debug was given.
12523 if test "${enable_debug+set}" = set; then :
12524 enableval=$enable_debug;
12530 case "${enable_debug}" in #(
12532 CFLAGS="$CFLAGS -g";
12534 cat >>confdefs.h <<_ACEOF
12535 #define DLEYNA_DEBUG_ENABLED 1
12542 as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
12546 # Check whether --enable-werror was given.
12547 if test "${enable_werror+set}" = set; then :
12548 enableval=$enable_werror;
12554 case "${enable_werror}" in #(
12556 CFLAGS="$CFLAGS -Werror" ;; #(
12560 as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
12564 # Check whether --enable-optimization was given.
12565 if test "${enable_optimization+set}" = set; then :
12566 enableval=$enable_optimization;
12568 enable_optimization=yes
12572 case "${enable_optimization}" in #(
12574 disable_optimization=no ;; #(
12576 CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
12578 as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
12583 cat >>confdefs.h <<_ACEOF
12584 #define DLEYNA_NEVER_QUIT FALSE
12590 cat >>confdefs.h <<_ACEOF
12591 #define DLEYNA_CONNECTOR_NAME "dbus"
12597 # Check whether --with-log-level was given.
12598 if test "${with_log_level+set}" = set; then :
12599 withval=$with_log_level;
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
12607 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
12616 log_array=(0 0 0 0 0 0 0 0 0)
12618 for log_level in ${with_log_level}
12622 case $log_level in #(
12624 if test ${log_array[${log_level}]} -ne 0; then :
12626 as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
12628 elif test "x${log_single}" = xyes; then :
12630 as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
12635 if test ${log_level_count} -ne 0; then :
12637 as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
12643 as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
12647 log_name=LOG_LEVEL_${log_level}
12648 eval log_value=\$${log_name}
12649 let "LOG_LEVEL |= ${log_value}"
12654 let log_level_count++
12655 let log_array[${log_level}]++
12661 cat >>confdefs.h <<_ACEOF
12662 #define DLEYNA_LOG_LEVEL ${LOG_LEVEL}
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12667 $as_echo "ok" >&6; }
12672 cat >>confdefs.h <<_ACEOF
12673 #define DLEYNA_LOG_TYPE 0
12677 DLEYNA_CONNECTOR_LIB_PATTERN=libdleyna-connector-
12680 $as_echo "#define DLEYNA_CONNECTOR_LIB_PATTERN \"libdleyna-connector-\"" >>confdefs.h
12687 ac_config_files="$ac_config_files Makefile dleyna-core-1.0.pc"
12690 cat >confcache <<\_ACEOF
12691 # This file is a shell script that caches the results of configure
12692 # tests run on this system so they can be shared between configure
12693 # scripts and configure runs, see configure's option --config-cache.
12694 # It is not useful on other systems. If it contains results you don't
12695 # want to keep, you may remove or edit it.
12697 # config.status only pays attention to the cache file if you give it
12698 # the --recheck option to rerun configure.
12700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12702 # following values.
12706 # The following way of writing the cache mishandles newlines in values,
12707 # but we know of no workaround that is simple, portable, and efficient.
12708 # So, we kill variables containing newlines.
12709 # Ultrix sh set writes to stderr and can't be redirected directly,
12710 # and sets the high bit in the cache file unless we assign to the vars.
12712 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12713 eval ac_val=\$$ac_var
12717 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12718 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12721 _ | IFS | as_nl) ;; #(
12722 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12723 *) { eval $ac_var=; unset $ac_var;} ;;
12729 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12730 *${as_nl}ac_space=\ *)
12731 # `set' does not quote correctly, so add quotes: double-quote
12732 # substitution turns \\\\ into \\, and sed turns \\ into \.
12735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12738 # `set' quotes correctly as required by POSIX, so do not add quotes.
12739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12748 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12750 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12752 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12753 if test -w "$cache_file"; then
12754 if test "x$cache_file" != "x/dev/null"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12756 $as_echo "$as_me: updating cache $cache_file" >&6;}
12757 if test ! -f "$cache_file" || test -h "$cache_file"; then
12758 cat confcache >"$cache_file"
12760 case $cache_file in #(
12762 mv -f confcache "$cache_file"$$ &&
12763 mv -f "$cache_file"$$ "$cache_file" ;; #(
12765 mv -f confcache "$cache_file" ;;
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12771 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12776 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12777 # Let make expand exec_prefix.
12778 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12780 DEFS=-DHAVE_CONFIG_H
12785 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12786 # 1. Remove the extension, and $U if already installed.
12787 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12788 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12789 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12790 # will be set to the directory where LIBOBJS objects are built.
12791 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12792 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12794 LIBOBJS=$ac_libobjs
12796 LTLIBOBJS=$ac_ltlibobjs
12799 if test -n "$EXEEXT"; then
12801 am__EXEEXT_FALSE='#'
12803 am__EXEEXT_TRUE='#'
12807 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12808 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12811 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12812 as_fn_error $? "conditional \"AMDEP\" was never defined.
12813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12815 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12816 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12820 : "${CONFIG_STATUS=./config.status}"
12822 ac_clean_files_save=$ac_clean_files
12823 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12825 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12827 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12829 # Generated by $as_me.
12830 # Run this file to recreate the current configuration.
12831 # Compiler output produced by configure, useful for debugging
12832 # configure, is in config.log if it exists.
12835 ac_cs_recheck=false
12838 SHELL=\${CONFIG_SHELL-$SHELL}
12841 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12842 ## -------------------- ##
12843 ## M4sh Initialization. ##
12844 ## -------------------- ##
12846 # Be more Bourne compatible
12847 DUALCASE=1; export DUALCASE # for MKS sh
12848 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12851 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12852 # is contrary to our usage. Disable this feature.
12853 alias -g '${1+"$@"}'='"$@"'
12854 setopt NO_GLOB_SUBST
12856 case `(set -o) 2>/dev/null` in #(
12868 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12869 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12871 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12872 # Prefer a ksh shell builtin over an external printf program on Solaris,
12873 # but without wasting forks for bash or zsh.
12874 if test -z "$BASH_VERSION$ZSH_VERSION" \
12875 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12876 as_echo='print -r --'
12877 as_echo_n='print -rn --'
12878 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12879 as_echo='printf %s\n'
12880 as_echo_n='printf %s'
12882 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12883 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12884 as_echo_n='/usr/ucb/echo -n'
12886 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12887 as_echo_n_body='eval
12891 expr "X$arg" : "X\\(.*\\)$as_nl";
12892 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12894 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12896 export as_echo_n_body
12897 as_echo_n='sh -c $as_echo_n_body as_echo'
12899 export as_echo_body
12900 as_echo='sh -c $as_echo_body as_echo'
12903 # The user is always right.
12904 if test "${PATH_SEPARATOR+set}" != set; then
12906 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12907 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12914 # We need space, tab and new line, in precisely that order. Quoting is
12915 # there to prevent editors from complaining about space-tab.
12916 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12917 # splitting by setting IFS to empty value.)
12920 # Find who we are. Look in the path if we contain no directory separator.
12923 *[\\/]* ) as_myself=$0 ;;
12924 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12925 for as_dir in $PATH
12928 test -z "$as_dir" && as_dir=.
12929 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12935 # We did not find ourselves, most probably we were run as `sh COMMAND'
12936 # in which case we are not to be found in the path.
12937 if test "x$as_myself" = x; then
12940 if test ! -f "$as_myself"; then
12941 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12945 # Unset variables that we do not need and which cause bugs (e.g. in
12946 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12947 # suppresses any "Segmentation fault" message there. '((' could
12948 # trigger a bug in pdksh 5.2.14.
12949 for as_var in BASH_ENV ENV MAIL MAILPATH
12950 do eval test x\${$as_var+set} = xset \
12951 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12964 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12967 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12968 # ----------------------------------------
12969 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12970 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12971 # script with STATUS, using 1 if that was 0.
12974 as_status=$1; test $as_status -eq 0 && as_status=1
12976 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12977 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12979 $as_echo "$as_me: error: $2" >&2
12980 as_fn_exit $as_status
12984 # as_fn_set_status STATUS
12985 # -----------------------
12986 # Set $? to STATUS, without forking.
12987 as_fn_set_status ()
12990 } # as_fn_set_status
12992 # as_fn_exit STATUS
12993 # -----------------
12994 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12998 as_fn_set_status $1
13004 # Portably unset VAR.
13007 { eval $1=; unset $1;}
13009 as_unset=as_fn_unset
13010 # as_fn_append VAR VALUE
13011 # ----------------------
13012 # Append the text in VALUE to the end of the definition contained in VAR. Take
13013 # advantage of any shell optimizations that allow amortized linear growth over
13014 # repeated appends, instead of the typical quadratic growth present in naive
13016 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13017 eval 'as_fn_append ()
13028 # as_fn_arith ARG...
13029 # ------------------
13030 # Perform arithmetic evaluation on the ARGs, and store the result in the
13031 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13032 # must be portable across $(()) and expr.
13033 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13034 eval 'as_fn_arith ()
13041 as_val=`expr "$@" || test $? -eq 1`
13046 if expr a : '\(a\)' >/dev/null 2>&1 &&
13047 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13053 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13054 as_basename=basename
13059 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13065 as_me=`$as_basename -- "$0" ||
13066 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13067 X"$0" : 'X\(//\)$' \| \
13068 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13070 sed '/^.*\/\([^/][^/]*\)\/*$/{
13084 # Avoid depending upon Character Ranges.
13085 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13086 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13087 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13088 as_cr_digits='0123456789'
13089 as_cr_alnum=$as_cr_Letters$as_cr_digits
13091 ECHO_C= ECHO_N= ECHO_T=
13092 case `echo -n x` in #(((((
13094 case `echo 'xy\c'` in
13095 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13097 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13104 rm -f conf$$ conf$$.exe conf$$.file
13105 if test -d conf$$.dir; then
13106 rm -f conf$$.dir/conf$$.file
13109 mkdir conf$$.dir 2>/dev/null
13111 if (echo >conf$$.file) 2>/dev/null; then
13112 if ln -s conf$$.file conf$$ 2>/dev/null; then
13114 # ... but there are two gotchas:
13115 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13116 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13117 # In both cases, we have to default to `cp -pR'.
13118 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13120 elif ln conf$$.file conf$$ 2>/dev/null; then
13128 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13129 rmdir conf$$.dir 2>/dev/null
13134 # Create "$as_dir" as a directory, including parents if necessary.
13139 -*) as_dir=./$as_dir;;
13141 test -d "$as_dir" || eval $as_mkdir_p || {
13145 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13146 *) as_qdir=$as_dir;;
13148 as_dirs="'$as_qdir' $as_dirs"
13149 as_dir=`$as_dirname -- "$as_dir" ||
13150 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13151 X"$as_dir" : 'X\(//\)[^/]' \| \
13152 X"$as_dir" : 'X\(//\)$' \| \
13153 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13154 $as_echo X"$as_dir" |
13155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13159 /^X\(\/\/\)[^/].*/{
13172 test -d "$as_dir" && break
13174 test -z "$as_dirs" || eval "mkdir $as_dirs"
13175 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13179 if mkdir -p . 2>/dev/null; then
13180 as_mkdir_p='mkdir -p "$as_dir"'
13182 test -d ./-p && rmdir ./-p
13187 # as_fn_executable_p FILE
13188 # -----------------------
13189 # Test if FILE is an executable regular file.
13190 as_fn_executable_p ()
13192 test -f "$1" && test -x "$1"
13193 } # as_fn_executable_p
13194 as_test_x='test -x'
13195 as_executable_p=as_fn_executable_p
13197 # Sed expression to map a string onto a valid CPP name.
13198 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13200 # Sed expression to map a string onto a valid variable name.
13201 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13205 ## ----------------------------------- ##
13206 ## Main body of $CONFIG_STATUS script. ##
13207 ## ----------------------------------- ##
13209 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13212 # Save the log message, to keep $0 and so on meaningful, and to
13213 # report actual input values of CONFIG_FILES etc. instead of their
13214 # values after options handling.
13216 This file was extended by dleyna-core $as_me 0.2.2, which was
13217 generated by GNU Autoconf 2.69. Invocation command line was
13219 CONFIG_FILES = $CONFIG_FILES
13220 CONFIG_HEADERS = $CONFIG_HEADERS
13221 CONFIG_LINKS = $CONFIG_LINKS
13222 CONFIG_COMMANDS = $CONFIG_COMMANDS
13225 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13230 case $ac_config_files in *"
13231 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13234 case $ac_config_headers in *"
13235 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13240 # Files that config.status was made for.
13241 config_files="$ac_config_files"
13242 config_headers="$ac_config_headers"
13243 config_commands="$ac_config_commands"
13247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13249 \`$as_me' instantiates files and other configuration actions
13250 from templates according to the current configuration. Unless the files
13251 and actions are specified as TAGs, all are instantiated by default.
13253 Usage: $0 [OPTION]... [TAG]...
13255 -h, --help print this help, then exit
13256 -V, --version print version number and configuration settings, then exit
13257 --config print configuration, then exit
13258 -q, --quiet, --silent
13259 do not print progress messages
13260 -d, --debug don't remove temporary files
13261 --recheck update $as_me by reconfiguring in the same conditions
13262 --file=FILE[:TEMPLATE]
13263 instantiate the configuration file FILE
13264 --header=FILE[:TEMPLATE]
13265 instantiate the configuration header FILE
13267 Configuration files:
13270 Configuration headers:
13273 Configuration commands:
13276 Report bugs to <https://github.com/01org/dleyna-core/issues/new>.
13277 dleyna-core home page: <https://01.org/dleyna/>."
13280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13281 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13283 dleyna-core config.status 0.2.2
13284 configured by $0, generated by GNU Autoconf 2.69,
13285 with options \\"\$ac_cs_config\\"
13287 Copyright (C) 2012 Free Software Foundation, Inc.
13288 This config.status script is free software; the Free Software Foundation
13289 gives unlimited permission to copy, distribute and modify it."
13296 test -n "\$AWK" || AWK=awk
13299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13300 # The default lists apply if the user does not specify any file.
13306 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13307 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13311 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13323 # Handling of the options.
13324 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13326 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13327 $as_echo "$ac_cs_version"; exit ;;
13328 --config | --confi | --conf | --con | --co | --c )
13329 $as_echo "$ac_cs_config"; exit ;;
13330 --debug | --debu | --deb | --de | --d | -d )
13332 --file | --fil | --fi | --f )
13335 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13336 '') as_fn_error $? "missing file argument" ;;
13338 as_fn_append CONFIG_FILES " '$ac_optarg'"
13339 ac_need_defaults=false;;
13340 --header | --heade | --head | --hea )
13343 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13345 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13346 ac_need_defaults=false;;
13348 # Conflict between --help and --header
13349 as_fn_error $? "ambiguous option: \`$1'
13350 Try \`$0 --help' for more information.";;
13351 --help | --hel | -h )
13352 $as_echo "$ac_cs_usage"; exit ;;
13353 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13354 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13357 # This is an error.
13358 -*) as_fn_error $? "unrecognized option: \`$1'
13359 Try \`$0 --help' for more information." ;;
13361 *) as_fn_append ac_config_targets " $1"
13362 ac_need_defaults=false ;;
13368 ac_configure_extra_args=
13370 if $ac_cs_silent; then
13372 ac_configure_extra_args="$ac_configure_extra_args --silent"
13376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13377 if \$ac_cs_recheck; then
13378 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13380 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13381 CONFIG_SHELL='$SHELL'
13382 export CONFIG_SHELL
13387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13391 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13392 ## Running $as_me. ##
13398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13402 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13405 # The HP-UX ksh and POSIX shell print the target directory to stdout
13406 # if CDPATH is set.
13407 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13409 sed_quote_subst='$sed_quote_subst'
13410 double_quote_subst='$double_quote_subst'
13411 delay_variable_subst='$delay_variable_subst'
13412 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13413 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13414 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13415 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13416 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13417 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13418 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13419 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13420 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13421 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13422 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13423 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13424 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13425 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13426 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13427 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13428 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13429 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13430 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13431 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13432 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13433 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13434 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13435 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13436 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13437 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13438 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13439 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13440 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13441 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13442 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13443 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13444 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13445 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13446 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13447 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13448 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13449 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13450 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13451 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13452 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13453 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13454 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13455 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13456 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13457 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13458 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13459 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13460 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13461 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13462 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13463 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13464 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13465 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13466 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13467 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13468 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"`'
13469 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13470 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13471 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13472 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13473 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13474 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13475 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13476 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13477 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13478 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13479 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13480 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13481 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13482 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13483 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13484 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13485 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13486 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13487 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13488 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13489 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13490 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13491 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13492 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13493 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13494 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13495 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13496 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13497 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13498 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13499 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13500 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13501 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13502 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13503 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13504 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13505 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13506 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13507 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13508 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13509 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13510 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13511 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13512 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13513 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13514 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13515 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13516 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13517 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13518 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13519 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13520 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13521 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13522 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13523 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13524 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13525 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13526 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13527 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13528 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13529 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13530 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13531 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13532 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13533 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13534 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13535 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13536 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13537 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13538 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13539 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13540 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13541 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13544 LTCFLAGS='$LTCFLAGS'
13545 compiler='$compiler_DEFAULT'
13547 # A function that is used when there is no print builtin or printf.
13548 func_fallback_echo ()
13550 eval 'cat <<_LTECHO_EOF
13555 # Quote evaled strings.
13570 deplibs_check_method \
13575 sharedlib_from_linklib_cmd \
13578 archiver_list_spec \
13584 lt_cv_sys_global_symbol_pipe \
13585 lt_cv_sys_global_symbol_to_cdecl \
13586 lt_cv_sys_global_symbol_to_c_name_address \
13587 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13588 nm_file_list_spec \
13589 lt_prog_compiler_no_builtin_flag \
13590 lt_prog_compiler_pic \
13591 lt_prog_compiler_wl \
13592 lt_prog_compiler_static \
13593 lt_cv_prog_compiler_c_o \
13602 export_dynamic_flag_spec \
13603 whole_archive_flag_spec \
13604 compiler_needs_object \
13606 allow_undefined_flag \
13607 no_undefined_flag \
13608 hardcode_libdir_flag_spec \
13609 hardcode_libdir_separator \
13613 variables_saved_for_relink \
13615 library_names_spec \
13617 install_override_mode \
13621 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13622 *[\\\\\\\`\\"\\\$]*)
13623 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13626 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13631 # Double-quote double-evaled strings.
13632 for var in reload_cmds \
13633 old_postinstall_cmds \
13634 old_postuninstall_cmds \
13636 extract_expsyms_cmds \
13637 old_archive_from_new_cmds \
13638 old_archive_from_expsyms_cmds \
13640 archive_expsym_cmds \
13642 module_expsym_cmds \
13643 export_symbols_cmds \
13647 postuninstall_cmds \
13649 sys_lib_search_path_spec \
13650 sys_lib_dlsearch_path_spec; do
13651 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13652 *[\\\\\\\`\\"\\\$]*)
13653 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13656 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13661 ac_aux_dir='$ac_aux_dir'
13662 xsi_shell='$xsi_shell'
13663 lt_shell_append='$lt_shell_append'
13665 # See if we are running on zsh, and set the options which allow our
13666 # commands through without removal of \ escapes INIT.
13667 if test -n "\${ZSH_VERSION+set}" ; then
13668 setopt NO_GLOB_SUBST
13674 TIMESTAMP='$TIMESTAMP'
13683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13685 # Handling of arguments.
13686 for ac_config_target in $ac_config_targets
13688 case $ac_config_target in
13689 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13690 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13691 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13692 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13693 "dleyna-core-1.0.pc") CONFIG_FILES="$CONFIG_FILES dleyna-core-1.0.pc" ;;
13695 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13700 # If the user did not use the arguments to specify the items to instantiate,
13701 # then the envvar interface is used. Set only those that are not.
13702 # We use the long form for the default assignment because of an extremely
13703 # bizarre bug on SunOS 4.1.3.
13704 if $ac_need_defaults; then
13705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13706 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13707 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13710 # Have a temporary directory for convenience. Make it in the build tree
13711 # simply because there is no reason against having it here, and in addition,
13712 # creating and moving files from /tmp can sometimes cause problems.
13713 # Hook for its removal unless debugging.
13714 # Note that there is a small window in which the directory will not be cleaned:
13715 # after its creation but before its name has been assigned to `$tmp'.
13719 trap 'exit_status=$?
13720 : "${ac_tmp:=$tmp}"
13721 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13723 trap 'as_fn_exit 1' 1 2 13 15
13725 # Create a (secure) tmp directory for tmp files.
13728 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13732 tmp=./conf$$-$RANDOM
13733 (umask 077 && mkdir "$tmp")
13734 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13737 # Set up the scripts for CONFIG_FILES section.
13738 # No need to generate them if there are no CONFIG_FILES.
13739 # This happens for instance with `./config.status config.h'.
13740 if test -n "$CONFIG_FILES"; then
13743 ac_cr=`echo X | tr X '\015'`
13744 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13745 # But we know of no other shell where ac_cr would be empty at this
13746 # point, so we can use a bashism as a fallback.
13747 if test "x$ac_cr" = x; then
13748 eval ac_cr=\$\'\\r\'
13750 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13751 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13754 ac_cs_awk_cr=$ac_cr
13757 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13762 echo "cat >conf$$subs.awk <<_ACEOF" &&
13763 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13765 } >conf$$subs.sh ||
13766 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13767 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13769 for ac_last_try in false false false false false :; do
13770 . ./conf$$subs.sh ||
13771 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13773 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13774 if test $ac_delim_n = $ac_delim_num; then
13776 elif $ac_last_try; then
13777 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13779 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13782 rm -f conf$$subs.sh
13784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13785 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13789 s/^/S["/; s/!.*/"]=/
13799 s/\(.\{148\}\)..*/\1/
13801 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13806 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13813 s/\(.\{148\}\)..*/\1/
13815 s/["\\]/\\&/g; s/^/"/; s/$/"/
13819 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13824 ' <conf$$subs.awk | sed '
13829 ' >>$CONFIG_STATUS || ac_write_fail=1
13830 rm -f conf$$subs.awk
13831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13833 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13834 for (key in S) S_is_set[key] = 1
13840 nfields = split(line, field, "@")
13842 len = length(field[1])
13843 for (i = 2; i < nfields; i++) {
13845 keylen = length(key)
13846 if (S_is_set[key]) {
13848 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13849 len += length(value) + length(field[++i])
13860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13861 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13862 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13865 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13866 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13869 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13870 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13871 # trailing colons and then remove the whole line if VPATH becomes empty
13872 # (actually we leave an empty line to preserve line numbers).
13873 if test "x$srcdir" = x.; then
13874 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13893 fi # test -n "$CONFIG_FILES"
13895 # Set up the scripts for CONFIG_HEADERS section.
13896 # No need to generate them if there are no CONFIG_HEADERS.
13897 # This happens for instance with `./config.status Makefile'.
13898 if test -n "$CONFIG_HEADERS"; then
13899 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13903 # Transform confdefs.h into an awk script `defines.awk', embedded as
13904 # here-document in config.status, that substitutes the proper values into
13905 # config.h.in to produce config.h.
13907 # Create a delimiter string that does not exist in confdefs.h, to ease
13908 # handling of long lines.
13910 for ac_last_try in false false :; do
13911 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13912 if test -z "$ac_tt"; then
13914 elif $ac_last_try; then
13915 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13917 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13921 # For the awk script, D is an array of macro values keyed by name,
13922 # likewise P contains macro parameters if any. Preserve backslash
13923 # newline sequences.
13925 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13927 s/.\{148\}/&'"$ac_delim"'/g
13930 s/^[ ]*#[ ]*define[ ][ ]*/ /
13937 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13939 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13943 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13944 D["\1"]=" \3\\\\\\n"\\/p
13946 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13951 s/.\{148\}/&'"$ac_delim"'/g
13956 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13959 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13961 ' <confdefs.h | sed '
13962 s/'"$ac_delim"'/"\\\
13963 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13966 for (key in D) D_is_set[key] = 1
13969 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13971 split(line, arg, " ")
13972 if (arg[1] == "#") {
13976 defundef = substr(arg[1], 2)
13979 split(mac1, mac2, "(") #)
13981 prefix = substr(line, 1, index(line, defundef) - 1)
13982 if (D_is_set[macro]) {
13983 # Preserve the white space surrounding the "#".
13984 print prefix "define", macro P[macro] D[macro]
13987 # Replace #undef with comments. This is necessary, for example,
13988 # in the case of _POSIX_SOURCE, which is predefined and required
13989 # on some systems where configure will not decide to define it.
13990 if (defundef == "undef") {
13991 print "/*", prefix defundef, macro, "*/"
13999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14000 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14001 fi # test -n "$CONFIG_HEADERS"
14004 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14009 :[FHLC]) ac_mode=$ac_tag; continue;;
14011 case $ac_mode$ac_tag in
14013 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14014 :[FH]-) ac_tag=-:-;;
14015 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14032 -) ac_f="$ac_tmp/stdin";;
14033 *) # Look for the file first in the build tree, then in the source tree
14034 # (if the path is not absolute). The absolute path cannot be DOS-style,
14035 # because $ac_f cannot contain `:'.
14039 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14041 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14043 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14044 as_fn_append ac_file_inputs " '$ac_f'"
14047 # Let's still pretend it is `configure' which instantiates (i.e., don't
14048 # use $as_me), people would be surprised to read:
14049 # /* config.h. Generated by config.status. */
14050 configure_input='Generated from '`
14051 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14053 if test x"$ac_file" != x-; then
14054 configure_input="$ac_file. $configure_input"
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14056 $as_echo "$as_me: creating $ac_file" >&6;}
14058 # Neutralize special characters interpreted by sed in replacement strings.
14059 case $configure_input in #(
14060 *\&* | *\|* | *\\* )
14061 ac_sed_conf_input=`$as_echo "$configure_input" |
14062 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14063 *) ac_sed_conf_input=$configure_input;;
14067 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14073 ac_dir=`$as_dirname -- "$ac_file" ||
14074 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14075 X"$ac_file" : 'X\(//\)[^/]' \| \
14076 X"$ac_file" : 'X\(//\)$' \| \
14077 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14078 $as_echo X"$ac_file" |
14079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14083 /^X\(\/\/\)[^/].*/{
14096 as_dir="$ac_dir"; as_fn_mkdir_p
14100 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14102 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14103 # A ".." for each directory in $ac_dir_suffix.
14104 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14105 case $ac_top_builddir_sub in
14106 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14107 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14110 ac_abs_top_builddir=$ac_pwd
14111 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14112 # for backward compatibility:
14113 ac_top_builddir=$ac_top_build_prefix
14116 .) # We are building in place.
14118 ac_top_srcdir=$ac_top_builddir_sub
14119 ac_abs_top_srcdir=$ac_pwd ;;
14120 [\\/]* | ?:[\\/]* ) # Absolute name.
14121 ac_srcdir=$srcdir$ac_dir_suffix;
14122 ac_top_srcdir=$srcdir
14123 ac_abs_top_srcdir=$srcdir ;;
14124 *) # Relative name.
14125 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14126 ac_top_srcdir=$ac_top_build_prefix$srcdir
14127 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14129 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14139 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14140 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14142 ac_MKDIR_P=$MKDIR_P
14144 [\\/$]* | ?:[\\/]* ) ;;
14145 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14150 # If the template does not know about datarootdir, expand it.
14151 # FIXME: This hack should be removed a few years after 2.60.
14152 ac_datarootdir_hack=; ac_datarootdir_seen=
14163 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14164 *datarootdir*) ac_datarootdir_seen=yes;;
14165 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14167 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14170 ac_datarootdir_hack='
14171 s&@datadir@&$datadir&g
14172 s&@docdir@&$docdir&g
14173 s&@infodir@&$infodir&g
14174 s&@localedir@&$localedir&g
14175 s&@mandir@&$mandir&g
14176 s&\\\${datarootdir}&$datarootdir&g' ;;
14180 # Neutralize VPATH when `$srcdir' = `.'.
14181 # Shell code in configure.ac might set extrasub.
14182 # FIXME: do we really want to maintain this feature?
14183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14184 ac_sed_extra="$ac_vpsub
14187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14189 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14190 s|@configure_input@|$ac_sed_conf_input|;t t
14191 s&@top_builddir@&$ac_top_builddir_sub&;t t
14192 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14193 s&@srcdir@&$ac_srcdir&;t t
14194 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14195 s&@top_srcdir@&$ac_top_srcdir&;t t
14196 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14197 s&@builddir@&$ac_builddir&;t t
14198 s&@abs_builddir@&$ac_abs_builddir&;t t
14199 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14200 s&@INSTALL@&$ac_INSTALL&;t t
14201 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14202 $ac_datarootdir_hack
14204 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14205 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14208 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14210 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14212 which seems to be undefined. Please make sure it is defined" >&5
14213 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14214 which seems to be undefined. Please make sure it is defined" >&2;}
14216 rm -f "$ac_tmp/stdin"
14218 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14219 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14221 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14227 if test x"$ac_file" != x-; then
14229 $as_echo "/* $configure_input */" \
14230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14231 } >"$ac_tmp/config.h" \
14232 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14233 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14235 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14238 mv "$ac_tmp/config.h" "$ac_file" \
14239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14242 $as_echo "/* $configure_input */" \
14243 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14244 || as_fn_error $? "could not create -" "$LINENO" 5
14246 # Compute "$ac_file"'s index in $config_headers.
14249 for _am_header in $config_headers :; do
14250 case $_am_header in
14251 $_am_arg | $_am_arg:* )
14254 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14257 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14258 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14259 X"$_am_arg" : 'X\(//\)[^/]' \| \
14260 X"$_am_arg" : 'X\(//\)$' \| \
14261 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14262 $as_echo X"$_am_arg" |
14263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14267 /^X\(\/\/\)[^/].*/{
14279 s/.*/./; q'`/stamp-h$_am_stamp_count
14282 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14283 $as_echo "$as_me: executing $ac_file commands" >&6;}
14288 case $ac_file$ac_mode in
14289 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14290 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14291 # are listed without --file. Let's play safe and only enable the eval
14292 # if we detect the quoting.
14293 case $CONFIG_FILES in
14294 *\'*) eval set x "$CONFIG_FILES" ;;
14295 *) set x $CONFIG_FILES ;;
14300 # Strip MF so we end up with the name of the file.
14301 mf=`echo "$mf" | sed -e 's/:.*$//'`
14302 # Check whether this is an Automake generated Makefile or not.
14303 # We used to match only the files named `Makefile.in', but
14304 # some people rename them; so instead we look at the file content.
14305 # Grep'ing the first line is not enough: some people post-process
14306 # each Makefile.in and add a new line on top of each file to say so.
14307 # Grep'ing the whole file is not good either: AIX grep has a line
14308 # limit of 2048, but all sed's we know have understand at least 4000.
14309 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14310 dirpart=`$as_dirname -- "$mf" ||
14311 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14312 X"$mf" : 'X\(//\)[^/]' \| \
14313 X"$mf" : 'X\(//\)$' \| \
14314 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14320 /^X\(\/\/\)[^/].*/{
14336 # Extract the definition of DEPDIR, am__include, and am__quote
14337 # from the Makefile without running `make'.
14338 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14339 test -z "$DEPDIR" && continue
14340 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14341 test -z "am__include" && continue
14342 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14343 # When using ansi2knr, U may be empty or an underscore; expand it
14344 U=`sed -n 's/^U = //p' < "$mf"`
14345 # Find all dependency output files, they are included files with
14346 # $(DEPDIR) in their names. We invoke sed twice because it is the
14347 # simplest approach to changing $(DEPDIR) to its actual value in the
14349 for file in `sed -n "
14350 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14351 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14352 # Make sure the directory exists.
14353 test -f "$dirpart/$file" && continue
14354 fdir=`$as_dirname -- "$file" ||
14355 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14356 X"$file" : 'X\(//\)[^/]' \| \
14357 X"$file" : 'X\(//\)$' \| \
14358 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14359 $as_echo X"$file" |
14360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14364 /^X\(\/\/\)[^/].*/{
14377 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14378 # echo "creating $dirpart/$file"
14379 echo '# dummy' > "$dirpart/$file"
14386 # See if we are running on zsh, and set the options which allow our
14387 # commands through without removal of \ escapes.
14388 if test -n "${ZSH_VERSION+set}" ; then
14389 setopt NO_GLOB_SUBST
14392 cfgfile="${ofile}T"
14393 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14396 cat <<_LT_EOF >> "$cfgfile"
14399 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14400 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14401 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14402 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14404 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14405 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14407 # Written by Gordon Matzigkeit, 1996
14409 # This file is part of GNU Libtool.
14411 # GNU Libtool is free software; you can redistribute it and/or
14412 # modify it under the terms of the GNU General Public License as
14413 # published by the Free Software Foundation; either version 2 of
14414 # the License, or (at your option) any later version.
14416 # As a special exception to the GNU General Public License,
14417 # if you distribute this file as part of a program or library that
14418 # is built using GNU Libtool, you may include this file under the
14419 # same distribution terms that you use for the rest of that program.
14421 # GNU Libtool is distributed in the hope that it will be useful,
14422 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14423 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14424 # GNU General Public License for more details.
14426 # You should have received a copy of the GNU General Public License
14427 # along with GNU Libtool; see the file COPYING. If not, a copy
14428 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14429 # obtained by writing to the Free Software Foundation, Inc.,
14430 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14433 # The names of the tagged configurations supported by this script.
14436 # ### BEGIN LIBTOOL CONFIG
14438 # Which release of libtool.m4 was used?
14439 macro_version=$macro_version
14440 macro_revision=$macro_revision
14442 # Whether or not to build static libraries.
14443 build_old_libs=$enable_static
14445 # Whether or not to build shared libraries.
14446 build_libtool_libs=$enable_shared
14448 # What type of objects to build.
14451 # Whether or not to optimize for fast installation.
14452 fast_install=$enable_fast_install
14454 # Shell to use when invoking shell scripts.
14457 # An echo program that protects backslashes.
14460 # The PATH separator for the build system.
14461 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14464 host_alias=$host_alias
14468 # The build system.
14469 build_alias=$build_alias
14473 # A sed program that does not truncate output.
14476 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14477 Xsed="\$SED -e 1s/^X//"
14479 # A grep program that handles long lines.
14485 # A literal string matcher.
14488 # A BSD- or MS-compatible name lister.
14491 # Whether we need soft or hard links.
14494 # What is the maximum length of a command?
14495 max_cmd_len=$max_cmd_len
14497 # Object file suffix (normally "o").
14500 # Executable file suffix (normally "").
14503 # whether the shell understands "unset".
14506 # turn spaces into newlines.
14509 # turn newlines into spaces.
14512 # convert \$build file names to \$host format.
14513 to_host_file_cmd=$lt_cv_to_host_file_cmd
14515 # convert \$build files to toolchain format.
14516 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14518 # An object symbol dumper.
14519 OBJDUMP=$lt_OBJDUMP
14521 # Method to check whether dependent libraries are shared objects.
14522 deplibs_check_method=$lt_deplibs_check_method
14524 # Command to use when deplibs_check_method = "file_magic".
14525 file_magic_cmd=$lt_file_magic_cmd
14527 # How to find potential files when deplibs_check_method = "file_magic".
14528 file_magic_glob=$lt_file_magic_glob
14530 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14531 want_nocaseglob=$lt_want_nocaseglob
14533 # DLL creation program.
14534 DLLTOOL=$lt_DLLTOOL
14536 # Command to associate shared and link libraries.
14537 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14542 # Flags to create an archive.
14543 AR_FLAGS=$lt_AR_FLAGS
14545 # How to feed a file listing to the archiver.
14546 archiver_list_spec=$lt_archiver_list_spec
14548 # A symbol stripping program.
14551 # Commands used to install an old-style archive.
14553 old_postinstall_cmds=$lt_old_postinstall_cmds
14554 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14556 # Whether to use a lock for old archive extraction.
14557 lock_old_archive_extraction=$lock_old_archive_extraction
14562 # LTCC compiler flags.
14563 LTCFLAGS=$lt_CFLAGS
14565 # Take the output of nm and produce a listing of raw symbols and C names.
14566 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14568 # Transform the output of nm in a proper C declaration.
14569 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14571 # Transform the output of nm in a C name address pair.
14572 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14574 # Transform the output of nm in a C name address pair when lib prefix is needed.
14575 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14577 # Specify filename containing input files for \$NM.
14578 nm_file_list_spec=$lt_nm_file_list_spec
14580 # The root where to search for dependent libraries,and in which our libraries should be installed.
14581 lt_sysroot=$lt_sysroot
14583 # The name of the directory that contains temporary libtool files.
14586 # Used to examine libraries when file_magic_cmd begins with "file".
14587 MAGIC_CMD=$MAGIC_CMD
14589 # Must we lock files when doing compilation?
14590 need_locks=$lt_need_locks
14593 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14595 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14596 DSYMUTIL=$lt_DSYMUTIL
14598 # Tool to change global to local symbols on Mac OS X.
14601 # Tool to manipulate fat objects and archives on Mac OS X.
14604 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14607 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14608 OTOOL64=$lt_OTOOL64
14610 # Old archive suffix (normally "a").
14613 # Shared library suffix (normally ".so").
14614 shrext_cmds=$lt_shrext_cmds
14616 # The commands to extract the exported symbol list from a shared archive.
14617 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14619 # Variables whose values should be saved in libtool wrapper scripts and
14620 # restored at link time.
14621 variables_saved_for_relink=$lt_variables_saved_for_relink
14623 # Do we need the "lib" prefix for modules?
14624 need_lib_prefix=$need_lib_prefix
14626 # Do we need a version for libraries?
14627 need_version=$need_version
14629 # Library versioning type.
14630 version_type=$version_type
14632 # Shared library runtime path variable.
14633 runpath_var=$runpath_var
14635 # Shared library path variable.
14636 shlibpath_var=$shlibpath_var
14638 # Is shlibpath searched before the hard-coded library search path?
14639 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14641 # Format of library name prefix.
14642 libname_spec=$lt_libname_spec
14644 # List of archive names. First name is the real one, the rest are links.
14645 # The last name is the one that the linker finds with -lNAME
14646 library_names_spec=$lt_library_names_spec
14648 # The coded name of the library, if different from the real name.
14649 soname_spec=$lt_soname_spec
14651 # Permission mode override for installation of shared libraries.
14652 install_override_mode=$lt_install_override_mode
14654 # Command to use after installation of a shared archive.
14655 postinstall_cmds=$lt_postinstall_cmds
14657 # Command to use after uninstallation of a shared archive.
14658 postuninstall_cmds=$lt_postuninstall_cmds
14660 # Commands used to finish a libtool library installation in a directory.
14661 finish_cmds=$lt_finish_cmds
14663 # As "finish_cmds", except a single script fragment to be evaled but
14665 finish_eval=$lt_finish_eval
14667 # Whether we should hardcode library paths into libraries.
14668 hardcode_into_libs=$hardcode_into_libs
14670 # Compile-time system search path for libraries.
14671 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14673 # Run-time system search path for libraries.
14674 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14676 # Whether dlopen is supported.
14677 dlopen_support=$enable_dlopen
14679 # Whether dlopen of programs is supported.
14680 dlopen_self=$enable_dlopen_self
14682 # Whether dlopen of statically linked programs is supported.
14683 dlopen_self_static=$enable_dlopen_self_static
14685 # Commands to strip libraries.
14686 old_striplib=$lt_old_striplib
14687 striplib=$lt_striplib
14690 # The linker used to build libraries.
14693 # How to create reloadable object files.
14694 reload_flag=$lt_reload_flag
14695 reload_cmds=$lt_reload_cmds
14697 # Commands used to build an old-style archive.
14698 old_archive_cmds=$lt_old_archive_cmds
14700 # A language specific compiler.
14703 # Is the compiler the GNU compiler?
14706 # Compiler flag to turn off builtin functions.
14707 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14709 # Additional compiler flags for building library objects.
14710 pic_flag=$lt_lt_prog_compiler_pic
14712 # How to pass a linker flag through the compiler.
14713 wl=$lt_lt_prog_compiler_wl
14715 # Compiler flag to prevent dynamic linking.
14716 link_static_flag=$lt_lt_prog_compiler_static
14718 # Does compiler simultaneously support -c and -o options?
14719 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14721 # Whether or not to add -lc for building shared libraries.
14722 build_libtool_need_lc=$archive_cmds_need_lc
14724 # Whether or not to disallow shared libs when runtime libs are static.
14725 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14727 # Compiler flag to allow reflexive dlopens.
14728 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14730 # Compiler flag to generate shared objects directly from archives.
14731 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14733 # Whether the compiler copes with passing no objects directly.
14734 compiler_needs_object=$lt_compiler_needs_object
14736 # Create an old-style archive from a shared archive.
14737 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14739 # Create a temporary old-style archive to link instead of a shared archive.
14740 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14742 # Commands used to build a shared archive.
14743 archive_cmds=$lt_archive_cmds
14744 archive_expsym_cmds=$lt_archive_expsym_cmds
14746 # Commands used to build a loadable module if different from building
14747 # a shared archive.
14748 module_cmds=$lt_module_cmds
14749 module_expsym_cmds=$lt_module_expsym_cmds
14751 # Whether we are building with GNU ld or not.
14752 with_gnu_ld=$lt_with_gnu_ld
14754 # Flag that allows shared libraries with undefined symbols to be built.
14755 allow_undefined_flag=$lt_allow_undefined_flag
14757 # Flag that enforces no undefined symbols.
14758 no_undefined_flag=$lt_no_undefined_flag
14760 # Flag to hardcode \$libdir into a binary during linking.
14761 # This must work even if \$libdir does not exist
14762 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14764 # Whether we need a single "-rpath" flag with a separated argument.
14765 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14767 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14768 # DIR into the resulting binary.
14769 hardcode_direct=$hardcode_direct
14771 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14772 # DIR into the resulting binary and the resulting library dependency is
14773 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14774 # library is relocated.
14775 hardcode_direct_absolute=$hardcode_direct_absolute
14777 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14778 # into the resulting binary.
14779 hardcode_minus_L=$hardcode_minus_L
14781 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14782 # into the resulting binary.
14783 hardcode_shlibpath_var=$hardcode_shlibpath_var
14785 # Set to "yes" if building a shared library automatically hardcodes DIR
14786 # into the library and all subsequent libraries and executables linked
14788 hardcode_automatic=$hardcode_automatic
14790 # Set to yes if linker adds runtime paths of dependent libraries
14791 # to runtime path list.
14792 inherit_rpath=$inherit_rpath
14794 # Whether libtool must link a program against all its dependency libraries.
14795 link_all_deplibs=$link_all_deplibs
14797 # Set to "yes" if exported symbols are required.
14798 always_export_symbols=$always_export_symbols
14800 # The commands to list exported symbols.
14801 export_symbols_cmds=$lt_export_symbols_cmds
14803 # Symbols that should not be listed in the preloaded symbols.
14804 exclude_expsyms=$lt_exclude_expsyms
14806 # Symbols that must always be exported.
14807 include_expsyms=$lt_include_expsyms
14809 # Commands necessary for linking programs (against libraries) with templates.
14810 prelink_cmds=$lt_prelink_cmds
14812 # Commands necessary for finishing linking programs.
14813 postlink_cmds=$lt_postlink_cmds
14815 # Specify filename containing input files.
14816 file_list_spec=$lt_file_list_spec
14818 # How to hardcode a shared library path into an executable.
14819 hardcode_action=$hardcode_action
14821 # ### END LIBTOOL CONFIG
14827 cat <<\_LT_EOF >> "$cfgfile"
14828 # AIX sometimes has problems with the GCC collect2 program. For some
14829 # reason, if we set the COLLECT_NAMES environment variable, the problems
14830 # vanish in a puff of smoke.
14831 if test "X${COLLECT_NAMES+set}" != Xset; then
14833 export COLLECT_NAMES
14840 ltmain="$ac_aux_dir/ltmain.sh"
14843 # We use sed instead of cat because bash on DJGPP gets confused if
14844 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14845 # text mode, it properly converts lines to CR/LF. This bash problem
14846 # is reportedly fixed, but why not run on old versions too?
14847 sed '$q' "$ltmain" >> "$cfgfile" \
14848 || (rm -f "$cfgfile"; exit 1)
14850 if test x"$xsi_shell" = xyes; then
14851 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14855 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14856 \ * ) func_dirname_result="${3}" ;;\
14858 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14859 && mv -f "$cfgfile.tmp" "$cfgfile" \
14860 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14861 test 0 -eq $? || _lt_function_replace_fail=:
14864 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14867 \ func_basename_result="${1##*/}"\
14868 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14869 && mv -f "$cfgfile.tmp" "$cfgfile" \
14870 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14871 test 0 -eq $? || _lt_function_replace_fail=:
14874 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14875 func_dirname_and_basename ()\
14878 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14879 \ * ) func_dirname_result="${3}" ;;\
14881 \ func_basename_result="${1##*/}"\
14882 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14883 && mv -f "$cfgfile.tmp" "$cfgfile" \
14884 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14885 test 0 -eq $? || _lt_function_replace_fail=:
14888 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14891 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14892 \ # positional parameters, so assign one to ordinary parameter first.\
14893 \ func_stripname_result=${3}\
14894 \ func_stripname_result=${func_stripname_result#"${1}"}\
14895 \ func_stripname_result=${func_stripname_result%"${2}"}\
14896 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14897 && mv -f "$cfgfile.tmp" "$cfgfile" \
14898 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14899 test 0 -eq $? || _lt_function_replace_fail=:
14902 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14903 func_split_long_opt ()\
14905 \ func_split_long_opt_name=${1%%=*}\
14906 \ func_split_long_opt_arg=${1#*=}\
14907 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14908 && mv -f "$cfgfile.tmp" "$cfgfile" \
14909 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14910 test 0 -eq $? || _lt_function_replace_fail=:
14913 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14914 func_split_short_opt ()\
14916 \ func_split_short_opt_arg=${1#??}\
14917 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14918 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14919 && mv -f "$cfgfile.tmp" "$cfgfile" \
14920 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14921 test 0 -eq $? || _lt_function_replace_fail=:
14924 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14928 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14929 \ *) func_lo2o_result=${1} ;;\
14931 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14932 && mv -f "$cfgfile.tmp" "$cfgfile" \
14933 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14934 test 0 -eq $? || _lt_function_replace_fail=:
14937 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14940 func_xform_result=${1%.*}.lo\
14941 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14942 && mv -f "$cfgfile.tmp" "$cfgfile" \
14943 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14944 test 0 -eq $? || _lt_function_replace_fail=:
14947 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14950 func_arith_result=$(( $* ))\
14951 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14952 && mv -f "$cfgfile.tmp" "$cfgfile" \
14953 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14954 test 0 -eq $? || _lt_function_replace_fail=:
14957 sed -e '/^func_len ()$/,/^} # func_len /c\
14960 func_len_result=${#1}\
14961 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14962 && mv -f "$cfgfile.tmp" "$cfgfile" \
14963 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14964 test 0 -eq $? || _lt_function_replace_fail=:
14968 if test x"$lt_shell_append" = xyes; then
14969 sed -e '/^func_append ()$/,/^} # func_append /c\
14972 eval "${1}+=\\${2}"\
14973 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14974 && mv -f "$cfgfile.tmp" "$cfgfile" \
14975 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14976 test 0 -eq $? || _lt_function_replace_fail=:
14979 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14980 func_append_quoted ()\
14982 \ func_quote_for_eval "${2}"\
14983 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14984 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14985 && mv -f "$cfgfile.tmp" "$cfgfile" \
14986 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14987 test 0 -eq $? || _lt_function_replace_fail=:
14990 # Save a `func_append' function call where possible by direct use of '+='
14991 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14992 && mv -f "$cfgfile.tmp" "$cfgfile" \
14993 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14994 test 0 -eq $? || _lt_function_replace_fail=:
14996 # Save a `func_append' function call even when '+=' is not available
14997 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14998 && mv -f "$cfgfile.tmp" "$cfgfile" \
14999 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15000 test 0 -eq $? || _lt_function_replace_fail=:
15003 if test x"$_lt_function_replace_fail" = x":"; then
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15005 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15009 mv -f "$cfgfile" "$ofile" ||
15010 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15021 ac_clean_files=$ac_clean_files_save
15023 test $ac_write_fail = 0 ||
15024 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15027 # configure is writing to config.log, and then calls config.status.
15028 # config.status does its own redirection, appending to config.log.
15029 # Unfortunately, on DOS this fails, as config.log is still kept open
15030 # by configure, so config.status won't be able to write to it; its
15031 # output is simply discarded. So we exec the FD to /dev/null,
15032 # effectively closing config.log, so it can be properly (re)opened and
15033 # appended to by config.status. When coming back to configure, we
15034 # need to make the FD available again.
15035 if test "$no_create" != yes; then
15037 ac_config_status_args=
15038 test "$silent" = yes &&
15039 ac_config_status_args="$ac_config_status_args --quiet"
15041 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15043 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15044 # would make configure fail if this is the last instruction.
15045 $ac_cs_success || as_fn_exit 1
15047 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15049 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15053 $as_echo "-------------------------------------------------
15055 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
15057 Prefix : '${prefix}'.
15059 CFLAGS : '${CFLAGS}'
15062 - enable-werror : ${enable_werror}
15063 - enable-debug : ${enable_debug}
15064 - disable-optimization: ${disable_optimization}
15065 - with-log-level : ${with_log_level}
15067 --------------------------------------------------"