2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gupnp-dlna 0.6.6.
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='gupnp-dlna'
593 PACKAGE_TARNAME='gupnp-dlna'
594 PACKAGE_VERSION='0.6.6'
595 PACKAGE_STRING='gupnp-dlna 0.6.6'
596 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna'
597 PACKAGE_URL='http://www.gupnp.org/'
599 ac_unique_file="libgupnp-dlna/gupnp-dlna-profile.h"
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
640 GTK_DOC_USE_REBASE_FALSE
641 GTK_DOC_USE_REBASE_TRUE
642 GTK_DOC_USE_LIBTOOL_FALSE
643 GTK_DOC_USE_LIBTOOL_TRUE
644 GTK_DOC_BUILD_PDF_FALSE
645 GTK_DOC_BUILD_PDF_TRUE
646 GTK_DOC_BUILD_HTML_FALSE
647 GTK_DOC_BUILD_HTML_TRUE
656 HAVE_INTROSPECTION_FALSE
657 HAVE_INTROSPECTION_TRUE
658 INTROSPECTION_MAKEFILE
661 INTROSPECTION_TYPELIBDIR
663 INTROSPECTION_GENERATE
664 INTROSPECTION_COMPILER
665 INTROSPECTION_SCANNER
725 GUPNP_DLNA_VERSION_INFO
738 INSTALL_STRIP_PROGRAM
780 program_transform_name
793 enable_option_checking
795 enable_dependency_tracking
810 ac_precious_vars='build_alias
832 # Initialize some variables set by options.
834 ac_init_version=false
835 ac_unrecognized_opts=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name=s,x,x,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir='${datarootdir}/info'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\$ac_option
892 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 # Accept the important Cygnus configure options, so we can diagnose typos.
899 case $ac_dashdash$ac_option in
903 -bindir | --bindir | --bindi | --bind | --bin | --bi)
905 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
908 -build | --build | --buil | --bui | --bu)
909 ac_prev=build_alias ;;
910 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
911 build_alias=$ac_optarg ;;
913 -cache-file | --cache-file | --cache-fil | --cache-fi \
914 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
915 ac_prev=cache_file ;;
916 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
917 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
918 cache_file=$ac_optarg ;;
921 cache_file=config.cache ;;
923 -datadir | --datadir | --datadi | --datad)
925 -datadir=* | --datadir=* | --datadi=* | --datad=*)
926 datadir=$ac_optarg ;;
928 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
929 | --dataroo | --dataro | --datar)
930 ac_prev=datarootdir ;;
931 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
932 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
933 datarootdir=$ac_optarg ;;
935 -disable-* | --disable-*)
936 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 as_fn_error $? "invalid feature name: $ac_useropt"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
949 eval enable_$ac_useropt=no ;;
951 -docdir | --docdir | --docdi | --doc | --do)
953 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
956 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
961 -enable-* | --enable-*)
962 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965 as_fn_error $? "invalid feature name: $ac_useropt"
966 ac_useropt_orig=$ac_useropt
967 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 ac_unrecognized_sep=', ';;
975 eval enable_$ac_useropt=\$ac_optarg ;;
977 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
978 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
979 | --exec | --exe | --ex)
980 ac_prev=exec_prefix ;;
981 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
982 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
983 | --exec=* | --exe=* | --ex=*)
984 exec_prefix=$ac_optarg ;;
986 -gas | --gas | --ga | --g)
987 # Obsolete; use --with-gas.
990 -help | --help | --hel | --he | -h)
992 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
993 ac_init_help=recursive ;;
994 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
995 ac_init_help=short ;;
997 -host | --host | --hos | --ho)
998 ac_prev=host_alias ;;
999 -host=* | --host=* | --hos=* | --ho=*)
1000 host_alias=$ac_optarg ;;
1002 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006 htmldir=$ac_optarg ;;
1008 -includedir | --includedir | --includedi | --included | --include \
1009 | --includ | --inclu | --incl | --inc)
1010 ac_prev=includedir ;;
1011 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1012 | --includ=* | --inclu=* | --incl=* | --inc=*)
1013 includedir=$ac_optarg ;;
1015 -infodir | --infodir | --infodi | --infod | --info | --inf)
1017 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1018 infodir=$ac_optarg ;;
1020 -libdir | --libdir | --libdi | --libd)
1022 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1023 libdir=$ac_optarg ;;
1025 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1026 | --libexe | --libex | --libe)
1027 ac_prev=libexecdir ;;
1028 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1029 | --libexe=* | --libex=* | --libe=*)
1030 libexecdir=$ac_optarg ;;
1032 -localedir | --localedir | --localedi | --localed | --locale)
1033 ac_prev=localedir ;;
1034 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1035 localedir=$ac_optarg ;;
1037 -localstatedir | --localstatedir | --localstatedi | --localstated \
1038 | --localstate | --localstat | --localsta | --localst | --locals)
1039 ac_prev=localstatedir ;;
1040 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1041 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1042 localstatedir=$ac_optarg ;;
1044 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1047 mandir=$ac_optarg ;;
1049 -nfp | --nfp | --nf)
1050 # Obsolete; use --without-fp.
1053 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1054 | --no-cr | --no-c | -n)
1057 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1058 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1061 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1062 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1063 | --oldin | --oldi | --old | --ol | --o)
1064 ac_prev=oldincludedir ;;
1065 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1066 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1067 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1068 oldincludedir=$ac_optarg ;;
1070 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1073 prefix=$ac_optarg ;;
1075 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1076 | --program-pre | --program-pr | --program-p)
1077 ac_prev=program_prefix ;;
1078 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1079 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1080 program_prefix=$ac_optarg ;;
1082 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1083 | --program-suf | --program-su | --program-s)
1084 ac_prev=program_suffix ;;
1085 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1086 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1087 program_suffix=$ac_optarg ;;
1089 -program-transform-name | --program-transform-name \
1090 | --program-transform-nam | --program-transform-na \
1091 | --program-transform-n | --program-transform- \
1092 | --program-transform | --program-transfor \
1093 | --program-transfo | --program-transf \
1094 | --program-trans | --program-tran \
1095 | --progr-tra | --program-tr | --program-t)
1096 ac_prev=program_transform_name ;;
1097 -program-transform-name=* | --program-transform-name=* \
1098 | --program-transform-nam=* | --program-transform-na=* \
1099 | --program-transform-n=* | --program-transform-=* \
1100 | --program-transform=* | --program-transfor=* \
1101 | --program-transfo=* | --program-transf=* \
1102 | --program-trans=* | --program-tran=* \
1103 | --progr-tra=* | --program-tr=* | --program-t=*)
1104 program_transform_name=$ac_optarg ;;
1106 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1109 pdfdir=$ac_optarg ;;
1111 -psdir | --psdir | --psdi | --psd | --ps)
1113 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1116 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1117 | -silent | --silent | --silen | --sile | --sil)
1120 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124 sbindir=$ac_optarg ;;
1126 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128 | --sharedst | --shareds | --shared | --share | --shar \
1130 ac_prev=sharedstatedir ;;
1131 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135 sharedstatedir=$ac_optarg ;;
1137 -site | --site | --sit)
1139 -site=* | --site=* | --sit=*)
1142 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145 srcdir=$ac_optarg ;;
1147 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148 | --syscon | --sysco | --sysc | --sys | --sy)
1149 ac_prev=sysconfdir ;;
1150 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152 sysconfdir=$ac_optarg ;;
1154 -target | --target | --targe | --targ | --tar | --ta | --t)
1155 ac_prev=target_alias ;;
1156 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157 target_alias=$ac_optarg ;;
1159 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1162 -version | --version | --versio | --versi | --vers | -V)
1163 ac_init_version=: ;;
1166 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169 as_fn_error $? "invalid package name: $ac_useropt"
1170 ac_useropt_orig=$ac_useropt
1171 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep=', ';;
1179 eval with_$ac_useropt=\$ac_optarg ;;
1181 -without-* | --without-*)
1182 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185 as_fn_error $? "invalid package name: $ac_useropt"
1186 ac_useropt_orig=$ac_useropt
1187 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep=', ';;
1195 eval with_$ac_useropt=no ;;
1198 # Obsolete; use --with-x.
1201 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202 | --x-incl | --x-inc | --x-in | --x-i)
1203 ac_prev=x_includes ;;
1204 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206 x_includes=$ac_optarg ;;
1208 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210 ac_prev=x_libraries ;;
1211 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213 x_libraries=$ac_optarg ;;
1215 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1220 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240 if test -n "$ac_prev"; then
1241 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $? "missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir
1259 eval ac_val=\$$ac_var
1260 # Remove trailing slashes.
1263 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$]* | ?:[\\/]* ) continue;;
1269 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x; then
1283 if test "x$build_alias" = x; then
1284 cross_compiling=maybe
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293 test "$silent" = yes && exec 6>/dev/null
1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di=`ls -di .` &&
1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error $? "working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error $? "pwd does not report name of working directory"
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1336 ac_srcdir_defaulted=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1340 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1354 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356 for ac_var in $ac_precious_vars; do
1357 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1358 eval ac_env_${ac_var}_value=\$${ac_var}
1359 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1360 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1364 # Report the --help message.
1366 if test "$ac_init_help" = "long"; then
1367 # Omit some internal or obsolete options to make the list less imposing.
1368 # This message is too long to be a string in the A/UX 3.1 sh.
1370 \`configure' configures gupnp-dlna 0.6.6 to adapt to many kinds of systems.
1372 Usage: $0 [OPTION]... [VAR=VALUE]...
1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1375 VAR=VALUE. See below for descriptions of some of the useful variables.
1377 Defaults for the options are specified in brackets.
1380 -h, --help display this help and exit
1381 --help=short display options specific to this package
1382 --help=recursive display the short help of all the included packages
1383 -V, --version display version information and exit
1384 -q, --quiet, --silent do not print \`checking ...' messages
1385 --cache-file=FILE cache test results in FILE [disabled]
1386 -C, --config-cache alias for \`--cache-file=config.cache'
1387 -n, --no-create do not create output files
1388 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1390 Installation directories:
1391 --prefix=PREFIX install architecture-independent files in PREFIX
1392 [$ac_default_prefix]
1393 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1396 By default, \`make install' will install all the files in
1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1399 for instance \`--prefix=\$HOME'.
1401 For better control, use the options below.
1403 Fine tuning of the installation directories:
1404 --bindir=DIR user executables [EPREFIX/bin]
1405 --sbindir=DIR system admin executables [EPREFIX/sbin]
1406 --libexecdir=DIR program executables [EPREFIX/libexec]
1407 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1408 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1409 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1410 --libdir=DIR object code libraries [EPREFIX/lib]
1411 --includedir=DIR C header files [PREFIX/include]
1412 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1413 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1414 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1415 --infodir=DIR info documentation [DATAROOTDIR/info]
1416 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1417 --mandir=DIR man documentation [DATAROOTDIR/man]
1418 --docdir=DIR documentation root [DATAROOTDIR/doc/gupnp-dlna]
1419 --htmldir=DIR html documentation [DOCDIR]
1420 --dvidir=DIR dvi documentation [DOCDIR]
1421 --pdfdir=DIR pdf documentation [DOCDIR]
1422 --psdir=DIR ps documentation [DOCDIR]
1428 --program-prefix=PREFIX prepend PREFIX to installed program names
1429 --program-suffix=SUFFIX append SUFFIX to installed program names
1430 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1433 --build=BUILD configure for building on BUILD [guessed]
1434 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1438 if test -n "$ac_init_help"; then
1439 case $ac_init_help in
1440 short | recursive ) echo "Configuration of gupnp-dlna 0.6.6:";;
1445 --disable-option-checking ignore unrecognized --enable/--with options
1446 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1447 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1448 --enable-silent-rules less verbose build output (undo: `make V=1')
1449 --disable-silent-rules verbose build output (undo: `make V=0')
1450 --disable-dependency-tracking speeds up one-time build
1451 --enable-dependency-tracking do not reject slow dependency extractors
1452 --enable-shared[=PKGS] build shared libraries [default=yes]
1453 --enable-static[=PKGS] build static libraries [default=yes]
1454 --enable-fast-install[=PKGS]
1455 optimize for fast installation [default=yes]
1456 --disable-libtool-lock avoid locking (might break parallel builds)
1457 --enable-debug enable debugging
1458 --enable-introspection=[no/auto/yes]
1459 Enable introspection for this build
1460 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1461 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1462 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1465 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1466 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1467 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1469 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1470 --with-sysroot=DIR Search for dependent libraries within DIR
1471 (or the compiler's sysroot if not specified).
1472 --with-html-dir=PATH path to installed docs
1474 Some influential environment variables:
1475 CC C compiler command
1476 CFLAGS C compiler flags
1477 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1478 nonstandard directory <lib dir>
1479 LIBS libraries to pass to the linker, e.g. -l<library>
1480 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1481 you have headers in a nonstandard directory <include dir>
1483 PKG_CONFIG path to pkg-config utility
1485 directories to add to pkg-config's search path
1487 path overriding pkg-config's built-in search path
1489 C compiler flags for LIBXML, overriding pkg-config
1490 LIBXML_LIBS linker flags for LIBXML, overriding pkg-config
1491 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1492 GST_LIBS linker flags for GST, overriding pkg-config
1494 C compiler flags for GST_PBU, overriding pkg-config
1496 linker flags for GST_PBU, overriding pkg-config
1498 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1500 linker flags for GTKDOC_DEPS, overriding pkg-config
1502 Use these variables to override the choices made by `configure' or to help
1503 it to find libraries and programs with nonstandard names/locations.
1505 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
1506 gupnp-dlna home page: <http://www.gupnp.org/>.
1511 if test "$ac_init_help" = "recursive"; then
1512 # If there are subdirs, report their specific --help.
1513 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1514 test -d "$ac_dir" ||
1515 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 gupnp-dlna configure 0.6.6
1570 generated by GNU Autoconf 2.69
1572 Copyright (C) 2012 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1579 ## ------------------------ ##
1580 ## Autoconf initialization. ##
1581 ## ------------------------ ##
1583 # ac_fn_c_try_compile LINENO
1584 # --------------------------
1585 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1586 ac_fn_c_try_compile ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 rm -f conftest.$ac_objext
1590 if { { ac_try="$ac_compile"
1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1593 *) ac_try_echo=$ac_try;;
1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_compile") 2>conftest.err
1599 if test -s conftest.err; then
1600 grep -v '^ *+' conftest.err >conftest.er1
1601 cat conftest.er1 >&5
1602 mv -f conftest.er1 conftest.err
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; } && {
1606 test -z "$ac_c_werror_flag" ||
1607 test ! -s conftest.err
1608 } && test -s conftest.$ac_objext; then :
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617 as_fn_set_status $ac_retval
1619 } # ac_fn_c_try_compile
1621 # ac_fn_c_try_cpp LINENO
1622 # ----------------------
1623 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_try_run LINENO
1659 # ----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_link"
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_try") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1692 ac_retval=$ac_status
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1700 # ac_fn_c_try_link LINENO
1701 # -----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded.
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 rm -f conftest.$ac_objext conftest$ac_exeext
1707 if { { ac_try="$ac_link"
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>conftest.err
1716 if test -s conftest.err; then
1717 grep -v '^ *+' conftest.err >conftest.er1
1718 cat conftest.er1 >&5
1719 mv -f conftest.er1 conftest.err
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && {
1723 test -z "$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1725 } && test -s conftest$ac_exeext && {
1726 test "$cross_compiling" = yes ||
1727 test -x conftest$ac_exeext
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1738 # interfere with the next link command; also delete a directory that is
1739 # left behind by Apple's compiler. We do this before executing the actions.
1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742 as_fn_set_status $ac_retval
1744 } # ac_fn_c_try_link
1746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1747 # -------------------------------------------------------
1748 # Tests whether HEADER exists and can be compiled using the include files in
1749 # INCLUDES, setting the cache variable VAR accordingly.
1750 ac_fn_c_check_header_compile ()
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \${$3+:} false; then :
1756 $as_echo_n "(cached) " >&6
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1763 if ac_fn_c_try_compile "$LINENO"; then :
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 } # ac_fn_c_check_header_compile
1777 # ac_fn_c_check_func LINENO FUNC VAR
1778 # ----------------------------------
1779 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1780 ac_fn_c_check_func ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1790 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1792 #define $2 innocuous_$2
1794 /* System header to define __stub macros and hopefully few prototypes,
1795 which can conflict with char $2 (); below.
1796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1797 <limits.h> exists even on freestanding compilers. */
1800 # include <limits.h>
1802 # include <assert.h>
1807 /* Override any GCC internal prototype to avoid an error.
1808 Use char because int might match the return type of a GCC
1809 builtin and then its argument prototype would still apply. */
1814 /* The GNU C library defines this for functions which it implements
1815 to always fail with ENOSYS. Some functions are actually named
1816 something starting with __ and the normal name is an alias. */
1817 #if defined __stub_$2 || defined __stub___$2
1829 if ac_fn_c_try_link "$LINENO"; then :
1834 rm -f core conftest.err conftest.$ac_objext \
1835 conftest$ac_exeext conftest.$ac_ext
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 } # ac_fn_c_check_func
1843 cat >config.log <<_ACEOF
1844 This file contains any messages produced by compilers while
1845 running configure, to aid debugging if configure makes a mistake.
1847 It was created by gupnp-dlna $as_me 0.6.6, which was
1848 generated by GNU Autoconf 2.69. Invocation command line was
1860 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1861 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1862 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1863 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1864 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1866 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1867 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1869 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1870 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1871 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1872 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1873 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1874 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1875 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir=.
1884 $as_echo "PATH: $as_dir"
1900 # Keep a trace of the command line.
1901 # Strip out --no-create and --no-recursion so they do not pile up.
1902 # Strip out --silent because we don't want to record it for future runs.
1903 # Also quote any args containing shell meta-characters.
1904 # Make two passes to allow for proper duplicate-argument suppression.
1908 ac_must_keep_next=false
1914 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1916 | -silent | --silent | --silen | --sile | --sil)
1919 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1922 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1924 as_fn_append ac_configure_args1 " '$ac_arg'"
1925 if test $ac_must_keep_next = true; then
1926 ac_must_keep_next=false # Got value, back to normal.
1929 *=* | --config-cache | -C | -disable-* | --disable-* \
1930 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1931 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1932 | -with-* | --with-* | -without-* | --without-* | --x)
1933 case "$ac_configure_args0 " in
1934 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1937 -* ) ac_must_keep_next=true ;;
1940 as_fn_append ac_configure_args " '$ac_arg'"
1945 { ac_configure_args0=; unset ac_configure_args0;}
1946 { ac_configure_args1=; unset ac_configure_args1;}
1948 # When interrupted or exit'd, cleanup temporary files, and complete
1949 # config.log. We remove comments because anyway the quotes in there
1950 # would cause problems or look ugly.
1951 # WARNING: Use '\'' to represent an apostrophe within the trap.
1952 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1953 trap 'exit_status=$?
1954 # Save into config.log some information that might help in debugging.
1958 $as_echo "## ---------------- ##
1959 ## Cache variables. ##
1960 ## ---------------- ##"
1962 # The following way of writing the cache mishandles newlines in values,
1964 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1965 eval ac_val=\$$ac_var
1969 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1973 _ | IFS | as_nl) ;; #(
1974 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1975 *) { eval $ac_var=; unset $ac_var;} ;;
1980 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1981 *${as_nl}ac_space=\ *)
1983 "s/'\''/'\''\\\\'\'''\''/g;
1984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1987 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1994 $as_echo "## ----------------- ##
1995 ## Output variables. ##
1996 ## ----------------- ##"
1998 for ac_var in $ac_subst_vars
2000 eval ac_val=\$$ac_var
2002 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2004 $as_echo "$ac_var='\''$ac_val'\''"
2008 if test -n "$ac_subst_files"; then
2009 $as_echo "## ------------------- ##
2010 ## File substitutions. ##
2011 ## ------------------- ##"
2013 for ac_var in $ac_subst_files
2015 eval ac_val=\$$ac_var
2017 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2019 $as_echo "$ac_var='\''$ac_val'\''"
2024 if test -s confdefs.h; then
2025 $as_echo "## ----------- ##
2032 test "$ac_signal" != 0 &&
2033 $as_echo "$as_me: caught signal $ac_signal"
2034 $as_echo "$as_me: exit $exit_status"
2036 rm -f core *.core core.conftest.* &&
2037 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2040 for ac_signal in 1 2 13 15; do
2041 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2045 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2046 rm -f -r conftest* confdefs.h
2048 $as_echo "/* confdefs.h */" > confdefs.h
2050 # Predefined preprocessor variables.
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_NAME "$PACKAGE_NAME"
2056 cat >>confdefs.h <<_ACEOF
2057 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_STRING "$PACKAGE_STRING"
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_URL "$PACKAGE_URL"
2077 # Let the site file select an alternate cache file if it wants to.
2078 # Prefer an explicitly selected file to automatically selected ones.
2081 if test -n "$CONFIG_SITE"; then
2082 # We do not want a PATH search for config.site.
2083 case $CONFIG_SITE in #((
2084 -*) ac_site_file1=./$CONFIG_SITE;;
2085 */*) ac_site_file1=$CONFIG_SITE;;
2086 *) ac_site_file1=./$CONFIG_SITE;;
2088 elif test "x$prefix" != xNONE; then
2089 ac_site_file1=$prefix/share/config.site
2090 ac_site_file2=$prefix/etc/config.site
2092 ac_site_file1=$ac_default_prefix/share/config.site
2093 ac_site_file2=$ac_default_prefix/etc/config.site
2095 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2097 test "x$ac_site_file" = xNONE && continue
2098 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2100 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2101 sed 's/^/| /' "$ac_site_file" >&5
2103 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2105 as_fn_error $? "failed to load site script $ac_site_file
2106 See \`config.log' for more details" "$LINENO" 5; }
2110 if test -r "$cache_file"; then
2111 # Some versions of bash will fail to source /dev/null (special files
2112 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2113 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2115 $as_echo "$as_me: loading cache $cache_file" >&6;}
2117 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2118 *) . "./$cache_file";;
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2123 $as_echo "$as_me: creating cache $cache_file" >&6;}
2127 # Check that the precious variables saved in the cache have kept the same
2129 ac_cache_corrupted=false
2130 for ac_var in $ac_precious_vars; do
2131 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2132 eval ac_new_set=\$ac_env_${ac_var}_set
2133 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2134 eval ac_new_val=\$ac_env_${ac_var}_value
2135 case $ac_old_set,$ac_new_set in
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2138 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2139 ac_cache_corrupted=: ;;
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2142 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2143 ac_cache_corrupted=: ;;
2146 if test "x$ac_old_val" != "x$ac_new_val"; then
2147 # differences in whitespace do not lead to failure.
2148 ac_old_val_w=`echo x $ac_old_val`
2149 ac_new_val_w=`echo x $ac_new_val`
2150 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2152 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2153 ac_cache_corrupted=:
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2156 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2157 eval $ac_var=\$ac_old_val
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2160 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2162 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2165 # Pass precious variables to config.status.
2166 if test "$ac_new_set" = set; then
2168 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 *) ac_arg=$ac_var=$ac_new_val ;;
2171 case " $ac_configure_args " in
2172 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2173 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2177 if $ac_cache_corrupted; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2181 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2182 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2184 ## -------------------- ##
2185 ## Main body of script. ##
2186 ## -------------------- ##
2189 ac_cpp='$CPP $CPPFLAGS'
2190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196 ac_config_headers="$ac_config_headers config.h"
2201 for ac_dir in build-aux "$srcdir"/build-aux; do
2202 if test -f "$ac_dir/install-sh"; then
2204 ac_install_sh="$ac_aux_dir/install-sh -c"
2206 elif test -f "$ac_dir/install.sh"; then
2208 ac_install_sh="$ac_aux_dir/install.sh -c"
2210 elif test -f "$ac_dir/shtool"; then
2212 ac_install_sh="$ac_aux_dir/shtool install -c"
2216 if test -z "$ac_aux_dir"; then
2217 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2220 # These three variables are undocumented and unsupported,
2221 # and are intended to be withdrawn in a future Autoconf release.
2222 # They can cause serious problems if a builder's source tree is in a directory
2223 # whose full name contains unusual characters.
2224 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2225 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2226 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2230 am__api_version='1.11'
2232 # Find a good install program. We prefer a C program (faster),
2233 # so one script is as good as another. But avoid the broken or
2234 # incompatible versions:
2235 # SysV /etc/install, /usr/sbin/install
2236 # SunOS /usr/etc/install
2237 # IRIX /sbin/install
2239 # AmigaOS /C/install, which installs bootblocks on floppy discs
2240 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2241 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2242 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2243 # OS/2's system install, which has a completely different semantic
2244 # ./install, which can be erroneously created by make from ./install.sh.
2245 # Reject install programs that cannot install multiple files.
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2247 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2248 if test -z "$INSTALL"; then
2249 if ${ac_cv_path_install+:} false; then :
2250 $as_echo_n "(cached) " >&6
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 # Account for people who put trailing slashes in PATH elements.
2258 case $as_dir/ in #((
2259 ./ | .// | /[cC]/* | \
2260 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2261 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2264 # OSF1 and SCO ODT 3.0 have their own names for install.
2265 # Don't use installbsd from OSF since it installs stuff as root
2267 for ac_prog in ginstall scoinst install; do
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2270 if test $ac_prog = install &&
2271 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2272 # AIX install. It has an incompatible calling convention.
2274 elif test $ac_prog = install &&
2275 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2276 # program-specific install script used by HP pwplus--don't use.
2279 rm -rf conftest.one conftest.two conftest.dir
2280 echo one > conftest.one
2281 echo two > conftest.two
2283 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2284 test -s conftest.one && test -s conftest.two &&
2285 test -s conftest.dir/conftest.one &&
2286 test -s conftest.dir/conftest.two
2288 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2301 rm -rf conftest.one conftest.two conftest.dir
2304 if test "${ac_cv_path_install+set}" = set; then
2305 INSTALL=$ac_cv_path_install
2307 # As a last resort, use the slow shell script. Don't cache a
2308 # value for INSTALL within a source directory, because that will
2309 # break other packages using the cache if that directory is
2310 # removed, or if the value is a relative name.
2311 INSTALL=$ac_install_sh
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2315 $as_echo "$INSTALL" >&6; }
2317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2318 # It thinks the first close brace ends the variable substitution.
2319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2326 $as_echo_n "checking whether build environment is sane... " >&6; }
2329 echo timestamp > conftest.file
2330 # Reject unsafe characters in $srcdir or the absolute working directory
2331 # name. Accept space and tab only in the latter.
2335 *[\\\"\#\$\&\'\`$am_lf]*)
2336 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2339 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2340 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2343 # Do `set' in a subshell so we don't clobber the current shell's
2344 # arguments. Must try -L first in case configure is actually a
2345 # symlink; some systems play weird games with the mod time of symlinks
2346 # (eg FreeBSD returns the mod time of the symlink's containing
2349 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2350 if test "$*" = "X"; then
2352 set X `ls -t "$srcdir/configure" conftest.file`
2355 if test "$*" != "X $srcdir/configure conftest.file" \
2356 && test "$*" != "X conftest.file $srcdir/configure"; then
2358 # If neither matched, then we have a broken ls. This can happen
2359 # if, for instance, CONFIG_SHELL is bash and it inherits a
2360 # broken ls alias from the environment. This has actually
2361 # happened. Such a system could not be considered "sane".
2362 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2363 alias in your environment" "$LINENO" 5
2366 test "$2" = conftest.file
2372 as_fn_error $? "newly created file is older than distributed files!
2373 Check your system clock" "$LINENO" 5
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2376 $as_echo "yes" >&6; }
2377 test "$program_prefix" != NONE &&
2378 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2379 # Use a double $ so make ignores it.
2380 test "$program_suffix" != NONE &&
2381 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2382 # Double any \ or $.
2383 # By default was `s,x,x', remove it if useless.
2384 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2385 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2387 # expand $ac_aux_dir to an absolute path
2388 am_aux_dir=`cd $ac_aux_dir && pwd`
2390 if test x"${MISSING+set}" != xset; then
2393 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2395 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2398 # Use eval to expand $SHELL
2399 if eval "$MISSING --run true"; then
2400 am_missing_run="$MISSING --run "
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2404 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2407 if test x"${install_sh}" != xset; then
2410 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2412 install_sh="\${SHELL} $am_aux_dir/install-sh"
2416 # Installed binaries are usually stripped using `strip' when the user
2417 # run `make install-strip'. However `strip' might not be the right
2418 # tool to use in cross-compilation environments, therefore Automake
2419 # will honor the `STRIP' environment variable to overrule this program.
2420 if test "$cross_compiling" != no; then
2421 if test -n "$ac_tool_prefix"; then
2422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2423 set dummy ${ac_tool_prefix}strip; ac_word=$2
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if ${ac_cv_prog_STRIP+:} false; then :
2427 $as_echo_n "(cached) " >&6
2429 if test -n "$STRIP"; then
2430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2439 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 STRIP=$ac_cv_prog_STRIP
2450 if test -n "$STRIP"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2452 $as_echo "$STRIP" >&6; }
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2455 $as_echo "no" >&6; }
2460 if test -z "$ac_cv_prog_STRIP"; then
2462 # Extract the first word of "strip", so it can be a program name with args.
2463 set dummy strip; ac_word=$2
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2465 $as_echo_n "checking for $ac_word... " >&6; }
2466 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2467 $as_echo_n "(cached) " >&6
2469 if test -n "$ac_ct_STRIP"; then
2470 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2479 ac_cv_prog_ac_ct_STRIP="strip"
2480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2490 if test -n "$ac_ct_STRIP"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2492 $as_echo "$ac_ct_STRIP" >&6; }
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2495 $as_echo "no" >&6; }
2498 if test "x$ac_ct_STRIP" = x; then
2501 case $cross_compiling:$ac_tool_warned in
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2505 ac_tool_warned=yes ;;
2510 STRIP="$ac_cv_prog_STRIP"
2514 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2517 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2518 if test -z "$MKDIR_P"; then
2519 if ${ac_cv_path_mkdir+:} false; then :
2520 $as_echo_n "(cached) " >&6
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2526 test -z "$as_dir" && as_dir=.
2527 for ac_prog in mkdir gmkdir; do
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2530 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2531 'mkdir (GNU coreutils) '* | \
2532 'mkdir (coreutils) '* | \
2533 'mkdir (fileutils) '4.1*)
2534 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2544 test -d ./--version && rmdir ./--version
2545 if test "${ac_cv_path_mkdir+set}" = set; then
2546 MKDIR_P="$ac_cv_path_mkdir -p"
2548 # As a last resort, use the slow shell script. Don't cache a
2549 # value for MKDIR_P within a source directory, because that will
2550 # break other packages using the cache if that directory is
2551 # removed, or if the value is a relative name.
2552 MKDIR_P="$ac_install_sh -d"
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2556 $as_echo "$MKDIR_P" >&6; }
2560 [\\/$]* | ?:[\\/]*) ;;
2561 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2564 for ac_prog in gawk mawk nawk awk
2566 # Extract the first word of "$ac_prog", so it can be a program name with args.
2567 set dummy $ac_prog; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if ${ac_cv_prog_AWK+:} false; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$AWK"; then
2574 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2583 ac_cv_prog_AWK="$ac_prog"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test -n "$AWK"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2596 $as_echo "$AWK" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2603 test -n "$AWK" && break
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2607 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2609 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2610 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2611 $as_echo_n "(cached) " >&6
2613 cat >conftest.make <<\_ACEOF
2616 @echo '@@@%%%=$(MAKE)=@@@%%%'
2618 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2621 eval ac_cv_prog_make_${ac_make}_set=yes;;
2623 eval ac_cv_prog_make_${ac_make}_set=no;;
2627 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2629 $as_echo "yes" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2634 SET_MAKE="MAKE=${MAKE-make}"
2637 rm -rf .tst 2>/dev/null
2638 mkdir .tst 2>/dev/null
2639 if test -d .tst; then
2644 rmdir .tst 2>/dev/null
2646 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2647 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2648 # is not polluted with repeated "-I."
2649 am__isrc=' -I$(srcdir)'
2650 # test to see if srcdir already configured
2651 if test -f $srcdir/config.status; then
2652 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2656 # test whether we have cygpath
2657 if test -z "$CYGPATH_W"; then
2658 if (cygpath --version) >/dev/null 2>/dev/null; then
2659 CYGPATH_W='cygpath -w'
2666 # Define the identity of the package.
2667 PACKAGE='gupnp-dlna'
2671 cat >>confdefs.h <<_ACEOF
2672 #define PACKAGE "$PACKAGE"
2676 cat >>confdefs.h <<_ACEOF
2677 #define VERSION "$VERSION"
2680 # Some tools Automake needs.
2682 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2685 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2688 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2691 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2694 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2696 # We need awk for the "check" target. The system "awk" is bad on
2698 # Always define AMTAR for backward compatibility. Yes, it's still used
2699 # in the wild :-( We should find a proper way to deprecate it ...
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2704 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
2705 # Loop over all known methods to create a tar archive until one works.
2706 _am_tools='gnutar plaintar pax cpio none'
2707 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2708 # Do not fold the above two line into one, because Tru64 sh and
2709 # Solaris sh will not grok spaces in the rhs of `-'.
2710 for _am_tool in $_am_tools
2714 for _am_tar in tar gnutar gtar;
2716 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2717 ($_am_tar --version) >&5 2>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } && break
2722 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2723 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2724 am__untar="$_am_tar -xf -"
2727 # Must skip GNU tar: if it does not support --format= it doesn't create
2728 # ustar tarball either.
2729 (tar --version) >/dev/null 2>&1 && continue
2730 am__tar='tar chf - "$$tardir"'
2731 am__tar_='tar chf - "$tardir"'
2732 am__untar='tar xf -'
2735 am__tar='pax -L -x ustar -w "$$tardir"'
2736 am__tar_='pax -L -x ustar -w "$tardir"'
2740 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2741 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2742 am__untar='cpio -i -H ustar -d'
2751 # If the value was cached, stop now. We just wanted to have am__tar
2752 # and am__untar set.
2753 test -n "${am_cv_prog_tar_ustar}" && break
2755 # tar/untar a dummy directory, and stop if the command works
2758 echo GrepMe > conftest.dir/file
2759 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2760 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }
2765 if test -s conftest.tar; then
2766 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2767 ($am__untar <conftest.tar) >&5 2>&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }
2771 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2776 if ${am_cv_prog_tar_ustar+:} false; then :
2777 $as_echo_n "(cached) " >&6
2779 am_cv_prog_tar_ustar=$_am_tool
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2783 $as_echo "$am_cv_prog_tar_ustar" >&6; }
2790 # Check whether --enable-silent-rules was given.
2791 if test "${enable_silent_rules+set}" = set; then :
2792 enableval=$enable_silent_rules;
2795 case $enable_silent_rules in
2796 yes) AM_DEFAULT_VERBOSITY=0;;
2797 no) AM_DEFAULT_VERBOSITY=1;;
2798 *) AM_DEFAULT_VERBOSITY=0;;
2800 am_make=${MAKE-make}
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2802 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2803 if ${am_cv_make_support_nested_variables+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 if $as_echo 'TRUE=$(BAR$(V))
2812 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2813 am_cv_make_support_nested_variables=yes
2815 am_cv_make_support_nested_variables=no
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2819 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2820 if test $am_cv_make_support_nested_variables = yes; then
2822 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2824 AM_V=$AM_DEFAULT_VERBOSITY
2825 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2830 GUPNP_DLNA_CURRENT=2
2832 GUPNP_DLNA_REVISION=0
2836 GUPNP_DLNA_VERSION_INFO="$GUPNP_DLNA_CURRENT:$GUPNP_DLNA_REVISION:$GUPNP_DLNA_AGE"
2839 # Check for programs
2841 ac_cpp='$CPP $CPPFLAGS'
2842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2845 if test -n "$ac_tool_prefix"; then
2846 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2847 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_CC+:} false; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$CC"; then
2854 ac_cv_prog_CC="$CC" # Let the user override the test.
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 test -z "$as_dir" && as_dir=.
2861 for ac_exec_ext in '' $ac_executable_extensions; do
2862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2863 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874 if test -n "$CC"; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2876 $as_echo "$CC" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2879 $as_echo "no" >&6; }
2884 if test -z "$ac_cv_prog_CC"; then
2886 # Extract the first word of "gcc", so it can be a program name with args.
2887 set dummy gcc; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$ac_ct_CC"; then
2894 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_prog_ac_ct_CC="gcc"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2914 if test -n "$ac_ct_CC"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2916 $as_echo "$ac_ct_CC" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2922 if test "x$ac_ct_CC" = x; then
2925 case $cross_compiling:$ac_tool_warned in
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929 ac_tool_warned=yes ;;
2937 if test -z "$CC"; then
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}cc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false; then :
2944 $as_echo_n "(cached) " >&6
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC="$CC" # Let the user override the test.
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_CC="${ac_tool_prefix}cc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2978 if test -z "$CC"; then
2979 # Extract the first word of "cc", so it can be a program name with args.
2980 set dummy cc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC="$CC" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2998 ac_prog_rejected=yes
3002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test $ac_prog_rejected = yes; then
3010 # We found a bogon in the path, so make sure we never use it.
3011 set dummy $ac_cv_prog_CC
3013 if test $# != 0; then
3014 # We chose a different compiler from the bogus one.
3015 # However, it has the same basename, so the bogon will be chosen
3016 # first if we set CC to just the basename; use the full file name.
3018 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3024 if test -n "$CC"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3034 if test -z "$CC"; then
3035 if test -n "$ac_tool_prefix"; then
3036 for ac_prog in cl.exe
3038 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041 $as_echo_n "checking for $ac_word... " >&6; }
3042 if ${ac_cv_prog_CC+:} false; then :
3043 $as_echo_n "(cached) " >&6
3045 if test -n "$CC"; then
3046 ac_cv_prog_CC="$CC" # Let the user override the test.
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir=.
3053 for ac_exec_ext in '' $ac_executable_extensions; do
3054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3055 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CC"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068 $as_echo "$CC" >&6; }
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071 $as_echo "no" >&6; }
3075 test -n "$CC" && break
3078 if test -z "$CC"; then
3080 for ac_prog in cl.exe
3082 # Extract the first word of "$ac_prog", so it can be a program name with args.
3083 set dummy $ac_prog; ac_word=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3087 $as_echo_n "(cached) " >&6
3089 if test -n "$ac_ct_CC"; then
3090 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir=.
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3099 ac_cv_prog_ac_ct_CC="$ac_prog"
3100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3110 if test -n "$ac_ct_CC"; then
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3112 $as_echo "$ac_ct_CC" >&6; }
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3119 test -n "$ac_ct_CC" && break
3122 if test "x$ac_ct_CC" = x; then
3125 case $cross_compiling:$ac_tool_warned in
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3129 ac_tool_warned=yes ;;
3138 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 as_fn_error $? "no acceptable C compiler found in \$PATH
3141 See \`config.log' for more details" "$LINENO" 5; }
3143 # Provide some information about the compiler.
3144 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3147 for ac_option in --version -v -V -qversion; do
3148 { { ac_try="$ac_compiler $ac_option >&5"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3157 if test -s conftest.err; then
3159 ... rest of stderr output deleted ...
3160 10q' conftest.err >conftest.er1
3161 cat conftest.er1 >&5
3163 rm -f conftest.er1 conftest.err
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3179 ac_clean_files_save=$ac_clean_files
3180 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3181 # Try to create an executable without -o first, disregard a.out.
3182 # It will help us diagnose broken compilers, and finding out an intuition
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3185 $as_echo_n "checking whether the C compiler works... " >&6; }
3186 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3188 # The possible output files:
3189 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3192 for ac_file in $ac_files
3195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3196 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3201 if { { ac_try="$ac_link_default"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3207 $as_echo "$ac_try_echo"; } >&5
3208 (eval "$ac_link_default") 2>&5
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }; then :
3212 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3213 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3214 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3215 # so that the user can short-circuit this test for compilers unknown to
3217 for ac_file in $ac_files ''
3219 test -f "$ac_file" || continue
3221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3224 # We found the default executable, but exeext='' is most
3228 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3230 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3232 # We set ac_cv_exeext here because the later test for it is not
3233 # safe: cross compilers may not add the suffix if given an `-o'
3234 # argument, so we may need to know it at that point already.
3235 # Even if this section looks crufty: it has the advantage of
3242 test "$ac_cv_exeext" = no && ac_cv_exeext=
3247 if test -z "$ac_file"; then :
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error 77 "C compiler cannot create executables
3256 See \`config.log' for more details" "$LINENO" 5; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3262 $as_echo_n "checking for C compiler default output file name... " >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3264 $as_echo "$ac_file" >&6; }
3265 ac_exeext=$ac_cv_exeext
3267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3268 ac_clean_files=$ac_clean_files_save
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3270 $as_echo_n "checking for suffix of executables... " >&6; }
3271 if { { ac_try="$ac_link"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_link") 2>&5
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }; then :
3282 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3283 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3284 # work properly (i.e., refer to `conftest.exe'), while it won't with
3286 for ac_file in conftest.exe conftest conftest.*; do
3287 test -f "$ac_file" || continue
3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3290 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3298 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3299 See \`config.log' for more details" "$LINENO" 5; }
3301 rm -f conftest conftest$ac_cv_exeext
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3303 $as_echo "$ac_cv_exeext" >&6; }
3305 rm -f conftest.$ac_ext
3306 EXEEXT=$ac_cv_exeext
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3314 FILE *f = fopen ("conftest.out", "w");
3315 return ferror (f) || fclose (f) != 0;
3321 ac_clean_files="$ac_clean_files conftest.out"
3322 # Check that the compiler produces executables we can run. If not, either
3323 # the compiler is broken, or we cross compile.
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3325 $as_echo_n "checking whether we are cross compiling... " >&6; }
3326 if test "$cross_compiling" != yes; then
3327 { { ac_try="$ac_link"
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_link") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }
3338 if { ac_try='./conftest$ac_cv_exeext'
3339 { { case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_try") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; }; then
3351 if test "$cross_compiling" = maybe; then
3354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "cannot run C compiled programs.
3357 If you meant to cross compile, use \`--host'.
3358 See \`config.log' for more details" "$LINENO" 5; }
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3363 $as_echo "$cross_compiling" >&6; }
3365 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3366 ac_clean_files=$ac_clean_files_save
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3368 $as_echo_n "checking for suffix of object files... " >&6; }
3369 if ${ac_cv_objext+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3383 rm -f conftest.o conftest.obj
3384 if { { ac_try="$ac_compile"
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_compile") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }; then :
3395 for ac_file in conftest.o conftest.obj conftest.*; do
3396 test -f "$ac_file" || continue;
3398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3399 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3404 $as_echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3409 as_fn_error $? "cannot compute suffix of object files: cannot compile
3410 See \`config.log' for more details" "$LINENO" 5; }
3412 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3415 $as_echo "$ac_cv_objext" >&6; }
3416 OBJEXT=$ac_cv_objext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3419 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3420 if ${ac_cv_c_compiler_gnu+:} false; then :
3421 $as_echo_n "(cached) " >&6
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3437 if ac_fn_c_try_compile "$LINENO"; then :
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3447 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3448 if test $ac_compiler_gnu = yes; then
3453 ac_test_CFLAGS=${CFLAGS+set}
3454 ac_save_CFLAGS=$CFLAGS
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3456 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3457 if ${ac_cv_prog_cc_g+:} false; then :
3458 $as_echo_n "(cached) " >&6
3460 ac_save_c_werror_flag=$ac_c_werror_flag
3461 ac_c_werror_flag=yes
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3475 if ac_fn_c_try_compile "$LINENO"; then :
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3490 if ac_fn_c_try_compile "$LINENO"; then :
3493 ac_c_werror_flag=$ac_save_c_werror_flag
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 if ac_fn_c_try_compile "$LINENO"; then :
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 ac_c_werror_flag=$ac_save_c_werror_flag
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3517 $as_echo "$ac_cv_prog_cc_g" >&6; }
3518 if test "$ac_test_CFLAGS" = set; then
3519 CFLAGS=$ac_save_CFLAGS
3520 elif test $ac_cv_prog_cc_g = yes; then
3521 if test "$GCC" = yes; then
3527 if test "$GCC" = yes; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3534 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3535 if ${ac_cv_prog_cc_c89+:} false; then :
3536 $as_echo_n "(cached) " >&6
3538 ac_cv_prog_cc_c89=no
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3545 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3546 struct buf { int x; };
3547 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3548 static char *e (p, i)
3554 static char *f (char * (*g) (char **, int), char **p, ...)
3559 s = g (p, va_arg (v,int));
3564 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3565 function prototypes and stuff, but not '\xHH' hex character constants.
3566 These don't provoke an error unfortunately, instead are silently treated
3567 as 'x'. The following induces an error, until -std is added to get
3568 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3569 array size at least. It's necessary to write '\x00'==0 to get something
3570 that's true only with -std. */
3571 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3573 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3574 inside strings and character constants. */
3576 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3578 int test (int i, double x);
3579 struct s1 {int (*f) (int a);};
3580 struct s2 {int (*f) (double a);};
3581 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3587 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3592 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3593 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3595 CC="$ac_save_CC $ac_arg"
3596 if ac_fn_c_try_compile "$LINENO"; then :
3597 ac_cv_prog_cc_c89=$ac_arg
3599 rm -f core conftest.err conftest.$ac_objext
3600 test "x$ac_cv_prog_cc_c89" != "xno" && break
3602 rm -f conftest.$ac_ext
3607 case "x$ac_cv_prog_cc_c89" in
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3610 $as_echo "none needed" >&6; } ;;
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3613 $as_echo "unsupported" >&6; } ;;
3615 CC="$CC $ac_cv_prog_cc_c89"
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3617 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3619 if test "x$ac_cv_prog_cc_c89" != xno; then :
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3628 DEPDIR="${am__leading_dot}deps"
3630 ac_config_commands="$ac_config_commands depfiles"
3633 am_make=${MAKE-make}
3634 cat > confinc << 'END'
3636 @echo this is the am__doit target
3639 # If we don't find an include directive, just comment out the code.
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3641 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3645 # First try GNU make style include.
3646 echo "include confinc" > confmf
3647 # Ignore all kinds of additional output from `make'.
3648 case `$am_make -s -f confmf 2> /dev/null` in #(
3649 *the\ am__doit\ target*)
3655 # Now try BSD make style include.
3656 if test "$am__include" = "#"; then
3657 echo '.include "confinc"' > confmf
3658 case `$am_make -s -f confmf 2> /dev/null` in #(
3659 *the\ am__doit\ target*)
3660 am__include=.include
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3669 $as_echo "$_am_result" >&6; }
3670 rm -f confinc confmf
3672 # Check whether --enable-dependency-tracking was given.
3673 if test "${enable_dependency_tracking+set}" = set; then :
3674 enableval=$enable_dependency_tracking;
3677 if test "x$enable_dependency_tracking" != xno; then
3678 am_depcomp="$ac_aux_dir/depcomp"
3682 if test "x$enable_dependency_tracking" != xno; then
3692 depcc="$CC" am_compiler_list=
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3695 $as_echo_n "checking dependency style of $depcc... " >&6; }
3696 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3700 # We make a subdir and do the tests there. Otherwise we can end up
3701 # making bogus files that we don't know about and never remove. For
3702 # instance it was reported that on HP-UX the gcc test will end up
3703 # making a dummy file named `D' -- because `-MD' means `put the output
3707 # Copy depcomp to subdir because otherwise we won't find it if we're
3708 # using a relative directory.
3709 cp "$am_depcomp" conftest.dir
3711 # We will build objects and dependencies in a subdirectory because
3712 # it helps to detect inapplicable dependency modes. For instance
3713 # both Tru64's cc and ICC support -MD to output dependencies as a
3714 # side effect of compilation, but ICC will put the dependencies in
3715 # the current directory while Tru64 will put them in the object
3719 am_cv_CC_dependencies_compiler_type=none
3720 if test "$am_compiler_list" = ""; then
3721 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3724 case " $depcc " in #(
3725 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3728 for depmode in $am_compiler_list; do
3729 # Setup a source with many dependencies, because some compilers
3730 # like to wrap large dependency lists on column 80 (with \), and
3731 # we should not choose a depcomp mode which is confused by this.
3733 # We need to recreate these files for each test, as the compiler may
3734 # overwrite some of them when testing with obscure command lines.
3735 # This happens at least with the AIX C compiler.
3737 for i in 1 2 3 4 5 6; do
3738 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3739 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3740 # Solaris 8's {/usr,}/bin/sh.
3741 touch sub/conftst$i.h
3743 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3745 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3746 # mode. It turns out that the SunPro C++ compiler does not properly
3747 # handle `-M -o', and we need to detect this. Also, some Intel
3748 # versions had trouble with output in subdirs
3749 am__obj=sub/conftest.${OBJEXT-o}
3750 am__minus_obj="-o $am__obj"
3753 # This depmode causes a compiler race in universal mode.
3754 test "$am__universal" = false || continue
3757 # after this tag, mechanisms are not by side-effect, so they'll
3758 # only be used when explicitly requested
3759 if test "x$enable_dependency_tracking" = xyes; then
3765 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3766 # This compiler won't grok `-c -o', but also, the minuso test has
3767 # not run yet. These depmodes are late enough in the game, and
3768 # so weak that their functioning should not be impacted.
3769 am__obj=conftest.${OBJEXT-o}
3774 if depmode=$depmode \
3775 source=sub/conftest.c object=$am__obj \
3776 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3777 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3778 >/dev/null 2>conftest.err &&
3779 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3780 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3781 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3782 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3783 # icc doesn't choke on unknown options, it will just issue warnings
3784 # or remarks (even with -Werror). So we grep stderr for any message
3785 # that says an option was ignored or not supported.
3786 # When given -MP, icc 7.0 and 7.1 complain thusly:
3787 # icc: Command line warning: ignoring option '-M'; no argument required
3788 # The diagnosis changed in icc 8.0:
3789 # icc: Command line remark: option '-MP' not supported
3790 if (grep 'ignoring option' conftest.err ||
3791 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3792 am_cv_CC_dependencies_compiler_type=$depmode
3801 am_cv_CC_dependencies_compiler_type=none
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3806 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3807 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3810 test "x$enable_dependency_tracking" != xno \
3811 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3813 am__fastdepCC_FALSE='#'
3815 am__fastdepCC_TRUE='#'
3816 am__fastdepCC_FALSE=
3822 ac_cpp='$CPP $CPPFLAGS'
3823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3827 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3828 # On Suns, sometimes $CPP names a directory.
3829 if test -n "$CPP" && test -d "$CPP"; then
3832 if test -z "$CPP"; then
3833 if ${ac_cv_prog_CPP+:} false; then :
3834 $as_echo_n "(cached) " >&6
3836 # Double quotes because CPP needs to be expanded
3837 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3840 for ac_c_preproc_warn_flag in '' yes
3842 # Use a header file that comes with gcc, so configuring glibc
3843 # with a fresh cross-compiler works.
3844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3845 # <limits.h> exists even on freestanding compilers.
3846 # On the NeXT, cc -E runs the code through the compiler's parser,
3847 # not just through cpp. "Syntax error" is here to catch this case.
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3851 # include <limits.h>
3853 # include <assert.h>
3857 if ac_fn_c_try_cpp "$LINENO"; then :
3860 # Broken: fails on valid input.
3863 rm -f conftest.err conftest.i conftest.$ac_ext
3865 # OK, works on sane cases. Now check whether nonexistent headers
3866 # can be detected and how.
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3869 #include <ac_nonexistent.h>
3871 if ac_fn_c_try_cpp "$LINENO"; then :
3872 # Broken: success on invalid input.
3875 # Passes both tests.
3879 rm -f conftest.err conftest.i conftest.$ac_ext
3882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3883 rm -f conftest.i conftest.err conftest.$ac_ext
3884 if $ac_preproc_ok; then :
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3897 $as_echo "$CPP" >&6; }
3899 for ac_c_preproc_warn_flag in '' yes
3901 # Use a header file that comes with gcc, so configuring glibc
3902 # with a fresh cross-compiler works.
3903 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3904 # <limits.h> exists even on freestanding compilers.
3905 # On the NeXT, cc -E runs the code through the compiler's parser,
3906 # not just through cpp. "Syntax error" is here to catch this case.
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3910 # include <limits.h>
3912 # include <assert.h>
3916 if ac_fn_c_try_cpp "$LINENO"; then :
3919 # Broken: fails on valid input.
3922 rm -f conftest.err conftest.i conftest.$ac_ext
3924 # OK, works on sane cases. Now check whether nonexistent headers
3925 # can be detected and how.
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3928 #include <ac_nonexistent.h>
3930 if ac_fn_c_try_cpp "$LINENO"; then :
3931 # Broken: success on invalid input.
3934 # Passes both tests.
3938 rm -f conftest.err conftest.i conftest.$ac_ext
3941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3942 rm -f conftest.i conftest.err conftest.$ac_ext
3943 if $ac_preproc_ok; then :
3946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3949 See \`config.log' for more details" "$LINENO" 5; }
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3960 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3961 if ${ac_cv_path_GREP+:} false; then :
3962 $as_echo_n "(cached) " >&6
3964 if test -z "$GREP"; then
3965 ac_path_GREP_found=false
3966 # Loop through the user's path and test for each of PROGNAME-LIST
3967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3971 test -z "$as_dir" && as_dir=.
3972 for ac_prog in grep ggrep; do
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3975 as_fn_executable_p "$ac_path_GREP" || continue
3976 # Check for GNU ac_path_GREP and select it if it is found.
3977 # Check for GNU $ac_path_GREP
3978 case `"$ac_path_GREP" --version 2>&1` in
3980 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3983 $as_echo_n 0123456789 >"conftest.in"
3986 cat "conftest.in" "conftest.in" >"conftest.tmp"
3987 mv "conftest.tmp" "conftest.in"
3988 cp "conftest.in" "conftest.nl"
3989 $as_echo 'GREP' >> "conftest.nl"
3990 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3991 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3992 as_fn_arith $ac_count + 1 && ac_count=$as_val
3993 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3994 # Best one so far, save it but keep looking for a better one
3995 ac_cv_path_GREP="$ac_path_GREP"
3996 ac_path_GREP_max=$ac_count
3998 # 10*(2^10) chars as input seems more than enough
3999 test $ac_count -gt 10 && break
4001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4004 $ac_path_GREP_found && break 3
4009 if test -z "$ac_cv_path_GREP"; then
4010 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4013 ac_cv_path_GREP=$GREP
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4018 $as_echo "$ac_cv_path_GREP" >&6; }
4019 GREP="$ac_cv_path_GREP"
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4023 $as_echo_n "checking for egrep... " >&6; }
4024 if ${ac_cv_path_EGREP+:} false; then :
4025 $as_echo_n "(cached) " >&6
4027 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4028 then ac_cv_path_EGREP="$GREP -E"
4030 if test -z "$EGREP"; then
4031 ac_path_EGREP_found=false
4032 # Loop through the user's path and test for each of PROGNAME-LIST
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4037 test -z "$as_dir" && as_dir=.
4038 for ac_prog in egrep; do
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4041 as_fn_executable_p "$ac_path_EGREP" || continue
4042 # Check for GNU ac_path_EGREP and select it if it is found.
4043 # Check for GNU $ac_path_EGREP
4044 case `"$ac_path_EGREP" --version 2>&1` in
4046 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4049 $as_echo_n 0123456789 >"conftest.in"
4052 cat "conftest.in" "conftest.in" >"conftest.tmp"
4053 mv "conftest.tmp" "conftest.in"
4054 cp "conftest.in" "conftest.nl"
4055 $as_echo 'EGREP' >> "conftest.nl"
4056 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4058 as_fn_arith $ac_count + 1 && ac_count=$as_val
4059 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4060 # Best one so far, save it but keep looking for a better one
4061 ac_cv_path_EGREP="$ac_path_EGREP"
4062 ac_path_EGREP_max=$ac_count
4064 # 10*(2^10) chars as input seems more than enough
4065 test $ac_count -gt 10 && break
4067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4070 $ac_path_EGREP_found && break 3
4075 if test -z "$ac_cv_path_EGREP"; then
4076 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4079 ac_cv_path_EGREP=$EGREP
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4085 $as_echo "$ac_cv_path_EGREP" >&6; }
4086 EGREP="$ac_cv_path_EGREP"
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4090 $as_echo_n "checking for ANSI C header files... " >&6; }
4091 if ${ac_cv_header_stdc+:} false; then :
4092 $as_echo_n "(cached) " >&6
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4109 if ac_fn_c_try_compile "$LINENO"; then :
4110 ac_cv_header_stdc=yes
4112 ac_cv_header_stdc=no
4114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 if test $ac_cv_header_stdc = yes; then
4117 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4124 $EGREP "memchr" >/dev/null 2>&1; then :
4127 ac_cv_header_stdc=no
4133 if test $ac_cv_header_stdc = yes; then
4134 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4141 $EGREP "free" >/dev/null 2>&1; then :
4144 ac_cv_header_stdc=no
4150 if test $ac_cv_header_stdc = yes; then
4151 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4152 if test "$cross_compiling" = yes; then :
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4159 #if ((' ' & 0x0FF) == 0x020)
4160 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4161 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4163 # define ISLOWER(c) \
4164 (('a' <= (c) && (c) <= 'i') \
4165 || ('j' <= (c) && (c) <= 'r') \
4166 || ('s' <= (c) && (c) <= 'z'))
4167 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4175 for (i = 0; i < 256; i++)
4176 if (XOR (islower (i), ISLOWER (i))
4177 || toupper (i) != TOUPPER (i))
4182 if ac_fn_c_try_run "$LINENO"; then :
4185 ac_cv_header_stdc=no
4187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4188 conftest.$ac_objext conftest.beam conftest.$ac_ext
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4194 $as_echo "$ac_cv_header_stdc" >&6; }
4195 if test $ac_cv_header_stdc = yes; then
4197 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4202 # Initialize libtool
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4207 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4212 macro_version='2.4.2'
4213 macro_revision='1.3337'
4227 ltmain="$ac_aux_dir/ltmain.sh"
4229 # Make sure we can run config.sub.
4230 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4231 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4234 $as_echo_n "checking build system type... " >&6; }
4235 if ${ac_cv_build+:} false; then :
4236 $as_echo_n "(cached) " >&6
4238 ac_build_alias=$build_alias
4239 test "x$ac_build_alias" = x &&
4240 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4241 test "x$ac_build_alias" = x &&
4242 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4243 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4244 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4248 $as_echo "$ac_cv_build" >&6; }
4249 case $ac_cv_build in
4251 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4254 ac_save_IFS=$IFS; IFS='-'
4260 # Remember, the first character of IFS is used to create $*,
4261 # except with old shells:
4264 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4268 $as_echo_n "checking host system type... " >&6; }
4269 if ${ac_cv_host+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 if test "x$host_alias" = x; then
4273 ac_cv_host=$ac_cv_build
4275 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4276 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4281 $as_echo "$ac_cv_host" >&6; }
4284 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4287 ac_save_IFS=$IFS; IFS='-'
4293 # Remember, the first character of IFS is used to create $*,
4294 # except with old shells:
4297 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4300 # Backslashify metacharacters that are still active within
4301 # double-quoted strings.
4302 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4304 # Same as above, but do not quote variable references.
4305 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4307 # Sed substitution to delay expansion of an escaped shell variable in a
4308 # double_quote_subst'ed string.
4309 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4311 # Sed substitution to delay expansion of an escaped single quote.
4312 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4314 # Sed substitution to avoid accidental globbing in evaled expressions
4315 no_glob_subst='s/\*/\\\*/g'
4317 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4318 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4319 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4322 $as_echo_n "checking how to print strings... " >&6; }
4323 # Test print first, because it will be a builtin if present.
4324 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4325 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4327 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4330 # Use this function as a fallback that always works.
4331 func_fallback_echo ()
4333 eval 'cat <<_LTECHO_EOF
4337 ECHO='func_fallback_echo'
4340 # func_echo_all arg...
4341 # Invoke $ECHO with all args, space-separated.
4348 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4349 $as_echo "printf" >&6; } ;;
4350 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4351 $as_echo "print -r" >&6; } ;;
4352 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4353 $as_echo "cat" >&6; } ;;
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4370 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4371 if ${ac_cv_path_SED+:} false; then :
4372 $as_echo_n "(cached) " >&6
4374 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4375 for ac_i in 1 2 3 4 5 6 7; do
4376 ac_script="$ac_script$as_nl$ac_script"
4378 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4379 { ac_script=; unset ac_script;}
4380 if test -z "$SED"; then
4381 ac_path_SED_found=false
4382 # Loop through the user's path and test for each of PROGNAME-LIST
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387 test -z "$as_dir" && as_dir=.
4388 for ac_prog in sed gsed; do
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4391 as_fn_executable_p "$ac_path_SED" || continue
4392 # Check for GNU ac_path_SED and select it if it is found.
4393 # Check for GNU $ac_path_SED
4394 case `"$ac_path_SED" --version 2>&1` in
4396 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4399 $as_echo_n 0123456789 >"conftest.in"
4402 cat "conftest.in" "conftest.in" >"conftest.tmp"
4403 mv "conftest.tmp" "conftest.in"
4404 cp "conftest.in" "conftest.nl"
4405 $as_echo '' >> "conftest.nl"
4406 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408 as_fn_arith $ac_count + 1 && ac_count=$as_val
4409 if test $ac_count -gt ${ac_path_SED_max-0}; then
4410 # Best one so far, save it but keep looking for a better one
4411 ac_cv_path_SED="$ac_path_SED"
4412 ac_path_SED_max=$ac_count
4414 # 10*(2^10) chars as input seems more than enough
4415 test $ac_count -gt 10 && break
4417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4420 $ac_path_SED_found && break 3
4425 if test -z "$ac_cv_path_SED"; then
4426 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4434 $as_echo "$ac_cv_path_SED" >&6; }
4435 SED="$ac_cv_path_SED"
4438 test -z "$SED" && SED=sed
4439 Xsed="$SED -e 1s/^X//"
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4452 $as_echo_n "checking for fgrep... " >&6; }
4453 if ${ac_cv_path_FGREP+:} false; then :
4454 $as_echo_n "(cached) " >&6
4456 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4457 then ac_cv_path_FGREP="$GREP -F"
4459 if test -z "$FGREP"; then
4460 ac_path_FGREP_found=false
4461 # Loop through the user's path and test for each of PROGNAME-LIST
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4466 test -z "$as_dir" && as_dir=.
4467 for ac_prog in fgrep; do
4468 for ac_exec_ext in '' $ac_executable_extensions; do
4469 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4470 as_fn_executable_p "$ac_path_FGREP" || continue
4471 # Check for GNU ac_path_FGREP and select it if it is found.
4472 # Check for GNU $ac_path_FGREP
4473 case `"$ac_path_FGREP" --version 2>&1` in
4475 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4478 $as_echo_n 0123456789 >"conftest.in"
4481 cat "conftest.in" "conftest.in" >"conftest.tmp"
4482 mv "conftest.tmp" "conftest.in"
4483 cp "conftest.in" "conftest.nl"
4484 $as_echo 'FGREP' >> "conftest.nl"
4485 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4486 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4487 as_fn_arith $ac_count + 1 && ac_count=$as_val
4488 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4489 # Best one so far, save it but keep looking for a better one
4490 ac_cv_path_FGREP="$ac_path_FGREP"
4491 ac_path_FGREP_max=$ac_count
4493 # 10*(2^10) chars as input seems more than enough
4494 test $ac_count -gt 10 && break
4496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4499 $ac_path_FGREP_found && break 3
4504 if test -z "$ac_cv_path_FGREP"; then
4505 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4508 ac_cv_path_FGREP=$FGREP
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4514 $as_echo "$ac_cv_path_FGREP" >&6; }
4515 FGREP="$ac_cv_path_FGREP"
4518 test -z "$GREP" && GREP=grep
4538 # Check whether --with-gnu-ld was given.
4539 if test "${with_gnu_ld+set}" = set; then :
4540 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4546 if test "$GCC" = yes; then
4547 # Check if gcc -print-prog-name=ld gives a path.
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4549 $as_echo_n "checking for ld used by $CC... " >&6; }
4552 # gcc leaves a trailing carriage return which upsets mingw
4553 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4555 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4558 # Accept absolute paths.
4560 re_direlt='/[^/][^/]*/\.\./'
4561 # Canonicalize the pathname of ld
4562 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4563 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4564 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4566 test -z "$LD" && LD="$ac_prog"
4569 # If it fails, then pretend we aren't using GCC.
4573 # If it is relative, then search for the first ld in PATH.
4577 elif test "$with_gnu_ld" = yes; then
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4579 $as_echo_n "checking for GNU ld... " >&6; }
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4582 $as_echo_n "checking for non-GNU ld... " >&6; }
4584 if ${lt_cv_path_LD+:} false; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -z "$LD"; then
4588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4589 for ac_dir in $PATH; do
4591 test -z "$ac_dir" && ac_dir=.
4592 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4593 lt_cv_path_LD="$ac_dir/$ac_prog"
4594 # Check to see if the program is GNU ld. I'd rather use --version,
4595 # but apparently some variants of GNU ld only accept -v.
4596 # Break only if it was the GNU/non-GNU ld that we prefer.
4597 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4598 *GNU* | *'with BFD'*)
4599 test "$with_gnu_ld" != no && break
4602 test "$with_gnu_ld" != yes && break
4609 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4614 if test -n "$LD"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4616 $as_echo "$LD" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4621 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4623 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4624 if ${lt_cv_prog_gnu_ld+:} false; then :
4625 $as_echo_n "(cached) " >&6
4627 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4628 case `$LD -v 2>&1 </dev/null` in
4629 *GNU* | *'with BFD'*)
4630 lt_cv_prog_gnu_ld=yes
4633 lt_cv_prog_gnu_ld=no
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4638 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4639 with_gnu_ld=$lt_cv_prog_gnu_ld
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4650 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4651 if ${lt_cv_path_NM+:} false; then :
4652 $as_echo_n "(cached) " >&6
4654 if test -n "$NM"; then
4655 # Let the user override the test.
4658 lt_nm_to_check="${ac_tool_prefix}nm"
4659 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4660 lt_nm_to_check="$lt_nm_to_check nm"
4662 for lt_tmp_nm in $lt_nm_to_check; do
4663 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4664 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4666 test -z "$ac_dir" && ac_dir=.
4667 tmp_nm="$ac_dir/$lt_tmp_nm"
4668 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4669 # Check to see if the nm accepts a BSD-compat flag.
4670 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4671 # nm: unknown option "B" ignored
4672 # Tru64's nm complains that /dev/null is an invalid object file
4673 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4674 */dev/null* | *'Invalid file or object type'*)
4675 lt_cv_path_NM="$tmp_nm -B"
4679 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4681 lt_cv_path_NM="$tmp_nm -p"
4685 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4686 continue # so that we can try to find one that supports BSD flags
4695 : ${lt_cv_path_NM=no}
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4699 $as_echo "$lt_cv_path_NM" >&6; }
4700 if test "$lt_cv_path_NM" != "no"; then
4703 # Didn't find any BSD compatible name lister, look for dumpbin.
4704 if test -n "$DUMPBIN"; then :
4705 # Let the user override the test.
4707 if test -n "$ac_tool_prefix"; then
4708 for ac_prog in dumpbin "link -dump"
4710 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if ${ac_cv_prog_DUMPBIN+:} false; then :
4715 $as_echo_n "(cached) " >&6
4717 if test -n "$DUMPBIN"; then
4718 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 test -z "$as_dir" && as_dir=.
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 DUMPBIN=$ac_cv_prog_DUMPBIN
4738 if test -n "$DUMPBIN"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4740 $as_echo "$DUMPBIN" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4747 test -n "$DUMPBIN" && break
4750 if test -z "$DUMPBIN"; then
4751 ac_ct_DUMPBIN=$DUMPBIN
4752 for ac_prog in dumpbin "link -dump"
4754 # Extract the first word of "$ac_prog", so it can be a program name with args.
4755 set dummy $ac_prog; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -n "$ac_ct_DUMPBIN"; then
4762 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4782 if test -n "$ac_ct_DUMPBIN"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4784 $as_echo "$ac_ct_DUMPBIN" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4791 test -n "$ac_ct_DUMPBIN" && break
4794 if test "x$ac_ct_DUMPBIN" = x; then
4797 case $cross_compiling:$ac_tool_warned in
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4801 ac_tool_warned=yes ;;
4803 DUMPBIN=$ac_ct_DUMPBIN
4807 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4809 DUMPBIN="$DUMPBIN -symbols"
4817 if test "$DUMPBIN" != ":"; then
4821 test -z "$NM" && NM=nm
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4829 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4830 if ${lt_cv_nm_interface+:} false; then :
4831 $as_echo_n "(cached) " >&6
4833 lt_cv_nm_interface="BSD nm"
4834 echo "int some_variable = 0;" > conftest.$ac_ext
4835 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4836 (eval "$ac_compile" 2>conftest.err)
4837 cat conftest.err >&5
4838 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4839 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4840 cat conftest.err >&5
4841 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4842 cat conftest.out >&5
4843 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4844 lt_cv_nm_interface="MS dumpbin"
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4849 $as_echo "$lt_cv_nm_interface" >&6; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4852 $as_echo_n "checking whether ln -s works... " >&6; }
4854 if test "$LN_S" = "ln -s"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4856 $as_echo "yes" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4859 $as_echo "no, using $LN_S" >&6; }
4862 # find the maximum length of command line arguments
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4864 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4865 if ${lt_cv_sys_max_cmd_len+:} false; then :
4866 $as_echo_n "(cached) " >&6
4873 # On DJGPP, this test can blow up pretty badly due to problems in libc
4874 # (any single argument exceeding 2000 bytes causes a buffer overrun
4875 # during glob expansion). Even if it were fixed, the result of this
4876 # check would be larger than it should be.
4877 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4881 # Under GNU Hurd, this test is not required because there is
4882 # no limit to the length of command line arguments.
4883 # Libtool will interpret -1 as no limit whatsoever
4884 lt_cv_sys_max_cmd_len=-1;
4887 cygwin* | mingw* | cegcc*)
4888 # On Win9x/ME, this test blows up -- it succeeds, but takes
4889 # about 5 minutes as the teststring grows exponentially.
4890 # Worse, since 9x/ME are not pre-emptively multitasking,
4891 # you end up with a "frozen" computer, even though with patience
4892 # the test eventually succeeds (with a max line length of 256k).
4893 # Instead, let's just punt: use the minimum linelength reported by
4894 # all of the supported platforms: 8192 (on NT/2K/XP).
4895 lt_cv_sys_max_cmd_len=8192;
4899 # On MiNT this can take a long time and run out of memory.
4900 lt_cv_sys_max_cmd_len=8192;
4904 # On AmigaOS with pdksh, this test takes hours, literally.
4905 # So we just punt and use a minimum line length of 8192.
4906 lt_cv_sys_max_cmd_len=8192;
4909 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4910 # This has been around since 386BSD, at least. Likely further.
4911 if test -x /sbin/sysctl; then
4912 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4913 elif test -x /usr/sbin/sysctl; then
4914 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4916 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4918 # And add a safety zone
4919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4924 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4925 lt_cv_sys_max_cmd_len=196608
4929 # The test takes a long time on OS/2.
4930 lt_cv_sys_max_cmd_len=8192
4934 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4935 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4936 # nice to cause kernel panics so lets avoid the loop below.
4937 # First set a reasonable default.
4938 lt_cv_sys_max_cmd_len=16384
4940 if test -x /sbin/sysconfig; then
4941 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4942 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4947 lt_cv_sys_max_cmd_len=102400
4949 sysv5* | sco5v6* | sysv4.2uw2*)
4950 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4951 if test -n "$kargmax"; then
4952 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4954 lt_cv_sys_max_cmd_len=32768
4958 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4959 if test -n "$lt_cv_sys_max_cmd_len"; then
4960 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4963 # Make teststring a little bigger before we do anything with it.
4964 # a 1K string should be a reasonable start.
4965 for i in 1 2 3 4 5 6 7 8 ; do
4966 teststring=$teststring$teststring
4968 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4969 # If test is not a shell built-in, we'll probably end up computing a
4970 # maximum length that is only half of the actual maximum length, but
4972 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4973 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4974 test $i != 17 # 1/2 MB should be enough
4977 teststring=$teststring$teststring
4979 # Only check the string length outside the loop.
4980 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4982 # Add a significant safety factor because C++ compilers can tack on
4983 # massive amounts of additional arguments before passing them to the
4984 # linker. It appears as though 1/2 is a usable value.
4985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4992 if test -n $lt_cv_sys_max_cmd_len ; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4994 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4997 $as_echo "none" >&6; }
4999 max_cmd_len=$lt_cv_sys_max_cmd_len
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5011 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5012 # Try some XSI features
5015 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5017 && eval 'test $(( 1 + 1 )) -eq 2 \
5018 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5021 $as_echo "$xsi_shell" >&6; }
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5025 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5027 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5029 && lt_shell_append=yes
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5031 $as_echo "$lt_shell_append" >&6; }
5034 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5044 # test EBCDIC or ASCII
5045 case `echo X|tr X '\101'` in
5046 A) # ASCII based system
5047 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5048 lt_SP2NL='tr \040 \012'
5049 lt_NL2SP='tr \015\012 \040\040'
5051 *) # EBCDIC based system
5052 lt_SP2NL='tr \100 \n'
5053 lt_NL2SP='tr \r\n \100\100'
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5066 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5067 if ${lt_cv_to_host_file_cmd+:} false; then :
5068 $as_echo_n "(cached) " >&6
5073 *-*-mingw* ) # actually msys
5074 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5077 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5079 * ) # otherwise, assume *nix
5080 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5086 *-*-mingw* ) # actually msys
5087 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5090 lt_cv_to_host_file_cmd=func_convert_file_noop
5092 * ) # otherwise, assume *nix
5093 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5097 * ) # unhandled hosts (and "normal" native builds)
5098 lt_cv_to_host_file_cmd=func_convert_file_noop
5104 to_host_file_cmd=$lt_cv_to_host_file_cmd
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5106 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5113 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5114 if ${lt_cv_to_tool_file_cmd+:} false; then :
5115 $as_echo_n "(cached) " >&6
5117 #assume ordinary cross tools, or native build.
5118 lt_cv_to_tool_file_cmd=func_convert_file_noop
5122 *-*-mingw* ) # actually msys
5123 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5131 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5133 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5140 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5141 if ${lt_cv_ld_reload_flag+:} false; then :
5142 $as_echo_n "(cached) " >&6
5144 lt_cv_ld_reload_flag='-r'
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5147 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5148 reload_flag=$lt_cv_ld_reload_flag
5149 case $reload_flag in
5151 *) reload_flag=" $reload_flag" ;;
5153 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5155 cygwin* | mingw* | pw32* | cegcc*)
5156 if test "$GCC" != yes; then
5161 if test "$GCC" = yes; then
5162 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5164 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5177 if test -n "$ac_tool_prefix"; then
5178 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5179 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_OBJDUMP+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$OBJDUMP"; then
5186 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 OBJDUMP=$ac_cv_prog_OBJDUMP
5206 if test -n "$OBJDUMP"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5208 $as_echo "$OBJDUMP" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5216 if test -z "$ac_cv_prog_OBJDUMP"; then
5217 ac_ct_OBJDUMP=$OBJDUMP
5218 # Extract the first word of "objdump", so it can be a program name with args.
5219 set dummy objdump; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$ac_ct_OBJDUMP"; then
5226 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5246 if test -n "$ac_ct_OBJDUMP"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5248 $as_echo "$ac_ct_OBJDUMP" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5254 if test "x$ac_ct_OBJDUMP" = x; then
5257 case $cross_compiling:$ac_tool_warned in
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261 ac_tool_warned=yes ;;
5263 OBJDUMP=$ac_ct_OBJDUMP
5266 OBJDUMP="$ac_cv_prog_OBJDUMP"
5269 test -z "$OBJDUMP" && OBJDUMP=objdump
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5277 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5278 if ${lt_cv_deplibs_check_method+:} false; then :
5279 $as_echo_n "(cached) " >&6
5281 lt_cv_file_magic_cmd='$MAGIC_CMD'
5282 lt_cv_file_magic_test_file=
5283 lt_cv_deplibs_check_method='unknown'
5284 # Need to set the preceding variable on all platforms that support
5285 # interlibrary dependencies.
5286 # 'none' -- dependencies not supported.
5287 # `unknown' -- same as none, but documents that we really don't know.
5288 # 'pass_all' -- all dependencies passed with no checks.
5289 # 'test_compile' -- check by making test program.
5290 # 'file_magic [[regex]]' -- check by looking for files in library path
5291 # which responds to the $file_magic_cmd with a given extended regex.
5292 # If you have `file' or equivalent on your system and you're not sure
5293 # whether `pass_all' will *always* work, you probably want this one.
5297 lt_cv_deplibs_check_method=pass_all
5301 lt_cv_deplibs_check_method=pass_all
5305 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5306 lt_cv_file_magic_cmd='/usr/bin/file -L'
5307 lt_cv_file_magic_test_file=/shlib/libc.so
5311 # func_win32_libid is a shell function defined in ltmain.sh
5312 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5313 lt_cv_file_magic_cmd='func_win32_libid'
5317 # Base MSYS/MinGW do not provide the 'file' command needed by
5318 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5319 # unless we find 'file', for example because we are cross-compiling.
5320 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5321 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5322 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5323 lt_cv_file_magic_cmd='func_win32_libid'
5325 # Keep this pattern in sync with the one in func_win32_libid.
5326 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5327 lt_cv_file_magic_cmd='$OBJDUMP -f'
5332 # use the weaker test based on 'objdump'. See mingw*.
5333 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5334 lt_cv_file_magic_cmd='$OBJDUMP -f'
5337 darwin* | rhapsody*)
5338 lt_cv_deplibs_check_method=pass_all
5341 freebsd* | dragonfly*)
5342 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5345 # Not sure whether the presence of OpenBSD here was a mistake.
5346 # Let's accept both of them until this is cleared up.
5347 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5348 lt_cv_file_magic_cmd=/usr/bin/file
5349 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5353 lt_cv_deplibs_check_method=pass_all
5358 lt_cv_deplibs_check_method=pass_all
5362 lt_cv_deplibs_check_method=pass_all
5365 hpux10.20* | hpux11*)
5366 lt_cv_file_magic_cmd=/usr/bin/file
5369 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5370 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5373 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]'
5374 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5377 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5378 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5384 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5388 irix5* | irix6* | nonstopux*)
5390 *-32|*"-32 ") libmagic=32-bit;;
5391 *-n32|*"-n32 ") libmagic=N32;;
5392 *-64|*"-64 ") libmagic=64-bit;;
5393 *) libmagic=never-match;;
5395 lt_cv_deplibs_check_method=pass_all
5398 # This must be glibc/ELF.
5399 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5400 lt_cv_deplibs_check_method=pass_all
5403 netbsd* | netbsdelf*-gnu)
5404 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5405 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5407 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5412 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5413 lt_cv_file_magic_cmd=/usr/bin/file
5414 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5418 lt_cv_deplibs_check_method=pass_all
5422 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5423 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5425 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5429 osf3* | osf4* | osf5*)
5430 lt_cv_deplibs_check_method=pass_all
5434 lt_cv_deplibs_check_method=pass_all
5438 lt_cv_deplibs_check_method=pass_all
5441 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5442 lt_cv_deplibs_check_method=pass_all
5446 case $host_vendor in
5448 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]'
5449 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5452 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_file_magic_cmd='/bin/file'
5456 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5459 lt_cv_file_magic_cmd='/bin/file'
5460 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5461 lt_cv_file_magic_test_file=/lib/libc.so
5464 lt_cv_deplibs_check_method=pass_all
5467 lt_cv_deplibs_check_method=pass_all
5473 lt_cv_deplibs_check_method=pass_all
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5479 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5483 if test "$build" = "$host"; then
5486 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5489 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5495 file_magic_cmd=$lt_cv_file_magic_cmd
5496 deplibs_check_method=$lt_cv_deplibs_check_method
5497 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5520 if test -n "$ac_tool_prefix"; then
5521 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_DLLTOOL+:} false; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$DLLTOOL"; then
5529 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 DLLTOOL=$ac_cv_prog_DLLTOOL
5549 if test -n "$DLLTOOL"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5551 $as_echo "$DLLTOOL" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if test -z "$ac_cv_prog_DLLTOOL"; then
5560 ac_ct_DLLTOOL=$DLLTOOL
5561 # Extract the first word of "dlltool", so it can be a program name with args.
5562 set dummy dlltool; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$ac_ct_DLLTOOL"; then
5569 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5589 if test -n "$ac_ct_DLLTOOL"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5591 $as_echo "$ac_ct_DLLTOOL" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5597 if test "x$ac_ct_DLLTOOL" = x; then
5600 case $cross_compiling:$ac_tool_warned in
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned=yes ;;
5606 DLLTOOL=$ac_ct_DLLTOOL
5609 DLLTOOL="$ac_cv_prog_DLLTOOL"
5612 test -z "$DLLTOOL" && DLLTOOL=dlltool
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5621 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5622 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5623 $as_echo_n "(cached) " >&6
5625 lt_cv_sharedlib_from_linklib_cmd='unknown'
5628 cygwin* | mingw* | pw32* | cegcc*)
5629 # two different shell functions defined in ltmain.sh
5630 # decide which to use based on capabilities of $DLLTOOL
5631 case `$DLLTOOL --help 2>&1` in
5632 *--identify-strict*)
5633 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5636 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5641 # fallback: assume linklib IS sharedlib
5642 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5648 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5649 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5650 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5658 if test -n "$ac_tool_prefix"; then
5661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_AR+:} false; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$AR"; then
5669 ac_cv_prog_AR="$AR" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 if test -n "$AR"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5691 $as_echo "$AR" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 test -n "$AR" && break
5701 if test -z "$AR"; then
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$ac_ct_AR"; then
5713 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_ac_ct_AR="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5733 if test -n "$ac_ct_AR"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5735 $as_echo "$ac_ct_AR" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$ac_ct_AR" && break
5745 if test "x$ac_ct_AR" = x; then
5748 case $cross_compiling:$ac_tool_warned in
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5772 $as_echo_n "checking for archiver @FILE support... " >&6; }
5773 if ${lt_cv_ar_at_file+:} false; then :
5774 $as_echo_n "(cached) " >&6
5777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5778 /* end confdefs.h. */
5788 if ac_fn_c_try_compile "$LINENO"; then :
5789 echo conftest.$ac_objext > conftest.lst
5790 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5791 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5792 (eval $lt_ar_try) 2>&5
5794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5795 test $ac_status = 0; }
5796 if test "$ac_status" -eq 0; then
5797 # Ensure the archiver fails upon bogus file names.
5798 rm -f conftest.$ac_objext libconftest.a
5799 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5800 (eval $lt_ar_try) 2>&5
5802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5803 test $ac_status = 0; }
5804 if test "$ac_status" -ne 0; then
5808 rm -f conftest.* libconftest.a
5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5815 $as_echo "$lt_cv_ar_at_file" >&6; }
5817 if test "x$lt_cv_ar_at_file" = xno; then
5820 archiver_list_spec=$lt_cv_ar_at_file
5829 if test -n "$ac_tool_prefix"; then
5830 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5831 set dummy ${ac_tool_prefix}strip; ac_word=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if ${ac_cv_prog_STRIP+:} false; then :
5835 $as_echo_n "(cached) " >&6
5837 if test -n "$STRIP"; then
5838 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir=.
5845 for ac_exec_ext in '' $ac_executable_extensions; do
5846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5847 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 STRIP=$ac_cv_prog_STRIP
5858 if test -n "$STRIP"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5860 $as_echo "$STRIP" >&6; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5868 if test -z "$ac_cv_prog_STRIP"; then
5870 # Extract the first word of "strip", so it can be a program name with args.
5871 set dummy strip; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5875 $as_echo_n "(cached) " >&6
5877 if test -n "$ac_ct_STRIP"; then
5878 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5887 ac_cv_prog_ac_ct_STRIP="strip"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5898 if test -n "$ac_ct_STRIP"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5900 $as_echo "$ac_ct_STRIP" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903 $as_echo "no" >&6; }
5906 if test "x$ac_ct_STRIP" = x; then
5909 case $cross_compiling:$ac_tool_warned in
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5913 ac_tool_warned=yes ;;
5918 STRIP="$ac_cv_prog_STRIP"
5921 test -z "$STRIP" && STRIP=:
5928 if test -n "$ac_tool_prefix"; then
5929 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5930 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5932 $as_echo_n "checking for $ac_word... " >&6; }
5933 if ${ac_cv_prog_RANLIB+:} false; then :
5934 $as_echo_n "(cached) " >&6
5936 if test -n "$RANLIB"; then
5937 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 test -z "$as_dir" && as_dir=.
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5946 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 RANLIB=$ac_cv_prog_RANLIB
5957 if test -n "$RANLIB"; then
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5959 $as_echo "$RANLIB" >&6; }
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5962 $as_echo "no" >&6; }
5967 if test -z "$ac_cv_prog_RANLIB"; then
5968 ac_ct_RANLIB=$RANLIB
5969 # Extract the first word of "ranlib", so it can be a program name with args.
5970 set dummy ranlib; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5974 $as_echo_n "(cached) " >&6
5976 if test -n "$ac_ct_RANLIB"; then
5977 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986 ac_cv_prog_ac_ct_RANLIB="ranlib"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5997 if test -n "$ac_ct_RANLIB"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5999 $as_echo "$ac_ct_RANLIB" >&6; }
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6005 if test "x$ac_ct_RANLIB" = x; then
6008 case $cross_compiling:$ac_tool_warned in
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6012 ac_tool_warned=yes ;;
6014 RANLIB=$ac_ct_RANLIB
6017 RANLIB="$ac_cv_prog_RANLIB"
6020 test -z "$RANLIB" && RANLIB=:
6027 # Determine commands to create old-style static archives.
6028 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6029 old_postinstall_cmds='chmod 644 $oldlib'
6030 old_postuninstall_cmds=
6032 if test -n "$RANLIB"; then
6035 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6038 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6041 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6046 lock_old_archive_extraction=yes ;;
6048 lock_old_archive_extraction=no ;;
6089 # If no C compiler was specified, use CC.
6092 # If no C compiler flags were specified, use CFLAGS.
6093 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6095 # Allow CC to be a program name with arguments.
6099 # Check for command to grab the raw symbol name followed by C symbol from nm.
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6101 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6102 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6103 $as_echo_n "(cached) " >&6
6106 # These are sane defaults that work on at least a few old systems.
6107 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6109 # Character class describing NM global symbol codes.
6110 symcode='[BCDEGRST]'
6112 # Regexp to match symbols that can be accessed directly from C.
6113 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6115 # Define system-specific variables.
6120 cygwin* | mingw* | pw32* | cegcc*)
6121 symcode='[ABCDGISTW]'
6124 if test "$host_cpu" = ia64; then
6125 symcode='[ABCDEGRST]'
6129 symcode='[BCDEGRST]'
6132 symcode='[BCDEGQRST]'
6143 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6151 # If we're using GNU nm, then use its standard symbol codes.
6152 case `$NM -V 2>&1` in
6153 *GNU* | *'with BFD'*)
6154 symcode='[ABCDGIRSTW]' ;;
6157 # Transform an extracted symbol line into a proper C declaration.
6158 # Some systems (esp. on ia64) link data and code symbols differently,
6159 # so use this general approach.
6160 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6162 # Transform an extracted symbol line into symbol name and symbol address
6163 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6164 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'"
6166 # Handle CRLF in mingw tool chain
6170 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6174 # Try without a prefix underscore, then with it.
6175 for ac_symprfx in "" "_"; do
6177 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6178 symxfrm="\\1 $ac_symprfx\\2 \\2"
6180 # Write the raw and C identifiers.
6181 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6182 # Fake it for dumpbin and say T for any non-static function
6183 # and D for any global variable.
6184 # Also find C++ and __fastcall symbols from MSVC++,
6185 # which start with @ or ?.
6186 lt_cv_sys_global_symbol_pipe="$AWK '"\
6187 " {last_section=section; section=\$ 3};"\
6188 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6189 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6190 " \$ 0!~/External *\|/{next};"\
6191 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6192 " {if(hide[section]) next};"\
6193 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6194 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6195 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6196 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6197 " ' prfx=^$ac_symprfx"
6199 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6201 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6203 # Check to see that the pipe works correctly.
6207 cat > conftest.$ac_ext <<_LT_EOF
6212 void nm_test_func(void);
6213 void nm_test_func(void){}
6217 int main(){nm_test_var='a';nm_test_func();return(0);}
6220 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6221 (eval $ac_compile) 2>&5
6223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6224 test $ac_status = 0; }; then
6225 # Now try to grab the symbols.
6227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6228 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6231 test $ac_status = 0; } && test -s "$nlist"; then
6232 # Try sorting and uniquifying the output.
6233 if sort "$nlist" | uniq > "$nlist"T; then
6234 mv -f "$nlist"T "$nlist"
6239 # Make sure that we snagged all the symbols we need.
6240 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6241 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6242 cat <<_LT_EOF > conftest.$ac_ext
6243 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6244 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6245 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6246 relocations are performed -- see ld's documentation on pseudo-relocs. */
6247 # define LT_DLSYM_CONST
6248 #elif defined(__osf__)
6249 /* This system does not cope well with relocations in const data. */
6250 # define LT_DLSYM_CONST
6252 # define LT_DLSYM_CONST const
6260 # Now generate the symbol file.
6261 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6263 cat <<_LT_EOF >> conftest.$ac_ext
6265 /* The mapping between symbol names and symbols. */
6266 LT_DLSYM_CONST struct {
6270 lt__PROGRAM__LTX_preloaded_symbols[] =
6272 { "@PROGRAM@", (void *) 0 },
6274 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6275 cat <<\_LT_EOF >> conftest.$ac_ext
6279 /* This works around a problem in FreeBSD linker */
6280 #ifdef FREEBSD_WORKAROUND
6281 static const void *lt_preloaded_setup() {
6282 return lt__PROGRAM__LTX_preloaded_symbols;
6290 # Now try linking the two files.
6291 mv conftest.$ac_objext conftstm.$ac_objext
6292 lt_globsym_save_LIBS=$LIBS
6293 lt_globsym_save_CFLAGS=$CFLAGS
6294 LIBS="conftstm.$ac_objext"
6295 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6297 (eval $ac_link) 2>&5
6299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6300 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6303 LIBS=$lt_globsym_save_LIBS
6304 CFLAGS=$lt_globsym_save_CFLAGS
6306 echo "cannot find nm_test_func in $nlist" >&5
6309 echo "cannot find nm_test_var in $nlist" >&5
6312 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6315 echo "$progname: failed program was:" >&5
6316 cat conftest.$ac_ext >&5
6318 rm -rf conftest* conftst*
6320 # Do not use the global_symbol_pipe unless it works.
6321 if test "$pipe_works" = yes; then
6324 lt_cv_sys_global_symbol_pipe=
6330 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6331 lt_cv_sys_global_symbol_to_cdecl=
6333 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6335 $as_echo "failed" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6338 $as_echo "ok" >&6; }
6341 # Response file support.
6342 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6343 nm_file_list_spec='@'
6344 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6345 nm_file_list_spec='@'
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6375 $as_echo_n "checking for sysroot... " >&6; }
6377 # Check whether --with-sysroot was given.
6378 if test "${with_sysroot+set}" = set; then :
6379 withval=$with_sysroot;
6386 case ${with_sysroot} in #(
6388 if test "$GCC" = yes; then
6389 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6393 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6399 $as_echo "${with_sysroot}" >&6; }
6400 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6405 $as_echo "${lt_sysroot:-no}" >&6; }
6411 # Check whether --enable-libtool-lock was given.
6412 if test "${enable_libtool_lock+set}" = set; then :
6413 enableval=$enable_libtool_lock;
6416 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6418 # Some flags need to be propagated to the compiler or linker for good
6422 # Find out which ABI we are using.
6423 echo 'int i;' > conftest.$ac_ext
6424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6425 (eval $ac_compile) 2>&5
6427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6428 test $ac_status = 0; }; then
6429 case `/usr/bin/file conftest.$ac_objext` in
6441 # Find out which ABI we are using.
6442 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6444 (eval $ac_compile) 2>&5
6446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6447 test $ac_status = 0; }; then
6448 if test "$lt_cv_prog_gnu_ld" = yes; then
6449 case `/usr/bin/file conftest.$ac_objext` in
6451 LD="${LD-ld} -melf32bsmip"
6454 LD="${LD-ld} -melf32bmipn32"
6457 LD="${LD-ld} -melf64bmip"
6461 case `/usr/bin/file conftest.$ac_objext` in
6477 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6478 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6479 # Find out which ABI we are using.
6480 echo 'int i;' > conftest.$ac_ext
6481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6482 (eval $ac_compile) 2>&5
6484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6485 test $ac_status = 0; }; then
6486 case `/usr/bin/file conftest.o` in
6489 x86_64-*kfreebsd*-gnu)
6490 LD="${LD-ld} -m elf_i386_fbsd"
6493 LD="${LD-ld} -m elf_i386"
6495 ppc64-*linux*|powerpc64-*linux*)
6496 LD="${LD-ld} -m elf32ppclinux"
6499 LD="${LD-ld} -m elf_s390"
6502 LD="${LD-ld} -m elf32_sparc"
6508 x86_64-*kfreebsd*-gnu)
6509 LD="${LD-ld} -m elf_x86_64_fbsd"
6512 LD="${LD-ld} -m elf_x86_64"
6514 ppc*-*linux*|powerpc*-*linux*)
6515 LD="${LD-ld} -m elf64ppc"
6517 s390*-*linux*|s390*-*tpf*)
6518 LD="${LD-ld} -m elf64_s390"
6521 LD="${LD-ld} -m elf64_sparc"
6531 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6532 SAVE_CFLAGS="$CFLAGS"
6533 CFLAGS="$CFLAGS -belf"
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6535 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6536 if ${lt_cv_cc_needs_belf+:} false; then :
6537 $as_echo_n "(cached) " >&6
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6556 if ac_fn_c_try_link "$LINENO"; then :
6557 lt_cv_cc_needs_belf=yes
6559 lt_cv_cc_needs_belf=no
6561 rm -f core conftest.err conftest.$ac_objext \
6562 conftest$ac_exeext conftest.$ac_ext
6564 ac_cpp='$CPP $CPPFLAGS'
6565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6571 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6572 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6573 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6574 CFLAGS="$SAVE_CFLAGS"
6578 # Find out which ABI we are using.
6579 echo 'int i;' > conftest.$ac_ext
6580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6581 (eval $ac_compile) 2>&5
6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6584 test $ac_status = 0; }; then
6585 case `/usr/bin/file conftest.o` in
6587 case $lt_cv_prog_gnu_ld in
6591 LD="${LD-ld} -m elf_x86_64"
6594 LD="${LD-ld} -m elf64_sparc"
6597 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6598 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6603 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6615 need_locks="$enable_libtool_lock"
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6619 set dummy ${ac_tool_prefix}mt; ac_word=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6623 $as_echo_n "(cached) " >&6
6625 if test -n "$MANIFEST_TOOL"; then
6626 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir=.
6633 for ac_exec_ext in '' $ac_executable_extensions; do
6634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6646 if test -n "$MANIFEST_TOOL"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6648 $as_echo "$MANIFEST_TOOL" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6657 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6658 # Extract the first word of "mt", so it can be a program name with args.
6659 set dummy mt; ac_word=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6663 $as_echo_n "(cached) " >&6
6665 if test -n "$ac_ct_MANIFEST_TOOL"; then
6666 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 test -z "$as_dir" && as_dir=.
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6675 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6686 if test -n "$ac_ct_MANIFEST_TOOL"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6688 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6694 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6697 case $cross_compiling:$ac_tool_warned in
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned=yes ;;
6703 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6706 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6709 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6711 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6712 if ${lt_cv_path_mainfest_tool+:} false; then :
6713 $as_echo_n "(cached) " >&6
6715 lt_cv_path_mainfest_tool=no
6716 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6717 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6718 cat conftest.err >&5
6719 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6720 lt_cv_path_mainfest_tool=yes
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6725 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6726 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6736 rhapsody* | darwin*)
6737 if test -n "$ac_tool_prefix"; then
6738 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6739 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 $as_echo_n "checking for $ac_word... " >&6; }
6742 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6743 $as_echo_n "(cached) " >&6
6745 if test -n "$DSYMUTIL"; then
6746 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 test -z "$as_dir" && as_dir=.
6753 for ac_exec_ext in '' $ac_executable_extensions; do
6754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6755 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6766 if test -n "$DSYMUTIL"; then
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6768 $as_echo "$DSYMUTIL" >&6; }
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771 $as_echo "no" >&6; }
6776 if test -z "$ac_cv_prog_DSYMUTIL"; then
6777 ac_ct_DSYMUTIL=$DSYMUTIL
6778 # Extract the first word of "dsymutil", so it can be a program name with args.
6779 set dummy dsymutil; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6783 $as_echo_n "(cached) " >&6
6785 if test -n "$ac_ct_DSYMUTIL"; then
6786 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6806 if test -n "$ac_ct_DSYMUTIL"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6808 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6814 if test "x$ac_ct_DSYMUTIL" = x; then
6817 case $cross_compiling:$ac_tool_warned in
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6821 ac_tool_warned=yes ;;
6823 DSYMUTIL=$ac_ct_DSYMUTIL
6826 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6829 if test -n "$ac_tool_prefix"; then
6830 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6831 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6833 $as_echo_n "checking for $ac_word... " >&6; }
6834 if ${ac_cv_prog_NMEDIT+:} false; then :
6835 $as_echo_n "(cached) " >&6
6837 if test -n "$NMEDIT"; then
6838 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 test -z "$as_dir" && as_dir=.
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6847 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6857 NMEDIT=$ac_cv_prog_NMEDIT
6858 if test -n "$NMEDIT"; then
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6860 $as_echo "$NMEDIT" >&6; }
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6863 $as_echo "no" >&6; }
6868 if test -z "$ac_cv_prog_NMEDIT"; then
6869 ac_ct_NMEDIT=$NMEDIT
6870 # Extract the first word of "nmedit", so it can be a program name with args.
6871 set dummy nmedit; ac_word=$2
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873 $as_echo_n "checking for $ac_word... " >&6; }
6874 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6875 $as_echo_n "(cached) " >&6
6877 if test -n "$ac_ct_NMEDIT"; then
6878 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6898 if test -n "$ac_ct_NMEDIT"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6900 $as_echo "$ac_ct_NMEDIT" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903 $as_echo "no" >&6; }
6906 if test "x$ac_ct_NMEDIT" = x; then
6909 case $cross_compiling:$ac_tool_warned in
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6913 ac_tool_warned=yes ;;
6915 NMEDIT=$ac_ct_NMEDIT
6918 NMEDIT="$ac_cv_prog_NMEDIT"
6921 if test -n "$ac_tool_prefix"; then
6922 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6923 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6925 $as_echo_n "checking for $ac_word... " >&6; }
6926 if ${ac_cv_prog_LIPO+:} false; then :
6927 $as_echo_n "(cached) " >&6
6929 if test -n "$LIPO"; then
6930 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 test -z "$as_dir" && as_dir=.
6937 for ac_exec_ext in '' $ac_executable_extensions; do
6938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6939 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6949 LIPO=$ac_cv_prog_LIPO
6950 if test -n "$LIPO"; then
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6952 $as_echo "$LIPO" >&6; }
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6955 $as_echo "no" >&6; }
6960 if test -z "$ac_cv_prog_LIPO"; then
6962 # Extract the first word of "lipo", so it can be a program name with args.
6963 set dummy lipo; ac_word=$2
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965 $as_echo_n "checking for $ac_word... " >&6; }
6966 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6967 $as_echo_n "(cached) " >&6
6969 if test -n "$ac_ct_LIPO"; then
6970 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir=.
6977 for ac_exec_ext in '' $ac_executable_extensions; do
6978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979 ac_cv_prog_ac_ct_LIPO="lipo"
6980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6990 if test -n "$ac_ct_LIPO"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6992 $as_echo "$ac_ct_LIPO" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
6998 if test "x$ac_ct_LIPO" = x; then
7001 case $cross_compiling:$ac_tool_warned in
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7005 ac_tool_warned=yes ;;
7010 LIPO="$ac_cv_prog_LIPO"
7013 if test -n "$ac_tool_prefix"; then
7014 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7015 set dummy ${ac_tool_prefix}otool; ac_word=$2
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7017 $as_echo_n "checking for $ac_word... " >&6; }
7018 if ${ac_cv_prog_OTOOL+:} false; then :
7019 $as_echo_n "(cached) " >&6
7021 if test -n "$OTOOL"; then
7022 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041 OTOOL=$ac_cv_prog_OTOOL
7042 if test -n "$OTOOL"; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7044 $as_echo "$OTOOL" >&6; }
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 $as_echo "no" >&6; }
7052 if test -z "$ac_cv_prog_OTOOL"; then
7054 # Extract the first word of "otool", so it can be a program name with args.
7055 set dummy otool; ac_word=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7059 $as_echo_n "(cached) " >&6
7061 if test -n "$ac_ct_OTOOL"; then
7062 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068 test -z "$as_dir" && as_dir=.
7069 for ac_exec_ext in '' $ac_executable_extensions; do
7070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7071 ac_cv_prog_ac_ct_OTOOL="otool"
7072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7082 if test -n "$ac_ct_OTOOL"; then
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7084 $as_echo "$ac_ct_OTOOL" >&6; }
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7087 $as_echo "no" >&6; }
7090 if test "x$ac_ct_OTOOL" = x; then
7093 case $cross_compiling:$ac_tool_warned in
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7097 ac_tool_warned=yes ;;
7102 OTOOL="$ac_cv_prog_OTOOL"
7105 if test -n "$ac_tool_prefix"; then
7106 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7107 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if ${ac_cv_prog_OTOOL64+:} false; then :
7111 $as_echo_n "(cached) " >&6
7113 if test -n "$OTOOL64"; then
7114 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120 test -z "$as_dir" && as_dir=.
7121 for ac_exec_ext in '' $ac_executable_extensions; do
7122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7123 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 OTOOL64=$ac_cv_prog_OTOOL64
7134 if test -n "$OTOOL64"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7136 $as_echo "$OTOOL64" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7144 if test -z "$ac_cv_prog_OTOOL64"; then
7145 ac_ct_OTOOL64=$OTOOL64
7146 # Extract the first word of "otool64", so it can be a program name with args.
7147 set dummy otool64; ac_word=$2
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149 $as_echo_n "checking for $ac_word... " >&6; }
7150 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7151 $as_echo_n "(cached) " >&6
7153 if test -n "$ac_ct_OTOOL64"; then
7154 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir=.
7161 for ac_exec_ext in '' $ac_executable_extensions; do
7162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7163 ac_cv_prog_ac_ct_OTOOL64="otool64"
7164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7174 if test -n "$ac_ct_OTOOL64"; then
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7176 $as_echo "$ac_ct_OTOOL64" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 $as_echo "no" >&6; }
7182 if test "x$ac_ct_OTOOL64" = x; then
7185 case $cross_compiling:$ac_tool_warned in
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7189 ac_tool_warned=yes ;;
7191 OTOOL64=$ac_ct_OTOOL64
7194 OTOOL64="$ac_cv_prog_OTOOL64"
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7224 $as_echo_n "checking for -single_module linker flag... " >&6; }
7225 if ${lt_cv_apple_cc_single_mod+:} false; then :
7226 $as_echo_n "(cached) " >&6
7228 lt_cv_apple_cc_single_mod=no
7229 if test -z "${LT_MULTI_MODULE}"; then
7230 # By default we will add the -single_module flag. You can override
7231 # by either setting the environment variable LT_MULTI_MODULE
7232 # non-empty at configure time, or by adding -multi_module to the
7234 rm -rf libconftest.dylib*
7235 echo "int foo(void){return 1;}" > conftest.c
7236 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7237 -dynamiclib -Wl,-single_module conftest.c" >&5
7238 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7239 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7241 # If there is a non-empty error log, and "single_module"
7242 # appears in it, assume the flag caused a linker warning
7243 if test -s conftest.err && $GREP single_module conftest.err; then
7244 cat conftest.err >&5
7245 # Otherwise, if the output was created with a 0 exit code from
7246 # the compiler, it worked.
7247 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7248 lt_cv_apple_cc_single_mod=yes
7250 cat conftest.err >&5
7252 rm -rf libconftest.dylib*
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7257 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7260 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7261 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7262 $as_echo_n "(cached) " >&6
7264 lt_cv_ld_exported_symbols_list=no
7265 save_LDFLAGS=$LDFLAGS
7266 echo "_main" > conftest.sym
7267 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h. */
7279 if ac_fn_c_try_link "$LINENO"; then :
7280 lt_cv_ld_exported_symbols_list=yes
7282 lt_cv_ld_exported_symbols_list=no
7284 rm -f core conftest.err conftest.$ac_objext \
7285 conftest$ac_exeext conftest.$ac_ext
7286 LDFLAGS="$save_LDFLAGS"
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7290 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7293 $as_echo_n "checking for -force_load linker flag... " >&6; }
7294 if ${lt_cv_ld_force_load+:} false; then :
7295 $as_echo_n "(cached) " >&6
7297 lt_cv_ld_force_load=no
7298 cat > conftest.c << _LT_EOF
7299 int forced_loaded() { return 2;}
7301 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7302 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7303 echo "$AR cru libconftest.a conftest.o" >&5
7304 $AR cru libconftest.a conftest.o 2>&5
7305 echo "$RANLIB libconftest.a" >&5
7306 $RANLIB libconftest.a 2>&5
7307 cat > conftest.c << _LT_EOF
7308 int main() { return 0;}
7310 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7311 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7313 if test -s conftest.err && $GREP force_load conftest.err; then
7314 cat conftest.err >&5
7315 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7316 lt_cv_ld_force_load=yes
7318 cat conftest.err >&5
7320 rm -f conftest.err libconftest.a conftest conftest.c
7321 rm -rf conftest.dSYM
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7325 $as_echo "$lt_cv_ld_force_load" >&6; }
7327 rhapsody* | darwin1.[012])
7328 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7330 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7331 darwin*) # darwin 5.x on
7332 # if running on 10.5 or later, the deployment target defaults
7333 # to the OS version, if on x86, and 10.4, the deployment
7334 # target defaults to 10.4. Don't you love it?
7335 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7336 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7337 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7339 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7341 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7345 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7346 _lt_dar_single_mod='$single_module'
7348 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7349 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7351 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7353 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7354 _lt_dsymutil='~$DSYMUTIL $lib || :'
7361 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7362 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7363 inttypes.h stdint.h unistd.h
7365 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7366 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7369 cat >>confdefs.h <<_ACEOF
7370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7378 for ac_header in dlfcn.h
7380 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7382 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7383 cat >>confdefs.h <<_ACEOF
7384 #define HAVE_DLFCN_H 1
7396 enable_win32_dll=yes
7399 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7402 set dummy ${ac_tool_prefix}as; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_AS+:} false; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$AS"; then
7409 ac_cv_prog_AS="$AS" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_prog_AS="${ac_tool_prefix}as"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7429 if test -n "$AS"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7431 $as_echo "$AS" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7439 if test -z "$ac_cv_prog_AS"; then
7441 # Extract the first word of "as", so it can be a program name with args.
7442 set dummy as; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7446 $as_echo_n "(cached) " >&6
7448 if test -n "$ac_ct_AS"; then
7449 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7458 ac_cv_prog_ac_ct_AS="as"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7469 if test -n "$ac_ct_AS"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7471 $as_echo "$ac_ct_AS" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7477 if test "x$ac_ct_AS" = x; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned=yes ;;
7492 if test -n "$ac_tool_prefix"; then
7493 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7494 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7496 $as_echo_n "checking for $ac_word... " >&6; }
7497 if ${ac_cv_prog_DLLTOOL+:} false; then :
7498 $as_echo_n "(cached) " >&6
7500 if test -n "$DLLTOOL"; then
7501 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7507 test -z "$as_dir" && as_dir=.
7508 for ac_exec_ext in '' $ac_executable_extensions; do
7509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7510 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 DLLTOOL=$ac_cv_prog_DLLTOOL
7521 if test -n "$DLLTOOL"; then
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7523 $as_echo "$DLLTOOL" >&6; }
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7526 $as_echo "no" >&6; }
7531 if test -z "$ac_cv_prog_DLLTOOL"; then
7532 ac_ct_DLLTOOL=$DLLTOOL
7533 # Extract the first word of "dlltool", so it can be a program name with args.
7534 set dummy dlltool; ac_word=$2
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7536 $as_echo_n "checking for $ac_word... " >&6; }
7537 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7538 $as_echo_n "(cached) " >&6
7540 if test -n "$ac_ct_DLLTOOL"; then
7541 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7547 test -z "$as_dir" && as_dir=.
7548 for ac_exec_ext in '' $ac_executable_extensions; do
7549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7550 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7561 if test -n "$ac_ct_DLLTOOL"; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7563 $as_echo "$ac_ct_DLLTOOL" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7566 $as_echo "no" >&6; }
7569 if test "x$ac_ct_DLLTOOL" = x; then
7572 case $cross_compiling:$ac_tool_warned in
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7576 ac_tool_warned=yes ;;
7578 DLLTOOL=$ac_ct_DLLTOOL
7581 DLLTOOL="$ac_cv_prog_DLLTOOL"
7584 if test -n "$ac_tool_prefix"; then
7585 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7586 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_OBJDUMP+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$OBJDUMP"; then
7593 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 OBJDUMP=$ac_cv_prog_OBJDUMP
7613 if test -n "$OBJDUMP"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7615 $as_echo "$OBJDUMP" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_prog_OBJDUMP"; then
7624 ac_ct_OBJDUMP=$OBJDUMP
7625 # Extract the first word of "objdump", so it can be a program name with args.
7626 set dummy objdump; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$ac_ct_OBJDUMP"; then
7633 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7653 if test -n "$ac_ct_OBJDUMP"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7655 $as_echo "$ac_ct_OBJDUMP" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7661 if test "x$ac_ct_OBJDUMP" = x; then
7664 case $cross_compiling:$ac_tool_warned in
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned=yes ;;
7670 OBJDUMP=$ac_ct_OBJDUMP
7673 OBJDUMP="$ac_cv_prog_OBJDUMP"
7679 test -z "$AS" && AS=as
7685 test -z "$DLLTOOL" && DLLTOOL=dlltool
7691 test -z "$OBJDUMP" && OBJDUMP=objdump
7703 # Check whether --enable-shared was given.
7704 if test "${enable_shared+set}" = set; then :
7705 enableval=$enable_shared; p=${PACKAGE-default}
7707 yes) enable_shared=yes ;;
7708 no) enable_shared=no ;;
7711 # Look at the argument we got. We use all the common list separators.
7712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7713 for pkg in $enableval; do
7715 if test "X$pkg" = "X$p"; then
7734 # Check whether --enable-static was given.
7735 if test "${enable_static+set}" = set; then :
7736 enableval=$enable_static; p=${PACKAGE-default}
7738 yes) enable_static=yes ;;
7739 no) enable_static=no ;;
7742 # Look at the argument we got. We use all the common list separators.
7743 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7744 for pkg in $enableval; do
7746 if test "X$pkg" = "X$p"; then
7766 # Check whether --with-pic was given.
7767 if test "${with_pic+set}" = set; then :
7768 withval=$with_pic; lt_p=${PACKAGE-default}
7770 yes|no) pic_mode=$withval ;;
7773 # Look at the argument we got. We use all the common list separators.
7774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7775 for lt_pkg in $withval; do
7777 if test "X$lt_pkg" = "X$lt_p"; then
7789 test -z "$pic_mode" && pic_mode=default
7797 # Check whether --enable-fast-install was given.
7798 if test "${enable_fast_install+set}" = set; then :
7799 enableval=$enable_fast_install; p=${PACKAGE-default}
7801 yes) enable_fast_install=yes ;;
7802 no) enable_fast_install=no ;;
7804 enable_fast_install=no
7805 # Look at the argument we got. We use all the common list separators.
7806 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7807 for pkg in $enableval; do
7809 if test "X$pkg" = "X$p"; then
7810 enable_fast_install=yes
7817 enable_fast_install=yes
7830 # This can be used to rebuild libtool when needed
7831 LIBTOOL_DEPS="$ltmain"
7833 # Always use our own libtool.
7834 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7865 test -z "$LN_S" && LN_S="ln -s"
7880 if test -n "${ZSH_VERSION+set}" ; then
7881 setopt NO_GLOB_SUBST
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7885 $as_echo_n "checking for objdir... " >&6; }
7886 if ${lt_cv_objdir+:} false; then :
7887 $as_echo_n "(cached) " >&6
7889 rm -f .libs 2>/dev/null
7890 mkdir .libs 2>/dev/null
7891 if test -d .libs; then
7894 # MS-DOS does not allow filenames that begin with a dot.
7897 rmdir .libs 2>/dev/null
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7900 $as_echo "$lt_cv_objdir" >&6; }
7901 objdir=$lt_cv_objdir
7907 cat >>confdefs.h <<_ACEOF
7908 #define LT_OBJDIR "$lt_cv_objdir/"
7916 # AIX sometimes has problems with the GCC collect2 program. For some
7917 # reason, if we set the COLLECT_NAMES environment variable, the problems
7918 # vanish in a puff of smoke.
7919 if test "X${COLLECT_NAMES+set}" != Xset; then
7921 export COLLECT_NAMES
7928 can_build_shared=yes
7930 # All known linkers require a `.a' archive for static linking (except MSVC,
7931 # which needs '.lib').
7934 with_gnu_ld="$lt_cv_prog_gnu_ld"
7937 old_CFLAGS="$CFLAGS"
7939 # Set sane defaults for various variables
7940 test -z "$CC" && CC=cc
7941 test -z "$LTCC" && LTCC=$CC
7942 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7943 test -z "$LD" && LD=ld
7944 test -z "$ac_objext" && ac_objext=o
7946 for cc_temp in $compiler""; do
7948 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7949 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7954 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7957 # Only perform the check for file, if the check method requires it
7958 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7959 case $deplibs_check_method in
7961 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7963 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7964 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7965 $as_echo_n "(cached) " >&6
7969 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7972 lt_save_MAGIC_CMD="$MAGIC_CMD"
7973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7974 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7975 for ac_dir in $ac_dummy; do
7977 test -z "$ac_dir" && ac_dir=.
7978 if test -f $ac_dir/${ac_tool_prefix}file; then
7979 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7980 if test -n "$file_magic_test_file"; then
7981 case $deplibs_check_method in
7983 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7985 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7986 $EGREP "$file_magic_regex" > /dev/null; then
7991 *** Warning: the command libtool uses to detect shared libraries,
7992 *** $file_magic_cmd, produces output that libtool cannot recognize.
7993 *** The result is that libtool may fail to recognize shared libraries
7994 *** as such. This will affect the creation of libtool libraries that
7995 *** depend on shared libraries, but programs linked with such libtool
7996 *** libraries will work regardless of this problem. Nevertheless, you
7997 *** may want to report the problem to your system manager and/or to
7998 *** bug-libtool@gnu.org
8008 MAGIC_CMD="$lt_save_MAGIC_CMD"
8013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8014 if test -n "$MAGIC_CMD"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8016 $as_echo "$MAGIC_CMD" >&6; }
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8026 if test -z "$lt_cv_path_MAGIC_CMD"; then
8027 if test -n "$ac_tool_prefix"; then
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8029 $as_echo_n "checking for file... " >&6; }
8030 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8031 $as_echo_n "(cached) " >&6
8035 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8038 lt_save_MAGIC_CMD="$MAGIC_CMD"
8039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8040 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8041 for ac_dir in $ac_dummy; do
8043 test -z "$ac_dir" && ac_dir=.
8044 if test -f $ac_dir/file; then
8045 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8046 if test -n "$file_magic_test_file"; then
8047 case $deplibs_check_method in
8049 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8051 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8052 $EGREP "$file_magic_regex" > /dev/null; then
8057 *** Warning: the command libtool uses to detect shared libraries,
8058 *** $file_magic_cmd, produces output that libtool cannot recognize.
8059 *** The result is that libtool may fail to recognize shared libraries
8060 *** as such. This will affect the creation of libtool libraries that
8061 *** depend on shared libraries, but programs linked with such libtool
8062 *** libraries will work regardless of this problem. Nevertheless, you
8063 *** may want to report the problem to your system manager and/or to
8064 *** bug-libtool@gnu.org
8074 MAGIC_CMD="$lt_save_MAGIC_CMD"
8079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8080 if test -n "$MAGIC_CMD"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8082 $as_echo "$MAGIC_CMD" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8098 # Use C for the default configuration in the libtool script
8102 ac_cpp='$CPP $CPPFLAGS'
8103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8108 # Source file extension for C test sources.
8111 # Object file extension for compiled C test sources.
8115 # Code to be used in simple compile tests
8116 lt_simple_compile_test_code="int some_variable = 0;"
8118 # Code to be used in simple link tests
8119 lt_simple_link_test_code='int main(){return(0);}'
8127 # If no C compiler was specified, use CC.
8130 # If no C compiler flags were specified, use CFLAGS.
8131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8133 # Allow CC to be a program name with arguments.
8136 # Save the default compiler, since it gets overwritten when the other
8137 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8138 compiler_DEFAULT=$CC
8140 # save warnings/boilerplate of simple test code
8141 ac_outfile=conftest.$ac_objext
8142 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8144 _lt_compiler_boilerplate=`cat conftest.err`
8147 ac_outfile=conftest.$ac_objext
8148 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8150 _lt_linker_boilerplate=`cat conftest.err`
8155 ## There is no encapsulation within the following macros, do not change
8156 ## the running order or otherwise move them around unless you know exactly
8157 ## what you are doing...
8158 if test -n "$compiler"; then
8160 lt_prog_compiler_no_builtin_flag=
8162 if test "$GCC" = yes; then
8163 case $cc_basename in
8165 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8167 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8171 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8172 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8173 $as_echo_n "(cached) " >&6
8175 lt_cv_prog_compiler_rtti_exceptions=no
8176 ac_outfile=conftest.$ac_objext
8177 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8178 lt_compiler_flag="-fno-rtti -fno-exceptions"
8179 # Insert the option either (1) after the last *FLAGS variable, or
8180 # (2) before a word containing "conftest.", or (3) at the end.
8181 # Note that $ac_compile itself does not contain backslashes and begins
8182 # with a dollar sign (not a hyphen), so the echo should work correctly.
8183 # The option is referenced via a variable to avoid confusing sed.
8184 lt_compile=`echo "$ac_compile" | $SED \
8185 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8186 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8187 -e 's:$: $lt_compiler_flag:'`
8188 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8189 (eval "$lt_compile" 2>conftest.err)
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 if (exit $ac_status) && test -s "$ac_outfile"; then
8194 # The compiler can only warn and ignore the option if not recognized
8195 # So say no if there are warnings other than the usual output.
8196 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8197 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8198 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8199 lt_cv_prog_compiler_rtti_exceptions=yes
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8206 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8208 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8209 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8221 lt_prog_compiler_wl=
8222 lt_prog_compiler_pic=
8223 lt_prog_compiler_static=
8226 if test "$GCC" = yes; then
8227 lt_prog_compiler_wl='-Wl,'
8228 lt_prog_compiler_static='-static'
8232 # All AIX code is PIC.
8233 if test "$host_cpu" = ia64; then
8234 # AIX 5 now supports IA64 processor
8235 lt_prog_compiler_static='-Bstatic'
8242 # see comment about AmigaOS4 .so support
8243 lt_prog_compiler_pic='-fPIC'
8246 # FIXME: we need at least 68020 code to build shared libraries, but
8247 # adding the `-m68020' flag to GCC prevents building anything better,
8249 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8254 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8255 # PIC is the default for these OSes.
8258 mingw* | cygwin* | pw32* | os2* | cegcc*)
8259 # This hack is so that the source file can tell whether it is being
8260 # built for inclusion in a dll (and should export symbols for example).
8261 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8262 # (--disable-auto-import) libraries
8263 lt_prog_compiler_pic='-DDLL_EXPORT'
8266 darwin* | rhapsody*)
8267 # PIC is the default on this platform
8268 # Common symbols not allowed in MH_DYLIB files
8269 lt_prog_compiler_pic='-fno-common'
8273 # PIC is the default for Haiku.
8274 # The "-static" flag exists, but is broken.
8275 lt_prog_compiler_static=
8279 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8280 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8281 # sets the default TLS model and affects inlining.
8287 lt_prog_compiler_pic='-fPIC'
8293 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8294 # Instead, we relocate shared libraries at runtime.
8298 # Just because we use GCC doesn't mean we suddenly get shared libraries
8299 # on systems that don't support them.
8300 lt_prog_compiler_can_build_shared=no
8305 # QNX uses GNU C++, but need to define -shared option too, otherwise
8307 lt_prog_compiler_pic='-fPIC -shared'
8311 if test -d /usr/nec; then
8312 lt_prog_compiler_pic=-Kconform_pic
8317 lt_prog_compiler_pic='-fPIC'
8321 case $cc_basename in
8322 nvcc*) # Cuda Compiler Driver 2.2
8323 lt_prog_compiler_wl='-Xlinker '
8324 if test -n "$lt_prog_compiler_pic"; then
8325 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8330 # PORTME Check for flag to pass linker flags through the system compiler.
8333 lt_prog_compiler_wl='-Wl,'
8334 if test "$host_cpu" = ia64; then
8335 # AIX 5 now supports IA64 processor
8336 lt_prog_compiler_static='-Bstatic'
8338 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8342 mingw* | cygwin* | pw32* | os2* | cegcc*)
8343 # This hack is so that the source file can tell whether it is being
8344 # built for inclusion in a dll (and should export symbols for example).
8345 lt_prog_compiler_pic='-DDLL_EXPORT'
8348 hpux9* | hpux10* | hpux11*)
8349 lt_prog_compiler_wl='-Wl,'
8350 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8357 lt_prog_compiler_pic='+Z'
8360 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8361 lt_prog_compiler_static='${wl}-a ${wl}archive'
8364 irix5* | irix6* | nonstopux*)
8365 lt_prog_compiler_wl='-Wl,'
8366 # PIC (with -KPIC) is the default.
8367 lt_prog_compiler_static='-non_shared'
8370 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8371 case $cc_basename in
8372 # old Intel for x86_64 which still supported -KPIC.
8374 lt_prog_compiler_wl='-Wl,'
8375 lt_prog_compiler_pic='-KPIC'
8376 lt_prog_compiler_static='-static'
8378 # icc used to be incompatible with GCC.
8379 # ICC 10 doesn't accept -KPIC any more.
8381 lt_prog_compiler_wl='-Wl,'
8382 lt_prog_compiler_pic='-fPIC'
8383 lt_prog_compiler_static='-static'
8385 # Lahey Fortran 8.1.
8387 lt_prog_compiler_wl='-Wl,'
8388 lt_prog_compiler_pic='--shared'
8389 lt_prog_compiler_static='--static'
8392 # NAG Fortran compiler
8393 lt_prog_compiler_wl='-Wl,-Wl,,'
8394 lt_prog_compiler_pic='-PIC'
8395 lt_prog_compiler_static='-Bstatic'
8397 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8398 # Portland Group compilers (*not* the Pentium gcc compiler,
8399 # which looks to be a dead project)
8400 lt_prog_compiler_wl='-Wl,'
8401 lt_prog_compiler_pic='-fpic'
8402 lt_prog_compiler_static='-Bstatic'
8405 lt_prog_compiler_wl='-Wl,'
8406 # All Alpha code is PIC.
8407 lt_prog_compiler_static='-non_shared'
8409 xl* | bgxl* | bgf* | mpixl*)
8410 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8411 lt_prog_compiler_wl='-Wl,'
8412 lt_prog_compiler_pic='-qpic'
8413 lt_prog_compiler_static='-qstaticlink'
8416 case `$CC -V 2>&1 | sed 5q` in
8417 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8418 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8419 lt_prog_compiler_pic='-KPIC'
8420 lt_prog_compiler_static='-Bstatic'
8421 lt_prog_compiler_wl=''
8423 *Sun\ F* | *Sun*Fortran*)
8424 lt_prog_compiler_pic='-KPIC'
8425 lt_prog_compiler_static='-Bstatic'
8426 lt_prog_compiler_wl='-Qoption ld '
8430 lt_prog_compiler_pic='-KPIC'
8431 lt_prog_compiler_static='-Bstatic'
8432 lt_prog_compiler_wl='-Wl,'
8434 *Intel*\ [CF]*Compiler*)
8435 lt_prog_compiler_wl='-Wl,'
8436 lt_prog_compiler_pic='-fPIC'
8437 lt_prog_compiler_static='-static'
8440 lt_prog_compiler_wl='-Wl,'
8441 lt_prog_compiler_pic='-fpic'
8442 lt_prog_compiler_static='-Bstatic'
8450 lt_prog_compiler_pic='-KPIC'
8451 lt_prog_compiler_static='-Bstatic'
8455 # QNX uses GNU C++, but need to define -shared option too, otherwise
8457 lt_prog_compiler_pic='-fPIC -shared'
8460 osf3* | osf4* | osf5*)
8461 lt_prog_compiler_wl='-Wl,'
8462 # All OSF/1 code is PIC.
8463 lt_prog_compiler_static='-non_shared'
8467 lt_prog_compiler_static='-non_shared'
8471 lt_prog_compiler_pic='-KPIC'
8472 lt_prog_compiler_static='-Bstatic'
8473 case $cc_basename in
8474 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8475 lt_prog_compiler_wl='-Qoption ld ';;
8477 lt_prog_compiler_wl='-Wl,';;
8482 lt_prog_compiler_wl='-Qoption ld '
8483 lt_prog_compiler_pic='-PIC'
8484 lt_prog_compiler_static='-Bstatic'
8487 sysv4 | sysv4.2uw2* | sysv4.3*)
8488 lt_prog_compiler_wl='-Wl,'
8489 lt_prog_compiler_pic='-KPIC'
8490 lt_prog_compiler_static='-Bstatic'
8494 if test -d /usr/nec ;then
8495 lt_prog_compiler_pic='-Kconform_pic'
8496 lt_prog_compiler_static='-Bstatic'
8500 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8501 lt_prog_compiler_wl='-Wl,'
8502 lt_prog_compiler_pic='-KPIC'
8503 lt_prog_compiler_static='-Bstatic'
8507 lt_prog_compiler_wl='-Wl,'
8508 lt_prog_compiler_can_build_shared=no
8512 lt_prog_compiler_pic='-pic'
8513 lt_prog_compiler_static='-Bstatic'
8517 lt_prog_compiler_can_build_shared=no
8523 # For platforms which do not support PIC, -DPIC is meaningless:
8525 lt_prog_compiler_pic=
8528 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8533 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8534 if ${lt_cv_prog_compiler_pic+:} false; then :
8535 $as_echo_n "(cached) " >&6
8537 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8540 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8541 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8544 # Check to make sure the PIC flag actually works.
8546 if test -n "$lt_prog_compiler_pic"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8548 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8549 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8550 $as_echo_n "(cached) " >&6
8552 lt_cv_prog_compiler_pic_works=no
8553 ac_outfile=conftest.$ac_objext
8554 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8555 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8556 # Insert the option either (1) after the last *FLAGS variable, or
8557 # (2) before a word containing "conftest.", or (3) at the end.
8558 # Note that $ac_compile itself does not contain backslashes and begins
8559 # with a dollar sign (not a hyphen), so the echo should work correctly.
8560 # The option is referenced via a variable to avoid confusing sed.
8561 lt_compile=`echo "$ac_compile" | $SED \
8562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8564 -e 's:$: $lt_compiler_flag:'`
8565 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8566 (eval "$lt_compile" 2>conftest.err)
8568 cat conftest.err >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 if (exit $ac_status) && test -s "$ac_outfile"; then
8571 # The compiler can only warn and ignore the option if not recognized
8572 # So say no if there are warnings other than the usual output.
8573 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8574 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8575 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8576 lt_cv_prog_compiler_pic_works=yes
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8583 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8585 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8586 case $lt_prog_compiler_pic in
8588 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8591 lt_prog_compiler_pic=
8592 lt_prog_compiler_can_build_shared=no
8608 # Check to make sure the static flag actually works.
8610 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8612 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8613 if ${lt_cv_prog_compiler_static_works+:} false; then :
8614 $as_echo_n "(cached) " >&6
8616 lt_cv_prog_compiler_static_works=no
8617 save_LDFLAGS="$LDFLAGS"
8618 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8619 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8620 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8621 # The linker can only warn and ignore the option if not recognized
8622 # So say no if there are warnings
8623 if test -s conftest.err; then
8624 # Append any errors to the config.log.
8625 cat conftest.err 1>&5
8626 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8627 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8628 if diff conftest.exp conftest.er2 >/dev/null; then
8629 lt_cv_prog_compiler_static_works=yes
8632 lt_cv_prog_compiler_static_works=yes
8636 LDFLAGS="$save_LDFLAGS"
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8640 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8642 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8645 lt_prog_compiler_static=
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8655 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8656 if ${lt_cv_prog_compiler_c_o+:} false; then :
8657 $as_echo_n "(cached) " >&6
8659 lt_cv_prog_compiler_c_o=no
8660 $RM -r conftest 2>/dev/null
8664 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8666 lt_compiler_flag="-o out/conftest2.$ac_objext"
8667 # Insert the option either (1) after the last *FLAGS variable, or
8668 # (2) before a word containing "conftest.", or (3) at the end.
8669 # Note that $ac_compile itself does not contain backslashes and begins
8670 # with a dollar sign (not a hyphen), so the echo should work correctly.
8671 lt_compile=`echo "$ac_compile" | $SED \
8672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8674 -e 's:$: $lt_compiler_flag:'`
8675 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8676 (eval "$lt_compile" 2>out/conftest.err)
8678 cat out/conftest.err >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8682 # The compiler can only warn and ignore the option if not recognized
8683 # So say no if there are warnings
8684 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8685 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8686 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8687 lt_cv_prog_compiler_c_o=yes
8692 # SGI C++ compiler will create directory out/ii_files/ for
8693 # template instantiation
8694 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8695 $RM out/* && rmdir out
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8702 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8710 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8711 if ${lt_cv_prog_compiler_c_o+:} false; then :
8712 $as_echo_n "(cached) " >&6
8714 lt_cv_prog_compiler_c_o=no
8715 $RM -r conftest 2>/dev/null
8719 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8721 lt_compiler_flag="-o out/conftest2.$ac_objext"
8722 # Insert the option either (1) after the last *FLAGS variable, or
8723 # (2) before a word containing "conftest.", or (3) at the end.
8724 # Note that $ac_compile itself does not contain backslashes and begins
8725 # with a dollar sign (not a hyphen), so the echo should work correctly.
8726 lt_compile=`echo "$ac_compile" | $SED \
8727 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8729 -e 's:$: $lt_compiler_flag:'`
8730 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8731 (eval "$lt_compile" 2>out/conftest.err)
8733 cat out/conftest.err >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8737 # The compiler can only warn and ignore the option if not recognized
8738 # So say no if there are warnings
8739 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8740 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8741 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8742 lt_cv_prog_compiler_c_o=yes
8747 # SGI C++ compiler will create directory out/ii_files/ for
8748 # template instantiation
8749 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8750 $RM out/* && rmdir out
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8757 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8762 hard_links="nottested"
8763 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8764 # do not overwrite the value of need_locks provided by the user
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8766 $as_echo_n "checking if we can lock with hard links... " >&6; }
8769 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8771 ln conftest.a conftest.b 2>&5 || hard_links=no
8772 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8774 $as_echo "$hard_links" >&6; }
8775 if test "$hard_links" = no; then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8777 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8790 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8793 allow_undefined_flag=
8794 always_export_symbols=no
8796 archive_expsym_cmds=
8797 compiler_needs_object=no
8798 enable_shared_with_static_runtimes=no
8799 export_dynamic_flag_spec=
8800 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8801 hardcode_automatic=no
8803 hardcode_direct_absolute=no
8804 hardcode_libdir_flag_spec=
8805 hardcode_libdir_separator=
8807 hardcode_shlibpath_var=unsupported
8809 link_all_deplibs=unknown
8812 old_archive_from_new_cmds=
8813 old_archive_from_expsyms_cmds=
8814 thread_safe_flag_spec=
8815 whole_archive_flag_spec=
8816 # include_expsyms should be a list of space-separated symbols to be *always*
8817 # included in the symbol list
8819 # exclude_expsyms can be an extended regexp of symbols to exclude
8820 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8821 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8822 # as well as any symbol that contains `d'.
8823 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8824 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8825 # platforms (ab)use it in PIC code, but their linkers get confused if
8826 # the symbol is explicitly referenced. Since portable code cannot
8827 # rely on this symbol name, it's probably fine to never include it in
8828 # preloaded symbol tables.
8829 # Exclude shared library initialization/finalization symbols.
8830 extract_expsyms_cmds=
8833 cygwin* | mingw* | pw32* | cegcc*)
8834 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8835 # When not using gcc, we currently assume that we are using
8836 # Microsoft Visual C++.
8837 if test "$GCC" != yes; then
8842 # we just hope/assume this is gcc and not c89 (= MSVC++)
8848 linux* | k*bsd*-gnu | gnu*)
8855 # On some targets, GNU ld is compatible enough with the native linker
8856 # that we're better off using the native interface for both.
8857 lt_use_gnu_ld_interface=no
8858 if test "$with_gnu_ld" = yes; then
8861 # The AIX port of GNU ld has always aspired to compatibility
8862 # with the native linker. However, as the warning in the GNU ld
8863 # block says, versions before 2.19.5* couldn't really create working
8864 # shared libraries, regardless of the interface used.
8865 case `$LD -v 2>&1` in
8866 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8867 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8868 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8870 lt_use_gnu_ld_interface=yes
8875 lt_use_gnu_ld_interface=yes
8880 if test "$lt_use_gnu_ld_interface" = yes; then
8881 # If archive_cmds runs LD, not CC, wlarc should be empty
8884 # Set some defaults for GNU ld with shared library support. These
8885 # are reset later if shared libraries are not supported. Putting them
8886 # here allows them to be overridden if necessary.
8887 runpath_var=LD_RUN_PATH
8888 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8889 export_dynamic_flag_spec='${wl}--export-dynamic'
8890 # ancient GNU ld didn't support --whole-archive et. al.
8891 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8892 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8894 whole_archive_flag_spec=
8896 supports_anon_versioning=no
8897 case `$LD -v 2>&1` in
8898 *GNU\ gold*) supports_anon_versioning=yes ;;
8899 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8900 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8901 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8902 *\ 2.11.*) ;; # other 2.11 versions
8903 *) supports_anon_versioning=yes ;;
8906 # See if GNU ld supports shared libraries.
8909 # On AIX/PPC, the GNU linker is very broken
8910 if test "$host_cpu" != ia64; then
8914 *** Warning: the GNU linker, at least up to release 2.19, is reported
8915 *** to be unable to reliably create shared libraries on AIX.
8916 *** Therefore, libtool is disabling shared libraries support. If you
8917 *** really care for shared libraries, you may want to install binutils
8918 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8919 *** You will then need to restart the configuration process.
8928 # see comment about AmigaOS4 .so support
8929 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8930 archive_expsym_cmds=''
8933 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)'
8934 hardcode_libdir_flag_spec='-L$libdir'
8935 hardcode_minus_L=yes
8941 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8942 allow_undefined_flag=unsupported
8943 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8944 # support --undefined. This deserves some investigation. FIXME
8945 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8951 cygwin* | mingw* | pw32* | cegcc*)
8952 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8953 # as there is no search path for DLLs.
8954 hardcode_libdir_flag_spec='-L$libdir'
8955 export_dynamic_flag_spec='${wl}--export-all-symbols'
8956 allow_undefined_flag=unsupported
8957 always_export_symbols=no
8958 enable_shared_with_static_runtimes=yes
8959 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'
8960 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8962 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8963 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8964 # If the export-symbols file already is a .def file (1st line
8965 # is EXPORTS), use it as is; otherwise, prepend...
8966 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8967 cp $export_symbols $output_objdir/$soname.def;
8969 echo EXPORTS > $output_objdir/$soname.def;
8970 cat $export_symbols >> $output_objdir/$soname.def;
8972 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8979 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8980 link_all_deplibs=yes
8985 hardcode_shlibpath_var=no
8986 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8987 export_dynamic_flag_spec='${wl}-E'
8988 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8989 # Instead, shared libraries are loaded at an image base (0x10000000 by
8990 # default) and relocated if they conflict, which is a slow very memory
8991 # consuming and fragmenting process. To avoid this, we pick a random,
8992 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8993 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8994 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8995 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'
8998 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9000 if test "$host_os" = linux-dietlibc; then
9001 case $cc_basename in
9002 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9005 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9006 && test "$tmp_diet" = no
9008 tmp_addflag=' $pic_flag'
9009 tmp_sharedflag='-shared'
9010 case $cc_basename,$host_cpu in
9011 pgcc*) # Portland Group C compiler
9012 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'
9013 tmp_addflag=' $pic_flag'
9015 pgf77* | pgf90* | pgf95* | pgfortran*)
9016 # Portland Group f77 and f90 compilers
9017 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'
9018 tmp_addflag=' $pic_flag -Mnomain' ;;
9019 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9020 tmp_addflag=' -i_dynamic' ;;
9021 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9022 tmp_addflag=' -i_dynamic -nofor_main' ;;
9023 ifc* | ifort*) # Intel Fortran compiler
9024 tmp_addflag=' -nofor_main' ;;
9025 lf95*) # Lahey Fortran 8.1
9026 whole_archive_flag_spec=
9027 tmp_sharedflag='--shared' ;;
9028 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9029 tmp_sharedflag='-qmkshrobj'
9031 nvcc*) # Cuda Compiler Driver 2.2
9032 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'
9033 compiler_needs_object=yes
9036 case `$CC -V 2>&1 | sed 5q` in
9037 *Sun\ C*) # Sun C 5.9
9038 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'
9039 compiler_needs_object=yes
9040 tmp_sharedflag='-G' ;;
9041 *Sun\ F*) # Sun Fortran 8.3
9042 tmp_sharedflag='-G' ;;
9044 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9046 if test "x$supports_anon_versioning" = xyes; then
9047 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9048 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9049 echo "local: *; };" >> $output_objdir/$libname.ver~
9050 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9053 case $cc_basename in
9054 xlf* | bgf* | bgxlf* | mpixlf*)
9055 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9056 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9058 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9059 if test "x$supports_anon_versioning" = xyes; then
9060 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9061 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9062 echo "local: *; };" >> $output_objdir/$libname.ver~
9063 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9072 netbsd* | netbsdelf*-gnu)
9073 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9074 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9077 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9078 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9083 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9087 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9088 *** create shared libraries on Solaris systems. Therefore, libtool
9089 *** is disabling shared libraries support. We urge you to upgrade GNU
9090 *** binutils to release 2.9.1 or newer. Another option is to modify
9091 *** your PATH or compiler configuration so that the native linker is
9092 *** used, and then restart.
9095 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9096 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9097 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9104 case `$LD -v 2>&1` in
9105 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9109 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9110 *** reliably create shared libraries on SCO systems. Therefore, libtool
9111 *** is disabling shared libraries support. We urge you to upgrade GNU
9112 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9113 *** your PATH or compiler configuration so that the native linker is
9114 *** used, and then restart.
9119 # For security reasons, it is highly recommended that you always
9120 # use absolute paths for naming shared libraries, and exclude the
9121 # DT_RUNPATH tag from executables and libraries. But doing so
9122 # requires that you compile everything twice, which is a pain.
9123 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9124 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9125 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9135 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9138 hardcode_shlibpath_var=no
9142 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9143 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9144 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9151 if test "$ld_shlibs" = no; then
9153 hardcode_libdir_flag_spec=
9154 export_dynamic_flag_spec=
9155 whole_archive_flag_spec=
9158 # PORTME fill in a description of your system's linker (not GNU ld)
9161 allow_undefined_flag=unsupported
9162 always_export_symbols=yes
9163 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'
9164 # Note: this linker hardcodes the directories in LIBPATH if there
9165 # are no directories specified by -L.
9166 hardcode_minus_L=yes
9167 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9168 # Neither direct hardcoding nor static linking is supported with a
9170 hardcode_direct=unsupported
9175 if test "$host_cpu" = ia64; then
9176 # On IA64, the linker does run time linking by default, so we don't
9177 # have to do anything special.
9178 aix_use_runtimelinking=no
9179 exp_sym_flag='-Bexport'
9182 # If we're using GNU nm, then we don't want the "-C" option.
9183 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9184 # Also, AIX nm treats weak defined symbols like other global
9185 # defined symbols, whereas GNU nm marks them as "W".
9186 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9187 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'
9189 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'
9191 aix_use_runtimelinking=no
9193 # Test if we are trying to use run time linking or normal
9194 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9195 # need to do runtime linking.
9196 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9197 for ld_flag in $LDFLAGS; do
9198 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9199 aix_use_runtimelinking=yes
9206 exp_sym_flag='-bexport'
9207 no_entry_flag='-bnoentry'
9210 # When large executables or shared objects are built, AIX ld can
9211 # have problems creating the table of contents. If linking a library
9212 # or program results in "error TOC overflow" add -mminimal-toc to
9213 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9214 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9218 hardcode_direct_absolute=yes
9219 hardcode_libdir_separator=':'
9220 link_all_deplibs=yes
9221 file_list_spec='${wl}-f,'
9223 if test "$GCC" = yes; then
9224 case $host_os in aix4.[012]|aix4.[012].*)
9225 # We only want to do this on AIX 4.2 and lower, the check
9226 # below for broken collect2 doesn't work under 4.3+
9227 collect2name=`${CC} -print-prog-name=collect2`
9228 if test -f "$collect2name" &&
9229 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9231 # We have reworked collect2
9234 # We have old collect2
9235 hardcode_direct=unsupported
9236 # It fails to find uninstalled libraries when the uninstalled
9237 # path is not listed in the libpath. Setting hardcode_minus_L
9238 # to unsupported forces relinking
9239 hardcode_minus_L=yes
9240 hardcode_libdir_flag_spec='-L$libdir'
9241 hardcode_libdir_separator=
9245 shared_flag='-shared'
9246 if test "$aix_use_runtimelinking" = yes; then
9247 shared_flag="$shared_flag "'${wl}-G'
9252 if test "$host_cpu" = ia64; then
9253 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9254 # chokes on -Wl,-G. The following line is correct:
9257 if test "$aix_use_runtimelinking" = yes; then
9258 shared_flag='${wl}-G'
9260 shared_flag='${wl}-bM:SRE'
9265 export_dynamic_flag_spec='${wl}-bexpall'
9266 # It seems that -bexpall does not export symbols beginning with
9267 # underscore (_), so it is better to generate a list of symbols to export.
9268 always_export_symbols=yes
9269 if test "$aix_use_runtimelinking" = yes; then
9270 # Warning - without using the other runtime loading flags (-brtl),
9271 # -berok will link without error, but may produce a broken library.
9272 allow_undefined_flag='-berok'
9273 # Determine the default libpath from the value encoded in an
9275 if test "${lt_cv_aix_libpath+set}" = set; then
9276 aix_libpath=$lt_cv_aix_libpath
9278 if ${lt_cv_aix_libpath_+:} false; then :
9279 $as_echo_n "(cached) " >&6
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9292 if ac_fn_c_try_link "$LINENO"; then :
9294 lt_aix_libpath_sed='
9295 /Import File Strings/,/^$/ {
9297 s/^0 *\([^ ]*\) *$/\1/
9301 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9302 # Check for a 64-bit object if we didn't find anything.
9303 if test -z "$lt_cv_aix_libpath_"; then
9304 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9307 rm -f core conftest.err conftest.$ac_objext \
9308 conftest$ac_exeext conftest.$ac_ext
9309 if test -z "$lt_cv_aix_libpath_"; then
9310 lt_cv_aix_libpath_="/usr/lib:/lib"
9315 aix_libpath=$lt_cv_aix_libpath_
9318 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9319 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"
9321 if test "$host_cpu" = ia64; then
9322 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9323 allow_undefined_flag="-z nodefs"
9324 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"
9326 # Determine the default libpath from the value encoded in an
9328 if test "${lt_cv_aix_libpath+set}" = set; then
9329 aix_libpath=$lt_cv_aix_libpath
9331 if ${lt_cv_aix_libpath_+:} false; then :
9332 $as_echo_n "(cached) " >&6
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9345 if ac_fn_c_try_link "$LINENO"; then :
9347 lt_aix_libpath_sed='
9348 /Import File Strings/,/^$/ {
9350 s/^0 *\([^ ]*\) *$/\1/
9354 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355 # Check for a 64-bit object if we didn't find anything.
9356 if test -z "$lt_cv_aix_libpath_"; then
9357 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9360 rm -f core conftest.err conftest.$ac_objext \
9361 conftest$ac_exeext conftest.$ac_ext
9362 if test -z "$lt_cv_aix_libpath_"; then
9363 lt_cv_aix_libpath_="/usr/lib:/lib"
9368 aix_libpath=$lt_cv_aix_libpath_
9371 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9372 # Warning - without using the other run time loading flags,
9373 # -berok will link without error, but may produce a broken library.
9374 no_undefined_flag=' ${wl}-bernotok'
9375 allow_undefined_flag=' ${wl}-berok'
9376 if test "$with_gnu_ld" = yes; then
9377 # We only use this code for GNU lds that support --whole-archive.
9378 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9380 # Exported symbols can be pulled into shared objects from archives
9381 whole_archive_flag_spec='$convenience'
9383 archive_cmds_need_lc=yes
9384 # This is similar to how AIX traditionally builds its shared libraries.
9385 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'
9393 # see comment about AmigaOS4 .so support
9394 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 archive_expsym_cmds=''
9398 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)'
9399 hardcode_libdir_flag_spec='-L$libdir'
9400 hardcode_minus_L=yes
9406 export_dynamic_flag_spec=-rdynamic
9409 cygwin* | mingw* | pw32* | cegcc*)
9410 # When not using gcc, we currently assume that we are using
9411 # Microsoft Visual C++.
9412 # hardcode_libdir_flag_spec is actually meaningless, as there is
9413 # no search path for DLLs.
9414 case $cc_basename in
9417 hardcode_libdir_flag_spec=' '
9418 allow_undefined_flag=unsupported
9419 always_export_symbols=yes
9421 # Tell ltmain to make .lib files, not .a files.
9423 # Tell ltmain to make .dll files, not .so files.
9425 # FIXME: Setting linknames here is a bad hack.
9426 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9427 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9428 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9430 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9432 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9434 # The linker will not automatically build a static lib if we build a DLL.
9435 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9436 enable_shared_with_static_runtimes=yes
9437 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9438 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9440 old_postinstall_cmds='chmod 644 $oldlib'
9441 postlink_cmds='lt_outputfile="@OUTPUT@"~
9442 lt_tool_outputfile="@TOOL_OUTPUT@"~
9443 case $lt_outputfile in
9446 lt_outputfile="$lt_outputfile.exe"
9447 lt_tool_outputfile="$lt_tool_outputfile.exe"
9450 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9451 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9452 $RM "$lt_outputfile.manifest";
9456 # Assume MSVC wrapper
9457 hardcode_libdir_flag_spec=' '
9458 allow_undefined_flag=unsupported
9459 # Tell ltmain to make .lib files, not .a files.
9461 # Tell ltmain to make .dll files, not .so files.
9463 # FIXME: Setting linknames here is a bad hack.
9464 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9465 # The linker will automatically build a .lib file if we build a DLL.
9466 old_archive_from_new_cmds='true'
9467 # FIXME: Should let the user specify the lib program.
9468 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9469 enable_shared_with_static_runtimes=yes
9474 darwin* | rhapsody*)
9477 archive_cmds_need_lc=no
9479 hardcode_automatic=yes
9480 hardcode_shlibpath_var=unsupported
9481 if test "$lt_cv_ld_force_load" = "yes"; then
9482 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\"`'
9485 whole_archive_flag_spec=''
9487 link_all_deplibs=yes
9488 allow_undefined_flag="$_lt_dar_allow_undefined"
9489 case $cc_basename in
9490 ifort*) _lt_dar_can_shared=yes ;;
9491 *) _lt_dar_can_shared=$GCC ;;
9493 if test "$_lt_dar_can_shared" = "yes"; then
9494 output_verbose_link_cmd=func_echo_all
9495 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9496 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9497 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}"
9498 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}"
9507 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9508 hardcode_libdir_flag_spec='-L$libdir'
9509 hardcode_shlibpath_var=no
9512 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9513 # support. Future versions do this automatically, but an explicit c++rt0.o
9514 # does not break anything, and helps significantly (at the cost of a little
9517 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9518 hardcode_libdir_flag_spec='-R$libdir'
9520 hardcode_shlibpath_var=no
9523 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9525 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9527 hardcode_minus_L=yes
9528 hardcode_shlibpath_var=no
9531 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9532 freebsd* | dragonfly*)
9533 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9534 hardcode_libdir_flag_spec='-R$libdir'
9536 hardcode_shlibpath_var=no
9540 if test "$GCC" = yes; then
9541 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'
9543 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'
9545 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9546 hardcode_libdir_separator=:
9549 # hardcode_minus_L: Not really in the search PATH,
9550 # but as the default location of the library.
9551 hardcode_minus_L=yes
9552 export_dynamic_flag_spec='${wl}-E'
9556 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9557 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9559 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9561 if test "$with_gnu_ld" = no; then
9562 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9563 hardcode_libdir_separator=:
9565 hardcode_direct_absolute=yes
9566 export_dynamic_flag_spec='${wl}-E'
9567 # hardcode_minus_L: Not really in the search PATH,
9568 # but as the default location of the library.
9569 hardcode_minus_L=yes
9574 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9577 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9583 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9596 # Older versions of the 11.00 compiler do not understand -b yet
9597 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9599 $as_echo_n "checking if $CC understands -b... " >&6; }
9600 if ${lt_cv_prog_compiler__b+:} false; then :
9601 $as_echo_n "(cached) " >&6
9603 lt_cv_prog_compiler__b=no
9604 save_LDFLAGS="$LDFLAGS"
9605 LDFLAGS="$LDFLAGS -b"
9606 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9607 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9608 # The linker can only warn and ignore the option if not recognized
9609 # So say no if there are warnings
9610 if test -s conftest.err; then
9611 # Append any errors to the config.log.
9612 cat conftest.err 1>&5
9613 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9614 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9615 if diff conftest.exp conftest.er2 >/dev/null; then
9616 lt_cv_prog_compiler__b=yes
9619 lt_cv_prog_compiler__b=yes
9623 LDFLAGS="$save_LDFLAGS"
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9627 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9629 if test x"$lt_cv_prog_compiler__b" = xyes; then
9630 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9638 if test "$with_gnu_ld" = no; then
9639 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9640 hardcode_libdir_separator=:
9645 hardcode_shlibpath_var=no
9649 hardcode_direct_absolute=yes
9650 export_dynamic_flag_spec='${wl}-E'
9652 # hardcode_minus_L: Not really in the search PATH,
9653 # but as the default location of the library.
9654 hardcode_minus_L=yes
9660 irix5* | irix6* | nonstopux*)
9661 if test "$GCC" = yes; then
9662 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'
9663 # Try to use the -exported_symbol ld option, if it does not
9664 # work, assume that -exports_file does not work either and
9665 # implicitly export all symbols.
9666 # This should be the same for all languages, so no per-tag cache variable.
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9668 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9669 if ${lt_cv_irix_exported_symbol+:} false; then :
9670 $as_echo_n "(cached) " >&6
9672 save_LDFLAGS="$LDFLAGS"
9673 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9676 int foo (void) { return 0; }
9678 if ac_fn_c_try_link "$LINENO"; then :
9679 lt_cv_irix_exported_symbol=yes
9681 lt_cv_irix_exported_symbol=no
9683 rm -f core conftest.err conftest.$ac_objext \
9684 conftest$ac_exeext conftest.$ac_ext
9685 LDFLAGS="$save_LDFLAGS"
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9688 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9689 if test "$lt_cv_irix_exported_symbol" = yes; then
9690 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'
9693 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'
9694 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'
9696 archive_cmds_need_lc='no'
9697 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9698 hardcode_libdir_separator=:
9700 link_all_deplibs=yes
9703 netbsd* | netbsdelf*-gnu)
9704 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9705 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9707 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9709 hardcode_libdir_flag_spec='-R$libdir'
9711 hardcode_shlibpath_var=no
9715 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9717 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9718 hardcode_libdir_separator=:
9719 hardcode_shlibpath_var=no
9726 if test -f /usr/libexec/ld.so; then
9728 hardcode_shlibpath_var=no
9729 hardcode_direct_absolute=yes
9730 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9731 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9732 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9733 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9734 export_dynamic_flag_spec='${wl}-E'
9737 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9738 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9739 hardcode_libdir_flag_spec='-R$libdir'
9742 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9743 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9753 hardcode_libdir_flag_spec='-L$libdir'
9754 hardcode_minus_L=yes
9755 allow_undefined_flag=unsupported
9756 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'
9757 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9761 if test "$GCC" = yes; then
9762 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9763 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'
9765 allow_undefined_flag=' -expect_unresolved \*'
9766 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'
9768 archive_cmds_need_lc='no'
9769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9770 hardcode_libdir_separator=:
9773 osf4* | osf5*) # as osf3* with the addition of -msym flag
9774 if test "$GCC" = yes; then
9775 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9776 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'
9777 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9779 allow_undefined_flag=' -expect_unresolved \*'
9780 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'
9781 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~
9782 $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'
9784 # Both c and cxx compiler support -rpath directly
9785 hardcode_libdir_flag_spec='-rpath $libdir'
9787 archive_cmds_need_lc='no'
9788 hardcode_libdir_separator=:
9792 no_undefined_flag=' -z defs'
9793 if test "$GCC" = yes; then
9795 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9796 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9797 $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'
9799 case `$CC -V 2>&1` in
9802 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9803 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9804 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9808 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9810 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9814 hardcode_libdir_flag_spec='-R$libdir'
9815 hardcode_shlibpath_var=no
9817 solaris2.[0-5] | solaris2.[0-5].*) ;;
9819 # The compiler driver will combine and reorder linker options,
9820 # but understands `-z linker_flag'. GCC discards it without `$wl',
9821 # but is careful enough not to reorder.
9822 # Supported since Solaris 2.6 (maybe 2.5.1?)
9823 if test "$GCC" = yes; then
9824 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9826 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9830 link_all_deplibs=yes
9834 if test "x$host_vendor" = xsequent; then
9835 # Use $CC to link under sequent, because it throws in some extra .o
9836 # files that make .init and .fini sections work.
9837 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9839 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9841 hardcode_libdir_flag_spec='-L$libdir'
9843 hardcode_minus_L=yes
9844 hardcode_shlibpath_var=no
9848 case $host_vendor in
9850 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9851 hardcode_direct=yes # is this really true???
9854 ## LD is ld it makes a PLAMLIB
9855 ## CC just makes a GrossModule.
9856 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9857 reload_cmds='$CC -r -o $output$reload_objs'
9861 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9862 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9865 runpath_var='LD_RUN_PATH'
9866 hardcode_shlibpath_var=no
9870 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871 hardcode_shlibpath_var=no
9872 export_dynamic_flag_spec='-Bexport'
9876 if test -d /usr/nec; then
9877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878 hardcode_shlibpath_var=no
9879 runpath_var=LD_RUN_PATH
9880 hardcode_runpath_var=yes
9885 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9886 no_undefined_flag='${wl}-z,text'
9887 archive_cmds_need_lc=no
9888 hardcode_shlibpath_var=no
9889 runpath_var='LD_RUN_PATH'
9891 if test "$GCC" = yes; then
9892 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9895 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9900 sysv5* | sco3.2v5* | sco5v6*)
9901 # Note: We can NOT use -z defs as we might desire, because we do not
9902 # link with -lc, and that would cause any symbols used from libc to
9903 # always be unresolved, which means just about no library would
9904 # ever link correctly. If we're not using GNU ld we use -z text
9905 # though, which does catch some bad symbols but isn't as heavy-handed
9907 no_undefined_flag='${wl}-z,text'
9908 allow_undefined_flag='${wl}-z,nodefs'
9909 archive_cmds_need_lc=no
9910 hardcode_shlibpath_var=no
9911 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9912 hardcode_libdir_separator=':'
9913 link_all_deplibs=yes
9914 export_dynamic_flag_spec='${wl}-Bexport'
9915 runpath_var='LD_RUN_PATH'
9917 if test "$GCC" = yes; then
9918 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9921 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9927 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9928 hardcode_libdir_flag_spec='-L$libdir'
9929 hardcode_shlibpath_var=no
9937 if test x$host_vendor = xsni; then
9939 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9940 export_dynamic_flag_spec='${wl}-Blargedynsym'
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9947 $as_echo "$ld_shlibs" >&6; }
9948 test "$ld_shlibs" = no && can_build_shared=no
9950 with_gnu_ld=$with_gnu_ld
9967 # Do we need to explicitly link libc?
9969 case "x$archive_cmds_need_lc" in
9971 # Assume -lc should be added
9972 archive_cmds_need_lc=yes
9974 if test "$enable_shared" = yes && test "$GCC" = yes; then
9975 case $archive_cmds in
9977 # FIXME: we may have to deal with multi-command sequences.
9980 # Test whether the compiler implicitly links with -lc since on some
9981 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9982 # to ld, don't add -lc before -lgcc.
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9984 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9985 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9986 $as_echo_n "(cached) " >&6
9989 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9991 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9992 (eval $ac_compile) 2>&5
9994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9995 test $ac_status = 0; } 2>conftest.err; then
9998 libobjs=conftest.$ac_objext
10000 wl=$lt_prog_compiler_wl
10001 pic_flag=$lt_prog_compiler_pic
10007 lt_save_allow_undefined_flag=$allow_undefined_flag
10008 allow_undefined_flag=
10009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10010 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10013 test $ac_status = 0; }
10015 lt_cv_archive_cmds_need_lc=no
10017 lt_cv_archive_cmds_need_lc=yes
10019 allow_undefined_flag=$lt_save_allow_undefined_flag
10021 cat conftest.err 1>&5
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10027 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10028 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10187 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10189 if test "$GCC" = yes; then
10191 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10192 *) lt_awk_arg="/^libraries:/" ;;
10195 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10196 *) lt_sed_strip_eq="s,=/,/,g" ;;
10198 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10199 case $lt_search_path_spec in
10201 # if the path contains ";" then we assume it to be the separator
10202 # otherwise default to the standard path separator (i.e. ":") - it is
10203 # assumed that no part of a normal pathname contains ";" but that should
10204 # okay in the real world where ";" in dirpaths is itself problematic.
10205 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10208 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10211 # Ok, now we have the path, separated by spaces, we can step through it
10212 # and add multilib dir if necessary.
10213 lt_tmp_lt_search_path_spec=
10214 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10215 for lt_sys_path in $lt_search_path_spec; do
10216 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10217 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10219 test -d "$lt_sys_path" && \
10220 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10223 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10224 BEGIN {RS=" "; FS="/|\n";} {
10227 for (lt_i = NF; lt_i > 0; lt_i--) {
10228 if ($lt_i != "" && $lt_i != ".") {
10229 if ($lt_i == "..") {
10232 if (lt_count == 0) {
10233 lt_foo="/" $lt_i lt_foo;
10240 if (lt_foo != "") { lt_freq[lt_foo]++; }
10241 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10243 # AWK program above erroneously prepends '/' to C:/dos/paths
10246 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10247 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10249 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10251 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10253 library_names_spec=
10254 libname_spec='lib$name'
10258 postuninstall_cmds=
10262 shlibpath_overrides_runpath=unknown
10264 dynamic_linker="$host_os ld.so"
10265 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10266 need_lib_prefix=unknown
10267 hardcode_into_libs=no
10269 # when you set need_version to no, make sure it does not cause -set_version
10270 # flags to be left without arguments
10271 need_version=unknown
10275 version_type=linux # correct to gnu/linux during the next big refactor
10276 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10277 shlibpath_var=LIBPATH
10279 # AIX 3 has no versioning support, so we append a major version to the name.
10280 soname_spec='${libname}${release}${shared_ext}$major'
10284 version_type=linux # correct to gnu/linux during the next big refactor
10287 hardcode_into_libs=yes
10288 if test "$host_cpu" = ia64; then
10289 # AIX 5 supports IA64
10290 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10291 shlibpath_var=LD_LIBRARY_PATH
10293 # With GCC up to 2.95.x, collect2 would create an import file
10294 # for dependence libraries. The import file would start with
10295 # the line `#! .'. This would cause the generated library to
10296 # depend on `.', always an invalid library. This was fixed in
10297 # development snapshots of GCC prior to 3.0.
10299 aix4 | aix4.[01] | aix4.[01].*)
10300 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10302 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10305 can_build_shared=no
10309 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10310 # soname into executable. Probably we can add versioning support to
10311 # collect2, so additional links can be useful in future.
10312 if test "$aix_use_runtimelinking" = yes; then
10313 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10314 # instead of lib<name>.a to let people know that these are not
10315 # typical AIX shared libraries.
10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10318 # We preserve .a as extension for shared libraries through AIX4.2
10319 # and later when we are not doing run time linking.
10320 library_names_spec='${libname}${release}.a $libname.a'
10321 soname_spec='${libname}${release}${shared_ext}$major'
10323 shlibpath_var=LIBPATH
10330 # Since July 2007 AmigaOS4 officially supports .so libraries.
10331 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10335 library_names_spec='$libname.ixlibrary $libname.a'
10336 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10337 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'
10343 library_names_spec='${libname}${shared_ext}'
10344 dynamic_linker="$host_os ld.so"
10345 shlibpath_var=LIBRARY_PATH
10349 version_type=linux # correct to gnu/linux during the next big refactor
10351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352 soname_spec='${libname}${release}${shared_ext}$major'
10353 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10354 shlibpath_var=LD_LIBRARY_PATH
10355 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10356 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10357 # the default ld.so.conf also contains /usr/contrib/lib and
10358 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10359 # libtool to hard-code these into programs
10362 cygwin* | mingw* | pw32* | cegcc*)
10363 version_type=windows
10368 case $GCC,$cc_basename in
10371 library_names_spec='$libname.dll.a'
10372 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10373 postinstall_cmds='base_file=`basename \${file}`~
10374 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10375 dldir=$destdir/`dirname \$dlpath`~
10376 test -d \$dldir || mkdir -p \$dldir~
10377 $install_prog $dir/$dlname \$dldir/$dlname~
10378 chmod a+x \$dldir/$dlname~
10379 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10380 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10382 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10383 dlpath=$dir/\$dldll~
10385 shlibpath_overrides_runpath=yes
10389 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10390 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10392 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10395 # MinGW DLLs use traditional 'lib' prefix
10396 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10399 # pw32 DLLs use 'pw' prefix rather than 'lib'
10400 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10403 dynamic_linker='Win32 ld.exe'
10408 libname_spec='$name'
10409 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10410 library_names_spec='${libname}.dll.lib'
10414 sys_lib_search_path_spec=
10417 for lt_path in $LIB
10420 # Let DOS variable expansion print the short 8.3 style file name.
10421 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10422 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10425 # Convert to MSYS style.
10426 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10429 # Convert to unix form, then to dos form, then back to unix form
10430 # but this time dos style (no spaces!) so that the unix form looks
10431 # like /cygdrive/c/PROGRA~1:/cygdr...
10432 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10433 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10434 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10437 sys_lib_search_path_spec="$LIB"
10438 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10439 # It is most probably a Windows format PATH.
10440 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10442 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10444 # FIXME: find the short name or the path components, as spaces are
10445 # common. (e.g. "Program Files" -> "PROGRA~1")
10449 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10450 postinstall_cmds='base_file=`basename \${file}`~
10451 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10452 dldir=$destdir/`dirname \$dlpath`~
10453 test -d \$dldir || mkdir -p \$dldir~
10454 $install_prog $dir/$dlname \$dldir/$dlname'
10455 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10456 dlpath=$dir/\$dldll~
10458 shlibpath_overrides_runpath=yes
10459 dynamic_linker='Win32 link.exe'
10463 # Assume MSVC wrapper
10464 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10465 dynamic_linker='Win32 ld.exe'
10468 # FIXME: first we should search . and the directory the executable is in
10472 darwin* | rhapsody*)
10473 dynamic_linker="$host_os dyld"
10474 version_type=darwin
10477 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10478 soname_spec='${libname}${release}${major}$shared_ext'
10479 shlibpath_overrides_runpath=yes
10480 shlibpath_var=DYLD_LIBRARY_PATH
10481 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10483 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10484 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10488 version_type=linux # correct to gnu/linux during the next big refactor
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10492 soname_spec='${libname}${release}${shared_ext}$major'
10493 shlibpath_var=LD_LIBRARY_PATH
10496 freebsd* | dragonfly*)
10497 # DragonFly does not have aout. When/if they implement a new
10498 # versioning mechanism, adjust this.
10499 if test -x /usr/bin/objformat; then
10500 objformat=`/usr/bin/objformat`
10503 freebsd[23].*) objformat=aout ;;
10504 *) objformat=elf ;;
10507 version_type=freebsd-$objformat
10508 case $version_type in
10510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10515 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10519 shlibpath_var=LD_LIBRARY_PATH
10522 shlibpath_overrides_runpath=yes
10524 freebsd3.[01]* | freebsdelf3.[01]*)
10525 shlibpath_overrides_runpath=yes
10526 hardcode_into_libs=yes
10528 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10529 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10530 shlibpath_overrides_runpath=no
10531 hardcode_into_libs=yes
10533 *) # from 4.6 on, and DragonFly
10534 shlibpath_overrides_runpath=yes
10535 hardcode_into_libs=yes
10541 version_type=linux # correct to gnu/linux during the next big refactor
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 shlibpath_var=LD_LIBRARY_PATH
10547 shlibpath_overrides_runpath=no
10548 hardcode_into_libs=yes
10552 version_type=linux # correct to gnu/linux during the next big refactor
10555 dynamic_linker="$host_os runtime_loader"
10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10557 soname_spec='${libname}${release}${shared_ext}$major'
10558 shlibpath_var=LIBRARY_PATH
10559 shlibpath_overrides_runpath=yes
10560 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10561 hardcode_into_libs=yes
10564 hpux9* | hpux10* | hpux11*)
10565 # Give a soname corresponding to the major version so that dld.sl refuses to
10566 # link against other versions.
10573 hardcode_into_libs=yes
10574 dynamic_linker="$host_os dld.so"
10575 shlibpath_var=LD_LIBRARY_PATH
10576 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578 soname_spec='${libname}${release}${shared_ext}$major'
10579 if test "X$HPUX_IA64_MODE" = X32; then
10580 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10582 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10584 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10588 hardcode_into_libs=yes
10589 dynamic_linker="$host_os dld.sl"
10590 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10591 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 soname_spec='${libname}${release}${shared_ext}$major'
10594 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10595 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10599 dynamic_linker="$host_os dld.sl"
10600 shlibpath_var=SHLIB_PATH
10601 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 soname_spec='${libname}${release}${shared_ext}$major'
10606 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10607 postinstall_cmds='chmod 555 $lib'
10608 # or fails outright, so override atomically:
10609 install_override_mode=555
10613 version_type=linux # correct to gnu/linux during the next big refactor
10616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10617 soname_spec='${libname}${release}${shared_ext}$major'
10618 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10619 shlibpath_var=LD_LIBRARY_PATH
10620 shlibpath_overrides_runpath=no
10621 hardcode_into_libs=yes
10624 irix5* | irix6* | nonstopux*)
10626 nonstopux*) version_type=nonstopux ;;
10628 if test "$lt_cv_prog_gnu_ld" = yes; then
10629 version_type=linux # correct to gnu/linux during the next big refactor
10636 soname_spec='${libname}${release}${shared_ext}$major'
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10639 irix5* | nonstopux*)
10640 libsuff= shlibsuff=
10643 case $LD in # libtool.m4 will add one of these switches to LD
10644 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10645 libsuff= shlibsuff= libmagic=32-bit;;
10646 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10647 libsuff=32 shlibsuff=N32 libmagic=N32;;
10648 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10649 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10650 *) libsuff= shlibsuff= libmagic=never-match;;
10654 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10655 shlibpath_overrides_runpath=no
10656 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10657 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10658 hardcode_into_libs=yes
10661 # No shared lib support for Linux oldld, aout, or coff.
10662 linux*oldld* | linux*aout* | linux*coff*)
10666 # This must be glibc/ELF.
10667 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10668 version_type=linux # correct to gnu/linux during the next big refactor
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10674 shlibpath_var=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath=no
10677 # Some binutils ld are patched to set DT_RUNPATH
10678 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10679 $as_echo_n "(cached) " >&6
10681 lt_cv_shlibpath_overrides_runpath=no
10682 save_LDFLAGS=$LDFLAGS
10683 save_libdir=$libdir
10684 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10685 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10697 if ac_fn_c_try_link "$LINENO"; then :
10698 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10699 lt_cv_shlibpath_overrides_runpath=yes
10702 rm -f core conftest.err conftest.$ac_objext \
10703 conftest$ac_exeext conftest.$ac_ext
10704 LDFLAGS=$save_LDFLAGS
10705 libdir=$save_libdir
10709 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10711 # This implies no fast_install, which is unacceptable.
10712 # Some rework will be needed to allow for fast_install
10713 # before this can be enabled.
10714 hardcode_into_libs=yes
10716 # Append ld.so.conf contents to the search path
10717 if test -f /etc/ld.so.conf; then
10718 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' ' '`
10719 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10722 # We used to test for /lib/ld.so.1 and disable shared libraries on
10723 # powerpc, because MkLinux only supported shared libraries with the
10724 # GNU dynamic linker. Since this was broken with cross compilers,
10725 # most powerpc-linux boxes support dynamic linking these days and
10726 # people can always --disable-shared, the test was removed, and we
10727 # assume the GNU/Linux dynamic linker is in use.
10728 dynamic_linker='GNU/Linux ld.so'
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10736 soname_spec='${libname}${release}${shared_ext}$major'
10737 shlibpath_var=LD_LIBRARY_PATH
10738 shlibpath_overrides_runpath=no
10739 hardcode_into_libs=yes
10740 dynamic_linker='NetBSD ld.elf_so'
10747 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10750 dynamic_linker='NetBSD (a.out) ld.so'
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 dynamic_linker='NetBSD ld.elf_so'
10756 shlibpath_var=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath=yes
10758 hardcode_into_libs=yes
10762 version_type=linux # correct to gnu/linux during the next big refactor
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764 shlibpath_var=LD_LIBRARY_PATH
10765 shlibpath_overrides_runpath=yes
10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773 soname_spec='${libname}${release}${shared_ext}$major'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10777 dynamic_linker='ldqnx.so'
10782 sys_lib_dlsearch_path_spec="/usr/lib"
10784 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10786 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10787 *) need_version=no ;;
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10794 openbsd2.[89] | openbsd2.[89].*)
10795 shlibpath_overrides_runpath=no
10798 shlibpath_overrides_runpath=yes
10802 shlibpath_overrides_runpath=yes
10807 libname_spec='$name'
10810 library_names_spec='$libname${shared_ext} $libname.a'
10811 dynamic_linker='OS/2 ld.exe'
10812 shlibpath_var=LIBPATH
10815 osf3* | osf4* | osf5*)
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10821 shlibpath_var=LD_LIBRARY_PATH
10822 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10823 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10831 version_type=linux # correct to gnu/linux during the next big refactor
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 shlibpath_var=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath=yes
10838 hardcode_into_libs=yes
10839 # ldd complains unless libraries are executable
10840 postinstall_cmds='chmod +x $lib'
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10846 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10847 shlibpath_var=LD_LIBRARY_PATH
10848 shlibpath_overrides_runpath=yes
10849 if test "$with_gnu_ld" = yes; then
10856 version_type=linux # correct to gnu/linux during the next big refactor
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10858 soname_spec='${libname}${release}${shared_ext}$major'
10859 shlibpath_var=LD_LIBRARY_PATH
10860 case $host_vendor in
10862 shlibpath_overrides_runpath=no
10864 runpath_var=LD_RUN_PATH
10872 shlibpath_overrides_runpath=no
10873 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10879 if test -d /usr/nec ;then
10880 version_type=linux # correct to gnu/linux during the next big refactor
10881 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10882 soname_spec='$libname${shared_ext}.$major'
10883 shlibpath_var=LD_LIBRARY_PATH
10887 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10888 version_type=freebsd-elf
10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10892 soname_spec='${libname}${release}${shared_ext}$major'
10893 shlibpath_var=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath=yes
10895 hardcode_into_libs=yes
10896 if test "$with_gnu_ld" = yes; then
10897 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10899 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10902 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10906 sys_lib_dlsearch_path_spec='/usr/lib'
10910 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10911 version_type=linux # correct to gnu/linux during the next big refactor
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=no
10917 hardcode_into_libs=yes
10921 version_type=linux # correct to gnu/linux during the next big refactor
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 soname_spec='${libname}${release}${shared_ext}$major'
10924 shlibpath_var=LD_LIBRARY_PATH
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10932 $as_echo "$dynamic_linker" >&6; }
10933 test "$dynamic_linker" = no && can_build_shared=no
10935 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10936 if test "$GCC" = yes; then
10937 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10940 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10941 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10943 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10944 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11039 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11041 if test -n "$hardcode_libdir_flag_spec" ||
11042 test -n "$runpath_var" ||
11043 test "X$hardcode_automatic" = "Xyes" ; then
11045 # We can hardcode non-existent directories.
11046 if test "$hardcode_direct" != no &&
11047 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11048 # have to relink, otherwise we might link with an installed library
11049 # when we should be linking with a yet-to-be-installed one
11050 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11051 test "$hardcode_minus_L" != no; then
11052 # Linking always hardcodes the temporary library directory.
11053 hardcode_action=relink
11055 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11056 hardcode_action=immediate
11059 # We cannot hardcode anything, or else we can only hardcode existing
11061 hardcode_action=unsupported
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11064 $as_echo "$hardcode_action" >&6; }
11066 if test "$hardcode_action" = relink ||
11067 test "$inherit_rpath" = yes; then
11068 # Fast installation is not supported
11069 enable_fast_install=no
11070 elif test "$shlibpath_overrides_runpath" = yes ||
11071 test "$enable_shared" = no; then
11072 # Fast installation is not necessary
11073 enable_fast_install=needless
11081 if test "x$enable_dlopen" != xyes; then
11082 enable_dlopen=unknown
11083 enable_dlopen_self=unknown
11084 enable_dlopen_self_static=unknown
11091 lt_cv_dlopen="load_add_on"
11093 lt_cv_dlopen_self=yes
11096 mingw* | pw32* | cegcc*)
11097 lt_cv_dlopen="LoadLibrary"
11102 lt_cv_dlopen="dlopen"
11107 # if libdl is installed we need to link against it
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11110 if ${ac_cv_lib_dl_dlopen+:} false; then :
11111 $as_echo_n "(cached) " >&6
11113 ac_check_lib_save_LIBS=$LIBS
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 ac_cv_lib_dl_dlopen=yes
11136 ac_cv_lib_dl_dlopen=no
11138 rm -f core conftest.err conftest.$ac_objext \
11139 conftest$ac_exeext conftest.$ac_ext
11140 LIBS=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11143 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11144 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11145 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11148 lt_cv_dlopen="dyld"
11150 lt_cv_dlopen_self=yes
11157 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11158 if test "x$ac_cv_func_shl_load" = xyes; then :
11159 lt_cv_dlopen="shl_load"
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11162 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11163 if ${ac_cv_lib_dld_shl_load+:} false; then :
11164 $as_echo_n "(cached) " >&6
11166 ac_check_lib_save_LIBS=$LIBS
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11181 return shl_load ();
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_dld_shl_load=yes
11189 ac_cv_lib_dld_shl_load=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11196 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11197 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11198 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11200 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11201 if test "x$ac_cv_func_dlopen" = xyes; then :
11202 lt_cv_dlopen="dlopen"
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11205 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11206 if ${ac_cv_lib_dl_dlopen+:} false; then :
11207 $as_echo_n "(cached) " >&6
11209 ac_check_lib_save_LIBS=$LIBS
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 ac_cv_lib_dl_dlopen=yes
11232 ac_cv_lib_dl_dlopen=no
11234 rm -f core conftest.err conftest.$ac_objext \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11239 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11240 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11241 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11244 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11245 if ${ac_cv_lib_svld_dlopen+:} false; then :
11246 $as_echo_n "(cached) " >&6
11248 ac_check_lib_save_LIBS=$LIBS
11249 LIBS="-lsvld $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_svld_dlopen=yes
11271 ac_cv_lib_svld_dlopen=no
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11278 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11279 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11280 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11283 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11284 if ${ac_cv_lib_dld_dld_link+:} false; then :
11285 $as_echo_n "(cached) " >&6
11287 ac_check_lib_save_LIBS=$LIBS
11289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11302 return dld_link ();
11307 if ac_fn_c_try_link "$LINENO"; then :
11308 ac_cv_lib_dld_dld_link=yes
11310 ac_cv_lib_dld_dld_link=no
11312 rm -f core conftest.err conftest.$ac_objext \
11313 conftest$ac_exeext conftest.$ac_ext
11314 LIBS=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11317 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11318 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11319 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11340 if test "x$lt_cv_dlopen" != xno; then
11346 case $lt_cv_dlopen in
11348 save_CPPFLAGS="$CPPFLAGS"
11349 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11351 save_LDFLAGS="$LDFLAGS"
11352 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11355 LIBS="$lt_cv_dlopen_libs $LIBS"
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11358 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11359 if ${lt_cv_dlopen_self+:} false; then :
11360 $as_echo_n "(cached) " >&6
11362 if test "$cross_compiling" = yes; then :
11363 lt_cv_dlopen_self=cross
11365 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11366 lt_status=$lt_dlunknown
11367 cat > conftest.$ac_ext <<_LT_EOF
11368 #line $LINENO "configure"
11369 #include "confdefs.h"
11378 # define LT_DLGLOBAL RTLD_GLOBAL
11381 # define LT_DLGLOBAL DL_GLOBAL
11383 # define LT_DLGLOBAL 0
11387 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11388 find out it does not work in some platform. */
11389 #ifndef LT_DLLAZY_OR_NOW
11391 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11394 # define LT_DLLAZY_OR_NOW DL_LAZY
11397 # define LT_DLLAZY_OR_NOW RTLD_NOW
11400 # define LT_DLLAZY_OR_NOW DL_NOW
11402 # define LT_DLLAZY_OR_NOW 0
11409 /* When -fvisbility=hidden is used, assume the code has been annotated
11410 correspondingly for the symbols needed. */
11411 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11412 int fnord () __attribute__((visibility("default")));
11415 int fnord () { return 42; }
11418 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11419 int status = $lt_dlunknown;
11423 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11426 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11427 else puts (dlerror ());
11429 /* dlclose (self); */
11437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11438 (eval $ac_link) 2>&5
11440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11441 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11442 (./conftest; exit; ) >&5 2>/dev/null
11444 case x$lt_status in
11445 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11446 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11447 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11450 # compilation failed
11451 lt_cv_dlopen_self=no
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11459 $as_echo "$lt_cv_dlopen_self" >&6; }
11461 if test "x$lt_cv_dlopen_self" = xyes; then
11462 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11464 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11465 if ${lt_cv_dlopen_self_static+:} false; then :
11466 $as_echo_n "(cached) " >&6
11468 if test "$cross_compiling" = yes; then :
11469 lt_cv_dlopen_self_static=cross
11471 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11472 lt_status=$lt_dlunknown
11473 cat > conftest.$ac_ext <<_LT_EOF
11474 #line $LINENO "configure"
11475 #include "confdefs.h"
11484 # define LT_DLGLOBAL RTLD_GLOBAL
11487 # define LT_DLGLOBAL DL_GLOBAL
11489 # define LT_DLGLOBAL 0
11493 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11494 find out it does not work in some platform. */
11495 #ifndef LT_DLLAZY_OR_NOW
11497 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11500 # define LT_DLLAZY_OR_NOW DL_LAZY
11503 # define LT_DLLAZY_OR_NOW RTLD_NOW
11506 # define LT_DLLAZY_OR_NOW DL_NOW
11508 # define LT_DLLAZY_OR_NOW 0
11515 /* When -fvisbility=hidden is used, assume the code has been annotated
11516 correspondingly for the symbols needed. */
11517 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11518 int fnord () __attribute__((visibility("default")));
11521 int fnord () { return 42; }
11524 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11525 int status = $lt_dlunknown;
11529 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11532 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11533 else puts (dlerror ());
11535 /* dlclose (self); */
11543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11544 (eval $ac_link) 2>&5
11546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11547 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11548 (./conftest; exit; ) >&5 2>/dev/null
11550 case x$lt_status in
11551 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11552 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11553 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11556 # compilation failed
11557 lt_cv_dlopen_self_static=no
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11565 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11568 CPPFLAGS="$save_CPPFLAGS"
11569 LDFLAGS="$save_LDFLAGS"
11574 case $lt_cv_dlopen_self in
11575 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11576 *) enable_dlopen_self=unknown ;;
11579 case $lt_cv_dlopen_self_static in
11580 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11581 *) enable_dlopen_self_static=unknown ;;
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11604 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11605 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11606 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11607 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11609 $as_echo "yes" >&6; }
11611 # FIXME - insert some real tests, host_os isn't really good enough
11614 if test -n "$STRIP" ; then
11615 striplib="$STRIP -x"
11616 old_striplib="$STRIP -S"
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11618 $as_echo "yes" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11621 $as_echo "no" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11642 # Report which library types will actually be built
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11644 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11646 $as_echo "$can_build_shared" >&6; }
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11649 $as_echo_n "checking whether to build shared libraries... " >&6; }
11650 test "$can_build_shared" = "no" && enable_shared=no
11652 # On AIX, shared libraries and static libraries use the same namespace, and
11653 # are all built from PIC.
11656 test "$enable_shared" = yes && enable_static=no
11657 if test -n "$RANLIB"; then
11658 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11659 postinstall_cmds='$RANLIB $lib'
11664 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11665 test "$enable_shared" = yes && enable_static=no
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11670 $as_echo "$enable_shared" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11673 $as_echo_n "checking whether to build static libraries... " >&6; }
11674 # Make sure either enable_shared or enable_static is yes.
11675 test "$enable_shared" = yes || enable_static=yes
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11677 $as_echo "$enable_static" >&6; }
11684 ac_cpp='$CPP $CPPFLAGS'
11685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11705 ac_config_commands="$ac_config_commands libtool"
11710 # Only expand once:
11721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11722 if test -n "$ac_tool_prefix"; then
11723 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11724 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11726 $as_echo_n "checking for $ac_word... " >&6; }
11727 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11728 $as_echo_n "(cached) " >&6
11730 case $PKG_CONFIG in
11732 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11736 for as_dir in $PATH
11739 test -z "$as_dir" && as_dir=.
11740 for ac_exec_ext in '' $ac_executable_extensions; do
11741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11742 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11754 if test -n "$PKG_CONFIG"; then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11756 $as_echo "$PKG_CONFIG" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 $as_echo "no" >&6; }
11764 if test -z "$ac_cv_path_PKG_CONFIG"; then
11765 ac_pt_PKG_CONFIG=$PKG_CONFIG
11766 # Extract the first word of "pkg-config", so it can be a program name with args.
11767 set dummy pkg-config; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11771 $as_echo_n "(cached) " >&6
11773 case $ac_pt_PKG_CONFIG in
11775 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11779 for as_dir in $PATH
11782 test -z "$as_dir" && as_dir=.
11783 for ac_exec_ext in '' $ac_executable_extensions; do
11784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11785 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11797 if test -n "$ac_pt_PKG_CONFIG"; then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11799 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11805 if test "x$ac_pt_PKG_CONFIG" = x; then
11808 case $cross_compiling:$ac_tool_warned in
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11812 ac_tool_warned=yes ;;
11814 PKG_CONFIG=$ac_pt_PKG_CONFIG
11817 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11821 if test -n "$PKG_CONFIG"; then
11822 _pkg_min_version=0.9.0
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11824 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11825 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11827 $as_echo "yes" >&6; }
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 $as_echo "no" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML" >&5
11837 $as_echo_n "checking for LIBXML... " >&6; }
11839 if test -n "$LIBXML_CFLAGS"; then
11840 pkg_cv_LIBXML_CFLAGS="$LIBXML_CFLAGS"
11841 elif test -n "$PKG_CONFIG"; then
11842 if test -n "$PKG_CONFIG" && \
11843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
11844 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
11846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11847 test $ac_status = 0; }; then
11848 pkg_cv_LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.5.0" 2>/dev/null`
11849 test "x$?" != "x0" && pkg_failed=yes
11856 if test -n "$LIBXML_LIBS"; then
11857 pkg_cv_LIBXML_LIBS="$LIBXML_LIBS"
11858 elif test -n "$PKG_CONFIG"; then
11859 if test -n "$PKG_CONFIG" && \
11860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.5.0\""; } >&5
11861 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.5.0") 2>&5
11863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11864 test $ac_status = 0; }; then
11865 pkg_cv_LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.5.0" 2>/dev/null`
11866 test "x$?" != "x0" && pkg_failed=yes
11876 if test $pkg_failed = yes; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11878 $as_echo "no" >&6; }
11880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11881 _pkg_short_errors_supported=yes
11883 _pkg_short_errors_supported=no
11885 if test $_pkg_short_errors_supported = yes; then
11886 LIBXML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
11888 LIBXML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.5.0" 2>&1`
11890 # Put the nasty error message in config.log where it belongs
11891 echo "$LIBXML_PKG_ERRORS" >&5
11893 as_fn_error $? "Package requirements (libxml-2.0 >= 2.5.0) were not met:
11897 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11898 installed software in a non-standard prefix.
11900 Alternatively, you may set the environment variables LIBXML_CFLAGS
11901 and LIBXML_LIBS to avoid the need to call pkg-config.
11902 See the pkg-config man page for more details." "$LINENO" 5
11903 elif test $pkg_failed = untried; then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11908 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11909 is in your PATH or set the PKG_CONFIG environment variable to the full
11910 path to pkg-config.
11912 Alternatively, you may set the environment variables LIBXML_CFLAGS
11913 and LIBXML_LIBS to avoid the need to call pkg-config.
11914 See the pkg-config man page for more details.
11916 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11917 See \`config.log' for more details" "$LINENO" 5; }
11919 LIBXML_CFLAGS=$pkg_cv_LIBXML_CFLAGS
11920 LIBXML_LIBS=$pkg_cv_LIBXML_LIBS
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11922 $as_echo "yes" >&6; }
11926 GST_MAJORMINOR=0.10
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
11933 $as_echo_n "checking for GST... " >&6; }
11935 if test -n "$GST_CFLAGS"; then
11936 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
11937 elif test -n "$PKG_CONFIG"; then
11938 if test -n "$PKG_CONFIG" && \
11939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
11940 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
11942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11943 test $ac_status = 0; }; then
11944 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
11945 test "x$?" != "x0" && pkg_failed=yes
11952 if test -n "$GST_LIBS"; then
11953 pkg_cv_GST_LIBS="$GST_LIBS"
11954 elif test -n "$PKG_CONFIG"; then
11955 if test -n "$PKG_CONFIG" && \
11956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
11957 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
11959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11960 test $ac_status = 0; }; then
11961 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
11962 test "x$?" != "x0" && pkg_failed=yes
11972 if test $pkg_failed = yes; then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 $as_echo "no" >&6; }
11976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11977 _pkg_short_errors_supported=yes
11979 _pkg_short_errors_supported=no
11981 if test $_pkg_short_errors_supported = yes; then
11982 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
11984 GST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>&1`
11986 # Put the nasty error message in config.log where it belongs
11987 echo "$GST_PKG_ERRORS" >&5
11989 as_fn_error $? "Package requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQ) were not met:
11993 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11994 installed software in a non-standard prefix.
11996 Alternatively, you may set the environment variables GST_CFLAGS
11997 and GST_LIBS to avoid the need to call pkg-config.
11998 See the pkg-config man page for more details." "$LINENO" 5
11999 elif test $pkg_failed = untried; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12001 $as_echo "no" >&6; }
12002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12004 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12005 is in your PATH or set the PKG_CONFIG environment variable to the full
12006 path to pkg-config.
12008 Alternatively, you may set the environment variables GST_CFLAGS
12009 and GST_LIBS to avoid the need to call pkg-config.
12010 See the pkg-config man page for more details.
12012 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12013 See \`config.log' for more details" "$LINENO" 5; }
12015 GST_CFLAGS=$pkg_cv_GST_CFLAGS
12016 GST_LIBS=$pkg_cv_GST_LIBS
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12018 $as_echo "yes" >&6; }
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBU" >&5
12024 $as_echo_n "checking for GST_PBU... " >&6; }
12026 if test -n "$GST_PBU_CFLAGS"; then
12027 pkg_cv_GST_PBU_CFLAGS="$GST_PBU_CFLAGS"
12028 elif test -n "$PKG_CONFIG"; then
12029 if test -n "$PKG_CONFIG" && \
12030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12031 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12034 test $ac_status = 0; }; then
12035 pkg_cv_GST_PBU_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12036 test "x$?" != "x0" && pkg_failed=yes
12043 if test -n "$GST_PBU_LIBS"; then
12044 pkg_cv_GST_PBU_LIBS="$GST_PBU_LIBS"
12045 elif test -n "$PKG_CONFIG"; then
12046 if test -n "$PKG_CONFIG" && \
12047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-\$GST_MAJORMINOR >= \$GSTPBU_REQ\""; } >&5
12048 ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ") 2>&5
12050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12051 test $ac_status = 0; }; then
12052 pkg_cv_GST_PBU_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>/dev/null`
12053 test "x$?" != "x0" && pkg_failed=yes
12063 if test $pkg_failed = yes; then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12068 _pkg_short_errors_supported=yes
12070 _pkg_short_errors_supported=no
12072 if test $_pkg_short_errors_supported = yes; then
12073 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12075 GST_PBU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ" 2>&1`
12077 # Put the nasty error message in config.log where it belongs
12078 echo "$GST_PBU_PKG_ERRORS" >&5
12080 as_fn_error $? "Package requirements (gstreamer-pbutils-$GST_MAJORMINOR >= $GSTPBU_REQ) were not met:
12082 $GST_PBU_PKG_ERRORS
12084 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12085 installed software in a non-standard prefix.
12087 Alternatively, you may set the environment variables GST_PBU_CFLAGS
12088 and GST_PBU_LIBS to avoid the need to call pkg-config.
12089 See the pkg-config man page for more details." "$LINENO" 5
12090 elif test $pkg_failed = untried; then
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12092 $as_echo "no" >&6; }
12093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12095 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12096 is in your PATH or set the PKG_CONFIG environment variable to the full
12097 path to pkg-config.
12099 Alternatively, you may set the environment variables GST_PBU_CFLAGS
12100 and GST_PBU_LIBS to avoid the need to call pkg-config.
12101 See the pkg-config man page for more details.
12103 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12104 See \`config.log' for more details" "$LINENO" 5; }
12106 GST_PBU_CFLAGS=$pkg_cv_GST_PBU_CFLAGS
12107 GST_PBU_LIBS=$pkg_cv_GST_PBU_LIBS
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12109 $as_echo "yes" >&6; }
12114 GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
12118 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
12122 # Check whether --enable-debug was given.
12123 if test "${enable_debug+set}" = set; then :
12124 enableval=$enable_debug;
12129 if test "x$enable_debug" = "xyes"; then
12130 CFLAGS="$CFLAGS -g -Wall"
12136 # Check whether --enable-introspection was given.
12137 if test "${enable_introspection+set}" = set; then :
12138 enableval=$enable_introspection;
12140 enable_introspection=auto
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
12145 $as_echo_n "checking for gobject-introspection... " >&6; }
12147 case $enable_introspection in #(
12149 found_introspection="no (disabled, use --enable-introspection to enable)"
12152 if test -n "$PKG_CONFIG" && \
12153 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
12154 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
12156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12157 test $ac_status = 0; }; then
12160 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
12162 if test -n "$PKG_CONFIG" && \
12163 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12164 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12167 test $ac_status = 0; }; then
12168 found_introspection=yes
12170 as_fn_error $? "You need to have gobject-introspection >= 0.6.4 installed to build gupnp-dlna" "$LINENO" 5
12174 if test -n "$PKG_CONFIG" && \
12175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.4\""; } >&5
12176 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.4") 2>&5
12178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12179 test $ac_status = 0; }; then
12180 found_introspection=yes
12182 found_introspection=no
12186 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
12190 $as_echo "$found_introspection" >&6; }
12192 INTROSPECTION_SCANNER=
12193 INTROSPECTION_COMPILER=
12194 INTROSPECTION_GENERATE=
12195 INTROSPECTION_GIRDIR=
12196 INTROSPECTION_TYPELIBDIR=
12197 if test "x$found_introspection" = "xyes"; then
12198 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
12199 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
12200 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
12201 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
12202 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
12203 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
12204 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
12205 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
12216 if test "x$found_introspection" = "xyes"; then
12217 HAVE_INTROSPECTION_TRUE=
12218 HAVE_INTROSPECTION_FALSE='#'
12220 HAVE_INTROSPECTION_TRUE='#'
12221 HAVE_INTROSPECTION_FALSE=
12230 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12231 set dummy gtkdoc-check; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12233 $as_echo_n "checking for $ac_word... " >&6; }
12234 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12235 $as_echo_n "(cached) " >&6
12237 case $GTKDOC_CHECK in
12239 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12243 for as_dir in $PATH
12246 test -z "$as_dir" && as_dir=.
12247 for ac_exec_ext in '' $ac_executable_extensions; do
12248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12260 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12261 if test -n "$GTKDOC_CHECK"; then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12263 $as_echo "$GTKDOC_CHECK" >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12270 for ac_prog in gtkdoc-rebase
12272 # Extract the first word of "$ac_prog", so it can be a program name with args.
12273 set dummy $ac_prog; ac_word=$2
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12275 $as_echo_n "checking for $ac_word... " >&6; }
12276 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12277 $as_echo_n "(cached) " >&6
12279 case $GTKDOC_REBASE in
12281 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12285 for as_dir in $PATH
12288 test -z "$as_dir" && as_dir=.
12289 for ac_exec_ext in '' $ac_executable_extensions; do
12290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12291 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12302 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12303 if test -n "$GTKDOC_REBASE"; then
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12305 $as_echo "$GTKDOC_REBASE" >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12308 $as_echo "no" >&6; }
12312 test -n "$GTKDOC_REBASE" && break
12314 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12316 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12317 set dummy gtkdoc-mkpdf; ac_word=$2
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12319 $as_echo_n "checking for $ac_word... " >&6; }
12320 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12321 $as_echo_n "(cached) " >&6
12323 case $GTKDOC_MKPDF in
12325 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12329 for as_dir in $PATH
12332 test -z "$as_dir" && as_dir=.
12333 for ac_exec_ext in '' $ac_executable_extensions; do
12334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12335 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12346 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12347 if test -n "$GTKDOC_MKPDF"; then
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12349 $as_echo "$GTKDOC_MKPDF" >&6; }
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352 $as_echo "no" >&6; }
12358 # Check whether --with-html-dir was given.
12359 if test "${with_html_dir+set}" = set; then :
12360 withval=$with_html_dir;
12362 with_html_dir='${datadir}/gtk-doc/html'
12365 HTML_DIR="$with_html_dir"
12368 # Check whether --enable-gtk-doc was given.
12369 if test "${enable_gtk_doc+set}" = set; then :
12370 enableval=$enable_gtk_doc;
12376 if test x$enable_gtk_doc = xyes; then
12377 if test -n "$PKG_CONFIG" && \
12378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
12379 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
12381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12382 test $ac_status = 0; }; then
12385 as_fn_error $? "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
12387 if test "x$PACKAGE_NAME" != "xglib"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12391 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12393 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12394 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12395 elif test -n "$PKG_CONFIG"; then
12396 if test -n "$PKG_CONFIG" && \
12397 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12398 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12401 test $ac_status = 0; }; then
12402 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12403 test "x$?" != "x0" && pkg_failed=yes
12410 if test -n "$GTKDOC_DEPS_LIBS"; then
12411 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12412 elif test -n "$PKG_CONFIG"; then
12413 if test -n "$PKG_CONFIG" && \
12414 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12415 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12418 test $ac_status = 0; }; then
12419 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12420 test "x$?" != "x0" && pkg_failed=yes
12430 if test $pkg_failed = yes; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12434 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12435 _pkg_short_errors_supported=yes
12437 _pkg_short_errors_supported=no
12439 if test $_pkg_short_errors_supported = yes; then
12440 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12442 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12444 # Put the nasty error message in config.log where it belongs
12445 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12447 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12449 $GTKDOC_DEPS_PKG_ERRORS
12451 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12452 installed software in a non-standard prefix.
12454 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12455 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12456 See the pkg-config man page for more details." "$LINENO" 5
12457 elif test $pkg_failed = untried; then
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12459 $as_echo "no" >&6; }
12460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12462 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12463 is in your PATH or set the PKG_CONFIG environment variable to the full
12464 path to pkg-config.
12466 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12467 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12468 See the pkg-config man page for more details.
12470 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12471 See \`config.log' for more details" "$LINENO" 5; }
12473 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12474 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12476 $as_echo "yes" >&6; }
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12483 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12485 $as_echo "$enable_gtk_doc" >&6; }
12487 # Check whether --enable-gtk-doc-html was given.
12488 if test "${enable_gtk_doc_html+set}" = set; then :
12489 enableval=$enable_gtk_doc_html;
12491 enable_gtk_doc_html=yes
12494 # Check whether --enable-gtk-doc-pdf was given.
12495 if test "${enable_gtk_doc_pdf+set}" = set; then :
12496 enableval=$enable_gtk_doc_pdf;
12498 enable_gtk_doc_pdf=no
12502 if test -z "$GTKDOC_MKPDF"; then
12503 enable_gtk_doc_pdf=no
12507 if test x$enable_gtk_doc = xyes; then
12508 ENABLE_GTK_DOC_TRUE=
12509 ENABLE_GTK_DOC_FALSE='#'
12511 ENABLE_GTK_DOC_TRUE='#'
12512 ENABLE_GTK_DOC_FALSE=
12515 if test x$enable_gtk_doc_html = xyes; then
12516 GTK_DOC_BUILD_HTML_TRUE=
12517 GTK_DOC_BUILD_HTML_FALSE='#'
12519 GTK_DOC_BUILD_HTML_TRUE='#'
12520 GTK_DOC_BUILD_HTML_FALSE=
12523 if test x$enable_gtk_doc_pdf = xyes; then
12524 GTK_DOC_BUILD_PDF_TRUE=
12525 GTK_DOC_BUILD_PDF_FALSE='#'
12527 GTK_DOC_BUILD_PDF_TRUE='#'
12528 GTK_DOC_BUILD_PDF_FALSE=
12531 if test -n "$LIBTOOL"; then
12532 GTK_DOC_USE_LIBTOOL_TRUE=
12533 GTK_DOC_USE_LIBTOOL_FALSE='#'
12535 GTK_DOC_USE_LIBTOOL_TRUE='#'
12536 GTK_DOC_USE_LIBTOOL_FALSE=
12539 if test -n "$GTKDOC_REBASE"; then
12540 GTK_DOC_USE_REBASE_TRUE=
12541 GTK_DOC_USE_REBASE_FALSE='#'
12543 GTK_DOC_USE_REBASE_TRUE='#'
12544 GTK_DOC_USE_REBASE_FALSE=
12549 ac_config_files="$ac_config_files Makefile libgupnp-dlna/Makefile tools/Makefile tests/Makefile tests/test-discoverer.sh doc/Makefile doc/version.xml data/Makefile gupnp-dlna-1.0.pc gupnp-dlna-1.0-uninstalled.pc"
12551 cat >confcache <<\_ACEOF
12552 # This file is a shell script that caches the results of configure
12553 # tests run on this system so they can be shared between configure
12554 # scripts and configure runs, see configure's option --config-cache.
12555 # It is not useful on other systems. If it contains results you don't
12556 # want to keep, you may remove or edit it.
12558 # config.status only pays attention to the cache file if you give it
12559 # the --recheck option to rerun configure.
12561 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12562 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12563 # following values.
12567 # The following way of writing the cache mishandles newlines in values,
12568 # but we know of no workaround that is simple, portable, and efficient.
12569 # So, we kill variables containing newlines.
12570 # Ultrix sh set writes to stderr and can't be redirected directly,
12571 # and sets the high bit in the cache file unless we assign to the vars.
12573 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12574 eval ac_val=\$$ac_var
12578 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12582 _ | IFS | as_nl) ;; #(
12583 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12584 *) { eval $ac_var=; unset $ac_var;} ;;
12590 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12591 *${as_nl}ac_space=\ *)
12592 # `set' does not quote correctly, so add quotes: double-quote
12593 # substitution turns \\\\ into \\, and sed turns \\ into \.
12596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12599 # `set' quotes correctly as required by POSIX, so do not add quotes.
12600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12609 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12611 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12613 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12614 if test -w "$cache_file"; then
12615 if test "x$cache_file" != "x/dev/null"; then
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12617 $as_echo "$as_me: updating cache $cache_file" >&6;}
12618 if test ! -f "$cache_file" || test -h "$cache_file"; then
12619 cat confcache >"$cache_file"
12621 case $cache_file in #(
12623 mv -f confcache "$cache_file"$$ &&
12624 mv -f "$cache_file"$$ "$cache_file" ;; #(
12626 mv -f confcache "$cache_file" ;;
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12632 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12637 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12638 # Let make expand exec_prefix.
12639 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12641 DEFS=-DHAVE_CONFIG_H
12646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12647 # 1. Remove the extension, and $U if already installed.
12648 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12649 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12650 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12651 # will be set to the directory where LIBOBJS objects are built.
12652 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12653 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12655 LIBOBJS=$ac_libobjs
12657 LTLIBOBJS=$ac_ltlibobjs
12660 if test -n "$EXEEXT"; then
12662 am__EXEEXT_FALSE='#'
12664 am__EXEEXT_TRUE='#'
12668 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12669 as_fn_error $? "conditional \"AMDEP\" was never defined.
12670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12672 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12673 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12676 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
12677 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
12678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12680 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12681 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12684 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12685 as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12688 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12689 as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12692 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12693 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12696 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12697 as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12701 : "${CONFIG_STATUS=./config.status}"
12703 ac_clean_files_save=$ac_clean_files
12704 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12706 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12708 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12710 # Generated by $as_me.
12711 # Run this file to recreate the current configuration.
12712 # Compiler output produced by configure, useful for debugging
12713 # configure, is in config.log if it exists.
12716 ac_cs_recheck=false
12719 SHELL=\${CONFIG_SHELL-$SHELL}
12722 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12723 ## -------------------- ##
12724 ## M4sh Initialization. ##
12725 ## -------------------- ##
12727 # Be more Bourne compatible
12728 DUALCASE=1; export DUALCASE # for MKS sh
12729 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12732 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12733 # is contrary to our usage. Disable this feature.
12734 alias -g '${1+"$@"}'='"$@"'
12735 setopt NO_GLOB_SUBST
12737 case `(set -o) 2>/dev/null` in #(
12749 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12750 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12751 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12752 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12753 # Prefer a ksh shell builtin over an external printf program on Solaris,
12754 # but without wasting forks for bash or zsh.
12755 if test -z "$BASH_VERSION$ZSH_VERSION" \
12756 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12757 as_echo='print -r --'
12758 as_echo_n='print -rn --'
12759 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12760 as_echo='printf %s\n'
12761 as_echo_n='printf %s'
12763 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12764 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12765 as_echo_n='/usr/ucb/echo -n'
12767 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12768 as_echo_n_body='eval
12772 expr "X$arg" : "X\\(.*\\)$as_nl";
12773 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12775 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12777 export as_echo_n_body
12778 as_echo_n='sh -c $as_echo_n_body as_echo'
12780 export as_echo_body
12781 as_echo='sh -c $as_echo_body as_echo'
12784 # The user is always right.
12785 if test "${PATH_SEPARATOR+set}" != set; then
12787 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12788 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12795 # We need space, tab and new line, in precisely that order. Quoting is
12796 # there to prevent editors from complaining about space-tab.
12797 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12798 # splitting by setting IFS to empty value.)
12801 # Find who we are. Look in the path if we contain no directory separator.
12804 *[\\/]* ) as_myself=$0 ;;
12805 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12809 test -z "$as_dir" && as_dir=.
12810 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12816 # We did not find ourselves, most probably we were run as `sh COMMAND'
12817 # in which case we are not to be found in the path.
12818 if test "x$as_myself" = x; then
12821 if test ! -f "$as_myself"; then
12822 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12826 # Unset variables that we do not need and which cause bugs (e.g. in
12827 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12828 # suppresses any "Segmentation fault" message there. '((' could
12829 # trigger a bug in pdksh 5.2.14.
12830 for as_var in BASH_ENV ENV MAIL MAILPATH
12831 do eval test x\${$as_var+set} = xset \
12832 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12845 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12848 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12849 # ----------------------------------------
12850 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12851 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12852 # script with STATUS, using 1 if that was 0.
12855 as_status=$1; test $as_status -eq 0 && as_status=1
12857 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12858 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12860 $as_echo "$as_me: error: $2" >&2
12861 as_fn_exit $as_status
12865 # as_fn_set_status STATUS
12866 # -----------------------
12867 # Set $? to STATUS, without forking.
12868 as_fn_set_status ()
12871 } # as_fn_set_status
12873 # as_fn_exit STATUS
12874 # -----------------
12875 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12879 as_fn_set_status $1
12885 # Portably unset VAR.
12888 { eval $1=; unset $1;}
12890 as_unset=as_fn_unset
12891 # as_fn_append VAR VALUE
12892 # ----------------------
12893 # Append the text in VALUE to the end of the definition contained in VAR. Take
12894 # advantage of any shell optimizations that allow amortized linear growth over
12895 # repeated appends, instead of the typical quadratic growth present in naive
12897 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12898 eval 'as_fn_append ()
12909 # as_fn_arith ARG...
12910 # ------------------
12911 # Perform arithmetic evaluation on the ARGs, and store the result in the
12912 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12913 # must be portable across $(()) and expr.
12914 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12915 eval 'as_fn_arith ()
12922 as_val=`expr "$@" || test $? -eq 1`
12927 if expr a : '\(a\)' >/dev/null 2>&1 &&
12928 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12934 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12935 as_basename=basename
12940 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12946 as_me=`$as_basename -- "$0" ||
12947 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12948 X"$0" : 'X\(//\)$' \| \
12949 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12951 sed '/^.*\/\([^/][^/]*\)\/*$/{
12965 # Avoid depending upon Character Ranges.
12966 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12967 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12968 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12969 as_cr_digits='0123456789'
12970 as_cr_alnum=$as_cr_Letters$as_cr_digits
12972 ECHO_C= ECHO_N= ECHO_T=
12973 case `echo -n x` in #(((((
12975 case `echo 'xy\c'` in
12976 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12978 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12985 rm -f conf$$ conf$$.exe conf$$.file
12986 if test -d conf$$.dir; then
12987 rm -f conf$$.dir/conf$$.file
12990 mkdir conf$$.dir 2>/dev/null
12992 if (echo >conf$$.file) 2>/dev/null; then
12993 if ln -s conf$$.file conf$$ 2>/dev/null; then
12995 # ... but there are two gotchas:
12996 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12997 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12998 # In both cases, we have to default to `cp -pR'.
12999 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13001 elif ln conf$$.file conf$$ 2>/dev/null; then
13009 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13010 rmdir conf$$.dir 2>/dev/null
13015 # Create "$as_dir" as a directory, including parents if necessary.
13020 -*) as_dir=./$as_dir;;
13022 test -d "$as_dir" || eval $as_mkdir_p || {
13026 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13027 *) as_qdir=$as_dir;;
13029 as_dirs="'$as_qdir' $as_dirs"
13030 as_dir=`$as_dirname -- "$as_dir" ||
13031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13032 X"$as_dir" : 'X\(//\)[^/]' \| \
13033 X"$as_dir" : 'X\(//\)$' \| \
13034 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13035 $as_echo X"$as_dir" |
13036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13040 /^X\(\/\/\)[^/].*/{
13053 test -d "$as_dir" && break
13055 test -z "$as_dirs" || eval "mkdir $as_dirs"
13056 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13060 if mkdir -p . 2>/dev/null; then
13061 as_mkdir_p='mkdir -p "$as_dir"'
13063 test -d ./-p && rmdir ./-p
13068 # as_fn_executable_p FILE
13069 # -----------------------
13070 # Test if FILE is an executable regular file.
13071 as_fn_executable_p ()
13073 test -f "$1" && test -x "$1"
13074 } # as_fn_executable_p
13075 as_test_x='test -x'
13076 as_executable_p=as_fn_executable_p
13078 # Sed expression to map a string onto a valid CPP name.
13079 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13081 # Sed expression to map a string onto a valid variable name.
13082 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13086 ## ----------------------------------- ##
13087 ## Main body of $CONFIG_STATUS script. ##
13088 ## ----------------------------------- ##
13090 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13093 # Save the log message, to keep $0 and so on meaningful, and to
13094 # report actual input values of CONFIG_FILES etc. instead of their
13095 # values after options handling.
13097 This file was extended by gupnp-dlna $as_me 0.6.6, which was
13098 generated by GNU Autoconf 2.69. Invocation command line was
13100 CONFIG_FILES = $CONFIG_FILES
13101 CONFIG_HEADERS = $CONFIG_HEADERS
13102 CONFIG_LINKS = $CONFIG_LINKS
13103 CONFIG_COMMANDS = $CONFIG_COMMANDS
13106 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13111 case $ac_config_files in *"
13112 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13115 case $ac_config_headers in *"
13116 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13121 # Files that config.status was made for.
13122 config_files="$ac_config_files"
13123 config_headers="$ac_config_headers"
13124 config_commands="$ac_config_commands"
13128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13130 \`$as_me' instantiates files and other configuration actions
13131 from templates according to the current configuration. Unless the files
13132 and actions are specified as TAGs, all are instantiated by default.
13134 Usage: $0 [OPTION]... [TAG]...
13136 -h, --help print this help, then exit
13137 -V, --version print version number and configuration settings, then exit
13138 --config print configuration, then exit
13139 -q, --quiet, --silent
13140 do not print progress messages
13141 -d, --debug don't remove temporary files
13142 --recheck update $as_me by reconfiguring in the same conditions
13143 --file=FILE[:TEMPLATE]
13144 instantiate the configuration file FILE
13145 --header=FILE[:TEMPLATE]
13146 instantiate the configuration header FILE
13148 Configuration files:
13151 Configuration headers:
13154 Configuration commands:
13157 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gupnp&component=gupnp-dlna>.
13158 gupnp-dlna home page: <http://www.gupnp.org/>."
13161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13162 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13164 gupnp-dlna config.status 0.6.6
13165 configured by $0, generated by GNU Autoconf 2.69,
13166 with options \\"\$ac_cs_config\\"
13168 Copyright (C) 2012 Free Software Foundation, Inc.
13169 This config.status script is free software; the Free Software Foundation
13170 gives unlimited permission to copy, distribute and modify it."
13177 test -n "\$AWK" || AWK=awk
13180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13181 # The default lists apply if the user does not specify any file.
13187 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13188 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13192 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13204 # Handling of the options.
13205 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13207 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13208 $as_echo "$ac_cs_version"; exit ;;
13209 --config | --confi | --conf | --con | --co | --c )
13210 $as_echo "$ac_cs_config"; exit ;;
13211 --debug | --debu | --deb | --de | --d | -d )
13213 --file | --fil | --fi | --f )
13216 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13217 '') as_fn_error $? "missing file argument" ;;
13219 as_fn_append CONFIG_FILES " '$ac_optarg'"
13220 ac_need_defaults=false;;
13221 --header | --heade | --head | --hea )
13224 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13226 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13227 ac_need_defaults=false;;
13229 # Conflict between --help and --header
13230 as_fn_error $? "ambiguous option: \`$1'
13231 Try \`$0 --help' for more information.";;
13232 --help | --hel | -h )
13233 $as_echo "$ac_cs_usage"; exit ;;
13234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13235 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13238 # This is an error.
13239 -*) as_fn_error $? "unrecognized option: \`$1'
13240 Try \`$0 --help' for more information." ;;
13242 *) as_fn_append ac_config_targets " $1"
13243 ac_need_defaults=false ;;
13249 ac_configure_extra_args=
13251 if $ac_cs_silent; then
13253 ac_configure_extra_args="$ac_configure_extra_args --silent"
13257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13258 if \$ac_cs_recheck; then
13259 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13261 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13262 CONFIG_SHELL='$SHELL'
13263 export CONFIG_SHELL
13268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13272 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13273 ## Running $as_me. ##
13279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13283 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13286 # The HP-UX ksh and POSIX shell print the target directory to stdout
13287 # if CDPATH is set.
13288 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13290 sed_quote_subst='$sed_quote_subst'
13291 double_quote_subst='$double_quote_subst'
13292 delay_variable_subst='$delay_variable_subst'
13293 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13294 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13295 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13296 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13297 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13298 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13299 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13300 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13301 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13302 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13303 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13304 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13305 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13306 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13307 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13308 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13309 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13310 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13311 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13312 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13313 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13314 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13315 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13316 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13317 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13318 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13319 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13320 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13321 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13322 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13323 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13324 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13325 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13326 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13327 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13328 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13329 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13330 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13331 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13332 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13333 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13334 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13335 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13336 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13337 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13338 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13339 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13340 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13341 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13342 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13343 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13344 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13345 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13346 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13347 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13348 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13349 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13350 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"`'
13351 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13352 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13353 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13354 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13355 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13356 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13357 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13358 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13359 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13360 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13361 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13362 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13363 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13364 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13365 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13366 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13367 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13368 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13369 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13370 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13371 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13372 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13373 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13374 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13375 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13376 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13377 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13378 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13379 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13380 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13381 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13382 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13383 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13384 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13385 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13386 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13387 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13388 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13389 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13390 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13391 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13392 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13393 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13394 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13395 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13396 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13397 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13398 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13399 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13400 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13401 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13402 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13403 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13404 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13405 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13406 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13407 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13408 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13409 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13410 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13411 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13412 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13413 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13414 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13415 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13416 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13417 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13418 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13419 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13420 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13421 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13422 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13423 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13426 LTCFLAGS='$LTCFLAGS'
13427 compiler='$compiler_DEFAULT'
13429 # A function that is used when there is no print builtin or printf.
13430 func_fallback_echo ()
13432 eval 'cat <<_LTECHO_EOF
13437 # Quote evaled strings.
13454 deplibs_check_method \
13458 sharedlib_from_linklib_cmd \
13461 archiver_list_spec \
13467 lt_cv_sys_global_symbol_pipe \
13468 lt_cv_sys_global_symbol_to_cdecl \
13469 lt_cv_sys_global_symbol_to_c_name_address \
13470 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13471 nm_file_list_spec \
13472 lt_prog_compiler_no_builtin_flag \
13473 lt_prog_compiler_pic \
13474 lt_prog_compiler_wl \
13475 lt_prog_compiler_static \
13476 lt_cv_prog_compiler_c_o \
13485 export_dynamic_flag_spec \
13486 whole_archive_flag_spec \
13487 compiler_needs_object \
13489 allow_undefined_flag \
13490 no_undefined_flag \
13491 hardcode_libdir_flag_spec \
13492 hardcode_libdir_separator \
13496 variables_saved_for_relink \
13498 library_names_spec \
13500 install_override_mode \
13504 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13505 *[\\\\\\\`\\"\\\$]*)
13506 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13509 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13514 # Double-quote double-evaled strings.
13515 for var in reload_cmds \
13516 old_postinstall_cmds \
13517 old_postuninstall_cmds \
13519 extract_expsyms_cmds \
13520 old_archive_from_new_cmds \
13521 old_archive_from_expsyms_cmds \
13523 archive_expsym_cmds \
13525 module_expsym_cmds \
13526 export_symbols_cmds \
13530 postuninstall_cmds \
13532 sys_lib_search_path_spec \
13533 sys_lib_dlsearch_path_spec; do
13534 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13535 *[\\\\\\\`\\"\\\$]*)
13536 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13539 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13544 ac_aux_dir='$ac_aux_dir'
13545 xsi_shell='$xsi_shell'
13546 lt_shell_append='$lt_shell_append'
13548 # See if we are running on zsh, and set the options which allow our
13549 # commands through without removal of \ escapes INIT.
13550 if test -n "\${ZSH_VERSION+set}" ; then
13551 setopt NO_GLOB_SUBST
13557 TIMESTAMP='$TIMESTAMP'
13566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13568 # Handling of arguments.
13569 for ac_config_target in $ac_config_targets
13571 case $ac_config_target in
13572 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13573 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13574 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13575 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13576 "libgupnp-dlna/Makefile") CONFIG_FILES="$CONFIG_FILES libgupnp-dlna/Makefile" ;;
13577 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13578 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13579 "tests/test-discoverer.sh") CONFIG_FILES="$CONFIG_FILES tests/test-discoverer.sh" ;;
13580 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13581 "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;;
13582 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13583 "gupnp-dlna-1.0.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0.pc" ;;
13584 "gupnp-dlna-1.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES gupnp-dlna-1.0-uninstalled.pc" ;;
13586 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13591 # If the user did not use the arguments to specify the items to instantiate,
13592 # then the envvar interface is used. Set only those that are not.
13593 # We use the long form for the default assignment because of an extremely
13594 # bizarre bug on SunOS 4.1.3.
13595 if $ac_need_defaults; then
13596 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13597 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13598 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13601 # Have a temporary directory for convenience. Make it in the build tree
13602 # simply because there is no reason against having it here, and in addition,
13603 # creating and moving files from /tmp can sometimes cause problems.
13604 # Hook for its removal unless debugging.
13605 # Note that there is a small window in which the directory will not be cleaned:
13606 # after its creation but before its name has been assigned to `$tmp'.
13610 trap 'exit_status=$?
13611 : "${ac_tmp:=$tmp}"
13612 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13614 trap 'as_fn_exit 1' 1 2 13 15
13616 # Create a (secure) tmp directory for tmp files.
13619 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13623 tmp=./conf$$-$RANDOM
13624 (umask 077 && mkdir "$tmp")
13625 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13628 # Set up the scripts for CONFIG_FILES section.
13629 # No need to generate them if there are no CONFIG_FILES.
13630 # This happens for instance with `./config.status config.h'.
13631 if test -n "$CONFIG_FILES"; then
13634 ac_cr=`echo X | tr X '\015'`
13635 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13636 # But we know of no other shell where ac_cr would be empty at this
13637 # point, so we can use a bashism as a fallback.
13638 if test "x$ac_cr" = x; then
13639 eval ac_cr=\$\'\\r\'
13641 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13642 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13645 ac_cs_awk_cr=$ac_cr
13648 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13653 echo "cat >conf$$subs.awk <<_ACEOF" &&
13654 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13656 } >conf$$subs.sh ||
13657 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13658 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13660 for ac_last_try in false false false false false :; do
13661 . ./conf$$subs.sh ||
13662 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13664 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13665 if test $ac_delim_n = $ac_delim_num; then
13667 elif $ac_last_try; then
13668 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13670 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13673 rm -f conf$$subs.sh
13675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13676 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13680 s/^/S["/; s/!.*/"]=/
13690 s/\(.\{148\}\)..*/\1/
13692 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13697 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13704 s/\(.\{148\}\)..*/\1/
13706 s/["\\]/\\&/g; s/^/"/; s/$/"/
13710 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13715 ' <conf$$subs.awk | sed '
13720 ' >>$CONFIG_STATUS || ac_write_fail=1
13721 rm -f conf$$subs.awk
13722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13724 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13725 for (key in S) S_is_set[key] = 1
13731 nfields = split(line, field, "@")
13733 len = length(field[1])
13734 for (i = 2; i < nfields; i++) {
13736 keylen = length(key)
13737 if (S_is_set[key]) {
13739 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13740 len += length(value) + length(field[++i])
13751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13752 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13753 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13756 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13757 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13760 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13761 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13762 # trailing colons and then remove the whole line if VPATH becomes empty
13763 # (actually we leave an empty line to preserve line numbers).
13764 if test "x$srcdir" = x.; then
13765 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13784 fi # test -n "$CONFIG_FILES"
13786 # Set up the scripts for CONFIG_HEADERS section.
13787 # No need to generate them if there are no CONFIG_HEADERS.
13788 # This happens for instance with `./config.status Makefile'.
13789 if test -n "$CONFIG_HEADERS"; then
13790 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13794 # Transform confdefs.h into an awk script `defines.awk', embedded as
13795 # here-document in config.status, that substitutes the proper values into
13796 # config.h.in to produce config.h.
13798 # Create a delimiter string that does not exist in confdefs.h, to ease
13799 # handling of long lines.
13801 for ac_last_try in false false :; do
13802 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13803 if test -z "$ac_tt"; then
13805 elif $ac_last_try; then
13806 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13808 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13812 # For the awk script, D is an array of macro values keyed by name,
13813 # likewise P contains macro parameters if any. Preserve backslash
13814 # newline sequences.
13816 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13818 s/.\{148\}/&'"$ac_delim"'/g
13821 s/^[ ]*#[ ]*define[ ][ ]*/ /
13828 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13830 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13834 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13835 D["\1"]=" \3\\\\\\n"\\/p
13837 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13842 s/.\{148\}/&'"$ac_delim"'/g
13847 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13850 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13852 ' <confdefs.h | sed '
13853 s/'"$ac_delim"'/"\\\
13854 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13857 for (key in D) D_is_set[key] = 1
13860 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13862 split(line, arg, " ")
13863 if (arg[1] == "#") {
13867 defundef = substr(arg[1], 2)
13870 split(mac1, mac2, "(") #)
13872 prefix = substr(line, 1, index(line, defundef) - 1)
13873 if (D_is_set[macro]) {
13874 # Preserve the white space surrounding the "#".
13875 print prefix "define", macro P[macro] D[macro]
13878 # Replace #undef with comments. This is necessary, for example,
13879 # in the case of _POSIX_SOURCE, which is predefined and required
13880 # on some systems where configure will not decide to define it.
13881 if (defundef == "undef") {
13882 print "/*", prefix defundef, macro, "*/"
13890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13891 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13892 fi # test -n "$CONFIG_HEADERS"
13895 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13900 :[FHLC]) ac_mode=$ac_tag; continue;;
13902 case $ac_mode$ac_tag in
13904 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13905 :[FH]-) ac_tag=-:-;;
13906 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13923 -) ac_f="$ac_tmp/stdin";;
13924 *) # Look for the file first in the build tree, then in the source tree
13925 # (if the path is not absolute). The absolute path cannot be DOS-style,
13926 # because $ac_f cannot contain `:'.
13930 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13932 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13934 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13935 as_fn_append ac_file_inputs " '$ac_f'"
13938 # Let's still pretend it is `configure' which instantiates (i.e., don't
13939 # use $as_me), people would be surprised to read:
13940 # /* config.h. Generated by config.status. */
13941 configure_input='Generated from '`
13942 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13944 if test x"$ac_file" != x-; then
13945 configure_input="$ac_file. $configure_input"
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13947 $as_echo "$as_me: creating $ac_file" >&6;}
13949 # Neutralize special characters interpreted by sed in replacement strings.
13950 case $configure_input in #(
13951 *\&* | *\|* | *\\* )
13952 ac_sed_conf_input=`$as_echo "$configure_input" |
13953 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13954 *) ac_sed_conf_input=$configure_input;;
13958 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13964 ac_dir=`$as_dirname -- "$ac_file" ||
13965 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13966 X"$ac_file" : 'X\(//\)[^/]' \| \
13967 X"$ac_file" : 'X\(//\)$' \| \
13968 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13969 $as_echo X"$ac_file" |
13970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13974 /^X\(\/\/\)[^/].*/{
13987 as_dir="$ac_dir"; as_fn_mkdir_p
13991 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13993 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13994 # A ".." for each directory in $ac_dir_suffix.
13995 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13996 case $ac_top_builddir_sub in
13997 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13998 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14001 ac_abs_top_builddir=$ac_pwd
14002 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14003 # for backward compatibility:
14004 ac_top_builddir=$ac_top_build_prefix
14007 .) # We are building in place.
14009 ac_top_srcdir=$ac_top_builddir_sub
14010 ac_abs_top_srcdir=$ac_pwd ;;
14011 [\\/]* | ?:[\\/]* ) # Absolute name.
14012 ac_srcdir=$srcdir$ac_dir_suffix;
14013 ac_top_srcdir=$srcdir
14014 ac_abs_top_srcdir=$srcdir ;;
14015 *) # Relative name.
14016 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14017 ac_top_srcdir=$ac_top_build_prefix$srcdir
14018 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14020 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14030 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14031 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14033 ac_MKDIR_P=$MKDIR_P
14035 [\\/$]* | ?:[\\/]* ) ;;
14036 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14041 # If the template does not know about datarootdir, expand it.
14042 # FIXME: This hack should be removed a few years after 2.60.
14043 ac_datarootdir_hack=; ac_datarootdir_seen=
14054 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14055 *datarootdir*) ac_datarootdir_seen=yes;;
14056 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14058 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14061 ac_datarootdir_hack='
14062 s&@datadir@&$datadir&g
14063 s&@docdir@&$docdir&g
14064 s&@infodir@&$infodir&g
14065 s&@localedir@&$localedir&g
14066 s&@mandir@&$mandir&g
14067 s&\\\${datarootdir}&$datarootdir&g' ;;
14071 # Neutralize VPATH when `$srcdir' = `.'.
14072 # Shell code in configure.ac might set extrasub.
14073 # FIXME: do we really want to maintain this feature?
14074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14075 ac_sed_extra="$ac_vpsub
14078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14080 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14081 s|@configure_input@|$ac_sed_conf_input|;t t
14082 s&@top_builddir@&$ac_top_builddir_sub&;t t
14083 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14084 s&@srcdir@&$ac_srcdir&;t t
14085 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14086 s&@top_srcdir@&$ac_top_srcdir&;t t
14087 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14088 s&@builddir@&$ac_builddir&;t t
14089 s&@abs_builddir@&$ac_abs_builddir&;t t
14090 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14091 s&@INSTALL@&$ac_INSTALL&;t t
14092 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14093 $ac_datarootdir_hack
14095 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14096 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14098 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14099 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14100 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14101 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14103 which seems to be undefined. Please make sure it is defined" >&5
14104 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14105 which seems to be undefined. Please make sure it is defined" >&2;}
14107 rm -f "$ac_tmp/stdin"
14109 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14110 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14118 if test x"$ac_file" != x-; then
14120 $as_echo "/* $configure_input */" \
14121 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14122 } >"$ac_tmp/config.h" \
14123 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14124 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14126 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14129 mv "$ac_tmp/config.h" "$ac_file" \
14130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14133 $as_echo "/* $configure_input */" \
14134 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14135 || as_fn_error $? "could not create -" "$LINENO" 5
14137 # Compute "$ac_file"'s index in $config_headers.
14140 for _am_header in $config_headers :; do
14141 case $_am_header in
14142 $_am_arg | $_am_arg:* )
14145 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14148 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14149 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14150 X"$_am_arg" : 'X\(//\)[^/]' \| \
14151 X"$_am_arg" : 'X\(//\)$' \| \
14152 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14153 $as_echo X"$_am_arg" |
14154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14158 /^X\(\/\/\)[^/].*/{
14170 s/.*/./; q'`/stamp-h$_am_stamp_count
14173 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14174 $as_echo "$as_me: executing $ac_file commands" >&6;}
14179 case $ac_file$ac_mode in
14180 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14181 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14182 # are listed without --file. Let's play safe and only enable the eval
14183 # if we detect the quoting.
14184 case $CONFIG_FILES in
14185 *\'*) eval set x "$CONFIG_FILES" ;;
14186 *) set x $CONFIG_FILES ;;
14191 # Strip MF so we end up with the name of the file.
14192 mf=`echo "$mf" | sed -e 's/:.*$//'`
14193 # Check whether this is an Automake generated Makefile or not.
14194 # We used to match only the files named `Makefile.in', but
14195 # some people rename them; so instead we look at the file content.
14196 # Grep'ing the first line is not enough: some people post-process
14197 # each Makefile.in and add a new line on top of each file to say so.
14198 # Grep'ing the whole file is not good either: AIX grep has a line
14199 # limit of 2048, but all sed's we know have understand at least 4000.
14200 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14201 dirpart=`$as_dirname -- "$mf" ||
14202 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14203 X"$mf" : 'X\(//\)[^/]' \| \
14204 X"$mf" : 'X\(//\)$' \| \
14205 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14211 /^X\(\/\/\)[^/].*/{
14227 # Extract the definition of DEPDIR, am__include, and am__quote
14228 # from the Makefile without running `make'.
14229 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14230 test -z "$DEPDIR" && continue
14231 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14232 test -z "am__include" && continue
14233 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14234 # When using ansi2knr, U may be empty or an underscore; expand it
14235 U=`sed -n 's/^U = //p' < "$mf"`
14236 # Find all dependency output files, they are included files with
14237 # $(DEPDIR) in their names. We invoke sed twice because it is the
14238 # simplest approach to changing $(DEPDIR) to its actual value in the
14240 for file in `sed -n "
14241 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14242 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14243 # Make sure the directory exists.
14244 test -f "$dirpart/$file" && continue
14245 fdir=`$as_dirname -- "$file" ||
14246 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14247 X"$file" : 'X\(//\)[^/]' \| \
14248 X"$file" : 'X\(//\)$' \| \
14249 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14250 $as_echo X"$file" |
14251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14255 /^X\(\/\/\)[^/].*/{
14268 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14269 # echo "creating $dirpart/$file"
14270 echo '# dummy' > "$dirpart/$file"
14277 # See if we are running on zsh, and set the options which allow our
14278 # commands through without removal of \ escapes.
14279 if test -n "${ZSH_VERSION+set}" ; then
14280 setopt NO_GLOB_SUBST
14283 cfgfile="${ofile}T"
14284 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14287 cat <<_LT_EOF >> "$cfgfile"
14290 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14291 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14292 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14293 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14295 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14296 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14298 # Written by Gordon Matzigkeit, 1996
14300 # This file is part of GNU Libtool.
14302 # GNU Libtool is free software; you can redistribute it and/or
14303 # modify it under the terms of the GNU General Public License as
14304 # published by the Free Software Foundation; either version 2 of
14305 # the License, or (at your option) any later version.
14307 # As a special exception to the GNU General Public License,
14308 # if you distribute this file as part of a program or library that
14309 # is built using GNU Libtool, you may include this file under the
14310 # same distribution terms that you use for the rest of that program.
14312 # GNU Libtool is distributed in the hope that it will be useful,
14313 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14314 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14315 # GNU General Public License for more details.
14317 # You should have received a copy of the GNU General Public License
14318 # along with GNU Libtool; see the file COPYING. If not, a copy
14319 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14320 # obtained by writing to the Free Software Foundation, Inc.,
14321 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14324 # The names of the tagged configurations supported by this script.
14327 # ### BEGIN LIBTOOL CONFIG
14329 # Which release of libtool.m4 was used?
14330 macro_version=$macro_version
14331 macro_revision=$macro_revision
14333 # Assembler program.
14336 # DLL creation program.
14337 DLLTOOL=$lt_DLLTOOL
14339 # Object dumper program.
14340 OBJDUMP=$lt_OBJDUMP
14342 # Whether or not to build shared libraries.
14343 build_libtool_libs=$enable_shared
14345 # Whether or not to build static libraries.
14346 build_old_libs=$enable_static
14348 # What type of objects to build.
14351 # Whether or not to optimize for fast installation.
14352 fast_install=$enable_fast_install
14354 # Shell to use when invoking shell scripts.
14357 # An echo program that protects backslashes.
14360 # The PATH separator for the build system.
14361 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14364 host_alias=$host_alias
14368 # The build system.
14369 build_alias=$build_alias
14373 # A sed program that does not truncate output.
14376 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14377 Xsed="\$SED -e 1s/^X//"
14379 # A grep program that handles long lines.
14385 # A literal string matcher.
14388 # A BSD- or MS-compatible name lister.
14391 # Whether we need soft or hard links.
14394 # What is the maximum length of a command?
14395 max_cmd_len=$max_cmd_len
14397 # Object file suffix (normally "o").
14400 # Executable file suffix (normally "").
14403 # whether the shell understands "unset".
14406 # turn spaces into newlines.
14409 # turn newlines into spaces.
14412 # convert \$build file names to \$host format.
14413 to_host_file_cmd=$lt_cv_to_host_file_cmd
14415 # convert \$build files to toolchain format.
14416 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14418 # Method to check whether dependent libraries are shared objects.
14419 deplibs_check_method=$lt_deplibs_check_method
14421 # Command to use when deplibs_check_method = "file_magic".
14422 file_magic_cmd=$lt_file_magic_cmd
14424 # How to find potential files when deplibs_check_method = "file_magic".
14425 file_magic_glob=$lt_file_magic_glob
14427 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14428 want_nocaseglob=$lt_want_nocaseglob
14430 # Command to associate shared and link libraries.
14431 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14436 # Flags to create an archive.
14437 AR_FLAGS=$lt_AR_FLAGS
14439 # How to feed a file listing to the archiver.
14440 archiver_list_spec=$lt_archiver_list_spec
14442 # A symbol stripping program.
14445 # Commands used to install an old-style archive.
14447 old_postinstall_cmds=$lt_old_postinstall_cmds
14448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14450 # Whether to use a lock for old archive extraction.
14451 lock_old_archive_extraction=$lock_old_archive_extraction
14456 # LTCC compiler flags.
14457 LTCFLAGS=$lt_CFLAGS
14459 # Take the output of nm and produce a listing of raw symbols and C names.
14460 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14462 # Transform the output of nm in a proper C declaration.
14463 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14465 # Transform the output of nm in a C name address pair.
14466 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14468 # Transform the output of nm in a C name address pair when lib prefix is needed.
14469 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14471 # Specify filename containing input files for \$NM.
14472 nm_file_list_spec=$lt_nm_file_list_spec
14474 # The root where to search for dependent libraries,and in which our libraries should be installed.
14475 lt_sysroot=$lt_sysroot
14477 # The name of the directory that contains temporary libtool files.
14480 # Used to examine libraries when file_magic_cmd begins with "file".
14481 MAGIC_CMD=$MAGIC_CMD
14483 # Must we lock files when doing compilation?
14484 need_locks=$lt_need_locks
14487 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14489 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14490 DSYMUTIL=$lt_DSYMUTIL
14492 # Tool to change global to local symbols on Mac OS X.
14495 # Tool to manipulate fat objects and archives on Mac OS X.
14498 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14501 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14502 OTOOL64=$lt_OTOOL64
14504 # Old archive suffix (normally "a").
14507 # Shared library suffix (normally ".so").
14508 shrext_cmds=$lt_shrext_cmds
14510 # The commands to extract the exported symbol list from a shared archive.
14511 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14513 # Variables whose values should be saved in libtool wrapper scripts and
14514 # restored at link time.
14515 variables_saved_for_relink=$lt_variables_saved_for_relink
14517 # Do we need the "lib" prefix for modules?
14518 need_lib_prefix=$need_lib_prefix
14520 # Do we need a version for libraries?
14521 need_version=$need_version
14523 # Library versioning type.
14524 version_type=$version_type
14526 # Shared library runtime path variable.
14527 runpath_var=$runpath_var
14529 # Shared library path variable.
14530 shlibpath_var=$shlibpath_var
14532 # Is shlibpath searched before the hard-coded library search path?
14533 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14535 # Format of library name prefix.
14536 libname_spec=$lt_libname_spec
14538 # List of archive names. First name is the real one, the rest are links.
14539 # The last name is the one that the linker finds with -lNAME
14540 library_names_spec=$lt_library_names_spec
14542 # The coded name of the library, if different from the real name.
14543 soname_spec=$lt_soname_spec
14545 # Permission mode override for installation of shared libraries.
14546 install_override_mode=$lt_install_override_mode
14548 # Command to use after installation of a shared archive.
14549 postinstall_cmds=$lt_postinstall_cmds
14551 # Command to use after uninstallation of a shared archive.
14552 postuninstall_cmds=$lt_postuninstall_cmds
14554 # Commands used to finish a libtool library installation in a directory.
14555 finish_cmds=$lt_finish_cmds
14557 # As "finish_cmds", except a single script fragment to be evaled but
14559 finish_eval=$lt_finish_eval
14561 # Whether we should hardcode library paths into libraries.
14562 hardcode_into_libs=$hardcode_into_libs
14564 # Compile-time system search path for libraries.
14565 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14567 # Run-time system search path for libraries.
14568 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14570 # Whether dlopen is supported.
14571 dlopen_support=$enable_dlopen
14573 # Whether dlopen of programs is supported.
14574 dlopen_self=$enable_dlopen_self
14576 # Whether dlopen of statically linked programs is supported.
14577 dlopen_self_static=$enable_dlopen_self_static
14579 # Commands to strip libraries.
14580 old_striplib=$lt_old_striplib
14581 striplib=$lt_striplib
14584 # The linker used to build libraries.
14587 # How to create reloadable object files.
14588 reload_flag=$lt_reload_flag
14589 reload_cmds=$lt_reload_cmds
14591 # Commands used to build an old-style archive.
14592 old_archive_cmds=$lt_old_archive_cmds
14594 # A language specific compiler.
14597 # Is the compiler the GNU compiler?
14600 # Compiler flag to turn off builtin functions.
14601 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14603 # Additional compiler flags for building library objects.
14604 pic_flag=$lt_lt_prog_compiler_pic
14606 # How to pass a linker flag through the compiler.
14607 wl=$lt_lt_prog_compiler_wl
14609 # Compiler flag to prevent dynamic linking.
14610 link_static_flag=$lt_lt_prog_compiler_static
14612 # Does compiler simultaneously support -c and -o options?
14613 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14615 # Whether or not to add -lc for building shared libraries.
14616 build_libtool_need_lc=$archive_cmds_need_lc
14618 # Whether or not to disallow shared libs when runtime libs are static.
14619 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14621 # Compiler flag to allow reflexive dlopens.
14622 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14624 # Compiler flag to generate shared objects directly from archives.
14625 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14627 # Whether the compiler copes with passing no objects directly.
14628 compiler_needs_object=$lt_compiler_needs_object
14630 # Create an old-style archive from a shared archive.
14631 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14633 # Create a temporary old-style archive to link instead of a shared archive.
14634 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14636 # Commands used to build a shared archive.
14637 archive_cmds=$lt_archive_cmds
14638 archive_expsym_cmds=$lt_archive_expsym_cmds
14640 # Commands used to build a loadable module if different from building
14641 # a shared archive.
14642 module_cmds=$lt_module_cmds
14643 module_expsym_cmds=$lt_module_expsym_cmds
14645 # Whether we are building with GNU ld or not.
14646 with_gnu_ld=$lt_with_gnu_ld
14648 # Flag that allows shared libraries with undefined symbols to be built.
14649 allow_undefined_flag=$lt_allow_undefined_flag
14651 # Flag that enforces no undefined symbols.
14652 no_undefined_flag=$lt_no_undefined_flag
14654 # Flag to hardcode \$libdir into a binary during linking.
14655 # This must work even if \$libdir does not exist
14656 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14658 # Whether we need a single "-rpath" flag with a separated argument.
14659 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14661 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14662 # DIR into the resulting binary.
14663 hardcode_direct=$hardcode_direct
14665 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14666 # DIR into the resulting binary and the resulting library dependency is
14667 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14668 # library is relocated.
14669 hardcode_direct_absolute=$hardcode_direct_absolute
14671 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14672 # into the resulting binary.
14673 hardcode_minus_L=$hardcode_minus_L
14675 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14676 # into the resulting binary.
14677 hardcode_shlibpath_var=$hardcode_shlibpath_var
14679 # Set to "yes" if building a shared library automatically hardcodes DIR
14680 # into the library and all subsequent libraries and executables linked
14682 hardcode_automatic=$hardcode_automatic
14684 # Set to yes if linker adds runtime paths of dependent libraries
14685 # to runtime path list.
14686 inherit_rpath=$inherit_rpath
14688 # Whether libtool must link a program against all its dependency libraries.
14689 link_all_deplibs=$link_all_deplibs
14691 # Set to "yes" if exported symbols are required.
14692 always_export_symbols=$always_export_symbols
14694 # The commands to list exported symbols.
14695 export_symbols_cmds=$lt_export_symbols_cmds
14697 # Symbols that should not be listed in the preloaded symbols.
14698 exclude_expsyms=$lt_exclude_expsyms
14700 # Symbols that must always be exported.
14701 include_expsyms=$lt_include_expsyms
14703 # Commands necessary for linking programs (against libraries) with templates.
14704 prelink_cmds=$lt_prelink_cmds
14706 # Commands necessary for finishing linking programs.
14707 postlink_cmds=$lt_postlink_cmds
14709 # Specify filename containing input files.
14710 file_list_spec=$lt_file_list_spec
14712 # How to hardcode a shared library path into an executable.
14713 hardcode_action=$hardcode_action
14715 # ### END LIBTOOL CONFIG
14721 cat <<\_LT_EOF >> "$cfgfile"
14722 # AIX sometimes has problems with the GCC collect2 program. For some
14723 # reason, if we set the COLLECT_NAMES environment variable, the problems
14724 # vanish in a puff of smoke.
14725 if test "X${COLLECT_NAMES+set}" != Xset; then
14727 export COLLECT_NAMES
14734 ltmain="$ac_aux_dir/ltmain.sh"
14737 # We use sed instead of cat because bash on DJGPP gets confused if
14738 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14739 # text mode, it properly converts lines to CR/LF. This bash problem
14740 # is reportedly fixed, but why not run on old versions too?
14741 sed '$q' "$ltmain" >> "$cfgfile" \
14742 || (rm -f "$cfgfile"; exit 1)
14744 if test x"$xsi_shell" = xyes; then
14745 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14749 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14750 \ * ) func_dirname_result="${3}" ;;\
14752 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14753 && mv -f "$cfgfile.tmp" "$cfgfile" \
14754 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14755 test 0 -eq $? || _lt_function_replace_fail=:
14758 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14761 \ func_basename_result="${1##*/}"\
14762 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14763 && mv -f "$cfgfile.tmp" "$cfgfile" \
14764 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14765 test 0 -eq $? || _lt_function_replace_fail=:
14768 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14769 func_dirname_and_basename ()\
14772 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14773 \ * ) func_dirname_result="${3}" ;;\
14775 \ func_basename_result="${1##*/}"\
14776 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14777 && mv -f "$cfgfile.tmp" "$cfgfile" \
14778 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14779 test 0 -eq $? || _lt_function_replace_fail=:
14782 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14785 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14786 \ # positional parameters, so assign one to ordinary parameter first.\
14787 \ func_stripname_result=${3}\
14788 \ func_stripname_result=${func_stripname_result#"${1}"}\
14789 \ func_stripname_result=${func_stripname_result%"${2}"}\
14790 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14791 && mv -f "$cfgfile.tmp" "$cfgfile" \
14792 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14793 test 0 -eq $? || _lt_function_replace_fail=:
14796 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14797 func_split_long_opt ()\
14799 \ func_split_long_opt_name=${1%%=*}\
14800 \ func_split_long_opt_arg=${1#*=}\
14801 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14802 && mv -f "$cfgfile.tmp" "$cfgfile" \
14803 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14804 test 0 -eq $? || _lt_function_replace_fail=:
14807 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14808 func_split_short_opt ()\
14810 \ func_split_short_opt_arg=${1#??}\
14811 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14812 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14813 && mv -f "$cfgfile.tmp" "$cfgfile" \
14814 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14815 test 0 -eq $? || _lt_function_replace_fail=:
14818 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14822 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14823 \ *) func_lo2o_result=${1} ;;\
14825 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14826 && mv -f "$cfgfile.tmp" "$cfgfile" \
14827 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14828 test 0 -eq $? || _lt_function_replace_fail=:
14831 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14834 func_xform_result=${1%.*}.lo\
14835 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14836 && mv -f "$cfgfile.tmp" "$cfgfile" \
14837 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14838 test 0 -eq $? || _lt_function_replace_fail=:
14841 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14844 func_arith_result=$(( $* ))\
14845 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14846 && mv -f "$cfgfile.tmp" "$cfgfile" \
14847 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14848 test 0 -eq $? || _lt_function_replace_fail=:
14851 sed -e '/^func_len ()$/,/^} # func_len /c\
14854 func_len_result=${#1}\
14855 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14856 && mv -f "$cfgfile.tmp" "$cfgfile" \
14857 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14858 test 0 -eq $? || _lt_function_replace_fail=:
14862 if test x"$lt_shell_append" = xyes; then
14863 sed -e '/^func_append ()$/,/^} # func_append /c\
14866 eval "${1}+=\\${2}"\
14867 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14868 && mv -f "$cfgfile.tmp" "$cfgfile" \
14869 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14870 test 0 -eq $? || _lt_function_replace_fail=:
14873 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14874 func_append_quoted ()\
14876 \ func_quote_for_eval "${2}"\
14877 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14878 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14879 && mv -f "$cfgfile.tmp" "$cfgfile" \
14880 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14881 test 0 -eq $? || _lt_function_replace_fail=:
14884 # Save a `func_append' function call where possible by direct use of '+='
14885 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14886 && mv -f "$cfgfile.tmp" "$cfgfile" \
14887 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14888 test 0 -eq $? || _lt_function_replace_fail=:
14890 # Save a `func_append' function call even when '+=' is not available
14891 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14892 && mv -f "$cfgfile.tmp" "$cfgfile" \
14893 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14894 test 0 -eq $? || _lt_function_replace_fail=:
14897 if test x"$_lt_function_replace_fail" = x":"; then
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14899 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14903 mv -f "$cfgfile" "$ofile" ||
14904 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14915 ac_clean_files=$ac_clean_files_save
14917 test $ac_write_fail = 0 ||
14918 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14921 # configure is writing to config.log, and then calls config.status.
14922 # config.status does its own redirection, appending to config.log.
14923 # Unfortunately, on DOS this fails, as config.log is still kept open
14924 # by configure, so config.status won't be able to write to it; its
14925 # output is simply discarded. So we exec the FD to /dev/null,
14926 # effectively closing config.log, so it can be properly (re)opened and
14927 # appended to by config.status. When coming back to configure, we
14928 # need to make the FD available again.
14929 if test "$no_create" != yes; then
14931 ac_config_status_args=
14932 test "$silent" = yes &&
14933 ac_config_status_args="$ac_config_status_args --quiet"
14935 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14937 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14938 # would make configure fail if this is the last instruction.
14939 $ac_cs_success || as_fn_exit 1
14941 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14943 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}