2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dleyna-server 0.4.0.
5 # Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/01org/dleyna-server/issues/new about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='dleyna-server'
592 PACKAGE_TARNAME='dleyna-server'
593 PACKAGE_VERSION='0.4.0'
594 PACKAGE_STRING='dleyna-server 0.4.0'
595 PACKAGE_BUGREPORT='https://github.com/01org/dleyna-server/issues/new'
596 PACKAGE_URL='https://01.org/dleyna/'
598 ac_unique_file="libdleyna/server/server.c"
599 ac_default_prefix=/usr/local
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
643 DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE
644 DLEYNA_SERVER_INTERFACE_MANAGER
717 MAINTAINER_MODE_FALSE
731 INSTALL_STRIP_PROGRAM
773 program_transform_name
786 enable_option_checking
788 enable_maintainer_mode
789 enable_dependency_tracking
806 with_dbus_service_dir
809 ac_precious_vars='build_alias
839 # Initialize some variables set by options.
841 ac_init_version=false
842 ac_unrecognized_opts=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
853 program_transform_name=s,x,x,
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir='${exec_prefix}/bin'
868 sbindir='${exec_prefix}/sbin'
869 libexecdir='${exec_prefix}/libexec'
870 datarootdir='${prefix}/share'
871 datadir='${datarootdir}'
872 sysconfdir='${prefix}/etc'
873 sharedstatedir='${prefix}/com'
874 localstatedir='${prefix}/var'
875 includedir='${prefix}/include'
876 oldincludedir='/usr/include'
877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir='${datarootdir}/info'
883 libdir='${exec_prefix}/lib'
884 localedir='${datarootdir}/locale'
885 mandir='${datarootdir}/man'
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\$ac_option
899 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir | --bindir | --bindi | --bind | --bin | --bi)
912 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915 -build | --build | --buil | --bui | --bu)
916 ac_prev=build_alias ;;
917 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
918 build_alias=$ac_optarg ;;
920 -cache-file | --cache-file | --cache-fil | --cache-fi \
921 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
922 ac_prev=cache_file ;;
923 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
924 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
925 cache_file=$ac_optarg ;;
928 cache_file=config.cache ;;
930 -datadir | --datadir | --datadi | --datad)
932 -datadir=* | --datadir=* | --datadi=* | --datad=*)
933 datadir=$ac_optarg ;;
935 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
936 | --dataroo | --dataro | --datar)
937 ac_prev=datarootdir ;;
938 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
939 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
940 datarootdir=$ac_optarg ;;
942 -disable-* | --disable-*)
943 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946 as_fn_error $? "invalid feature name: $ac_useropt"
947 ac_useropt_orig=$ac_useropt
948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep=', ';;
956 eval enable_$ac_useropt=no ;;
958 -docdir | --docdir | --docdi | --doc | --do)
960 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
963 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
965 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
968 -enable-* | --enable-*)
969 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
972 as_fn_error $? "invalid feature name: $ac_useropt"
973 ac_useropt_orig=$ac_useropt
974 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep=', ';;
982 eval enable_$ac_useropt=\$ac_optarg ;;
984 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
985 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
986 | --exec | --exe | --ex)
987 ac_prev=exec_prefix ;;
988 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
989 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
990 | --exec=* | --exe=* | --ex=*)
991 exec_prefix=$ac_optarg ;;
993 -gas | --gas | --ga | --g)
994 # Obsolete; use --with-gas.
997 -help | --help | --hel | --he | -h)
999 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1000 ac_init_help=recursive ;;
1001 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1002 ac_init_help=short ;;
1004 -host | --host | --hos | --ho)
1005 ac_prev=host_alias ;;
1006 -host=* | --host=* | --hos=* | --ho=*)
1007 host_alias=$ac_optarg ;;
1009 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1011 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1013 htmldir=$ac_optarg ;;
1015 -includedir | --includedir | --includedi | --included | --include \
1016 | --includ | --inclu | --incl | --inc)
1017 ac_prev=includedir ;;
1018 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1019 | --includ=* | --inclu=* | --incl=* | --inc=*)
1020 includedir=$ac_optarg ;;
1022 -infodir | --infodir | --infodi | --infod | --info | --inf)
1024 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1025 infodir=$ac_optarg ;;
1027 -libdir | --libdir | --libdi | --libd)
1029 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1030 libdir=$ac_optarg ;;
1032 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1033 | --libexe | --libex | --libe)
1034 ac_prev=libexecdir ;;
1035 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1036 | --libexe=* | --libex=* | --libe=*)
1037 libexecdir=$ac_optarg ;;
1039 -localedir | --localedir | --localedi | --localed | --locale)
1040 ac_prev=localedir ;;
1041 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1042 localedir=$ac_optarg ;;
1044 -localstatedir | --localstatedir | --localstatedi | --localstated \
1045 | --localstate | --localstat | --localsta | --localst | --locals)
1046 ac_prev=localstatedir ;;
1047 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1048 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1049 localstatedir=$ac_optarg ;;
1051 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1053 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1054 mandir=$ac_optarg ;;
1056 -nfp | --nfp | --nf)
1057 # Obsolete; use --without-fp.
1060 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1061 | --no-cr | --no-c | -n)
1064 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1065 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1068 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1069 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1070 | --oldin | --oldi | --old | --ol | --o)
1071 ac_prev=oldincludedir ;;
1072 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1073 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1074 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1075 oldincludedir=$ac_optarg ;;
1077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1080 prefix=$ac_optarg ;;
1082 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1083 | --program-pre | --program-pr | --program-p)
1084 ac_prev=program_prefix ;;
1085 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1086 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1087 program_prefix=$ac_optarg ;;
1089 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1090 | --program-suf | --program-su | --program-s)
1091 ac_prev=program_suffix ;;
1092 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1093 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1094 program_suffix=$ac_optarg ;;
1096 -program-transform-name | --program-transform-name \
1097 | --program-transform-nam | --program-transform-na \
1098 | --program-transform-n | --program-transform- \
1099 | --program-transform | --program-transfor \
1100 | --program-transfo | --program-transf \
1101 | --program-trans | --program-tran \
1102 | --progr-tra | --program-tr | --program-t)
1103 ac_prev=program_transform_name ;;
1104 -program-transform-name=* | --program-transform-name=* \
1105 | --program-transform-nam=* | --program-transform-na=* \
1106 | --program-transform-n=* | --program-transform-=* \
1107 | --program-transform=* | --program-transfor=* \
1108 | --program-transfo=* | --program-transf=* \
1109 | --program-trans=* | --program-tran=* \
1110 | --progr-tra=* | --program-tr=* | --program-t=*)
1111 program_transform_name=$ac_optarg ;;
1113 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1115 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1116 pdfdir=$ac_optarg ;;
1118 -psdir | --psdir | --psdi | --psd | --ps)
1120 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1123 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1124 | -silent | --silent | --silen | --sile | --sil)
1127 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1129 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1131 sbindir=$ac_optarg ;;
1133 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1134 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1135 | --sharedst | --shareds | --shared | --share | --shar \
1137 ac_prev=sharedstatedir ;;
1138 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1139 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1140 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1142 sharedstatedir=$ac_optarg ;;
1144 -site | --site | --sit)
1146 -site=* | --site=* | --sit=*)
1149 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1151 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1152 srcdir=$ac_optarg ;;
1154 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1155 | --syscon | --sysco | --sysc | --sys | --sy)
1156 ac_prev=sysconfdir ;;
1157 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1158 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1159 sysconfdir=$ac_optarg ;;
1161 -target | --target | --targe | --targ | --tar | --ta | --t)
1162 ac_prev=target_alias ;;
1163 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1164 target_alias=$ac_optarg ;;
1166 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1169 -version | --version | --versio | --versi | --vers | -V)
1170 ac_init_version=: ;;
1173 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176 as_fn_error $? "invalid package name: $ac_useropt"
1177 ac_useropt_orig=$ac_useropt
1178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep=', ';;
1186 eval with_$ac_useropt=\$ac_optarg ;;
1188 -without-* | --without-*)
1189 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192 as_fn_error $? "invalid package name: $ac_useropt"
1193 ac_useropt_orig=$ac_useropt
1194 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep=', ';;
1202 eval with_$ac_useropt=no ;;
1205 # Obsolete; use --with-x.
1208 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1209 | --x-incl | --x-inc | --x-in | --x-i)
1210 ac_prev=x_includes ;;
1211 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1212 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1213 x_includes=$ac_optarg ;;
1215 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1216 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1217 ac_prev=x_libraries ;;
1218 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1219 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1220 x_libraries=$ac_optarg ;;
1222 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information"
1227 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' | [0-9]* | *[!_$as_cr_alnum]* )
1231 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1233 eval $ac_envvar=\$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247 if test -n "$ac_prev"; then
1248 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error $? "missing argument to $ac_option"
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1255 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 # Check all directory arguments for consistency.
1261 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1266 eval ac_val=\$$ac_var
1267 # Remove trailing slashes.
1270 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\$ac_val;;
1273 # Be sure to have absolute directory names.
1275 [\\/$]* | ?:[\\/]* ) continue;;
1276 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1278 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1286 target=$target_alias
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x; then
1290 if test "x$build_alias" = x; then
1291 cross_compiling=maybe
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1300 test "$silent" = yes && exec 6>/dev/null
1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di=`ls -di .` &&
1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $? "working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $? "pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 for ac_var in $ac_precious_vars; do
1364 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_${ac_var}_value=\$${ac_var}
1366 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures dleyna-server 0.4.0 to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/dleyna-server]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive ) echo "Configuration of dleyna-server 0.4.0:";;
1452 --disable-option-checking ignore unrecognized --enable/--with options
1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1455 --enable-silent-rules less verbose build output (undo: "make V=1")
1456 --disable-silent-rules verbose build output (undo: "make V=0")
1457 --enable-maintainer-mode
1458 enable make rules and dependencies not useful (and
1459 sometimes confusing) to the casual installer
1460 --enable-dependency-tracking
1461 do not reject slow dependency extractors
1462 --disable-dependency-tracking
1463 speeds up one-time build
1464 --enable-static[=PKGS] build static libraries [default=no]
1465 --enable-shared[=PKGS] build shared libraries [default=yes]
1466 --enable-fast-install[=PKGS]
1467 optimize for fast installation [default=yes]
1468 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --enable-debug enable compiling with debugging information
1471 --enable-werror warnings are treated as errors
1472 --disable-optimization disable code optimization through compiler
1473 --enable-never-quit Service doesn't quit when last client disconnects
1474 --enable-lib-only compile only the libdleyna-server library
1477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1479 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1481 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1482 --with-sysroot=DIR Search for dependent libraries within DIR
1483 (or the compiler's sysroot if not specified).
1484 --with-connector-name IPC connector name
1485 --with-log-level enable logging information (0,1..6,7,8) 0=disabled
1486 7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1487 comma separated list of log level
1488 --with-log-type Select log output technology 0=syslog 1=GLib
1489 --with-ua-prefix Specify a user agent prefix
1490 --with-dbus-service-dir=PATH
1491 choose directory for dbus service files,
1492 [default=PREFIX/share/dbus-1/services]
1494 Some influential environment variables:
1495 CC C compiler command
1496 CFLAGS C compiler flags
1497 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1498 nonstandard directory <lib dir>
1499 LIBS libraries to pass to the linker, e.g. -l<library>
1500 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1501 you have headers in a nonstandard directory <include dir>
1503 PKG_CONFIG path to pkg-config utility
1505 directories to add to pkg-config's search path
1507 path overriding pkg-config's built-in search path
1508 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1509 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1510 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1511 GIO_LIBS linker flags for GIO, overriding pkg-config
1513 C compiler flags for GSSDP, overriding pkg-config
1514 GSSDP_LIBS linker flags for GSSDP, overriding pkg-config
1516 C compiler flags for GUPNP, overriding pkg-config
1517 GUPNP_LIBS linker flags for GUPNP, overriding pkg-config
1519 C compiler flags for GUPNPAV, overriding pkg-config
1521 linker flags for GUPNPAV, overriding pkg-config
1523 C compiler flags for GUPNPDLNA, overriding pkg-config
1525 linker flags for GUPNPDLNA, overriding pkg-config
1526 SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1527 SOUP_LIBS linker flags for SOUP, overriding pkg-config
1529 C compiler flags for DLEYNA_CORE, overriding pkg-config
1531 linker flags for DLEYNA_CORE, overriding pkg-config
1533 Use these variables to override the choices made by `configure' or to help
1534 it to find libraries and programs with nonstandard names/locations.
1536 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
1537 dleyna-server home page: <https://01.org/dleyna/>.
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1561 ac_abs_top_builddir=$ac_pwd
1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir=$ac_top_build_prefix
1567 .) # We are building in place.
1569 ac_top_srcdir=$ac_top_builddir_sub
1570 ac_abs_top_srcdir=$ac_pwd ;;
1571 [\\/]* | ?:[\\/]* ) # Absolute name.
1572 ac_srcdir=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir=$srcdir
1574 ac_abs_top_srcdir=$srcdir ;;
1576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" || { ac_status=$?; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 cd "$ac_pwd" || { ac_status=$?; break; }
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1600 dleyna-server configure 0.4.0
1601 generated by GNU Autoconf 2.69
1603 Copyright (C) 2012 Free Software Foundation, Inc.
1604 This configure script is free software; the Free Software Foundation
1605 gives unlimited permission to copy, distribute and modify it.
1610 ## ------------------------ ##
1611 ## Autoconf initialization. ##
1612 ## ------------------------ ##
1614 # ac_fn_c_try_compile LINENO
1615 # --------------------------
1616 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1617 ac_fn_c_try_compile ()
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 rm -f conftest.$ac_objext
1621 if { { ac_try="$ac_compile"
1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624 *) ac_try_echo=$ac_try;;
1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628 (eval "$ac_compile") 2>conftest.err
1630 if test -s conftest.err; then
1631 grep -v '^ *+' conftest.err >conftest.er1
1632 cat conftest.er1 >&5
1633 mv -f conftest.er1 conftest.err
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; } && {
1637 test -z "$ac_c_werror_flag" ||
1638 test ! -s conftest.err
1639 } && test -s conftest.$ac_objext; then :
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 as_fn_set_status $ac_retval
1650 } # ac_fn_c_try_compile
1652 # ac_fn_c_try_link LINENO
1653 # -----------------------
1654 # Try to link conftest.$ac_ext, and return whether this succeeded.
1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1658 rm -f conftest.$ac_objext conftest$ac_exeext
1659 if { { ac_try="$ac_link"
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_link") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && {
1675 test -z "$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1677 } && test -s conftest$ac_exeext && {
1678 test "$cross_compiling" = yes ||
1679 test -x conftest$ac_exeext
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1688 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1689 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1690 # interfere with the next link command; also delete a directory that is
1691 # left behind by Apple's compiler. We do this before executing the actions.
1692 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status $ac_retval
1696 } # ac_fn_c_try_link
1698 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1699 # -------------------------------------------------------
1700 # Tests whether HEADER exists and can be compiled using the include files in
1701 # INCLUDES, setting the cache variable VAR accordingly.
1702 ac_fn_c_check_header_compile ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1715 if ac_fn_c_try_compile "$LINENO"; then :
1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724 $as_echo "$ac_res" >&6; }
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 } # ac_fn_c_check_header_compile
1729 # ac_fn_c_try_cpp LINENO
1730 # ----------------------
1731 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 if { { ac_try="$ac_cpp conftest.$ac_ext"
1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1744 if test -s conftest.err; then
1745 grep -v '^ *+' conftest.err >conftest.er1
1746 cat conftest.er1 >&5
1747 mv -f conftest.er1 conftest.err
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; } > conftest.i && {
1751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1752 test ! -s conftest.err
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's/^/| /' conftest.$ac_ext >&5
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 as_fn_set_status $ac_retval
1766 # ac_fn_c_try_run LINENO
1767 # ----------------------
1768 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1769 # that executables *can* be run.
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_link"
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_link") 2>&5
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1784 { { case "(($ac_try" in
1785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786 *) ac_try_echo=$ac_try;;
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_try") 2>&5
1792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793 test $ac_status = 0; }; }; then :
1796 $as_echo "$as_me: program exited with status $ac_status" >&5
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1800 ac_retval=$ac_status
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 as_fn_set_status $ac_retval
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval \${$3+:} false; then :
1817 $as_echo_n "(cached) " >&6
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1821 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1823 #define $2 innocuous_$2
1825 /* System header to define __stub macros and hopefully few prototypes,
1826 which can conflict with char $2 (); below.
1827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1828 <limits.h> exists even on freestanding compilers. */
1831 # include <limits.h>
1833 # include <assert.h>
1838 /* Override any GCC internal prototype to avoid an error.
1839 Use char because int might match the return type of a GCC
1840 builtin and then its argument prototype would still apply. */
1845 /* The GNU C library defines this for functions which it implements
1846 to always fail with ENOSYS. Some functions are actually named
1847 something starting with __ and the normal name is an alias. */
1848 #if defined __stub_$2 || defined __stub___$2
1860 if ac_fn_c_try_link "$LINENO"; then :
1865 rm -f core conftest.err conftest.$ac_objext \
1866 conftest$ac_exeext conftest.$ac_ext
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873 } # ac_fn_c_check_func
1875 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878 # the include files in INCLUDES and setting the cache variable VAR
1880 ac_fn_c_check_header_mongrel ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if eval \${$3+:} false; then :
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if eval \${$3+:} false; then :
1887 $as_echo_n "(cached) " >&6
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1893 # Is the header compilable?
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895 $as_echo_n "checking $2 usability... " >&6; }
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 ac_header_compiler=yes
1904 ac_header_compiler=no
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908 $as_echo "$ac_header_compiler" >&6; }
1910 # Is the header present?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912 $as_echo_n "checking $2 presence... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1917 if ac_fn_c_try_cpp "$LINENO"; then :
1918 ac_header_preproc=yes
1920 ac_header_preproc=no
1922 rm -f conftest.err conftest.i conftest.$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924 $as_echo "$ac_header_preproc" >&6; }
1926 # So? What about this header?
1927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1938 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1942 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945 ( $as_echo "## ---------------------------------------------------------------- ##
1946 ## Report this to https://github.com/01org/dleyna-server/issues/new ##
1947 ## ---------------------------------------------------------------- ##"
1948 ) | sed "s/^/$as_me: WARNING: /" >&2
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1956 eval "$3=\$ac_header_compiler"
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_check_header_mongrel
1966 # ac_fn_c_find_uintX_t LINENO BITS VAR
1967 # ------------------------------------
1968 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1970 ac_fn_c_find_uintX_t ()
1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1974 $as_echo_n "checking for uint$2_t... " >&6; }
1975 if eval \${$3+:} false; then :
1976 $as_echo_n "(cached) " >&6
1979 # Order is important - never check a type that is potentially smaller
1980 # than half of the expected target width.
1981 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1982 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1984 /* end confdefs.h. */
1985 $ac_includes_default
1989 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1991 return test_array [0];
1997 if ac_fn_c_try_compile "$LINENO"; then :
2002 eval "$3=\$ac_type" ;;
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 if eval test \"x\$"$3"\" = x"no"; then :
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 } # ac_fn_c_find_uintX_t
2020 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2021 # -------------------------------------------
2022 # Tests whether TYPE exists after having included INCLUDES, setting cache
2023 # variable VAR accordingly.
2024 ac_fn_c_check_type ()
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028 $as_echo_n "checking for $2... " >&6; }
2029 if eval \${$3+:} false; then :
2030 $as_echo_n "(cached) " >&6
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2045 if ac_fn_c_try_compile "$LINENO"; then :
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2058 if ac_fn_c_try_compile "$LINENO"; then :
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2069 $as_echo "$ac_res" >&6; }
2070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 } # ac_fn_c_check_type
2073 cat >config.log <<_ACEOF
2074 This file contains any messages produced by compilers while
2075 running configure, to aid debugging if configure makes a mistake.
2077 It was created by dleyna-server $as_me 0.4.0, which was
2078 generated by GNU Autoconf 2.69. Invocation command line was
2090 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2091 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2092 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2093 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2094 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2096 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2097 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2099 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2100 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2101 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2102 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2103 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2104 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2105 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 $as_echo "PATH: $as_dir"
2130 # Keep a trace of the command line.
2131 # Strip out --no-create and --no-recursion so they do not pile up.
2132 # Strip out --silent because we don't want to record it for future runs.
2133 # Also quote any args containing shell meta-characters.
2134 # Make two passes to allow for proper duplicate-argument suppression.
2138 ac_must_keep_next=false
2144 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2145 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2146 | -silent | --silent | --silen | --sile | --sil)
2149 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2152 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2154 as_fn_append ac_configure_args1 " '$ac_arg'"
2155 if test $ac_must_keep_next = true; then
2156 ac_must_keep_next=false # Got value, back to normal.
2159 *=* | --config-cache | -C | -disable-* | --disable-* \
2160 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2161 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2162 | -with-* | --with-* | -without-* | --without-* | --x)
2163 case "$ac_configure_args0 " in
2164 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2167 -* ) ac_must_keep_next=true ;;
2170 as_fn_append ac_configure_args " '$ac_arg'"
2175 { ac_configure_args0=; unset ac_configure_args0;}
2176 { ac_configure_args1=; unset ac_configure_args1;}
2178 # When interrupted or exit'd, cleanup temporary files, and complete
2179 # config.log. We remove comments because anyway the quotes in there
2180 # would cause problems or look ugly.
2181 # WARNING: Use '\'' to represent an apostrophe within the trap.
2182 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2183 trap 'exit_status=$?
2184 # Save into config.log some information that might help in debugging.
2188 $as_echo "## ---------------- ##
2189 ## Cache variables. ##
2190 ## ---------------- ##"
2192 # The following way of writing the cache mishandles newlines in values,
2194 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2195 eval ac_val=\$$ac_var
2199 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2200 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2203 _ | IFS | as_nl) ;; #(
2204 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2205 *) { eval $ac_var=; unset $ac_var;} ;;
2210 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2211 *${as_nl}ac_space=\ *)
2213 "s/'\''/'\''\\\\'\'''\''/g;
2214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2224 $as_echo "## ----------------- ##
2225 ## Output variables. ##
2226 ## ----------------- ##"
2228 for ac_var in $ac_subst_vars
2230 eval ac_val=\$$ac_var
2232 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2234 $as_echo "$ac_var='\''$ac_val'\''"
2238 if test -n "$ac_subst_files"; then
2239 $as_echo "## ------------------- ##
2240 ## File substitutions. ##
2241 ## ------------------- ##"
2243 for ac_var in $ac_subst_files
2245 eval ac_val=\$$ac_var
2247 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249 $as_echo "$ac_var='\''$ac_val'\''"
2254 if test -s confdefs.h; then
2255 $as_echo "## ----------- ##
2262 test "$ac_signal" != 0 &&
2263 $as_echo "$as_me: caught signal $ac_signal"
2264 $as_echo "$as_me: exit $exit_status"
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 for ac_signal in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest* confdefs.h
2278 $as_echo "/* confdefs.h */" > confdefs.h
2280 # Predefined preprocessor variables.
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_NAME "$PACKAGE_NAME"
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_URL "$PACKAGE_URL"
2307 # Let the site file select an alternate cache file if it wants to.
2308 # Prefer an explicitly selected file to automatically selected ones.
2311 if test -n "$CONFIG_SITE"; then
2312 # We do not want a PATH search for config.site.
2313 case $CONFIG_SITE in #((
2314 -*) ac_site_file1=./$CONFIG_SITE;;
2315 */*) ac_site_file1=$CONFIG_SITE;;
2316 *) ac_site_file1=./$CONFIG_SITE;;
2318 elif test "x$prefix" != xNONE; then
2319 ac_site_file1=$prefix/share/config.site
2320 ac_site_file2=$prefix/etc/config.site
2322 ac_site_file1=$ac_default_prefix/share/config.site
2323 ac_site_file2=$ac_default_prefix/etc/config.site
2325 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2327 test "x$ac_site_file" = xNONE && continue
2328 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2330 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2331 sed 's/^/| /' "$ac_site_file" >&5
2333 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2335 as_fn_error $? "failed to load site script $ac_site_file
2336 See \`config.log' for more details" "$LINENO" 5; }
2340 if test -r "$cache_file"; then
2341 # Some versions of bash will fail to source /dev/null (special files
2342 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2343 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2345 $as_echo "$as_me: loading cache $cache_file" >&6;}
2347 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2348 *) . "./$cache_file";;
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2353 $as_echo "$as_me: creating cache $cache_file" >&6;}
2357 # Check that the precious variables saved in the cache have kept the same
2359 ac_cache_corrupted=false
2360 for ac_var in $ac_precious_vars; do
2361 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2362 eval ac_new_set=\$ac_env_${ac_var}_set
2363 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2364 eval ac_new_val=\$ac_env_${ac_var}_value
2365 case $ac_old_set,$ac_new_set in
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2368 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2369 ac_cache_corrupted=: ;;
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2372 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2373 ac_cache_corrupted=: ;;
2376 if test "x$ac_old_val" != "x$ac_new_val"; then
2377 # differences in whitespace do not lead to failure.
2378 ac_old_val_w=`echo x $ac_old_val`
2379 ac_new_val_w=`echo x $ac_new_val`
2380 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2382 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2383 ac_cache_corrupted=:
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2386 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2387 eval $ac_var=\$ac_old_val
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2390 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2392 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2395 # Pass precious variables to config.status.
2396 if test "$ac_new_set" = set; then
2398 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2399 *) ac_arg=$ac_var=$ac_new_val ;;
2401 case " $ac_configure_args " in
2402 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2403 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2407 if $ac_cache_corrupted; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2411 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2412 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2414 ## -------------------- ##
2415 ## Main body of script. ##
2416 ## -------------------- ##
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2426 ac_config_headers="$ac_config_headers config.h"
2429 for ac_dir in build-aux "$srcdir"/build-aux; do
2430 if test -f "$ac_dir/install-sh"; then
2432 ac_install_sh="$ac_aux_dir/install-sh -c"
2434 elif test -f "$ac_dir/install.sh"; then
2436 ac_install_sh="$ac_aux_dir/install.sh -c"
2438 elif test -f "$ac_dir/shtool"; then
2440 ac_install_sh="$ac_aux_dir/shtool install -c"
2444 if test -z "$ac_aux_dir"; then
2445 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2462 am__api_version='1.14'
2464 # Find a good install program. We prefer a C program (faster),
2465 # so one script is as good as another. But avoid the broken or
2466 # incompatible versions:
2467 # SysV /etc/install, /usr/sbin/install
2468 # SunOS /usr/etc/install
2469 # IRIX /sbin/install
2471 # AmigaOS /C/install, which installs bootblocks on floppy discs
2472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2475 # OS/2's system install, which has a completely different semantic
2476 # ./install, which can be erroneously created by make from ./install.sh.
2477 # Reject install programs that cannot install multiple files.
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2479 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2480 if test -z "$INSTALL"; then
2481 if ${ac_cv_path_install+:} false; then :
2482 $as_echo_n "(cached) " >&6
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir=.
2489 # Account for people who put trailing slashes in PATH elements.
2490 case $as_dir/ in #((
2491 ./ | .// | /[cC]/* | \
2492 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2493 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2496 # OSF1 and SCO ODT 3.0 have their own names for install.
2497 # Don't use installbsd from OSF since it installs stuff as root
2499 for ac_prog in ginstall scoinst install; do
2500 for ac_exec_ext in '' $ac_executable_extensions; do
2501 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2502 if test $ac_prog = install &&
2503 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2504 # AIX install. It has an incompatible calling convention.
2506 elif test $ac_prog = install &&
2507 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2508 # program-specific install script used by HP pwplus--don't use.
2511 rm -rf conftest.one conftest.two conftest.dir
2512 echo one > conftest.one
2513 echo two > conftest.two
2515 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2516 test -s conftest.one && test -s conftest.two &&
2517 test -s conftest.dir/conftest.one &&
2518 test -s conftest.dir/conftest.two
2520 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2533 rm -rf conftest.one conftest.two conftest.dir
2536 if test "${ac_cv_path_install+set}" = set; then
2537 INSTALL=$ac_cv_path_install
2539 # As a last resort, use the slow shell script. Don't cache a
2540 # value for INSTALL within a source directory, because that will
2541 # break other packages using the cache if that directory is
2542 # removed, or if the value is a relative name.
2543 INSTALL=$ac_install_sh
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2547 $as_echo "$INSTALL" >&6; }
2549 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2550 # It thinks the first close brace ends the variable substitution.
2551 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2553 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2555 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2558 $as_echo_n "checking whether build environment is sane... " >&6; }
2559 # Reject unsafe characters in $srcdir or the absolute working directory
2560 # name. Accept space and tab only in the latter.
2564 *[\\\"\#\$\&\'\`$am_lf]*)
2565 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2568 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2569 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2572 # Do 'set' in a subshell so we don't clobber the current shell's
2573 # arguments. Must try -L first in case configure is actually a
2574 # symlink; some systems play weird games with the mod time of symlinks
2575 # (eg FreeBSD returns the mod time of the symlink's containing
2579 for am_try in 1 2; do
2580 echo "timestamp, slept: $am_has_slept" > conftest.file
2581 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2582 if test "$*" = "X"; then
2584 set X `ls -t "$srcdir/configure" conftest.file`
2586 if test "$*" != "X $srcdir/configure conftest.file" \
2587 && test "$*" != "X conftest.file $srcdir/configure"; then
2589 # If neither matched, then we have a broken ls. This can happen
2590 # if, for instance, CONFIG_SHELL is bash and it inherits a
2591 # broken ls alias from the environment. This has actually
2592 # happened. Such a system could not be considered "sane".
2593 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" "$LINENO" 5
2596 if test "$2" = conftest.file || test $am_try -eq 2; then
2603 test "$2" = conftest.file
2609 as_fn_error $? "newly created file is older than distributed files!
2610 Check your system clock" "$LINENO" 5
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2613 $as_echo "yes" >&6; }
2614 # If we didn't sleep, we still need to ensure time stamps of config.status and
2615 # generated files are strictly newer.
2617 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2624 test "$program_prefix" != NONE &&
2625 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2626 # Use a double $ so make ignores it.
2627 test "$program_suffix" != NONE &&
2628 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2629 # Double any \ or $.
2630 # By default was `s,x,x', remove it if useless.
2631 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2632 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2634 # expand $ac_aux_dir to an absolute path
2635 am_aux_dir=`cd $ac_aux_dir && pwd`
2637 if test x"${MISSING+set}" != xset; then
2640 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2642 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2645 # Use eval to expand $SHELL
2646 if eval "$MISSING --is-lightweight"; then
2647 am_missing_run="$MISSING "
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2651 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2654 if test x"${install_sh}" != xset; then
2657 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2659 install_sh="\${SHELL} $am_aux_dir/install-sh"
2663 # Installed binaries are usually stripped using 'strip' when the user
2664 # run "make install-strip". However 'strip' might not be the right
2665 # tool to use in cross-compilation environments, therefore Automake
2666 # will honor the 'STRIP' environment variable to overrule this program.
2667 if test "$cross_compiling" != no; then
2668 if test -n "$ac_tool_prefix"; then
2669 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2670 set dummy ${ac_tool_prefix}strip; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_STRIP+:} false; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$STRIP"; then
2677 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir=.
2684 for ac_exec_ext in '' $ac_executable_extensions; do
2685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2686 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 STRIP=$ac_cv_prog_STRIP
2697 if test -n "$STRIP"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2699 $as_echo "$STRIP" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2707 if test -z "$ac_cv_prog_STRIP"; then
2709 # Extract the first word of "strip", so it can be a program name with args.
2710 set dummy strip; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$ac_ct_STRIP"; then
2717 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir=.
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2726 ac_cv_prog_ac_ct_STRIP="strip"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2737 if test -n "$ac_ct_STRIP"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2739 $as_echo "$ac_ct_STRIP" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2745 if test "x$ac_ct_STRIP" = x; then
2748 case $cross_compiling:$ac_tool_warned in
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2752 ac_tool_warned=yes ;;
2757 STRIP="$ac_cv_prog_STRIP"
2761 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2764 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2765 if test -z "$MKDIR_P"; then
2766 if ${ac_cv_path_mkdir+:} false; then :
2767 $as_echo_n "(cached) " >&6
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2773 test -z "$as_dir" && as_dir=.
2774 for ac_prog in mkdir gmkdir; do
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2777 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2778 'mkdir (GNU coreutils) '* | \
2779 'mkdir (coreutils) '* | \
2780 'mkdir (fileutils) '4.1*)
2781 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2791 test -d ./--version && rmdir ./--version
2792 if test "${ac_cv_path_mkdir+set}" = set; then
2793 MKDIR_P="$ac_cv_path_mkdir -p"
2795 # As a last resort, use the slow shell script. Don't cache a
2796 # value for MKDIR_P within a source directory, because that will
2797 # break other packages using the cache if that directory is
2798 # removed, or if the value is a relative name.
2799 MKDIR_P="$ac_install_sh -d"
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2803 $as_echo "$MKDIR_P" >&6; }
2805 for ac_prog in gawk mawk nawk awk
2807 # Extract the first word of "$ac_prog", so it can be a program name with args.
2808 set dummy $ac_prog; ac_word=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_AWK+:} false; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$AWK"; then
2815 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_AWK="$ac_prog"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 if test -n "$AWK"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2837 $as_echo "$AWK" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2844 test -n "$AWK" && break
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2848 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2850 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2851 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2852 $as_echo_n "(cached) " >&6
2854 cat >conftest.make <<\_ACEOF
2857 @echo '@@@%%%=$(MAKE)=@@@%%%'
2859 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2860 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2862 eval ac_cv_prog_make_${ac_make}_set=yes;;
2864 eval ac_cv_prog_make_${ac_make}_set=no;;
2868 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2870 $as_echo "yes" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2875 SET_MAKE="MAKE=${MAKE-make}"
2878 rm -rf .tst 2>/dev/null
2879 mkdir .tst 2>/dev/null
2880 if test -d .tst; then
2885 rmdir .tst 2>/dev/null
2887 # Check whether --enable-silent-rules was given.
2888 if test "${enable_silent_rules+set}" = set; then :
2889 enableval=$enable_silent_rules;
2892 case $enable_silent_rules in # (((
2893 yes) AM_DEFAULT_VERBOSITY=0;;
2894 no) AM_DEFAULT_VERBOSITY=1;;
2895 *) AM_DEFAULT_VERBOSITY=1;;
2897 am_make=${MAKE-make}
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2899 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2900 if ${am_cv_make_support_nested_variables+:} false; then :
2901 $as_echo_n "(cached) " >&6
2903 if $as_echo 'TRUE=$(BAR$(V))
2909 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2910 am_cv_make_support_nested_variables=yes
2912 am_cv_make_support_nested_variables=no
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2916 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2917 if test $am_cv_make_support_nested_variables = yes; then
2919 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2921 AM_V=$AM_DEFAULT_VERBOSITY
2922 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2926 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2927 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2928 # is not polluted with repeated "-I."
2929 am__isrc=' -I$(srcdir)'
2930 # test to see if srcdir already configured
2931 if test -f $srcdir/config.status; then
2932 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2936 # test whether we have cygpath
2937 if test -z "$CYGPATH_W"; then
2938 if (cygpath --version) >/dev/null 2>/dev/null; then
2939 CYGPATH_W='cygpath -w'
2946 # Define the identity of the package.
2947 PACKAGE='dleyna-server'
2951 cat >>confdefs.h <<_ACEOF
2952 #define PACKAGE "$PACKAGE"
2956 cat >>confdefs.h <<_ACEOF
2957 #define VERSION "$VERSION"
2960 # Some tools Automake needs.
2962 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2965 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2968 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2971 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2974 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2976 # For better backward compatibility. To be removed once Automake 1.9.x
2977 # dies out for good. For more background, see:
2978 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2979 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2980 mkdir_p='$(MKDIR_P)'
2982 # We need awk for the "check" target. The system "awk" is bad on
2984 # Always define AMTAR for backward compatibility. Yes, it's still used
2985 # in the wild :-( We should find a proper way to deprecate it ...
2989 # We'll loop over all known methods to create a tar archive until one works.
2990 _am_tools='gnutar pax cpio none'
2992 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2999 # POSIX will say in a future version that running "rm -f" with no argument
3000 # is OK; and we want to be able to make that assumption in our Makefile
3001 # recipes. So use an aggressive probe to check that the usage we want is
3002 # actually supported "in the wild" to an acceptable degree.
3003 # See automake bug#10828.
3004 # To make any issue more visible, cause the running configure to be aborted
3005 # by default if the 'rm' program in use doesn't match our expectations; the
3006 # user can still override this though.
3007 if rm -f && rm -fr && rm -rf; then : OK; else
3011 Your 'rm' program seems unable to run without file operands specified
3012 on the command line, even when the '-f' option is present. This is contrary
3013 to the behaviour of most rm programs out there, and not conforming with
3014 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3016 Please tell bug-automake@gnu.org about your system, including the value
3017 of your $PATH and any error possibly output before this message. This
3018 can help us improve future automake versions.
3021 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3022 echo 'Configuration will proceed anyway, since you have set the' >&2
3023 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3027 Aborting the configuration process, to ensure you take notice of the issue.
3029 You can download and install GNU coreutils to get an 'rm' implementation
3030 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3032 If you want to complete the configuration process using your problematic
3033 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3034 to "yes", and re-run configure.
3037 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3043 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3044 # Check whether --enable-maintainer-mode was given.
3045 if test "${enable_maintainer_mode+set}" = set; then :
3046 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3048 USE_MAINTAINER_MODE=no
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3052 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3053 if test $USE_MAINTAINER_MODE = yes; then
3054 MAINTAINER_MODE_TRUE=
3055 MAINTAINER_MODE_FALSE='#'
3057 MAINTAINER_MODE_TRUE='#'
3058 MAINTAINER_MODE_FALSE=
3061 MAINT=$MAINTAINER_MODE_TRUE
3064 # Check whether --enable-silent-rules was given.
3065 if test "${enable_silent_rules+set}" = set; then :
3066 enableval=$enable_silent_rules;
3069 case $enable_silent_rules in # (((
3070 yes) AM_DEFAULT_VERBOSITY=0;;
3071 no) AM_DEFAULT_VERBOSITY=1;;
3072 *) AM_DEFAULT_VERBOSITY=0;;
3074 am_make=${MAKE-make}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3076 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3077 if ${am_cv_make_support_nested_variables+:} false; then :
3078 $as_echo_n "(cached) " >&6
3080 if $as_echo 'TRUE=$(BAR$(V))
3086 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3087 am_cv_make_support_nested_variables=yes
3089 am_cv_make_support_nested_variables=no
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3093 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3094 if test $am_cv_make_support_nested_variables = yes; then
3096 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3098 AM_V=$AM_DEFAULT_VERBOSITY
3099 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3105 if (test x"${CFLAGS}" = x""); then
3108 CFLAGS+=" -D_FORTIFY_SOURCE=2"
3111 if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
3113 CFLAGS+=" -Wno-unused-parameter"
3114 CFLAGS+=" -Wno-missing-field-initializers"
3115 CFLAGS+=" -Wdeclaration-after-statement"
3116 CFLAGS+=" -Wmissing-declarations"
3117 CFLAGS+=" -Wredundant-decls"
3118 CFLAGS+=" -Wcast-align"
3120 CFLAGS+=" -Wstrict-prototypes"
3121 CFLAGS+=" -Wmissing-prototypes"
3122 CFLAGS+=" -Wnested-externs"
3124 CFLAGS+=" -Wformat=2"
3125 CFLAGS+=" -Winit-self"
3127 CFLAGS+=" -std=gnu99"
3128 CFLAGS+=" -pedantic"
3129 CFLAGS+=" -Wno-overlength-strings"
3131 CFLAGS+=" -DG_DISABLE_DEPRECATED"
3132 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
3135 CFLAGS+=" -Wno-format-extra-args"
3138 # Checks for languages.
3140 ac_cpp='$CPP $CPPFLAGS'
3141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 # Checks for programs.
3148 ac_cpp='$CPP $CPPFLAGS'
3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152 if test -n "$ac_tool_prefix"; then
3153 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3154 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_CC+:} false; then :
3158 $as_echo_n "(cached) " >&6
3160 if test -n "$CC"; then
3161 ac_cv_prog_CC="$CC" # Let the user override the test.
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 test -z "$as_dir" && as_dir=.
3168 for ac_exec_ext in '' $ac_executable_extensions; do
3169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 if test -n "$CC"; then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183 $as_echo "$CC" >&6; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3191 if test -z "$ac_cv_prog_CC"; then
3193 # Extract the first word of "gcc", so it can be a program name with args.
3194 set dummy gcc; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$ac_ct_CC"; then
3201 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 for ac_exec_ext in '' $ac_executable_extensions; do
3209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210 ac_cv_prog_ac_ct_CC="gcc"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3221 if test -n "$ac_ct_CC"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3223 $as_echo "$ac_ct_CC" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3229 if test "x$ac_ct_CC" = x; then
3232 case $cross_compiling:$ac_tool_warned in
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned=yes ;;
3244 if test -z "$CC"; then
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3247 set dummy ${ac_tool_prefix}cc; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if ${ac_cv_prog_CC+:} false; then :
3251 $as_echo_n "(cached) " >&6
3253 if test -n "$CC"; then
3254 ac_cv_prog_CC="$CC" # Let the user override the test.
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263 ac_cv_prog_CC="${ac_tool_prefix}cc"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 if test -n "$CC"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3276 $as_echo "$CC" >&6; }
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3285 if test -z "$CC"; then
3286 # Extract the first word of "cc", so it can be a program name with args.
3287 set dummy cc; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if ${ac_cv_prog_CC+:} false; then :
3291 $as_echo_n "(cached) " >&6
3293 if test -n "$CC"; then
3294 ac_cv_prog_CC="$CC" # Let the user override the test.
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir=.
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3305 ac_prog_rejected=yes
3309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316 if test $ac_prog_rejected = yes; then
3317 # We found a bogon in the path, so make sure we never use it.
3318 set dummy $ac_cv_prog_CC
3320 if test $# != 0; then
3321 # We chose a different compiler from the bogus one.
3322 # However, it has the same basename, so the bogon will be chosen
3323 # first if we set CC to just the basename; use the full file name.
3325 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3331 if test -n "$CC"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333 $as_echo "$CC" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3341 if test -z "$CC"; then
3342 if test -n "$ac_tool_prefix"; then
3343 for ac_prog in cl.exe
3345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if ${ac_cv_prog_CC+:} false; then :
3350 $as_echo_n "(cached) " >&6
3352 if test -n "$CC"; then
3353 ac_cv_prog_CC="$CC" # Let the user override the test.
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 test -z "$as_dir" && as_dir=.
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 if test -n "$CC"; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3375 $as_echo "$CC" >&6; }
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3382 test -n "$CC" && break
3385 if test -z "$CC"; then
3387 for ac_prog in cl.exe
3389 # Extract the first word of "$ac_prog", so it can be a program name with args.
3390 set dummy $ac_prog; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 if test -n "$ac_ct_CC"; then
3397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 test -z "$as_dir" && as_dir=.
3404 for ac_exec_ext in '' $ac_executable_extensions; do
3405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3406 ac_cv_prog_ac_ct_CC="$ac_prog"
3407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3417 if test -n "$ac_ct_CC"; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3419 $as_echo "$ac_ct_CC" >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3426 test -n "$ac_ct_CC" && break
3429 if test "x$ac_ct_CC" = x; then
3432 case $cross_compiling:$ac_tool_warned in
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3445 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "no acceptable C compiler found in \$PATH
3448 See \`config.log' for more details" "$LINENO" 5; }
3450 # Provide some information about the compiler.
3451 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3454 for ac_option in --version -v -V -qversion; do
3455 { { ac_try="$ac_compiler $ac_option >&5"
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461 $as_echo "$ac_try_echo"; } >&5
3462 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3464 if test -s conftest.err; then
3466 ... rest of stderr output deleted ...
3467 10q' conftest.err >conftest.er1
3468 cat conftest.er1 >&5
3470 rm -f conftest.er1 conftest.err
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; }
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h. */
3486 ac_clean_files_save=$ac_clean_files
3487 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3488 # Try to create an executable without -o first, disregard a.out.
3489 # It will help us diagnose broken compilers, and finding out an intuition
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3492 $as_echo_n "checking whether the C compiler works... " >&6; }
3493 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3495 # The possible output files:
3496 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3499 for ac_file in $ac_files
3502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3503 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3508 if { { ac_try="$ac_link_default"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515 (eval "$ac_link_default") 2>&5
3517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518 test $ac_status = 0; }; then :
3519 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3520 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3521 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3522 # so that the user can short-circuit this test for compilers unknown to
3524 for ac_file in $ac_files ''
3526 test -f "$ac_file" || continue
3528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3531 # We found the default executable, but exeext='' is most
3535 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3537 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3539 # We set ac_cv_exeext here because the later test for it is not
3540 # safe: cross compilers may not add the suffix if given an `-o'
3541 # argument, so we may need to know it at that point already.
3542 # Even if this section looks crufty: it has the advantage of
3549 test "$ac_cv_exeext" = no && ac_cv_exeext=
3554 if test -z "$ac_file"; then :
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3557 $as_echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562 as_fn_error 77 "C compiler cannot create executables
3563 See \`config.log' for more details" "$LINENO" 5; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3566 $as_echo "yes" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3569 $as_echo_n "checking for C compiler default output file name... " >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3571 $as_echo "$ac_file" >&6; }
3572 ac_exeext=$ac_cv_exeext
3574 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3575 ac_clean_files=$ac_clean_files_save
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3577 $as_echo_n "checking for suffix of executables... " >&6; }
3578 if { { ac_try="$ac_link"
3580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581 *) ac_try_echo=$ac_try;;
3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584 $as_echo "$ac_try_echo"; } >&5
3585 (eval "$ac_link") 2>&5
3587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588 test $ac_status = 0; }; then :
3589 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3590 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3591 # work properly (i.e., refer to `conftest.exe'), while it won't with
3593 for ac_file in conftest.exe conftest conftest.*; do
3594 test -f "$ac_file" || continue
3596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3597 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3606 See \`config.log' for more details" "$LINENO" 5; }
3608 rm -f conftest conftest$ac_cv_exeext
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3610 $as_echo "$ac_cv_exeext" >&6; }
3612 rm -f conftest.$ac_ext
3613 EXEEXT=$ac_cv_exeext
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h. */
3621 FILE *f = fopen ("conftest.out", "w");
3622 return ferror (f) || fclose (f) != 0;
3628 ac_clean_files="$ac_clean_files conftest.out"
3629 # Check that the compiler produces executables we can run. If not, either
3630 # the compiler is broken, or we cross compile.
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3632 $as_echo_n "checking whether we are cross compiling... " >&6; }
3633 if test "$cross_compiling" != yes; then
3634 { { ac_try="$ac_link"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641 (eval "$ac_link") 2>&5
3643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644 test $ac_status = 0; }
3645 if { ac_try='./conftest$ac_cv_exeext'
3646 { { case "(($ac_try" in
3647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652 (eval "$ac_try") 2>&5
3654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655 test $ac_status = 0; }; }; then
3658 if test "$cross_compiling" = maybe; then
3661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663 as_fn_error $? "cannot run C compiled programs.
3664 If you meant to cross compile, use \`--host'.
3665 See \`config.log' for more details" "$LINENO" 5; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3670 $as_echo "$cross_compiling" >&6; }
3672 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3673 ac_clean_files=$ac_clean_files_save
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3675 $as_echo_n "checking for suffix of object files... " >&6; }
3676 if ${ac_cv_objext+:} false; then :
3677 $as_echo_n "(cached) " >&6
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3690 rm -f conftest.o conftest.obj
3691 if { { ac_try="$ac_compile"
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697 $as_echo "$ac_try_echo"; } >&5
3698 (eval "$ac_compile") 2>&5
3700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701 test $ac_status = 0; }; then :
3702 for ac_file in conftest.o conftest.obj conftest.*; do
3703 test -f "$ac_file" || continue;
3705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3706 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3711 $as_echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.$ac_ext >&5
3714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "cannot compute suffix of object files: cannot compile
3717 See \`config.log' for more details" "$LINENO" 5; }
3719 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3722 $as_echo "$ac_cv_objext" >&6; }
3723 OBJEXT=$ac_cv_objext
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3726 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3727 if ${ac_cv_c_compiler_gnu+:} false; then :
3728 $as_echo_n "(cached) " >&6
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3744 if ac_fn_c_try_compile "$LINENO"; then :
3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3754 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3755 if test $ac_compiler_gnu = yes; then
3760 ac_test_CFLAGS=${CFLAGS+set}
3761 ac_save_CFLAGS=$CFLAGS
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3763 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3764 if ${ac_cv_prog_cc_g+:} false; then :
3765 $as_echo_n "(cached) " >&6
3767 ac_save_c_werror_flag=$ac_c_werror_flag
3768 ac_c_werror_flag=yes
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3782 if ac_fn_c_try_compile "$LINENO"; then :
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3797 if ac_fn_c_try_compile "$LINENO"; then :
3800 ac_c_werror_flag=$ac_save_c_werror_flag
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 ac_c_werror_flag=$ac_save_c_werror_flag
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3824 $as_echo "$ac_cv_prog_cc_g" >&6; }
3825 if test "$ac_test_CFLAGS" = set; then
3826 CFLAGS=$ac_save_CFLAGS
3827 elif test $ac_cv_prog_cc_g = yes; then
3828 if test "$GCC" = yes; then
3834 if test "$GCC" = yes; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3841 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3842 if ${ac_cv_prog_cc_c89+:} false; then :
3843 $as_echo_n "(cached) " >&6
3845 ac_cv_prog_cc_c89=no
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h. */
3852 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3853 struct buf { int x; };
3854 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3855 static char *e (p, i)
3861 static char *f (char * (*g) (char **, int), char **p, ...)
3866 s = g (p, va_arg (v,int));
3871 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3872 function prototypes and stuff, but not '\xHH' hex character constants.
3873 These don't provoke an error unfortunately, instead are silently treated
3874 as 'x'. The following induces an error, until -std is added to get
3875 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3876 array size at least. It's necessary to write '\x00'==0 to get something
3877 that's true only with -std. */
3878 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3880 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3881 inside strings and character constants. */
3883 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3885 int test (int i, double x);
3886 struct s1 {int (*f) (int a);};
3887 struct s2 {int (*f) (double a);};
3888 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3894 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3899 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3900 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3902 CC="$ac_save_CC $ac_arg"
3903 if ac_fn_c_try_compile "$LINENO"; then :
3904 ac_cv_prog_cc_c89=$ac_arg
3906 rm -f core conftest.err conftest.$ac_objext
3907 test "x$ac_cv_prog_cc_c89" != "xno" && break
3909 rm -f conftest.$ac_ext
3914 case "x$ac_cv_prog_cc_c89" in
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3917 $as_echo "none needed" >&6; } ;;
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3920 $as_echo "unsupported" >&6; } ;;
3922 CC="$CC $ac_cv_prog_cc_c89"
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3924 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3926 if test "x$ac_cv_prog_cc_c89" != xno; then :
3931 ac_cpp='$CPP $CPPFLAGS'
3932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3942 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3943 if ${am_cv_prog_cc_c_o+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947 /* end confdefs.h. */
3957 # Make sure it works both with $CC and with simple cc.
3958 # Following AC_PROG_CC_C_O, we do the test twice because some
3959 # compilers refuse to overwrite an existing .o file with -o,
3960 # though they will create one.
3961 am_cv_prog_cc_c_o=yes
3963 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3964 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } \
3968 && test -f conftest2.$ac_objext; then
3971 am_cv_prog_cc_c_o=no
3975 rm -f core conftest*
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3979 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3980 if test "$am_cv_prog_cc_c_o" != yes; then
3981 # Losing compiler, so override with the script.
3982 # FIXME: It is wrong to rewrite CC.
3983 # But if we don't then we get into trouble of one sort or another.
3984 # A longer-term fix would be to have automake use am__CC in this case,
3985 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3986 CC="$am_aux_dir/compile $CC"
3989 ac_cpp='$CPP $CPPFLAGS'
3990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3994 DEPDIR="${am__leading_dot}deps"
3996 ac_config_commands="$ac_config_commands depfiles"
3999 am_make=${MAKE-make}
4000 cat > confinc << 'END'
4002 @echo this is the am__doit target
4005 # If we don't find an include directive, just comment out the code.
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4007 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4011 # First try GNU make style include.
4012 echo "include confinc" > confmf
4013 # Ignore all kinds of additional output from 'make'.
4014 case `$am_make -s -f confmf 2> /dev/null` in #(
4015 *the\ am__doit\ target*)
4021 # Now try BSD make style include.
4022 if test "$am__include" = "#"; then
4023 echo '.include "confinc"' > confmf
4024 case `$am_make -s -f confmf 2> /dev/null` in #(
4025 *the\ am__doit\ target*)
4026 am__include=.include
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4035 $as_echo "$_am_result" >&6; }
4036 rm -f confinc confmf
4038 # Check whether --enable-dependency-tracking was given.
4039 if test "${enable_dependency_tracking+set}" = set; then :
4040 enableval=$enable_dependency_tracking;
4043 if test "x$enable_dependency_tracking" != xno; then
4044 am_depcomp="$ac_aux_dir/depcomp"
4048 if test "x$enable_dependency_tracking" != xno; then
4058 depcc="$CC" am_compiler_list=
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4061 $as_echo_n "checking dependency style of $depcc... " >&6; }
4062 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4066 # We make a subdir and do the tests there. Otherwise we can end up
4067 # making bogus files that we don't know about and never remove. For
4068 # instance it was reported that on HP-UX the gcc test will end up
4069 # making a dummy file named 'D' -- because '-MD' means "put the output
4073 # Copy depcomp to subdir because otherwise we won't find it if we're
4074 # using a relative directory.
4075 cp "$am_depcomp" conftest.dir
4077 # We will build objects and dependencies in a subdirectory because
4078 # it helps to detect inapplicable dependency modes. For instance
4079 # both Tru64's cc and ICC support -MD to output dependencies as a
4080 # side effect of compilation, but ICC will put the dependencies in
4081 # the current directory while Tru64 will put them in the object
4085 am_cv_CC_dependencies_compiler_type=none
4086 if test "$am_compiler_list" = ""; then
4087 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4090 case " $depcc " in #(
4091 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4094 for depmode in $am_compiler_list; do
4095 # Setup a source with many dependencies, because some compilers
4096 # like to wrap large dependency lists on column 80 (with \), and
4097 # we should not choose a depcomp mode which is confused by this.
4099 # We need to recreate these files for each test, as the compiler may
4100 # overwrite some of them when testing with obscure command lines.
4101 # This happens at least with the AIX C compiler.
4103 for i in 1 2 3 4 5 6; do
4104 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4105 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4106 # Solaris 10 /bin/sh.
4107 echo '/* dummy */' > sub/conftst$i.h
4109 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4111 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4112 # mode. It turns out that the SunPro C++ compiler does not properly
4113 # handle '-M -o', and we need to detect this. Also, some Intel
4114 # versions had trouble with output in subdirs.
4115 am__obj=sub/conftest.${OBJEXT-o}
4116 am__minus_obj="-o $am__obj"
4119 # This depmode causes a compiler race in universal mode.
4120 test "$am__universal" = false || continue
4123 # After this tag, mechanisms are not by side-effect, so they'll
4124 # only be used when explicitly requested.
4125 if test "x$enable_dependency_tracking" = xyes; then
4131 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4132 # This compiler won't grok '-c -o', but also, the minuso test has
4133 # not run yet. These depmodes are late enough in the game, and
4134 # so weak that their functioning should not be impacted.
4135 am__obj=conftest.${OBJEXT-o}
4140 if depmode=$depmode \
4141 source=sub/conftest.c object=$am__obj \
4142 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4143 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4144 >/dev/null 2>conftest.err &&
4145 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4146 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4147 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4148 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4149 # icc doesn't choke on unknown options, it will just issue warnings
4150 # or remarks (even with -Werror). So we grep stderr for any message
4151 # that says an option was ignored or not supported.
4152 # When given -MP, icc 7.0 and 7.1 complain thusly:
4153 # icc: Command line warning: ignoring option '-M'; no argument required
4154 # The diagnosis changed in icc 8.0:
4155 # icc: Command line remark: option '-MP' not supported
4156 if (grep 'ignoring option' conftest.err ||
4157 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4158 am_cv_CC_dependencies_compiler_type=$depmode
4167 am_cv_CC_dependencies_compiler_type=none
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4172 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4173 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4176 test "x$enable_dependency_tracking" != xno \
4177 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4179 am__fastdepCC_FALSE='#'
4181 am__fastdepCC_TRUE='#'
4182 am__fastdepCC_FALSE=
4189 # Initialize libtool
4190 # Disable generation of static libraries
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4195 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4200 macro_version='2.4.2'
4201 macro_revision='1.3337'
4215 ltmain="$ac_aux_dir/ltmain.sh"
4217 # Make sure we can run config.sub.
4218 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4219 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4222 $as_echo_n "checking build system type... " >&6; }
4223 if ${ac_cv_build+:} false; then :
4224 $as_echo_n "(cached) " >&6
4226 ac_build_alias=$build_alias
4227 test "x$ac_build_alias" = x &&
4228 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4229 test "x$ac_build_alias" = x &&
4230 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4231 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4232 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4236 $as_echo "$ac_cv_build" >&6; }
4237 case $ac_cv_build in
4239 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4242 ac_save_IFS=$IFS; IFS='-'
4248 # Remember, the first character of IFS is used to create $*,
4249 # except with old shells:
4252 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4256 $as_echo_n "checking host system type... " >&6; }
4257 if ${ac_cv_host+:} false; then :
4258 $as_echo_n "(cached) " >&6
4260 if test "x$host_alias" = x; then
4261 ac_cv_host=$ac_cv_build
4263 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4264 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4269 $as_echo "$ac_cv_host" >&6; }
4272 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4275 ac_save_IFS=$IFS; IFS='-'
4281 # Remember, the first character of IFS is used to create $*,
4282 # except with old shells:
4285 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4288 # Backslashify metacharacters that are still active within
4289 # double-quoted strings.
4290 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4292 # Same as above, but do not quote variable references.
4293 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4295 # Sed substitution to delay expansion of an escaped shell variable in a
4296 # double_quote_subst'ed string.
4297 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4299 # Sed substitution to delay expansion of an escaped single quote.
4300 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4302 # Sed substitution to avoid accidental globbing in evaled expressions
4303 no_glob_subst='s/\*/\\\*/g'
4305 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4306 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4307 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4310 $as_echo_n "checking how to print strings... " >&6; }
4311 # Test print first, because it will be a builtin if present.
4312 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4313 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4315 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4318 # Use this function as a fallback that always works.
4319 func_fallback_echo ()
4321 eval 'cat <<_LTECHO_EOF
4325 ECHO='func_fallback_echo'
4328 # func_echo_all arg...
4329 # Invoke $ECHO with all args, space-separated.
4336 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4337 $as_echo "printf" >&6; } ;;
4338 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4339 $as_echo "print -r" >&6; } ;;
4340 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4341 $as_echo "cat" >&6; } ;;
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4358 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4359 if ${ac_cv_path_SED+:} false; then :
4360 $as_echo_n "(cached) " >&6
4362 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4363 for ac_i in 1 2 3 4 5 6 7; do
4364 ac_script="$ac_script$as_nl$ac_script"
4366 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4367 { ac_script=; unset ac_script;}
4368 if test -z "$SED"; then
4369 ac_path_SED_found=false
4370 # Loop through the user's path and test for each of PROGNAME-LIST
4371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 test -z "$as_dir" && as_dir=.
4376 for ac_prog in sed gsed; do
4377 for ac_exec_ext in '' $ac_executable_extensions; do
4378 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4379 as_fn_executable_p "$ac_path_SED" || continue
4380 # Check for GNU ac_path_SED and select it if it is found.
4381 # Check for GNU $ac_path_SED
4382 case `"$ac_path_SED" --version 2>&1` in
4384 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4387 $as_echo_n 0123456789 >"conftest.in"
4390 cat "conftest.in" "conftest.in" >"conftest.tmp"
4391 mv "conftest.tmp" "conftest.in"
4392 cp "conftest.in" "conftest.nl"
4393 $as_echo '' >> "conftest.nl"
4394 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4396 as_fn_arith $ac_count + 1 && ac_count=$as_val
4397 if test $ac_count -gt ${ac_path_SED_max-0}; then
4398 # Best one so far, save it but keep looking for a better one
4399 ac_cv_path_SED="$ac_path_SED"
4400 ac_path_SED_max=$ac_count
4402 # 10*(2^10) chars as input seems more than enough
4403 test $ac_count -gt 10 && break
4405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4408 $ac_path_SED_found && break 3
4413 if test -z "$ac_cv_path_SED"; then
4414 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4422 $as_echo "$ac_cv_path_SED" >&6; }
4423 SED="$ac_cv_path_SED"
4426 test -z "$SED" && SED=sed
4427 Xsed="$SED -e 1s/^X//"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4440 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4441 if ${ac_cv_path_GREP+:} false; then :
4442 $as_echo_n "(cached) " >&6
4444 if test -z "$GREP"; then
4445 ac_path_GREP_found=false
4446 # Loop through the user's path and test for each of PROGNAME-LIST
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4451 test -z "$as_dir" && as_dir=.
4452 for ac_prog in grep ggrep; do
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4455 as_fn_executable_p "$ac_path_GREP" || continue
4456 # Check for GNU ac_path_GREP and select it if it is found.
4457 # Check for GNU $ac_path_GREP
4458 case `"$ac_path_GREP" --version 2>&1` in
4460 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4463 $as_echo_n 0123456789 >"conftest.in"
4466 cat "conftest.in" "conftest.in" >"conftest.tmp"
4467 mv "conftest.tmp" "conftest.in"
4468 cp "conftest.in" "conftest.nl"
4469 $as_echo 'GREP' >> "conftest.nl"
4470 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4471 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4472 as_fn_arith $ac_count + 1 && ac_count=$as_val
4473 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4474 # Best one so far, save it but keep looking for a better one
4475 ac_cv_path_GREP="$ac_path_GREP"
4476 ac_path_GREP_max=$ac_count
4478 # 10*(2^10) chars as input seems more than enough
4479 test $ac_count -gt 10 && break
4481 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4484 $ac_path_GREP_found && break 3
4489 if test -z "$ac_cv_path_GREP"; then
4490 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4493 ac_cv_path_GREP=$GREP
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4498 $as_echo "$ac_cv_path_GREP" >&6; }
4499 GREP="$ac_cv_path_GREP"
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4503 $as_echo_n "checking for egrep... " >&6; }
4504 if ${ac_cv_path_EGREP+:} false; then :
4505 $as_echo_n "(cached) " >&6
4507 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4508 then ac_cv_path_EGREP="$GREP -E"
4510 if test -z "$EGREP"; then
4511 ac_path_EGREP_found=false
4512 # Loop through the user's path and test for each of PROGNAME-LIST
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4517 test -z "$as_dir" && as_dir=.
4518 for ac_prog in egrep; do
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4521 as_fn_executable_p "$ac_path_EGREP" || continue
4522 # Check for GNU ac_path_EGREP and select it if it is found.
4523 # Check for GNU $ac_path_EGREP
4524 case `"$ac_path_EGREP" --version 2>&1` in
4526 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4529 $as_echo_n 0123456789 >"conftest.in"
4532 cat "conftest.in" "conftest.in" >"conftest.tmp"
4533 mv "conftest.tmp" "conftest.in"
4534 cp "conftest.in" "conftest.nl"
4535 $as_echo 'EGREP' >> "conftest.nl"
4536 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4537 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4538 as_fn_arith $ac_count + 1 && ac_count=$as_val
4539 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4540 # Best one so far, save it but keep looking for a better one
4541 ac_cv_path_EGREP="$ac_path_EGREP"
4542 ac_path_EGREP_max=$ac_count
4544 # 10*(2^10) chars as input seems more than enough
4545 test $ac_count -gt 10 && break
4547 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4550 $ac_path_EGREP_found && break 3
4555 if test -z "$ac_cv_path_EGREP"; then
4556 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4559 ac_cv_path_EGREP=$EGREP
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4565 $as_echo "$ac_cv_path_EGREP" >&6; }
4566 EGREP="$ac_cv_path_EGREP"
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4570 $as_echo_n "checking for fgrep... " >&6; }
4571 if ${ac_cv_path_FGREP+:} false; then :
4572 $as_echo_n "(cached) " >&6
4574 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4575 then ac_cv_path_FGREP="$GREP -F"
4577 if test -z "$FGREP"; then
4578 ac_path_FGREP_found=false
4579 # Loop through the user's path and test for each of PROGNAME-LIST
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4584 test -z "$as_dir" && as_dir=.
4585 for ac_prog in fgrep; do
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4588 as_fn_executable_p "$ac_path_FGREP" || continue
4589 # Check for GNU ac_path_FGREP and select it if it is found.
4590 # Check for GNU $ac_path_FGREP
4591 case `"$ac_path_FGREP" --version 2>&1` in
4593 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4596 $as_echo_n 0123456789 >"conftest.in"
4599 cat "conftest.in" "conftest.in" >"conftest.tmp"
4600 mv "conftest.tmp" "conftest.in"
4601 cp "conftest.in" "conftest.nl"
4602 $as_echo 'FGREP' >> "conftest.nl"
4603 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4604 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4605 as_fn_arith $ac_count + 1 && ac_count=$as_val
4606 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4607 # Best one so far, save it but keep looking for a better one
4608 ac_cv_path_FGREP="$ac_path_FGREP"
4609 ac_path_FGREP_max=$ac_count
4611 # 10*(2^10) chars as input seems more than enough
4612 test $ac_count -gt 10 && break
4614 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4617 $ac_path_FGREP_found && break 3
4622 if test -z "$ac_cv_path_FGREP"; then
4623 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4626 ac_cv_path_FGREP=$FGREP
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4632 $as_echo "$ac_cv_path_FGREP" >&6; }
4633 FGREP="$ac_cv_path_FGREP"
4636 test -z "$GREP" && GREP=grep
4656 # Check whether --with-gnu-ld was given.
4657 if test "${with_gnu_ld+set}" = set; then :
4658 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4664 if test "$GCC" = yes; then
4665 # Check if gcc -print-prog-name=ld gives a path.
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4667 $as_echo_n "checking for ld used by $CC... " >&6; }
4670 # gcc leaves a trailing carriage return which upsets mingw
4671 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4673 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4676 # Accept absolute paths.
4678 re_direlt='/[^/][^/]*/\.\./'
4679 # Canonicalize the pathname of ld
4680 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4681 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4682 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4684 test -z "$LD" && LD="$ac_prog"
4687 # If it fails, then pretend we aren't using GCC.
4691 # If it is relative, then search for the first ld in PATH.
4695 elif test "$with_gnu_ld" = yes; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4697 $as_echo_n "checking for GNU ld... " >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4700 $as_echo_n "checking for non-GNU ld... " >&6; }
4702 if ${lt_cv_path_LD+:} false; then :
4703 $as_echo_n "(cached) " >&6
4705 if test -z "$LD"; then
4706 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4707 for ac_dir in $PATH; do
4709 test -z "$ac_dir" && ac_dir=.
4710 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4711 lt_cv_path_LD="$ac_dir/$ac_prog"
4712 # Check to see if the program is GNU ld. I'd rather use --version,
4713 # but apparently some variants of GNU ld only accept -v.
4714 # Break only if it was the GNU/non-GNU ld that we prefer.
4715 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4716 *GNU* | *'with BFD'*)
4717 test "$with_gnu_ld" != no && break
4720 test "$with_gnu_ld" != yes && break
4727 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4732 if test -n "$LD"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4734 $as_echo "$LD" >&6; }
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4739 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4742 if ${lt_cv_prog_gnu_ld+:} false; then :
4743 $as_echo_n "(cached) " >&6
4745 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4746 case `$LD -v 2>&1 </dev/null` in
4747 *GNU* | *'with BFD'*)
4748 lt_cv_prog_gnu_ld=yes
4751 lt_cv_prog_gnu_ld=no
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4756 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4757 with_gnu_ld=$lt_cv_prog_gnu_ld
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4768 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4769 if ${lt_cv_path_NM+:} false; then :
4770 $as_echo_n "(cached) " >&6
4772 if test -n "$NM"; then
4773 # Let the user override the test.
4776 lt_nm_to_check="${ac_tool_prefix}nm"
4777 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4778 lt_nm_to_check="$lt_nm_to_check nm"
4780 for lt_tmp_nm in $lt_nm_to_check; do
4781 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4782 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4784 test -z "$ac_dir" && ac_dir=.
4785 tmp_nm="$ac_dir/$lt_tmp_nm"
4786 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4787 # Check to see if the nm accepts a BSD-compat flag.
4788 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4789 # nm: unknown option "B" ignored
4790 # Tru64's nm complains that /dev/null is an invalid object file
4791 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4792 */dev/null* | *'Invalid file or object type'*)
4793 lt_cv_path_NM="$tmp_nm -B"
4797 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4799 lt_cv_path_NM="$tmp_nm -p"
4803 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4804 continue # so that we can try to find one that supports BSD flags
4813 : ${lt_cv_path_NM=no}
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4817 $as_echo "$lt_cv_path_NM" >&6; }
4818 if test "$lt_cv_path_NM" != "no"; then
4821 # Didn't find any BSD compatible name lister, look for dumpbin.
4822 if test -n "$DUMPBIN"; then :
4823 # Let the user override the test.
4825 if test -n "$ac_tool_prefix"; then
4826 for ac_prog in dumpbin "link -dump"
4828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_DUMPBIN+:} false; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$DUMPBIN"; then
4836 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 DUMPBIN=$ac_cv_prog_DUMPBIN
4856 if test -n "$DUMPBIN"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4858 $as_echo "$DUMPBIN" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4865 test -n "$DUMPBIN" && break
4868 if test -z "$DUMPBIN"; then
4869 ac_ct_DUMPBIN=$DUMPBIN
4870 for ac_prog in dumpbin "link -dump"
4872 # Extract the first word of "$ac_prog", so it can be a program name with args.
4873 set dummy $ac_prog; ac_word=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$ac_ct_DUMPBIN"; then
4880 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir=.
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4900 if test -n "$ac_ct_DUMPBIN"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4902 $as_echo "$ac_ct_DUMPBIN" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4909 test -n "$ac_ct_DUMPBIN" && break
4912 if test "x$ac_ct_DUMPBIN" = x; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4921 DUMPBIN=$ac_ct_DUMPBIN
4925 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4927 DUMPBIN="$DUMPBIN -symbols"
4935 if test "$DUMPBIN" != ":"; then
4939 test -z "$NM" && NM=nm
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4947 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4948 if ${lt_cv_nm_interface+:} false; then :
4949 $as_echo_n "(cached) " >&6
4951 lt_cv_nm_interface="BSD nm"
4952 echo "int some_variable = 0;" > conftest.$ac_ext
4953 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4954 (eval "$ac_compile" 2>conftest.err)
4955 cat conftest.err >&5
4956 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4957 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4958 cat conftest.err >&5
4959 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4960 cat conftest.out >&5
4961 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4962 lt_cv_nm_interface="MS dumpbin"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4967 $as_echo "$lt_cv_nm_interface" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4970 $as_echo_n "checking whether ln -s works... " >&6; }
4972 if test "$LN_S" = "ln -s"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4974 $as_echo "yes" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4977 $as_echo "no, using $LN_S" >&6; }
4980 # find the maximum length of command line arguments
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4982 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4983 if ${lt_cv_sys_max_cmd_len+:} false; then :
4984 $as_echo_n "(cached) " >&6
4991 # On DJGPP, this test can blow up pretty badly due to problems in libc
4992 # (any single argument exceeding 2000 bytes causes a buffer overrun
4993 # during glob expansion). Even if it were fixed, the result of this
4994 # check would be larger than it should be.
4995 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4999 # Under GNU Hurd, this test is not required because there is
5000 # no limit to the length of command line arguments.
5001 # Libtool will interpret -1 as no limit whatsoever
5002 lt_cv_sys_max_cmd_len=-1;
5005 cygwin* | mingw* | cegcc*)
5006 # On Win9x/ME, this test blows up -- it succeeds, but takes
5007 # about 5 minutes as the teststring grows exponentially.
5008 # Worse, since 9x/ME are not pre-emptively multitasking,
5009 # you end up with a "frozen" computer, even though with patience
5010 # the test eventually succeeds (with a max line length of 256k).
5011 # Instead, let's just punt: use the minimum linelength reported by
5012 # all of the supported platforms: 8192 (on NT/2K/XP).
5013 lt_cv_sys_max_cmd_len=8192;
5017 # On MiNT this can take a long time and run out of memory.
5018 lt_cv_sys_max_cmd_len=8192;
5022 # On AmigaOS with pdksh, this test takes hours, literally.
5023 # So we just punt and use a minimum line length of 8192.
5024 lt_cv_sys_max_cmd_len=8192;
5027 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5028 # This has been around since 386BSD, at least. Likely further.
5029 if test -x /sbin/sysctl; then
5030 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5031 elif test -x /usr/sbin/sysctl; then
5032 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5034 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5036 # And add a safety zone
5037 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5038 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5042 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5043 lt_cv_sys_max_cmd_len=196608
5047 # The test takes a long time on OS/2.
5048 lt_cv_sys_max_cmd_len=8192
5052 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5053 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5054 # nice to cause kernel panics so lets avoid the loop below.
5055 # First set a reasonable default.
5056 lt_cv_sys_max_cmd_len=16384
5058 if test -x /sbin/sysconfig; then
5059 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5060 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5065 lt_cv_sys_max_cmd_len=102400
5067 sysv5* | sco5v6* | sysv4.2uw2*)
5068 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5069 if test -n "$kargmax"; then
5070 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5072 lt_cv_sys_max_cmd_len=32768
5076 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5077 if test -n "$lt_cv_sys_max_cmd_len" && \
5078 test undefined != "$lt_cv_sys_max_cmd_len"; then
5079 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5080 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5082 # Make teststring a little bigger before we do anything with it.
5083 # a 1K string should be a reasonable start.
5084 for i in 1 2 3 4 5 6 7 8 ; do
5085 teststring=$teststring$teststring
5087 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5088 # If test is not a shell built-in, we'll probably end up computing a
5089 # maximum length that is only half of the actual maximum length, but
5091 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5092 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5093 test $i != 17 # 1/2 MB should be enough
5096 teststring=$teststring$teststring
5098 # Only check the string length outside the loop.
5099 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5101 # Add a significant safety factor because C++ compilers can tack on
5102 # massive amounts of additional arguments before passing them to the
5103 # linker. It appears as though 1/2 is a usable value.
5104 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5111 if test -n $lt_cv_sys_max_cmd_len ; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5113 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5116 $as_echo "none" >&6; }
5118 max_cmd_len=$lt_cv_sys_max_cmd_len
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5130 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5131 # Try some XSI features
5134 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5136 && eval 'test $(( 1 + 1 )) -eq 2 \
5137 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5140 $as_echo "$xsi_shell" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5144 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5146 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5148 && lt_shell_append=yes
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5150 $as_echo "$lt_shell_append" >&6; }
5153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5163 # test EBCDIC or ASCII
5164 case `echo X|tr X '\101'` in
5165 A) # ASCII based system
5166 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5167 lt_SP2NL='tr \040 \012'
5168 lt_NL2SP='tr \015\012 \040\040'
5170 *) # EBCDIC based system
5171 lt_SP2NL='tr \100 \n'
5172 lt_NL2SP='tr \r\n \100\100'
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5185 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5186 if ${lt_cv_to_host_file_cmd+:} false; then :
5187 $as_echo_n "(cached) " >&6
5192 *-*-mingw* ) # actually msys
5193 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5196 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5198 * ) # otherwise, assume *nix
5199 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5205 *-*-mingw* ) # actually msys
5206 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5209 lt_cv_to_host_file_cmd=func_convert_file_noop
5211 * ) # otherwise, assume *nix
5212 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5216 * ) # unhandled hosts (and "normal" native builds)
5217 lt_cv_to_host_file_cmd=func_convert_file_noop
5223 to_host_file_cmd=$lt_cv_to_host_file_cmd
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5225 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5232 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5233 if ${lt_cv_to_tool_file_cmd+:} false; then :
5234 $as_echo_n "(cached) " >&6
5236 #assume ordinary cross tools, or native build.
5237 lt_cv_to_tool_file_cmd=func_convert_file_noop
5241 *-*-mingw* ) # actually msys
5242 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5250 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5252 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5259 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5260 if ${lt_cv_ld_reload_flag+:} false; then :
5261 $as_echo_n "(cached) " >&6
5263 lt_cv_ld_reload_flag='-r'
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5266 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5267 reload_flag=$lt_cv_ld_reload_flag
5268 case $reload_flag in
5270 *) reload_flag=" $reload_flag" ;;
5272 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5274 cygwin* | mingw* | pw32* | cegcc*)
5275 if test "$GCC" != yes; then
5280 if test "$GCC" = yes; then
5281 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5283 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5296 if test -n "$ac_tool_prefix"; then
5297 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5298 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_OBJDUMP+:} false; then :
5302 $as_echo_n "(cached) " >&6
5304 if test -n "$OBJDUMP"; then
5305 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 OBJDUMP=$ac_cv_prog_OBJDUMP
5325 if test -n "$OBJDUMP"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5327 $as_echo "$OBJDUMP" >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5335 if test -z "$ac_cv_prog_OBJDUMP"; then
5336 ac_ct_OBJDUMP=$OBJDUMP
5337 # Extract the first word of "objdump", so it can be a program name with args.
5338 set dummy objdump; ac_word=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5342 $as_echo_n "(cached) " >&6
5344 if test -n "$ac_ct_OBJDUMP"; then
5345 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5354 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5365 if test -n "$ac_ct_OBJDUMP"; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5367 $as_echo "$ac_ct_OBJDUMP" >&6; }
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5373 if test "x$ac_ct_OBJDUMP" = x; then
5376 case $cross_compiling:$ac_tool_warned in
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5380 ac_tool_warned=yes ;;
5382 OBJDUMP=$ac_ct_OBJDUMP
5385 OBJDUMP="$ac_cv_prog_OBJDUMP"
5388 test -z "$OBJDUMP" && OBJDUMP=objdump
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5399 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5400 if ${lt_cv_deplibs_check_method+:} false; then :
5401 $as_echo_n "(cached) " >&6
5403 lt_cv_file_magic_cmd='$MAGIC_CMD'
5404 lt_cv_file_magic_test_file=
5405 lt_cv_deplibs_check_method='unknown'
5406 # Need to set the preceding variable on all platforms that support
5407 # interlibrary dependencies.
5408 # 'none' -- dependencies not supported.
5409 # `unknown' -- same as none, but documents that we really don't know.
5410 # 'pass_all' -- all dependencies passed with no checks.
5411 # 'test_compile' -- check by making test program.
5412 # 'file_magic [[regex]]' -- check by looking for files in library path
5413 # which responds to the $file_magic_cmd with a given extended regex.
5414 # If you have `file' or equivalent on your system and you're not sure
5415 # whether `pass_all' will *always* work, you probably want this one.
5419 lt_cv_deplibs_check_method=pass_all
5423 lt_cv_deplibs_check_method=pass_all
5427 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5428 lt_cv_file_magic_cmd='/usr/bin/file -L'
5429 lt_cv_file_magic_test_file=/shlib/libc.so
5433 # func_win32_libid is a shell function defined in ltmain.sh
5434 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5435 lt_cv_file_magic_cmd='func_win32_libid'
5439 # Base MSYS/MinGW do not provide the 'file' command needed by
5440 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5441 # unless we find 'file', for example because we are cross-compiling.
5442 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5443 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5444 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5445 lt_cv_file_magic_cmd='func_win32_libid'
5447 # Keep this pattern in sync with the one in func_win32_libid.
5448 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5449 lt_cv_file_magic_cmd='$OBJDUMP -f'
5454 # use the weaker test based on 'objdump'. See mingw*.
5455 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5456 lt_cv_file_magic_cmd='$OBJDUMP -f'
5459 darwin* | rhapsody*)
5460 lt_cv_deplibs_check_method=pass_all
5463 freebsd* | dragonfly*)
5464 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5467 # Not sure whether the presence of OpenBSD here was a mistake.
5468 # Let's accept both of them until this is cleared up.
5469 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5470 lt_cv_file_magic_cmd=/usr/bin/file
5471 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5475 lt_cv_deplibs_check_method=pass_all
5480 lt_cv_deplibs_check_method=pass_all
5483 hpux10.20* | hpux11*)
5484 lt_cv_file_magic_cmd=/usr/bin/file
5487 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5488 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5491 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]'
5492 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5495 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5496 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5502 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5503 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5506 irix5* | irix6* | nonstopux*)
5508 *-32|*"-32 ") libmagic=32-bit;;
5509 *-n32|*"-n32 ") libmagic=N32;;
5510 *-64|*"-64 ") libmagic=64-bit;;
5511 *) libmagic=never-match;;
5513 lt_cv_deplibs_check_method=pass_all
5516 # This must be glibc/ELF.
5517 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5518 lt_cv_deplibs_check_method=pass_all
5521 netbsd* | netbsdelf*-gnu)
5522 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5523 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5530 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5531 lt_cv_file_magic_cmd=/usr/bin/file
5532 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5536 lt_cv_deplibs_check_method=pass_all
5540 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5541 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5543 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5547 osf3* | osf4* | osf5*)
5548 lt_cv_deplibs_check_method=pass_all
5552 lt_cv_deplibs_check_method=pass_all
5556 lt_cv_deplibs_check_method=pass_all
5559 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5560 lt_cv_deplibs_check_method=pass_all
5564 case $host_vendor in
5566 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]'
5567 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5570 lt_cv_deplibs_check_method=pass_all
5573 lt_cv_file_magic_cmd='/bin/file'
5574 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5577 lt_cv_file_magic_cmd='/bin/file'
5578 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5579 lt_cv_file_magic_test_file=/lib/libc.so
5582 lt_cv_deplibs_check_method=pass_all
5585 lt_cv_deplibs_check_method=pass_all
5591 lt_cv_deplibs_check_method=pass_all
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5597 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5601 if test "$build" = "$host"; then
5604 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5607 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5613 file_magic_cmd=$lt_cv_file_magic_cmd
5614 deplibs_check_method=$lt_cv_deplibs_check_method
5615 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5638 if test -n "$ac_tool_prefix"; then
5639 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5640 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5642 $as_echo_n "checking for $ac_word... " >&6; }
5643 if ${ac_cv_prog_DLLTOOL+:} false; then :
5644 $as_echo_n "(cached) " >&6
5646 if test -n "$DLLTOOL"; then
5647 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 DLLTOOL=$ac_cv_prog_DLLTOOL
5667 if test -n "$DLLTOOL"; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5669 $as_echo "$DLLTOOL" >&6; }
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5672 $as_echo "no" >&6; }
5677 if test -z "$ac_cv_prog_DLLTOOL"; then
5678 ac_ct_DLLTOOL=$DLLTOOL
5679 # Extract the first word of "dlltool", so it can be a program name with args.
5680 set dummy dlltool; ac_word=$2
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 $as_echo_n "checking for $ac_word... " >&6; }
5683 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5684 $as_echo_n "(cached) " >&6
5686 if test -n "$ac_ct_DLLTOOL"; then
5687 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5707 if test -n "$ac_ct_DLLTOOL"; then
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5709 $as_echo "$ac_ct_DLLTOOL" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }
5715 if test "x$ac_ct_DLLTOOL" = x; then
5718 case $cross_compiling:$ac_tool_warned in
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722 ac_tool_warned=yes ;;
5724 DLLTOOL=$ac_ct_DLLTOOL
5727 DLLTOOL="$ac_cv_prog_DLLTOOL"
5730 test -z "$DLLTOOL" && DLLTOOL=dlltool
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5742 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5743 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 lt_cv_sharedlib_from_linklib_cmd='unknown'
5749 cygwin* | mingw* | pw32* | cegcc*)
5750 # two different shell functions defined in ltmain.sh
5751 # decide which to use based on capabilities of $DLLTOOL
5752 case `$DLLTOOL --help 2>&1` in
5753 *--identify-strict*)
5754 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5757 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5762 # fallback: assume linklib IS sharedlib
5763 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5769 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5770 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5771 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5780 if test -n "$ac_tool_prefix"; then
5783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5784 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_AR+:} false; then :
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$AR"; then
5791 ac_cv_prog_AR="$AR" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811 if test -n "$AR"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5813 $as_echo "$AR" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$AR" && break
5823 if test -z "$AR"; then
5827 # Extract the first word of "$ac_prog", so it can be a program name with args.
5828 set dummy $ac_prog; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5832 $as_echo_n "(cached) " >&6
5834 if test -n "$ac_ct_AR"; then
5835 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_ac_ct_AR="$ac_prog"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5855 if test -n "$ac_ct_AR"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5857 $as_echo "$ac_ct_AR" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5864 test -n "$ac_ct_AR" && break
5867 if test "x$ac_ct_AR" = x; then
5870 case $cross_compiling:$ac_tool_warned in
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5874 ac_tool_warned=yes ;;
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5894 $as_echo_n "checking for archiver @FILE support... " >&6; }
5895 if ${lt_cv_ar_at_file+:} false; then :
5896 $as_echo_n "(cached) " >&6
5899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5900 /* end confdefs.h. */
5910 if ac_fn_c_try_compile "$LINENO"; then :
5911 echo conftest.$ac_objext > conftest.lst
5912 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5913 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5914 (eval $lt_ar_try) 2>&5
5916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5917 test $ac_status = 0; }
5918 if test "$ac_status" -eq 0; then
5919 # Ensure the archiver fails upon bogus file names.
5920 rm -f conftest.$ac_objext libconftest.a
5921 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5922 (eval $lt_ar_try) 2>&5
5924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5925 test $ac_status = 0; }
5926 if test "$ac_status" -ne 0; then
5930 rm -f conftest.* libconftest.a
5933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5937 $as_echo "$lt_cv_ar_at_file" >&6; }
5939 if test "x$lt_cv_ar_at_file" = xno; then
5942 archiver_list_spec=$lt_cv_ar_at_file
5951 if test -n "$ac_tool_prefix"; then
5952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5953 set dummy ${ac_tool_prefix}strip; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_STRIP+:} false; then :
5957 $as_echo_n "(cached) " >&6
5959 if test -n "$STRIP"; then
5960 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 STRIP=$ac_cv_prog_STRIP
5980 if test -n "$STRIP"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5982 $as_echo "$STRIP" >&6; }
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5990 if test -z "$ac_cv_prog_STRIP"; then
5992 # Extract the first word of "strip", so it can be a program name with args.
5993 set dummy strip; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5997 $as_echo_n "(cached) " >&6
5999 if test -n "$ac_ct_STRIP"; then
6000 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_ac_ct_STRIP="strip"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6020 if test -n "$ac_ct_STRIP"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6022 $as_echo "$ac_ct_STRIP" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6028 if test "x$ac_ct_STRIP" = x; then
6031 case $cross_compiling:$ac_tool_warned in
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6035 ac_tool_warned=yes ;;
6040 STRIP="$ac_cv_prog_STRIP"
6043 test -z "$STRIP" && STRIP=:
6050 if test -n "$ac_tool_prefix"; then
6051 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6052 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_RANLIB+:} false; then :
6056 $as_echo_n "(cached) " >&6
6058 if test -n "$RANLIB"; then
6059 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 RANLIB=$ac_cv_prog_RANLIB
6079 if test -n "$RANLIB"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6081 $as_echo "$RANLIB" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6089 if test -z "$ac_cv_prog_RANLIB"; then
6090 ac_ct_RANLIB=$RANLIB
6091 # Extract the first word of "ranlib", so it can be a program name with args.
6092 set dummy ranlib; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6096 $as_echo_n "(cached) " >&6
6098 if test -n "$ac_ct_RANLIB"; then
6099 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_RANLIB="ranlib"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6119 if test -n "$ac_ct_RANLIB"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6121 $as_echo "$ac_ct_RANLIB" >&6; }
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6127 if test "x$ac_ct_RANLIB" = x; then
6130 case $cross_compiling:$ac_tool_warned in
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6136 RANLIB=$ac_ct_RANLIB
6139 RANLIB="$ac_cv_prog_RANLIB"
6142 test -z "$RANLIB" && RANLIB=:
6149 # Determine commands to create old-style static archives.
6150 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6151 old_postinstall_cmds='chmod 644 $oldlib'
6152 old_postuninstall_cmds=
6154 if test -n "$RANLIB"; then
6157 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6160 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6163 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6168 lock_old_archive_extraction=yes ;;
6170 lock_old_archive_extraction=no ;;
6211 # If no C compiler was specified, use CC.
6214 # If no C compiler flags were specified, use CFLAGS.
6215 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6217 # Allow CC to be a program name with arguments.
6221 # Check for command to grab the raw symbol name followed by C symbol from nm.
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6223 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6224 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6225 $as_echo_n "(cached) " >&6
6228 # These are sane defaults that work on at least a few old systems.
6229 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6231 # Character class describing NM global symbol codes.
6232 symcode='[BCDEGRST]'
6234 # Regexp to match symbols that can be accessed directly from C.
6235 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6237 # Define system-specific variables.
6242 cygwin* | mingw* | pw32* | cegcc*)
6243 symcode='[ABCDGISTW]'
6246 if test "$host_cpu" = ia64; then
6247 symcode='[ABCDEGRST]'
6251 symcode='[BCDEGRST]'
6254 symcode='[BCDEGQRST]'
6265 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6273 # If we're using GNU nm, then use its standard symbol codes.
6274 case `$NM -V 2>&1` in
6275 *GNU* | *'with BFD'*)
6276 symcode='[ABCDGIRSTW]' ;;
6279 # Transform an extracted symbol line into a proper C declaration.
6280 # Some systems (esp. on ia64) link data and code symbols differently,
6281 # so use this general approach.
6282 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6284 # Transform an extracted symbol line into symbol name and symbol address
6285 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6286 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'"
6288 # Handle CRLF in mingw tool chain
6292 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6296 # Try without a prefix underscore, then with it.
6297 for ac_symprfx in "" "_"; do
6299 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6300 symxfrm="\\1 $ac_symprfx\\2 \\2"
6302 # Write the raw and C identifiers.
6303 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6304 # Fake it for dumpbin and say T for any non-static function
6305 # and D for any global variable.
6306 # Also find C++ and __fastcall symbols from MSVC++,
6307 # which start with @ or ?.
6308 lt_cv_sys_global_symbol_pipe="$AWK '"\
6309 " {last_section=section; section=\$ 3};"\
6310 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6311 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6312 " \$ 0!~/External *\|/{next};"\
6313 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6314 " {if(hide[section]) next};"\
6315 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6316 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6317 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6318 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6319 " ' prfx=^$ac_symprfx"
6321 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6323 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6325 # Check to see that the pipe works correctly.
6329 cat > conftest.$ac_ext <<_LT_EOF
6334 void nm_test_func(void);
6335 void nm_test_func(void){}
6339 int main(){nm_test_var='a';nm_test_func();return(0);}
6342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6343 (eval $ac_compile) 2>&5
6345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6346 test $ac_status = 0; }; then
6347 # Now try to grab the symbols.
6349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6350 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6353 test $ac_status = 0; } && test -s "$nlist"; then
6354 # Try sorting and uniquifying the output.
6355 if sort "$nlist" | uniq > "$nlist"T; then
6356 mv -f "$nlist"T "$nlist"
6361 # Make sure that we snagged all the symbols we need.
6362 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6363 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6364 cat <<_LT_EOF > conftest.$ac_ext
6365 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6366 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6367 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6368 relocations are performed -- see ld's documentation on pseudo-relocs. */
6369 # define LT_DLSYM_CONST
6370 #elif defined(__osf__)
6371 /* This system does not cope well with relocations in const data. */
6372 # define LT_DLSYM_CONST
6374 # define LT_DLSYM_CONST const
6382 # Now generate the symbol file.
6383 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6385 cat <<_LT_EOF >> conftest.$ac_ext
6387 /* The mapping between symbol names and symbols. */
6388 LT_DLSYM_CONST struct {
6392 lt__PROGRAM__LTX_preloaded_symbols[] =
6394 { "@PROGRAM@", (void *) 0 },
6396 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6397 cat <<\_LT_EOF >> conftest.$ac_ext
6401 /* This works around a problem in FreeBSD linker */
6402 #ifdef FREEBSD_WORKAROUND
6403 static const void *lt_preloaded_setup() {
6404 return lt__PROGRAM__LTX_preloaded_symbols;
6412 # Now try linking the two files.
6413 mv conftest.$ac_objext conftstm.$ac_objext
6414 lt_globsym_save_LIBS=$LIBS
6415 lt_globsym_save_CFLAGS=$CFLAGS
6416 LIBS="conftstm.$ac_objext"
6417 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6419 (eval $ac_link) 2>&5
6421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6422 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6425 LIBS=$lt_globsym_save_LIBS
6426 CFLAGS=$lt_globsym_save_CFLAGS
6428 echo "cannot find nm_test_func in $nlist" >&5
6431 echo "cannot find nm_test_var in $nlist" >&5
6434 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6437 echo "$progname: failed program was:" >&5
6438 cat conftest.$ac_ext >&5
6440 rm -rf conftest* conftst*
6442 # Do not use the global_symbol_pipe unless it works.
6443 if test "$pipe_works" = yes; then
6446 lt_cv_sys_global_symbol_pipe=
6452 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6453 lt_cv_sys_global_symbol_to_cdecl=
6455 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6457 $as_echo "failed" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6460 $as_echo "ok" >&6; }
6463 # Response file support.
6464 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6465 nm_file_list_spec='@'
6466 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6467 nm_file_list_spec='@'
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6497 $as_echo_n "checking for sysroot... " >&6; }
6499 # Check whether --with-sysroot was given.
6500 if test "${with_sysroot+set}" = set; then :
6501 withval=$with_sysroot;
6508 case ${with_sysroot} in #(
6510 if test "$GCC" = yes; then
6511 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6515 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6521 $as_echo "${with_sysroot}" >&6; }
6522 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6527 $as_echo "${lt_sysroot:-no}" >&6; }
6533 # Check whether --enable-libtool-lock was given.
6534 if test "${enable_libtool_lock+set}" = set; then :
6535 enableval=$enable_libtool_lock;
6538 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6540 # Some flags need to be propagated to the compiler or linker for good
6544 # Find out which ABI we are using.
6545 echo 'int i;' > conftest.$ac_ext
6546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6547 (eval $ac_compile) 2>&5
6549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6550 test $ac_status = 0; }; then
6551 case `/usr/bin/file conftest.$ac_objext` in
6563 # Find out which ABI we are using.
6564 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6566 (eval $ac_compile) 2>&5
6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6569 test $ac_status = 0; }; then
6570 if test "$lt_cv_prog_gnu_ld" = yes; then
6571 case `/usr/bin/file conftest.$ac_objext` in
6573 LD="${LD-ld} -melf32bsmip"
6576 LD="${LD-ld} -melf32bmipn32"
6579 LD="${LD-ld} -melf64bmip"
6583 case `/usr/bin/file conftest.$ac_objext` in
6599 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6600 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6601 # Find out which ABI we are using.
6602 echo 'int i;' > conftest.$ac_ext
6603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6604 (eval $ac_compile) 2>&5
6606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6607 test $ac_status = 0; }; then
6608 case `/usr/bin/file conftest.o` in
6611 x86_64-*kfreebsd*-gnu)
6612 LD="${LD-ld} -m elf_i386_fbsd"
6615 case `/usr/bin/file conftest.o` in
6617 LD="${LD-ld} -m elf32_x86_64"
6620 LD="${LD-ld} -m elf_i386"
6624 ppc64-*linux*|powerpc64-*linux*)
6625 LD="${LD-ld} -m elf32ppclinux"
6628 LD="${LD-ld} -m elf_s390"
6631 LD="${LD-ld} -m elf32_sparc"
6637 x86_64-*kfreebsd*-gnu)
6638 LD="${LD-ld} -m elf_x86_64_fbsd"
6641 LD="${LD-ld} -m elf_x86_64"
6643 ppc*-*linux*|powerpc*-*linux*)
6644 LD="${LD-ld} -m elf64ppc"
6646 s390*-*linux*|s390*-*tpf*)
6647 LD="${LD-ld} -m elf64_s390"
6650 LD="${LD-ld} -m elf64_sparc"
6660 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6661 SAVE_CFLAGS="$CFLAGS"
6662 CFLAGS="$CFLAGS -belf"
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6664 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6665 if ${lt_cv_cc_needs_belf+:} false; then :
6666 $as_echo_n "(cached) " >&6
6669 ac_cpp='$CPP $CPPFLAGS'
6670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h. */
6685 if ac_fn_c_try_link "$LINENO"; then :
6686 lt_cv_cc_needs_belf=yes
6688 lt_cv_cc_needs_belf=no
6690 rm -f core conftest.err conftest.$ac_objext \
6691 conftest$ac_exeext conftest.$ac_ext
6693 ac_cpp='$CPP $CPPFLAGS'
6694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6700 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6701 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6702 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6703 CFLAGS="$SAVE_CFLAGS"
6707 # Find out which ABI we are using.
6708 echo 'int i;' > conftest.$ac_ext
6709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6710 (eval $ac_compile) 2>&5
6712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6713 test $ac_status = 0; }; then
6714 case `/usr/bin/file conftest.o` in
6716 case $lt_cv_prog_gnu_ld in
6720 LD="${LD-ld} -m elf_x86_64"
6723 LD="${LD-ld} -m elf64_sparc"
6726 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6727 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6732 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6744 need_locks="$enable_libtool_lock"
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6748 set dummy ${ac_tool_prefix}mt; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6752 $as_echo_n "(cached) " >&6
6754 if test -n "$MANIFEST_TOOL"; then
6755 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6775 if test -n "$MANIFEST_TOOL"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6777 $as_echo "$MANIFEST_TOOL" >&6; }
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6785 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6786 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6787 # Extract the first word of "mt", so it can be a program name with args.
6788 set dummy mt; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6792 $as_echo_n "(cached) " >&6
6794 if test -n "$ac_ct_MANIFEST_TOOL"; then
6795 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 test -z "$as_dir" && as_dir=.
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6815 if test -n "$ac_ct_MANIFEST_TOOL"; then
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6817 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6823 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6826 case $cross_compiling:$ac_tool_warned in
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6830 ac_tool_warned=yes ;;
6832 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6835 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6838 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6840 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6841 if ${lt_cv_path_mainfest_tool+:} false; then :
6842 $as_echo_n "(cached) " >&6
6844 lt_cv_path_mainfest_tool=no
6845 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6846 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6847 cat conftest.err >&5
6848 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6849 lt_cv_path_mainfest_tool=yes
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6854 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6855 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6865 rhapsody* | darwin*)
6866 if test -n "$ac_tool_prefix"; then
6867 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6868 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6872 $as_echo_n "(cached) " >&6
6874 if test -n "$DSYMUTIL"; then
6875 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881 test -z "$as_dir" && as_dir=.
6882 for ac_exec_ext in '' $ac_executable_extensions; do
6883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6895 if test -n "$DSYMUTIL"; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6897 $as_echo "$DSYMUTIL" >&6; }
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6905 if test -z "$ac_cv_prog_DSYMUTIL"; then
6906 ac_ct_DSYMUTIL=$DSYMUTIL
6907 # Extract the first word of "dsymutil", so it can be a program name with args.
6908 set dummy dsymutil; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6912 $as_echo_n "(cached) " >&6
6914 if test -n "$ac_ct_DSYMUTIL"; then
6915 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921 test -z "$as_dir" && as_dir=.
6922 for ac_exec_ext in '' $ac_executable_extensions; do
6923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6924 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6935 if test -n "$ac_ct_DSYMUTIL"; then
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6937 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6943 if test "x$ac_ct_DSYMUTIL" = x; then
6946 case $cross_compiling:$ac_tool_warned in
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6950 ac_tool_warned=yes ;;
6952 DSYMUTIL=$ac_ct_DSYMUTIL
6955 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_NMEDIT+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$NMEDIT"; then
6967 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 NMEDIT=$ac_cv_prog_NMEDIT
6987 if test -n "$NMEDIT"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6989 $as_echo "$NMEDIT" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_NMEDIT"; then
6998 ac_ct_NMEDIT=$NMEDIT
6999 # Extract the first word of "nmedit", so it can be a program name with args.
7000 set dummy nmedit; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$ac_ct_NMEDIT"; then
7007 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7027 if test -n "$ac_ct_NMEDIT"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7029 $as_echo "$ac_ct_NMEDIT" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_NMEDIT" = x; then
7038 case $cross_compiling:$ac_tool_warned in
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7044 NMEDIT=$ac_ct_NMEDIT
7047 NMEDIT="$ac_cv_prog_NMEDIT"
7050 if test -n "$ac_tool_prefix"; then
7051 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_LIPO+:} false; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$LIPO"; then
7059 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir=.
7066 for ac_exec_ext in '' $ac_executable_extensions; do
7067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 LIPO=$ac_cv_prog_LIPO
7079 if test -n "$LIPO"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7081 $as_echo "$LIPO" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7089 if test -z "$ac_cv_prog_LIPO"; then
7091 # Extract the first word of "lipo", so it can be a program name with args.
7092 set dummy lipo; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$ac_ct_LIPO"; then
7099 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_ac_ct_LIPO="lipo"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7119 if test -n "$ac_ct_LIPO"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7121 $as_echo "$ac_ct_LIPO" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7127 if test "x$ac_ct_LIPO" = x; then
7130 case $cross_compiling:$ac_tool_warned in
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7139 LIPO="$ac_cv_prog_LIPO"
7142 if test -n "$ac_tool_prefix"; then
7143 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}otool; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if ${ac_cv_prog_OTOOL+:} false; then :
7148 $as_echo_n "(cached) " >&6
7150 if test -n "$OTOOL"; then
7151 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157 test -z "$as_dir" && as_dir=.
7158 for ac_exec_ext in '' $ac_executable_extensions; do
7159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170 OTOOL=$ac_cv_prog_OTOOL
7171 if test -n "$OTOOL"; then
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7173 $as_echo "$OTOOL" >&6; }
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7181 if test -z "$ac_cv_prog_OTOOL"; then
7183 # Extract the first word of "otool", so it can be a program name with args.
7184 set dummy otool; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7188 $as_echo_n "(cached) " >&6
7190 if test -n "$ac_ct_OTOOL"; then
7191 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_ac_ct_OTOOL="otool"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7211 if test -n "$ac_ct_OTOOL"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7213 $as_echo "$ac_ct_OTOOL" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7219 if test "x$ac_ct_OTOOL" = x; then
7222 case $cross_compiling:$ac_tool_warned in
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7226 ac_tool_warned=yes ;;
7231 OTOOL="$ac_cv_prog_OTOOL"
7234 if test -n "$ac_tool_prefix"; then
7235 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7236 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7238 $as_echo_n "checking for $ac_word... " >&6; }
7239 if ${ac_cv_prog_OTOOL64+:} false; then :
7240 $as_echo_n "(cached) " >&6
7242 if test -n "$OTOOL64"; then
7243 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 test -z "$as_dir" && as_dir=.
7250 for ac_exec_ext in '' $ac_executable_extensions; do
7251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7252 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 OTOOL64=$ac_cv_prog_OTOOL64
7263 if test -n "$OTOOL64"; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7265 $as_echo "$OTOOL64" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7273 if test -z "$ac_cv_prog_OTOOL64"; then
7274 ac_ct_OTOOL64=$OTOOL64
7275 # Extract the first word of "otool64", so it can be a program name with args.
7276 set dummy otool64; ac_word=$2
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 $as_echo_n "checking for $ac_word... " >&6; }
7279 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7280 $as_echo_n "(cached) " >&6
7282 if test -n "$ac_ct_OTOOL64"; then
7283 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7289 test -z "$as_dir" && as_dir=.
7290 for ac_exec_ext in '' $ac_executable_extensions; do
7291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7292 ac_cv_prog_ac_ct_OTOOL64="otool64"
7293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7303 if test -n "$ac_ct_OTOOL64"; then
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7305 $as_echo "$ac_ct_OTOOL64" >&6; }
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 $as_echo "no" >&6; }
7311 if test "x$ac_ct_OTOOL64" = x; then
7314 case $cross_compiling:$ac_tool_warned in
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7318 ac_tool_warned=yes ;;
7320 OTOOL64=$ac_ct_OTOOL64
7323 OTOOL64="$ac_cv_prog_OTOOL64"
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7353 $as_echo_n "checking for -single_module linker flag... " >&6; }
7354 if ${lt_cv_apple_cc_single_mod+:} false; then :
7355 $as_echo_n "(cached) " >&6
7357 lt_cv_apple_cc_single_mod=no
7358 if test -z "${LT_MULTI_MODULE}"; then
7359 # By default we will add the -single_module flag. You can override
7360 # by either setting the environment variable LT_MULTI_MODULE
7361 # non-empty at configure time, or by adding -multi_module to the
7363 rm -rf libconftest.dylib*
7364 echo "int foo(void){return 1;}" > conftest.c
7365 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7366 -dynamiclib -Wl,-single_module conftest.c" >&5
7367 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7368 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7370 # If there is a non-empty error log, and "single_module"
7371 # appears in it, assume the flag caused a linker warning
7372 if test -s conftest.err && $GREP single_module conftest.err; then
7373 cat conftest.err >&5
7374 # Otherwise, if the output was created with a 0 exit code from
7375 # the compiler, it worked.
7376 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7377 lt_cv_apple_cc_single_mod=yes
7379 cat conftest.err >&5
7381 rm -rf libconftest.dylib*
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7386 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7389 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7390 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7391 $as_echo_n "(cached) " >&6
7393 lt_cv_ld_exported_symbols_list=no
7394 save_LDFLAGS=$LDFLAGS
7395 echo "_main" > conftest.sym
7396 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7408 if ac_fn_c_try_link "$LINENO"; then :
7409 lt_cv_ld_exported_symbols_list=yes
7411 lt_cv_ld_exported_symbols_list=no
7413 rm -f core conftest.err conftest.$ac_objext \
7414 conftest$ac_exeext conftest.$ac_ext
7415 LDFLAGS="$save_LDFLAGS"
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7419 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7422 $as_echo_n "checking for -force_load linker flag... " >&6; }
7423 if ${lt_cv_ld_force_load+:} false; then :
7424 $as_echo_n "(cached) " >&6
7426 lt_cv_ld_force_load=no
7427 cat > conftest.c << _LT_EOF
7428 int forced_loaded() { return 2;}
7430 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7431 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7432 echo "$AR cru libconftest.a conftest.o" >&5
7433 $AR cru libconftest.a conftest.o 2>&5
7434 echo "$RANLIB libconftest.a" >&5
7435 $RANLIB libconftest.a 2>&5
7436 cat > conftest.c << _LT_EOF
7437 int main() { return 0;}
7439 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7440 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7442 if test -s conftest.err && $GREP force_load conftest.err; then
7443 cat conftest.err >&5
7444 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7445 lt_cv_ld_force_load=yes
7447 cat conftest.err >&5
7449 rm -f conftest.err libconftest.a conftest conftest.c
7450 rm -rf conftest.dSYM
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7454 $as_echo "$lt_cv_ld_force_load" >&6; }
7456 rhapsody* | darwin1.[012])
7457 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7459 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7460 darwin*) # darwin 5.x on
7461 # if running on 10.5 or later, the deployment target defaults
7462 # to the OS version, if on x86, and 10.4, the deployment
7463 # target defaults to 10.4. Don't you love it?
7464 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7465 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7466 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7468 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7470 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7474 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7475 _lt_dar_single_mod='$single_module'
7477 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7478 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7480 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7482 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7483 _lt_dsymutil='~$DSYMUTIL $lib || :'
7491 ac_cpp='$CPP $CPPFLAGS'
7492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7496 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7497 # On Suns, sometimes $CPP names a directory.
7498 if test -n "$CPP" && test -d "$CPP"; then
7501 if test -z "$CPP"; then
7502 if ${ac_cv_prog_CPP+:} false; then :
7503 $as_echo_n "(cached) " >&6
7505 # Double quotes because CPP needs to be expanded
7506 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7509 for ac_c_preproc_warn_flag in '' yes
7511 # Use a header file that comes with gcc, so configuring glibc
7512 # with a fresh cross-compiler works.
7513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7514 # <limits.h> exists even on freestanding compilers.
7515 # On the NeXT, cc -E runs the code through the compiler's parser,
7516 # not just through cpp. "Syntax error" is here to catch this case.
7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518 /* end confdefs.h. */
7520 # include <limits.h>
7522 # include <assert.h>
7526 if ac_fn_c_try_cpp "$LINENO"; then :
7529 # Broken: fails on valid input.
7532 rm -f conftest.err conftest.i conftest.$ac_ext
7534 # OK, works on sane cases. Now check whether nonexistent headers
7535 # can be detected and how.
7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7538 #include <ac_nonexistent.h>
7540 if ac_fn_c_try_cpp "$LINENO"; then :
7541 # Broken: success on invalid input.
7544 # Passes both tests.
7548 rm -f conftest.err conftest.i conftest.$ac_ext
7551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7552 rm -f conftest.i conftest.err conftest.$ac_ext
7553 if $ac_preproc_ok; then :
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7566 $as_echo "$CPP" >&6; }
7568 for ac_c_preproc_warn_flag in '' yes
7570 # Use a header file that comes with gcc, so configuring glibc
7571 # with a fresh cross-compiler works.
7572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7573 # <limits.h> exists even on freestanding compilers.
7574 # On the NeXT, cc -E runs the code through the compiler's parser,
7575 # not just through cpp. "Syntax error" is here to catch this case.
7576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h. */
7579 # include <limits.h>
7581 # include <assert.h>
7585 if ac_fn_c_try_cpp "$LINENO"; then :
7588 # Broken: fails on valid input.
7591 rm -f conftest.err conftest.i conftest.$ac_ext
7593 # OK, works on sane cases. Now check whether nonexistent headers
7594 # can be detected and how.
7595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h. */
7597 #include <ac_nonexistent.h>
7599 if ac_fn_c_try_cpp "$LINENO"; then :
7600 # Broken: success on invalid input.
7603 # Passes both tests.
7607 rm -f conftest.err conftest.i conftest.$ac_ext
7610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7611 rm -f conftest.i conftest.err conftest.$ac_ext
7612 if $ac_preproc_ok; then :
7615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7617 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7618 See \`config.log' for more details" "$LINENO" 5; }
7622 ac_cpp='$CPP $CPPFLAGS'
7623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7629 $as_echo_n "checking for ANSI C header files... " >&6; }
7630 if ${ac_cv_header_stdc+:} false; then :
7631 $as_echo_n "(cached) " >&6
7633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 /* end confdefs.h. */
7648 if ac_fn_c_try_compile "$LINENO"; then :
7649 ac_cv_header_stdc=yes
7651 ac_cv_header_stdc=no
7653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7655 if test $ac_cv_header_stdc = yes; then
7656 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h. */
7662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7663 $EGREP "memchr" >/dev/null 2>&1; then :
7666 ac_cv_header_stdc=no
7672 if test $ac_cv_header_stdc = yes; then
7673 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7680 $EGREP "free" >/dev/null 2>&1; then :
7683 ac_cv_header_stdc=no
7689 if test $ac_cv_header_stdc = yes; then
7690 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7691 if test "$cross_compiling" = yes; then :
7694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7695 /* end confdefs.h. */
7698 #if ((' ' & 0x0FF) == 0x020)
7699 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7700 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7702 # define ISLOWER(c) \
7703 (('a' <= (c) && (c) <= 'i') \
7704 || ('j' <= (c) && (c) <= 'r') \
7705 || ('s' <= (c) && (c) <= 'z'))
7706 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7709 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7714 for (i = 0; i < 256; i++)
7715 if (XOR (islower (i), ISLOWER (i))
7716 || toupper (i) != TOUPPER (i))
7721 if ac_fn_c_try_run "$LINENO"; then :
7724 ac_cv_header_stdc=no
7726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7727 conftest.$ac_objext conftest.beam conftest.$ac_ext
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7733 $as_echo "$ac_cv_header_stdc" >&6; }
7734 if test $ac_cv_header_stdc = yes; then
7736 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7740 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7741 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7742 inttypes.h stdint.h unistd.h
7744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7745 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7757 for ac_header in dlfcn.h
7759 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7761 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_DLFCN_H 1
7776 # Check whether --enable-static was given.
7777 if test "${enable_static+set}" = set; then :
7778 enableval=$enable_static; p=${PACKAGE-default}
7780 yes) enable_static=yes ;;
7781 no) enable_static=no ;;
7784 # Look at the argument we got. We use all the common list separators.
7785 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7786 for pkg in $enableval; do
7788 if test "X$pkg" = "X$p"; then
7812 # Check whether --enable-shared was given.
7813 if test "${enable_shared+set}" = set; then :
7814 enableval=$enable_shared; p=${PACKAGE-default}
7816 yes) enable_shared=yes ;;
7817 no) enable_shared=no ;;
7820 # Look at the argument we got. We use all the common list separators.
7821 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7822 for pkg in $enableval; do
7824 if test "X$pkg" = "X$p"; then
7845 # Check whether --with-pic was given.
7846 if test "${with_pic+set}" = set; then :
7847 withval=$with_pic; lt_p=${PACKAGE-default}
7849 yes|no) pic_mode=$withval ;;
7852 # Look at the argument we got. We use all the common list separators.
7853 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7854 for lt_pkg in $withval; do
7856 if test "X$lt_pkg" = "X$lt_p"; then
7868 test -z "$pic_mode" && pic_mode=default
7876 # Check whether --enable-fast-install was given.
7877 if test "${enable_fast_install+set}" = set; then :
7878 enableval=$enable_fast_install; p=${PACKAGE-default}
7880 yes) enable_fast_install=yes ;;
7881 no) enable_fast_install=no ;;
7883 enable_fast_install=no
7884 # Look at the argument we got. We use all the common list separators.
7885 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7886 for pkg in $enableval; do
7888 if test "X$pkg" = "X$p"; then
7889 enable_fast_install=yes
7896 enable_fast_install=yes
7909 # This can be used to rebuild libtool when needed
7910 LIBTOOL_DEPS="$ltmain"
7912 # Always use our own libtool.
7913 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7944 test -z "$LN_S" && LN_S="ln -s"
7959 if test -n "${ZSH_VERSION+set}" ; then
7960 setopt NO_GLOB_SUBST
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7964 $as_echo_n "checking for objdir... " >&6; }
7965 if ${lt_cv_objdir+:} false; then :
7966 $as_echo_n "(cached) " >&6
7968 rm -f .libs 2>/dev/null
7969 mkdir .libs 2>/dev/null
7970 if test -d .libs; then
7973 # MS-DOS does not allow filenames that begin with a dot.
7976 rmdir .libs 2>/dev/null
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7979 $as_echo "$lt_cv_objdir" >&6; }
7980 objdir=$lt_cv_objdir
7986 cat >>confdefs.h <<_ACEOF
7987 #define LT_OBJDIR "$lt_cv_objdir/"
7995 # AIX sometimes has problems with the GCC collect2 program. For some
7996 # reason, if we set the COLLECT_NAMES environment variable, the problems
7997 # vanish in a puff of smoke.
7998 if test "X${COLLECT_NAMES+set}" != Xset; then
8000 export COLLECT_NAMES
8007 can_build_shared=yes
8009 # All known linkers require a `.a' archive for static linking (except MSVC,
8010 # which needs '.lib').
8013 with_gnu_ld="$lt_cv_prog_gnu_ld"
8016 old_CFLAGS="$CFLAGS"
8018 # Set sane defaults for various variables
8019 test -z "$CC" && CC=cc
8020 test -z "$LTCC" && LTCC=$CC
8021 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8022 test -z "$LD" && LD=ld
8023 test -z "$ac_objext" && ac_objext=o
8025 for cc_temp in $compiler""; do
8027 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8028 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8033 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8036 # Only perform the check for file, if the check method requires it
8037 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8038 case $deplibs_check_method in
8040 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8042 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8043 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8044 $as_echo_n "(cached) " >&6
8048 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8051 lt_save_MAGIC_CMD="$MAGIC_CMD"
8052 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8053 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8054 for ac_dir in $ac_dummy; do
8056 test -z "$ac_dir" && ac_dir=.
8057 if test -f $ac_dir/${ac_tool_prefix}file; then
8058 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8059 if test -n "$file_magic_test_file"; then
8060 case $deplibs_check_method in
8062 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8064 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8065 $EGREP "$file_magic_regex" > /dev/null; then
8070 *** Warning: the command libtool uses to detect shared libraries,
8071 *** $file_magic_cmd, produces output that libtool cannot recognize.
8072 *** The result is that libtool may fail to recognize shared libraries
8073 *** as such. This will affect the creation of libtool libraries that
8074 *** depend on shared libraries, but programs linked with such libtool
8075 *** libraries will work regardless of this problem. Nevertheless, you
8076 *** may want to report the problem to your system manager and/or to
8077 *** bug-libtool@gnu.org
8087 MAGIC_CMD="$lt_save_MAGIC_CMD"
8092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8093 if test -n "$MAGIC_CMD"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8095 $as_echo "$MAGIC_CMD" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8105 if test -z "$lt_cv_path_MAGIC_CMD"; then
8106 if test -n "$ac_tool_prefix"; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8108 $as_echo_n "checking for file... " >&6; }
8109 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8110 $as_echo_n "(cached) " >&6
8114 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8117 lt_save_MAGIC_CMD="$MAGIC_CMD"
8118 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8119 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8120 for ac_dir in $ac_dummy; do
8122 test -z "$ac_dir" && ac_dir=.
8123 if test -f $ac_dir/file; then
8124 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8125 if test -n "$file_magic_test_file"; then
8126 case $deplibs_check_method in
8128 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8130 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8131 $EGREP "$file_magic_regex" > /dev/null; then
8136 *** Warning: the command libtool uses to detect shared libraries,
8137 *** $file_magic_cmd, produces output that libtool cannot recognize.
8138 *** The result is that libtool may fail to recognize shared libraries
8139 *** as such. This will affect the creation of libtool libraries that
8140 *** depend on shared libraries, but programs linked with such libtool
8141 *** libraries will work regardless of this problem. Nevertheless, you
8142 *** may want to report the problem to your system manager and/or to
8143 *** bug-libtool@gnu.org
8153 MAGIC_CMD="$lt_save_MAGIC_CMD"
8158 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159 if test -n "$MAGIC_CMD"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8161 $as_echo "$MAGIC_CMD" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8177 # Use C for the default configuration in the libtool script
8181 ac_cpp='$CPP $CPPFLAGS'
8182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8187 # Source file extension for C test sources.
8190 # Object file extension for compiled C test sources.
8194 # Code to be used in simple compile tests
8195 lt_simple_compile_test_code="int some_variable = 0;"
8197 # Code to be used in simple link tests
8198 lt_simple_link_test_code='int main(){return(0);}'
8206 # If no C compiler was specified, use CC.
8209 # If no C compiler flags were specified, use CFLAGS.
8210 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8212 # Allow CC to be a program name with arguments.
8215 # Save the default compiler, since it gets overwritten when the other
8216 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8217 compiler_DEFAULT=$CC
8219 # save warnings/boilerplate of simple test code
8220 ac_outfile=conftest.$ac_objext
8221 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8222 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8223 _lt_compiler_boilerplate=`cat conftest.err`
8226 ac_outfile=conftest.$ac_objext
8227 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8228 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8229 _lt_linker_boilerplate=`cat conftest.err`
8234 ## There is no encapsulation within the following macros, do not change
8235 ## the running order or otherwise move them around unless you know exactly
8236 ## what you are doing...
8237 if test -n "$compiler"; then
8239 lt_prog_compiler_no_builtin_flag=
8241 if test "$GCC" = yes; then
8242 case $cc_basename in
8244 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8246 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8250 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8251 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8252 $as_echo_n "(cached) " >&6
8254 lt_cv_prog_compiler_rtti_exceptions=no
8255 ac_outfile=conftest.$ac_objext
8256 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8257 lt_compiler_flag="-fno-rtti -fno-exceptions"
8258 # Insert the option either (1) after the last *FLAGS variable, or
8259 # (2) before a word containing "conftest.", or (3) at the end.
8260 # Note that $ac_compile itself does not contain backslashes and begins
8261 # with a dollar sign (not a hyphen), so the echo should work correctly.
8262 # The option is referenced via a variable to avoid confusing sed.
8263 lt_compile=`echo "$ac_compile" | $SED \
8264 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8266 -e 's:$: $lt_compiler_flag:'`
8267 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8268 (eval "$lt_compile" 2>conftest.err)
8270 cat conftest.err >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 if (exit $ac_status) && test -s "$ac_outfile"; then
8273 # The compiler can only warn and ignore the option if not recognized
8274 # So say no if there are warnings other than the usual output.
8275 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8276 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8277 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8278 lt_cv_prog_compiler_rtti_exceptions=yes
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8285 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8287 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8288 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8300 lt_prog_compiler_wl=
8301 lt_prog_compiler_pic=
8302 lt_prog_compiler_static=
8305 if test "$GCC" = yes; then
8306 lt_prog_compiler_wl='-Wl,'
8307 lt_prog_compiler_static='-static'
8311 # All AIX code is PIC.
8312 if test "$host_cpu" = ia64; then
8313 # AIX 5 now supports IA64 processor
8314 lt_prog_compiler_static='-Bstatic'
8321 # see comment about AmigaOS4 .so support
8322 lt_prog_compiler_pic='-fPIC'
8325 # FIXME: we need at least 68020 code to build shared libraries, but
8326 # adding the `-m68020' flag to GCC prevents building anything better,
8328 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8333 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8334 # PIC is the default for these OSes.
8337 mingw* | cygwin* | pw32* | os2* | cegcc*)
8338 # This hack is so that the source file can tell whether it is being
8339 # built for inclusion in a dll (and should export symbols for example).
8340 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8341 # (--disable-auto-import) libraries
8342 lt_prog_compiler_pic='-DDLL_EXPORT'
8345 darwin* | rhapsody*)
8346 # PIC is the default on this platform
8347 # Common symbols not allowed in MH_DYLIB files
8348 lt_prog_compiler_pic='-fno-common'
8352 # PIC is the default for Haiku.
8353 # The "-static" flag exists, but is broken.
8354 lt_prog_compiler_static=
8358 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8359 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8360 # sets the default TLS model and affects inlining.
8366 lt_prog_compiler_pic='-fPIC'
8372 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8373 # Instead, we relocate shared libraries at runtime.
8377 # Just because we use GCC doesn't mean we suddenly get shared libraries
8378 # on systems that don't support them.
8379 lt_prog_compiler_can_build_shared=no
8384 # QNX uses GNU C++, but need to define -shared option too, otherwise
8386 lt_prog_compiler_pic='-fPIC -shared'
8390 if test -d /usr/nec; then
8391 lt_prog_compiler_pic=-Kconform_pic
8396 lt_prog_compiler_pic='-fPIC'
8400 case $cc_basename in
8401 nvcc*) # Cuda Compiler Driver 2.2
8402 lt_prog_compiler_wl='-Xlinker '
8403 if test -n "$lt_prog_compiler_pic"; then
8404 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8409 # PORTME Check for flag to pass linker flags through the system compiler.
8412 lt_prog_compiler_wl='-Wl,'
8413 if test "$host_cpu" = ia64; then
8414 # AIX 5 now supports IA64 processor
8415 lt_prog_compiler_static='-Bstatic'
8417 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8421 mingw* | cygwin* | pw32* | os2* | cegcc*)
8422 # This hack is so that the source file can tell whether it is being
8423 # built for inclusion in a dll (and should export symbols for example).
8424 lt_prog_compiler_pic='-DDLL_EXPORT'
8427 hpux9* | hpux10* | hpux11*)
8428 lt_prog_compiler_wl='-Wl,'
8429 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8436 lt_prog_compiler_pic='+Z'
8439 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8440 lt_prog_compiler_static='${wl}-a ${wl}archive'
8443 irix5* | irix6* | nonstopux*)
8444 lt_prog_compiler_wl='-Wl,'
8445 # PIC (with -KPIC) is the default.
8446 lt_prog_compiler_static='-non_shared'
8449 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8450 case $cc_basename in
8451 # old Intel for x86_64 which still supported -KPIC.
8453 lt_prog_compiler_wl='-Wl,'
8454 lt_prog_compiler_pic='-KPIC'
8455 lt_prog_compiler_static='-static'
8457 # icc used to be incompatible with GCC.
8458 # ICC 10 doesn't accept -KPIC any more.
8460 lt_prog_compiler_wl='-Wl,'
8461 lt_prog_compiler_pic='-fPIC'
8462 lt_prog_compiler_static='-static'
8464 # Lahey Fortran 8.1.
8466 lt_prog_compiler_wl='-Wl,'
8467 lt_prog_compiler_pic='--shared'
8468 lt_prog_compiler_static='--static'
8471 # NAG Fortran compiler
8472 lt_prog_compiler_wl='-Wl,-Wl,,'
8473 lt_prog_compiler_pic='-PIC'
8474 lt_prog_compiler_static='-Bstatic'
8476 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8477 # Portland Group compilers (*not* the Pentium gcc compiler,
8478 # which looks to be a dead project)
8479 lt_prog_compiler_wl='-Wl,'
8480 lt_prog_compiler_pic='-fpic'
8481 lt_prog_compiler_static='-Bstatic'
8484 lt_prog_compiler_wl='-Wl,'
8485 # All Alpha code is PIC.
8486 lt_prog_compiler_static='-non_shared'
8488 xl* | bgxl* | bgf* | mpixl*)
8489 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8490 lt_prog_compiler_wl='-Wl,'
8491 lt_prog_compiler_pic='-qpic'
8492 lt_prog_compiler_static='-qstaticlink'
8495 case `$CC -V 2>&1 | sed 5q` in
8496 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8497 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8498 lt_prog_compiler_pic='-KPIC'
8499 lt_prog_compiler_static='-Bstatic'
8500 lt_prog_compiler_wl=''
8502 *Sun\ F* | *Sun*Fortran*)
8503 lt_prog_compiler_pic='-KPIC'
8504 lt_prog_compiler_static='-Bstatic'
8505 lt_prog_compiler_wl='-Qoption ld '
8509 lt_prog_compiler_pic='-KPIC'
8510 lt_prog_compiler_static='-Bstatic'
8511 lt_prog_compiler_wl='-Wl,'
8513 *Intel*\ [CF]*Compiler*)
8514 lt_prog_compiler_wl='-Wl,'
8515 lt_prog_compiler_pic='-fPIC'
8516 lt_prog_compiler_static='-static'
8519 lt_prog_compiler_wl='-Wl,'
8520 lt_prog_compiler_pic='-fpic'
8521 lt_prog_compiler_static='-Bstatic'
8529 lt_prog_compiler_pic='-KPIC'
8530 lt_prog_compiler_static='-Bstatic'
8534 # QNX uses GNU C++, but need to define -shared option too, otherwise
8536 lt_prog_compiler_pic='-fPIC -shared'
8539 osf3* | osf4* | osf5*)
8540 lt_prog_compiler_wl='-Wl,'
8541 # All OSF/1 code is PIC.
8542 lt_prog_compiler_static='-non_shared'
8546 lt_prog_compiler_static='-non_shared'
8550 lt_prog_compiler_pic='-KPIC'
8551 lt_prog_compiler_static='-Bstatic'
8552 case $cc_basename in
8553 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8554 lt_prog_compiler_wl='-Qoption ld ';;
8556 lt_prog_compiler_wl='-Wl,';;
8561 lt_prog_compiler_wl='-Qoption ld '
8562 lt_prog_compiler_pic='-PIC'
8563 lt_prog_compiler_static='-Bstatic'
8566 sysv4 | sysv4.2uw2* | sysv4.3*)
8567 lt_prog_compiler_wl='-Wl,'
8568 lt_prog_compiler_pic='-KPIC'
8569 lt_prog_compiler_static='-Bstatic'
8573 if test -d /usr/nec ;then
8574 lt_prog_compiler_pic='-Kconform_pic'
8575 lt_prog_compiler_static='-Bstatic'
8579 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8580 lt_prog_compiler_wl='-Wl,'
8581 lt_prog_compiler_pic='-KPIC'
8582 lt_prog_compiler_static='-Bstatic'
8586 lt_prog_compiler_wl='-Wl,'
8587 lt_prog_compiler_can_build_shared=no
8591 lt_prog_compiler_pic='-pic'
8592 lt_prog_compiler_static='-Bstatic'
8596 lt_prog_compiler_can_build_shared=no
8602 # For platforms which do not support PIC, -DPIC is meaningless:
8604 lt_prog_compiler_pic=
8607 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8613 if ${lt_cv_prog_compiler_pic+:} false; then :
8614 $as_echo_n "(cached) " >&6
8616 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8619 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8620 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8623 # Check to make sure the PIC flag actually works.
8625 if test -n "$lt_prog_compiler_pic"; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8627 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8628 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8629 $as_echo_n "(cached) " >&6
8631 lt_cv_prog_compiler_pic_works=no
8632 ac_outfile=conftest.$ac_objext
8633 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8634 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8635 # Insert the option either (1) after the last *FLAGS variable, or
8636 # (2) before a word containing "conftest.", or (3) at the end.
8637 # Note that $ac_compile itself does not contain backslashes and begins
8638 # with a dollar sign (not a hyphen), so the echo should work correctly.
8639 # The option is referenced via a variable to avoid confusing sed.
8640 lt_compile=`echo "$ac_compile" | $SED \
8641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8643 -e 's:$: $lt_compiler_flag:'`
8644 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8645 (eval "$lt_compile" 2>conftest.err)
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 if (exit $ac_status) && test -s "$ac_outfile"; then
8650 # The compiler can only warn and ignore the option if not recognized
8651 # So say no if there are warnings other than the usual output.
8652 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8654 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8655 lt_cv_prog_compiler_pic_works=yes
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8662 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8664 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8665 case $lt_prog_compiler_pic in
8667 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8670 lt_prog_compiler_pic=
8671 lt_prog_compiler_can_build_shared=no
8687 # Check to make sure the static flag actually works.
8689 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8691 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8692 if ${lt_cv_prog_compiler_static_works+:} false; then :
8693 $as_echo_n "(cached) " >&6
8695 lt_cv_prog_compiler_static_works=no
8696 save_LDFLAGS="$LDFLAGS"
8697 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8698 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8699 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8700 # The linker can only warn and ignore the option if not recognized
8701 # So say no if there are warnings
8702 if test -s conftest.err; then
8703 # Append any errors to the config.log.
8704 cat conftest.err 1>&5
8705 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8706 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8707 if diff conftest.exp conftest.er2 >/dev/null; then
8708 lt_cv_prog_compiler_static_works=yes
8711 lt_cv_prog_compiler_static_works=yes
8715 LDFLAGS="$save_LDFLAGS"
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8719 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8721 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8724 lt_prog_compiler_static=
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8734 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8735 if ${lt_cv_prog_compiler_c_o+:} false; then :
8736 $as_echo_n "(cached) " >&6
8738 lt_cv_prog_compiler_c_o=no
8739 $RM -r conftest 2>/dev/null
8743 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8745 lt_compiler_flag="-o out/conftest2.$ac_objext"
8746 # Insert the option either (1) after the last *FLAGS variable, or
8747 # (2) before a word containing "conftest.", or (3) at the end.
8748 # Note that $ac_compile itself does not contain backslashes and begins
8749 # with a dollar sign (not a hyphen), so the echo should work correctly.
8750 lt_compile=`echo "$ac_compile" | $SED \
8751 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8753 -e 's:$: $lt_compiler_flag:'`
8754 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8755 (eval "$lt_compile" 2>out/conftest.err)
8757 cat out/conftest.err >&5
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8761 # The compiler can only warn and ignore the option if not recognized
8762 # So say no if there are warnings
8763 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8764 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8765 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8766 lt_cv_prog_compiler_c_o=yes
8771 # SGI C++ compiler will create directory out/ii_files/ for
8772 # template instantiation
8773 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8774 $RM out/* && rmdir out
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8781 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8789 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8790 if ${lt_cv_prog_compiler_c_o+:} false; then :
8791 $as_echo_n "(cached) " >&6
8793 lt_cv_prog_compiler_c_o=no
8794 $RM -r conftest 2>/dev/null
8798 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8800 lt_compiler_flag="-o out/conftest2.$ac_objext"
8801 # Insert the option either (1) after the last *FLAGS variable, or
8802 # (2) before a word containing "conftest.", or (3) at the end.
8803 # Note that $ac_compile itself does not contain backslashes and begins
8804 # with a dollar sign (not a hyphen), so the echo should work correctly.
8805 lt_compile=`echo "$ac_compile" | $SED \
8806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8808 -e 's:$: $lt_compiler_flag:'`
8809 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8810 (eval "$lt_compile" 2>out/conftest.err)
8812 cat out/conftest.err >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8816 # The compiler can only warn and ignore the option if not recognized
8817 # So say no if there are warnings
8818 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8819 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8820 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8821 lt_cv_prog_compiler_c_o=yes
8826 # SGI C++ compiler will create directory out/ii_files/ for
8827 # template instantiation
8828 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8829 $RM out/* && rmdir out
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8836 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8841 hard_links="nottested"
8842 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8843 # do not overwrite the value of need_locks provided by the user
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8845 $as_echo_n "checking if we can lock with hard links... " >&6; }
8848 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8850 ln conftest.a conftest.b 2>&5 || hard_links=no
8851 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8853 $as_echo "$hard_links" >&6; }
8854 if test "$hard_links" = no; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8856 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8869 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8872 allow_undefined_flag=
8873 always_export_symbols=no
8875 archive_expsym_cmds=
8876 compiler_needs_object=no
8877 enable_shared_with_static_runtimes=no
8878 export_dynamic_flag_spec=
8879 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8880 hardcode_automatic=no
8882 hardcode_direct_absolute=no
8883 hardcode_libdir_flag_spec=
8884 hardcode_libdir_separator=
8886 hardcode_shlibpath_var=unsupported
8888 link_all_deplibs=unknown
8891 old_archive_from_new_cmds=
8892 old_archive_from_expsyms_cmds=
8893 thread_safe_flag_spec=
8894 whole_archive_flag_spec=
8895 # include_expsyms should be a list of space-separated symbols to be *always*
8896 # included in the symbol list
8898 # exclude_expsyms can be an extended regexp of symbols to exclude
8899 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8900 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8901 # as well as any symbol that contains `d'.
8902 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8903 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8904 # platforms (ab)use it in PIC code, but their linkers get confused if
8905 # the symbol is explicitly referenced. Since portable code cannot
8906 # rely on this symbol name, it's probably fine to never include it in
8907 # preloaded symbol tables.
8908 # Exclude shared library initialization/finalization symbols.
8909 extract_expsyms_cmds=
8912 cygwin* | mingw* | pw32* | cegcc*)
8913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8914 # When not using gcc, we currently assume that we are using
8915 # Microsoft Visual C++.
8916 if test "$GCC" != yes; then
8921 # we just hope/assume this is gcc and not c89 (= MSVC++)
8927 linux* | k*bsd*-gnu | gnu*)
8934 # On some targets, GNU ld is compatible enough with the native linker
8935 # that we're better off using the native interface for both.
8936 lt_use_gnu_ld_interface=no
8937 if test "$with_gnu_ld" = yes; then
8940 # The AIX port of GNU ld has always aspired to compatibility
8941 # with the native linker. However, as the warning in the GNU ld
8942 # block says, versions before 2.19.5* couldn't really create working
8943 # shared libraries, regardless of the interface used.
8944 case `$LD -v 2>&1` in
8945 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8946 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8947 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8949 lt_use_gnu_ld_interface=yes
8954 lt_use_gnu_ld_interface=yes
8959 if test "$lt_use_gnu_ld_interface" = yes; then
8960 # If archive_cmds runs LD, not CC, wlarc should be empty
8963 # Set some defaults for GNU ld with shared library support. These
8964 # are reset later if shared libraries are not supported. Putting them
8965 # here allows them to be overridden if necessary.
8966 runpath_var=LD_RUN_PATH
8967 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8968 export_dynamic_flag_spec='${wl}--export-dynamic'
8969 # ancient GNU ld didn't support --whole-archive et. al.
8970 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8971 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8973 whole_archive_flag_spec=
8975 supports_anon_versioning=no
8976 case `$LD -v 2>&1` in
8977 *GNU\ gold*) supports_anon_versioning=yes ;;
8978 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8979 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8980 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8981 *\ 2.11.*) ;; # other 2.11 versions
8982 *) supports_anon_versioning=yes ;;
8985 # See if GNU ld supports shared libraries.
8988 # On AIX/PPC, the GNU linker is very broken
8989 if test "$host_cpu" != ia64; then
8993 *** Warning: the GNU linker, at least up to release 2.19, is reported
8994 *** to be unable to reliably create shared libraries on AIX.
8995 *** Therefore, libtool is disabling shared libraries support. If you
8996 *** really care for shared libraries, you may want to install binutils
8997 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8998 *** You will then need to restart the configuration process.
9007 # see comment about AmigaOS4 .so support
9008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009 archive_expsym_cmds=''
9012 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)'
9013 hardcode_libdir_flag_spec='-L$libdir'
9014 hardcode_minus_L=yes
9020 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9021 allow_undefined_flag=unsupported
9022 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9023 # support --undefined. This deserves some investigation. FIXME
9024 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9030 cygwin* | mingw* | pw32* | cegcc*)
9031 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9032 # as there is no search path for DLLs.
9033 hardcode_libdir_flag_spec='-L$libdir'
9034 export_dynamic_flag_spec='${wl}--export-all-symbols'
9035 allow_undefined_flag=unsupported
9036 always_export_symbols=no
9037 enable_shared_with_static_runtimes=yes
9038 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'
9039 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9041 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9042 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9043 # If the export-symbols file already is a .def file (1st line
9044 # is EXPORTS), use it as is; otherwise, prepend...
9045 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9046 cp $export_symbols $output_objdir/$soname.def;
9048 echo EXPORTS > $output_objdir/$soname.def;
9049 cat $export_symbols >> $output_objdir/$soname.def;
9051 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9058 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9059 link_all_deplibs=yes
9064 hardcode_shlibpath_var=no
9065 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9066 export_dynamic_flag_spec='${wl}-E'
9067 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9068 # Instead, shared libraries are loaded at an image base (0x10000000 by
9069 # default) and relocated if they conflict, which is a slow very memory
9070 # consuming and fragmenting process. To avoid this, we pick a random,
9071 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9072 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9073 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9074 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'
9077 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9079 if test "$host_os" = linux-dietlibc; then
9080 case $cc_basename in
9081 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9084 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9085 && test "$tmp_diet" = no
9087 tmp_addflag=' $pic_flag'
9088 tmp_sharedflag='-shared'
9089 case $cc_basename,$host_cpu in
9090 pgcc*) # Portland Group C compiler
9091 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'
9092 tmp_addflag=' $pic_flag'
9094 pgf77* | pgf90* | pgf95* | pgfortran*)
9095 # Portland Group f77 and f90 compilers
9096 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'
9097 tmp_addflag=' $pic_flag -Mnomain' ;;
9098 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9099 tmp_addflag=' -i_dynamic' ;;
9100 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9101 tmp_addflag=' -i_dynamic -nofor_main' ;;
9102 ifc* | ifort*) # Intel Fortran compiler
9103 tmp_addflag=' -nofor_main' ;;
9104 lf95*) # Lahey Fortran 8.1
9105 whole_archive_flag_spec=
9106 tmp_sharedflag='--shared' ;;
9107 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9108 tmp_sharedflag='-qmkshrobj'
9110 nvcc*) # Cuda Compiler Driver 2.2
9111 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'
9112 compiler_needs_object=yes
9115 case `$CC -V 2>&1 | sed 5q` in
9116 *Sun\ C*) # Sun C 5.9
9117 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'
9118 compiler_needs_object=yes
9119 tmp_sharedflag='-G' ;;
9120 *Sun\ F*) # Sun Fortran 8.3
9121 tmp_sharedflag='-G' ;;
9123 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9125 if test "x$supports_anon_versioning" = xyes; then
9126 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9127 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9128 echo "local: *; };" >> $output_objdir/$libname.ver~
9129 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9132 case $cc_basename in
9133 xlf* | bgf* | bgxlf* | mpixlf*)
9134 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9135 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9136 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9137 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9138 if test "x$supports_anon_versioning" = xyes; then
9139 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9140 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9141 echo "local: *; };" >> $output_objdir/$libname.ver~
9142 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9151 netbsd* | netbsdelf*-gnu)
9152 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9153 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9156 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9157 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9162 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9166 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9167 *** create shared libraries on Solaris systems. Therefore, libtool
9168 *** is disabling shared libraries support. We urge you to upgrade GNU
9169 *** binutils to release 2.9.1 or newer. Another option is to modify
9170 *** your PATH or compiler configuration so that the native linker is
9171 *** used, and then restart.
9174 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9175 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9176 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9182 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9183 case `$LD -v 2>&1` in
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9188 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9189 *** reliably create shared libraries on SCO systems. Therefore, libtool
9190 *** is disabling shared libraries support. We urge you to upgrade GNU
9191 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9192 *** your PATH or compiler configuration so that the native linker is
9193 *** used, and then restart.
9198 # For security reasons, it is highly recommended that you always
9199 # use absolute paths for naming shared libraries, and exclude the
9200 # DT_RUNPATH tag from executables and libraries. But doing so
9201 # requires that you compile everything twice, which is a pain.
9202 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9203 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9204 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9214 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9217 hardcode_shlibpath_var=no
9221 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9222 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9230 if test "$ld_shlibs" = no; then
9232 hardcode_libdir_flag_spec=
9233 export_dynamic_flag_spec=
9234 whole_archive_flag_spec=
9237 # PORTME fill in a description of your system's linker (not GNU ld)
9240 allow_undefined_flag=unsupported
9241 always_export_symbols=yes
9242 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'
9243 # Note: this linker hardcodes the directories in LIBPATH if there
9244 # are no directories specified by -L.
9245 hardcode_minus_L=yes
9246 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9247 # Neither direct hardcoding nor static linking is supported with a
9249 hardcode_direct=unsupported
9254 if test "$host_cpu" = ia64; then
9255 # On IA64, the linker does run time linking by default, so we don't
9256 # have to do anything special.
9257 aix_use_runtimelinking=no
9258 exp_sym_flag='-Bexport'
9261 # If we're using GNU nm, then we don't want the "-C" option.
9262 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9263 # Also, AIX nm treats weak defined symbols like other global
9264 # defined symbols, whereas GNU nm marks them as "W".
9265 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9266 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'
9268 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'
9270 aix_use_runtimelinking=no
9272 # Test if we are trying to use run time linking or normal
9273 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9274 # need to do runtime linking.
9275 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9276 for ld_flag in $LDFLAGS; do
9277 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9278 aix_use_runtimelinking=yes
9285 exp_sym_flag='-bexport'
9286 no_entry_flag='-bnoentry'
9289 # When large executables or shared objects are built, AIX ld can
9290 # have problems creating the table of contents. If linking a library
9291 # or program results in "error TOC overflow" add -mminimal-toc to
9292 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9293 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9297 hardcode_direct_absolute=yes
9298 hardcode_libdir_separator=':'
9299 link_all_deplibs=yes
9300 file_list_spec='${wl}-f,'
9302 if test "$GCC" = yes; then
9303 case $host_os in aix4.[012]|aix4.[012].*)
9304 # We only want to do this on AIX 4.2 and lower, the check
9305 # below for broken collect2 doesn't work under 4.3+
9306 collect2name=`${CC} -print-prog-name=collect2`
9307 if test -f "$collect2name" &&
9308 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9310 # We have reworked collect2
9313 # We have old collect2
9314 hardcode_direct=unsupported
9315 # It fails to find uninstalled libraries when the uninstalled
9316 # path is not listed in the libpath. Setting hardcode_minus_L
9317 # to unsupported forces relinking
9318 hardcode_minus_L=yes
9319 hardcode_libdir_flag_spec='-L$libdir'
9320 hardcode_libdir_separator=
9324 shared_flag='-shared'
9325 if test "$aix_use_runtimelinking" = yes; then
9326 shared_flag="$shared_flag "'${wl}-G'
9331 if test "$host_cpu" = ia64; then
9332 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9333 # chokes on -Wl,-G. The following line is correct:
9336 if test "$aix_use_runtimelinking" = yes; then
9337 shared_flag='${wl}-G'
9339 shared_flag='${wl}-bM:SRE'
9344 export_dynamic_flag_spec='${wl}-bexpall'
9345 # It seems that -bexpall does not export symbols beginning with
9346 # underscore (_), so it is better to generate a list of symbols to export.
9347 always_export_symbols=yes
9348 if test "$aix_use_runtimelinking" = yes; then
9349 # Warning - without using the other runtime loading flags (-brtl),
9350 # -berok will link without error, but may produce a broken library.
9351 allow_undefined_flag='-berok'
9352 # Determine the default libpath from the value encoded in an
9354 if test "${lt_cv_aix_libpath+set}" = set; then
9355 aix_libpath=$lt_cv_aix_libpath
9357 if ${lt_cv_aix_libpath_+:} false; then :
9358 $as_echo_n "(cached) " >&6
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9371 if ac_fn_c_try_link "$LINENO"; then :
9373 lt_aix_libpath_sed='
9374 /Import File Strings/,/^$/ {
9376 s/^0 *\([^ ]*\) *$/\1/
9380 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381 # Check for a 64-bit object if we didn't find anything.
9382 if test -z "$lt_cv_aix_libpath_"; then
9383 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9386 rm -f core conftest.err conftest.$ac_objext \
9387 conftest$ac_exeext conftest.$ac_ext
9388 if test -z "$lt_cv_aix_libpath_"; then
9389 lt_cv_aix_libpath_="/usr/lib:/lib"
9394 aix_libpath=$lt_cv_aix_libpath_
9397 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9398 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"
9400 if test "$host_cpu" = ia64; then
9401 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9402 allow_undefined_flag="-z nodefs"
9403 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"
9405 # Determine the default libpath from the value encoded in an
9407 if test "${lt_cv_aix_libpath+set}" = set; then
9408 aix_libpath=$lt_cv_aix_libpath
9410 if ${lt_cv_aix_libpath_+:} false; then :
9411 $as_echo_n "(cached) " >&6
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9424 if ac_fn_c_try_link "$LINENO"; then :
9426 lt_aix_libpath_sed='
9427 /Import File Strings/,/^$/ {
9429 s/^0 *\([^ ]*\) *$/\1/
9433 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9434 # Check for a 64-bit object if we didn't find anything.
9435 if test -z "$lt_cv_aix_libpath_"; then
9436 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 if test -z "$lt_cv_aix_libpath_"; then
9442 lt_cv_aix_libpath_="/usr/lib:/lib"
9447 aix_libpath=$lt_cv_aix_libpath_
9450 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9451 # Warning - without using the other run time loading flags,
9452 # -berok will link without error, but may produce a broken library.
9453 no_undefined_flag=' ${wl}-bernotok'
9454 allow_undefined_flag=' ${wl}-berok'
9455 if test "$with_gnu_ld" = yes; then
9456 # We only use this code for GNU lds that support --whole-archive.
9457 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9459 # Exported symbols can be pulled into shared objects from archives
9460 whole_archive_flag_spec='$convenience'
9462 archive_cmds_need_lc=yes
9463 # This is similar to how AIX traditionally builds its shared libraries.
9464 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'
9472 # see comment about AmigaOS4 .so support
9473 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9474 archive_expsym_cmds=''
9477 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)'
9478 hardcode_libdir_flag_spec='-L$libdir'
9479 hardcode_minus_L=yes
9485 export_dynamic_flag_spec=-rdynamic
9488 cygwin* | mingw* | pw32* | cegcc*)
9489 # When not using gcc, we currently assume that we are using
9490 # Microsoft Visual C++.
9491 # hardcode_libdir_flag_spec is actually meaningless, as there is
9492 # no search path for DLLs.
9493 case $cc_basename in
9496 hardcode_libdir_flag_spec=' '
9497 allow_undefined_flag=unsupported
9498 always_export_symbols=yes
9500 # Tell ltmain to make .lib files, not .a files.
9502 # Tell ltmain to make .dll files, not .so files.
9504 # FIXME: Setting linknames here is a bad hack.
9505 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9506 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9507 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9509 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9511 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9513 # The linker will not automatically build a static lib if we build a DLL.
9514 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9515 enable_shared_with_static_runtimes=yes
9516 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9517 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9519 old_postinstall_cmds='chmod 644 $oldlib'
9520 postlink_cmds='lt_outputfile="@OUTPUT@"~
9521 lt_tool_outputfile="@TOOL_OUTPUT@"~
9522 case $lt_outputfile in
9525 lt_outputfile="$lt_outputfile.exe"
9526 lt_tool_outputfile="$lt_tool_outputfile.exe"
9529 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9530 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9531 $RM "$lt_outputfile.manifest";
9535 # Assume MSVC wrapper
9536 hardcode_libdir_flag_spec=' '
9537 allow_undefined_flag=unsupported
9538 # Tell ltmain to make .lib files, not .a files.
9540 # Tell ltmain to make .dll files, not .so files.
9542 # FIXME: Setting linknames here is a bad hack.
9543 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9544 # The linker will automatically build a .lib file if we build a DLL.
9545 old_archive_from_new_cmds='true'
9546 # FIXME: Should let the user specify the lib program.
9547 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9548 enable_shared_with_static_runtimes=yes
9553 darwin* | rhapsody*)
9556 archive_cmds_need_lc=no
9558 hardcode_automatic=yes
9559 hardcode_shlibpath_var=unsupported
9560 if test "$lt_cv_ld_force_load" = "yes"; then
9561 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\"`'
9564 whole_archive_flag_spec=''
9566 link_all_deplibs=yes
9567 allow_undefined_flag="$_lt_dar_allow_undefined"
9568 case $cc_basename in
9569 ifort*) _lt_dar_can_shared=yes ;;
9570 *) _lt_dar_can_shared=$GCC ;;
9572 if test "$_lt_dar_can_shared" = "yes"; then
9573 output_verbose_link_cmd=func_echo_all
9574 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9575 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9576 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}"
9577 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}"
9586 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9587 hardcode_libdir_flag_spec='-L$libdir'
9588 hardcode_shlibpath_var=no
9591 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9592 # support. Future versions do this automatically, but an explicit c++rt0.o
9593 # does not break anything, and helps significantly (at the cost of a little
9596 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9597 hardcode_libdir_flag_spec='-R$libdir'
9599 hardcode_shlibpath_var=no
9602 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9604 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9606 hardcode_minus_L=yes
9607 hardcode_shlibpath_var=no
9610 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9611 freebsd* | dragonfly*)
9612 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9613 hardcode_libdir_flag_spec='-R$libdir'
9615 hardcode_shlibpath_var=no
9619 if test "$GCC" = yes; then
9620 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'
9622 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'
9624 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9625 hardcode_libdir_separator=:
9628 # hardcode_minus_L: Not really in the search PATH,
9629 # but as the default location of the library.
9630 hardcode_minus_L=yes
9631 export_dynamic_flag_spec='${wl}-E'
9635 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9636 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9640 if test "$with_gnu_ld" = no; then
9641 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9642 hardcode_libdir_separator=:
9644 hardcode_direct_absolute=yes
9645 export_dynamic_flag_spec='${wl}-E'
9646 # hardcode_minus_L: Not really in the search PATH,
9647 # but as the default location of the library.
9648 hardcode_minus_L=yes
9653 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9656 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9662 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9671 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9675 # Older versions of the 11.00 compiler do not understand -b yet
9676 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9678 $as_echo_n "checking if $CC understands -b... " >&6; }
9679 if ${lt_cv_prog_compiler__b+:} false; then :
9680 $as_echo_n "(cached) " >&6
9682 lt_cv_prog_compiler__b=no
9683 save_LDFLAGS="$LDFLAGS"
9684 LDFLAGS="$LDFLAGS -b"
9685 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9686 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9687 # The linker can only warn and ignore the option if not recognized
9688 # So say no if there are warnings
9689 if test -s conftest.err; then
9690 # Append any errors to the config.log.
9691 cat conftest.err 1>&5
9692 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9693 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9694 if diff conftest.exp conftest.er2 >/dev/null; then
9695 lt_cv_prog_compiler__b=yes
9698 lt_cv_prog_compiler__b=yes
9702 LDFLAGS="$save_LDFLAGS"
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9706 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9708 if test x"$lt_cv_prog_compiler__b" = xyes; then
9709 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9711 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9717 if test "$with_gnu_ld" = no; then
9718 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9719 hardcode_libdir_separator=:
9724 hardcode_shlibpath_var=no
9728 hardcode_direct_absolute=yes
9729 export_dynamic_flag_spec='${wl}-E'
9731 # hardcode_minus_L: Not really in the search PATH,
9732 # but as the default location of the library.
9733 hardcode_minus_L=yes
9739 irix5* | irix6* | nonstopux*)
9740 if test "$GCC" = yes; then
9741 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'
9742 # Try to use the -exported_symbol ld option, if it does not
9743 # work, assume that -exports_file does not work either and
9744 # implicitly export all symbols.
9745 # This should be the same for all languages, so no per-tag cache variable.
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9747 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9748 if ${lt_cv_irix_exported_symbol+:} false; then :
9749 $as_echo_n "(cached) " >&6
9751 save_LDFLAGS="$LDFLAGS"
9752 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9754 /* end confdefs.h. */
9755 int foo (void) { return 0; }
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 lt_cv_irix_exported_symbol=yes
9760 lt_cv_irix_exported_symbol=no
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9764 LDFLAGS="$save_LDFLAGS"
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9767 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9768 if test "$lt_cv_irix_exported_symbol" = yes; then
9769 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'
9772 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'
9773 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'
9775 archive_cmds_need_lc='no'
9776 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9777 hardcode_libdir_separator=:
9779 link_all_deplibs=yes
9782 netbsd* | netbsdelf*-gnu)
9783 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9784 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9786 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9788 hardcode_libdir_flag_spec='-R$libdir'
9790 hardcode_shlibpath_var=no
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9796 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9797 hardcode_libdir_separator=:
9798 hardcode_shlibpath_var=no
9805 if test -f /usr/libexec/ld.so; then
9807 hardcode_shlibpath_var=no
9808 hardcode_direct_absolute=yes
9809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9810 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9811 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9812 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9813 export_dynamic_flag_spec='${wl}-E'
9816 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9818 hardcode_libdir_flag_spec='-R$libdir'
9821 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9822 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9832 hardcode_libdir_flag_spec='-L$libdir'
9833 hardcode_minus_L=yes
9834 allow_undefined_flag=unsupported
9835 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'
9836 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9840 if test "$GCC" = yes; then
9841 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9842 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'
9844 allow_undefined_flag=' -expect_unresolved \*'
9845 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'
9847 archive_cmds_need_lc='no'
9848 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9849 hardcode_libdir_separator=:
9852 osf4* | osf5*) # as osf3* with the addition of -msym flag
9853 if test "$GCC" = yes; then
9854 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9855 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'
9856 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9858 allow_undefined_flag=' -expect_unresolved \*'
9859 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'
9860 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~
9861 $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'
9863 # Both c and cxx compiler support -rpath directly
9864 hardcode_libdir_flag_spec='-rpath $libdir'
9866 archive_cmds_need_lc='no'
9867 hardcode_libdir_separator=:
9871 no_undefined_flag=' -z defs'
9872 if test "$GCC" = yes; then
9874 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9875 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9876 $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'
9878 case `$CC -V 2>&1` in
9881 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9882 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9883 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9887 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9888 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9889 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9893 hardcode_libdir_flag_spec='-R$libdir'
9894 hardcode_shlibpath_var=no
9896 solaris2.[0-5] | solaris2.[0-5].*) ;;
9898 # The compiler driver will combine and reorder linker options,
9899 # but understands `-z linker_flag'. GCC discards it without `$wl',
9900 # but is careful enough not to reorder.
9901 # Supported since Solaris 2.6 (maybe 2.5.1?)
9902 if test "$GCC" = yes; then
9903 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9905 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9909 link_all_deplibs=yes
9913 if test "x$host_vendor" = xsequent; then
9914 # Use $CC to link under sequent, because it throws in some extra .o
9915 # files that make .init and .fini sections work.
9916 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_libdir_flag_spec='-L$libdir'
9922 hardcode_minus_L=yes
9923 hardcode_shlibpath_var=no
9927 case $host_vendor in
9929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930 hardcode_direct=yes # is this really true???
9933 ## LD is ld it makes a PLAMLIB
9934 ## CC just makes a GrossModule.
9935 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9936 reload_cmds='$CC -r -o $output$reload_objs'
9940 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9941 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9944 runpath_var='LD_RUN_PATH'
9945 hardcode_shlibpath_var=no
9949 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9950 hardcode_shlibpath_var=no
9951 export_dynamic_flag_spec='-Bexport'
9955 if test -d /usr/nec; then
9956 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9957 hardcode_shlibpath_var=no
9958 runpath_var=LD_RUN_PATH
9959 hardcode_runpath_var=yes
9964 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9965 no_undefined_flag='${wl}-z,text'
9966 archive_cmds_need_lc=no
9967 hardcode_shlibpath_var=no
9968 runpath_var='LD_RUN_PATH'
9970 if test "$GCC" = yes; then
9971 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9972 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9979 sysv5* | sco3.2v5* | sco5v6*)
9980 # Note: We can NOT use -z defs as we might desire, because we do not
9981 # link with -lc, and that would cause any symbols used from libc to
9982 # always be unresolved, which means just about no library would
9983 # ever link correctly. If we're not using GNU ld we use -z text
9984 # though, which does catch some bad symbols but isn't as heavy-handed
9986 no_undefined_flag='${wl}-z,text'
9987 allow_undefined_flag='${wl}-z,nodefs'
9988 archive_cmds_need_lc=no
9989 hardcode_shlibpath_var=no
9990 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9991 hardcode_libdir_separator=':'
9992 link_all_deplibs=yes
9993 export_dynamic_flag_spec='${wl}-Bexport'
9994 runpath_var='LD_RUN_PATH'
9996 if test "$GCC" = yes; then
9997 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9998 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10001 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_libdir_flag_spec='-L$libdir'
10008 hardcode_shlibpath_var=no
10016 if test x$host_vendor = xsni; then
10018 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10019 export_dynamic_flag_spec='${wl}-Blargedynsym'
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10026 $as_echo "$ld_shlibs" >&6; }
10027 test "$ld_shlibs" = no && can_build_shared=no
10029 with_gnu_ld=$with_gnu_ld
10046 # Do we need to explicitly link libc?
10048 case "x$archive_cmds_need_lc" in
10050 # Assume -lc should be added
10051 archive_cmds_need_lc=yes
10053 if test "$enable_shared" = yes && test "$GCC" = yes; then
10054 case $archive_cmds in
10056 # FIXME: we may have to deal with multi-command sequences.
10059 # Test whether the compiler implicitly links with -lc since on some
10060 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10061 # to ld, don't add -lc before -lgcc.
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10063 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10064 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10065 $as_echo_n "(cached) " >&6
10068 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10071 (eval $ac_compile) 2>&5
10073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10074 test $ac_status = 0; } 2>conftest.err; then
10077 libobjs=conftest.$ac_objext
10079 wl=$lt_prog_compiler_wl
10080 pic_flag=$lt_prog_compiler_pic
10086 lt_save_allow_undefined_flag=$allow_undefined_flag
10087 allow_undefined_flag=
10088 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10089 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10092 test $ac_status = 0; }
10094 lt_cv_archive_cmds_need_lc=no
10096 lt_cv_archive_cmds_need_lc=yes
10098 allow_undefined_flag=$lt_save_allow_undefined_flag
10100 cat conftest.err 1>&5
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10106 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10107 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10266 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10268 if test "$GCC" = yes; then
10270 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10271 *) lt_awk_arg="/^libraries:/" ;;
10274 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10275 *) lt_sed_strip_eq="s,=/,/,g" ;;
10277 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10278 case $lt_search_path_spec in
10280 # if the path contains ";" then we assume it to be the separator
10281 # otherwise default to the standard path separator (i.e. ":") - it is
10282 # assumed that no part of a normal pathname contains ";" but that should
10283 # okay in the real world where ";" in dirpaths is itself problematic.
10284 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10287 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10290 # Ok, now we have the path, separated by spaces, we can step through it
10291 # and add multilib dir if necessary.
10292 lt_tmp_lt_search_path_spec=
10293 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10294 for lt_sys_path in $lt_search_path_spec; do
10295 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10296 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10298 test -d "$lt_sys_path" && \
10299 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10302 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10303 BEGIN {RS=" "; FS="/|\n";} {
10306 for (lt_i = NF; lt_i > 0; lt_i--) {
10307 if ($lt_i != "" && $lt_i != ".") {
10308 if ($lt_i == "..") {
10311 if (lt_count == 0) {
10312 lt_foo="/" $lt_i lt_foo;
10319 if (lt_foo != "") { lt_freq[lt_foo]++; }
10320 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10322 # AWK program above erroneously prepends '/' to C:/dos/paths
10325 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10326 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10328 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10330 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10332 library_names_spec=
10333 libname_spec='lib$name'
10337 postuninstall_cmds=
10341 shlibpath_overrides_runpath=unknown
10343 dynamic_linker="$host_os ld.so"
10344 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10345 need_lib_prefix=unknown
10346 hardcode_into_libs=no
10348 # when you set need_version to no, make sure it does not cause -set_version
10349 # flags to be left without arguments
10350 need_version=unknown
10354 version_type=linux # correct to gnu/linux during the next big refactor
10355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10356 shlibpath_var=LIBPATH
10358 # AIX 3 has no versioning support, so we append a major version to the name.
10359 soname_spec='${libname}${release}${shared_ext}$major'
10363 version_type=linux # correct to gnu/linux during the next big refactor
10366 hardcode_into_libs=yes
10367 if test "$host_cpu" = ia64; then
10368 # AIX 5 supports IA64
10369 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10370 shlibpath_var=LD_LIBRARY_PATH
10372 # With GCC up to 2.95.x, collect2 would create an import file
10373 # for dependence libraries. The import file would start with
10374 # the line `#! .'. This would cause the generated library to
10375 # depend on `.', always an invalid library. This was fixed in
10376 # development snapshots of GCC prior to 3.0.
10378 aix4 | aix4.[01] | aix4.[01].*)
10379 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10381 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10384 can_build_shared=no
10388 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10389 # soname into executable. Probably we can add versioning support to
10390 # collect2, so additional links can be useful in future.
10391 if test "$aix_use_runtimelinking" = yes; then
10392 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10393 # instead of lib<name>.a to let people know that these are not
10394 # typical AIX shared libraries.
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397 # We preserve .a as extension for shared libraries through AIX4.2
10398 # and later when we are not doing run time linking.
10399 library_names_spec='${libname}${release}.a $libname.a'
10400 soname_spec='${libname}${release}${shared_ext}$major'
10402 shlibpath_var=LIBPATH
10409 # Since July 2007 AmigaOS4 officially supports .so libraries.
10410 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414 library_names_spec='$libname.ixlibrary $libname.a'
10415 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10416 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'
10422 library_names_spec='${libname}${shared_ext}'
10423 dynamic_linker="$host_os ld.so"
10424 shlibpath_var=LIBRARY_PATH
10428 version_type=linux # correct to gnu/linux during the next big refactor
10430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10431 soname_spec='${libname}${release}${shared_ext}$major'
10432 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10433 shlibpath_var=LD_LIBRARY_PATH
10434 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10435 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10436 # the default ld.so.conf also contains /usr/contrib/lib and
10437 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10438 # libtool to hard-code these into programs
10441 cygwin* | mingw* | pw32* | cegcc*)
10442 version_type=windows
10447 case $GCC,$cc_basename in
10450 library_names_spec='$libname.dll.a'
10451 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10452 postinstall_cmds='base_file=`basename \${file}`~
10453 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10454 dldir=$destdir/`dirname \$dlpath`~
10455 test -d \$dldir || mkdir -p \$dldir~
10456 $install_prog $dir/$dlname \$dldir/$dlname~
10457 chmod a+x \$dldir/$dlname~
10458 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10459 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10461 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10462 dlpath=$dir/\$dldll~
10464 shlibpath_overrides_runpath=yes
10468 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10469 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10471 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10474 # MinGW DLLs use traditional 'lib' prefix
10475 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10478 # pw32 DLLs use 'pw' prefix rather than 'lib'
10479 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10482 dynamic_linker='Win32 ld.exe'
10487 libname_spec='$name'
10488 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10489 library_names_spec='${libname}.dll.lib'
10493 sys_lib_search_path_spec=
10496 for lt_path in $LIB
10499 # Let DOS variable expansion print the short 8.3 style file name.
10500 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10501 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10504 # Convert to MSYS style.
10505 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10508 # Convert to unix form, then to dos form, then back to unix form
10509 # but this time dos style (no spaces!) so that the unix form looks
10510 # like /cygdrive/c/PROGRA~1:/cygdr...
10511 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10512 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10513 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10516 sys_lib_search_path_spec="$LIB"
10517 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10518 # It is most probably a Windows format PATH.
10519 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10521 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10523 # FIXME: find the short name or the path components, as spaces are
10524 # common. (e.g. "Program Files" -> "PROGRA~1")
10528 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10529 postinstall_cmds='base_file=`basename \${file}`~
10530 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10531 dldir=$destdir/`dirname \$dlpath`~
10532 test -d \$dldir || mkdir -p \$dldir~
10533 $install_prog $dir/$dlname \$dldir/$dlname'
10534 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10535 dlpath=$dir/\$dldll~
10537 shlibpath_overrides_runpath=yes
10538 dynamic_linker='Win32 link.exe'
10542 # Assume MSVC wrapper
10543 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10544 dynamic_linker='Win32 ld.exe'
10547 # FIXME: first we should search . and the directory the executable is in
10551 darwin* | rhapsody*)
10552 dynamic_linker="$host_os dyld"
10553 version_type=darwin
10556 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10557 soname_spec='${libname}${release}${major}$shared_ext'
10558 shlibpath_overrides_runpath=yes
10559 shlibpath_var=DYLD_LIBRARY_PATH
10560 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10562 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10563 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10567 version_type=linux # correct to gnu/linux during the next big refactor
10570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10571 soname_spec='${libname}${release}${shared_ext}$major'
10572 shlibpath_var=LD_LIBRARY_PATH
10575 freebsd* | dragonfly*)
10576 # DragonFly does not have aout. When/if they implement a new
10577 # versioning mechanism, adjust this.
10578 if test -x /usr/bin/objformat; then
10579 objformat=`/usr/bin/objformat`
10582 freebsd[23].*) objformat=aout ;;
10583 *) objformat=elf ;;
10586 version_type=freebsd-$objformat
10587 case $version_type in
10589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10598 shlibpath_var=LD_LIBRARY_PATH
10601 shlibpath_overrides_runpath=yes
10603 freebsd3.[01]* | freebsdelf3.[01]*)
10604 shlibpath_overrides_runpath=yes
10605 hardcode_into_libs=yes
10607 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10608 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10609 shlibpath_overrides_runpath=no
10610 hardcode_into_libs=yes
10612 *) # from 4.6 on, and DragonFly
10613 shlibpath_overrides_runpath=yes
10614 hardcode_into_libs=yes
10620 version_type=linux # correct to gnu/linux during the next big refactor
10623 dynamic_linker="$host_os runtime_loader"
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 shlibpath_var=LIBRARY_PATH
10627 shlibpath_overrides_runpath=yes
10628 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10629 hardcode_into_libs=yes
10632 hpux9* | hpux10* | hpux11*)
10633 # Give a soname corresponding to the major version so that dld.sl refuses to
10634 # link against other versions.
10641 hardcode_into_libs=yes
10642 dynamic_linker="$host_os dld.so"
10643 shlibpath_var=LD_LIBRARY_PATH
10644 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10646 soname_spec='${libname}${release}${shared_ext}$major'
10647 if test "X$HPUX_IA64_MODE" = X32; then
10648 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10650 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10652 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10656 hardcode_into_libs=yes
10657 dynamic_linker="$host_os dld.sl"
10658 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10659 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10663 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10667 dynamic_linker="$host_os dld.sl"
10668 shlibpath_var=SHLIB_PATH
10669 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10674 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10675 postinstall_cmds='chmod 555 $lib'
10676 # or fails outright, so override atomically:
10677 install_override_mode=555
10681 version_type=linux # correct to gnu/linux during the next big refactor
10684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10685 soname_spec='${libname}${release}${shared_ext}$major'
10686 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10687 shlibpath_var=LD_LIBRARY_PATH
10688 shlibpath_overrides_runpath=no
10689 hardcode_into_libs=yes
10692 irix5* | irix6* | nonstopux*)
10694 nonstopux*) version_type=nonstopux ;;
10696 if test "$lt_cv_prog_gnu_ld" = yes; then
10697 version_type=linux # correct to gnu/linux during the next big refactor
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10707 irix5* | nonstopux*)
10708 libsuff= shlibsuff=
10711 case $LD in # libtool.m4 will add one of these switches to LD
10712 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10713 libsuff= shlibsuff= libmagic=32-bit;;
10714 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10715 libsuff=32 shlibsuff=N32 libmagic=N32;;
10716 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10717 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10718 *) libsuff= shlibsuff= libmagic=never-match;;
10722 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10723 shlibpath_overrides_runpath=no
10724 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10725 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10726 hardcode_into_libs=yes
10729 # No shared lib support for Linux oldld, aout, or coff.
10730 linux*oldld* | linux*aout* | linux*coff*)
10734 # This must be glibc/ELF.
10735 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10736 version_type=linux # correct to gnu/linux during the next big refactor
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 soname_spec='${libname}${release}${shared_ext}$major'
10741 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10742 shlibpath_var=LD_LIBRARY_PATH
10743 shlibpath_overrides_runpath=no
10745 # Some binutils ld are patched to set DT_RUNPATH
10746 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10747 $as_echo_n "(cached) " >&6
10749 lt_cv_shlibpath_overrides_runpath=no
10750 save_LDFLAGS=$LDFLAGS
10751 save_libdir=$libdir
10752 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10753 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10767 lt_cv_shlibpath_overrides_runpath=yes
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LDFLAGS=$save_LDFLAGS
10773 libdir=$save_libdir
10777 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10779 # This implies no fast_install, which is unacceptable.
10780 # Some rework will be needed to allow for fast_install
10781 # before this can be enabled.
10782 hardcode_into_libs=yes
10784 # Append ld.so.conf contents to the search path
10785 if test -f /etc/ld.so.conf; then
10786 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' ' '`
10787 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10790 # We used to test for /lib/ld.so.1 and disable shared libraries on
10791 # powerpc, because MkLinux only supported shared libraries with the
10792 # GNU dynamic linker. Since this was broken with cross compilers,
10793 # most powerpc-linux boxes support dynamic linking these days and
10794 # people can always --disable-shared, the test was removed, and we
10795 # assume the GNU/Linux dynamic linker is in use.
10796 dynamic_linker='GNU/Linux ld.so'
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 shlibpath_var=LD_LIBRARY_PATH
10806 shlibpath_overrides_runpath=no
10807 hardcode_into_libs=yes
10808 dynamic_linker='NetBSD ld.elf_so'
10815 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10817 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10818 dynamic_linker='NetBSD (a.out) ld.so'
10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10821 soname_spec='${libname}${release}${shared_ext}$major'
10822 dynamic_linker='NetBSD ld.elf_so'
10824 shlibpath_var=LD_LIBRARY_PATH
10825 shlibpath_overrides_runpath=yes
10826 hardcode_into_libs=yes
10830 version_type=linux # correct to gnu/linux during the next big refactor
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 shlibpath_var=LD_LIBRARY_PATH
10833 shlibpath_overrides_runpath=yes
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10845 dynamic_linker='ldqnx.so'
10850 sys_lib_dlsearch_path_spec="/usr/lib"
10852 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10854 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10855 *) need_version=no ;;
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10858 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10859 shlibpath_var=LD_LIBRARY_PATH
10860 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10862 openbsd2.[89] | openbsd2.[89].*)
10863 shlibpath_overrides_runpath=no
10866 shlibpath_overrides_runpath=yes
10870 shlibpath_overrides_runpath=yes
10875 libname_spec='$name'
10878 library_names_spec='$libname${shared_ext} $libname.a'
10879 dynamic_linker='OS/2 ld.exe'
10880 shlibpath_var=LIBPATH
10883 osf3* | osf4* | osf5*)
10887 soname_spec='${libname}${release}${shared_ext}$major'
10888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10891 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10899 version_type=linux # correct to gnu/linux during the next big refactor
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 soname_spec='${libname}${release}${shared_ext}$major'
10904 shlibpath_var=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath=yes
10906 hardcode_into_libs=yes
10907 # ldd complains unless libraries are executable
10908 postinstall_cmds='chmod +x $lib'
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10914 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 if test "$with_gnu_ld" = yes; then
10924 version_type=linux # correct to gnu/linux during the next big refactor
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 soname_spec='${libname}${release}${shared_ext}$major'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 case $host_vendor in
10930 shlibpath_overrides_runpath=no
10932 runpath_var=LD_RUN_PATH
10940 shlibpath_overrides_runpath=no
10941 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10947 if test -d /usr/nec ;then
10948 version_type=linux # correct to gnu/linux during the next big refactor
10949 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10950 soname_spec='$libname${shared_ext}.$major'
10951 shlibpath_var=LD_LIBRARY_PATH
10955 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10956 version_type=freebsd-elf
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10960 soname_spec='${libname}${release}${shared_ext}$major'
10961 shlibpath_var=LD_LIBRARY_PATH
10962 shlibpath_overrides_runpath=yes
10963 hardcode_into_libs=yes
10964 if test "$with_gnu_ld" = yes; then
10965 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10967 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10970 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10974 sys_lib_dlsearch_path_spec='/usr/lib'
10978 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10979 version_type=linux # correct to gnu/linux during the next big refactor
10982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=no
10985 hardcode_into_libs=yes
10989 version_type=linux # correct to gnu/linux during the next big refactor
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11000 $as_echo "$dynamic_linker" >&6; }
11001 test "$dynamic_linker" = no && can_build_shared=no
11003 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11004 if test "$GCC" = yes; then
11005 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11008 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11009 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11011 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11012 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11107 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11109 if test -n "$hardcode_libdir_flag_spec" ||
11110 test -n "$runpath_var" ||
11111 test "X$hardcode_automatic" = "Xyes" ; then
11113 # We can hardcode non-existent directories.
11114 if test "$hardcode_direct" != no &&
11115 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11116 # have to relink, otherwise we might link with an installed library
11117 # when we should be linking with a yet-to-be-installed one
11118 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11119 test "$hardcode_minus_L" != no; then
11120 # Linking always hardcodes the temporary library directory.
11121 hardcode_action=relink
11123 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11124 hardcode_action=immediate
11127 # We cannot hardcode anything, or else we can only hardcode existing
11129 hardcode_action=unsupported
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11132 $as_echo "$hardcode_action" >&6; }
11134 if test "$hardcode_action" = relink ||
11135 test "$inherit_rpath" = yes; then
11136 # Fast installation is not supported
11137 enable_fast_install=no
11138 elif test "$shlibpath_overrides_runpath" = yes ||
11139 test "$enable_shared" = no; then
11140 # Fast installation is not necessary
11141 enable_fast_install=needless
11149 if test "x$enable_dlopen" != xyes; then
11150 enable_dlopen=unknown
11151 enable_dlopen_self=unknown
11152 enable_dlopen_self_static=unknown
11159 lt_cv_dlopen="load_add_on"
11161 lt_cv_dlopen_self=yes
11164 mingw* | pw32* | cegcc*)
11165 lt_cv_dlopen="LoadLibrary"
11170 lt_cv_dlopen="dlopen"
11175 # if libdl is installed we need to link against it
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11177 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11178 if ${ac_cv_lib_dl_dlopen+:} false; then :
11179 $as_echo_n "(cached) " >&6
11181 ac_check_lib_save_LIBS=$LIBS
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_dl_dlopen=yes
11204 ac_cv_lib_dl_dlopen=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11211 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11212 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11213 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11216 lt_cv_dlopen="dyld"
11218 lt_cv_dlopen_self=yes
11225 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11226 if test "x$ac_cv_func_shl_load" = xyes; then :
11227 lt_cv_dlopen="shl_load"
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11230 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11231 if ${ac_cv_lib_dld_shl_load+:} false; then :
11232 $as_echo_n "(cached) " >&6
11234 ac_check_lib_save_LIBS=$LIBS
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11249 return shl_load ();
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_dld_shl_load=yes
11257 ac_cv_lib_dld_shl_load=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11264 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11265 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11266 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11268 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11269 if test "x$ac_cv_func_dlopen" = xyes; then :
11270 lt_cv_dlopen="dlopen"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11273 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11274 if ${ac_cv_lib_dl_dlopen+:} false; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_lib_save_LIBS=$LIBS
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 ac_cv_lib_dl_dlopen=yes
11300 ac_cv_lib_dl_dlopen=no
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11307 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11308 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11309 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11312 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11313 if ${ac_cv_lib_svld_dlopen+:} false; then :
11314 $as_echo_n "(cached) " >&6
11316 ac_check_lib_save_LIBS=$LIBS
11317 LIBS="-lsvld $LIBS"
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11321 /* Override any GCC internal prototype to avoid an error.
11322 Use char because int might match the return type of a GCC
11323 builtin and then its argument prototype would still apply. */
11336 if ac_fn_c_try_link "$LINENO"; then :
11337 ac_cv_lib_svld_dlopen=yes
11339 ac_cv_lib_svld_dlopen=no
11341 rm -f core conftest.err conftest.$ac_objext \
11342 conftest$ac_exeext conftest.$ac_ext
11343 LIBS=$ac_check_lib_save_LIBS
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11346 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11347 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11348 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11351 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11352 if ${ac_cv_lib_dld_dld_link+:} false; then :
11353 $as_echo_n "(cached) " >&6
11355 ac_check_lib_save_LIBS=$LIBS
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11370 return dld_link ();
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 ac_cv_lib_dld_dld_link=yes
11378 ac_cv_lib_dld_dld_link=no
11380 rm -f core conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11385 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11386 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11387 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11408 if test "x$lt_cv_dlopen" != xno; then
11414 case $lt_cv_dlopen in
11416 save_CPPFLAGS="$CPPFLAGS"
11417 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11419 save_LDFLAGS="$LDFLAGS"
11420 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11423 LIBS="$lt_cv_dlopen_libs $LIBS"
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11426 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11427 if ${lt_cv_dlopen_self+:} false; then :
11428 $as_echo_n "(cached) " >&6
11430 if test "$cross_compiling" = yes; then :
11431 lt_cv_dlopen_self=cross
11433 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11434 lt_status=$lt_dlunknown
11435 cat > conftest.$ac_ext <<_LT_EOF
11436 #line $LINENO "configure"
11437 #include "confdefs.h"
11446 # define LT_DLGLOBAL RTLD_GLOBAL
11449 # define LT_DLGLOBAL DL_GLOBAL
11451 # define LT_DLGLOBAL 0
11455 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11456 find out it does not work in some platform. */
11457 #ifndef LT_DLLAZY_OR_NOW
11459 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11462 # define LT_DLLAZY_OR_NOW DL_LAZY
11465 # define LT_DLLAZY_OR_NOW RTLD_NOW
11468 # define LT_DLLAZY_OR_NOW DL_NOW
11470 # define LT_DLLAZY_OR_NOW 0
11477 /* When -fvisbility=hidden is used, assume the code has been annotated
11478 correspondingly for the symbols needed. */
11479 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11480 int fnord () __attribute__((visibility("default")));
11483 int fnord () { return 42; }
11486 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11487 int status = $lt_dlunknown;
11491 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11494 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11495 else puts (dlerror ());
11497 /* dlclose (self); */
11505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11506 (eval $ac_link) 2>&5
11508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11509 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11510 (./conftest; exit; ) >&5 2>/dev/null
11512 case x$lt_status in
11513 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11514 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11515 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11518 # compilation failed
11519 lt_cv_dlopen_self=no
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11527 $as_echo "$lt_cv_dlopen_self" >&6; }
11529 if test "x$lt_cv_dlopen_self" = xyes; then
11530 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11532 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11533 if ${lt_cv_dlopen_self_static+:} false; then :
11534 $as_echo_n "(cached) " >&6
11536 if test "$cross_compiling" = yes; then :
11537 lt_cv_dlopen_self_static=cross
11539 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11540 lt_status=$lt_dlunknown
11541 cat > conftest.$ac_ext <<_LT_EOF
11542 #line $LINENO "configure"
11543 #include "confdefs.h"
11552 # define LT_DLGLOBAL RTLD_GLOBAL
11555 # define LT_DLGLOBAL DL_GLOBAL
11557 # define LT_DLGLOBAL 0
11561 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11562 find out it does not work in some platform. */
11563 #ifndef LT_DLLAZY_OR_NOW
11565 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11568 # define LT_DLLAZY_OR_NOW DL_LAZY
11571 # define LT_DLLAZY_OR_NOW RTLD_NOW
11574 # define LT_DLLAZY_OR_NOW DL_NOW
11576 # define LT_DLLAZY_OR_NOW 0
11583 /* When -fvisbility=hidden is used, assume the code has been annotated
11584 correspondingly for the symbols needed. */
11585 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11586 int fnord () __attribute__((visibility("default")));
11589 int fnord () { return 42; }
11592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11593 int status = $lt_dlunknown;
11597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11600 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11601 else puts (dlerror ());
11603 /* dlclose (self); */
11611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11612 (eval $ac_link) 2>&5
11614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11615 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11616 (./conftest; exit; ) >&5 2>/dev/null
11618 case x$lt_status in
11619 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11620 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11621 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11624 # compilation failed
11625 lt_cv_dlopen_self_static=no
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11633 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11636 CPPFLAGS="$save_CPPFLAGS"
11637 LDFLAGS="$save_LDFLAGS"
11642 case $lt_cv_dlopen_self in
11643 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11644 *) enable_dlopen_self=unknown ;;
11647 case $lt_cv_dlopen_self_static in
11648 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11649 *) enable_dlopen_self_static=unknown ;;
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11672 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11673 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11674 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11675 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11677 $as_echo "yes" >&6; }
11679 # FIXME - insert some real tests, host_os isn't really good enough
11682 if test -n "$STRIP" ; then
11683 striplib="$STRIP -x"
11684 old_striplib="$STRIP -S"
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11686 $as_echo "yes" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11689 $as_echo "no" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11694 $as_echo "no" >&6; }
11710 # Report which library types will actually be built
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11712 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11714 $as_echo "$can_build_shared" >&6; }
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11717 $as_echo_n "checking whether to build shared libraries... " >&6; }
11718 test "$can_build_shared" = "no" && enable_shared=no
11720 # On AIX, shared libraries and static libraries use the same namespace, and
11721 # are all built from PIC.
11724 test "$enable_shared" = yes && enable_static=no
11725 if test -n "$RANLIB"; then
11726 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11727 postinstall_cmds='$RANLIB $lib'
11732 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11733 test "$enable_shared" = yes && enable_static=no
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11738 $as_echo "$enable_shared" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11741 $as_echo_n "checking whether to build static libraries... " >&6; }
11742 # Make sure either enable_shared or enable_static is yes.
11743 test "$enable_shared" = yes || enable_static=yes
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11745 $as_echo "$enable_static" >&6; }
11752 ac_cpp='$CPP $CPPFLAGS'
11753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11773 ac_config_commands="$ac_config_commands libtool"
11778 # Only expand once:
11783 # Checks for libraries.
11791 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11792 if test -n "$ac_tool_prefix"; then
11793 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11794 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11796 $as_echo_n "checking for $ac_word... " >&6; }
11797 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11798 $as_echo_n "(cached) " >&6
11800 case $PKG_CONFIG in
11802 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11806 for as_dir in $PATH
11809 test -z "$as_dir" && as_dir=.
11810 for ac_exec_ext in '' $ac_executable_extensions; do
11811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11812 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11823 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11824 if test -n "$PKG_CONFIG"; then
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11826 $as_echo "$PKG_CONFIG" >&6; }
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11829 $as_echo "no" >&6; }
11834 if test -z "$ac_cv_path_PKG_CONFIG"; then
11835 ac_pt_PKG_CONFIG=$PKG_CONFIG
11836 # Extract the first word of "pkg-config", so it can be a program name with args.
11837 set dummy pkg-config; ac_word=$2
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11839 $as_echo_n "checking for $ac_word... " >&6; }
11840 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11841 $as_echo_n "(cached) " >&6
11843 case $ac_pt_PKG_CONFIG in
11845 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11849 for as_dir in $PATH
11852 test -z "$as_dir" && as_dir=.
11853 for ac_exec_ext in '' $ac_executable_extensions; do
11854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11855 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11866 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11867 if test -n "$ac_pt_PKG_CONFIG"; then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11869 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11872 $as_echo "no" >&6; }
11875 if test "x$ac_pt_PKG_CONFIG" = x; then
11878 case $cross_compiling:$ac_tool_warned in
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11882 ac_tool_warned=yes ;;
11884 PKG_CONFIG=$ac_pt_PKG_CONFIG
11887 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11891 if test -n "$PKG_CONFIG"; then
11892 _pkg_min_version=0.16
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11894 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11895 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11897 $as_echo "yes" >&6; }
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 $as_echo "no" >&6; }
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11907 $as_echo_n "checking for GLIB... " >&6; }
11909 if test -n "$GLIB_CFLAGS"; then
11910 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11911 elif test -n "$PKG_CONFIG"; then
11912 if test -n "$PKG_CONFIG" && \
11913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11914 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11917 test $ac_status = 0; }; then
11918 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11919 test "x$?" != "x0" && pkg_failed=yes
11926 if test -n "$GLIB_LIBS"; then
11927 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11928 elif test -n "$PKG_CONFIG"; then
11929 if test -n "$PKG_CONFIG" && \
11930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11931 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934 test $ac_status = 0; }; then
11935 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
11936 test "x$?" != "x0" && pkg_failed=yes
11946 if test $pkg_failed = yes; then
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11951 _pkg_short_errors_supported=yes
11953 _pkg_short_errors_supported=no
11955 if test $_pkg_short_errors_supported = yes; then
11956 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11958 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11960 # Put the nasty error message in config.log where it belongs
11961 echo "$GLIB_PKG_ERRORS" >&5
11963 as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met:
11967 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11968 installed software in a non-standard prefix.
11970 Alternatively, you may set the environment variables GLIB_CFLAGS
11971 and GLIB_LIBS to avoid the need to call pkg-config.
11972 See the pkg-config man page for more details." "$LINENO" 5
11973 elif test $pkg_failed = untried; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11979 is in your PATH or set the PKG_CONFIG environment variable to the full
11980 path to pkg-config.
11982 Alternatively, you may set the environment variables GLIB_CFLAGS
11983 and GLIB_LIBS to avoid the need to call pkg-config.
11984 See the pkg-config man page for more details.
11986 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11987 See \`config.log' for more details" "$LINENO" 5; }
11989 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11990 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11992 $as_echo "yes" >&6; }
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
11998 $as_echo_n "checking for GIO... " >&6; }
12000 if test -n "$GIO_CFLAGS"; then
12001 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12002 elif test -n "$PKG_CONFIG"; then
12003 if test -n "$PKG_CONFIG" && \
12004 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12005 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12008 test $ac_status = 0; }; then
12009 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
12010 test "x$?" != "x0" && pkg_failed=yes
12017 if test -n "$GIO_LIBS"; then
12018 pkg_cv_GIO_LIBS="$GIO_LIBS"
12019 elif test -n "$PKG_CONFIG"; then
12020 if test -n "$PKG_CONFIG" && \
12021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12022 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12025 test $ac_status = 0; }; then
12026 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
12027 test "x$?" != "x0" && pkg_failed=yes
12037 if test $pkg_failed = yes; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12039 $as_echo "no" >&6; }
12041 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12042 _pkg_short_errors_supported=yes
12044 _pkg_short_errors_supported=no
12046 if test $_pkg_short_errors_supported = yes; then
12047 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12049 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12051 # Put the nasty error message in config.log where it belongs
12052 echo "$GIO_PKG_ERRORS" >&5
12054 as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12059 installed software in a non-standard prefix.
12061 Alternatively, you may set the environment variables GIO_CFLAGS
12062 and GIO_LIBS to avoid the need to call pkg-config.
12063 See the pkg-config man page for more details." "$LINENO" 5
12064 elif test $pkg_failed = untried; then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12066 $as_echo "no" >&6; }
12067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12069 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12070 is in your PATH or set the PKG_CONFIG environment variable to the full
12071 path to pkg-config.
12073 Alternatively, you may set the environment variables GIO_CFLAGS
12074 and GIO_LIBS to avoid the need to call pkg-config.
12075 See the pkg-config man page for more details.
12077 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12078 See \`config.log' for more details" "$LINENO" 5; }
12080 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12081 GIO_LIBS=$pkg_cv_GIO_LIBS
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12083 $as_echo "yes" >&6; }
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
12089 $as_echo_n "checking for GSSDP... " >&6; }
12091 if test -n "$GSSDP_CFLAGS"; then
12092 pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
12093 elif test -n "$PKG_CONFIG"; then
12094 if test -n "$PKG_CONFIG" && \
12095 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12096 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12099 test $ac_status = 0; }; then
12100 pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12101 test "x$?" != "x0" && pkg_failed=yes
12108 if test -n "$GSSDP_LIBS"; then
12109 pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
12110 elif test -n "$PKG_CONFIG"; then
12111 if test -n "$PKG_CONFIG" && \
12112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12113 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12116 test $ac_status = 0; }; then
12117 pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12118 test "x$?" != "x0" && pkg_failed=yes
12128 if test $pkg_failed = yes; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12130 $as_echo "no" >&6; }
12132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12133 _pkg_short_errors_supported=yes
12135 _pkg_short_errors_supported=no
12137 if test $_pkg_short_errors_supported = yes; then
12138 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12140 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12142 # Put the nasty error message in config.log where it belongs
12143 echo "$GSSDP_PKG_ERRORS" >&5
12145 as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.2) were not met:
12149 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12150 installed software in a non-standard prefix.
12152 Alternatively, you may set the environment variables GSSDP_CFLAGS
12153 and GSSDP_LIBS to avoid the need to call pkg-config.
12154 See the pkg-config man page for more details." "$LINENO" 5
12155 elif test $pkg_failed = untried; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12160 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12161 is in your PATH or set the PKG_CONFIG environment variable to the full
12162 path to pkg-config.
12164 Alternatively, you may set the environment variables GSSDP_CFLAGS
12165 and GSSDP_LIBS to avoid the need to call pkg-config.
12166 See the pkg-config man page for more details.
12168 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12169 See \`config.log' for more details" "$LINENO" 5; }
12171 GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
12172 GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12174 $as_echo "yes" >&6; }
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
12180 $as_echo_n "checking for GUPNP... " >&6; }
12182 if test -n "$GUPNP_CFLAGS"; then
12183 pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
12184 elif test -n "$PKG_CONFIG"; then
12185 if test -n "$PKG_CONFIG" && \
12186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.3\""; } >&5
12187 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.3") 2>&5
12189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12190 test $ac_status = 0; }; then
12191 pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.20.3" 2>/dev/null`
12192 test "x$?" != "x0" && pkg_failed=yes
12199 if test -n "$GUPNP_LIBS"; then
12200 pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
12201 elif test -n "$PKG_CONFIG"; then
12202 if test -n "$PKG_CONFIG" && \
12203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.3\""; } >&5
12204 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.3") 2>&5
12206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12207 test $ac_status = 0; }; then
12208 pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.20.3" 2>/dev/null`
12209 test "x$?" != "x0" && pkg_failed=yes
12219 if test $pkg_failed = yes; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12221 $as_echo "no" >&6; }
12223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12224 _pkg_short_errors_supported=yes
12226 _pkg_short_errors_supported=no
12228 if test $_pkg_short_errors_supported = yes; then
12229 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.20.3" 2>&1`
12231 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.20.3" 2>&1`
12233 # Put the nasty error message in config.log where it belongs
12234 echo "$GUPNP_PKG_ERRORS" >&5
12236 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.20.3) were not met:
12240 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12241 installed software in a non-standard prefix.
12243 Alternatively, you may set the environment variables GUPNP_CFLAGS
12244 and GUPNP_LIBS to avoid the need to call pkg-config.
12245 See the pkg-config man page for more details." "$LINENO" 5
12246 elif test $pkg_failed = untried; then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12248 $as_echo "no" >&6; }
12249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12251 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12252 is in your PATH or set the PKG_CONFIG environment variable to the full
12253 path to pkg-config.
12255 Alternatively, you may set the environment variables GUPNP_CFLAGS
12256 and GUPNP_LIBS to avoid the need to call pkg-config.
12257 See the pkg-config man page for more details.
12259 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12260 See \`config.log' for more details" "$LINENO" 5; }
12262 GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
12263 GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12265 $as_echo "yes" >&6; }
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
12271 $as_echo_n "checking for GUPNPAV... " >&6; }
12273 if test -n "$GUPNPAV_CFLAGS"; then
12274 pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
12275 elif test -n "$PKG_CONFIG"; then
12276 if test -n "$PKG_CONFIG" && \
12277 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12278 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12281 test $ac_status = 0; }; then
12282 pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12283 test "x$?" != "x0" && pkg_failed=yes
12290 if test -n "$GUPNPAV_LIBS"; then
12291 pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
12292 elif test -n "$PKG_CONFIG"; then
12293 if test -n "$PKG_CONFIG" && \
12294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12295 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12298 test $ac_status = 0; }; then
12299 pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12300 test "x$?" != "x0" && pkg_failed=yes
12310 if test $pkg_failed = yes; then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12312 $as_echo "no" >&6; }
12314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12315 _pkg_short_errors_supported=yes
12317 _pkg_short_errors_supported=no
12319 if test $_pkg_short_errors_supported = yes; then
12320 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12322 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12324 # Put the nasty error message in config.log where it belongs
12325 echo "$GUPNPAV_PKG_ERRORS" >&5
12327 as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.5) were not met:
12329 $GUPNPAV_PKG_ERRORS
12331 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12332 installed software in a non-standard prefix.
12334 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12335 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12336 See the pkg-config man page for more details." "$LINENO" 5
12337 elif test $pkg_failed = untried; then
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12342 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12343 is in your PATH or set the PKG_CONFIG environment variable to the full
12344 path to pkg-config.
12346 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12347 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12348 See the pkg-config man page for more details.
12350 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12351 See \`config.log' for more details" "$LINENO" 5; }
12353 GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
12354 GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12356 $as_echo "yes" >&6; }
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPDLNA" >&5
12362 $as_echo_n "checking for GUPNPDLNA... " >&6; }
12364 if test -n "$GUPNPDLNA_CFLAGS"; then
12365 pkg_cv_GUPNPDLNA_CFLAGS="$GUPNPDLNA_CFLAGS"
12366 elif test -n "$PKG_CONFIG"; then
12367 if test -n "$PKG_CONFIG" && \
12368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12369 ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12372 test $ac_status = 0; }; then
12373 pkg_cv_GUPNPDLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12374 test "x$?" != "x0" && pkg_failed=yes
12381 if test -n "$GUPNPDLNA_LIBS"; then
12382 pkg_cv_GUPNPDLNA_LIBS="$GUPNPDLNA_LIBS"
12383 elif test -n "$PKG_CONFIG"; then
12384 if test -n "$PKG_CONFIG" && \
12385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12386 ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12389 test $ac_status = 0; }; then
12390 pkg_cv_GUPNPDLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12391 test "x$?" != "x0" && pkg_failed=yes
12401 if test $pkg_failed = yes; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12406 _pkg_short_errors_supported=yes
12408 _pkg_short_errors_supported=no
12410 if test $_pkg_short_errors_supported = yes; then
12411 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12413 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12415 # Put the nasty error message in config.log where it belongs
12416 echo "$GUPNPDLNA_PKG_ERRORS" >&5
12418 as_fn_error $? "Package requirements (gupnp-dlna-2.0 >= 0.9.4) were not met:
12420 $GUPNPDLNA_PKG_ERRORS
12422 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12423 installed software in a non-standard prefix.
12425 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12426 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12427 See the pkg-config man page for more details." "$LINENO" 5
12428 elif test $pkg_failed = untried; then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12430 $as_echo "no" >&6; }
12431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12433 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12434 is in your PATH or set the PKG_CONFIG environment variable to the full
12435 path to pkg-config.
12437 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12438 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12439 See the pkg-config man page for more details.
12441 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12442 See \`config.log' for more details" "$LINENO" 5; }
12444 GUPNPDLNA_CFLAGS=$pkg_cv_GUPNPDLNA_CFLAGS
12445 GUPNPDLNA_LIBS=$pkg_cv_GUPNPDLNA_LIBS
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12447 $as_echo "yes" >&6; }
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
12453 $as_echo_n "checking for SOUP... " >&6; }
12455 if test -n "$SOUP_CFLAGS"; then
12456 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
12457 elif test -n "$PKG_CONFIG"; then
12458 if test -n "$PKG_CONFIG" && \
12459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12460 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12463 test $ac_status = 0; }; then
12464 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12465 test "x$?" != "x0" && pkg_failed=yes
12472 if test -n "$SOUP_LIBS"; then
12473 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
12474 elif test -n "$PKG_CONFIG"; then
12475 if test -n "$PKG_CONFIG" && \
12476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12477 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12480 test $ac_status = 0; }; then
12481 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12482 test "x$?" != "x0" && pkg_failed=yes
12492 if test $pkg_failed = yes; then
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12494 $as_echo "no" >&6; }
12496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12497 _pkg_short_errors_supported=yes
12499 _pkg_short_errors_supported=no
12501 if test $_pkg_short_errors_supported = yes; then
12502 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12504 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12506 # Put the nasty error message in config.log where it belongs
12507 echo "$SOUP_PKG_ERRORS" >&5
12509 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
12513 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12514 installed software in a non-standard prefix.
12516 Alternatively, you may set the environment variables SOUP_CFLAGS
12517 and SOUP_LIBS to avoid the need to call pkg-config.
12518 See the pkg-config man page for more details." "$LINENO" 5
12519 elif test $pkg_failed = untried; then
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12521 $as_echo "no" >&6; }
12522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12524 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12525 is in your PATH or set the PKG_CONFIG environment variable to the full
12526 path to pkg-config.
12528 Alternatively, you may set the environment variables SOUP_CFLAGS
12529 and SOUP_LIBS to avoid the need to call pkg-config.
12530 See the pkg-config man page for more details.
12532 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12533 See \`config.log' for more details" "$LINENO" 5; }
12535 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
12536 SOUP_LIBS=$pkg_cv_SOUP_LIBS
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12538 $as_echo "yes" >&6; }
12542 # Checks for header files.
12543 for ac_header in stdlib.h string.h syslog.h
12545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12546 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12548 cat >>confdefs.h <<_ACEOF
12549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12557 # Checks for typedefs, structures, and compiler characteristics.
12558 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12559 case $ac_cv_c_uint8_t in #(
12563 $as_echo "#define _UINT8_T 1" >>confdefs.h
12566 cat >>confdefs.h <<_ACEOF
12567 #define uint8_t $ac_cv_c_uint8_t
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12573 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12574 if ${ac_cv_header_stdbool_h+:} false; then :
12575 $as_echo_n "(cached) " >&6
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 #include <stdbool.h>
12582 "error: bool is not defined"
12585 "error: false is not defined"
12588 "error: false is not 0"
12591 "error: true is not defined"
12594 "error: true is not 1"
12596 #ifndef __bool_true_false_are_defined
12597 "error: __bool_true_false_are_defined is not defined"
12600 struct s { _Bool s: 1; _Bool t; } s;
12602 char a[true == 1 ? 1 : -1];
12603 char b[false == 0 ? 1 : -1];
12604 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12605 char d[(bool) 0.5 == true ? 1 : -1];
12606 /* See body of main program for 'e'. */
12607 char f[(_Bool) 0.0 == false ? 1 : -1];
12609 char h[sizeof (_Bool)];
12610 char i[sizeof s.t];
12611 enum { j = false, k = true, l = false * true, m = true * 256 };
12612 /* The following fails for
12613 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12615 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12616 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12617 /* Catch a bug in an HP-UX C compiler. See
12618 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12619 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12631 /* Refer to every declared value, to avoid compiler optimizations. */
12632 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12633 + !m + !n + !o + !p + !q + !pq);
12639 if ac_fn_c_try_compile "$LINENO"; then :
12640 ac_cv_header_stdbool_h=yes
12642 ac_cv_header_stdbool_h=no
12644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12647 $as_echo "$ac_cv_header_stdbool_h" >&6; }
12648 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12649 if test "x$ac_cv_type__Bool" = xyes; then :
12651 cat >>confdefs.h <<_ACEOF
12652 #define HAVE__BOOL 1
12659 if test $ac_cv_header_stdbool_h = yes; then
12661 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
12665 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12666 if test "x$ac_cv_type_size_t" = xyes; then :
12670 cat >>confdefs.h <<_ACEOF
12671 #define size_t unsigned int
12677 # Checks for library functions.
12678 for ac_header in stdlib.h
12680 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12681 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12682 cat >>confdefs.h <<_ACEOF
12683 #define HAVE_STDLIB_H 1
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12691 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12692 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12693 $as_echo_n "(cached) " >&6
12695 if test "$cross_compiling" = yes; then :
12696 ac_cv_func_malloc_0_nonnull=no
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12700 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12701 # include <stdlib.h>
12709 return ! malloc (0);
12714 if ac_fn_c_try_run "$LINENO"; then :
12715 ac_cv_func_malloc_0_nonnull=yes
12717 ac_cv_func_malloc_0_nonnull=no
12719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12720 conftest.$ac_objext conftest.beam conftest.$ac_ext
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12725 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12726 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12728 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12731 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12733 case " $LIBOBJS " in
12734 *" malloc.$ac_objext "* ) ;;
12735 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12740 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12745 for ac_header in stdlib.h
12747 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12748 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12749 cat >>confdefs.h <<_ACEOF
12750 #define HAVE_STDLIB_H 1
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12758 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12759 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
12760 $as_echo_n "(cached) " >&6
12762 if test "$cross_compiling" = yes; then :
12763 ac_cv_func_realloc_0_nonnull=no
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12767 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12768 # include <stdlib.h>
12776 return ! realloc (0, 0);
12781 if ac_fn_c_try_run "$LINENO"; then :
12782 ac_cv_func_realloc_0_nonnull=yes
12784 ac_cv_func_realloc_0_nonnull=no
12786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12787 conftest.$ac_objext conftest.beam conftest.$ac_ext
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12792 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12793 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12795 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12798 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12800 case " $LIBOBJS " in
12801 *" realloc.$ac_objext "* ) ;;
12802 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12807 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12812 for ac_func in memset strchr strrchr strstr
12814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12816 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12817 cat >>confdefs.h <<_ACEOF
12818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12825 # Define Log Level values
12837 cat >>confdefs.h <<_ACEOF
12838 #define DLEYNA_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
12842 cat >>confdefs.h <<_ACEOF
12843 #define DLEYNA_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
12847 cat >>confdefs.h <<_ACEOF
12848 #define DLEYNA_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
12852 cat >>confdefs.h <<_ACEOF
12853 #define DLEYNA_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
12857 cat >>confdefs.h <<_ACEOF
12858 #define DLEYNA_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
12862 cat >>confdefs.h <<_ACEOF
12863 #define DLEYNA_LOG_LEVEL_INFO ${LOG_LEVEL_5}
12867 cat >>confdefs.h <<_ACEOF
12868 #define DLEYNA_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
12872 cat >>confdefs.h <<_ACEOF
12873 #define DLEYNA_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
12877 cat >>confdefs.h <<_ACEOF
12878 #define DLEYNA_LOG_LEVEL_ALL ${LOG_LEVEL_8}
12882 # Check whether --enable-master-build was given.
12883 if test "${enable_master_build+set}" = set; then :
12884 enableval=$enable_master_build;
12890 if test "x$master_build" = "xno"; then :
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLEYNA_CORE" >&5
12894 $as_echo_n "checking for DLEYNA_CORE... " >&6; }
12896 if test -n "$DLEYNA_CORE_CFLAGS"; then
12897 pkg_cv_DLEYNA_CORE_CFLAGS="$DLEYNA_CORE_CFLAGS"
12898 elif test -n "$PKG_CONFIG"; then
12899 if test -n "$PKG_CONFIG" && \
12900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12901 ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12904 test $ac_status = 0; }; then
12905 pkg_cv_DLEYNA_CORE_CFLAGS=`$PKG_CONFIG --cflags "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12906 test "x$?" != "x0" && pkg_failed=yes
12913 if test -n "$DLEYNA_CORE_LIBS"; then
12914 pkg_cv_DLEYNA_CORE_LIBS="$DLEYNA_CORE_LIBS"
12915 elif test -n "$PKG_CONFIG"; then
12916 if test -n "$PKG_CONFIG" && \
12917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12918 ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12921 test $ac_status = 0; }; then
12922 pkg_cv_DLEYNA_CORE_LIBS=`$PKG_CONFIG --libs "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12923 test "x$?" != "x0" && pkg_failed=yes
12933 if test $pkg_failed = yes; then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12935 $as_echo "no" >&6; }
12937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12938 _pkg_short_errors_supported=yes
12940 _pkg_short_errors_supported=no
12942 if test $_pkg_short_errors_supported = yes; then
12943 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12945 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12947 # Put the nasty error message in config.log where it belongs
12948 echo "$DLEYNA_CORE_PKG_ERRORS" >&5
12950 as_fn_error $? "Package requirements (dleyna-core-1.0 >= 0.4.0) were not met:
12952 $DLEYNA_CORE_PKG_ERRORS
12954 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12955 installed software in a non-standard prefix.
12957 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12958 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12959 See the pkg-config man page for more details." "$LINENO" 5
12960 elif test $pkg_failed = untried; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12962 $as_echo "no" >&6; }
12963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12965 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12966 is in your PATH or set the PKG_CONFIG environment variable to the full
12967 path to pkg-config.
12969 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12970 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12971 See the pkg-config man page for more details.
12973 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12974 See \`config.log' for more details" "$LINENO" 5; }
12976 DLEYNA_CORE_CFLAGS=$pkg_cv_DLEYNA_CORE_CFLAGS
12977 DLEYNA_CORE_LIBS=$pkg_cv_DLEYNA_CORE_LIBS
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12979 $as_echo "yes" >&6; }
12983 this_abs_top_srcdir=`cd "$srcdir" && pwd`;
12984 DLEYNA_CORE_CFLAGS="-I$this_abs_top_srcdir/../dleyna-core";
12985 DLEYNA_CORE_LIBS="-L$this_abs_top_srcdir/../dleyna-core/.libs -ldleyna-core-1.0"
12989 # Check whether --enable-debug was given.
12990 if test "${enable_debug+set}" = set; then :
12991 enableval=$enable_debug;
12997 case "${enable_debug}" in #(
12999 CFLAGS="$CFLAGS -g";
13001 cat >>confdefs.h <<_ACEOF
13002 #define DLEYNA_DEBUG_ENABLED 1
13009 as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
13013 # Check whether --enable-werror was given.
13014 if test "${enable_werror+set}" = set; then :
13015 enableval=$enable_werror;
13021 case "${enable_werror}" in #(
13023 CFLAGS="$CFLAGS -Werror" ;; #(
13027 as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
13031 # Check whether --enable-optimization was given.
13032 if test "${enable_optimization+set}" = set; then :
13033 enableval=$enable_optimization;
13035 enable_optimization=yes
13039 case "${enable_optimization}" in #(
13041 disable_optimization=no ;; #(
13043 CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
13045 as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
13049 # Check whether --enable-never-quit was given.
13050 if test "${enable_never_quit+set}" = set; then :
13051 enableval=$enable_never_quit;
13053 enable_never_quit=no
13057 case "${enable_never_quit}" in #(
13059 never_quit=true ;; #(
13061 never_quit=false ;; #(
13063 as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
13068 # Check whether --with-connector-name was given.
13069 if test "${with_connector_name+set}" = set; then :
13070 withval=$with_connector_name;
13072 with_connector_name=dbus
13078 # Check whether --with-log-level was given.
13079 if test "${with_log_level+set}" = set; then :
13080 withval=$with_log_level;
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
13088 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
13097 log_array=(0 0 0 0 0 0 0 0 0)
13099 for log_level in ${with_log_level}
13103 case $log_level in #(
13105 if test ${log_array[${log_level}]} -ne 0; then :
13107 as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
13109 elif test "x${log_single}" = xyes; then :
13111 as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
13116 if test ${log_level_count} -ne 0; then :
13118 as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
13124 as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
13128 log_name=LOG_LEVEL_${log_level}
13129 eval log_value=\$${log_name}
13130 let "LOG_LEVEL |= ${log_value}"
13135 let log_level_count++
13136 let log_array[${log_level}]++
13142 cat >>confdefs.h <<_ACEOF
13143 #define DLEYNA_LOG_LEVEL ${LOG_LEVEL}
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13148 $as_echo "ok" >&6; }
13154 # Check whether --with-log-type was given.
13155 if test "${with_log_type+set}" = set; then :
13156 withval=$with_log_type;
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
13164 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
13166 case ${with_log_type} in #(
13170 as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13175 $as_echo "ok" >&6; }
13181 # Check whether --with-ua-prefix was given.
13182 if test "${with_ua_prefix+set}" = set; then :
13183 withval=$with_ua_prefix; with_ua_prefix = "$withval";
13184 cat >>confdefs.h <<_ACEOF
13185 #define UA_PREFIX "$with_ua_prefix"
13192 # Check whether --with-dbus_service_dir was given.
13193 if test "${with_dbus_service_dir+set}" = set; then :
13194 withval=$with_dbus_service_dir; with_dbus_service_dir="$withval"
13196 with_dbus_service_dir=$datadir/dbus-1/services
13199 DBUS_SERVICE_DIR=$with_dbus_service_dir
13203 # Check whether --enable-lib-only was given.
13204 if test "${enable_lib_only+set}" = set; then :
13205 enableval=$enable_lib_only;
13211 if test "x$enable_lib_only" = "xno"; then
13213 BUILD_SERVER_FALSE='#'
13215 BUILD_SERVER_TRUE='#'
13216 BUILD_SERVER_FALSE=
13221 $as_echo "#define DLEYNA_SERVER_OBJECT \"/com/intel/dLeynaServer\"" >>confdefs.h
13224 $as_echo "#define DLEYNA_SERVER_PATH \"/com/intel/dLeynaServer/server\"" >>confdefs.h
13227 DLEYNA_SERVER_NAME=com.intel.dleyna-server
13230 $as_echo "#define DLEYNA_SERVER_NAME \"com.intel.dleyna-server\"" >>confdefs.h
13233 DLEYNA_SERVER_INTERFACE_MANAGER=com.intel.dLeynaServer.Manager
13236 $as_echo "#define DLEYNA_SERVER_INTERFACE_MANAGER \"com.intel.dLeynaServer.Manager\"" >>confdefs.h
13239 DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE=com.intel.dLeynaServer.MediaDevice
13242 $as_echo "#define DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE \"com.intel.dLeynaServer.MediaDevice\"" >>confdefs.h
13250 ac_config_files="$ac_config_files Makefile libdleyna/server/Makefile libdleyna/server/dleyna-server-1.0.pc libdleyna/server/dleyna-server-service.conf server/dleyna-server-service-1.0.pc server/Makefile test/dbus/Makefile"
13253 cat >confcache <<\_ACEOF
13254 # This file is a shell script that caches the results of configure
13255 # tests run on this system so they can be shared between configure
13256 # scripts and configure runs, see configure's option --config-cache.
13257 # It is not useful on other systems. If it contains results you don't
13258 # want to keep, you may remove or edit it.
13260 # config.status only pays attention to the cache file if you give it
13261 # the --recheck option to rerun configure.
13263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13265 # following values.
13269 # The following way of writing the cache mishandles newlines in values,
13270 # but we know of no workaround that is simple, portable, and efficient.
13271 # So, we kill variables containing newlines.
13272 # Ultrix sh set writes to stderr and can't be redirected directly,
13273 # and sets the high bit in the cache file unless we assign to the vars.
13275 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13276 eval ac_val=\$$ac_var
13280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13284 _ | IFS | as_nl) ;; #(
13285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13286 *) { eval $ac_var=; unset $ac_var;} ;;
13292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13293 *${as_nl}ac_space=\ *)
13294 # `set' does not quote correctly, so add quotes: double-quote
13295 # substitution turns \\\\ into \\, and sed turns \\ into \.
13298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13301 # `set' quotes correctly as required by POSIX, so do not add quotes.
13302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13316 if test -w "$cache_file"; then
13317 if test "x$cache_file" != "x/dev/null"; then
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13319 $as_echo "$as_me: updating cache $cache_file" >&6;}
13320 if test ! -f "$cache_file" || test -h "$cache_file"; then
13321 cat confcache >"$cache_file"
13323 case $cache_file in #(
13325 mv -f confcache "$cache_file"$$ &&
13326 mv -f "$cache_file"$$ "$cache_file" ;; #(
13328 mv -f confcache "$cache_file" ;;
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13340 # Let make expand exec_prefix.
13341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13343 DEFS=-DHAVE_CONFIG_H
13348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13349 # 1. Remove the extension, and $U if already installed.
13350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13351 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13353 # will be set to the directory where LIBOBJS objects are built.
13354 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13355 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13357 LIBOBJS=$ac_libobjs
13359 LTLIBOBJS=$ac_ltlibobjs
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13363 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13364 if test -n "$am_sleep_pid"; then
13365 # Hide warnings about reused PIDs.
13366 wait $am_sleep_pid 2>/dev/null
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13369 $as_echo "done" >&6; }
13370 if test -n "$EXEEXT"; then
13372 am__EXEEXT_FALSE='#'
13374 am__EXEEXT_TRUE='#'
13378 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13379 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13382 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13383 as_fn_error $? "conditional \"AMDEP\" was never defined.
13384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13386 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13387 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13390 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13391 as_fn_error $? "conditional \"BUILD_SERVER\" was never defined.
13392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13395 : "${CONFIG_STATUS=./config.status}"
13397 ac_clean_files_save=$ac_clean_files
13398 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13404 # Generated by $as_me.
13405 # Run this file to recreate the current configuration.
13406 # Compiler output produced by configure, useful for debugging
13407 # configure, is in config.log if it exists.
13410 ac_cs_recheck=false
13413 SHELL=\${CONFIG_SHELL-$SHELL}
13416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13417 ## -------------------- ##
13418 ## M4sh Initialization. ##
13419 ## -------------------- ##
13421 # Be more Bourne compatible
13422 DUALCASE=1; export DUALCASE # for MKS sh
13423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13426 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13427 # is contrary to our usage. Disable this feature.
13428 alias -g '${1+"$@"}'='"$@"'
13429 setopt NO_GLOB_SUBST
13431 case `(set -o) 2>/dev/null` in #(
13443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13444 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13447 # Prefer a ksh shell builtin over an external printf program on Solaris,
13448 # but without wasting forks for bash or zsh.
13449 if test -z "$BASH_VERSION$ZSH_VERSION" \
13450 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13451 as_echo='print -r --'
13452 as_echo_n='print -rn --'
13453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13454 as_echo='printf %s\n'
13455 as_echo_n='printf %s'
13457 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13458 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13459 as_echo_n='/usr/ucb/echo -n'
13461 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13462 as_echo_n_body='eval
13466 expr "X$arg" : "X\\(.*\\)$as_nl";
13467 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13469 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13471 export as_echo_n_body
13472 as_echo_n='sh -c $as_echo_n_body as_echo'
13474 export as_echo_body
13475 as_echo='sh -c $as_echo_body as_echo'
13478 # The user is always right.
13479 if test "${PATH_SEPARATOR+set}" != set; then
13481 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13482 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13489 # We need space, tab and new line, in precisely that order. Quoting is
13490 # there to prevent editors from complaining about space-tab.
13491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13492 # splitting by setting IFS to empty value.)
13495 # Find who we are. Look in the path if we contain no directory separator.
13498 *[\\/]* ) as_myself=$0 ;;
13499 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13500 for as_dir in $PATH
13503 test -z "$as_dir" && as_dir=.
13504 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13510 # We did not find ourselves, most probably we were run as `sh COMMAND'
13511 # in which case we are not to be found in the path.
13512 if test "x$as_myself" = x; then
13515 if test ! -f "$as_myself"; then
13516 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13520 # Unset variables that we do not need and which cause bugs (e.g. in
13521 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13522 # suppresses any "Segmentation fault" message there. '((' could
13523 # trigger a bug in pdksh 5.2.14.
13524 for as_var in BASH_ENV ENV MAIL MAILPATH
13525 do eval test x\${$as_var+set} = xset \
13526 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13539 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13542 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13543 # ----------------------------------------
13544 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13545 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13546 # script with STATUS, using 1 if that was 0.
13549 as_status=$1; test $as_status -eq 0 && as_status=1
13551 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13552 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13554 $as_echo "$as_me: error: $2" >&2
13555 as_fn_exit $as_status
13559 # as_fn_set_status STATUS
13560 # -----------------------
13561 # Set $? to STATUS, without forking.
13562 as_fn_set_status ()
13565 } # as_fn_set_status
13567 # as_fn_exit STATUS
13568 # -----------------
13569 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13573 as_fn_set_status $1
13579 # Portably unset VAR.
13582 { eval $1=; unset $1;}
13584 as_unset=as_fn_unset
13585 # as_fn_append VAR VALUE
13586 # ----------------------
13587 # Append the text in VALUE to the end of the definition contained in VAR. Take
13588 # advantage of any shell optimizations that allow amortized linear growth over
13589 # repeated appends, instead of the typical quadratic growth present in naive
13591 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13592 eval 'as_fn_append ()
13603 # as_fn_arith ARG...
13604 # ------------------
13605 # Perform arithmetic evaluation on the ARGs, and store the result in the
13606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13607 # must be portable across $(()) and expr.
13608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13609 eval 'as_fn_arith ()
13616 as_val=`expr "$@" || test $? -eq 1`
13621 if expr a : '\(a\)' >/dev/null 2>&1 &&
13622 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13628 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13629 as_basename=basename
13634 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13640 as_me=`$as_basename -- "$0" ||
13641 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13642 X"$0" : 'X\(//\)$' \| \
13643 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13645 sed '/^.*\/\([^/][^/]*\)\/*$/{
13659 # Avoid depending upon Character Ranges.
13660 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13661 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13662 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13663 as_cr_digits='0123456789'
13664 as_cr_alnum=$as_cr_Letters$as_cr_digits
13666 ECHO_C= ECHO_N= ECHO_T=
13667 case `echo -n x` in #(((((
13669 case `echo 'xy\c'` in
13670 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13672 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13679 rm -f conf$$ conf$$.exe conf$$.file
13680 if test -d conf$$.dir; then
13681 rm -f conf$$.dir/conf$$.file
13684 mkdir conf$$.dir 2>/dev/null
13686 if (echo >conf$$.file) 2>/dev/null; then
13687 if ln -s conf$$.file conf$$ 2>/dev/null; then
13689 # ... but there are two gotchas:
13690 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13691 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13692 # In both cases, we have to default to `cp -pR'.
13693 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13695 elif ln conf$$.file conf$$ 2>/dev/null; then
13703 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13704 rmdir conf$$.dir 2>/dev/null
13709 # Create "$as_dir" as a directory, including parents if necessary.
13714 -*) as_dir=./$as_dir;;
13716 test -d "$as_dir" || eval $as_mkdir_p || {
13720 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13721 *) as_qdir=$as_dir;;
13723 as_dirs="'$as_qdir' $as_dirs"
13724 as_dir=`$as_dirname -- "$as_dir" ||
13725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13726 X"$as_dir" : 'X\(//\)[^/]' \| \
13727 X"$as_dir" : 'X\(//\)$' \| \
13728 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13729 $as_echo X"$as_dir" |
13730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13734 /^X\(\/\/\)[^/].*/{
13747 test -d "$as_dir" && break
13749 test -z "$as_dirs" || eval "mkdir $as_dirs"
13750 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13754 if mkdir -p . 2>/dev/null; then
13755 as_mkdir_p='mkdir -p "$as_dir"'
13757 test -d ./-p && rmdir ./-p
13762 # as_fn_executable_p FILE
13763 # -----------------------
13764 # Test if FILE is an executable regular file.
13765 as_fn_executable_p ()
13767 test -f "$1" && test -x "$1"
13768 } # as_fn_executable_p
13769 as_test_x='test -x'
13770 as_executable_p=as_fn_executable_p
13772 # Sed expression to map a string onto a valid CPP name.
13773 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13775 # Sed expression to map a string onto a valid variable name.
13776 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13780 ## ----------------------------------- ##
13781 ## Main body of $CONFIG_STATUS script. ##
13782 ## ----------------------------------- ##
13784 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13787 # Save the log message, to keep $0 and so on meaningful, and to
13788 # report actual input values of CONFIG_FILES etc. instead of their
13789 # values after options handling.
13791 This file was extended by dleyna-server $as_me 0.4.0, which was
13792 generated by GNU Autoconf 2.69. Invocation command line was
13794 CONFIG_FILES = $CONFIG_FILES
13795 CONFIG_HEADERS = $CONFIG_HEADERS
13796 CONFIG_LINKS = $CONFIG_LINKS
13797 CONFIG_COMMANDS = $CONFIG_COMMANDS
13800 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13805 case $ac_config_files in *"
13806 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13809 case $ac_config_headers in *"
13810 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13815 # Files that config.status was made for.
13816 config_files="$ac_config_files"
13817 config_headers="$ac_config_headers"
13818 config_commands="$ac_config_commands"
13822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13824 \`$as_me' instantiates files and other configuration actions
13825 from templates according to the current configuration. Unless the files
13826 and actions are specified as TAGs, all are instantiated by default.
13828 Usage: $0 [OPTION]... [TAG]...
13830 -h, --help print this help, then exit
13831 -V, --version print version number and configuration settings, then exit
13832 --config print configuration, then exit
13833 -q, --quiet, --silent
13834 do not print progress messages
13835 -d, --debug don't remove temporary files
13836 --recheck update $as_me by reconfiguring in the same conditions
13837 --file=FILE[:TEMPLATE]
13838 instantiate the configuration file FILE
13839 --header=FILE[:TEMPLATE]
13840 instantiate the configuration header FILE
13842 Configuration files:
13845 Configuration headers:
13848 Configuration commands:
13851 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
13852 dleyna-server home page: <https://01.org/dleyna/>."
13855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13856 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13858 dleyna-server config.status 0.4.0
13859 configured by $0, generated by GNU Autoconf 2.69,
13860 with options \\"\$ac_cs_config\\"
13862 Copyright (C) 2012 Free Software Foundation, Inc.
13863 This config.status script is free software; the Free Software Foundation
13864 gives unlimited permission to copy, distribute and modify it."
13871 test -n "\$AWK" || AWK=awk
13874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13875 # The default lists apply if the user does not specify any file.
13881 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13882 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13886 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13898 # Handling of the options.
13899 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13901 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13902 $as_echo "$ac_cs_version"; exit ;;
13903 --config | --confi | --conf | --con | --co | --c )
13904 $as_echo "$ac_cs_config"; exit ;;
13905 --debug | --debu | --deb | --de | --d | -d )
13907 --file | --fil | --fi | --f )
13910 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13911 '') as_fn_error $? "missing file argument" ;;
13913 as_fn_append CONFIG_FILES " '$ac_optarg'"
13914 ac_need_defaults=false;;
13915 --header | --heade | --head | --hea )
13918 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13920 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13921 ac_need_defaults=false;;
13923 # Conflict between --help and --header
13924 as_fn_error $? "ambiguous option: \`$1'
13925 Try \`$0 --help' for more information.";;
13926 --help | --hel | -h )
13927 $as_echo "$ac_cs_usage"; exit ;;
13928 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13929 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13932 # This is an error.
13933 -*) as_fn_error $? "unrecognized option: \`$1'
13934 Try \`$0 --help' for more information." ;;
13936 *) as_fn_append ac_config_targets " $1"
13937 ac_need_defaults=false ;;
13943 ac_configure_extra_args=
13945 if $ac_cs_silent; then
13947 ac_configure_extra_args="$ac_configure_extra_args --silent"
13951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13952 if \$ac_cs_recheck; then
13953 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13955 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13956 CONFIG_SHELL='$SHELL'
13957 export CONFIG_SHELL
13962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13966 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13967 ## Running $as_me. ##
13973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13977 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13980 # The HP-UX ksh and POSIX shell print the target directory to stdout
13981 # if CDPATH is set.
13982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13984 sed_quote_subst='$sed_quote_subst'
13985 double_quote_subst='$double_quote_subst'
13986 delay_variable_subst='$delay_variable_subst'
13987 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13988 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13989 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13990 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13991 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13992 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13993 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13994 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13995 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13996 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13997 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13998 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13999 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14000 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14001 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14002 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14003 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14004 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14005 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14006 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14007 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14008 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14009 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14010 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14011 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14012 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14013 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14014 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14015 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14016 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14017 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14018 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14019 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14020 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14021 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14022 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14023 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14024 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14025 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14026 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14027 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14028 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14029 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14030 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14031 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14032 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14033 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14034 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14035 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14036 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14037 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14038 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14039 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14040 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14041 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14042 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14043 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"`'
14044 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14045 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14046 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14047 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14048 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14049 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14050 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14051 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14052 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14053 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14054 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14055 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14056 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14057 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14058 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14059 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14060 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14061 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14062 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14063 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14064 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14065 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14066 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14067 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14068 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14069 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14070 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14071 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14072 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14073 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14074 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14075 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14076 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14077 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14078 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14079 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14080 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14081 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14082 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14083 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14084 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14085 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14086 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14087 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14088 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14089 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14090 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14091 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14092 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14093 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14094 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14095 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14096 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14097 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14098 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14099 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14100 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14101 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14102 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14103 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14104 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14105 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14106 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14107 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14108 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14109 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14110 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14111 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14112 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14113 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14114 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14115 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14116 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14119 LTCFLAGS='$LTCFLAGS'
14120 compiler='$compiler_DEFAULT'
14122 # A function that is used when there is no print builtin or printf.
14123 func_fallback_echo ()
14125 eval 'cat <<_LTECHO_EOF
14130 # Quote evaled strings.
14145 deplibs_check_method \
14150 sharedlib_from_linklib_cmd \
14153 archiver_list_spec \
14159 lt_cv_sys_global_symbol_pipe \
14160 lt_cv_sys_global_symbol_to_cdecl \
14161 lt_cv_sys_global_symbol_to_c_name_address \
14162 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14163 nm_file_list_spec \
14164 lt_prog_compiler_no_builtin_flag \
14165 lt_prog_compiler_pic \
14166 lt_prog_compiler_wl \
14167 lt_prog_compiler_static \
14168 lt_cv_prog_compiler_c_o \
14177 export_dynamic_flag_spec \
14178 whole_archive_flag_spec \
14179 compiler_needs_object \
14181 allow_undefined_flag \
14182 no_undefined_flag \
14183 hardcode_libdir_flag_spec \
14184 hardcode_libdir_separator \
14188 variables_saved_for_relink \
14190 library_names_spec \
14192 install_override_mode \
14196 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14197 *[\\\\\\\`\\"\\\$]*)
14198 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14201 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14206 # Double-quote double-evaled strings.
14207 for var in reload_cmds \
14208 old_postinstall_cmds \
14209 old_postuninstall_cmds \
14211 extract_expsyms_cmds \
14212 old_archive_from_new_cmds \
14213 old_archive_from_expsyms_cmds \
14215 archive_expsym_cmds \
14217 module_expsym_cmds \
14218 export_symbols_cmds \
14222 postuninstall_cmds \
14224 sys_lib_search_path_spec \
14225 sys_lib_dlsearch_path_spec; do
14226 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14227 *[\\\\\\\`\\"\\\$]*)
14228 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14231 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14236 ac_aux_dir='$ac_aux_dir'
14237 xsi_shell='$xsi_shell'
14238 lt_shell_append='$lt_shell_append'
14240 # See if we are running on zsh, and set the options which allow our
14241 # commands through without removal of \ escapes INIT.
14242 if test -n "\${ZSH_VERSION+set}" ; then
14243 setopt NO_GLOB_SUBST
14249 TIMESTAMP='$TIMESTAMP'
14258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14260 # Handling of arguments.
14261 for ac_config_target in $ac_config_targets
14263 case $ac_config_target in
14264 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14265 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14266 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14267 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14268 "libdleyna/server/Makefile") CONFIG_FILES="$CONFIG_FILES libdleyna/server/Makefile" ;;
14269 "libdleyna/server/dleyna-server-1.0.pc") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-1.0.pc" ;;
14270 "libdleyna/server/dleyna-server-service.conf") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-service.conf" ;;
14271 "server/dleyna-server-service-1.0.pc") CONFIG_FILES="$CONFIG_FILES server/dleyna-server-service-1.0.pc" ;;
14272 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14273 "test/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES test/dbus/Makefile" ;;
14275 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14280 # If the user did not use the arguments to specify the items to instantiate,
14281 # then the envvar interface is used. Set only those that are not.
14282 # We use the long form for the default assignment because of an extremely
14283 # bizarre bug on SunOS 4.1.3.
14284 if $ac_need_defaults; then
14285 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14286 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14287 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14290 # Have a temporary directory for convenience. Make it in the build tree
14291 # simply because there is no reason against having it here, and in addition,
14292 # creating and moving files from /tmp can sometimes cause problems.
14293 # Hook for its removal unless debugging.
14294 # Note that there is a small window in which the directory will not be cleaned:
14295 # after its creation but before its name has been assigned to `$tmp'.
14299 trap 'exit_status=$?
14300 : "${ac_tmp:=$tmp}"
14301 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14303 trap 'as_fn_exit 1' 1 2 13 15
14305 # Create a (secure) tmp directory for tmp files.
14308 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14312 tmp=./conf$$-$RANDOM
14313 (umask 077 && mkdir "$tmp")
14314 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14317 # Set up the scripts for CONFIG_FILES section.
14318 # No need to generate them if there are no CONFIG_FILES.
14319 # This happens for instance with `./config.status config.h'.
14320 if test -n "$CONFIG_FILES"; then
14323 ac_cr=`echo X | tr X '\015'`
14324 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14325 # But we know of no other shell where ac_cr would be empty at this
14326 # point, so we can use a bashism as a fallback.
14327 if test "x$ac_cr" = x; then
14328 eval ac_cr=\$\'\\r\'
14330 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14331 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14334 ac_cs_awk_cr=$ac_cr
14337 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14342 echo "cat >conf$$subs.awk <<_ACEOF" &&
14343 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14345 } >conf$$subs.sh ||
14346 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14347 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14349 for ac_last_try in false false false false false :; do
14350 . ./conf$$subs.sh ||
14351 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14353 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14354 if test $ac_delim_n = $ac_delim_num; then
14356 elif $ac_last_try; then
14357 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14359 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14362 rm -f conf$$subs.sh
14364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14365 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14369 s/^/S["/; s/!.*/"]=/
14379 s/\(.\{148\}\)..*/\1/
14381 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14386 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14393 s/\(.\{148\}\)..*/\1/
14395 s/["\\]/\\&/g; s/^/"/; s/$/"/
14399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14404 ' <conf$$subs.awk | sed '
14409 ' >>$CONFIG_STATUS || ac_write_fail=1
14410 rm -f conf$$subs.awk
14411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14413 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14414 for (key in S) S_is_set[key] = 1
14420 nfields = split(line, field, "@")
14422 len = length(field[1])
14423 for (i = 2; i < nfields; i++) {
14425 keylen = length(key)
14426 if (S_is_set[key]) {
14428 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14429 len += length(value) + length(field[++i])
14440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14441 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14442 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14445 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14446 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14449 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14450 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14451 # trailing colons and then remove the whole line if VPATH becomes empty
14452 # (actually we leave an empty line to preserve line numbers).
14453 if test "x$srcdir" = x.; then
14454 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14473 fi # test -n "$CONFIG_FILES"
14475 # Set up the scripts for CONFIG_HEADERS section.
14476 # No need to generate them if there are no CONFIG_HEADERS.
14477 # This happens for instance with `./config.status Makefile'.
14478 if test -n "$CONFIG_HEADERS"; then
14479 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14483 # Transform confdefs.h into an awk script `defines.awk', embedded as
14484 # here-document in config.status, that substitutes the proper values into
14485 # config.h.in to produce config.h.
14487 # Create a delimiter string that does not exist in confdefs.h, to ease
14488 # handling of long lines.
14490 for ac_last_try in false false :; do
14491 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14492 if test -z "$ac_tt"; then
14494 elif $ac_last_try; then
14495 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14497 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14501 # For the awk script, D is an array of macro values keyed by name,
14502 # likewise P contains macro parameters if any. Preserve backslash
14503 # newline sequences.
14505 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14507 s/.\{148\}/&'"$ac_delim"'/g
14510 s/^[ ]*#[ ]*define[ ][ ]*/ /
14517 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14519 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14523 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14524 D["\1"]=" \3\\\\\\n"\\/p
14526 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14531 s/.\{148\}/&'"$ac_delim"'/g
14536 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14539 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14541 ' <confdefs.h | sed '
14542 s/'"$ac_delim"'/"\\\
14543 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14546 for (key in D) D_is_set[key] = 1
14549 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14551 split(line, arg, " ")
14552 if (arg[1] == "#") {
14556 defundef = substr(arg[1], 2)
14559 split(mac1, mac2, "(") #)
14561 prefix = substr(line, 1, index(line, defundef) - 1)
14562 if (D_is_set[macro]) {
14563 # Preserve the white space surrounding the "#".
14564 print prefix "define", macro P[macro] D[macro]
14567 # Replace #undef with comments. This is necessary, for example,
14568 # in the case of _POSIX_SOURCE, which is predefined and required
14569 # on some systems where configure will not decide to define it.
14570 if (defundef == "undef") {
14571 print "/*", prefix defundef, macro, "*/"
14579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14580 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14581 fi # test -n "$CONFIG_HEADERS"
14584 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14589 :[FHLC]) ac_mode=$ac_tag; continue;;
14591 case $ac_mode$ac_tag in
14593 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14594 :[FH]-) ac_tag=-:-;;
14595 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14612 -) ac_f="$ac_tmp/stdin";;
14613 *) # Look for the file first in the build tree, then in the source tree
14614 # (if the path is not absolute). The absolute path cannot be DOS-style,
14615 # because $ac_f cannot contain `:'.
14619 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14621 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14623 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14624 as_fn_append ac_file_inputs " '$ac_f'"
14627 # Let's still pretend it is `configure' which instantiates (i.e., don't
14628 # use $as_me), people would be surprised to read:
14629 # /* config.h. Generated by config.status. */
14630 configure_input='Generated from '`
14631 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14633 if test x"$ac_file" != x-; then
14634 configure_input="$ac_file. $configure_input"
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14636 $as_echo "$as_me: creating $ac_file" >&6;}
14638 # Neutralize special characters interpreted by sed in replacement strings.
14639 case $configure_input in #(
14640 *\&* | *\|* | *\\* )
14641 ac_sed_conf_input=`$as_echo "$configure_input" |
14642 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14643 *) ac_sed_conf_input=$configure_input;;
14647 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14653 ac_dir=`$as_dirname -- "$ac_file" ||
14654 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14655 X"$ac_file" : 'X\(//\)[^/]' \| \
14656 X"$ac_file" : 'X\(//\)$' \| \
14657 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14658 $as_echo X"$ac_file" |
14659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14663 /^X\(\/\/\)[^/].*/{
14676 as_dir="$ac_dir"; as_fn_mkdir_p
14680 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14682 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14683 # A ".." for each directory in $ac_dir_suffix.
14684 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14685 case $ac_top_builddir_sub in
14686 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14687 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14690 ac_abs_top_builddir=$ac_pwd
14691 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14692 # for backward compatibility:
14693 ac_top_builddir=$ac_top_build_prefix
14696 .) # We are building in place.
14698 ac_top_srcdir=$ac_top_builddir_sub
14699 ac_abs_top_srcdir=$ac_pwd ;;
14700 [\\/]* | ?:[\\/]* ) # Absolute name.
14701 ac_srcdir=$srcdir$ac_dir_suffix;
14702 ac_top_srcdir=$srcdir
14703 ac_abs_top_srcdir=$srcdir ;;
14704 *) # Relative name.
14705 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14706 ac_top_srcdir=$ac_top_build_prefix$srcdir
14707 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14709 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14719 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14720 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14722 ac_MKDIR_P=$MKDIR_P
14724 [\\/$]* | ?:[\\/]* ) ;;
14725 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14730 # If the template does not know about datarootdir, expand it.
14731 # FIXME: This hack should be removed a few years after 2.60.
14732 ac_datarootdir_hack=; ac_datarootdir_seen=
14743 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14744 *datarootdir*) ac_datarootdir_seen=yes;;
14745 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14747 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14750 ac_datarootdir_hack='
14751 s&@datadir@&$datadir&g
14752 s&@docdir@&$docdir&g
14753 s&@infodir@&$infodir&g
14754 s&@localedir@&$localedir&g
14755 s&@mandir@&$mandir&g
14756 s&\\\${datarootdir}&$datarootdir&g' ;;
14760 # Neutralize VPATH when `$srcdir' = `.'.
14761 # Shell code in configure.ac might set extrasub.
14762 # FIXME: do we really want to maintain this feature?
14763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14764 ac_sed_extra="$ac_vpsub
14767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14769 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14770 s|@configure_input@|$ac_sed_conf_input|;t t
14771 s&@top_builddir@&$ac_top_builddir_sub&;t t
14772 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14773 s&@srcdir@&$ac_srcdir&;t t
14774 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14775 s&@top_srcdir@&$ac_top_srcdir&;t t
14776 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14777 s&@builddir@&$ac_builddir&;t t
14778 s&@abs_builddir@&$ac_abs_builddir&;t t
14779 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14780 s&@INSTALL@&$ac_INSTALL&;t t
14781 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14782 $ac_datarootdir_hack
14784 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14785 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14787 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14788 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14789 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14790 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14792 which seems to be undefined. Please make sure it is defined" >&5
14793 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14794 which seems to be undefined. Please make sure it is defined" >&2;}
14796 rm -f "$ac_tmp/stdin"
14798 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14799 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14807 if test x"$ac_file" != x-; then
14809 $as_echo "/* $configure_input */" \
14810 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14811 } >"$ac_tmp/config.h" \
14812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14813 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14815 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14818 mv "$ac_tmp/config.h" "$ac_file" \
14819 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14822 $as_echo "/* $configure_input */" \
14823 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14824 || as_fn_error $? "could not create -" "$LINENO" 5
14826 # Compute "$ac_file"'s index in $config_headers.
14829 for _am_header in $config_headers :; do
14830 case $_am_header in
14831 $_am_arg | $_am_arg:* )
14834 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14837 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14838 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14839 X"$_am_arg" : 'X\(//\)[^/]' \| \
14840 X"$_am_arg" : 'X\(//\)$' \| \
14841 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14842 $as_echo X"$_am_arg" |
14843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14847 /^X\(\/\/\)[^/].*/{
14859 s/.*/./; q'`/stamp-h$_am_stamp_count
14862 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14863 $as_echo "$as_me: executing $ac_file commands" >&6;}
14868 case $ac_file$ac_mode in
14869 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14870 # Older Autoconf quotes --file arguments for eval, but not when files
14871 # are listed without --file. Let's play safe and only enable the eval
14872 # if we detect the quoting.
14873 case $CONFIG_FILES in
14874 *\'*) eval set x "$CONFIG_FILES" ;;
14875 *) set x $CONFIG_FILES ;;
14880 # Strip MF so we end up with the name of the file.
14881 mf=`echo "$mf" | sed -e 's/:.*$//'`
14882 # Check whether this is an Automake generated Makefile or not.
14883 # We used to match only the files named 'Makefile.in', but
14884 # some people rename them; so instead we look at the file content.
14885 # Grep'ing the first line is not enough: some people post-process
14886 # each Makefile.in and add a new line on top of each file to say so.
14887 # Grep'ing the whole file is not good either: AIX grep has a line
14888 # limit of 2048, but all sed's we know have understand at least 4000.
14889 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14890 dirpart=`$as_dirname -- "$mf" ||
14891 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14892 X"$mf" : 'X\(//\)[^/]' \| \
14893 X"$mf" : 'X\(//\)$' \| \
14894 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14900 /^X\(\/\/\)[^/].*/{
14916 # Extract the definition of DEPDIR, am__include, and am__quote
14917 # from the Makefile without running 'make'.
14918 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14919 test -z "$DEPDIR" && continue
14920 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14921 test -z "$am__include" && continue
14922 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14923 # Find all dependency output files, they are included files with
14924 # $(DEPDIR) in their names. We invoke sed twice because it is the
14925 # simplest approach to changing $(DEPDIR) to its actual value in the
14927 for file in `sed -n "
14928 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14929 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14930 # Make sure the directory exists.
14931 test -f "$dirpart/$file" && continue
14932 fdir=`$as_dirname -- "$file" ||
14933 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14934 X"$file" : 'X\(//\)[^/]' \| \
14935 X"$file" : 'X\(//\)$' \| \
14936 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14937 $as_echo X"$file" |
14938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14942 /^X\(\/\/\)[^/].*/{
14955 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14956 # echo "creating $dirpart/$file"
14957 echo '# dummy' > "$dirpart/$file"
14964 # See if we are running on zsh, and set the options which allow our
14965 # commands through without removal of \ escapes.
14966 if test -n "${ZSH_VERSION+set}" ; then
14967 setopt NO_GLOB_SUBST
14970 cfgfile="${ofile}T"
14971 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14974 cat <<_LT_EOF >> "$cfgfile"
14977 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14978 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14979 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14980 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14982 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14983 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14985 # Written by Gordon Matzigkeit, 1996
14987 # This file is part of GNU Libtool.
14989 # GNU Libtool is free software; you can redistribute it and/or
14990 # modify it under the terms of the GNU General Public License as
14991 # published by the Free Software Foundation; either version 2 of
14992 # the License, or (at your option) any later version.
14994 # As a special exception to the GNU General Public License,
14995 # if you distribute this file as part of a program or library that
14996 # is built using GNU Libtool, you may include this file under the
14997 # same distribution terms that you use for the rest of that program.
14999 # GNU Libtool is distributed in the hope that it will be useful,
15000 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15001 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15002 # GNU General Public License for more details.
15004 # You should have received a copy of the GNU General Public License
15005 # along with GNU Libtool; see the file COPYING. If not, a copy
15006 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15007 # obtained by writing to the Free Software Foundation, Inc.,
15008 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15011 # The names of the tagged configurations supported by this script.
15014 # ### BEGIN LIBTOOL CONFIG
15016 # Which release of libtool.m4 was used?
15017 macro_version=$macro_version
15018 macro_revision=$macro_revision
15020 # Whether or not to build static libraries.
15021 build_old_libs=$enable_static
15023 # Whether or not to build shared libraries.
15024 build_libtool_libs=$enable_shared
15026 # What type of objects to build.
15029 # Whether or not to optimize for fast installation.
15030 fast_install=$enable_fast_install
15032 # Shell to use when invoking shell scripts.
15035 # An echo program that protects backslashes.
15038 # The PATH separator for the build system.
15039 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15042 host_alias=$host_alias
15046 # The build system.
15047 build_alias=$build_alias
15051 # A sed program that does not truncate output.
15054 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15055 Xsed="\$SED -e 1s/^X//"
15057 # A grep program that handles long lines.
15063 # A literal string matcher.
15066 # A BSD- or MS-compatible name lister.
15069 # Whether we need soft or hard links.
15072 # What is the maximum length of a command?
15073 max_cmd_len=$max_cmd_len
15075 # Object file suffix (normally "o").
15078 # Executable file suffix (normally "").
15081 # whether the shell understands "unset".
15084 # turn spaces into newlines.
15087 # turn newlines into spaces.
15090 # convert \$build file names to \$host format.
15091 to_host_file_cmd=$lt_cv_to_host_file_cmd
15093 # convert \$build files to toolchain format.
15094 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15096 # An object symbol dumper.
15097 OBJDUMP=$lt_OBJDUMP
15099 # Method to check whether dependent libraries are shared objects.
15100 deplibs_check_method=$lt_deplibs_check_method
15102 # Command to use when deplibs_check_method = "file_magic".
15103 file_magic_cmd=$lt_file_magic_cmd
15105 # How to find potential files when deplibs_check_method = "file_magic".
15106 file_magic_glob=$lt_file_magic_glob
15108 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15109 want_nocaseglob=$lt_want_nocaseglob
15111 # DLL creation program.
15112 DLLTOOL=$lt_DLLTOOL
15114 # Command to associate shared and link libraries.
15115 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15120 # Flags to create an archive.
15121 AR_FLAGS=$lt_AR_FLAGS
15123 # How to feed a file listing to the archiver.
15124 archiver_list_spec=$lt_archiver_list_spec
15126 # A symbol stripping program.
15129 # Commands used to install an old-style archive.
15131 old_postinstall_cmds=$lt_old_postinstall_cmds
15132 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15134 # Whether to use a lock for old archive extraction.
15135 lock_old_archive_extraction=$lock_old_archive_extraction
15140 # LTCC compiler flags.
15141 LTCFLAGS=$lt_CFLAGS
15143 # Take the output of nm and produce a listing of raw symbols and C names.
15144 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15146 # Transform the output of nm in a proper C declaration.
15147 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15149 # Transform the output of nm in a C name address pair.
15150 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15152 # Transform the output of nm in a C name address pair when lib prefix is needed.
15153 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15155 # Specify filename containing input files for \$NM.
15156 nm_file_list_spec=$lt_nm_file_list_spec
15158 # The root where to search for dependent libraries,and in which our libraries should be installed.
15159 lt_sysroot=$lt_sysroot
15161 # The name of the directory that contains temporary libtool files.
15164 # Used to examine libraries when file_magic_cmd begins with "file".
15165 MAGIC_CMD=$MAGIC_CMD
15167 # Must we lock files when doing compilation?
15168 need_locks=$lt_need_locks
15171 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15173 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15174 DSYMUTIL=$lt_DSYMUTIL
15176 # Tool to change global to local symbols on Mac OS X.
15179 # Tool to manipulate fat objects and archives on Mac OS X.
15182 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15185 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15186 OTOOL64=$lt_OTOOL64
15188 # Old archive suffix (normally "a").
15191 # Shared library suffix (normally ".so").
15192 shrext_cmds=$lt_shrext_cmds
15194 # The commands to extract the exported symbol list from a shared archive.
15195 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15197 # Variables whose values should be saved in libtool wrapper scripts and
15198 # restored at link time.
15199 variables_saved_for_relink=$lt_variables_saved_for_relink
15201 # Do we need the "lib" prefix for modules?
15202 need_lib_prefix=$need_lib_prefix
15204 # Do we need a version for libraries?
15205 need_version=$need_version
15207 # Library versioning type.
15208 version_type=$version_type
15210 # Shared library runtime path variable.
15211 runpath_var=$runpath_var
15213 # Shared library path variable.
15214 shlibpath_var=$shlibpath_var
15216 # Is shlibpath searched before the hard-coded library search path?
15217 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15219 # Format of library name prefix.
15220 libname_spec=$lt_libname_spec
15222 # List of archive names. First name is the real one, the rest are links.
15223 # The last name is the one that the linker finds with -lNAME
15224 library_names_spec=$lt_library_names_spec
15226 # The coded name of the library, if different from the real name.
15227 soname_spec=$lt_soname_spec
15229 # Permission mode override for installation of shared libraries.
15230 install_override_mode=$lt_install_override_mode
15232 # Command to use after installation of a shared archive.
15233 postinstall_cmds=$lt_postinstall_cmds
15235 # Command to use after uninstallation of a shared archive.
15236 postuninstall_cmds=$lt_postuninstall_cmds
15238 # Commands used to finish a libtool library installation in a directory.
15239 finish_cmds=$lt_finish_cmds
15241 # As "finish_cmds", except a single script fragment to be evaled but
15243 finish_eval=$lt_finish_eval
15245 # Whether we should hardcode library paths into libraries.
15246 hardcode_into_libs=$hardcode_into_libs
15248 # Compile-time system search path for libraries.
15249 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15251 # Run-time system search path for libraries.
15252 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15254 # Whether dlopen is supported.
15255 dlopen_support=$enable_dlopen
15257 # Whether dlopen of programs is supported.
15258 dlopen_self=$enable_dlopen_self
15260 # Whether dlopen of statically linked programs is supported.
15261 dlopen_self_static=$enable_dlopen_self_static
15263 # Commands to strip libraries.
15264 old_striplib=$lt_old_striplib
15265 striplib=$lt_striplib
15268 # The linker used to build libraries.
15271 # How to create reloadable object files.
15272 reload_flag=$lt_reload_flag
15273 reload_cmds=$lt_reload_cmds
15275 # Commands used to build an old-style archive.
15276 old_archive_cmds=$lt_old_archive_cmds
15278 # A language specific compiler.
15281 # Is the compiler the GNU compiler?
15284 # Compiler flag to turn off builtin functions.
15285 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15287 # Additional compiler flags for building library objects.
15288 pic_flag=$lt_lt_prog_compiler_pic
15290 # How to pass a linker flag through the compiler.
15291 wl=$lt_lt_prog_compiler_wl
15293 # Compiler flag to prevent dynamic linking.
15294 link_static_flag=$lt_lt_prog_compiler_static
15296 # Does compiler simultaneously support -c and -o options?
15297 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15299 # Whether or not to add -lc for building shared libraries.
15300 build_libtool_need_lc=$archive_cmds_need_lc
15302 # Whether or not to disallow shared libs when runtime libs are static.
15303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15305 # Compiler flag to allow reflexive dlopens.
15306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15308 # Compiler flag to generate shared objects directly from archives.
15309 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15311 # Whether the compiler copes with passing no objects directly.
15312 compiler_needs_object=$lt_compiler_needs_object
15314 # Create an old-style archive from a shared archive.
15315 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15317 # Create a temporary old-style archive to link instead of a shared archive.
15318 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15320 # Commands used to build a shared archive.
15321 archive_cmds=$lt_archive_cmds
15322 archive_expsym_cmds=$lt_archive_expsym_cmds
15324 # Commands used to build a loadable module if different from building
15325 # a shared archive.
15326 module_cmds=$lt_module_cmds
15327 module_expsym_cmds=$lt_module_expsym_cmds
15329 # Whether we are building with GNU ld or not.
15330 with_gnu_ld=$lt_with_gnu_ld
15332 # Flag that allows shared libraries with undefined symbols to be built.
15333 allow_undefined_flag=$lt_allow_undefined_flag
15335 # Flag that enforces no undefined symbols.
15336 no_undefined_flag=$lt_no_undefined_flag
15338 # Flag to hardcode \$libdir into a binary during linking.
15339 # This must work even if \$libdir does not exist
15340 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15342 # Whether we need a single "-rpath" flag with a separated argument.
15343 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15345 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15346 # DIR into the resulting binary.
15347 hardcode_direct=$hardcode_direct
15349 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15350 # DIR into the resulting binary and the resulting library dependency is
15351 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15352 # library is relocated.
15353 hardcode_direct_absolute=$hardcode_direct_absolute
15355 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15356 # into the resulting binary.
15357 hardcode_minus_L=$hardcode_minus_L
15359 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15360 # into the resulting binary.
15361 hardcode_shlibpath_var=$hardcode_shlibpath_var
15363 # Set to "yes" if building a shared library automatically hardcodes DIR
15364 # into the library and all subsequent libraries and executables linked
15366 hardcode_automatic=$hardcode_automatic
15368 # Set to yes if linker adds runtime paths of dependent libraries
15369 # to runtime path list.
15370 inherit_rpath=$inherit_rpath
15372 # Whether libtool must link a program against all its dependency libraries.
15373 link_all_deplibs=$link_all_deplibs
15375 # Set to "yes" if exported symbols are required.
15376 always_export_symbols=$always_export_symbols
15378 # The commands to list exported symbols.
15379 export_symbols_cmds=$lt_export_symbols_cmds
15381 # Symbols that should not be listed in the preloaded symbols.
15382 exclude_expsyms=$lt_exclude_expsyms
15384 # Symbols that must always be exported.
15385 include_expsyms=$lt_include_expsyms
15387 # Commands necessary for linking programs (against libraries) with templates.
15388 prelink_cmds=$lt_prelink_cmds
15390 # Commands necessary for finishing linking programs.
15391 postlink_cmds=$lt_postlink_cmds
15393 # Specify filename containing input files.
15394 file_list_spec=$lt_file_list_spec
15396 # How to hardcode a shared library path into an executable.
15397 hardcode_action=$hardcode_action
15399 # ### END LIBTOOL CONFIG
15405 cat <<\_LT_EOF >> "$cfgfile"
15406 # AIX sometimes has problems with the GCC collect2 program. For some
15407 # reason, if we set the COLLECT_NAMES environment variable, the problems
15408 # vanish in a puff of smoke.
15409 if test "X${COLLECT_NAMES+set}" != Xset; then
15411 export COLLECT_NAMES
15418 ltmain="$ac_aux_dir/ltmain.sh"
15421 # We use sed instead of cat because bash on DJGPP gets confused if
15422 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15423 # text mode, it properly converts lines to CR/LF. This bash problem
15424 # is reportedly fixed, but why not run on old versions too?
15425 sed '$q' "$ltmain" >> "$cfgfile" \
15426 || (rm -f "$cfgfile"; exit 1)
15428 if test x"$xsi_shell" = xyes; then
15429 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15433 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15434 \ * ) func_dirname_result="${3}" ;;\
15436 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15437 && mv -f "$cfgfile.tmp" "$cfgfile" \
15438 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15439 test 0 -eq $? || _lt_function_replace_fail=:
15442 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15445 \ func_basename_result="${1##*/}"\
15446 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15447 && mv -f "$cfgfile.tmp" "$cfgfile" \
15448 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15449 test 0 -eq $? || _lt_function_replace_fail=:
15452 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15453 func_dirname_and_basename ()\
15456 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15457 \ * ) func_dirname_result="${3}" ;;\
15459 \ func_basename_result="${1##*/}"\
15460 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15461 && mv -f "$cfgfile.tmp" "$cfgfile" \
15462 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15463 test 0 -eq $? || _lt_function_replace_fail=:
15466 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15469 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15470 \ # positional parameters, so assign one to ordinary parameter first.\
15471 \ func_stripname_result=${3}\
15472 \ func_stripname_result=${func_stripname_result#"${1}"}\
15473 \ func_stripname_result=${func_stripname_result%"${2}"}\
15474 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15475 && mv -f "$cfgfile.tmp" "$cfgfile" \
15476 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15477 test 0 -eq $? || _lt_function_replace_fail=:
15480 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15481 func_split_long_opt ()\
15483 \ func_split_long_opt_name=${1%%=*}\
15484 \ func_split_long_opt_arg=${1#*=}\
15485 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15486 && mv -f "$cfgfile.tmp" "$cfgfile" \
15487 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15488 test 0 -eq $? || _lt_function_replace_fail=:
15491 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15492 func_split_short_opt ()\
15494 \ func_split_short_opt_arg=${1#??}\
15495 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15496 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15497 && mv -f "$cfgfile.tmp" "$cfgfile" \
15498 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15499 test 0 -eq $? || _lt_function_replace_fail=:
15502 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15506 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15507 \ *) func_lo2o_result=${1} ;;\
15509 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15510 && mv -f "$cfgfile.tmp" "$cfgfile" \
15511 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15512 test 0 -eq $? || _lt_function_replace_fail=:
15515 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15518 func_xform_result=${1%.*}.lo\
15519 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15520 && mv -f "$cfgfile.tmp" "$cfgfile" \
15521 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15522 test 0 -eq $? || _lt_function_replace_fail=:
15525 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15528 func_arith_result=$(( $* ))\
15529 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15530 && mv -f "$cfgfile.tmp" "$cfgfile" \
15531 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15532 test 0 -eq $? || _lt_function_replace_fail=:
15535 sed -e '/^func_len ()$/,/^} # func_len /c\
15538 func_len_result=${#1}\
15539 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15540 && mv -f "$cfgfile.tmp" "$cfgfile" \
15541 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15542 test 0 -eq $? || _lt_function_replace_fail=:
15546 if test x"$lt_shell_append" = xyes; then
15547 sed -e '/^func_append ()$/,/^} # func_append /c\
15550 eval "${1}+=\\${2}"\
15551 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15552 && mv -f "$cfgfile.tmp" "$cfgfile" \
15553 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15554 test 0 -eq $? || _lt_function_replace_fail=:
15557 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15558 func_append_quoted ()\
15560 \ func_quote_for_eval "${2}"\
15561 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15562 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15563 && mv -f "$cfgfile.tmp" "$cfgfile" \
15564 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15565 test 0 -eq $? || _lt_function_replace_fail=:
15568 # Save a `func_append' function call where possible by direct use of '+='
15569 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15570 && mv -f "$cfgfile.tmp" "$cfgfile" \
15571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15572 test 0 -eq $? || _lt_function_replace_fail=:
15574 # Save a `func_append' function call even when '+=' is not available
15575 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15576 && mv -f "$cfgfile.tmp" "$cfgfile" \
15577 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15578 test 0 -eq $? || _lt_function_replace_fail=:
15581 if test x"$_lt_function_replace_fail" = x":"; then
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15583 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15587 mv -f "$cfgfile" "$ofile" ||
15588 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15599 ac_clean_files=$ac_clean_files_save
15601 test $ac_write_fail = 0 ||
15602 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15605 # configure is writing to config.log, and then calls config.status.
15606 # config.status does its own redirection, appending to config.log.
15607 # Unfortunately, on DOS this fails, as config.log is still kept open
15608 # by configure, so config.status won't be able to write to it; its
15609 # output is simply discarded. So we exec the FD to /dev/null,
15610 # effectively closing config.log, so it can be properly (re)opened and
15611 # appended to by config.status. When coming back to configure, we
15612 # need to make the FD available again.
15613 if test "$no_create" != yes; then
15615 ac_config_status_args=
15616 test "$silent" = yes &&
15617 ac_config_status_args="$ac_config_status_args --quiet"
15619 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15621 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15622 # would make configure fail if this is the last instruction.
15623 $ac_cs_success || as_fn_exit 1
15625 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15627 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15631 $as_echo "-------------------------------------------------
15633 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
15635 Prefix : '${prefix}'
15637 CFLAGS : '${CFLAGS}'
15640 - enable-werror : ${enable_werror}
15641 - enable-debug : ${enable_debug}
15642 - enable-never-quit : ${enable_never_quit}
15643 - with-connector-name : ${with_connector_name}
15644 - disable-optimization : ${disable_optimization}
15645 - with-log-level : ${with_log_level}
15646 - with-log-type : ${with_log_type}
15647 - with-ua-prefix : ${with_ua_prefix}
15648 - enable-lib-only : ${enable_lib_only}
15649 - with-dbus-service-dir : ${with_dbus_service_dir}
15651 --------------------------------------------------"