2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dleyna-renderer 0.4.0.
5 # Report bugs to <https://github.com/01org/dleyna-renderer/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-renderer/issues/new
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='dleyna-renderer'
593 PACKAGE_TARNAME='dleyna-renderer'
594 PACKAGE_VERSION='0.4.0'
595 PACKAGE_STRING='dleyna-renderer 0.4.0'
596 PACKAGE_BUGREPORT='https://github.com/01org/dleyna-renderer/issues/new'
597 PACKAGE_URL='https://01.org/dleyna/'
599 ac_unique_file="libdleyna/renderer/server.c"
600 ac_default_prefix=/usr/local
601 # Factoring default headers for most tests.
602 ac_includes_default="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars='am__EXEEXT_FALSE
644 DLEYNA_INTERFACE_PUSH_HOST
645 DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE
646 DLEYNA_SERVER_INTERFACE_MANAGER
719 MAINTAINER_MODE_FALSE
733 INSTALL_STRIP_PROGRAM
775 program_transform_name
788 enable_option_checking
790 enable_maintainer_mode
791 enable_dependency_tracking
808 with_dbus_service_dir
811 ac_precious_vars='build_alias
841 # Initialize some variables set by options.
843 ac_init_version=false
844 ac_unrecognized_opts=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name=s,x,x,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917 -build | --build | --buil | --bui | --bu)
918 ac_prev=build_alias ;;
919 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920 build_alias=$ac_optarg ;;
922 -cache-file | --cache-file | --cache-fil | --cache-fi \
923 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924 ac_prev=cache_file ;;
925 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927 cache_file=$ac_optarg ;;
930 cache_file=config.cache ;;
932 -datadir | --datadir | --datadi | --datad)
934 -datadir=* | --datadir=* | --datadi=* | --datad=*)
935 datadir=$ac_optarg ;;
937 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938 | --dataroo | --dataro | --datar)
939 ac_prev=datarootdir ;;
940 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942 datarootdir=$ac_optarg ;;
944 -disable-* | --disable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=\$ac_optarg ;;
986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988 | --exec | --exe | --ex)
989 ac_prev=exec_prefix ;;
990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992 | --exec=* | --exe=* | --ex=*)
993 exec_prefix=$ac_optarg ;;
995 -gas | --gas | --ga | --g)
996 # Obsolete; use --with-gas.
999 -help | --help | --hel | --he | -h)
1000 ac_init_help=long ;;
1001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002 ac_init_help=recursive ;;
1003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004 ac_init_help=short ;;
1006 -host | --host | --hos | --ho)
1007 ac_prev=host_alias ;;
1008 -host=* | --host=* | --hos=* | --ho=*)
1009 host_alias=$ac_optarg ;;
1011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 htmldir=$ac_optarg ;;
1017 -includedir | --includedir | --includedi | --included | --include \
1018 | --includ | --inclu | --incl | --inc)
1019 ac_prev=includedir ;;
1020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021 | --includ=* | --inclu=* | --incl=* | --inc=*)
1022 includedir=$ac_optarg ;;
1024 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027 infodir=$ac_optarg ;;
1029 -libdir | --libdir | --libdi | --libd)
1031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032 libdir=$ac_optarg ;;
1034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035 | --libexe | --libex | --libe)
1036 ac_prev=libexecdir ;;
1037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038 | --libexe=* | --libex=* | --libe=*)
1039 libexecdir=$ac_optarg ;;
1041 -localedir | --localedir | --localedi | --localed | --locale)
1042 ac_prev=localedir ;;
1043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044 localedir=$ac_optarg ;;
1046 -localstatedir | --localstatedir | --localstatedi | --localstated \
1047 | --localstate | --localstat | --localsta | --localst | --locals)
1048 ac_prev=localstatedir ;;
1049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051 localstatedir=$ac_optarg ;;
1053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056 mandir=$ac_optarg ;;
1058 -nfp | --nfp | --nf)
1059 # Obsolete; use --without-fp.
1062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063 | --no-cr | --no-c | -n)
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072 | --oldin | --oldi | --old | --ol | --o)
1073 ac_prev=oldincludedir ;;
1074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077 oldincludedir=$ac_optarg ;;
1079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082 prefix=$ac_optarg ;;
1084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085 | --program-pre | --program-pr | --program-p)
1086 ac_prev=program_prefix ;;
1087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089 program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 program_suffix=$ac_optarg ;;
1098 -program-transform-name | --program-transform-name \
1099 | --program-transform-nam | --program-transform-na \
1100 | --program-transform-n | --program-transform- \
1101 | --program-transform | --program-transfor \
1102 | --program-transfo | --program-transf \
1103 | --program-trans | --program-tran \
1104 | --progr-tra | --program-tr | --program-t)
1105 ac_prev=program_transform_name ;;
1106 -program-transform-name=* | --program-transform-name=* \
1107 | --program-transform-nam=* | --program-transform-na=* \
1108 | --program-transform-n=* | --program-transform-=* \
1109 | --program-transform=* | --program-transfor=* \
1110 | --program-transfo=* | --program-transf=* \
1111 | --program-trans=* | --program-tran=* \
1112 | --progr-tra=* | --program-tr=* | --program-t=*)
1113 program_transform_name=$ac_optarg ;;
1115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118 pdfdir=$ac_optarg ;;
1120 -psdir | --psdir | --psdi | --psd | --ps)
1122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126 | -silent | --silent | --silen | --sile | --sil)
1129 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 sbindir=$ac_optarg ;;
1135 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137 | --sharedst | --shareds | --shared | --share | --shar \
1139 ac_prev=sharedstatedir ;;
1140 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 sharedstatedir=$ac_optarg ;;
1146 -site | --site | --sit)
1148 -site=* | --site=* | --sit=*)
1151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154 srcdir=$ac_optarg ;;
1156 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157 | --syscon | --sysco | --sysc | --sys | --sy)
1158 ac_prev=sysconfdir ;;
1159 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161 sysconfdir=$ac_optarg ;;
1163 -target | --target | --targe | --targ | --tar | --ta | --t)
1164 ac_prev=target_alias ;;
1165 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166 target_alias=$ac_optarg ;;
1168 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 -version | --version | --versio | --versi | --vers | -V)
1172 ac_init_version=: ;;
1175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 as_fn_error $? "invalid package name: $ac_useropt"
1179 ac_useropt_orig=$ac_useropt
1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep=', ';;
1188 eval with_$ac_useropt=\$ac_optarg ;;
1190 -without-* | --without-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=no ;;
1207 # Obsolete; use --with-x.
1210 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211 | --x-incl | --x-inc | --x-in | --x-i)
1212 ac_prev=x_includes ;;
1213 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215 x_includes=$ac_optarg ;;
1217 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219 ac_prev=x_libraries ;;
1220 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222 x_libraries=$ac_optarg ;;
1224 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' | [0-9]* | *[!_$as_cr_alnum]* )
1233 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $? "missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val=\$$ac_var
1269 # Remove trailing slashes.
1272 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$]* | ?:[\\/]* ) continue;;
1278 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292 if test "x$build_alias" = x; then
1293 cross_compiling=maybe
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302 test "$silent" = yes && exec 6>/dev/null
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error $? "pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var in $ac_precious_vars; do
1366 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_${ac_var}_value=\$${ac_var}
1368 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures dleyna-renderer 0.4.0 to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking ...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/dleyna-renderer]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1442 --build=BUILD configure for building on BUILD [guessed]
1443 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 if test -n "$ac_init_help"; then
1448 case $ac_init_help in
1449 short | recursive ) echo "Configuration of dleyna-renderer 0.4.0:";;
1454 --disable-option-checking ignore unrecognized --enable/--with options
1455 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1456 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1457 --enable-silent-rules less verbose build output (undo: "make V=1")
1458 --disable-silent-rules verbose build output (undo: "make V=0")
1459 --enable-maintainer-mode
1460 enable make rules and dependencies not useful (and
1461 sometimes confusing) to the casual installer
1462 --enable-dependency-tracking
1463 do not reject slow dependency extractors
1464 --disable-dependency-tracking
1465 speeds up one-time build
1466 --enable-static[=PKGS] build static libraries [default=no]
1467 --enable-shared[=PKGS] build shared libraries [default=yes]
1468 --enable-fast-install[=PKGS]
1469 optimize for fast installation [default=yes]
1470 --disable-libtool-lock avoid locking (might break parallel builds)
1472 --enable-debug enable compiling with debugging information
1473 --enable-werror warnings are treated as errors
1474 --disable-optimization disable code optimization through compiler
1475 --enable-never-quit Service doesn't quit when last client disconnects
1476 --enable-lib-only compile only the libdleyna-renderer library
1479 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1480 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1481 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1483 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1484 --with-sysroot=DIR Search for dependent libraries within DIR
1485 (or the compiler's sysroot if not specified).
1486 --with-connector-name IPC connector name
1487 --with-log-level enable logging information (0,1..6,7,8) 0=disabled
1488 7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1489 comma separated list of log level
1490 --with-log-type Select log output technology 0=syslog 1=GLib
1491 --with-ua-prefix Specify a user agent prefix
1492 --with-dbus-service-dir=PATH
1493 choose directory for dbus service files,
1494 [default=PREFIX/share/dbus-1/services]
1496 Some influential environment variables:
1497 CC C compiler command
1498 CFLAGS C compiler flags
1499 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1500 nonstandard directory <lib dir>
1501 LIBS libraries to pass to the linker, e.g. -l<library>
1502 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1503 you have headers in a nonstandard directory <include dir>
1505 PKG_CONFIG path to pkg-config utility
1507 directories to add to pkg-config's search path
1509 path overriding pkg-config's built-in search path
1510 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1511 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1512 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1513 GIO_LIBS linker flags for GIO, overriding pkg-config
1515 C compiler flags for GSSDP, overriding pkg-config
1516 GSSDP_LIBS linker flags for GSSDP, overriding pkg-config
1518 C compiler flags for GUPNP, overriding pkg-config
1519 GUPNP_LIBS linker flags for GUPNP, overriding pkg-config
1521 C compiler flags for GUPNPAV, overriding pkg-config
1523 linker flags for GUPNPAV, overriding pkg-config
1525 C compiler flags for GUPNPDLNA, overriding pkg-config
1527 linker flags for GUPNPDLNA, overriding pkg-config
1528 SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1529 SOUP_LIBS linker flags for SOUP, overriding pkg-config
1531 C compiler flags for DLEYNA_CORE, overriding pkg-config
1533 linker flags for DLEYNA_CORE, overriding pkg-config
1535 Use these variables to override the choices made by `configure' or to help
1536 it to find libraries and programs with nonstandard names/locations.
1538 Report bugs to <https://github.com/01org/dleyna-renderer/issues/new>.
1539 dleyna-renderer home page: <https://01.org/dleyna/>.
1544 if test "$ac_init_help" = "recursive"; then
1545 # If there are subdirs, report their specific --help.
1546 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547 test -d "$ac_dir" ||
1548 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556 # A ".." for each directory in $ac_dir_suffix.
1557 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558 case $ac_top_builddir_sub in
1559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1569 .) # We are building in place.
1571 ac_top_srcdir=$ac_top_builddir_sub
1572 ac_abs_top_srcdir=$ac_pwd ;;
1573 [\\/]* | ?:[\\/]* ) # Absolute name.
1574 ac_srcdir=$srcdir$ac_dir_suffix;
1575 ac_top_srcdir=$srcdir
1576 ac_abs_top_srcdir=$srcdir ;;
1578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579 ac_top_srcdir=$ac_top_build_prefix$srcdir
1580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584 cd "$ac_dir" || { ac_status=$?; continue; }
1585 # Check for guested configure.
1586 if test -f "$ac_srcdir/configure.gnu"; then
1588 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589 elif test -f "$ac_srcdir/configure"; then
1591 $SHELL "$ac_srcdir/configure" --help=recursive
1593 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595 cd "$ac_pwd" || { ac_status=$?; break; }
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1602 dleyna-renderer configure 0.4.0
1603 generated by GNU Autoconf 2.69
1605 Copyright (C) 2012 Free Software Foundation, Inc.
1606 This configure script is free software; the Free Software Foundation
1607 gives unlimited permission to copy, distribute and modify it.
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext
1623 if { { ac_try="$ac_compile"
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_c_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652 } # ac_fn_c_try_compile
1654 # ac_fn_c_try_link LINENO
1655 # -----------------------
1656 # Try to link conftest.$ac_ext, and return whether this succeeded.
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 rm -f conftest.$ac_objext conftest$ac_exeext
1661 if { { ac_try="$ac_link"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_link") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest$ac_exeext && {
1680 test "$cross_compiling" = yes ||
1681 test -x conftest$ac_exeext
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.$ac_ext >&5
1690 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1691 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1692 # interfere with the next link command; also delete a directory that is
1693 # left behind by Apple's compiler. We do this before executing the actions.
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1698 } # ac_fn_c_try_link
1700 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1701 # -------------------------------------------------------
1702 # Tests whether HEADER exists and can be compiled using the include files in
1703 # INCLUDES, setting the cache variable VAR accordingly.
1704 ac_fn_c_check_header_compile ()
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if eval \${$3+:} false; then :
1710 $as_echo_n "(cached) " >&6
1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h. */
1717 if ac_fn_c_try_compile "$LINENO"; then :
1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1726 $as_echo "$ac_res" >&6; }
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 } # ac_fn_c_check_header_compile
1731 # ac_fn_c_try_cpp LINENO
1732 # ----------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if { { ac_try="$ac_cpp conftest.$ac_ext"
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } > conftest.i && {
1753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status $ac_retval
1768 # ac_fn_c_try_run LINENO
1769 # ----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1771 # that executables *can* be run.
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 if { { ac_try="$ac_link"
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>&5
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1786 { { case "(($ac_try" in
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_try") 2>&5
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; }; }; then :
1798 $as_echo "$as_me: program exited with status $ac_status" >&5
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1802 ac_retval=$ac_status
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 as_fn_set_status $ac_retval
1810 # ac_fn_c_check_func LINENO FUNC VAR
1811 # ----------------------------------
1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1813 ac_fn_c_check_func ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819 $as_echo_n "(cached) " >&6
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1825 #define $2 innocuous_$2
1827 /* System header to define __stub macros and hopefully few prototypes,
1828 which can conflict with char $2 (); below.
1829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830 <limits.h> exists even on freestanding compilers. */
1833 # include <limits.h>
1835 # include <assert.h>
1840 /* Override any GCC internal prototype to avoid an error.
1841 Use char because int might match the return type of a GCC
1842 builtin and then its argument prototype would still apply. */
1847 /* The GNU C library defines this for functions which it implements
1848 to always fail with ENOSYS. Some functions are actually named
1849 something starting with __ and the normal name is an alias. */
1850 #if defined __stub_$2 || defined __stub___$2
1862 if ac_fn_c_try_link "$LINENO"; then :
1867 rm -f core conftest.err conftest.$ac_objext \
1868 conftest$ac_exeext conftest.$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 } # ac_fn_c_check_func
1877 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1878 # -------------------------------------------------------
1879 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1880 # the include files in INCLUDES and setting the cache variable VAR
1882 ac_fn_c_check_header_mongrel ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 if eval \${$3+:} false; then :
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1895 # Is the header compilable?
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1897 $as_echo_n "checking $2 usability... " >&6; }
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1903 if ac_fn_c_try_compile "$LINENO"; then :
1904 ac_header_compiler=yes
1906 ac_header_compiler=no
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1910 $as_echo "$ac_header_compiler" >&6; }
1912 # Is the header present?
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1914 $as_echo_n "checking $2 presence... " >&6; }
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1919 if ac_fn_c_try_cpp "$LINENO"; then :
1920 ac_header_preproc=yes
1922 ac_header_preproc=no
1924 rm -f conftest.err conftest.i conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1926 $as_echo "$ac_header_preproc" >&6; }
1928 # So? What about this header?
1929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1932 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1938 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1940 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1942 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1944 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1946 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1947 ( $as_echo "## ------------------------------------------------------------------ ##
1948 ## Report this to https://github.com/01org/dleyna-renderer/issues/new ##
1949 ## ------------------------------------------------------------------ ##"
1950 ) | sed "s/^/$as_me: WARNING: /" >&2
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if eval \${$3+:} false; then :
1956 $as_echo_n "(cached) " >&6
1958 eval "$3=\$ac_header_compiler"
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962 $as_echo "$ac_res" >&6; }
1964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1966 } # ac_fn_c_check_header_mongrel
1968 # ac_fn_c_find_uintX_t LINENO BITS VAR
1969 # ------------------------------------
1970 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1972 ac_fn_c_find_uintX_t ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1976 $as_echo_n "checking for uint$2_t... " >&6; }
1977 if eval \${$3+:} false; then :
1978 $as_echo_n "(cached) " >&6
1981 # Order is important - never check a type that is potentially smaller
1982 # than half of the expected target width.
1983 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1984 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1987 $ac_includes_default
1991 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1993 return test_array [0];
1999 if ac_fn_c_try_compile "$LINENO"; then :
2004 eval "$3=\$ac_type" ;;
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 if eval test \"x\$"$3"\" = x"no"; then :
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017 $as_echo "$ac_res" >&6; }
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020 } # ac_fn_c_find_uintX_t
2022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2023 # -------------------------------------------
2024 # Tests whether TYPE exists after having included INCLUDES, setting cache
2025 # variable VAR accordingly.
2026 ac_fn_c_check_type ()
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \${$3+:} false; then :
2032 $as_echo_n "(cached) " >&6
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2047 if ac_fn_c_try_compile "$LINENO"; then :
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2060 if ac_fn_c_try_compile "$LINENO"; then :
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_type
2075 cat >config.log <<_ACEOF
2076 This file contains any messages produced by compilers while
2077 running configure, to aid debugging if configure makes a mistake.
2079 It was created by dleyna-renderer $as_me 0.4.0, which was
2080 generated by GNU Autoconf 2.69. Invocation command line was
2092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2099 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2101 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2102 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2104 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2105 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2106 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2107 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir=.
2116 $as_echo "PATH: $as_dir"
2132 # Keep a trace of the command line.
2133 # Strip out --no-create and --no-recursion so they do not pile up.
2134 # Strip out --silent because we don't want to record it for future runs.
2135 # Also quote any args containing shell meta-characters.
2136 # Make two passes to allow for proper duplicate-argument suppression.
2140 ac_must_keep_next=false
2146 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148 | -silent | --silent | --silen | --sile | --sil)
2151 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2154 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2156 as_fn_append ac_configure_args1 " '$ac_arg'"
2157 if test $ac_must_keep_next = true; then
2158 ac_must_keep_next=false # Got value, back to normal.
2161 *=* | --config-cache | -C | -disable-* | --disable-* \
2162 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2163 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2164 | -with-* | --with-* | -without-* | --without-* | --x)
2165 case "$ac_configure_args0 " in
2166 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2169 -* ) ac_must_keep_next=true ;;
2172 as_fn_append ac_configure_args " '$ac_arg'"
2177 { ac_configure_args0=; unset ac_configure_args0;}
2178 { ac_configure_args1=; unset ac_configure_args1;}
2180 # When interrupted or exit'd, cleanup temporary files, and complete
2181 # config.log. We remove comments because anyway the quotes in there
2182 # would cause problems or look ugly.
2183 # WARNING: Use '\'' to represent an apostrophe within the trap.
2184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2185 trap 'exit_status=$?
2186 # Save into config.log some information that might help in debugging.
2190 $as_echo "## ---------------- ##
2191 ## Cache variables. ##
2192 ## ---------------- ##"
2194 # The following way of writing the cache mishandles newlines in values,
2196 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2197 eval ac_val=\$$ac_var
2201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2205 _ | IFS | as_nl) ;; #(
2206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207 *) { eval $ac_var=; unset $ac_var;} ;;
2212 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2213 *${as_nl}ac_space=\ *)
2215 "s/'\''/'\''\\\\'\'''\''/g;
2216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226 $as_echo "## ----------------- ##
2227 ## Output variables. ##
2228 ## ----------------- ##"
2230 for ac_var in $ac_subst_vars
2232 eval ac_val=\$$ac_var
2234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236 $as_echo "$ac_var='\''$ac_val'\''"
2240 if test -n "$ac_subst_files"; then
2241 $as_echo "## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##"
2245 for ac_var in $ac_subst_files
2247 eval ac_val=\$$ac_var
2249 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2251 $as_echo "$ac_var='\''$ac_val'\''"
2256 if test -s confdefs.h; then
2257 $as_echo "## ----------- ##
2264 test "$ac_signal" != 0 &&
2265 $as_echo "$as_me: caught signal $ac_signal"
2266 $as_echo "$as_me: exit $exit_status"
2268 rm -f core *.core core.conftest.* &&
2269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2272 for ac_signal in 1 2 13 15; do
2273 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2280 $as_echo "/* confdefs.h */" > confdefs.h
2282 # Predefined preprocessor variables.
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_NAME "$PACKAGE_NAME"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_URL "$PACKAGE_URL"
2309 # Let the site file select an alternate cache file if it wants to.
2310 # Prefer an explicitly selected file to automatically selected ones.
2313 if test -n "$CONFIG_SITE"; then
2314 # We do not want a PATH search for config.site.
2315 case $CONFIG_SITE in #((
2316 -*) ac_site_file1=./$CONFIG_SITE;;
2317 */*) ac_site_file1=$CONFIG_SITE;;
2318 *) ac_site_file1=./$CONFIG_SITE;;
2320 elif test "x$prefix" != xNONE; then
2321 ac_site_file1=$prefix/share/config.site
2322 ac_site_file2=$prefix/etc/config.site
2324 ac_site_file1=$ac_default_prefix/share/config.site
2325 ac_site_file2=$ac_default_prefix/etc/config.site
2327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2329 test "x$ac_site_file" = xNONE && continue
2330 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2333 sed 's/^/| /' "$ac_site_file" >&5
2335 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 as_fn_error $? "failed to load site script $ac_site_file
2338 See \`config.log' for more details" "$LINENO" 5; }
2342 if test -r "$cache_file"; then
2343 # Some versions of bash will fail to source /dev/null (special files
2344 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2345 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
2349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350 *) . "./$cache_file";;
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
2359 # Check that the precious variables saved in the cache have kept the same
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364 eval ac_new_set=\$ac_env_${ac_var}_set
2365 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366 eval ac_new_val=\$ac_env_${ac_var}_value
2367 case $ac_old_set,$ac_new_set in
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371 ac_cache_corrupted=: ;;
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2374 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375 ac_cache_corrupted=: ;;
2378 if test "x$ac_old_val" != "x$ac_new_val"; then
2379 # differences in whitespace do not lead to failure.
2380 ac_old_val_w=`echo x $ac_old_val`
2381 ac_new_val_w=`echo x $ac_new_val`
2382 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2385 ac_cache_corrupted=:
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2389 eval $ac_var=\$ac_old_val
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2392 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2394 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2397 # Pass precious variables to config.status.
2398 if test "$ac_new_set" = set; then
2400 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2401 *) ac_arg=$ac_var=$ac_new_val ;;
2403 case " $ac_configure_args " in
2404 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2405 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2409 if $ac_cache_corrupted; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2414 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2416 ## -------------------- ##
2417 ## Main body of script. ##
2418 ## -------------------- ##
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2428 ac_config_headers="$ac_config_headers config.h"
2431 for ac_dir in build-aux "$srcdir"/build-aux; do
2432 if test -f "$ac_dir/install-sh"; then
2434 ac_install_sh="$ac_aux_dir/install-sh -c"
2436 elif test -f "$ac_dir/install.sh"; then
2438 ac_install_sh="$ac_aux_dir/install.sh -c"
2440 elif test -f "$ac_dir/shtool"; then
2442 ac_install_sh="$ac_aux_dir/shtool install -c"
2446 if test -z "$ac_aux_dir"; then
2447 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2456 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2464 am__api_version='1.14'
2466 # Find a good install program. We prefer a C program (faster),
2467 # so one script is as good as another. But avoid the broken or
2468 # incompatible versions:
2469 # SysV /etc/install, /usr/sbin/install
2470 # SunOS /usr/etc/install
2471 # IRIX /sbin/install
2473 # AmigaOS /C/install, which installs bootblocks on floppy discs
2474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2477 # OS/2's system install, which has a completely different semantic
2478 # ./install, which can be erroneously created by make from ./install.sh.
2479 # Reject install programs that cannot install multiple files.
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2481 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2482 if test -z "$INSTALL"; then
2483 if ${ac_cv_path_install+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490 test -z "$as_dir" && as_dir=.
2491 # Account for people who put trailing slashes in PATH elements.
2492 case $as_dir/ in #((
2493 ./ | .// | /[cC]/* | \
2494 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2495 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2498 # OSF1 and SCO ODT 3.0 have their own names for install.
2499 # Don't use installbsd from OSF since it installs stuff as root
2501 for ac_prog in ginstall scoinst install; do
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2504 if test $ac_prog = install &&
2505 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2506 # AIX install. It has an incompatible calling convention.
2508 elif test $ac_prog = install &&
2509 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2510 # program-specific install script used by HP pwplus--don't use.
2513 rm -rf conftest.one conftest.two conftest.dir
2514 echo one > conftest.one
2515 echo two > conftest.two
2517 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2518 test -s conftest.one && test -s conftest.two &&
2519 test -s conftest.dir/conftest.one &&
2520 test -s conftest.dir/conftest.two
2522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2535 rm -rf conftest.one conftest.two conftest.dir
2538 if test "${ac_cv_path_install+set}" = set; then
2539 INSTALL=$ac_cv_path_install
2541 # As a last resort, use the slow shell script. Don't cache a
2542 # value for INSTALL within a source directory, because that will
2543 # break other packages using the cache if that directory is
2544 # removed, or if the value is a relative name.
2545 INSTALL=$ac_install_sh
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2549 $as_echo "$INSTALL" >&6; }
2551 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2552 # It thinks the first close brace ends the variable substitution.
2553 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2555 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2557 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2560 $as_echo_n "checking whether build environment is sane... " >&6; }
2561 # Reject unsafe characters in $srcdir or the absolute working directory
2562 # name. Accept space and tab only in the latter.
2566 *[\\\"\#\$\&\'\`$am_lf]*)
2567 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2570 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2571 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2574 # Do 'set' in a subshell so we don't clobber the current shell's
2575 # arguments. Must try -L first in case configure is actually a
2576 # symlink; some systems play weird games with the mod time of symlinks
2577 # (eg FreeBSD returns the mod time of the symlink's containing
2581 for am_try in 1 2; do
2582 echo "timestamp, slept: $am_has_slept" > conftest.file
2583 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2584 if test "$*" = "X"; then
2586 set X `ls -t "$srcdir/configure" conftest.file`
2588 if test "$*" != "X $srcdir/configure conftest.file" \
2589 && test "$*" != "X conftest.file $srcdir/configure"; then
2591 # If neither matched, then we have a broken ls. This can happen
2592 # if, for instance, CONFIG_SHELL is bash and it inherits a
2593 # broken ls alias from the environment. This has actually
2594 # happened. Such a system could not be considered "sane".
2595 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2596 alias in your environment" "$LINENO" 5
2598 if test "$2" = conftest.file || test $am_try -eq 2; then
2605 test "$2" = conftest.file
2611 as_fn_error $? "newly created file is older than distributed files!
2612 Check your system clock" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2616 # If we didn't sleep, we still need to ensure time stamps of config.status and
2617 # generated files are strictly newer.
2619 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2626 test "$program_prefix" != NONE &&
2627 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2628 # Use a double $ so make ignores it.
2629 test "$program_suffix" != NONE &&
2630 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2631 # Double any \ or $.
2632 # By default was `s,x,x', remove it if useless.
2633 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2634 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2636 # expand $ac_aux_dir to an absolute path
2637 am_aux_dir=`cd $ac_aux_dir && pwd`
2639 if test x"${MISSING+set}" != xset; then
2642 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2644 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2647 # Use eval to expand $SHELL
2648 if eval "$MISSING --is-lightweight"; then
2649 am_missing_run="$MISSING "
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2653 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2656 if test x"${install_sh}" != xset; then
2659 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2661 install_sh="\${SHELL} $am_aux_dir/install-sh"
2665 # Installed binaries are usually stripped using 'strip' when the user
2666 # run "make install-strip". However 'strip' might not be the right
2667 # tool to use in cross-compilation environments, therefore Automake
2668 # will honor the 'STRIP' environment variable to overrule this program.
2669 if test "$cross_compiling" != no; then
2670 if test -n "$ac_tool_prefix"; then
2671 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2672 set dummy ${ac_tool_prefix}strip; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_STRIP+:} false; then :
2676 $as_echo_n "(cached) " >&6
2678 if test -n "$STRIP"; then
2679 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685 test -z "$as_dir" && as_dir=.
2686 for ac_exec_ext in '' $ac_executable_extensions; do
2687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 STRIP=$ac_cv_prog_STRIP
2699 if test -n "$STRIP"; then
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2701 $as_echo "$STRIP" >&6; }
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2709 if test -z "$ac_cv_prog_STRIP"; then
2711 # Extract the first word of "strip", so it can be a program name with args.
2712 set dummy strip; ac_word=$2
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714 $as_echo_n "checking for $ac_word... " >&6; }
2715 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2716 $as_echo_n "(cached) " >&6
2718 if test -n "$ac_ct_STRIP"; then
2719 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 test -z "$as_dir" && as_dir=.
2726 for ac_exec_ext in '' $ac_executable_extensions; do
2727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2728 ac_cv_prog_ac_ct_STRIP="strip"
2729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2739 if test -n "$ac_ct_STRIP"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2741 $as_echo "$ac_ct_STRIP" >&6; }
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2744 $as_echo "no" >&6; }
2747 if test "x$ac_ct_STRIP" = x; then
2750 case $cross_compiling:$ac_tool_warned in
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2754 ac_tool_warned=yes ;;
2759 STRIP="$ac_cv_prog_STRIP"
2763 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2766 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2767 if test -z "$MKDIR_P"; then
2768 if ${ac_cv_path_mkdir+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2775 test -z "$as_dir" && as_dir=.
2776 for ac_prog in mkdir gmkdir; do
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2779 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2780 'mkdir (GNU coreutils) '* | \
2781 'mkdir (coreutils) '* | \
2782 'mkdir (fileutils) '4.1*)
2783 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2793 test -d ./--version && rmdir ./--version
2794 if test "${ac_cv_path_mkdir+set}" = set; then
2795 MKDIR_P="$ac_cv_path_mkdir -p"
2797 # As a last resort, use the slow shell script. Don't cache a
2798 # value for MKDIR_P within a source directory, because that will
2799 # break other packages using the cache if that directory is
2800 # removed, or if the value is a relative name.
2801 MKDIR_P="$ac_install_sh -d"
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2805 $as_echo "$MKDIR_P" >&6; }
2807 for ac_prog in gawk mawk nawk awk
2809 # Extract the first word of "$ac_prog", so it can be a program name with args.
2810 set dummy $ac_prog; ac_word=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_AWK+:} false; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$AWK"; then
2817 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_AWK="$ac_prog"
2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 if test -n "$AWK"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2839 $as_echo "$AWK" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2846 test -n "$AWK" && break
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2850 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2852 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2853 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2854 $as_echo_n "(cached) " >&6
2856 cat >conftest.make <<\_ACEOF
2859 @echo '@@@%%%=$(MAKE)=@@@%%%'
2861 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2862 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2864 eval ac_cv_prog_make_${ac_make}_set=yes;;
2866 eval ac_cv_prog_make_${ac_make}_set=no;;
2870 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 $as_echo "no" >&6; }
2877 SET_MAKE="MAKE=${MAKE-make}"
2880 rm -rf .tst 2>/dev/null
2881 mkdir .tst 2>/dev/null
2882 if test -d .tst; then
2887 rmdir .tst 2>/dev/null
2889 # Check whether --enable-silent-rules was given.
2890 if test "${enable_silent_rules+set}" = set; then :
2891 enableval=$enable_silent_rules;
2894 case $enable_silent_rules in # (((
2895 yes) AM_DEFAULT_VERBOSITY=0;;
2896 no) AM_DEFAULT_VERBOSITY=1;;
2897 *) AM_DEFAULT_VERBOSITY=1;;
2899 am_make=${MAKE-make}
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2901 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2902 if ${am_cv_make_support_nested_variables+:} false; then :
2903 $as_echo_n "(cached) " >&6
2905 if $as_echo 'TRUE=$(BAR$(V))
2911 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2912 am_cv_make_support_nested_variables=yes
2914 am_cv_make_support_nested_variables=no
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2918 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2919 if test $am_cv_make_support_nested_variables = yes; then
2921 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2923 AM_V=$AM_DEFAULT_VERBOSITY
2924 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2928 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2929 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2930 # is not polluted with repeated "-I."
2931 am__isrc=' -I$(srcdir)'
2932 # test to see if srcdir already configured
2933 if test -f $srcdir/config.status; then
2934 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2938 # test whether we have cygpath
2939 if test -z "$CYGPATH_W"; then
2940 if (cygpath --version) >/dev/null 2>/dev/null; then
2941 CYGPATH_W='cygpath -w'
2948 # Define the identity of the package.
2949 PACKAGE='dleyna-renderer'
2953 cat >>confdefs.h <<_ACEOF
2954 #define PACKAGE "$PACKAGE"
2958 cat >>confdefs.h <<_ACEOF
2959 #define VERSION "$VERSION"
2962 # Some tools Automake needs.
2964 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2967 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2970 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2973 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2976 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2978 # For better backward compatibility. To be removed once Automake 1.9.x
2979 # dies out for good. For more background, see:
2980 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2981 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2982 mkdir_p='$(MKDIR_P)'
2984 # We need awk for the "check" target. The system "awk" is bad on
2986 # Always define AMTAR for backward compatibility. Yes, it's still used
2987 # in the wild :-( We should find a proper way to deprecate it ...
2991 # We'll loop over all known methods to create a tar archive until one works.
2992 _am_tools='gnutar pax cpio none'
2994 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3001 # POSIX will say in a future version that running "rm -f" with no argument
3002 # is OK; and we want to be able to make that assumption in our Makefile
3003 # recipes. So use an aggressive probe to check that the usage we want is
3004 # actually supported "in the wild" to an acceptable degree.
3005 # See automake bug#10828.
3006 # To make any issue more visible, cause the running configure to be aborted
3007 # by default if the 'rm' program in use doesn't match our expectations; the
3008 # user can still override this though.
3009 if rm -f && rm -fr && rm -rf; then : OK; else
3013 Your 'rm' program seems unable to run without file operands specified
3014 on the command line, even when the '-f' option is present. This is contrary
3015 to the behaviour of most rm programs out there, and not conforming with
3016 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3018 Please tell bug-automake@gnu.org about your system, including the value
3019 of your $PATH and any error possibly output before this message. This
3020 can help us improve future automake versions.
3023 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3024 echo 'Configuration will proceed anyway, since you have set the' >&2
3025 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3029 Aborting the configuration process, to ensure you take notice of the issue.
3031 You can download and install GNU coreutils to get an 'rm' implementation
3032 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3034 If you want to complete the configuration process using your problematic
3035 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3036 to "yes", and re-run configure.
3039 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3045 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3046 # Check whether --enable-maintainer-mode was given.
3047 if test "${enable_maintainer_mode+set}" = set; then :
3048 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3050 USE_MAINTAINER_MODE=no
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3054 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3055 if test $USE_MAINTAINER_MODE = yes; then
3056 MAINTAINER_MODE_TRUE=
3057 MAINTAINER_MODE_FALSE='#'
3059 MAINTAINER_MODE_TRUE='#'
3060 MAINTAINER_MODE_FALSE=
3063 MAINT=$MAINTAINER_MODE_TRUE
3066 # Check whether --enable-silent-rules was given.
3067 if test "${enable_silent_rules+set}" = set; then :
3068 enableval=$enable_silent_rules;
3071 case $enable_silent_rules in # (((
3072 yes) AM_DEFAULT_VERBOSITY=0;;
3073 no) AM_DEFAULT_VERBOSITY=1;;
3074 *) AM_DEFAULT_VERBOSITY=0;;
3076 am_make=${MAKE-make}
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3078 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3079 if ${am_cv_make_support_nested_variables+:} false; then :
3080 $as_echo_n "(cached) " >&6
3082 if $as_echo 'TRUE=$(BAR$(V))
3088 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3089 am_cv_make_support_nested_variables=yes
3091 am_cv_make_support_nested_variables=no
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3095 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3096 if test $am_cv_make_support_nested_variables = yes; then
3098 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3100 AM_V=$AM_DEFAULT_VERBOSITY
3101 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3107 if (test x"${CFLAGS}" = x""); then
3110 CFLAGS+=" -D_FORTIFY_SOURCE=2"
3113 if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
3115 CFLAGS+=" -Wno-unused-parameter"
3116 CFLAGS+=" -Wno-missing-field-initializers"
3117 CFLAGS+=" -Wdeclaration-after-statement"
3118 CFLAGS+=" -Wmissing-declarations"
3119 CFLAGS+=" -Wredundant-decls"
3120 CFLAGS+=" -Wcast-align"
3122 CFLAGS+=" -Wstrict-prototypes"
3123 CFLAGS+=" -Wmissing-prototypes"
3124 CFLAGS+=" -Wnested-externs"
3126 CFLAGS+=" -Wformat=2"
3127 CFLAGS+=" -Winit-self"
3129 CFLAGS+=" -std=gnu99"
3130 CFLAGS+=" -pedantic"
3131 CFLAGS+=" -Wno-overlength-strings"
3133 CFLAGS+=" -DG_DISABLE_DEPRECATED"
3134 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
3137 CFLAGS+=" -Wno-format-extra-args"
3140 # Checks for languages.
3142 ac_cpp='$CPP $CPPFLAGS'
3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3148 # Checks for programs.
3150 ac_cpp='$CPP $CPPFLAGS'
3151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3154 if test -n "$ac_tool_prefix"; then
3155 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3156 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC="$CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 if test -n "$CC"; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3185 $as_echo "$CC" >&6; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3188 $as_echo "no" >&6; }
3193 if test -z "$ac_cv_prog_CC"; then
3195 # Extract the first word of "gcc", so it can be a program name with args.
3196 set dummy gcc; ac_word=$2
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 $as_echo_n "checking for $ac_word... " >&6; }
3199 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 if test -n "$ac_ct_CC"; then
3203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir=.
3210 for ac_exec_ext in '' $ac_executable_extensions; do
3211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_ac_ct_CC="gcc"
3213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3223 if test -n "$ac_ct_CC"; then
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3225 $as_echo "$ac_ct_CC" >&6; }
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3228 $as_echo "no" >&6; }
3231 if test "x$ac_ct_CC" = x; then
3234 case $cross_compiling:$ac_tool_warned in
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3238 ac_tool_warned=yes ;;
3246 if test -z "$CC"; then
3247 if test -n "$ac_tool_prefix"; then
3248 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3249 set dummy ${ac_tool_prefix}cc; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if ${ac_cv_prog_CC+:} false; then :
3253 $as_echo_n "(cached) " >&6
3255 if test -n "$CC"; then
3256 ac_cv_prog_CC="$CC" # Let the user override the test.
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3265 ac_cv_prog_CC="${ac_tool_prefix}cc"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$CC"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278 $as_echo "$CC" >&6; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3287 if test -z "$CC"; then
3288 # Extract the first word of "cc", so it can be a program name with args.
3289 set dummy cc; ac_word=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if ${ac_cv_prog_CC+:} false; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$CC"; then
3296 ac_cv_prog_CC="$CC" # Let the user override the test.
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3307 ac_prog_rejected=yes
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 if test $ac_prog_rejected = yes; then
3319 # We found a bogon in the path, so make sure we never use it.
3320 set dummy $ac_cv_prog_CC
3322 if test $# != 0; then
3323 # We chose a different compiler from the bogus one.
3324 # However, it has the same basename, so the bogon will be chosen
3325 # first if we set CC to just the basename; use the full file name.
3327 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3333 if test -n "$CC"; then
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3335 $as_echo "$CC" >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3343 if test -z "$CC"; then
3344 if test -n "$ac_tool_prefix"; then
3345 for ac_prog in cl.exe
3347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 $as_echo_n "checking for $ac_word... " >&6; }
3351 if ${ac_cv_prog_CC+:} false; then :
3352 $as_echo_n "(cached) " >&6
3354 if test -n "$CC"; then
3355 ac_cv_prog_CC="$CC" # Let the user override the test.
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3364 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 if test -n "$CC"; then
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3377 $as_echo "$CC" >&6; }
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380 $as_echo "no" >&6; }
3384 test -n "$CC" && break
3387 if test -z "$CC"; then
3389 for ac_prog in cl.exe
3391 # Extract the first word of "$ac_prog", so it can be a program name with args.
3392 set dummy $ac_prog; ac_word=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$ac_ct_CC"; then
3399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir=.
3406 for ac_exec_ext in '' $ac_executable_extensions; do
3407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408 ac_cv_prog_ac_ct_CC="$ac_prog"
3409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3418 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3419 if test -n "$ac_ct_CC"; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3421 $as_echo "$ac_ct_CC" >&6; }
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3428 test -n "$ac_ct_CC" && break
3431 if test "x$ac_ct_CC" = x; then
3434 case $cross_compiling:$ac_tool_warned in
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3438 ac_tool_warned=yes ;;
3447 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "no acceptable C compiler found in \$PATH
3450 See \`config.log' for more details" "$LINENO" 5; }
3452 # Provide some information about the compiler.
3453 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3456 for ac_option in --version -v -V -qversion; do
3457 { { ac_try="$ac_compiler $ac_option >&5"
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3466 if test -s conftest.err; then
3468 ... rest of stderr output deleted ...
3469 10q' conftest.err >conftest.er1
3470 cat conftest.er1 >&5
3472 rm -f conftest.er1 conftest.err
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3488 ac_clean_files_save=$ac_clean_files
3489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3490 # Try to create an executable without -o first, disregard a.out.
3491 # It will help us diagnose broken compilers, and finding out an intuition
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3494 $as_echo_n "checking whether the C compiler works... " >&6; }
3495 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3497 # The possible output files:
3498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3501 for ac_file in $ac_files
3504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3505 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3510 if { { ac_try="$ac_link_default"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_link_default") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; then :
3521 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3523 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3524 # so that the user can short-circuit this test for compilers unknown to
3526 for ac_file in $ac_files ''
3528 test -f "$ac_file" || continue
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3533 # We found the default executable, but exeext='' is most
3537 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3539 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3541 # We set ac_cv_exeext here because the later test for it is not
3542 # safe: cross compilers may not add the suffix if given an `-o'
3543 # argument, so we may need to know it at that point already.
3544 # Even if this section looks crufty: it has the advantage of
3551 test "$ac_cv_exeext" = no && ac_cv_exeext=
3556 if test -z "$ac_file"; then :
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error 77 "C compiler cannot create executables
3565 See \`config.log' for more details" "$LINENO" 5; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3568 $as_echo "yes" >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3571 $as_echo_n "checking for C compiler default output file name... " >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573 $as_echo "$ac_file" >&6; }
3574 ac_exeext=$ac_cv_exeext
3576 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3579 $as_echo_n "checking for suffix of executables... " >&6; }
3580 if { { ac_try="$ac_link"
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_link") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }; then :
3591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3593 # work properly (i.e., refer to `conftest.exe'), while it won't with
3595 for ac_file in conftest.exe conftest conftest.*; do
3596 test -f "$ac_file" || continue
3598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3607 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3608 See \`config.log' for more details" "$LINENO" 5; }
3610 rm -f conftest conftest$ac_cv_exeext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612 $as_echo "$ac_cv_exeext" >&6; }
3614 rm -f conftest.$ac_ext
3615 EXEEXT=$ac_cv_exeext
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3623 FILE *f = fopen ("conftest.out", "w");
3624 return ferror (f) || fclose (f) != 0;
3630 ac_clean_files="$ac_clean_files conftest.out"
3631 # Check that the compiler produces executables we can run. If not, either
3632 # the compiler is broken, or we cross compile.
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3634 $as_echo_n "checking whether we are cross compiling... " >&6; }
3635 if test "$cross_compiling" != yes; then
3636 { { ac_try="$ac_link"
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3642 $as_echo "$ac_try_echo"; } >&5
3643 (eval "$ac_link") 2>&5
3645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }
3647 if { ac_try='./conftest$ac_cv_exeext'
3648 { { case "(($ac_try" in
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653 $as_echo "$ac_try_echo"; } >&5
3654 (eval "$ac_try") 2>&5
3656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657 test $ac_status = 0; }; }; then
3660 if test "$cross_compiling" = maybe; then
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "cannot run C compiled programs.
3666 If you meant to cross compile, use \`--host'.
3667 See \`config.log' for more details" "$LINENO" 5; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3672 $as_echo "$cross_compiling" >&6; }
3674 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3675 ac_clean_files=$ac_clean_files_save
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3677 $as_echo_n "checking for suffix of object files... " >&6; }
3678 if ${ac_cv_objext+:} false; then :
3679 $as_echo_n "(cached) " >&6
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3692 rm -f conftest.o conftest.obj
3693 if { { ac_try="$ac_compile"
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3699 $as_echo "$ac_try_echo"; } >&5
3700 (eval "$ac_compile") 2>&5
3702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 test $ac_status = 0; }; then :
3704 for ac_file in conftest.o conftest.obj conftest.*; do
3705 test -f "$ac_file" || continue;
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3708 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 as_fn_error $? "cannot compute suffix of object files: cannot compile
3719 See \`config.log' for more details" "$LINENO" 5; }
3721 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3724 $as_echo "$ac_cv_objext" >&6; }
3725 OBJEXT=$ac_cv_objext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3728 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3729 if ${ac_cv_c_compiler_gnu+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3746 if ac_fn_c_try_compile "$LINENO"; then :
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3756 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3757 if test $ac_compiler_gnu = yes; then
3762 ac_test_CFLAGS=${CFLAGS+set}
3763 ac_save_CFLAGS=$CFLAGS
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3765 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3766 if ${ac_cv_prog_cc_g+:} false; then :
3767 $as_echo_n "(cached) " >&6
3769 ac_save_c_werror_flag=$ac_c_werror_flag
3770 ac_c_werror_flag=yes
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_c_try_compile "$LINENO"; then :
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 if ac_fn_c_try_compile "$LINENO"; then :
3802 ac_c_werror_flag=$ac_save_c_werror_flag
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3815 if ac_fn_c_try_compile "$LINENO"; then :
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3823 ac_c_werror_flag=$ac_save_c_werror_flag
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3826 $as_echo "$ac_cv_prog_cc_g" >&6; }
3827 if test "$ac_test_CFLAGS" = set; then
3828 CFLAGS=$ac_save_CFLAGS
3829 elif test $ac_cv_prog_cc_g = yes; then
3830 if test "$GCC" = yes; then
3836 if test "$GCC" = yes; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3843 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3844 if ${ac_cv_prog_cc_c89+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 ac_cv_prog_cc_c89=no
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3855 struct buf { int x; };
3856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3857 static char *e (p, i)
3863 static char *f (char * (*g) (char **, int), char **p, ...)
3868 s = g (p, va_arg (v,int));
3873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3874 function prototypes and stuff, but not '\xHH' hex character constants.
3875 These don't provoke an error unfortunately, instead are silently treated
3876 as 'x'. The following induces an error, until -std is added to get
3877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3878 array size at least. It's necessary to write '\x00'==0 to get something
3879 that's true only with -std. */
3880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3883 inside strings and character constants. */
3885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3887 int test (int i, double x);
3888 struct s1 {int (*f) (int a);};
3889 struct s2 {int (*f) (double a);};
3890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3904 CC="$ac_save_CC $ac_arg"
3905 if ac_fn_c_try_compile "$LINENO"; then :
3906 ac_cv_prog_cc_c89=$ac_arg
3908 rm -f core conftest.err conftest.$ac_objext
3909 test "x$ac_cv_prog_cc_c89" != "xno" && break
3911 rm -f conftest.$ac_ext
3916 case "x$ac_cv_prog_cc_c89" in
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3919 $as_echo "none needed" >&6; } ;;
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3922 $as_echo "unsupported" >&6; } ;;
3924 CC="$CC $ac_cv_prog_cc_c89"
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3926 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3928 if test "x$ac_cv_prog_cc_c89" != xno; then :
3933 ac_cpp='$CPP $CPPFLAGS'
3934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3944 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3945 if ${am_cv_prog_cc_c_o+:} false; then :
3946 $as_echo_n "(cached) " >&6
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3959 # Make sure it works both with $CC and with simple cc.
3960 # Following AC_PROG_CC_C_O, we do the test twice because some
3961 # compilers refuse to overwrite an existing .o file with -o,
3962 # though they will create one.
3963 am_cv_prog_cc_c_o=yes
3965 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3966 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } \
3970 && test -f conftest2.$ac_objext; then
3973 am_cv_prog_cc_c_o=no
3977 rm -f core conftest*
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3981 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3982 if test "$am_cv_prog_cc_c_o" != yes; then
3983 # Losing compiler, so override with the script.
3984 # FIXME: It is wrong to rewrite CC.
3985 # But if we don't then we get into trouble of one sort or another.
3986 # A longer-term fix would be to have automake use am__CC in this case,
3987 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3988 CC="$am_aux_dir/compile $CC"
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3996 DEPDIR="${am__leading_dot}deps"
3998 ac_config_commands="$ac_config_commands depfiles"
4001 am_make=${MAKE-make}
4002 cat > confinc << 'END'
4004 @echo this is the am__doit target
4007 # If we don't find an include directive, just comment out the code.
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4009 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4013 # First try GNU make style include.
4014 echo "include confinc" > confmf
4015 # Ignore all kinds of additional output from 'make'.
4016 case `$am_make -s -f confmf 2> /dev/null` in #(
4017 *the\ am__doit\ target*)
4023 # Now try BSD make style include.
4024 if test "$am__include" = "#"; then
4025 echo '.include "confinc"' > confmf
4026 case `$am_make -s -f confmf 2> /dev/null` in #(
4027 *the\ am__doit\ target*)
4028 am__include=.include
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4037 $as_echo "$_am_result" >&6; }
4038 rm -f confinc confmf
4040 # Check whether --enable-dependency-tracking was given.
4041 if test "${enable_dependency_tracking+set}" = set; then :
4042 enableval=$enable_dependency_tracking;
4045 if test "x$enable_dependency_tracking" != xno; then
4046 am_depcomp="$ac_aux_dir/depcomp"
4050 if test "x$enable_dependency_tracking" != xno; then
4060 depcc="$CC" am_compiler_list=
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4063 $as_echo_n "checking dependency style of $depcc... " >&6; }
4064 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4065 $as_echo_n "(cached) " >&6
4067 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4068 # We make a subdir and do the tests there. Otherwise we can end up
4069 # making bogus files that we don't know about and never remove. For
4070 # instance it was reported that on HP-UX the gcc test will end up
4071 # making a dummy file named 'D' -- because '-MD' means "put the output
4075 # Copy depcomp to subdir because otherwise we won't find it if we're
4076 # using a relative directory.
4077 cp "$am_depcomp" conftest.dir
4079 # We will build objects and dependencies in a subdirectory because
4080 # it helps to detect inapplicable dependency modes. For instance
4081 # both Tru64's cc and ICC support -MD to output dependencies as a
4082 # side effect of compilation, but ICC will put the dependencies in
4083 # the current directory while Tru64 will put them in the object
4087 am_cv_CC_dependencies_compiler_type=none
4088 if test "$am_compiler_list" = ""; then
4089 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4092 case " $depcc " in #(
4093 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4096 for depmode in $am_compiler_list; do
4097 # Setup a source with many dependencies, because some compilers
4098 # like to wrap large dependency lists on column 80 (with \), and
4099 # we should not choose a depcomp mode which is confused by this.
4101 # We need to recreate these files for each test, as the compiler may
4102 # overwrite some of them when testing with obscure command lines.
4103 # This happens at least with the AIX C compiler.
4105 for i in 1 2 3 4 5 6; do
4106 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4107 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4108 # Solaris 10 /bin/sh.
4109 echo '/* dummy */' > sub/conftst$i.h
4111 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4113 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4114 # mode. It turns out that the SunPro C++ compiler does not properly
4115 # handle '-M -o', and we need to detect this. Also, some Intel
4116 # versions had trouble with output in subdirs.
4117 am__obj=sub/conftest.${OBJEXT-o}
4118 am__minus_obj="-o $am__obj"
4121 # This depmode causes a compiler race in universal mode.
4122 test "$am__universal" = false || continue
4125 # After this tag, mechanisms are not by side-effect, so they'll
4126 # only be used when explicitly requested.
4127 if test "x$enable_dependency_tracking" = xyes; then
4133 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4134 # This compiler won't grok '-c -o', but also, the minuso test has
4135 # not run yet. These depmodes are late enough in the game, and
4136 # so weak that their functioning should not be impacted.
4137 am__obj=conftest.${OBJEXT-o}
4142 if depmode=$depmode \
4143 source=sub/conftest.c object=$am__obj \
4144 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4145 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4146 >/dev/null 2>conftest.err &&
4147 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4148 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4149 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4150 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4151 # icc doesn't choke on unknown options, it will just issue warnings
4152 # or remarks (even with -Werror). So we grep stderr for any message
4153 # that says an option was ignored or not supported.
4154 # When given -MP, icc 7.0 and 7.1 complain thusly:
4155 # icc: Command line warning: ignoring option '-M'; no argument required
4156 # The diagnosis changed in icc 8.0:
4157 # icc: Command line remark: option '-MP' not supported
4158 if (grep 'ignoring option' conftest.err ||
4159 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4160 am_cv_CC_dependencies_compiler_type=$depmode
4169 am_cv_CC_dependencies_compiler_type=none
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4174 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4175 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4178 test "x$enable_dependency_tracking" != xno \
4179 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4181 am__fastdepCC_FALSE='#'
4183 am__fastdepCC_TRUE='#'
4184 am__fastdepCC_FALSE=
4191 # Initialize libtool
4192 # Disable generation of static libraries
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4197 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4202 macro_version='2.4.2'
4203 macro_revision='1.3337'
4217 ltmain="$ac_aux_dir/ltmain.sh"
4219 # Make sure we can run config.sub.
4220 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4221 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4224 $as_echo_n "checking build system type... " >&6; }
4225 if ${ac_cv_build+:} false; then :
4226 $as_echo_n "(cached) " >&6
4228 ac_build_alias=$build_alias
4229 test "x$ac_build_alias" = x &&
4230 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4231 test "x$ac_build_alias" = x &&
4232 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4233 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4234 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4238 $as_echo "$ac_cv_build" >&6; }
4239 case $ac_cv_build in
4241 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4244 ac_save_IFS=$IFS; IFS='-'
4250 # Remember, the first character of IFS is used to create $*,
4251 # except with old shells:
4254 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4258 $as_echo_n "checking host system type... " >&6; }
4259 if ${ac_cv_host+:} false; then :
4260 $as_echo_n "(cached) " >&6
4262 if test "x$host_alias" = x; then
4263 ac_cv_host=$ac_cv_build
4265 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4266 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4271 $as_echo "$ac_cv_host" >&6; }
4274 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4277 ac_save_IFS=$IFS; IFS='-'
4283 # Remember, the first character of IFS is used to create $*,
4284 # except with old shells:
4287 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4290 # Backslashify metacharacters that are still active within
4291 # double-quoted strings.
4292 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4294 # Same as above, but do not quote variable references.
4295 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4297 # Sed substitution to delay expansion of an escaped shell variable in a
4298 # double_quote_subst'ed string.
4299 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4301 # Sed substitution to delay expansion of an escaped single quote.
4302 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4304 # Sed substitution to avoid accidental globbing in evaled expressions
4305 no_glob_subst='s/\*/\\\*/g'
4307 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4308 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4309 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4312 $as_echo_n "checking how to print strings... " >&6; }
4313 # Test print first, because it will be a builtin if present.
4314 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4315 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4317 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4320 # Use this function as a fallback that always works.
4321 func_fallback_echo ()
4323 eval 'cat <<_LTECHO_EOF
4327 ECHO='func_fallback_echo'
4330 # func_echo_all arg...
4331 # Invoke $ECHO with all args, space-separated.
4338 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4339 $as_echo "printf" >&6; } ;;
4340 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4341 $as_echo "print -r" >&6; } ;;
4342 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4343 $as_echo "cat" >&6; } ;;
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4360 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4361 if ${ac_cv_path_SED+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4365 for ac_i in 1 2 3 4 5 6 7; do
4366 ac_script="$ac_script$as_nl$ac_script"
4368 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4369 { ac_script=; unset ac_script;}
4370 if test -z "$SED"; then
4371 ac_path_SED_found=false
4372 # Loop through the user's path and test for each of PROGNAME-LIST
4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir=.
4378 for ac_prog in sed gsed; do
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4381 as_fn_executable_p "$ac_path_SED" || continue
4382 # Check for GNU ac_path_SED and select it if it is found.
4383 # Check for GNU $ac_path_SED
4384 case `"$ac_path_SED" --version 2>&1` in
4386 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4389 $as_echo_n 0123456789 >"conftest.in"
4392 cat "conftest.in" "conftest.in" >"conftest.tmp"
4393 mv "conftest.tmp" "conftest.in"
4394 cp "conftest.in" "conftest.nl"
4395 $as_echo '' >> "conftest.nl"
4396 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4397 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4398 as_fn_arith $ac_count + 1 && ac_count=$as_val
4399 if test $ac_count -gt ${ac_path_SED_max-0}; then
4400 # Best one so far, save it but keep looking for a better one
4401 ac_cv_path_SED="$ac_path_SED"
4402 ac_path_SED_max=$ac_count
4404 # 10*(2^10) chars as input seems more than enough
4405 test $ac_count -gt 10 && break
4407 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4410 $ac_path_SED_found && break 3
4415 if test -z "$ac_cv_path_SED"; then
4416 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4424 $as_echo "$ac_cv_path_SED" >&6; }
4425 SED="$ac_cv_path_SED"
4428 test -z "$SED" && SED=sed
4429 Xsed="$SED -e 1s/^X//"
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4442 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4443 if ${ac_cv_path_GREP+:} false; then :
4444 $as_echo_n "(cached) " >&6
4446 if test -z "$GREP"; then
4447 ac_path_GREP_found=false
4448 # Loop through the user's path and test for each of PROGNAME-LIST
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4453 test -z "$as_dir" && as_dir=.
4454 for ac_prog in grep ggrep; do
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4456 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4457 as_fn_executable_p "$ac_path_GREP" || continue
4458 # Check for GNU ac_path_GREP and select it if it is found.
4459 # Check for GNU $ac_path_GREP
4460 case `"$ac_path_GREP" --version 2>&1` in
4462 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4465 $as_echo_n 0123456789 >"conftest.in"
4468 cat "conftest.in" "conftest.in" >"conftest.tmp"
4469 mv "conftest.tmp" "conftest.in"
4470 cp "conftest.in" "conftest.nl"
4471 $as_echo 'GREP' >> "conftest.nl"
4472 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4473 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4474 as_fn_arith $ac_count + 1 && ac_count=$as_val
4475 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4476 # Best one so far, save it but keep looking for a better one
4477 ac_cv_path_GREP="$ac_path_GREP"
4478 ac_path_GREP_max=$ac_count
4480 # 10*(2^10) chars as input seems more than enough
4481 test $ac_count -gt 10 && break
4483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4486 $ac_path_GREP_found && break 3
4491 if test -z "$ac_cv_path_GREP"; then
4492 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4495 ac_cv_path_GREP=$GREP
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4500 $as_echo "$ac_cv_path_GREP" >&6; }
4501 GREP="$ac_cv_path_GREP"
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4505 $as_echo_n "checking for egrep... " >&6; }
4506 if ${ac_cv_path_EGREP+:} false; then :
4507 $as_echo_n "(cached) " >&6
4509 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4510 then ac_cv_path_EGREP="$GREP -E"
4512 if test -z "$EGREP"; then
4513 ac_path_EGREP_found=false
4514 # Loop through the user's path and test for each of PROGNAME-LIST
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4519 test -z "$as_dir" && as_dir=.
4520 for ac_prog in egrep; do
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4523 as_fn_executable_p "$ac_path_EGREP" || continue
4524 # Check for GNU ac_path_EGREP and select it if it is found.
4525 # Check for GNU $ac_path_EGREP
4526 case `"$ac_path_EGREP" --version 2>&1` in
4528 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4531 $as_echo_n 0123456789 >"conftest.in"
4534 cat "conftest.in" "conftest.in" >"conftest.tmp"
4535 mv "conftest.tmp" "conftest.in"
4536 cp "conftest.in" "conftest.nl"
4537 $as_echo 'EGREP' >> "conftest.nl"
4538 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4539 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4540 as_fn_arith $ac_count + 1 && ac_count=$as_val
4541 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4542 # Best one so far, save it but keep looking for a better one
4543 ac_cv_path_EGREP="$ac_path_EGREP"
4544 ac_path_EGREP_max=$ac_count
4546 # 10*(2^10) chars as input seems more than enough
4547 test $ac_count -gt 10 && break
4549 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4552 $ac_path_EGREP_found && break 3
4557 if test -z "$ac_cv_path_EGREP"; then
4558 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4561 ac_cv_path_EGREP=$EGREP
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4567 $as_echo "$ac_cv_path_EGREP" >&6; }
4568 EGREP="$ac_cv_path_EGREP"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4572 $as_echo_n "checking for fgrep... " >&6; }
4573 if ${ac_cv_path_FGREP+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4577 then ac_cv_path_FGREP="$GREP -F"
4579 if test -z "$FGREP"; then
4580 ac_path_FGREP_found=false
4581 # Loop through the user's path and test for each of PROGNAME-LIST
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4586 test -z "$as_dir" && as_dir=.
4587 for ac_prog in fgrep; do
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4590 as_fn_executable_p "$ac_path_FGREP" || continue
4591 # Check for GNU ac_path_FGREP and select it if it is found.
4592 # Check for GNU $ac_path_FGREP
4593 case `"$ac_path_FGREP" --version 2>&1` in
4595 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4598 $as_echo_n 0123456789 >"conftest.in"
4601 cat "conftest.in" "conftest.in" >"conftest.tmp"
4602 mv "conftest.tmp" "conftest.in"
4603 cp "conftest.in" "conftest.nl"
4604 $as_echo 'FGREP' >> "conftest.nl"
4605 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4606 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4607 as_fn_arith $ac_count + 1 && ac_count=$as_val
4608 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4609 # Best one so far, save it but keep looking for a better one
4610 ac_cv_path_FGREP="$ac_path_FGREP"
4611 ac_path_FGREP_max=$ac_count
4613 # 10*(2^10) chars as input seems more than enough
4614 test $ac_count -gt 10 && break
4616 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4619 $ac_path_FGREP_found && break 3
4624 if test -z "$ac_cv_path_FGREP"; then
4625 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4628 ac_cv_path_FGREP=$FGREP
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4634 $as_echo "$ac_cv_path_FGREP" >&6; }
4635 FGREP="$ac_cv_path_FGREP"
4638 test -z "$GREP" && GREP=grep
4658 # Check whether --with-gnu-ld was given.
4659 if test "${with_gnu_ld+set}" = set; then :
4660 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4666 if test "$GCC" = yes; then
4667 # Check if gcc -print-prog-name=ld gives a path.
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4669 $as_echo_n "checking for ld used by $CC... " >&6; }
4672 # gcc leaves a trailing carriage return which upsets mingw
4673 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4675 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4678 # Accept absolute paths.
4680 re_direlt='/[^/][^/]*/\.\./'
4681 # Canonicalize the pathname of ld
4682 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4683 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4684 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4686 test -z "$LD" && LD="$ac_prog"
4689 # If it fails, then pretend we aren't using GCC.
4693 # If it is relative, then search for the first ld in PATH.
4697 elif test "$with_gnu_ld" = yes; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4699 $as_echo_n "checking for GNU ld... " >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4702 $as_echo_n "checking for non-GNU ld... " >&6; }
4704 if ${lt_cv_path_LD+:} false; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -z "$LD"; then
4708 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4709 for ac_dir in $PATH; do
4711 test -z "$ac_dir" && ac_dir=.
4712 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4713 lt_cv_path_LD="$ac_dir/$ac_prog"
4714 # Check to see if the program is GNU ld. I'd rather use --version,
4715 # but apparently some variants of GNU ld only accept -v.
4716 # Break only if it was the GNU/non-GNU ld that we prefer.
4717 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4718 *GNU* | *'with BFD'*)
4719 test "$with_gnu_ld" != no && break
4722 test "$with_gnu_ld" != yes && break
4729 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4734 if test -n "$LD"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4736 $as_echo "$LD" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4741 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4743 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4744 if ${lt_cv_prog_gnu_ld+:} false; then :
4745 $as_echo_n "(cached) " >&6
4747 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4748 case `$LD -v 2>&1 </dev/null` in
4749 *GNU* | *'with BFD'*)
4750 lt_cv_prog_gnu_ld=yes
4753 lt_cv_prog_gnu_ld=no
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4758 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4759 with_gnu_ld=$lt_cv_prog_gnu_ld
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4770 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4771 if ${lt_cv_path_NM+:} false; then :
4772 $as_echo_n "(cached) " >&6
4774 if test -n "$NM"; then
4775 # Let the user override the test.
4778 lt_nm_to_check="${ac_tool_prefix}nm"
4779 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4780 lt_nm_to_check="$lt_nm_to_check nm"
4782 for lt_tmp_nm in $lt_nm_to_check; do
4783 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4784 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4786 test -z "$ac_dir" && ac_dir=.
4787 tmp_nm="$ac_dir/$lt_tmp_nm"
4788 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4789 # Check to see if the nm accepts a BSD-compat flag.
4790 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4791 # nm: unknown option "B" ignored
4792 # Tru64's nm complains that /dev/null is an invalid object file
4793 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4794 */dev/null* | *'Invalid file or object type'*)
4795 lt_cv_path_NM="$tmp_nm -B"
4799 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4801 lt_cv_path_NM="$tmp_nm -p"
4805 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4806 continue # so that we can try to find one that supports BSD flags
4815 : ${lt_cv_path_NM=no}
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4819 $as_echo "$lt_cv_path_NM" >&6; }
4820 if test "$lt_cv_path_NM" != "no"; then
4823 # Didn't find any BSD compatible name lister, look for dumpbin.
4824 if test -n "$DUMPBIN"; then :
4825 # Let the user override the test.
4827 if test -n "$ac_tool_prefix"; then
4828 for ac_prog in dumpbin "link -dump"
4830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_DUMPBIN+:} false; then :
4835 $as_echo_n "(cached) " >&6
4837 if test -n "$DUMPBIN"; then
4838 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4857 DUMPBIN=$ac_cv_prog_DUMPBIN
4858 if test -n "$DUMPBIN"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4860 $as_echo "$DUMPBIN" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4867 test -n "$DUMPBIN" && break
4870 if test -z "$DUMPBIN"; then
4871 ac_ct_DUMPBIN=$DUMPBIN
4872 for ac_prog in dumpbin "link -dump"
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$ac_ct_DUMPBIN"; then
4882 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4902 if test -n "$ac_ct_DUMPBIN"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4904 $as_echo "$ac_ct_DUMPBIN" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4911 test -n "$ac_ct_DUMPBIN" && break
4914 if test "x$ac_ct_DUMPBIN" = x; then
4917 case $cross_compiling:$ac_tool_warned in
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4923 DUMPBIN=$ac_ct_DUMPBIN
4927 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4929 DUMPBIN="$DUMPBIN -symbols"
4937 if test "$DUMPBIN" != ":"; then
4941 test -z "$NM" && NM=nm
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4949 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4950 if ${lt_cv_nm_interface+:} false; then :
4951 $as_echo_n "(cached) " >&6
4953 lt_cv_nm_interface="BSD nm"
4954 echo "int some_variable = 0;" > conftest.$ac_ext
4955 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4956 (eval "$ac_compile" 2>conftest.err)
4957 cat conftest.err >&5
4958 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4959 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4960 cat conftest.err >&5
4961 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4962 cat conftest.out >&5
4963 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4964 lt_cv_nm_interface="MS dumpbin"
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4969 $as_echo "$lt_cv_nm_interface" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4972 $as_echo_n "checking whether ln -s works... " >&6; }
4974 if test "$LN_S" = "ln -s"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4976 $as_echo "yes" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4979 $as_echo "no, using $LN_S" >&6; }
4982 # find the maximum length of command line arguments
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4984 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4985 if ${lt_cv_sys_max_cmd_len+:} false; then :
4986 $as_echo_n "(cached) " >&6
4993 # On DJGPP, this test can blow up pretty badly due to problems in libc
4994 # (any single argument exceeding 2000 bytes causes a buffer overrun
4995 # during glob expansion). Even if it were fixed, the result of this
4996 # check would be larger than it should be.
4997 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5001 # Under GNU Hurd, this test is not required because there is
5002 # no limit to the length of command line arguments.
5003 # Libtool will interpret -1 as no limit whatsoever
5004 lt_cv_sys_max_cmd_len=-1;
5007 cygwin* | mingw* | cegcc*)
5008 # On Win9x/ME, this test blows up -- it succeeds, but takes
5009 # about 5 minutes as the teststring grows exponentially.
5010 # Worse, since 9x/ME are not pre-emptively multitasking,
5011 # you end up with a "frozen" computer, even though with patience
5012 # the test eventually succeeds (with a max line length of 256k).
5013 # Instead, let's just punt: use the minimum linelength reported by
5014 # all of the supported platforms: 8192 (on NT/2K/XP).
5015 lt_cv_sys_max_cmd_len=8192;
5019 # On MiNT this can take a long time and run out of memory.
5020 lt_cv_sys_max_cmd_len=8192;
5024 # On AmigaOS with pdksh, this test takes hours, literally.
5025 # So we just punt and use a minimum line length of 8192.
5026 lt_cv_sys_max_cmd_len=8192;
5029 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5030 # This has been around since 386BSD, at least. Likely further.
5031 if test -x /sbin/sysctl; then
5032 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5033 elif test -x /usr/sbin/sysctl; then
5034 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5036 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5038 # And add a safety zone
5039 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5044 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5045 lt_cv_sys_max_cmd_len=196608
5049 # The test takes a long time on OS/2.
5050 lt_cv_sys_max_cmd_len=8192
5054 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5055 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5056 # nice to cause kernel panics so lets avoid the loop below.
5057 # First set a reasonable default.
5058 lt_cv_sys_max_cmd_len=16384
5060 if test -x /sbin/sysconfig; then
5061 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5062 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5067 lt_cv_sys_max_cmd_len=102400
5069 sysv5* | sco5v6* | sysv4.2uw2*)
5070 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5071 if test -n "$kargmax"; then
5072 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5074 lt_cv_sys_max_cmd_len=32768
5078 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5079 if test -n "$lt_cv_sys_max_cmd_len" && \
5080 test undefined != "$lt_cv_sys_max_cmd_len"; then
5081 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5082 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5084 # Make teststring a little bigger before we do anything with it.
5085 # a 1K string should be a reasonable start.
5086 for i in 1 2 3 4 5 6 7 8 ; do
5087 teststring=$teststring$teststring
5089 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5090 # If test is not a shell built-in, we'll probably end up computing a
5091 # maximum length that is only half of the actual maximum length, but
5093 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5094 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5095 test $i != 17 # 1/2 MB should be enough
5098 teststring=$teststring$teststring
5100 # Only check the string length outside the loop.
5101 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5103 # Add a significant safety factor because C++ compilers can tack on
5104 # massive amounts of additional arguments before passing them to the
5105 # linker. It appears as though 1/2 is a usable value.
5106 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5113 if test -n $lt_cv_sys_max_cmd_len ; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5115 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5118 $as_echo "none" >&6; }
5120 max_cmd_len=$lt_cv_sys_max_cmd_len
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5132 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5133 # Try some XSI features
5136 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5138 && eval 'test $(( 1 + 1 )) -eq 2 \
5139 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5142 $as_echo "$xsi_shell" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5146 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5148 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5150 && lt_shell_append=yes
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5152 $as_echo "$lt_shell_append" >&6; }
5155 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5165 # test EBCDIC or ASCII
5166 case `echo X|tr X '\101'` in
5167 A) # ASCII based system
5168 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5169 lt_SP2NL='tr \040 \012'
5170 lt_NL2SP='tr \015\012 \040\040'
5172 *) # EBCDIC based system
5173 lt_SP2NL='tr \100 \n'
5174 lt_NL2SP='tr \r\n \100\100'
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5187 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5188 if ${lt_cv_to_host_file_cmd+:} false; then :
5189 $as_echo_n "(cached) " >&6
5194 *-*-mingw* ) # actually msys
5195 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5198 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5200 * ) # otherwise, assume *nix
5201 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5207 *-*-mingw* ) # actually msys
5208 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5211 lt_cv_to_host_file_cmd=func_convert_file_noop
5213 * ) # otherwise, assume *nix
5214 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5218 * ) # unhandled hosts (and "normal" native builds)
5219 lt_cv_to_host_file_cmd=func_convert_file_noop
5225 to_host_file_cmd=$lt_cv_to_host_file_cmd
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5227 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5234 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5235 if ${lt_cv_to_tool_file_cmd+:} false; then :
5236 $as_echo_n "(cached) " >&6
5238 #assume ordinary cross tools, or native build.
5239 lt_cv_to_tool_file_cmd=func_convert_file_noop
5243 *-*-mingw* ) # actually msys
5244 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5252 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5254 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5261 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5262 if ${lt_cv_ld_reload_flag+:} false; then :
5263 $as_echo_n "(cached) " >&6
5265 lt_cv_ld_reload_flag='-r'
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5268 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5269 reload_flag=$lt_cv_ld_reload_flag
5270 case $reload_flag in
5272 *) reload_flag=" $reload_flag" ;;
5274 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5276 cygwin* | mingw* | pw32* | cegcc*)
5277 if test "$GCC" != yes; then
5282 if test "$GCC" = yes; then
5283 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5285 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5300 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_OBJDUMP+:} false; then :
5304 $as_echo_n "(cached) " >&6
5306 if test -n "$OBJDUMP"; then
5307 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 OBJDUMP=$ac_cv_prog_OBJDUMP
5327 if test -n "$OBJDUMP"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5329 $as_echo "$OBJDUMP" >&6; }
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5337 if test -z "$ac_cv_prog_OBJDUMP"; then
5338 ac_ct_OBJDUMP=$OBJDUMP
5339 # Extract the first word of "objdump", so it can be a program name with args.
5340 set dummy objdump; ac_word=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$ac_ct_OBJDUMP"; then
5347 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5367 if test -n "$ac_ct_OBJDUMP"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5369 $as_echo "$ac_ct_OBJDUMP" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5375 if test "x$ac_ct_OBJDUMP" = x; then
5378 case $cross_compiling:$ac_tool_warned in
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382 ac_tool_warned=yes ;;
5384 OBJDUMP=$ac_ct_OBJDUMP
5387 OBJDUMP="$ac_cv_prog_OBJDUMP"
5390 test -z "$OBJDUMP" && OBJDUMP=objdump
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5401 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5402 if ${lt_cv_deplibs_check_method+:} false; then :
5403 $as_echo_n "(cached) " >&6
5405 lt_cv_file_magic_cmd='$MAGIC_CMD'
5406 lt_cv_file_magic_test_file=
5407 lt_cv_deplibs_check_method='unknown'
5408 # Need to set the preceding variable on all platforms that support
5409 # interlibrary dependencies.
5410 # 'none' -- dependencies not supported.
5411 # `unknown' -- same as none, but documents that we really don't know.
5412 # 'pass_all' -- all dependencies passed with no checks.
5413 # 'test_compile' -- check by making test program.
5414 # 'file_magic [[regex]]' -- check by looking for files in library path
5415 # which responds to the $file_magic_cmd with a given extended regex.
5416 # If you have `file' or equivalent on your system and you're not sure
5417 # whether `pass_all' will *always* work, you probably want this one.
5421 lt_cv_deplibs_check_method=pass_all
5425 lt_cv_deplibs_check_method=pass_all
5429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5430 lt_cv_file_magic_cmd='/usr/bin/file -L'
5431 lt_cv_file_magic_test_file=/shlib/libc.so
5435 # func_win32_libid is a shell function defined in ltmain.sh
5436 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5437 lt_cv_file_magic_cmd='func_win32_libid'
5441 # Base MSYS/MinGW do not provide the 'file' command needed by
5442 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5443 # unless we find 'file', for example because we are cross-compiling.
5444 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5445 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5446 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5447 lt_cv_file_magic_cmd='func_win32_libid'
5449 # Keep this pattern in sync with the one in func_win32_libid.
5450 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5451 lt_cv_file_magic_cmd='$OBJDUMP -f'
5456 # use the weaker test based on 'objdump'. See mingw*.
5457 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5458 lt_cv_file_magic_cmd='$OBJDUMP -f'
5461 darwin* | rhapsody*)
5462 lt_cv_deplibs_check_method=pass_all
5465 freebsd* | dragonfly*)
5466 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5469 # Not sure whether the presence of OpenBSD here was a mistake.
5470 # Let's accept both of them until this is cleared up.
5471 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5472 lt_cv_file_magic_cmd=/usr/bin/file
5473 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5477 lt_cv_deplibs_check_method=pass_all
5482 lt_cv_deplibs_check_method=pass_all
5485 hpux10.20* | hpux11*)
5486 lt_cv_file_magic_cmd=/usr/bin/file
5489 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5490 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5493 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]'
5494 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5497 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5498 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5504 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5505 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5508 irix5* | irix6* | nonstopux*)
5510 *-32|*"-32 ") libmagic=32-bit;;
5511 *-n32|*"-n32 ") libmagic=N32;;
5512 *-64|*"-64 ") libmagic=64-bit;;
5513 *) libmagic=never-match;;
5515 lt_cv_deplibs_check_method=pass_all
5518 # This must be glibc/ELF.
5519 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5520 lt_cv_deplibs_check_method=pass_all
5523 netbsd* | netbsdelf*-gnu)
5524 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5532 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5533 lt_cv_file_magic_cmd=/usr/bin/file
5534 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5538 lt_cv_deplibs_check_method=pass_all
5542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5543 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5545 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5549 osf3* | osf4* | osf5*)
5550 lt_cv_deplibs_check_method=pass_all
5554 lt_cv_deplibs_check_method=pass_all
5558 lt_cv_deplibs_check_method=pass_all
5561 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5562 lt_cv_deplibs_check_method=pass_all
5566 case $host_vendor in
5568 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]'
5569 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5572 lt_cv_deplibs_check_method=pass_all
5575 lt_cv_file_magic_cmd='/bin/file'
5576 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5579 lt_cv_file_magic_cmd='/bin/file'
5580 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5581 lt_cv_file_magic_test_file=/lib/libc.so
5584 lt_cv_deplibs_check_method=pass_all
5587 lt_cv_deplibs_check_method=pass_all
5593 lt_cv_deplibs_check_method=pass_all
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5603 if test "$build" = "$host"; then
5606 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5609 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5615 file_magic_cmd=$lt_cv_file_magic_cmd
5616 deplibs_check_method=$lt_cv_deplibs_check_method
5617 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5642 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_DLLTOOL+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$DLLTOOL"; then
5649 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 DLLTOOL=$ac_cv_prog_DLLTOOL
5669 if test -n "$DLLTOOL"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5671 $as_echo "$DLLTOOL" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5679 if test -z "$ac_cv_prog_DLLTOOL"; then
5680 ac_ct_DLLTOOL=$DLLTOOL
5681 # Extract the first word of "dlltool", so it can be a program name with args.
5682 set dummy dlltool; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5686 $as_echo_n "(cached) " >&6
5688 if test -n "$ac_ct_DLLTOOL"; then
5689 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5709 if test -n "$ac_ct_DLLTOOL"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5711 $as_echo "$ac_ct_DLLTOOL" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5717 if test "x$ac_ct_DLLTOOL" = x; then
5720 case $cross_compiling:$ac_tool_warned in
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5724 ac_tool_warned=yes ;;
5726 DLLTOOL=$ac_ct_DLLTOOL
5729 DLLTOOL="$ac_cv_prog_DLLTOOL"
5732 test -z "$DLLTOOL" && DLLTOOL=dlltool
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5744 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5745 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5746 $as_echo_n "(cached) " >&6
5748 lt_cv_sharedlib_from_linklib_cmd='unknown'
5751 cygwin* | mingw* | pw32* | cegcc*)
5752 # two different shell functions defined in ltmain.sh
5753 # decide which to use based on capabilities of $DLLTOOL
5754 case `$DLLTOOL --help 2>&1` in
5755 *--identify-strict*)
5756 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5759 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5764 # fallback: assume linklib IS sharedlib
5765 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5771 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5772 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5773 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5782 if test -n "$ac_tool_prefix"; then
5785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5786 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_prog_AR+:} false; then :
5790 $as_echo_n "(cached) " >&6
5792 if test -n "$AR"; then
5793 ac_cv_prog_AR="$AR" # Let the user override the test.
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5802 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 if test -n "$AR"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5815 $as_echo "$AR" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5822 test -n "$AR" && break
5825 if test -z "$AR"; then
5829 # Extract the first word of "$ac_prog", so it can be a program name with args.
5830 set dummy $ac_prog; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5834 $as_echo_n "(cached) " >&6
5836 if test -n "$ac_ct_AR"; then
5837 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 test -z "$as_dir" && as_dir=.
5844 for ac_exec_ext in '' $ac_executable_extensions; do
5845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846 ac_cv_prog_ac_ct_AR="$ac_prog"
5847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5857 if test -n "$ac_ct_AR"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5859 $as_echo "$ac_ct_AR" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5866 test -n "$ac_ct_AR" && break
5869 if test "x$ac_ct_AR" = x; then
5872 case $cross_compiling:$ac_tool_warned in
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5876 ac_tool_warned=yes ;;
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5896 $as_echo_n "checking for archiver @FILE support... " >&6; }
5897 if ${lt_cv_ar_at_file+:} false; then :
5898 $as_echo_n "(cached) " >&6
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5912 if ac_fn_c_try_compile "$LINENO"; then :
5913 echo conftest.$ac_objext > conftest.lst
5914 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5915 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5916 (eval $lt_ar_try) 2>&5
5918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5919 test $ac_status = 0; }
5920 if test "$ac_status" -eq 0; then
5921 # Ensure the archiver fails upon bogus file names.
5922 rm -f conftest.$ac_objext libconftest.a
5923 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5924 (eval $lt_ar_try) 2>&5
5926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5927 test $ac_status = 0; }
5928 if test "$ac_status" -ne 0; then
5932 rm -f conftest.* libconftest.a
5935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5939 $as_echo "$lt_cv_ar_at_file" >&6; }
5941 if test "x$lt_cv_ar_at_file" = xno; then
5944 archiver_list_spec=$lt_cv_ar_at_file
5953 if test -n "$ac_tool_prefix"; then
5954 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5955 set dummy ${ac_tool_prefix}strip; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_STRIP+:} false; then :
5959 $as_echo_n "(cached) " >&6
5961 if test -n "$STRIP"; then
5962 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 STRIP=$ac_cv_prog_STRIP
5982 if test -n "$STRIP"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5984 $as_echo "$STRIP" >&6; }
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5992 if test -z "$ac_cv_prog_STRIP"; then
5994 # Extract the first word of "strip", so it can be a program name with args.
5995 set dummy strip; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5999 $as_echo_n "(cached) " >&6
6001 if test -n "$ac_ct_STRIP"; then
6002 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_ac_ct_STRIP="strip"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6022 if test -n "$ac_ct_STRIP"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6024 $as_echo "$ac_ct_STRIP" >&6; }
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6030 if test "x$ac_ct_STRIP" = x; then
6033 case $cross_compiling:$ac_tool_warned in
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6037 ac_tool_warned=yes ;;
6042 STRIP="$ac_cv_prog_STRIP"
6045 test -z "$STRIP" && STRIP=:
6052 if test -n "$ac_tool_prefix"; then
6053 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_RANLIB+:} false; then :
6058 $as_echo_n "(cached) " >&6
6060 if test -n "$RANLIB"; then
6061 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 RANLIB=$ac_cv_prog_RANLIB
6081 if test -n "$RANLIB"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6083 $as_echo "$RANLIB" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6091 if test -z "$ac_cv_prog_RANLIB"; then
6092 ac_ct_RANLIB=$RANLIB
6093 # Extract the first word of "ranlib", so it can be a program name with args.
6094 set dummy ranlib; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6098 $as_echo_n "(cached) " >&6
6100 if test -n "$ac_ct_RANLIB"; then
6101 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110 ac_cv_prog_ac_ct_RANLIB="ranlib"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6121 if test -n "$ac_ct_RANLIB"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6123 $as_echo "$ac_ct_RANLIB" >&6; }
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6129 if test "x$ac_ct_RANLIB" = x; then
6132 case $cross_compiling:$ac_tool_warned in
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6138 RANLIB=$ac_ct_RANLIB
6141 RANLIB="$ac_cv_prog_RANLIB"
6144 test -z "$RANLIB" && RANLIB=:
6151 # Determine commands to create old-style static archives.
6152 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6153 old_postinstall_cmds='chmod 644 $oldlib'
6154 old_postuninstall_cmds=
6156 if test -n "$RANLIB"; then
6159 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6162 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6165 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6170 lock_old_archive_extraction=yes ;;
6172 lock_old_archive_extraction=no ;;
6213 # If no C compiler was specified, use CC.
6216 # If no C compiler flags were specified, use CFLAGS.
6217 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6219 # Allow CC to be a program name with arguments.
6223 # Check for command to grab the raw symbol name followed by C symbol from nm.
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6225 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6226 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6227 $as_echo_n "(cached) " >&6
6230 # These are sane defaults that work on at least a few old systems.
6231 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6233 # Character class describing NM global symbol codes.
6234 symcode='[BCDEGRST]'
6236 # Regexp to match symbols that can be accessed directly from C.
6237 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6239 # Define system-specific variables.
6244 cygwin* | mingw* | pw32* | cegcc*)
6245 symcode='[ABCDGISTW]'
6248 if test "$host_cpu" = ia64; then
6249 symcode='[ABCDEGRST]'
6253 symcode='[BCDEGRST]'
6256 symcode='[BCDEGQRST]'
6267 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6275 # If we're using GNU nm, then use its standard symbol codes.
6276 case `$NM -V 2>&1` in
6277 *GNU* | *'with BFD'*)
6278 symcode='[ABCDGIRSTW]' ;;
6281 # Transform an extracted symbol line into a proper C declaration.
6282 # Some systems (esp. on ia64) link data and code symbols differently,
6283 # so use this general approach.
6284 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6286 # Transform an extracted symbol line into symbol name and symbol address
6287 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6288 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'"
6290 # Handle CRLF in mingw tool chain
6294 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6298 # Try without a prefix underscore, then with it.
6299 for ac_symprfx in "" "_"; do
6301 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6302 symxfrm="\\1 $ac_symprfx\\2 \\2"
6304 # Write the raw and C identifiers.
6305 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6306 # Fake it for dumpbin and say T for any non-static function
6307 # and D for any global variable.
6308 # Also find C++ and __fastcall symbols from MSVC++,
6309 # which start with @ or ?.
6310 lt_cv_sys_global_symbol_pipe="$AWK '"\
6311 " {last_section=section; section=\$ 3};"\
6312 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6313 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6314 " \$ 0!~/External *\|/{next};"\
6315 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6316 " {if(hide[section]) next};"\
6317 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6318 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6319 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6320 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6321 " ' prfx=^$ac_symprfx"
6323 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6325 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6327 # Check to see that the pipe works correctly.
6331 cat > conftest.$ac_ext <<_LT_EOF
6336 void nm_test_func(void);
6337 void nm_test_func(void){}
6341 int main(){nm_test_var='a';nm_test_func();return(0);}
6344 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6345 (eval $ac_compile) 2>&5
6347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6348 test $ac_status = 0; }; then
6349 # Now try to grab the symbols.
6351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6352 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6355 test $ac_status = 0; } && test -s "$nlist"; then
6356 # Try sorting and uniquifying the output.
6357 if sort "$nlist" | uniq > "$nlist"T; then
6358 mv -f "$nlist"T "$nlist"
6363 # Make sure that we snagged all the symbols we need.
6364 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6365 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6366 cat <<_LT_EOF > conftest.$ac_ext
6367 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6368 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6369 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6370 relocations are performed -- see ld's documentation on pseudo-relocs. */
6371 # define LT_DLSYM_CONST
6372 #elif defined(__osf__)
6373 /* This system does not cope well with relocations in const data. */
6374 # define LT_DLSYM_CONST
6376 # define LT_DLSYM_CONST const
6384 # Now generate the symbol file.
6385 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6387 cat <<_LT_EOF >> conftest.$ac_ext
6389 /* The mapping between symbol names and symbols. */
6390 LT_DLSYM_CONST struct {
6394 lt__PROGRAM__LTX_preloaded_symbols[] =
6396 { "@PROGRAM@", (void *) 0 },
6398 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6399 cat <<\_LT_EOF >> conftest.$ac_ext
6403 /* This works around a problem in FreeBSD linker */
6404 #ifdef FREEBSD_WORKAROUND
6405 static const void *lt_preloaded_setup() {
6406 return lt__PROGRAM__LTX_preloaded_symbols;
6414 # Now try linking the two files.
6415 mv conftest.$ac_objext conftstm.$ac_objext
6416 lt_globsym_save_LIBS=$LIBS
6417 lt_globsym_save_CFLAGS=$CFLAGS
6418 LIBS="conftstm.$ac_objext"
6419 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6421 (eval $ac_link) 2>&5
6423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6427 LIBS=$lt_globsym_save_LIBS
6428 CFLAGS=$lt_globsym_save_CFLAGS
6430 echo "cannot find nm_test_func in $nlist" >&5
6433 echo "cannot find nm_test_var in $nlist" >&5
6436 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6439 echo "$progname: failed program was:" >&5
6440 cat conftest.$ac_ext >&5
6442 rm -rf conftest* conftst*
6444 # Do not use the global_symbol_pipe unless it works.
6445 if test "$pipe_works" = yes; then
6448 lt_cv_sys_global_symbol_pipe=
6454 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6455 lt_cv_sys_global_symbol_to_cdecl=
6457 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6459 $as_echo "failed" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6462 $as_echo "ok" >&6; }
6465 # Response file support.
6466 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6467 nm_file_list_spec='@'
6468 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6469 nm_file_list_spec='@'
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6499 $as_echo_n "checking for sysroot... " >&6; }
6501 # Check whether --with-sysroot was given.
6502 if test "${with_sysroot+set}" = set; then :
6503 withval=$with_sysroot;
6510 case ${with_sysroot} in #(
6512 if test "$GCC" = yes; then
6513 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6517 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6523 $as_echo "${with_sysroot}" >&6; }
6524 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6529 $as_echo "${lt_sysroot:-no}" >&6; }
6535 # Check whether --enable-libtool-lock was given.
6536 if test "${enable_libtool_lock+set}" = set; then :
6537 enableval=$enable_libtool_lock;
6540 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6542 # Some flags need to be propagated to the compiler or linker for good
6546 # Find out which ABI we are using.
6547 echo 'int i;' > conftest.$ac_ext
6548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6549 (eval $ac_compile) 2>&5
6551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6552 test $ac_status = 0; }; then
6553 case `/usr/bin/file conftest.$ac_objext` in
6565 # Find out which ABI we are using.
6566 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6568 (eval $ac_compile) 2>&5
6570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6571 test $ac_status = 0; }; then
6572 if test "$lt_cv_prog_gnu_ld" = yes; then
6573 case `/usr/bin/file conftest.$ac_objext` in
6575 LD="${LD-ld} -melf32bsmip"
6578 LD="${LD-ld} -melf32bmipn32"
6581 LD="${LD-ld} -melf64bmip"
6585 case `/usr/bin/file conftest.$ac_objext` in
6601 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6602 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6603 # Find out which ABI we are using.
6604 echo 'int i;' > conftest.$ac_ext
6605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6606 (eval $ac_compile) 2>&5
6608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6609 test $ac_status = 0; }; then
6610 case `/usr/bin/file conftest.o` in
6613 x86_64-*kfreebsd*-gnu)
6614 LD="${LD-ld} -m elf_i386_fbsd"
6617 case `/usr/bin/file conftest.o` in
6619 LD="${LD-ld} -m elf32_x86_64"
6622 LD="${LD-ld} -m elf_i386"
6626 ppc64-*linux*|powerpc64-*linux*)
6627 LD="${LD-ld} -m elf32ppclinux"
6630 LD="${LD-ld} -m elf_s390"
6633 LD="${LD-ld} -m elf32_sparc"
6639 x86_64-*kfreebsd*-gnu)
6640 LD="${LD-ld} -m elf_x86_64_fbsd"
6643 LD="${LD-ld} -m elf_x86_64"
6645 ppc*-*linux*|powerpc*-*linux*)
6646 LD="${LD-ld} -m elf64ppc"
6648 s390*-*linux*|s390*-*tpf*)
6649 LD="${LD-ld} -m elf64_s390"
6652 LD="${LD-ld} -m elf64_sparc"
6662 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6663 SAVE_CFLAGS="$CFLAGS"
6664 CFLAGS="$CFLAGS -belf"
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6666 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6667 if ${lt_cv_cc_needs_belf+:} false; then :
6668 $as_echo_n "(cached) " >&6
6671 ac_cpp='$CPP $CPPFLAGS'
6672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6687 if ac_fn_c_try_link "$LINENO"; then :
6688 lt_cv_cc_needs_belf=yes
6690 lt_cv_cc_needs_belf=no
6692 rm -f core conftest.err conftest.$ac_objext \
6693 conftest$ac_exeext conftest.$ac_ext
6695 ac_cpp='$CPP $CPPFLAGS'
6696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6702 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6703 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6704 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6705 CFLAGS="$SAVE_CFLAGS"
6709 # Find out which ABI we are using.
6710 echo 'int i;' > conftest.$ac_ext
6711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6712 (eval $ac_compile) 2>&5
6714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715 test $ac_status = 0; }; then
6716 case `/usr/bin/file conftest.o` in
6718 case $lt_cv_prog_gnu_ld in
6722 LD="${LD-ld} -m elf_x86_64"
6725 LD="${LD-ld} -m elf64_sparc"
6728 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6729 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6734 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6746 need_locks="$enable_libtool_lock"
6748 if test -n "$ac_tool_prefix"; then
6749 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}mt; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6754 $as_echo_n "(cached) " >&6
6756 if test -n "$MANIFEST_TOOL"; then
6757 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6766 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6777 if test -n "$MANIFEST_TOOL"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6779 $as_echo "$MANIFEST_TOOL" >&6; }
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6787 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6788 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6789 # Extract the first word of "mt", so it can be a program name with args.
6790 set dummy mt; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6794 $as_echo_n "(cached) " >&6
6796 if test -n "$ac_ct_MANIFEST_TOOL"; then
6797 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6817 if test -n "$ac_ct_MANIFEST_TOOL"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6819 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6825 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6828 case $cross_compiling:$ac_tool_warned in
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832 ac_tool_warned=yes ;;
6834 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6837 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6840 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6842 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6843 if ${lt_cv_path_mainfest_tool+:} false; then :
6844 $as_echo_n "(cached) " >&6
6846 lt_cv_path_mainfest_tool=no
6847 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6848 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6849 cat conftest.err >&5
6850 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6851 lt_cv_path_mainfest_tool=yes
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6856 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6857 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6867 rhapsody* | darwin*)
6868 if test -n "$ac_tool_prefix"; then
6869 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6870 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872 $as_echo_n "checking for $ac_word... " >&6; }
6873 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6874 $as_echo_n "(cached) " >&6
6876 if test -n "$DSYMUTIL"; then
6877 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883 test -z "$as_dir" && as_dir=.
6884 for ac_exec_ext in '' $ac_executable_extensions; do
6885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6897 if test -n "$DSYMUTIL"; then
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6899 $as_echo "$DSYMUTIL" >&6; }
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902 $as_echo "no" >&6; }
6907 if test -z "$ac_cv_prog_DSYMUTIL"; then
6908 ac_ct_DSYMUTIL=$DSYMUTIL
6909 # Extract the first word of "dsymutil", so it can be a program name with args.
6910 set dummy dsymutil; ac_word=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6914 $as_echo_n "(cached) " >&6
6916 if test -n "$ac_ct_DSYMUTIL"; then
6917 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir=.
6924 for ac_exec_ext in '' $ac_executable_extensions; do
6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6937 if test -n "$ac_ct_DSYMUTIL"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6939 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6945 if test "x$ac_ct_DSYMUTIL" = x; then
6948 case $cross_compiling:$ac_tool_warned in
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6952 ac_tool_warned=yes ;;
6954 DSYMUTIL=$ac_ct_DSYMUTIL
6957 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_NMEDIT+:} false; then :
6966 $as_echo_n "(cached) " >&6
6968 if test -n "$NMEDIT"; then
6969 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 NMEDIT=$ac_cv_prog_NMEDIT
6989 if test -n "$NMEDIT"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6991 $as_echo "$NMEDIT" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_NMEDIT"; then
7000 ac_ct_NMEDIT=$NMEDIT
7001 # Extract the first word of "nmedit", so it can be a program name with args.
7002 set dummy nmedit; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$ac_ct_NMEDIT"; then
7009 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7029 if test -n "$ac_ct_NMEDIT"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7031 $as_echo "$ac_ct_NMEDIT" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_NMEDIT" = x; then
7040 case $cross_compiling:$ac_tool_warned in
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7046 NMEDIT=$ac_ct_NMEDIT
7049 NMEDIT="$ac_cv_prog_NMEDIT"
7052 if test -n "$ac_tool_prefix"; then
7053 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7054 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056 $as_echo_n "checking for $ac_word... " >&6; }
7057 if ${ac_cv_prog_LIPO+:} false; then :
7058 $as_echo_n "(cached) " >&6
7060 if test -n "$LIPO"; then
7061 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067 test -z "$as_dir" && as_dir=.
7068 for ac_exec_ext in '' $ac_executable_extensions; do
7069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7070 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 LIPO=$ac_cv_prog_LIPO
7081 if test -n "$LIPO"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7083 $as_echo "$LIPO" >&6; }
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7091 if test -z "$ac_cv_prog_LIPO"; then
7093 # Extract the first word of "lipo", so it can be a program name with args.
7094 set dummy lipo; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7098 $as_echo_n "(cached) " >&6
7100 if test -n "$ac_ct_LIPO"; then
7101 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_ac_ct_LIPO="lipo"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7121 if test -n "$ac_ct_LIPO"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7123 $as_echo "$ac_ct_LIPO" >&6; }
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7129 if test "x$ac_ct_LIPO" = x; then
7132 case $cross_compiling:$ac_tool_warned in
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7136 ac_tool_warned=yes ;;
7141 LIPO="$ac_cv_prog_LIPO"
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}otool; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_OTOOL+:} false; then :
7150 $as_echo_n "(cached) " >&6
7152 if test -n "$OTOOL"; then
7153 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172 OTOOL=$ac_cv_prog_OTOOL
7173 if test -n "$OTOOL"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7175 $as_echo "$OTOOL" >&6; }
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7183 if test -z "$ac_cv_prog_OTOOL"; then
7185 # Extract the first word of "otool", so it can be a program name with args.
7186 set dummy otool; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7190 $as_echo_n "(cached) " >&6
7192 if test -n "$ac_ct_OTOOL"; then
7193 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_ac_ct_OTOOL="otool"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7213 if test -n "$ac_ct_OTOOL"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7215 $as_echo "$ac_ct_OTOOL" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7221 if test "x$ac_ct_OTOOL" = x; then
7224 case $cross_compiling:$ac_tool_warned in
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7233 OTOOL="$ac_cv_prog_OTOOL"
7236 if test -n "$ac_tool_prefix"; then
7237 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7238 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 $as_echo_n "checking for $ac_word... " >&6; }
7241 if ${ac_cv_prog_OTOOL64+:} false; then :
7242 $as_echo_n "(cached) " >&6
7244 if test -n "$OTOOL64"; then
7245 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 test -z "$as_dir" && as_dir=.
7252 for ac_exec_ext in '' $ac_executable_extensions; do
7253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7254 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 OTOOL64=$ac_cv_prog_OTOOL64
7265 if test -n "$OTOOL64"; then
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7267 $as_echo "$OTOOL64" >&6; }
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 $as_echo "no" >&6; }
7275 if test -z "$ac_cv_prog_OTOOL64"; then
7276 ac_ct_OTOOL64=$OTOOL64
7277 # Extract the first word of "otool64", so it can be a program name with args.
7278 set dummy otool64; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 $as_echo_n "checking for $ac_word... " >&6; }
7281 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7282 $as_echo_n "(cached) " >&6
7284 if test -n "$ac_ct_OTOOL64"; then
7285 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 test -z "$as_dir" && as_dir=.
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294 ac_cv_prog_ac_ct_OTOOL64="otool64"
7295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7305 if test -n "$ac_ct_OTOOL64"; then
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7307 $as_echo "$ac_ct_OTOOL64" >&6; }
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310 $as_echo "no" >&6; }
7313 if test "x$ac_ct_OTOOL64" = x; then
7316 case $cross_compiling:$ac_tool_warned in
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7320 ac_tool_warned=yes ;;
7322 OTOOL64=$ac_ct_OTOOL64
7325 OTOOL64="$ac_cv_prog_OTOOL64"
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7355 $as_echo_n "checking for -single_module linker flag... " >&6; }
7356 if ${lt_cv_apple_cc_single_mod+:} false; then :
7357 $as_echo_n "(cached) " >&6
7359 lt_cv_apple_cc_single_mod=no
7360 if test -z "${LT_MULTI_MODULE}"; then
7361 # By default we will add the -single_module flag. You can override
7362 # by either setting the environment variable LT_MULTI_MODULE
7363 # non-empty at configure time, or by adding -multi_module to the
7365 rm -rf libconftest.dylib*
7366 echo "int foo(void){return 1;}" > conftest.c
7367 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7368 -dynamiclib -Wl,-single_module conftest.c" >&5
7369 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7370 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7372 # If there is a non-empty error log, and "single_module"
7373 # appears in it, assume the flag caused a linker warning
7374 if test -s conftest.err && $GREP single_module conftest.err; then
7375 cat conftest.err >&5
7376 # Otherwise, if the output was created with a 0 exit code from
7377 # the compiler, it worked.
7378 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7379 lt_cv_apple_cc_single_mod=yes
7381 cat conftest.err >&5
7383 rm -rf libconftest.dylib*
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7388 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7391 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7392 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7393 $as_echo_n "(cached) " >&6
7395 lt_cv_ld_exported_symbols_list=no
7396 save_LDFLAGS=$LDFLAGS
7397 echo "_main" > conftest.sym
7398 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7400 /* end confdefs.h. */
7410 if ac_fn_c_try_link "$LINENO"; then :
7411 lt_cv_ld_exported_symbols_list=yes
7413 lt_cv_ld_exported_symbols_list=no
7415 rm -f core conftest.err conftest.$ac_objext \
7416 conftest$ac_exeext conftest.$ac_ext
7417 LDFLAGS="$save_LDFLAGS"
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7421 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7424 $as_echo_n "checking for -force_load linker flag... " >&6; }
7425 if ${lt_cv_ld_force_load+:} false; then :
7426 $as_echo_n "(cached) " >&6
7428 lt_cv_ld_force_load=no
7429 cat > conftest.c << _LT_EOF
7430 int forced_loaded() { return 2;}
7432 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7433 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7434 echo "$AR cru libconftest.a conftest.o" >&5
7435 $AR cru libconftest.a conftest.o 2>&5
7436 echo "$RANLIB libconftest.a" >&5
7437 $RANLIB libconftest.a 2>&5
7438 cat > conftest.c << _LT_EOF
7439 int main() { return 0;}
7441 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7442 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7444 if test -s conftest.err && $GREP force_load conftest.err; then
7445 cat conftest.err >&5
7446 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7447 lt_cv_ld_force_load=yes
7449 cat conftest.err >&5
7451 rm -f conftest.err libconftest.a conftest conftest.c
7452 rm -rf conftest.dSYM
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7456 $as_echo "$lt_cv_ld_force_load" >&6; }
7458 rhapsody* | darwin1.[012])
7459 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7461 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7462 darwin*) # darwin 5.x on
7463 # if running on 10.5 or later, the deployment target defaults
7464 # to the OS version, if on x86, and 10.4, the deployment
7465 # target defaults to 10.4. Don't you love it?
7466 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7467 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7468 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7470 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7472 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7476 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7477 _lt_dar_single_mod='$single_module'
7479 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7480 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7482 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7484 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7485 _lt_dsymutil='~$DSYMUTIL $lib || :'
7493 ac_cpp='$CPP $CPPFLAGS'
7494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7498 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7499 # On Suns, sometimes $CPP names a directory.
7500 if test -n "$CPP" && test -d "$CPP"; then
7503 if test -z "$CPP"; then
7504 if ${ac_cv_prog_CPP+:} false; then :
7505 $as_echo_n "(cached) " >&6
7507 # Double quotes because CPP needs to be expanded
7508 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7511 for ac_c_preproc_warn_flag in '' yes
7513 # Use a header file that comes with gcc, so configuring glibc
7514 # with a fresh cross-compiler works.
7515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7516 # <limits.h> exists even on freestanding compilers.
7517 # On the NeXT, cc -E runs the code through the compiler's parser,
7518 # not just through cpp. "Syntax error" is here to catch this case.
7519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7520 /* end confdefs.h. */
7522 # include <limits.h>
7524 # include <assert.h>
7528 if ac_fn_c_try_cpp "$LINENO"; then :
7531 # Broken: fails on valid input.
7534 rm -f conftest.err conftest.i conftest.$ac_ext
7536 # OK, works on sane cases. Now check whether nonexistent headers
7537 # can be detected and how.
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7540 #include <ac_nonexistent.h>
7542 if ac_fn_c_try_cpp "$LINENO"; then :
7543 # Broken: success on invalid input.
7546 # Passes both tests.
7550 rm -f conftest.err conftest.i conftest.$ac_ext
7553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7554 rm -f conftest.i conftest.err conftest.$ac_ext
7555 if $ac_preproc_ok; then :
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7568 $as_echo "$CPP" >&6; }
7570 for ac_c_preproc_warn_flag in '' yes
7572 # Use a header file that comes with gcc, so configuring glibc
7573 # with a fresh cross-compiler works.
7574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7575 # <limits.h> exists even on freestanding compilers.
7576 # On the NeXT, cc -E runs the code through the compiler's parser,
7577 # not just through cpp. "Syntax error" is here to catch this case.
7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7581 # include <limits.h>
7583 # include <assert.h>
7587 if ac_fn_c_try_cpp "$LINENO"; then :
7590 # Broken: fails on valid input.
7593 rm -f conftest.err conftest.i conftest.$ac_ext
7595 # OK, works on sane cases. Now check whether nonexistent headers
7596 # can be detected and how.
7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7599 #include <ac_nonexistent.h>
7601 if ac_fn_c_try_cpp "$LINENO"; then :
7602 # Broken: success on invalid input.
7605 # Passes both tests.
7609 rm -f conftest.err conftest.i conftest.$ac_ext
7612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7613 rm -f conftest.i conftest.err conftest.$ac_ext
7614 if $ac_preproc_ok; then :
7617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7619 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7620 See \`config.log' for more details" "$LINENO" 5; }
7624 ac_cpp='$CPP $CPPFLAGS'
7625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7631 $as_echo_n "checking for ANSI C header files... " >&6; }
7632 if ${ac_cv_header_stdc+:} false; then :
7633 $as_echo_n "(cached) " >&6
7635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7650 if ac_fn_c_try_compile "$LINENO"; then :
7651 ac_cv_header_stdc=yes
7653 ac_cv_header_stdc=no
7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657 if test $ac_cv_header_stdc = yes; then
7658 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7660 /* end confdefs.h. */
7664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7665 $EGREP "memchr" >/dev/null 2>&1; then :
7668 ac_cv_header_stdc=no
7674 if test $ac_cv_header_stdc = yes; then
7675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7682 $EGREP "free" >/dev/null 2>&1; then :
7685 ac_cv_header_stdc=no
7691 if test $ac_cv_header_stdc = yes; then
7692 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7693 if test "$cross_compiling" = yes; then :
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7700 #if ((' ' & 0x0FF) == 0x020)
7701 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7702 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7704 # define ISLOWER(c) \
7705 (('a' <= (c) && (c) <= 'i') \
7706 || ('j' <= (c) && (c) <= 'r') \
7707 || ('s' <= (c) && (c) <= 'z'))
7708 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7711 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7716 for (i = 0; i < 256; i++)
7717 if (XOR (islower (i), ISLOWER (i))
7718 || toupper (i) != TOUPPER (i))
7723 if ac_fn_c_try_run "$LINENO"; then :
7726 ac_cv_header_stdc=no
7728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7729 conftest.$ac_objext conftest.beam conftest.$ac_ext
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7735 $as_echo "$ac_cv_header_stdc" >&6; }
7736 if test $ac_cv_header_stdc = yes; then
7738 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7742 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7743 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7744 inttypes.h stdint.h unistd.h
7746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7747 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7750 cat >>confdefs.h <<_ACEOF
7751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7759 for ac_header in dlfcn.h
7761 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7763 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_DLFCN_H 1
7778 # Check whether --enable-static was given.
7779 if test "${enable_static+set}" = set; then :
7780 enableval=$enable_static; p=${PACKAGE-default}
7782 yes) enable_static=yes ;;
7783 no) enable_static=no ;;
7786 # Look at the argument we got. We use all the common list separators.
7787 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7788 for pkg in $enableval; do
7790 if test "X$pkg" = "X$p"; then
7814 # Check whether --enable-shared was given.
7815 if test "${enable_shared+set}" = set; then :
7816 enableval=$enable_shared; p=${PACKAGE-default}
7818 yes) enable_shared=yes ;;
7819 no) enable_shared=no ;;
7822 # Look at the argument we got. We use all the common list separators.
7823 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7824 for pkg in $enableval; do
7826 if test "X$pkg" = "X$p"; then
7847 # Check whether --with-pic was given.
7848 if test "${with_pic+set}" = set; then :
7849 withval=$with_pic; lt_p=${PACKAGE-default}
7851 yes|no) pic_mode=$withval ;;
7854 # Look at the argument we got. We use all the common list separators.
7855 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7856 for lt_pkg in $withval; do
7858 if test "X$lt_pkg" = "X$lt_p"; then
7870 test -z "$pic_mode" && pic_mode=default
7878 # Check whether --enable-fast-install was given.
7879 if test "${enable_fast_install+set}" = set; then :
7880 enableval=$enable_fast_install; p=${PACKAGE-default}
7882 yes) enable_fast_install=yes ;;
7883 no) enable_fast_install=no ;;
7885 enable_fast_install=no
7886 # Look at the argument we got. We use all the common list separators.
7887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7888 for pkg in $enableval; do
7890 if test "X$pkg" = "X$p"; then
7891 enable_fast_install=yes
7898 enable_fast_install=yes
7911 # This can be used to rebuild libtool when needed
7912 LIBTOOL_DEPS="$ltmain"
7914 # Always use our own libtool.
7915 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7946 test -z "$LN_S" && LN_S="ln -s"
7961 if test -n "${ZSH_VERSION+set}" ; then
7962 setopt NO_GLOB_SUBST
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7966 $as_echo_n "checking for objdir... " >&6; }
7967 if ${lt_cv_objdir+:} false; then :
7968 $as_echo_n "(cached) " >&6
7970 rm -f .libs 2>/dev/null
7971 mkdir .libs 2>/dev/null
7972 if test -d .libs; then
7975 # MS-DOS does not allow filenames that begin with a dot.
7978 rmdir .libs 2>/dev/null
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7981 $as_echo "$lt_cv_objdir" >&6; }
7982 objdir=$lt_cv_objdir
7988 cat >>confdefs.h <<_ACEOF
7989 #define LT_OBJDIR "$lt_cv_objdir/"
7997 # AIX sometimes has problems with the GCC collect2 program. For some
7998 # reason, if we set the COLLECT_NAMES environment variable, the problems
7999 # vanish in a puff of smoke.
8000 if test "X${COLLECT_NAMES+set}" != Xset; then
8002 export COLLECT_NAMES
8009 can_build_shared=yes
8011 # All known linkers require a `.a' archive for static linking (except MSVC,
8012 # which needs '.lib').
8015 with_gnu_ld="$lt_cv_prog_gnu_ld"
8018 old_CFLAGS="$CFLAGS"
8020 # Set sane defaults for various variables
8021 test -z "$CC" && CC=cc
8022 test -z "$LTCC" && LTCC=$CC
8023 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8024 test -z "$LD" && LD=ld
8025 test -z "$ac_objext" && ac_objext=o
8027 for cc_temp in $compiler""; do
8029 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8030 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8035 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8038 # Only perform the check for file, if the check method requires it
8039 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8040 case $deplibs_check_method in
8042 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8044 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8045 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8046 $as_echo_n "(cached) " >&6
8050 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8053 lt_save_MAGIC_CMD="$MAGIC_CMD"
8054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8055 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8056 for ac_dir in $ac_dummy; do
8058 test -z "$ac_dir" && ac_dir=.
8059 if test -f $ac_dir/${ac_tool_prefix}file; then
8060 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8061 if test -n "$file_magic_test_file"; then
8062 case $deplibs_check_method in
8064 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8066 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8067 $EGREP "$file_magic_regex" > /dev/null; then
8072 *** Warning: the command libtool uses to detect shared libraries,
8073 *** $file_magic_cmd, produces output that libtool cannot recognize.
8074 *** The result is that libtool may fail to recognize shared libraries
8075 *** as such. This will affect the creation of libtool libraries that
8076 *** depend on shared libraries, but programs linked with such libtool
8077 *** libraries will work regardless of this problem. Nevertheless, you
8078 *** may want to report the problem to your system manager and/or to
8079 *** bug-libtool@gnu.org
8089 MAGIC_CMD="$lt_save_MAGIC_CMD"
8094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8095 if test -n "$MAGIC_CMD"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8097 $as_echo "$MAGIC_CMD" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8107 if test -z "$lt_cv_path_MAGIC_CMD"; then
8108 if test -n "$ac_tool_prefix"; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8110 $as_echo_n "checking for file... " >&6; }
8111 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8112 $as_echo_n "(cached) " >&6
8116 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8119 lt_save_MAGIC_CMD="$MAGIC_CMD"
8120 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8121 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8122 for ac_dir in $ac_dummy; do
8124 test -z "$ac_dir" && ac_dir=.
8125 if test -f $ac_dir/file; then
8126 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8127 if test -n "$file_magic_test_file"; then
8128 case $deplibs_check_method in
8130 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8132 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8133 $EGREP "$file_magic_regex" > /dev/null; then
8138 *** Warning: the command libtool uses to detect shared libraries,
8139 *** $file_magic_cmd, produces output that libtool cannot recognize.
8140 *** The result is that libtool may fail to recognize shared libraries
8141 *** as such. This will affect the creation of libtool libraries that
8142 *** depend on shared libraries, but programs linked with such libtool
8143 *** libraries will work regardless of this problem. Nevertheless, you
8144 *** may want to report the problem to your system manager and/or to
8145 *** bug-libtool@gnu.org
8155 MAGIC_CMD="$lt_save_MAGIC_CMD"
8160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8161 if test -n "$MAGIC_CMD"; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8163 $as_echo "$MAGIC_CMD" >&6; }
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8179 # Use C for the default configuration in the libtool script
8183 ac_cpp='$CPP $CPPFLAGS'
8184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8189 # Source file extension for C test sources.
8192 # Object file extension for compiled C test sources.
8196 # Code to be used in simple compile tests
8197 lt_simple_compile_test_code="int some_variable = 0;"
8199 # Code to be used in simple link tests
8200 lt_simple_link_test_code='int main(){return(0);}'
8208 # If no C compiler was specified, use CC.
8211 # If no C compiler flags were specified, use CFLAGS.
8212 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8214 # Allow CC to be a program name with arguments.
8217 # Save the default compiler, since it gets overwritten when the other
8218 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8219 compiler_DEFAULT=$CC
8221 # save warnings/boilerplate of simple test code
8222 ac_outfile=conftest.$ac_objext
8223 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8224 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8225 _lt_compiler_boilerplate=`cat conftest.err`
8228 ac_outfile=conftest.$ac_objext
8229 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8230 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8231 _lt_linker_boilerplate=`cat conftest.err`
8236 ## There is no encapsulation within the following macros, do not change
8237 ## the running order or otherwise move them around unless you know exactly
8238 ## what you are doing...
8239 if test -n "$compiler"; then
8241 lt_prog_compiler_no_builtin_flag=
8243 if test "$GCC" = yes; then
8244 case $cc_basename in
8246 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8248 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8252 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8253 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8254 $as_echo_n "(cached) " >&6
8256 lt_cv_prog_compiler_rtti_exceptions=no
8257 ac_outfile=conftest.$ac_objext
8258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8259 lt_compiler_flag="-fno-rtti -fno-exceptions"
8260 # Insert the option either (1) after the last *FLAGS variable, or
8261 # (2) before a word containing "conftest.", or (3) at the end.
8262 # Note that $ac_compile itself does not contain backslashes and begins
8263 # with a dollar sign (not a hyphen), so the echo should work correctly.
8264 # The option is referenced via a variable to avoid confusing sed.
8265 lt_compile=`echo "$ac_compile" | $SED \
8266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8268 -e 's:$: $lt_compiler_flag:'`
8269 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8270 (eval "$lt_compile" 2>conftest.err)
8272 cat conftest.err >&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 if (exit $ac_status) && test -s "$ac_outfile"; then
8275 # The compiler can only warn and ignore the option if not recognized
8276 # So say no if there are warnings other than the usual output.
8277 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8278 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8279 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8280 lt_cv_prog_compiler_rtti_exceptions=yes
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8287 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8289 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8290 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8302 lt_prog_compiler_wl=
8303 lt_prog_compiler_pic=
8304 lt_prog_compiler_static=
8307 if test "$GCC" = yes; then
8308 lt_prog_compiler_wl='-Wl,'
8309 lt_prog_compiler_static='-static'
8313 # All AIX code is PIC.
8314 if test "$host_cpu" = ia64; then
8315 # AIX 5 now supports IA64 processor
8316 lt_prog_compiler_static='-Bstatic'
8323 # see comment about AmigaOS4 .so support
8324 lt_prog_compiler_pic='-fPIC'
8327 # FIXME: we need at least 68020 code to build shared libraries, but
8328 # adding the `-m68020' flag to GCC prevents building anything better,
8330 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8335 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8336 # PIC is the default for these OSes.
8339 mingw* | cygwin* | pw32* | os2* | cegcc*)
8340 # This hack is so that the source file can tell whether it is being
8341 # built for inclusion in a dll (and should export symbols for example).
8342 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8343 # (--disable-auto-import) libraries
8344 lt_prog_compiler_pic='-DDLL_EXPORT'
8347 darwin* | rhapsody*)
8348 # PIC is the default on this platform
8349 # Common symbols not allowed in MH_DYLIB files
8350 lt_prog_compiler_pic='-fno-common'
8354 # PIC is the default for Haiku.
8355 # The "-static" flag exists, but is broken.
8356 lt_prog_compiler_static=
8360 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8361 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8362 # sets the default TLS model and affects inlining.
8368 lt_prog_compiler_pic='-fPIC'
8374 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8375 # Instead, we relocate shared libraries at runtime.
8379 # Just because we use GCC doesn't mean we suddenly get shared libraries
8380 # on systems that don't support them.
8381 lt_prog_compiler_can_build_shared=no
8386 # QNX uses GNU C++, but need to define -shared option too, otherwise
8388 lt_prog_compiler_pic='-fPIC -shared'
8392 if test -d /usr/nec; then
8393 lt_prog_compiler_pic=-Kconform_pic
8398 lt_prog_compiler_pic='-fPIC'
8402 case $cc_basename in
8403 nvcc*) # Cuda Compiler Driver 2.2
8404 lt_prog_compiler_wl='-Xlinker '
8405 if test -n "$lt_prog_compiler_pic"; then
8406 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8411 # PORTME Check for flag to pass linker flags through the system compiler.
8414 lt_prog_compiler_wl='-Wl,'
8415 if test "$host_cpu" = ia64; then
8416 # AIX 5 now supports IA64 processor
8417 lt_prog_compiler_static='-Bstatic'
8419 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8423 mingw* | cygwin* | pw32* | os2* | cegcc*)
8424 # This hack is so that the source file can tell whether it is being
8425 # built for inclusion in a dll (and should export symbols for example).
8426 lt_prog_compiler_pic='-DDLL_EXPORT'
8429 hpux9* | hpux10* | hpux11*)
8430 lt_prog_compiler_wl='-Wl,'
8431 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8438 lt_prog_compiler_pic='+Z'
8441 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8442 lt_prog_compiler_static='${wl}-a ${wl}archive'
8445 irix5* | irix6* | nonstopux*)
8446 lt_prog_compiler_wl='-Wl,'
8447 # PIC (with -KPIC) is the default.
8448 lt_prog_compiler_static='-non_shared'
8451 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8452 case $cc_basename in
8453 # old Intel for x86_64 which still supported -KPIC.
8455 lt_prog_compiler_wl='-Wl,'
8456 lt_prog_compiler_pic='-KPIC'
8457 lt_prog_compiler_static='-static'
8459 # icc used to be incompatible with GCC.
8460 # ICC 10 doesn't accept -KPIC any more.
8462 lt_prog_compiler_wl='-Wl,'
8463 lt_prog_compiler_pic='-fPIC'
8464 lt_prog_compiler_static='-static'
8466 # Lahey Fortran 8.1.
8468 lt_prog_compiler_wl='-Wl,'
8469 lt_prog_compiler_pic='--shared'
8470 lt_prog_compiler_static='--static'
8473 # NAG Fortran compiler
8474 lt_prog_compiler_wl='-Wl,-Wl,,'
8475 lt_prog_compiler_pic='-PIC'
8476 lt_prog_compiler_static='-Bstatic'
8478 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8479 # Portland Group compilers (*not* the Pentium gcc compiler,
8480 # which looks to be a dead project)
8481 lt_prog_compiler_wl='-Wl,'
8482 lt_prog_compiler_pic='-fpic'
8483 lt_prog_compiler_static='-Bstatic'
8486 lt_prog_compiler_wl='-Wl,'
8487 # All Alpha code is PIC.
8488 lt_prog_compiler_static='-non_shared'
8490 xl* | bgxl* | bgf* | mpixl*)
8491 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8492 lt_prog_compiler_wl='-Wl,'
8493 lt_prog_compiler_pic='-qpic'
8494 lt_prog_compiler_static='-qstaticlink'
8497 case `$CC -V 2>&1 | sed 5q` in
8498 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8499 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8500 lt_prog_compiler_pic='-KPIC'
8501 lt_prog_compiler_static='-Bstatic'
8502 lt_prog_compiler_wl=''
8504 *Sun\ F* | *Sun*Fortran*)
8505 lt_prog_compiler_pic='-KPIC'
8506 lt_prog_compiler_static='-Bstatic'
8507 lt_prog_compiler_wl='-Qoption ld '
8511 lt_prog_compiler_pic='-KPIC'
8512 lt_prog_compiler_static='-Bstatic'
8513 lt_prog_compiler_wl='-Wl,'
8515 *Intel*\ [CF]*Compiler*)
8516 lt_prog_compiler_wl='-Wl,'
8517 lt_prog_compiler_pic='-fPIC'
8518 lt_prog_compiler_static='-static'
8521 lt_prog_compiler_wl='-Wl,'
8522 lt_prog_compiler_pic='-fpic'
8523 lt_prog_compiler_static='-Bstatic'
8531 lt_prog_compiler_pic='-KPIC'
8532 lt_prog_compiler_static='-Bstatic'
8536 # QNX uses GNU C++, but need to define -shared option too, otherwise
8538 lt_prog_compiler_pic='-fPIC -shared'
8541 osf3* | osf4* | osf5*)
8542 lt_prog_compiler_wl='-Wl,'
8543 # All OSF/1 code is PIC.
8544 lt_prog_compiler_static='-non_shared'
8548 lt_prog_compiler_static='-non_shared'
8552 lt_prog_compiler_pic='-KPIC'
8553 lt_prog_compiler_static='-Bstatic'
8554 case $cc_basename in
8555 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8556 lt_prog_compiler_wl='-Qoption ld ';;
8558 lt_prog_compiler_wl='-Wl,';;
8563 lt_prog_compiler_wl='-Qoption ld '
8564 lt_prog_compiler_pic='-PIC'
8565 lt_prog_compiler_static='-Bstatic'
8568 sysv4 | sysv4.2uw2* | sysv4.3*)
8569 lt_prog_compiler_wl='-Wl,'
8570 lt_prog_compiler_pic='-KPIC'
8571 lt_prog_compiler_static='-Bstatic'
8575 if test -d /usr/nec ;then
8576 lt_prog_compiler_pic='-Kconform_pic'
8577 lt_prog_compiler_static='-Bstatic'
8581 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8582 lt_prog_compiler_wl='-Wl,'
8583 lt_prog_compiler_pic='-KPIC'
8584 lt_prog_compiler_static='-Bstatic'
8588 lt_prog_compiler_wl='-Wl,'
8589 lt_prog_compiler_can_build_shared=no
8593 lt_prog_compiler_pic='-pic'
8594 lt_prog_compiler_static='-Bstatic'
8598 lt_prog_compiler_can_build_shared=no
8604 # For platforms which do not support PIC, -DPIC is meaningless:
8606 lt_prog_compiler_pic=
8609 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8614 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8615 if ${lt_cv_prog_compiler_pic+:} false; then :
8616 $as_echo_n "(cached) " >&6
8618 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8621 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8622 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8625 # Check to make sure the PIC flag actually works.
8627 if test -n "$lt_prog_compiler_pic"; then
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8629 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8630 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8631 $as_echo_n "(cached) " >&6
8633 lt_cv_prog_compiler_pic_works=no
8634 ac_outfile=conftest.$ac_objext
8635 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8636 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8637 # Insert the option either (1) after the last *FLAGS variable, or
8638 # (2) before a word containing "conftest.", or (3) at the end.
8639 # Note that $ac_compile itself does not contain backslashes and begins
8640 # with a dollar sign (not a hyphen), so the echo should work correctly.
8641 # The option is referenced via a variable to avoid confusing sed.
8642 lt_compile=`echo "$ac_compile" | $SED \
8643 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8644 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8645 -e 's:$: $lt_compiler_flag:'`
8646 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8647 (eval "$lt_compile" 2>conftest.err)
8649 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 if (exit $ac_status) && test -s "$ac_outfile"; then
8652 # The compiler can only warn and ignore the option if not recognized
8653 # So say no if there are warnings other than the usual output.
8654 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8655 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8656 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8657 lt_cv_prog_compiler_pic_works=yes
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8664 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8666 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8667 case $lt_prog_compiler_pic in
8669 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8672 lt_prog_compiler_pic=
8673 lt_prog_compiler_can_build_shared=no
8689 # Check to make sure the static flag actually works.
8691 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8693 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8694 if ${lt_cv_prog_compiler_static_works+:} false; then :
8695 $as_echo_n "(cached) " >&6
8697 lt_cv_prog_compiler_static_works=no
8698 save_LDFLAGS="$LDFLAGS"
8699 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8700 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8701 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8702 # The linker can only warn and ignore the option if not recognized
8703 # So say no if there are warnings
8704 if test -s conftest.err; then
8705 # Append any errors to the config.log.
8706 cat conftest.err 1>&5
8707 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8708 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8709 if diff conftest.exp conftest.er2 >/dev/null; then
8710 lt_cv_prog_compiler_static_works=yes
8713 lt_cv_prog_compiler_static_works=yes
8717 LDFLAGS="$save_LDFLAGS"
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8721 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8723 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8726 lt_prog_compiler_static=
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8736 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8737 if ${lt_cv_prog_compiler_c_o+:} false; then :
8738 $as_echo_n "(cached) " >&6
8740 lt_cv_prog_compiler_c_o=no
8741 $RM -r conftest 2>/dev/null
8745 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8747 lt_compiler_flag="-o out/conftest2.$ac_objext"
8748 # Insert the option either (1) after the last *FLAGS variable, or
8749 # (2) before a word containing "conftest.", or (3) at the end.
8750 # Note that $ac_compile itself does not contain backslashes and begins
8751 # with a dollar sign (not a hyphen), so the echo should work correctly.
8752 lt_compile=`echo "$ac_compile" | $SED \
8753 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8755 -e 's:$: $lt_compiler_flag:'`
8756 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8757 (eval "$lt_compile" 2>out/conftest.err)
8759 cat out/conftest.err >&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8763 # The compiler can only warn and ignore the option if not recognized
8764 # So say no if there are warnings
8765 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8766 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8767 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8768 lt_cv_prog_compiler_c_o=yes
8773 # SGI C++ compiler will create directory out/ii_files/ for
8774 # template instantiation
8775 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8776 $RM out/* && rmdir out
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8783 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8791 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8792 if ${lt_cv_prog_compiler_c_o+:} false; then :
8793 $as_echo_n "(cached) " >&6
8795 lt_cv_prog_compiler_c_o=no
8796 $RM -r conftest 2>/dev/null
8800 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8802 lt_compiler_flag="-o out/conftest2.$ac_objext"
8803 # Insert the option either (1) after the last *FLAGS variable, or
8804 # (2) before a word containing "conftest.", or (3) at the end.
8805 # Note that $ac_compile itself does not contain backslashes and begins
8806 # with a dollar sign (not a hyphen), so the echo should work correctly.
8807 lt_compile=`echo "$ac_compile" | $SED \
8808 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8809 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8810 -e 's:$: $lt_compiler_flag:'`
8811 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8812 (eval "$lt_compile" 2>out/conftest.err)
8814 cat out/conftest.err >&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8818 # The compiler can only warn and ignore the option if not recognized
8819 # So say no if there are warnings
8820 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8821 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8822 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8823 lt_cv_prog_compiler_c_o=yes
8828 # SGI C++ compiler will create directory out/ii_files/ for
8829 # template instantiation
8830 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8831 $RM out/* && rmdir out
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8838 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8843 hard_links="nottested"
8844 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8845 # do not overwrite the value of need_locks provided by the user
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8847 $as_echo_n "checking if we can lock with hard links... " >&6; }
8850 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8852 ln conftest.a conftest.b 2>&5 || hard_links=no
8853 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8855 $as_echo "$hard_links" >&6; }
8856 if test "$hard_links" = no; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8858 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8871 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8874 allow_undefined_flag=
8875 always_export_symbols=no
8877 archive_expsym_cmds=
8878 compiler_needs_object=no
8879 enable_shared_with_static_runtimes=no
8880 export_dynamic_flag_spec=
8881 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8882 hardcode_automatic=no
8884 hardcode_direct_absolute=no
8885 hardcode_libdir_flag_spec=
8886 hardcode_libdir_separator=
8888 hardcode_shlibpath_var=unsupported
8890 link_all_deplibs=unknown
8893 old_archive_from_new_cmds=
8894 old_archive_from_expsyms_cmds=
8895 thread_safe_flag_spec=
8896 whole_archive_flag_spec=
8897 # include_expsyms should be a list of space-separated symbols to be *always*
8898 # included in the symbol list
8900 # exclude_expsyms can be an extended regexp of symbols to exclude
8901 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8902 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8903 # as well as any symbol that contains `d'.
8904 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8905 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8906 # platforms (ab)use it in PIC code, but their linkers get confused if
8907 # the symbol is explicitly referenced. Since portable code cannot
8908 # rely on this symbol name, it's probably fine to never include it in
8909 # preloaded symbol tables.
8910 # Exclude shared library initialization/finalization symbols.
8911 extract_expsyms_cmds=
8914 cygwin* | mingw* | pw32* | cegcc*)
8915 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8916 # When not using gcc, we currently assume that we are using
8917 # Microsoft Visual C++.
8918 if test "$GCC" != yes; then
8923 # we just hope/assume this is gcc and not c89 (= MSVC++)
8929 linux* | k*bsd*-gnu | gnu*)
8936 # On some targets, GNU ld is compatible enough with the native linker
8937 # that we're better off using the native interface for both.
8938 lt_use_gnu_ld_interface=no
8939 if test "$with_gnu_ld" = yes; then
8942 # The AIX port of GNU ld has always aspired to compatibility
8943 # with the native linker. However, as the warning in the GNU ld
8944 # block says, versions before 2.19.5* couldn't really create working
8945 # shared libraries, regardless of the interface used.
8946 case `$LD -v 2>&1` in
8947 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8948 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8949 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8951 lt_use_gnu_ld_interface=yes
8956 lt_use_gnu_ld_interface=yes
8961 if test "$lt_use_gnu_ld_interface" = yes; then
8962 # If archive_cmds runs LD, not CC, wlarc should be empty
8965 # Set some defaults for GNU ld with shared library support. These
8966 # are reset later if shared libraries are not supported. Putting them
8967 # here allows them to be overridden if necessary.
8968 runpath_var=LD_RUN_PATH
8969 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8970 export_dynamic_flag_spec='${wl}--export-dynamic'
8971 # ancient GNU ld didn't support --whole-archive et. al.
8972 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8973 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8975 whole_archive_flag_spec=
8977 supports_anon_versioning=no
8978 case `$LD -v 2>&1` in
8979 *GNU\ gold*) supports_anon_versioning=yes ;;
8980 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8981 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8982 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8983 *\ 2.11.*) ;; # other 2.11 versions
8984 *) supports_anon_versioning=yes ;;
8987 # See if GNU ld supports shared libraries.
8990 # On AIX/PPC, the GNU linker is very broken
8991 if test "$host_cpu" != ia64; then
8995 *** Warning: the GNU linker, at least up to release 2.19, is reported
8996 *** to be unable to reliably create shared libraries on AIX.
8997 *** Therefore, libtool is disabling shared libraries support. If you
8998 *** really care for shared libraries, you may want to install binutils
8999 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9000 *** You will then need to restart the configuration process.
9009 # see comment about AmigaOS4 .so support
9010 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9011 archive_expsym_cmds=''
9014 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)'
9015 hardcode_libdir_flag_spec='-L$libdir'
9016 hardcode_minus_L=yes
9022 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9023 allow_undefined_flag=unsupported
9024 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9025 # support --undefined. This deserves some investigation. FIXME
9026 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9032 cygwin* | mingw* | pw32* | cegcc*)
9033 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9034 # as there is no search path for DLLs.
9035 hardcode_libdir_flag_spec='-L$libdir'
9036 export_dynamic_flag_spec='${wl}--export-all-symbols'
9037 allow_undefined_flag=unsupported
9038 always_export_symbols=no
9039 enable_shared_with_static_runtimes=yes
9040 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'
9041 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9043 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9044 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9045 # If the export-symbols file already is a .def file (1st line
9046 # is EXPORTS), use it as is; otherwise, prepend...
9047 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9048 cp $export_symbols $output_objdir/$soname.def;
9050 echo EXPORTS > $output_objdir/$soname.def;
9051 cat $export_symbols >> $output_objdir/$soname.def;
9053 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9060 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9061 link_all_deplibs=yes
9066 hardcode_shlibpath_var=no
9067 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9068 export_dynamic_flag_spec='${wl}-E'
9069 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9070 # Instead, shared libraries are loaded at an image base (0x10000000 by
9071 # default) and relocated if they conflict, which is a slow very memory
9072 # consuming and fragmenting process. To avoid this, we pick a random,
9073 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9074 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9075 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9076 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'
9079 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9081 if test "$host_os" = linux-dietlibc; then
9082 case $cc_basename in
9083 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9086 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9087 && test "$tmp_diet" = no
9089 tmp_addflag=' $pic_flag'
9090 tmp_sharedflag='-shared'
9091 case $cc_basename,$host_cpu in
9092 pgcc*) # Portland Group C compiler
9093 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'
9094 tmp_addflag=' $pic_flag'
9096 pgf77* | pgf90* | pgf95* | pgfortran*)
9097 # Portland Group f77 and f90 compilers
9098 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'
9099 tmp_addflag=' $pic_flag -Mnomain' ;;
9100 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9101 tmp_addflag=' -i_dynamic' ;;
9102 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9103 tmp_addflag=' -i_dynamic -nofor_main' ;;
9104 ifc* | ifort*) # Intel Fortran compiler
9105 tmp_addflag=' -nofor_main' ;;
9106 lf95*) # Lahey Fortran 8.1
9107 whole_archive_flag_spec=
9108 tmp_sharedflag='--shared' ;;
9109 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9110 tmp_sharedflag='-qmkshrobj'
9112 nvcc*) # Cuda Compiler Driver 2.2
9113 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'
9114 compiler_needs_object=yes
9117 case `$CC -V 2>&1 | sed 5q` in
9118 *Sun\ C*) # Sun C 5.9
9119 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'
9120 compiler_needs_object=yes
9121 tmp_sharedflag='-G' ;;
9122 *Sun\ F*) # Sun Fortran 8.3
9123 tmp_sharedflag='-G' ;;
9125 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9127 if test "x$supports_anon_versioning" = xyes; then
9128 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9129 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9130 echo "local: *; };" >> $output_objdir/$libname.ver~
9131 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9134 case $cc_basename in
9135 xlf* | bgf* | bgxlf* | mpixlf*)
9136 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9137 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9138 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9139 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9140 if test "x$supports_anon_versioning" = xyes; then
9141 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9142 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9143 echo "local: *; };" >> $output_objdir/$libname.ver~
9144 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9153 netbsd* | netbsdelf*-gnu)
9154 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9155 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9158 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9164 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9168 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9169 *** create shared libraries on Solaris systems. Therefore, libtool
9170 *** is disabling shared libraries support. We urge you to upgrade GNU
9171 *** binutils to release 2.9.1 or newer. Another option is to modify
9172 *** your PATH or compiler configuration so that the native linker is
9173 *** used, and then restart.
9176 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9177 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9184 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9185 case `$LD -v 2>&1` in
9186 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9190 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9191 *** reliably create shared libraries on SCO systems. Therefore, libtool
9192 *** is disabling shared libraries support. We urge you to upgrade GNU
9193 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9194 *** your PATH or compiler configuration so that the native linker is
9195 *** used, and then restart.
9200 # For security reasons, it is highly recommended that you always
9201 # use absolute paths for naming shared libraries, and exclude the
9202 # DT_RUNPATH tag from executables and libraries. But doing so
9203 # requires that you compile everything twice, which is a pain.
9204 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9205 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9207 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9216 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9219 hardcode_shlibpath_var=no
9223 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9224 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9232 if test "$ld_shlibs" = no; then
9234 hardcode_libdir_flag_spec=
9235 export_dynamic_flag_spec=
9236 whole_archive_flag_spec=
9239 # PORTME fill in a description of your system's linker (not GNU ld)
9242 allow_undefined_flag=unsupported
9243 always_export_symbols=yes
9244 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'
9245 # Note: this linker hardcodes the directories in LIBPATH if there
9246 # are no directories specified by -L.
9247 hardcode_minus_L=yes
9248 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9249 # Neither direct hardcoding nor static linking is supported with a
9251 hardcode_direct=unsupported
9256 if test "$host_cpu" = ia64; then
9257 # On IA64, the linker does run time linking by default, so we don't
9258 # have to do anything special.
9259 aix_use_runtimelinking=no
9260 exp_sym_flag='-Bexport'
9263 # If we're using GNU nm, then we don't want the "-C" option.
9264 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9265 # Also, AIX nm treats weak defined symbols like other global
9266 # defined symbols, whereas GNU nm marks them as "W".
9267 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9268 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'
9270 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'
9272 aix_use_runtimelinking=no
9274 # Test if we are trying to use run time linking or normal
9275 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9276 # need to do runtime linking.
9277 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9278 for ld_flag in $LDFLAGS; do
9279 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9280 aix_use_runtimelinking=yes
9287 exp_sym_flag='-bexport'
9288 no_entry_flag='-bnoentry'
9291 # When large executables or shared objects are built, AIX ld can
9292 # have problems creating the table of contents. If linking a library
9293 # or program results in "error TOC overflow" add -mminimal-toc to
9294 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9295 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9299 hardcode_direct_absolute=yes
9300 hardcode_libdir_separator=':'
9301 link_all_deplibs=yes
9302 file_list_spec='${wl}-f,'
9304 if test "$GCC" = yes; then
9305 case $host_os in aix4.[012]|aix4.[012].*)
9306 # We only want to do this on AIX 4.2 and lower, the check
9307 # below for broken collect2 doesn't work under 4.3+
9308 collect2name=`${CC} -print-prog-name=collect2`
9309 if test -f "$collect2name" &&
9310 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9312 # We have reworked collect2
9315 # We have old collect2
9316 hardcode_direct=unsupported
9317 # It fails to find uninstalled libraries when the uninstalled
9318 # path is not listed in the libpath. Setting hardcode_minus_L
9319 # to unsupported forces relinking
9320 hardcode_minus_L=yes
9321 hardcode_libdir_flag_spec='-L$libdir'
9322 hardcode_libdir_separator=
9326 shared_flag='-shared'
9327 if test "$aix_use_runtimelinking" = yes; then
9328 shared_flag="$shared_flag "'${wl}-G'
9333 if test "$host_cpu" = ia64; then
9334 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9335 # chokes on -Wl,-G. The following line is correct:
9338 if test "$aix_use_runtimelinking" = yes; then
9339 shared_flag='${wl}-G'
9341 shared_flag='${wl}-bM:SRE'
9346 export_dynamic_flag_spec='${wl}-bexpall'
9347 # It seems that -bexpall does not export symbols beginning with
9348 # underscore (_), so it is better to generate a list of symbols to export.
9349 always_export_symbols=yes
9350 if test "$aix_use_runtimelinking" = yes; then
9351 # Warning - without using the other runtime loading flags (-brtl),
9352 # -berok will link without error, but may produce a broken library.
9353 allow_undefined_flag='-berok'
9354 # Determine the default libpath from the value encoded in an
9356 if test "${lt_cv_aix_libpath+set}" = set; then
9357 aix_libpath=$lt_cv_aix_libpath
9359 if ${lt_cv_aix_libpath_+:} false; then :
9360 $as_echo_n "(cached) " >&6
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9373 if ac_fn_c_try_link "$LINENO"; then :
9375 lt_aix_libpath_sed='
9376 /Import File Strings/,/^$/ {
9378 s/^0 *\([^ ]*\) *$/\1/
9382 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9383 # Check for a 64-bit object if we didn't find anything.
9384 if test -z "$lt_cv_aix_libpath_"; then
9385 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9388 rm -f core conftest.err conftest.$ac_objext \
9389 conftest$ac_exeext conftest.$ac_ext
9390 if test -z "$lt_cv_aix_libpath_"; then
9391 lt_cv_aix_libpath_="/usr/lib:/lib"
9396 aix_libpath=$lt_cv_aix_libpath_
9399 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9400 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"
9402 if test "$host_cpu" = ia64; then
9403 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9404 allow_undefined_flag="-z nodefs"
9405 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"
9407 # Determine the default libpath from the value encoded in an
9409 if test "${lt_cv_aix_libpath+set}" = set; then
9410 aix_libpath=$lt_cv_aix_libpath
9412 if ${lt_cv_aix_libpath_+:} false; then :
9413 $as_echo_n "(cached) " >&6
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9426 if ac_fn_c_try_link "$LINENO"; then :
9428 lt_aix_libpath_sed='
9429 /Import File Strings/,/^$/ {
9431 s/^0 *\([^ ]*\) *$/\1/
9435 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9436 # Check for a 64-bit object if we didn't find anything.
9437 if test -z "$lt_cv_aix_libpath_"; then
9438 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9441 rm -f core conftest.err conftest.$ac_objext \
9442 conftest$ac_exeext conftest.$ac_ext
9443 if test -z "$lt_cv_aix_libpath_"; then
9444 lt_cv_aix_libpath_="/usr/lib:/lib"
9449 aix_libpath=$lt_cv_aix_libpath_
9452 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9453 # Warning - without using the other run time loading flags,
9454 # -berok will link without error, but may produce a broken library.
9455 no_undefined_flag=' ${wl}-bernotok'
9456 allow_undefined_flag=' ${wl}-berok'
9457 if test "$with_gnu_ld" = yes; then
9458 # We only use this code for GNU lds that support --whole-archive.
9459 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9461 # Exported symbols can be pulled into shared objects from archives
9462 whole_archive_flag_spec='$convenience'
9464 archive_cmds_need_lc=yes
9465 # This is similar to how AIX traditionally builds its shared libraries.
9466 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'
9474 # see comment about AmigaOS4 .so support
9475 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476 archive_expsym_cmds=''
9479 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)'
9480 hardcode_libdir_flag_spec='-L$libdir'
9481 hardcode_minus_L=yes
9487 export_dynamic_flag_spec=-rdynamic
9490 cygwin* | mingw* | pw32* | cegcc*)
9491 # When not using gcc, we currently assume that we are using
9492 # Microsoft Visual C++.
9493 # hardcode_libdir_flag_spec is actually meaningless, as there is
9494 # no search path for DLLs.
9495 case $cc_basename in
9498 hardcode_libdir_flag_spec=' '
9499 allow_undefined_flag=unsupported
9500 always_export_symbols=yes
9502 # Tell ltmain to make .lib files, not .a files.
9504 # Tell ltmain to make .dll files, not .so files.
9506 # FIXME: Setting linknames here is a bad hack.
9507 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9508 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9509 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9511 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9513 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9515 # The linker will not automatically build a static lib if we build a DLL.
9516 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9517 enable_shared_with_static_runtimes=yes
9518 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9519 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9521 old_postinstall_cmds='chmod 644 $oldlib'
9522 postlink_cmds='lt_outputfile="@OUTPUT@"~
9523 lt_tool_outputfile="@TOOL_OUTPUT@"~
9524 case $lt_outputfile in
9527 lt_outputfile="$lt_outputfile.exe"
9528 lt_tool_outputfile="$lt_tool_outputfile.exe"
9531 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9532 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9533 $RM "$lt_outputfile.manifest";
9537 # Assume MSVC wrapper
9538 hardcode_libdir_flag_spec=' '
9539 allow_undefined_flag=unsupported
9540 # Tell ltmain to make .lib files, not .a files.
9542 # Tell ltmain to make .dll files, not .so files.
9544 # FIXME: Setting linknames here is a bad hack.
9545 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9546 # The linker will automatically build a .lib file if we build a DLL.
9547 old_archive_from_new_cmds='true'
9548 # FIXME: Should let the user specify the lib program.
9549 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9550 enable_shared_with_static_runtimes=yes
9555 darwin* | rhapsody*)
9558 archive_cmds_need_lc=no
9560 hardcode_automatic=yes
9561 hardcode_shlibpath_var=unsupported
9562 if test "$lt_cv_ld_force_load" = "yes"; then
9563 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\"`'
9566 whole_archive_flag_spec=''
9568 link_all_deplibs=yes
9569 allow_undefined_flag="$_lt_dar_allow_undefined"
9570 case $cc_basename in
9571 ifort*) _lt_dar_can_shared=yes ;;
9572 *) _lt_dar_can_shared=$GCC ;;
9574 if test "$_lt_dar_can_shared" = "yes"; then
9575 output_verbose_link_cmd=func_echo_all
9576 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9577 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9578 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}"
9579 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}"
9588 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9589 hardcode_libdir_flag_spec='-L$libdir'
9590 hardcode_shlibpath_var=no
9593 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9594 # support. Future versions do this automatically, but an explicit c++rt0.o
9595 # does not break anything, and helps significantly (at the cost of a little
9598 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9599 hardcode_libdir_flag_spec='-R$libdir'
9601 hardcode_shlibpath_var=no
9604 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9606 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9608 hardcode_minus_L=yes
9609 hardcode_shlibpath_var=no
9612 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9613 freebsd* | dragonfly*)
9614 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9615 hardcode_libdir_flag_spec='-R$libdir'
9617 hardcode_shlibpath_var=no
9621 if test "$GCC" = yes; then
9622 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'
9624 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'
9626 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9627 hardcode_libdir_separator=:
9630 # hardcode_minus_L: Not really in the search PATH,
9631 # but as the default location of the library.
9632 hardcode_minus_L=yes
9633 export_dynamic_flag_spec='${wl}-E'
9637 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9638 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9642 if test "$with_gnu_ld" = no; then
9643 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9644 hardcode_libdir_separator=:
9646 hardcode_direct_absolute=yes
9647 export_dynamic_flag_spec='${wl}-E'
9648 # hardcode_minus_L: Not really in the search PATH,
9649 # but as the default location of the library.
9650 hardcode_minus_L=yes
9655 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9658 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9661 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9670 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9677 # Older versions of the 11.00 compiler do not understand -b yet
9678 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9680 $as_echo_n "checking if $CC understands -b... " >&6; }
9681 if ${lt_cv_prog_compiler__b+:} false; then :
9682 $as_echo_n "(cached) " >&6
9684 lt_cv_prog_compiler__b=no
9685 save_LDFLAGS="$LDFLAGS"
9686 LDFLAGS="$LDFLAGS -b"
9687 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9688 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9689 # The linker can only warn and ignore the option if not recognized
9690 # So say no if there are warnings
9691 if test -s conftest.err; then
9692 # Append any errors to the config.log.
9693 cat conftest.err 1>&5
9694 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9695 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9696 if diff conftest.exp conftest.er2 >/dev/null; then
9697 lt_cv_prog_compiler__b=yes
9700 lt_cv_prog_compiler__b=yes
9704 LDFLAGS="$save_LDFLAGS"
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9708 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9710 if test x"$lt_cv_prog_compiler__b" = xyes; then
9711 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9713 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9719 if test "$with_gnu_ld" = no; then
9720 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9721 hardcode_libdir_separator=:
9726 hardcode_shlibpath_var=no
9730 hardcode_direct_absolute=yes
9731 export_dynamic_flag_spec='${wl}-E'
9733 # hardcode_minus_L: Not really in the search PATH,
9734 # but as the default location of the library.
9735 hardcode_minus_L=yes
9741 irix5* | irix6* | nonstopux*)
9742 if test "$GCC" = yes; then
9743 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'
9744 # Try to use the -exported_symbol ld option, if it does not
9745 # work, assume that -exports_file does not work either and
9746 # implicitly export all symbols.
9747 # This should be the same for all languages, so no per-tag cache variable.
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9749 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9750 if ${lt_cv_irix_exported_symbol+:} false; then :
9751 $as_echo_n "(cached) " >&6
9753 save_LDFLAGS="$LDFLAGS"
9754 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9757 int foo (void) { return 0; }
9759 if ac_fn_c_try_link "$LINENO"; then :
9760 lt_cv_irix_exported_symbol=yes
9762 lt_cv_irix_exported_symbol=no
9764 rm -f core conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 LDFLAGS="$save_LDFLAGS"
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9769 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9770 if test "$lt_cv_irix_exported_symbol" = yes; then
9771 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'
9774 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'
9775 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'
9777 archive_cmds_need_lc='no'
9778 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9779 hardcode_libdir_separator=:
9781 link_all_deplibs=yes
9784 netbsd* | netbsdelf*-gnu)
9785 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9786 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9788 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9790 hardcode_libdir_flag_spec='-R$libdir'
9792 hardcode_shlibpath_var=no
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9799 hardcode_libdir_separator=:
9800 hardcode_shlibpath_var=no
9807 if test -f /usr/libexec/ld.so; then
9809 hardcode_shlibpath_var=no
9810 hardcode_direct_absolute=yes
9811 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9812 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9813 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9814 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9815 export_dynamic_flag_spec='${wl}-E'
9818 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9819 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_libdir_flag_spec='-R$libdir'
9823 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9824 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9834 hardcode_libdir_flag_spec='-L$libdir'
9835 hardcode_minus_L=yes
9836 allow_undefined_flag=unsupported
9837 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'
9838 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9842 if test "$GCC" = yes; then
9843 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9844 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'
9846 allow_undefined_flag=' -expect_unresolved \*'
9847 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'
9849 archive_cmds_need_lc='no'
9850 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9851 hardcode_libdir_separator=:
9854 osf4* | osf5*) # as osf3* with the addition of -msym flag
9855 if test "$GCC" = yes; then
9856 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9857 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'
9858 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9860 allow_undefined_flag=' -expect_unresolved \*'
9861 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'
9862 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~
9863 $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'
9865 # Both c and cxx compiler support -rpath directly
9866 hardcode_libdir_flag_spec='-rpath $libdir'
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_separator=:
9873 no_undefined_flag=' -z defs'
9874 if test "$GCC" = yes; then
9876 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9877 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9878 $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'
9880 case `$CC -V 2>&1` in
9883 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9885 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9889 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9890 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9891 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9895 hardcode_libdir_flag_spec='-R$libdir'
9896 hardcode_shlibpath_var=no
9898 solaris2.[0-5] | solaris2.[0-5].*) ;;
9900 # The compiler driver will combine and reorder linker options,
9901 # but understands `-z linker_flag'. GCC discards it without `$wl',
9902 # but is careful enough not to reorder.
9903 # Supported since Solaris 2.6 (maybe 2.5.1?)
9904 if test "$GCC" = yes; then
9905 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9907 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9911 link_all_deplibs=yes
9915 if test "x$host_vendor" = xsequent; then
9916 # Use $CC to link under sequent, because it throws in some extra .o
9917 # files that make .init and .fini sections work.
9918 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9922 hardcode_libdir_flag_spec='-L$libdir'
9924 hardcode_minus_L=yes
9925 hardcode_shlibpath_var=no
9929 case $host_vendor in
9931 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9932 hardcode_direct=yes # is this really true???
9935 ## LD is ld it makes a PLAMLIB
9936 ## CC just makes a GrossModule.
9937 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9938 reload_cmds='$CC -r -o $output$reload_objs'
9942 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9946 runpath_var='LD_RUN_PATH'
9947 hardcode_shlibpath_var=no
9951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952 hardcode_shlibpath_var=no
9953 export_dynamic_flag_spec='-Bexport'
9957 if test -d /usr/nec; then
9958 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9959 hardcode_shlibpath_var=no
9960 runpath_var=LD_RUN_PATH
9961 hardcode_runpath_var=yes
9966 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9967 no_undefined_flag='${wl}-z,text'
9968 archive_cmds_need_lc=no
9969 hardcode_shlibpath_var=no
9970 runpath_var='LD_RUN_PATH'
9972 if test "$GCC" = yes; then
9973 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9977 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9981 sysv5* | sco3.2v5* | sco5v6*)
9982 # Note: We can NOT use -z defs as we might desire, because we do not
9983 # link with -lc, and that would cause any symbols used from libc to
9984 # always be unresolved, which means just about no library would
9985 # ever link correctly. If we're not using GNU ld we use -z text
9986 # though, which does catch some bad symbols but isn't as heavy-handed
9988 no_undefined_flag='${wl}-z,text'
9989 allow_undefined_flag='${wl}-z,nodefs'
9990 archive_cmds_need_lc=no
9991 hardcode_shlibpath_var=no
9992 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9993 hardcode_libdir_separator=':'
9994 link_all_deplibs=yes
9995 export_dynamic_flag_spec='${wl}-Bexport'
9996 runpath_var='LD_RUN_PATH'
9998 if test "$GCC" = yes; then
9999 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10002 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10003 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10008 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10009 hardcode_libdir_flag_spec='-L$libdir'
10010 hardcode_shlibpath_var=no
10018 if test x$host_vendor = xsni; then
10020 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10021 export_dynamic_flag_spec='${wl}-Blargedynsym'
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10028 $as_echo "$ld_shlibs" >&6; }
10029 test "$ld_shlibs" = no && can_build_shared=no
10031 with_gnu_ld=$with_gnu_ld
10048 # Do we need to explicitly link libc?
10050 case "x$archive_cmds_need_lc" in
10052 # Assume -lc should be added
10053 archive_cmds_need_lc=yes
10055 if test "$enable_shared" = yes && test "$GCC" = yes; then
10056 case $archive_cmds in
10058 # FIXME: we may have to deal with multi-command sequences.
10061 # Test whether the compiler implicitly links with -lc since on some
10062 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10063 # to ld, don't add -lc before -lgcc.
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10065 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10066 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10067 $as_echo_n "(cached) " >&6
10070 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10073 (eval $ac_compile) 2>&5
10075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10076 test $ac_status = 0; } 2>conftest.err; then
10079 libobjs=conftest.$ac_objext
10081 wl=$lt_prog_compiler_wl
10082 pic_flag=$lt_prog_compiler_pic
10088 lt_save_allow_undefined_flag=$allow_undefined_flag
10089 allow_undefined_flag=
10090 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10091 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10094 test $ac_status = 0; }
10096 lt_cv_archive_cmds_need_lc=no
10098 lt_cv_archive_cmds_need_lc=yes
10100 allow_undefined_flag=$lt_save_allow_undefined_flag
10102 cat conftest.err 1>&5
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10108 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10109 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10268 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10270 if test "$GCC" = yes; then
10272 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10273 *) lt_awk_arg="/^libraries:/" ;;
10276 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10277 *) lt_sed_strip_eq="s,=/,/,g" ;;
10279 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10280 case $lt_search_path_spec in
10282 # if the path contains ";" then we assume it to be the separator
10283 # otherwise default to the standard path separator (i.e. ":") - it is
10284 # assumed that no part of a normal pathname contains ";" but that should
10285 # okay in the real world where ";" in dirpaths is itself problematic.
10286 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10289 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10292 # Ok, now we have the path, separated by spaces, we can step through it
10293 # and add multilib dir if necessary.
10294 lt_tmp_lt_search_path_spec=
10295 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10296 for lt_sys_path in $lt_search_path_spec; do
10297 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10298 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10300 test -d "$lt_sys_path" && \
10301 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10304 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10305 BEGIN {RS=" "; FS="/|\n";} {
10308 for (lt_i = NF; lt_i > 0; lt_i--) {
10309 if ($lt_i != "" && $lt_i != ".") {
10310 if ($lt_i == "..") {
10313 if (lt_count == 0) {
10314 lt_foo="/" $lt_i lt_foo;
10321 if (lt_foo != "") { lt_freq[lt_foo]++; }
10322 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10324 # AWK program above erroneously prepends '/' to C:/dos/paths
10327 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10328 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10330 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10332 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10334 library_names_spec=
10335 libname_spec='lib$name'
10339 postuninstall_cmds=
10343 shlibpath_overrides_runpath=unknown
10345 dynamic_linker="$host_os ld.so"
10346 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10347 need_lib_prefix=unknown
10348 hardcode_into_libs=no
10350 # when you set need_version to no, make sure it does not cause -set_version
10351 # flags to be left without arguments
10352 need_version=unknown
10356 version_type=linux # correct to gnu/linux during the next big refactor
10357 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10358 shlibpath_var=LIBPATH
10360 # AIX 3 has no versioning support, so we append a major version to the name.
10361 soname_spec='${libname}${release}${shared_ext}$major'
10365 version_type=linux # correct to gnu/linux during the next big refactor
10368 hardcode_into_libs=yes
10369 if test "$host_cpu" = ia64; then
10370 # AIX 5 supports IA64
10371 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10372 shlibpath_var=LD_LIBRARY_PATH
10374 # With GCC up to 2.95.x, collect2 would create an import file
10375 # for dependence libraries. The import file would start with
10376 # the line `#! .'. This would cause the generated library to
10377 # depend on `.', always an invalid library. This was fixed in
10378 # development snapshots of GCC prior to 3.0.
10380 aix4 | aix4.[01] | aix4.[01].*)
10381 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10383 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10386 can_build_shared=no
10390 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10391 # soname into executable. Probably we can add versioning support to
10392 # collect2, so additional links can be useful in future.
10393 if test "$aix_use_runtimelinking" = yes; then
10394 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10395 # instead of lib<name>.a to let people know that these are not
10396 # typical AIX shared libraries.
10397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399 # We preserve .a as extension for shared libraries through AIX4.2
10400 # and later when we are not doing run time linking.
10401 library_names_spec='${libname}${release}.a $libname.a'
10402 soname_spec='${libname}${release}${shared_ext}$major'
10404 shlibpath_var=LIBPATH
10411 # Since July 2007 AmigaOS4 officially supports .so libraries.
10412 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10416 library_names_spec='$libname.ixlibrary $libname.a'
10417 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10418 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'
10424 library_names_spec='${libname}${shared_ext}'
10425 dynamic_linker="$host_os ld.so"
10426 shlibpath_var=LIBRARY_PATH
10430 version_type=linux # correct to gnu/linux during the next big refactor
10432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10433 soname_spec='${libname}${release}${shared_ext}$major'
10434 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10435 shlibpath_var=LD_LIBRARY_PATH
10436 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10437 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10438 # the default ld.so.conf also contains /usr/contrib/lib and
10439 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10440 # libtool to hard-code these into programs
10443 cygwin* | mingw* | pw32* | cegcc*)
10444 version_type=windows
10449 case $GCC,$cc_basename in
10452 library_names_spec='$libname.dll.a'
10453 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10454 postinstall_cmds='base_file=`basename \${file}`~
10455 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10456 dldir=$destdir/`dirname \$dlpath`~
10457 test -d \$dldir || mkdir -p \$dldir~
10458 $install_prog $dir/$dlname \$dldir/$dlname~
10459 chmod a+x \$dldir/$dlname~
10460 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10461 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10463 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10464 dlpath=$dir/\$dldll~
10466 shlibpath_overrides_runpath=yes
10470 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10471 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10473 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10476 # MinGW DLLs use traditional 'lib' prefix
10477 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10480 # pw32 DLLs use 'pw' prefix rather than 'lib'
10481 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10484 dynamic_linker='Win32 ld.exe'
10489 libname_spec='$name'
10490 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10491 library_names_spec='${libname}.dll.lib'
10495 sys_lib_search_path_spec=
10498 for lt_path in $LIB
10501 # Let DOS variable expansion print the short 8.3 style file name.
10502 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10503 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10506 # Convert to MSYS style.
10507 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10510 # Convert to unix form, then to dos form, then back to unix form
10511 # but this time dos style (no spaces!) so that the unix form looks
10512 # like /cygdrive/c/PROGRA~1:/cygdr...
10513 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10514 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10515 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10518 sys_lib_search_path_spec="$LIB"
10519 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10520 # It is most probably a Windows format PATH.
10521 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10523 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10525 # FIXME: find the short name or the path components, as spaces are
10526 # common. (e.g. "Program Files" -> "PROGRA~1")
10530 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10531 postinstall_cmds='base_file=`basename \${file}`~
10532 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10533 dldir=$destdir/`dirname \$dlpath`~
10534 test -d \$dldir || mkdir -p \$dldir~
10535 $install_prog $dir/$dlname \$dldir/$dlname'
10536 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10537 dlpath=$dir/\$dldll~
10539 shlibpath_overrides_runpath=yes
10540 dynamic_linker='Win32 link.exe'
10544 # Assume MSVC wrapper
10545 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10546 dynamic_linker='Win32 ld.exe'
10549 # FIXME: first we should search . and the directory the executable is in
10553 darwin* | rhapsody*)
10554 dynamic_linker="$host_os dyld"
10555 version_type=darwin
10558 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10559 soname_spec='${libname}${release}${major}$shared_ext'
10560 shlibpath_overrides_runpath=yes
10561 shlibpath_var=DYLD_LIBRARY_PATH
10562 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10564 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10565 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10569 version_type=linux # correct to gnu/linux during the next big refactor
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 shlibpath_var=LD_LIBRARY_PATH
10577 freebsd* | dragonfly*)
10578 # DragonFly does not have aout. When/if they implement a new
10579 # versioning mechanism, adjust this.
10580 if test -x /usr/bin/objformat; then
10581 objformat=`/usr/bin/objformat`
10584 freebsd[23].*) objformat=aout ;;
10585 *) objformat=elf ;;
10588 version_type=freebsd-$objformat
10589 case $version_type in
10591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10600 shlibpath_var=LD_LIBRARY_PATH
10603 shlibpath_overrides_runpath=yes
10605 freebsd3.[01]* | freebsdelf3.[01]*)
10606 shlibpath_overrides_runpath=yes
10607 hardcode_into_libs=yes
10609 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10610 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10611 shlibpath_overrides_runpath=no
10612 hardcode_into_libs=yes
10614 *) # from 4.6 on, and DragonFly
10615 shlibpath_overrides_runpath=yes
10616 hardcode_into_libs=yes
10622 version_type=linux # correct to gnu/linux during the next big refactor
10625 dynamic_linker="$host_os runtime_loader"
10626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10627 soname_spec='${libname}${release}${shared_ext}$major'
10628 shlibpath_var=LIBRARY_PATH
10629 shlibpath_overrides_runpath=yes
10630 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10631 hardcode_into_libs=yes
10634 hpux9* | hpux10* | hpux11*)
10635 # Give a soname corresponding to the major version so that dld.sl refuses to
10636 # link against other versions.
10643 hardcode_into_libs=yes
10644 dynamic_linker="$host_os dld.so"
10645 shlibpath_var=LD_LIBRARY_PATH
10646 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 if test "X$HPUX_IA64_MODE" = X32; then
10650 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10652 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10654 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10658 hardcode_into_libs=yes
10659 dynamic_linker="$host_os dld.sl"
10660 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10661 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10665 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10669 dynamic_linker="$host_os dld.sl"
10670 shlibpath_var=SHLIB_PATH
10671 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673 soname_spec='${libname}${release}${shared_ext}$major'
10676 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10677 postinstall_cmds='chmod 555 $lib'
10678 # or fails outright, so override atomically:
10679 install_override_mode=555
10683 version_type=linux # correct to gnu/linux during the next big refactor
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10687 soname_spec='${libname}${release}${shared_ext}$major'
10688 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 shlibpath_overrides_runpath=no
10691 hardcode_into_libs=yes
10694 irix5* | irix6* | nonstopux*)
10696 nonstopux*) version_type=nonstopux ;;
10698 if test "$lt_cv_prog_gnu_ld" = yes; then
10699 version_type=linux # correct to gnu/linux during the next big refactor
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10709 irix5* | nonstopux*)
10710 libsuff= shlibsuff=
10713 case $LD in # libtool.m4 will add one of these switches to LD
10714 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10715 libsuff= shlibsuff= libmagic=32-bit;;
10716 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10717 libsuff=32 shlibsuff=N32 libmagic=N32;;
10718 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10719 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10720 *) libsuff= shlibsuff= libmagic=never-match;;
10724 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10725 shlibpath_overrides_runpath=no
10726 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10727 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10728 hardcode_into_libs=yes
10731 # No shared lib support for Linux oldld, aout, or coff.
10732 linux*oldld* | linux*aout* | linux*coff*)
10736 # This must be glibc/ELF.
10737 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10738 version_type=linux # correct to gnu/linux during the next big refactor
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742 soname_spec='${libname}${release}${shared_ext}$major'
10743 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10744 shlibpath_var=LD_LIBRARY_PATH
10745 shlibpath_overrides_runpath=no
10747 # Some binutils ld are patched to set DT_RUNPATH
10748 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10749 $as_echo_n "(cached) " >&6
10751 lt_cv_shlibpath_overrides_runpath=no
10752 save_LDFLAGS=$LDFLAGS
10753 save_libdir=$libdir
10754 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10755 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10769 lt_cv_shlibpath_overrides_runpath=yes
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LDFLAGS=$save_LDFLAGS
10775 libdir=$save_libdir
10779 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10781 # This implies no fast_install, which is unacceptable.
10782 # Some rework will be needed to allow for fast_install
10783 # before this can be enabled.
10784 hardcode_into_libs=yes
10786 # Append ld.so.conf contents to the search path
10787 if test -f /etc/ld.so.conf; then
10788 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' ' '`
10789 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10792 # We used to test for /lib/ld.so.1 and disable shared libraries on
10793 # powerpc, because MkLinux only supported shared libraries with the
10794 # GNU dynamic linker. Since this was broken with cross compilers,
10795 # most powerpc-linux boxes support dynamic linking these days and
10796 # people can always --disable-shared, the test was removed, and we
10797 # assume the GNU/Linux dynamic linker is in use.
10798 dynamic_linker='GNU/Linux ld.so'
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10806 soname_spec='${libname}${release}${shared_ext}$major'
10807 shlibpath_var=LD_LIBRARY_PATH
10808 shlibpath_overrides_runpath=no
10809 hardcode_into_libs=yes
10810 dynamic_linker='NetBSD ld.elf_so'
10817 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10819 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10820 dynamic_linker='NetBSD (a.out) ld.so'
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10823 soname_spec='${libname}${release}${shared_ext}$major'
10824 dynamic_linker='NetBSD ld.elf_so'
10826 shlibpath_var=LD_LIBRARY_PATH
10827 shlibpath_overrides_runpath=yes
10828 hardcode_into_libs=yes
10832 version_type=linux # correct to gnu/linux during the next big refactor
10833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834 shlibpath_var=LD_LIBRARY_PATH
10835 shlibpath_overrides_runpath=yes
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10847 dynamic_linker='ldqnx.so'
10852 sys_lib_dlsearch_path_spec="/usr/lib"
10854 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10856 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10857 *) need_version=no ;;
10859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10860 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10861 shlibpath_var=LD_LIBRARY_PATH
10862 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10864 openbsd2.[89] | openbsd2.[89].*)
10865 shlibpath_overrides_runpath=no
10868 shlibpath_overrides_runpath=yes
10872 shlibpath_overrides_runpath=yes
10877 libname_spec='$name'
10880 library_names_spec='$libname${shared_ext} $libname.a'
10881 dynamic_linker='OS/2 ld.exe'
10882 shlibpath_var=LIBPATH
10885 osf3* | osf4* | osf5*)
10889 soname_spec='${libname}${release}${shared_ext}$major'
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10893 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10901 version_type=linux # correct to gnu/linux during the next big refactor
10904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec='${libname}${release}${shared_ext}$major'
10906 shlibpath_var=LD_LIBRARY_PATH
10907 shlibpath_overrides_runpath=yes
10908 hardcode_into_libs=yes
10909 # ldd complains unless libraries are executable
10910 postinstall_cmds='chmod +x $lib'
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10916 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10917 shlibpath_var=LD_LIBRARY_PATH
10918 shlibpath_overrides_runpath=yes
10919 if test "$with_gnu_ld" = yes; then
10926 version_type=linux # correct to gnu/linux during the next big refactor
10927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10928 soname_spec='${libname}${release}${shared_ext}$major'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 case $host_vendor in
10932 shlibpath_overrides_runpath=no
10934 runpath_var=LD_RUN_PATH
10942 shlibpath_overrides_runpath=no
10943 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10949 if test -d /usr/nec ;then
10950 version_type=linux # correct to gnu/linux during the next big refactor
10951 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10952 soname_spec='$libname${shared_ext}.$major'
10953 shlibpath_var=LD_LIBRARY_PATH
10957 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10958 version_type=freebsd-elf
10961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10962 soname_spec='${libname}${release}${shared_ext}$major'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 shlibpath_overrides_runpath=yes
10965 hardcode_into_libs=yes
10966 if test "$with_gnu_ld" = yes; then
10967 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10969 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10972 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10976 sys_lib_dlsearch_path_spec='/usr/lib'
10980 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10981 version_type=linux # correct to gnu/linux during the next big refactor
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 shlibpath_var=LD_LIBRARY_PATH
10986 shlibpath_overrides_runpath=no
10987 hardcode_into_libs=yes
10991 version_type=linux # correct to gnu/linux during the next big refactor
10992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10993 soname_spec='${libname}${release}${shared_ext}$major'
10994 shlibpath_var=LD_LIBRARY_PATH
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11002 $as_echo "$dynamic_linker" >&6; }
11003 test "$dynamic_linker" = no && can_build_shared=no
11005 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11006 if test "$GCC" = yes; then
11007 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11010 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11011 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11013 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11014 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11109 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11111 if test -n "$hardcode_libdir_flag_spec" ||
11112 test -n "$runpath_var" ||
11113 test "X$hardcode_automatic" = "Xyes" ; then
11115 # We can hardcode non-existent directories.
11116 if test "$hardcode_direct" != no &&
11117 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11118 # have to relink, otherwise we might link with an installed library
11119 # when we should be linking with a yet-to-be-installed one
11120 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11121 test "$hardcode_minus_L" != no; then
11122 # Linking always hardcodes the temporary library directory.
11123 hardcode_action=relink
11125 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11126 hardcode_action=immediate
11129 # We cannot hardcode anything, or else we can only hardcode existing
11131 hardcode_action=unsupported
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11134 $as_echo "$hardcode_action" >&6; }
11136 if test "$hardcode_action" = relink ||
11137 test "$inherit_rpath" = yes; then
11138 # Fast installation is not supported
11139 enable_fast_install=no
11140 elif test "$shlibpath_overrides_runpath" = yes ||
11141 test "$enable_shared" = no; then
11142 # Fast installation is not necessary
11143 enable_fast_install=needless
11151 if test "x$enable_dlopen" != xyes; then
11152 enable_dlopen=unknown
11153 enable_dlopen_self=unknown
11154 enable_dlopen_self_static=unknown
11161 lt_cv_dlopen="load_add_on"
11163 lt_cv_dlopen_self=yes
11166 mingw* | pw32* | cegcc*)
11167 lt_cv_dlopen="LoadLibrary"
11172 lt_cv_dlopen="dlopen"
11177 # if libdl is installed we need to link against it
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11179 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11180 if ${ac_cv_lib_dl_dlopen+:} false; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_lib_save_LIBS=$LIBS
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_dl_dlopen=yes
11206 ac_cv_lib_dl_dlopen=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11213 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11214 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11215 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11218 lt_cv_dlopen="dyld"
11220 lt_cv_dlopen_self=yes
11227 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11228 if test "x$ac_cv_func_shl_load" = xyes; then :
11229 lt_cv_dlopen="shl_load"
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11232 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11233 if ${ac_cv_lib_dld_shl_load+:} false; then :
11234 $as_echo_n "(cached) " >&6
11236 ac_check_lib_save_LIBS=$LIBS
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11251 return shl_load ();
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_dld_shl_load=yes
11259 ac_cv_lib_dld_shl_load=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11266 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11267 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11268 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11270 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11271 if test "x$ac_cv_func_dlopen" = xyes; then :
11272 lt_cv_dlopen="dlopen"
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11275 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11276 if ${ac_cv_lib_dl_dlopen+:} false; then :
11277 $as_echo_n "(cached) " >&6
11279 ac_check_lib_save_LIBS=$LIBS
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11299 if ac_fn_c_try_link "$LINENO"; then :
11300 ac_cv_lib_dl_dlopen=yes
11302 ac_cv_lib_dl_dlopen=no
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11309 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11310 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11311 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11314 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11315 if ${ac_cv_lib_svld_dlopen+:} false; then :
11316 $as_echo_n "(cached) " >&6
11318 ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lsvld $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_svld_dlopen=yes
11341 ac_cv_lib_svld_dlopen=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11348 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11349 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11350 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11353 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11354 if ${ac_cv_lib_dld_dld_link+:} false; then :
11355 $as_echo_n "(cached) " >&6
11357 ac_check_lib_save_LIBS=$LIBS
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11372 return dld_link ();
11377 if ac_fn_c_try_link "$LINENO"; then :
11378 ac_cv_lib_dld_dld_link=yes
11380 ac_cv_lib_dld_dld_link=no
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11387 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11388 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11389 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11410 if test "x$lt_cv_dlopen" != xno; then
11416 case $lt_cv_dlopen in
11418 save_CPPFLAGS="$CPPFLAGS"
11419 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11421 save_LDFLAGS="$LDFLAGS"
11422 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11425 LIBS="$lt_cv_dlopen_libs $LIBS"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11428 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11429 if ${lt_cv_dlopen_self+:} false; then :
11430 $as_echo_n "(cached) " >&6
11432 if test "$cross_compiling" = yes; then :
11433 lt_cv_dlopen_self=cross
11435 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11436 lt_status=$lt_dlunknown
11437 cat > conftest.$ac_ext <<_LT_EOF
11438 #line $LINENO "configure"
11439 #include "confdefs.h"
11448 # define LT_DLGLOBAL RTLD_GLOBAL
11451 # define LT_DLGLOBAL DL_GLOBAL
11453 # define LT_DLGLOBAL 0
11457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11458 find out it does not work in some platform. */
11459 #ifndef LT_DLLAZY_OR_NOW
11461 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11464 # define LT_DLLAZY_OR_NOW DL_LAZY
11467 # define LT_DLLAZY_OR_NOW RTLD_NOW
11470 # define LT_DLLAZY_OR_NOW DL_NOW
11472 # define LT_DLLAZY_OR_NOW 0
11479 /* When -fvisbility=hidden is used, assume the code has been annotated
11480 correspondingly for the symbols needed. */
11481 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11482 int fnord () __attribute__((visibility("default")));
11485 int fnord () { return 42; }
11488 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11489 int status = $lt_dlunknown;
11493 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11496 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11497 else puts (dlerror ());
11499 /* dlclose (self); */
11507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11508 (eval $ac_link) 2>&5
11510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11511 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11512 (./conftest; exit; ) >&5 2>/dev/null
11514 case x$lt_status in
11515 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11516 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11517 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11520 # compilation failed
11521 lt_cv_dlopen_self=no
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11529 $as_echo "$lt_cv_dlopen_self" >&6; }
11531 if test "x$lt_cv_dlopen_self" = xyes; then
11532 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11534 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11535 if ${lt_cv_dlopen_self_static+:} false; then :
11536 $as_echo_n "(cached) " >&6
11538 if test "$cross_compiling" = yes; then :
11539 lt_cv_dlopen_self_static=cross
11541 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11542 lt_status=$lt_dlunknown
11543 cat > conftest.$ac_ext <<_LT_EOF
11544 #line $LINENO "configure"
11545 #include "confdefs.h"
11554 # define LT_DLGLOBAL RTLD_GLOBAL
11557 # define LT_DLGLOBAL DL_GLOBAL
11559 # define LT_DLGLOBAL 0
11563 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11564 find out it does not work in some platform. */
11565 #ifndef LT_DLLAZY_OR_NOW
11567 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11570 # define LT_DLLAZY_OR_NOW DL_LAZY
11573 # define LT_DLLAZY_OR_NOW RTLD_NOW
11576 # define LT_DLLAZY_OR_NOW DL_NOW
11578 # define LT_DLLAZY_OR_NOW 0
11585 /* When -fvisbility=hidden is used, assume the code has been annotated
11586 correspondingly for the symbols needed. */
11587 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11588 int fnord () __attribute__((visibility("default")));
11591 int fnord () { return 42; }
11594 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11595 int status = $lt_dlunknown;
11599 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11602 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11603 else puts (dlerror ());
11605 /* dlclose (self); */
11613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11614 (eval $ac_link) 2>&5
11616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11617 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11618 (./conftest; exit; ) >&5 2>/dev/null
11620 case x$lt_status in
11621 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11622 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11623 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11626 # compilation failed
11627 lt_cv_dlopen_self_static=no
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11635 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11638 CPPFLAGS="$save_CPPFLAGS"
11639 LDFLAGS="$save_LDFLAGS"
11644 case $lt_cv_dlopen_self in
11645 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11646 *) enable_dlopen_self=unknown ;;
11649 case $lt_cv_dlopen_self_static in
11650 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11651 *) enable_dlopen_self_static=unknown ;;
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11674 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11675 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11676 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11677 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11679 $as_echo "yes" >&6; }
11681 # FIXME - insert some real tests, host_os isn't really good enough
11684 if test -n "$STRIP" ; then
11685 striplib="$STRIP -x"
11686 old_striplib="$STRIP -S"
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11688 $as_echo "yes" >&6; }
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11691 $as_echo "no" >&6; }
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11696 $as_echo "no" >&6; }
11712 # Report which library types will actually be built
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11714 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11716 $as_echo "$can_build_shared" >&6; }
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11719 $as_echo_n "checking whether to build shared libraries... " >&6; }
11720 test "$can_build_shared" = "no" && enable_shared=no
11722 # On AIX, shared libraries and static libraries use the same namespace, and
11723 # are all built from PIC.
11726 test "$enable_shared" = yes && enable_static=no
11727 if test -n "$RANLIB"; then
11728 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11729 postinstall_cmds='$RANLIB $lib'
11734 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11735 test "$enable_shared" = yes && enable_static=no
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11740 $as_echo "$enable_shared" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11743 $as_echo_n "checking whether to build static libraries... " >&6; }
11744 # Make sure either enable_shared or enable_static is yes.
11745 test "$enable_shared" = yes || enable_static=yes
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11747 $as_echo "$enable_static" >&6; }
11754 ac_cpp='$CPP $CPPFLAGS'
11755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11775 ac_config_commands="$ac_config_commands libtool"
11780 # Only expand once:
11785 # Checks for libraries.
11793 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11794 if test -n "$ac_tool_prefix"; then
11795 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11796 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11798 $as_echo_n "checking for $ac_word... " >&6; }
11799 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11800 $as_echo_n "(cached) " >&6
11802 case $PKG_CONFIG in
11804 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11808 for as_dir in $PATH
11811 test -z "$as_dir" && as_dir=.
11812 for ac_exec_ext in '' $ac_executable_extensions; do
11813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11814 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11825 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11826 if test -n "$PKG_CONFIG"; then
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11828 $as_echo "$PKG_CONFIG" >&6; }
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11831 $as_echo "no" >&6; }
11836 if test -z "$ac_cv_path_PKG_CONFIG"; then
11837 ac_pt_PKG_CONFIG=$PKG_CONFIG
11838 # Extract the first word of "pkg-config", so it can be a program name with args.
11839 set dummy pkg-config; ac_word=$2
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11841 $as_echo_n "checking for $ac_word... " >&6; }
11842 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11843 $as_echo_n "(cached) " >&6
11845 case $ac_pt_PKG_CONFIG in
11847 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11854 test -z "$as_dir" && as_dir=.
11855 for ac_exec_ext in '' $ac_executable_extensions; do
11856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11857 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11868 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11869 if test -n "$ac_pt_PKG_CONFIG"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11871 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11877 if test "x$ac_pt_PKG_CONFIG" = x; then
11880 case $cross_compiling:$ac_tool_warned in
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11884 ac_tool_warned=yes ;;
11886 PKG_CONFIG=$ac_pt_PKG_CONFIG
11889 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11893 if test -n "$PKG_CONFIG"; then
11894 _pkg_min_version=0.16
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11896 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11897 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899 $as_echo "yes" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11909 $as_echo_n "checking for GLIB... " >&6; }
11911 if test -n "$GLIB_CFLAGS"; then
11912 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11913 elif test -n "$PKG_CONFIG"; then
11914 if test -n "$PKG_CONFIG" && \
11915 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11916 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11919 test $ac_status = 0; }; then
11920 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11921 test "x$?" != "x0" && pkg_failed=yes
11928 if test -n "$GLIB_LIBS"; then
11929 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11930 elif test -n "$PKG_CONFIG"; then
11931 if test -n "$PKG_CONFIG" && \
11932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11933 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11936 test $ac_status = 0; }; then
11937 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
11938 test "x$?" != "x0" && pkg_failed=yes
11948 if test $pkg_failed = yes; then
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11953 _pkg_short_errors_supported=yes
11955 _pkg_short_errors_supported=no
11957 if test $_pkg_short_errors_supported = yes; then
11958 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11960 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11962 # Put the nasty error message in config.log where it belongs
11963 echo "$GLIB_PKG_ERRORS" >&5
11965 as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met:
11969 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11970 installed software in a non-standard prefix.
11972 Alternatively, you may set the environment variables GLIB_CFLAGS
11973 and GLIB_LIBS to avoid the need to call pkg-config.
11974 See the pkg-config man page for more details." "$LINENO" 5
11975 elif test $pkg_failed = untried; then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11980 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11981 is in your PATH or set the PKG_CONFIG environment variable to the full
11982 path to pkg-config.
11984 Alternatively, you may set the environment variables GLIB_CFLAGS
11985 and GLIB_LIBS to avoid the need to call pkg-config.
11986 See the pkg-config man page for more details.
11988 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11989 See \`config.log' for more details" "$LINENO" 5; }
11991 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11992 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11994 $as_echo "yes" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12000 $as_echo_n "checking for GIO... " >&6; }
12002 if test -n "$GIO_CFLAGS"; then
12003 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12004 elif test -n "$PKG_CONFIG"; then
12005 if test -n "$PKG_CONFIG" && \
12006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12007 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12010 test $ac_status = 0; }; then
12011 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
12012 test "x$?" != "x0" && pkg_failed=yes
12019 if test -n "$GIO_LIBS"; then
12020 pkg_cv_GIO_LIBS="$GIO_LIBS"
12021 elif test -n "$PKG_CONFIG"; then
12022 if test -n "$PKG_CONFIG" && \
12023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12024 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027 test $ac_status = 0; }; then
12028 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
12029 test "x$?" != "x0" && pkg_failed=yes
12039 if test $pkg_failed = yes; then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041 $as_echo "no" >&6; }
12043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12044 _pkg_short_errors_supported=yes
12046 _pkg_short_errors_supported=no
12048 if test $_pkg_short_errors_supported = yes; then
12049 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12051 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12053 # Put the nasty error message in config.log where it belongs
12054 echo "$GIO_PKG_ERRORS" >&5
12056 as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12060 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12061 installed software in a non-standard prefix.
12063 Alternatively, you may set the environment variables GIO_CFLAGS
12064 and GIO_LIBS to avoid the need to call pkg-config.
12065 See the pkg-config man page for more details." "$LINENO" 5
12066 elif test $pkg_failed = untried; then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12068 $as_echo "no" >&6; }
12069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12071 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12072 is in your PATH or set the PKG_CONFIG environment variable to the full
12073 path to pkg-config.
12075 Alternatively, you may set the environment variables GIO_CFLAGS
12076 and GIO_LIBS to avoid the need to call pkg-config.
12077 See the pkg-config man page for more details.
12079 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12080 See \`config.log' for more details" "$LINENO" 5; }
12082 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12083 GIO_LIBS=$pkg_cv_GIO_LIBS
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12085 $as_echo "yes" >&6; }
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
12091 $as_echo_n "checking for GSSDP... " >&6; }
12093 if test -n "$GSSDP_CFLAGS"; then
12094 pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
12095 elif test -n "$PKG_CONFIG"; then
12096 if test -n "$PKG_CONFIG" && \
12097 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12098 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12101 test $ac_status = 0; }; then
12102 pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12103 test "x$?" != "x0" && pkg_failed=yes
12110 if test -n "$GSSDP_LIBS"; then
12111 pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
12112 elif test -n "$PKG_CONFIG"; then
12113 if test -n "$PKG_CONFIG" && \
12114 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12115 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12118 test $ac_status = 0; }; then
12119 pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12120 test "x$?" != "x0" && pkg_failed=yes
12130 if test $pkg_failed = yes; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 $as_echo "no" >&6; }
12134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12135 _pkg_short_errors_supported=yes
12137 _pkg_short_errors_supported=no
12139 if test $_pkg_short_errors_supported = yes; then
12140 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12142 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12144 # Put the nasty error message in config.log where it belongs
12145 echo "$GSSDP_PKG_ERRORS" >&5
12147 as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.2) were not met:
12151 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12152 installed software in a non-standard prefix.
12154 Alternatively, you may set the environment variables GSSDP_CFLAGS
12155 and GSSDP_LIBS to avoid the need to call pkg-config.
12156 See the pkg-config man page for more details." "$LINENO" 5
12157 elif test $pkg_failed = untried; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159 $as_echo "no" >&6; }
12160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12162 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12163 is in your PATH or set the PKG_CONFIG environment variable to the full
12164 path to pkg-config.
12166 Alternatively, you may set the environment variables GSSDP_CFLAGS
12167 and GSSDP_LIBS to avoid the need to call pkg-config.
12168 See the pkg-config man page for more details.
12170 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12171 See \`config.log' for more details" "$LINENO" 5; }
12173 GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
12174 GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12176 $as_echo "yes" >&6; }
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
12182 $as_echo_n "checking for GUPNP... " >&6; }
12184 if test -n "$GUPNP_CFLAGS"; then
12185 pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
12186 elif test -n "$PKG_CONFIG"; then
12187 if test -n "$PKG_CONFIG" && \
12188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.5\""; } >&5
12189 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.5") 2>&5
12191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12192 test $ac_status = 0; }; then
12193 pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.20.5" 2>/dev/null`
12194 test "x$?" != "x0" && pkg_failed=yes
12201 if test -n "$GUPNP_LIBS"; then
12202 pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
12203 elif test -n "$PKG_CONFIG"; then
12204 if test -n "$PKG_CONFIG" && \
12205 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.20.5\""; } >&5
12206 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.20.5") 2>&5
12208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12209 test $ac_status = 0; }; then
12210 pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.20.5" 2>/dev/null`
12211 test "x$?" != "x0" && pkg_failed=yes
12221 if test $pkg_failed = yes; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223 $as_echo "no" >&6; }
12225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12226 _pkg_short_errors_supported=yes
12228 _pkg_short_errors_supported=no
12230 if test $_pkg_short_errors_supported = yes; then
12231 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.20.5" 2>&1`
12233 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.20.5" 2>&1`
12235 # Put the nasty error message in config.log where it belongs
12236 echo "$GUPNP_PKG_ERRORS" >&5
12238 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.20.5) were not met:
12242 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12243 installed software in a non-standard prefix.
12245 Alternatively, you may set the environment variables GUPNP_CFLAGS
12246 and GUPNP_LIBS to avoid the need to call pkg-config.
12247 See the pkg-config man page for more details." "$LINENO" 5
12248 elif test $pkg_failed = untried; then
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12250 $as_echo "no" >&6; }
12251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12253 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12254 is in your PATH or set the PKG_CONFIG environment variable to the full
12255 path to pkg-config.
12257 Alternatively, you may set the environment variables GUPNP_CFLAGS
12258 and GUPNP_LIBS to avoid the need to call pkg-config.
12259 See the pkg-config man page for more details.
12261 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12262 See \`config.log' for more details" "$LINENO" 5; }
12264 GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
12265 GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12267 $as_echo "yes" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
12273 $as_echo_n "checking for GUPNPAV... " >&6; }
12275 if test -n "$GUPNPAV_CFLAGS"; then
12276 pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
12277 elif test -n "$PKG_CONFIG"; then
12278 if test -n "$PKG_CONFIG" && \
12279 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12280 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12283 test $ac_status = 0; }; then
12284 pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12285 test "x$?" != "x0" && pkg_failed=yes
12292 if test -n "$GUPNPAV_LIBS"; then
12293 pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
12294 elif test -n "$PKG_CONFIG"; then
12295 if test -n "$PKG_CONFIG" && \
12296 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12297 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12300 test $ac_status = 0; }; then
12301 pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12302 test "x$?" != "x0" && pkg_failed=yes
12312 if test $pkg_failed = yes; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314 $as_echo "no" >&6; }
12316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12317 _pkg_short_errors_supported=yes
12319 _pkg_short_errors_supported=no
12321 if test $_pkg_short_errors_supported = yes; then
12322 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12324 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12326 # Put the nasty error message in config.log where it belongs
12327 echo "$GUPNPAV_PKG_ERRORS" >&5
12329 as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.5) were not met:
12331 $GUPNPAV_PKG_ERRORS
12333 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12334 installed software in a non-standard prefix.
12336 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12337 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12338 See the pkg-config man page for more details." "$LINENO" 5
12339 elif test $pkg_failed = untried; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12341 $as_echo "no" >&6; }
12342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12344 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12345 is in your PATH or set the PKG_CONFIG environment variable to the full
12346 path to pkg-config.
12348 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12349 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12350 See the pkg-config man page for more details.
12352 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12353 See \`config.log' for more details" "$LINENO" 5; }
12355 GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
12356 GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12358 $as_echo "yes" >&6; }
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPDLNA" >&5
12364 $as_echo_n "checking for GUPNPDLNA... " >&6; }
12366 if test -n "$GUPNPDLNA_CFLAGS"; then
12367 pkg_cv_GUPNPDLNA_CFLAGS="$GUPNPDLNA_CFLAGS"
12368 elif test -n "$PKG_CONFIG"; then
12369 if test -n "$PKG_CONFIG" && \
12370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12371 ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12374 test $ac_status = 0; }; then
12375 pkg_cv_GUPNPDLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12376 test "x$?" != "x0" && pkg_failed=yes
12383 if test -n "$GUPNPDLNA_LIBS"; then
12384 pkg_cv_GUPNPDLNA_LIBS="$GUPNPDLNA_LIBS"
12385 elif test -n "$PKG_CONFIG"; then
12386 if test -n "$PKG_CONFIG" && \
12387 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12388 ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12391 test $ac_status = 0; }; then
12392 pkg_cv_GUPNPDLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12393 test "x$?" != "x0" && pkg_failed=yes
12403 if test $pkg_failed = yes; then
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12405 $as_echo "no" >&6; }
12407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12408 _pkg_short_errors_supported=yes
12410 _pkg_short_errors_supported=no
12412 if test $_pkg_short_errors_supported = yes; then
12413 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12415 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12417 # Put the nasty error message in config.log where it belongs
12418 echo "$GUPNPDLNA_PKG_ERRORS" >&5
12420 as_fn_error $? "Package requirements (gupnp-dlna-2.0 >= 0.9.4) were not met:
12422 $GUPNPDLNA_PKG_ERRORS
12424 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12425 installed software in a non-standard prefix.
12427 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12428 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12429 See the pkg-config man page for more details." "$LINENO" 5
12430 elif test $pkg_failed = untried; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12435 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12436 is in your PATH or set the PKG_CONFIG environment variable to the full
12437 path to pkg-config.
12439 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12440 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12441 See the pkg-config man page for more details.
12443 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12444 See \`config.log' for more details" "$LINENO" 5; }
12446 GUPNPDLNA_CFLAGS=$pkg_cv_GUPNPDLNA_CFLAGS
12447 GUPNPDLNA_LIBS=$pkg_cv_GUPNPDLNA_LIBS
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12449 $as_echo "yes" >&6; }
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
12455 $as_echo_n "checking for SOUP... " >&6; }
12457 if test -n "$SOUP_CFLAGS"; then
12458 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
12459 elif test -n "$PKG_CONFIG"; then
12460 if test -n "$PKG_CONFIG" && \
12461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12462 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12465 test $ac_status = 0; }; then
12466 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12467 test "x$?" != "x0" && pkg_failed=yes
12474 if test -n "$SOUP_LIBS"; then
12475 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
12476 elif test -n "$PKG_CONFIG"; then
12477 if test -n "$PKG_CONFIG" && \
12478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12479 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12482 test $ac_status = 0; }; then
12483 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12484 test "x$?" != "x0" && pkg_failed=yes
12494 if test $pkg_failed = yes; then
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496 $as_echo "no" >&6; }
12498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12499 _pkg_short_errors_supported=yes
12501 _pkg_short_errors_supported=no
12503 if test $_pkg_short_errors_supported = yes; then
12504 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12506 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12508 # Put the nasty error message in config.log where it belongs
12509 echo "$SOUP_PKG_ERRORS" >&5
12511 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
12515 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12516 installed software in a non-standard prefix.
12518 Alternatively, you may set the environment variables SOUP_CFLAGS
12519 and SOUP_LIBS to avoid the need to call pkg-config.
12520 See the pkg-config man page for more details." "$LINENO" 5
12521 elif test $pkg_failed = untried; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12523 $as_echo "no" >&6; }
12524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12526 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12527 is in your PATH or set the PKG_CONFIG environment variable to the full
12528 path to pkg-config.
12530 Alternatively, you may set the environment variables SOUP_CFLAGS
12531 and SOUP_LIBS to avoid the need to call pkg-config.
12532 See the pkg-config man page for more details.
12534 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12535 See \`config.log' for more details" "$LINENO" 5; }
12537 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
12538 SOUP_LIBS=$pkg_cv_SOUP_LIBS
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12540 $as_echo "yes" >&6; }
12544 # Checks for header files.
12545 for ac_header in stdlib.h string.h syslog.h
12547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12548 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12550 cat >>confdefs.h <<_ACEOF
12551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12559 # Checks for typedefs, structures, and compiler characteristics.
12560 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12561 case $ac_cv_c_uint8_t in #(
12565 $as_echo "#define _UINT8_T 1" >>confdefs.h
12568 cat >>confdefs.h <<_ACEOF
12569 #define uint8_t $ac_cv_c_uint8_t
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12575 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12576 if ${ac_cv_header_stdbool_h+:} false; then :
12577 $as_echo_n "(cached) " >&6
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 #include <stdbool.h>
12584 "error: bool is not defined"
12587 "error: false is not defined"
12590 "error: false is not 0"
12593 "error: true is not defined"
12596 "error: true is not 1"
12598 #ifndef __bool_true_false_are_defined
12599 "error: __bool_true_false_are_defined is not defined"
12602 struct s { _Bool s: 1; _Bool t; } s;
12604 char a[true == 1 ? 1 : -1];
12605 char b[false == 0 ? 1 : -1];
12606 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12607 char d[(bool) 0.5 == true ? 1 : -1];
12608 /* See body of main program for 'e'. */
12609 char f[(_Bool) 0.0 == false ? 1 : -1];
12611 char h[sizeof (_Bool)];
12612 char i[sizeof s.t];
12613 enum { j = false, k = true, l = false * true, m = true * 256 };
12614 /* The following fails for
12615 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12617 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12618 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12619 /* Catch a bug in an HP-UX C compiler. See
12620 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12621 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12633 /* Refer to every declared value, to avoid compiler optimizations. */
12634 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12635 + !m + !n + !o + !p + !q + !pq);
12641 if ac_fn_c_try_compile "$LINENO"; then :
12642 ac_cv_header_stdbool_h=yes
12644 ac_cv_header_stdbool_h=no
12646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12649 $as_echo "$ac_cv_header_stdbool_h" >&6; }
12650 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12651 if test "x$ac_cv_type__Bool" = xyes; then :
12653 cat >>confdefs.h <<_ACEOF
12654 #define HAVE__BOOL 1
12661 if test $ac_cv_header_stdbool_h = yes; then
12663 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
12667 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12668 if test "x$ac_cv_type_size_t" = xyes; then :
12672 cat >>confdefs.h <<_ACEOF
12673 #define size_t unsigned int
12679 # Checks for library functions.
12680 for ac_header in stdlib.h
12682 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12683 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12684 cat >>confdefs.h <<_ACEOF
12685 #define HAVE_STDLIB_H 1
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12693 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12694 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12695 $as_echo_n "(cached) " >&6
12697 if test "$cross_compiling" = yes; then :
12698 ac_cv_func_malloc_0_nonnull=no
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12702 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12703 # include <stdlib.h>
12711 return ! malloc (0);
12716 if ac_fn_c_try_run "$LINENO"; then :
12717 ac_cv_func_malloc_0_nonnull=yes
12719 ac_cv_func_malloc_0_nonnull=no
12721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12722 conftest.$ac_objext conftest.beam conftest.$ac_ext
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12727 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12728 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12730 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12733 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12735 case " $LIBOBJS " in
12736 *" malloc.$ac_objext "* ) ;;
12737 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12742 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12747 for ac_header in stdlib.h
12749 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12750 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12751 cat >>confdefs.h <<_ACEOF
12752 #define HAVE_STDLIB_H 1
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12760 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12761 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
12762 $as_echo_n "(cached) " >&6
12764 if test "$cross_compiling" = yes; then :
12765 ac_cv_func_realloc_0_nonnull=no
12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12769 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12770 # include <stdlib.h>
12778 return ! realloc (0, 0);
12783 if ac_fn_c_try_run "$LINENO"; then :
12784 ac_cv_func_realloc_0_nonnull=yes
12786 ac_cv_func_realloc_0_nonnull=no
12788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12789 conftest.$ac_objext conftest.beam conftest.$ac_ext
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12794 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12795 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12797 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12800 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12802 case " $LIBOBJS " in
12803 *" realloc.$ac_objext "* ) ;;
12804 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12809 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12814 for ac_func in memset strchr strrchr strstr
12816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12819 cat >>confdefs.h <<_ACEOF
12820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12827 # Define Log Level values
12839 cat >>confdefs.h <<_ACEOF
12840 #define DLEYNA_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
12844 cat >>confdefs.h <<_ACEOF
12845 #define DLEYNA_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
12849 cat >>confdefs.h <<_ACEOF
12850 #define DLEYNA_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
12854 cat >>confdefs.h <<_ACEOF
12855 #define DLEYNA_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
12859 cat >>confdefs.h <<_ACEOF
12860 #define DLEYNA_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
12864 cat >>confdefs.h <<_ACEOF
12865 #define DLEYNA_LOG_LEVEL_INFO ${LOG_LEVEL_5}
12869 cat >>confdefs.h <<_ACEOF
12870 #define DLEYNA_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
12874 cat >>confdefs.h <<_ACEOF
12875 #define DLEYNA_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
12879 cat >>confdefs.h <<_ACEOF
12880 #define DLEYNA_LOG_LEVEL_ALL ${LOG_LEVEL_8}
12884 # Check whether --enable-master-build was given.
12885 if test "${enable_master_build+set}" = set; then :
12886 enableval=$enable_master_build;
12892 if test "x$master_build" = "xno"; then :
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLEYNA_CORE" >&5
12896 $as_echo_n "checking for DLEYNA_CORE... " >&6; }
12898 if test -n "$DLEYNA_CORE_CFLAGS"; then
12899 pkg_cv_DLEYNA_CORE_CFLAGS="$DLEYNA_CORE_CFLAGS"
12900 elif test -n "$PKG_CONFIG"; then
12901 if test -n "$PKG_CONFIG" && \
12902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12903 ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12906 test $ac_status = 0; }; then
12907 pkg_cv_DLEYNA_CORE_CFLAGS=`$PKG_CONFIG --cflags "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12908 test "x$?" != "x0" && pkg_failed=yes
12915 if test -n "$DLEYNA_CORE_LIBS"; then
12916 pkg_cv_DLEYNA_CORE_LIBS="$DLEYNA_CORE_LIBS"
12917 elif test -n "$PKG_CONFIG"; then
12918 if test -n "$PKG_CONFIG" && \
12919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.4.0\""; } >&5
12920 ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.4.0") 2>&5
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; }; then
12924 pkg_cv_DLEYNA_CORE_LIBS=`$PKG_CONFIG --libs "dleyna-core-1.0 >= 0.4.0" 2>/dev/null`
12925 test "x$?" != "x0" && pkg_failed=yes
12935 if test $pkg_failed = yes; then
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12937 $as_echo "no" >&6; }
12939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12940 _pkg_short_errors_supported=yes
12942 _pkg_short_errors_supported=no
12944 if test $_pkg_short_errors_supported = yes; then
12945 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12947 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dleyna-core-1.0 >= 0.4.0" 2>&1`
12949 # Put the nasty error message in config.log where it belongs
12950 echo "$DLEYNA_CORE_PKG_ERRORS" >&5
12952 as_fn_error $? "Package requirements (dleyna-core-1.0 >= 0.4.0) were not met:
12954 $DLEYNA_CORE_PKG_ERRORS
12956 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12957 installed software in a non-standard prefix.
12959 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12960 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12961 See the pkg-config man page for more details." "$LINENO" 5
12962 elif test $pkg_failed = untried; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12964 $as_echo "no" >&6; }
12965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12967 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12968 is in your PATH or set the PKG_CONFIG environment variable to the full
12969 path to pkg-config.
12971 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12972 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12973 See the pkg-config man page for more details.
12975 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12976 See \`config.log' for more details" "$LINENO" 5; }
12978 DLEYNA_CORE_CFLAGS=$pkg_cv_DLEYNA_CORE_CFLAGS
12979 DLEYNA_CORE_LIBS=$pkg_cv_DLEYNA_CORE_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12981 $as_echo "yes" >&6; }
12985 this_abs_top_srcdir=`cd "$srcdir" && pwd`;
12986 DLEYNA_CORE_CFLAGS="-I$this_abs_top_srcdir/../dleyna-core";
12987 DLEYNA_CORE_LIBS="-L$this_abs_top_srcdir/../dleyna-core/.libs -ldleyna-core-1.0"
12991 # Check whether --enable-debug was given.
12992 if test "${enable_debug+set}" = set; then :
12993 enableval=$enable_debug;
12999 case "${enable_debug}" in #(
13001 CFLAGS="$CFLAGS -g";
13003 cat >>confdefs.h <<_ACEOF
13004 #define DLEYNA_DEBUG_ENABLED 1
13011 as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
13015 # Check whether --enable-werror was given.
13016 if test "${enable_werror+set}" = set; then :
13017 enableval=$enable_werror;
13023 case "${enable_werror}" in #(
13025 CFLAGS="$CFLAGS -Werror" ;; #(
13029 as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
13033 # Check whether --enable-optimization was given.
13034 if test "${enable_optimization+set}" = set; then :
13035 enableval=$enable_optimization;
13037 enable_optimization=yes
13041 case "${enable_optimization}" in #(
13043 disable_optimization=no ;; #(
13045 CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
13047 as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
13051 # Check whether --enable-never-quit was given.
13052 if test "${enable_never_quit+set}" = set; then :
13053 enableval=$enable_never_quit;
13055 enable_never_quit=no
13059 case "${enable_never_quit}" in #(
13061 never_quit=true ;; #(
13063 never_quit=false ;; #(
13065 as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
13070 # Check whether --with-connector-name was given.
13071 if test "${with_connector_name+set}" = set; then :
13072 withval=$with_connector_name;
13074 with_connector_name=dbus
13080 # Check whether --with-log-level was given.
13081 if test "${with_log_level+set}" = set; then :
13082 withval=$with_log_level;
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
13090 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
13099 log_array=(0 0 0 0 0 0 0 0 0)
13101 for log_level in ${with_log_level}
13105 case $log_level in #(
13107 if test ${log_array[${log_level}]} -ne 0; then :
13109 as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
13111 elif test "x${log_single}" = xyes; then :
13113 as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
13118 if test ${log_level_count} -ne 0; then :
13120 as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
13126 as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
13130 log_name=LOG_LEVEL_${log_level}
13131 eval log_value=\$${log_name}
13132 let "LOG_LEVEL |= ${log_value}"
13137 let log_level_count++
13138 let log_array[${log_level}]++
13144 cat >>confdefs.h <<_ACEOF
13145 #define DLEYNA_LOG_LEVEL ${LOG_LEVEL}
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13150 $as_echo "ok" >&6; }
13156 # Check whether --with-log-type was given.
13157 if test "${with_log_type+set}" = set; then :
13158 withval=$with_log_type;
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
13166 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
13168 case ${with_log_type} in #(
13172 as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13177 $as_echo "ok" >&6; }
13183 # Check whether --with-ua-prefix was given.
13184 if test "${with_ua_prefix+set}" = set; then :
13185 withval=$with_ua_prefix; with_ua_prefix = "$withval";
13186 cat >>confdefs.h <<_ACEOF
13187 #define UA_PREFIX "$with_ua_prefix"
13194 # Check whether --with-dbus_service_dir was given.
13195 if test "${with_dbus_service_dir+set}" = set; then :
13196 withval=$with_dbus_service_dir; with_dbus_service_dir="$withval"
13198 with_dbus_service_dir=$datadir/dbus-1/services
13201 DBUS_SERVICE_DIR=$with_dbus_service_dir
13204 # Check whether --enable-lib-only was given.
13205 if test "${enable_lib_only+set}" = set; then :
13206 enableval=$enable_lib_only;
13212 if test "x$enable_lib_only" = "xno"; then
13214 BUILD_SERVER_FALSE='#'
13216 BUILD_SERVER_TRUE='#'
13217 BUILD_SERVER_FALSE=
13223 $as_echo "#define DLEYNA_SERVER_OBJECT \"/com/intel/dLeynaRenderer\"" >>confdefs.h
13226 $as_echo "#define DLEYNA_SERVER_PATH \"/com/intel/dLeynaRenderer/server\"" >>confdefs.h
13229 DLEYNA_SERVER_NAME=com.intel.dleyna-renderer
13232 $as_echo "#define DLEYNA_SERVER_NAME \"com.intel.dleyna-renderer\"" >>confdefs.h
13235 DLEYNA_SERVER_INTERFACE_MANAGER=com.intel.dLeynaRenderer.Manager
13238 $as_echo "#define DLEYNA_SERVER_INTERFACE_MANAGER \"com.intel.dLeynaRenderer.Manager\"" >>confdefs.h
13241 DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE=com.intel.dLeynaRenderer.RendererDevice
13244 $as_echo "#define DLEYNA_SERVER_INTERFACE_RENDERER_DEVICE \"com.intel.dLeynaRenderer.RendererDevice\"" >>confdefs.h
13247 DLEYNA_INTERFACE_PUSH_HOST=com.intel.dLeynaRenderer.PushHost
13250 $as_echo "#define DLEYNA_INTERFACE_PUSH_HOST \"com.intel.dLeynaRenderer.PushHost\"" >>confdefs.h
13259 ac_config_files="$ac_config_files Makefile libdleyna/renderer/Makefile libdleyna/renderer/dleyna-renderer-1.0.pc libdleyna/renderer/dleyna-renderer-service.conf server/dleyna-renderer-service-1.0.pc server/Makefile"
13262 cat >confcache <<\_ACEOF
13263 # This file is a shell script that caches the results of configure
13264 # tests run on this system so they can be shared between configure
13265 # scripts and configure runs, see configure's option --config-cache.
13266 # It is not useful on other systems. If it contains results you don't
13267 # want to keep, you may remove or edit it.
13269 # config.status only pays attention to the cache file if you give it
13270 # the --recheck option to rerun configure.
13272 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13273 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13274 # following values.
13278 # The following way of writing the cache mishandles newlines in values,
13279 # but we know of no workaround that is simple, portable, and efficient.
13280 # So, we kill variables containing newlines.
13281 # Ultrix sh set writes to stderr and can't be redirected directly,
13282 # and sets the high bit in the cache file unless we assign to the vars.
13284 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13285 eval ac_val=\$$ac_var
13289 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13290 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13293 _ | IFS | as_nl) ;; #(
13294 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13295 *) { eval $ac_var=; unset $ac_var;} ;;
13301 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13302 *${as_nl}ac_space=\ *)
13303 # `set' does not quote correctly, so add quotes: double-quote
13304 # substitution turns \\\\ into \\, and sed turns \\ into \.
13307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13310 # `set' quotes correctly as required by POSIX, so do not add quotes.
13311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13320 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13322 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13324 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13325 if test -w "$cache_file"; then
13326 if test "x$cache_file" != "x/dev/null"; then
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13328 $as_echo "$as_me: updating cache $cache_file" >&6;}
13329 if test ! -f "$cache_file" || test -h "$cache_file"; then
13330 cat confcache >"$cache_file"
13332 case $cache_file in #(
13334 mv -f confcache "$cache_file"$$ &&
13335 mv -f "$cache_file"$$ "$cache_file" ;; #(
13337 mv -f confcache "$cache_file" ;;
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13343 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13348 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13349 # Let make expand exec_prefix.
13350 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13352 DEFS=-DHAVE_CONFIG_H
13357 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13358 # 1. Remove the extension, and $U if already installed.
13359 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13360 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13361 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13362 # will be set to the directory where LIBOBJS objects are built.
13363 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13364 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13366 LIBOBJS=$ac_libobjs
13368 LTLIBOBJS=$ac_ltlibobjs
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13372 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13373 if test -n "$am_sleep_pid"; then
13374 # Hide warnings about reused PIDs.
13375 wait $am_sleep_pid 2>/dev/null
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13378 $as_echo "done" >&6; }
13379 if test -n "$EXEEXT"; then
13381 am__EXEEXT_FALSE='#'
13383 am__EXEEXT_TRUE='#'
13387 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13388 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13391 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13392 as_fn_error $? "conditional \"AMDEP\" was never defined.
13393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13395 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13396 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13399 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13400 as_fn_error $? "conditional \"BUILD_SERVER\" was never defined.
13401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13404 : "${CONFIG_STATUS=./config.status}"
13406 ac_clean_files_save=$ac_clean_files
13407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13413 # Generated by $as_me.
13414 # Run this file to recreate the current configuration.
13415 # Compiler output produced by configure, useful for debugging
13416 # configure, is in config.log if it exists.
13419 ac_cs_recheck=false
13422 SHELL=\${CONFIG_SHELL-$SHELL}
13425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13426 ## -------------------- ##
13427 ## M4sh Initialization. ##
13428 ## -------------------- ##
13430 # Be more Bourne compatible
13431 DUALCASE=1; export DUALCASE # for MKS sh
13432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13435 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13436 # is contrary to our usage. Disable this feature.
13437 alias -g '${1+"$@"}'='"$@"'
13438 setopt NO_GLOB_SUBST
13440 case `(set -o) 2>/dev/null` in #(
13452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13456 # Prefer a ksh shell builtin over an external printf program on Solaris,
13457 # but without wasting forks for bash or zsh.
13458 if test -z "$BASH_VERSION$ZSH_VERSION" \
13459 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13460 as_echo='print -r --'
13461 as_echo_n='print -rn --'
13462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13463 as_echo='printf %s\n'
13464 as_echo_n='printf %s'
13466 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13467 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13468 as_echo_n='/usr/ucb/echo -n'
13470 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13471 as_echo_n_body='eval
13475 expr "X$arg" : "X\\(.*\\)$as_nl";
13476 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13478 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13480 export as_echo_n_body
13481 as_echo_n='sh -c $as_echo_n_body as_echo'
13483 export as_echo_body
13484 as_echo='sh -c $as_echo_body as_echo'
13487 # The user is always right.
13488 if test "${PATH_SEPARATOR+set}" != set; then
13490 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13491 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13498 # We need space, tab and new line, in precisely that order. Quoting is
13499 # there to prevent editors from complaining about space-tab.
13500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13501 # splitting by setting IFS to empty value.)
13504 # Find who we are. Look in the path if we contain no directory separator.
13507 *[\\/]* ) as_myself=$0 ;;
13508 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13509 for as_dir in $PATH
13512 test -z "$as_dir" && as_dir=.
13513 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13519 # We did not find ourselves, most probably we were run as `sh COMMAND'
13520 # in which case we are not to be found in the path.
13521 if test "x$as_myself" = x; then
13524 if test ! -f "$as_myself"; then
13525 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13529 # Unset variables that we do not need and which cause bugs (e.g. in
13530 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13531 # suppresses any "Segmentation fault" message there. '((' could
13532 # trigger a bug in pdksh 5.2.14.
13533 for as_var in BASH_ENV ENV MAIL MAILPATH
13534 do eval test x\${$as_var+set} = xset \
13535 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13551 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13552 # ----------------------------------------
13553 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13554 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13555 # script with STATUS, using 1 if that was 0.
13558 as_status=$1; test $as_status -eq 0 && as_status=1
13560 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13561 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13563 $as_echo "$as_me: error: $2" >&2
13564 as_fn_exit $as_status
13568 # as_fn_set_status STATUS
13569 # -----------------------
13570 # Set $? to STATUS, without forking.
13571 as_fn_set_status ()
13574 } # as_fn_set_status
13576 # as_fn_exit STATUS
13577 # -----------------
13578 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13582 as_fn_set_status $1
13588 # Portably unset VAR.
13591 { eval $1=; unset $1;}
13593 as_unset=as_fn_unset
13594 # as_fn_append VAR VALUE
13595 # ----------------------
13596 # Append the text in VALUE to the end of the definition contained in VAR. Take
13597 # advantage of any shell optimizations that allow amortized linear growth over
13598 # repeated appends, instead of the typical quadratic growth present in naive
13600 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13601 eval 'as_fn_append ()
13612 # as_fn_arith ARG...
13613 # ------------------
13614 # Perform arithmetic evaluation on the ARGs, and store the result in the
13615 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13616 # must be portable across $(()) and expr.
13617 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13618 eval 'as_fn_arith ()
13625 as_val=`expr "$@" || test $? -eq 1`
13630 if expr a : '\(a\)' >/dev/null 2>&1 &&
13631 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13637 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13638 as_basename=basename
13643 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13649 as_me=`$as_basename -- "$0" ||
13650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13651 X"$0" : 'X\(//\)$' \| \
13652 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13654 sed '/^.*\/\([^/][^/]*\)\/*$/{
13668 # Avoid depending upon Character Ranges.
13669 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13670 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13671 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13672 as_cr_digits='0123456789'
13673 as_cr_alnum=$as_cr_Letters$as_cr_digits
13675 ECHO_C= ECHO_N= ECHO_T=
13676 case `echo -n x` in #(((((
13678 case `echo 'xy\c'` in
13679 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13681 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13688 rm -f conf$$ conf$$.exe conf$$.file
13689 if test -d conf$$.dir; then
13690 rm -f conf$$.dir/conf$$.file
13693 mkdir conf$$.dir 2>/dev/null
13695 if (echo >conf$$.file) 2>/dev/null; then
13696 if ln -s conf$$.file conf$$ 2>/dev/null; then
13698 # ... but there are two gotchas:
13699 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13700 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13701 # In both cases, we have to default to `cp -pR'.
13702 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13704 elif ln conf$$.file conf$$ 2>/dev/null; then
13712 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13713 rmdir conf$$.dir 2>/dev/null
13718 # Create "$as_dir" as a directory, including parents if necessary.
13723 -*) as_dir=./$as_dir;;
13725 test -d "$as_dir" || eval $as_mkdir_p || {
13729 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13730 *) as_qdir=$as_dir;;
13732 as_dirs="'$as_qdir' $as_dirs"
13733 as_dir=`$as_dirname -- "$as_dir" ||
13734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13735 X"$as_dir" : 'X\(//\)[^/]' \| \
13736 X"$as_dir" : 'X\(//\)$' \| \
13737 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13738 $as_echo X"$as_dir" |
13739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13743 /^X\(\/\/\)[^/].*/{
13756 test -d "$as_dir" && break
13758 test -z "$as_dirs" || eval "mkdir $as_dirs"
13759 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13763 if mkdir -p . 2>/dev/null; then
13764 as_mkdir_p='mkdir -p "$as_dir"'
13766 test -d ./-p && rmdir ./-p
13771 # as_fn_executable_p FILE
13772 # -----------------------
13773 # Test if FILE is an executable regular file.
13774 as_fn_executable_p ()
13776 test -f "$1" && test -x "$1"
13777 } # as_fn_executable_p
13778 as_test_x='test -x'
13779 as_executable_p=as_fn_executable_p
13781 # Sed expression to map a string onto a valid CPP name.
13782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13784 # Sed expression to map a string onto a valid variable name.
13785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13789 ## ----------------------------------- ##
13790 ## Main body of $CONFIG_STATUS script. ##
13791 ## ----------------------------------- ##
13793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13796 # Save the log message, to keep $0 and so on meaningful, and to
13797 # report actual input values of CONFIG_FILES etc. instead of their
13798 # values after options handling.
13800 This file was extended by dleyna-renderer $as_me 0.4.0, which was
13801 generated by GNU Autoconf 2.69. Invocation command line was
13803 CONFIG_FILES = $CONFIG_FILES
13804 CONFIG_HEADERS = $CONFIG_HEADERS
13805 CONFIG_LINKS = $CONFIG_LINKS
13806 CONFIG_COMMANDS = $CONFIG_COMMANDS
13809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13814 case $ac_config_files in *"
13815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13818 case $ac_config_headers in *"
13819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13824 # Files that config.status was made for.
13825 config_files="$ac_config_files"
13826 config_headers="$ac_config_headers"
13827 config_commands="$ac_config_commands"
13831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13833 \`$as_me' instantiates files and other configuration actions
13834 from templates according to the current configuration. Unless the files
13835 and actions are specified as TAGs, all are instantiated by default.
13837 Usage: $0 [OPTION]... [TAG]...
13839 -h, --help print this help, then exit
13840 -V, --version print version number and configuration settings, then exit
13841 --config print configuration, then exit
13842 -q, --quiet, --silent
13843 do not print progress messages
13844 -d, --debug don't remove temporary files
13845 --recheck update $as_me by reconfiguring in the same conditions
13846 --file=FILE[:TEMPLATE]
13847 instantiate the configuration file FILE
13848 --header=FILE[:TEMPLATE]
13849 instantiate the configuration header FILE
13851 Configuration files:
13854 Configuration headers:
13857 Configuration commands:
13860 Report bugs to <https://github.com/01org/dleyna-renderer/issues/new>.
13861 dleyna-renderer home page: <https://01.org/dleyna/>."
13864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13865 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13867 dleyna-renderer config.status 0.4.0
13868 configured by $0, generated by GNU Autoconf 2.69,
13869 with options \\"\$ac_cs_config\\"
13871 Copyright (C) 2012 Free Software Foundation, Inc.
13872 This config.status script is free software; the Free Software Foundation
13873 gives unlimited permission to copy, distribute and modify it."
13880 test -n "\$AWK" || AWK=awk
13883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13884 # The default lists apply if the user does not specify any file.
13890 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13891 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13895 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13907 # Handling of the options.
13908 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13910 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13911 $as_echo "$ac_cs_version"; exit ;;
13912 --config | --confi | --conf | --con | --co | --c )
13913 $as_echo "$ac_cs_config"; exit ;;
13914 --debug | --debu | --deb | --de | --d | -d )
13916 --file | --fil | --fi | --f )
13919 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13920 '') as_fn_error $? "missing file argument" ;;
13922 as_fn_append CONFIG_FILES " '$ac_optarg'"
13923 ac_need_defaults=false;;
13924 --header | --heade | --head | --hea )
13927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13929 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13930 ac_need_defaults=false;;
13932 # Conflict between --help and --header
13933 as_fn_error $? "ambiguous option: \`$1'
13934 Try \`$0 --help' for more information.";;
13935 --help | --hel | -h )
13936 $as_echo "$ac_cs_usage"; exit ;;
13937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13938 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13941 # This is an error.
13942 -*) as_fn_error $? "unrecognized option: \`$1'
13943 Try \`$0 --help' for more information." ;;
13945 *) as_fn_append ac_config_targets " $1"
13946 ac_need_defaults=false ;;
13952 ac_configure_extra_args=
13954 if $ac_cs_silent; then
13956 ac_configure_extra_args="$ac_configure_extra_args --silent"
13960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13961 if \$ac_cs_recheck; then
13962 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13964 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13965 CONFIG_SHELL='$SHELL'
13966 export CONFIG_SHELL
13971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13975 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13976 ## Running $as_me. ##
13982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13986 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13989 # The HP-UX ksh and POSIX shell print the target directory to stdout
13990 # if CDPATH is set.
13991 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13993 sed_quote_subst='$sed_quote_subst'
13994 double_quote_subst='$double_quote_subst'
13995 delay_variable_subst='$delay_variable_subst'
13996 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13997 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13998 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13999 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14000 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14001 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14002 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14003 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14004 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14005 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14006 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14007 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14008 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14009 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14010 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14011 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14012 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14013 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14014 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14015 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14016 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14017 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14018 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14019 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14020 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14021 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14022 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14023 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14024 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14025 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14026 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14027 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14028 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14029 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14030 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14031 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14032 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14033 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14034 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14035 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14036 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14037 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14038 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14039 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14040 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14041 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14042 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14043 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14044 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14045 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14046 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14047 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14048 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14049 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14050 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14051 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14052 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"`'
14053 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14054 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14055 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14056 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14057 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14058 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14059 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14060 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14061 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14062 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14063 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14064 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14065 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14066 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14067 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14068 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14069 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14070 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14071 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14072 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14073 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14074 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14075 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14076 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14077 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14078 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14079 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14080 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14081 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14082 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14083 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14084 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14085 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14086 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14087 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14088 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14089 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14090 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14091 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14092 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14093 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14094 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14095 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14096 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14097 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14098 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14099 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14100 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14101 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14102 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14103 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14104 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14105 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14106 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14107 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14108 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14109 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14110 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14111 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14112 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14113 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14114 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14115 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14116 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14117 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14118 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14119 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14120 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14121 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14122 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14123 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14124 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14125 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14128 LTCFLAGS='$LTCFLAGS'
14129 compiler='$compiler_DEFAULT'
14131 # A function that is used when there is no print builtin or printf.
14132 func_fallback_echo ()
14134 eval 'cat <<_LTECHO_EOF
14139 # Quote evaled strings.
14154 deplibs_check_method \
14159 sharedlib_from_linklib_cmd \
14162 archiver_list_spec \
14168 lt_cv_sys_global_symbol_pipe \
14169 lt_cv_sys_global_symbol_to_cdecl \
14170 lt_cv_sys_global_symbol_to_c_name_address \
14171 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14172 nm_file_list_spec \
14173 lt_prog_compiler_no_builtin_flag \
14174 lt_prog_compiler_pic \
14175 lt_prog_compiler_wl \
14176 lt_prog_compiler_static \
14177 lt_cv_prog_compiler_c_o \
14186 export_dynamic_flag_spec \
14187 whole_archive_flag_spec \
14188 compiler_needs_object \
14190 allow_undefined_flag \
14191 no_undefined_flag \
14192 hardcode_libdir_flag_spec \
14193 hardcode_libdir_separator \
14197 variables_saved_for_relink \
14199 library_names_spec \
14201 install_override_mode \
14205 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14206 *[\\\\\\\`\\"\\\$]*)
14207 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14210 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14215 # Double-quote double-evaled strings.
14216 for var in reload_cmds \
14217 old_postinstall_cmds \
14218 old_postuninstall_cmds \
14220 extract_expsyms_cmds \
14221 old_archive_from_new_cmds \
14222 old_archive_from_expsyms_cmds \
14224 archive_expsym_cmds \
14226 module_expsym_cmds \
14227 export_symbols_cmds \
14231 postuninstall_cmds \
14233 sys_lib_search_path_spec \
14234 sys_lib_dlsearch_path_spec; do
14235 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14236 *[\\\\\\\`\\"\\\$]*)
14237 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14240 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14245 ac_aux_dir='$ac_aux_dir'
14246 xsi_shell='$xsi_shell'
14247 lt_shell_append='$lt_shell_append'
14249 # See if we are running on zsh, and set the options which allow our
14250 # commands through without removal of \ escapes INIT.
14251 if test -n "\${ZSH_VERSION+set}" ; then
14252 setopt NO_GLOB_SUBST
14258 TIMESTAMP='$TIMESTAMP'
14267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14269 # Handling of arguments.
14270 for ac_config_target in $ac_config_targets
14272 case $ac_config_target in
14273 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14274 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14275 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14276 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14277 "libdleyna/renderer/Makefile") CONFIG_FILES="$CONFIG_FILES libdleyna/renderer/Makefile" ;;
14278 "libdleyna/renderer/dleyna-renderer-1.0.pc") CONFIG_FILES="$CONFIG_FILES libdleyna/renderer/dleyna-renderer-1.0.pc" ;;
14279 "libdleyna/renderer/dleyna-renderer-service.conf") CONFIG_FILES="$CONFIG_FILES libdleyna/renderer/dleyna-renderer-service.conf" ;;
14280 "server/dleyna-renderer-service-1.0.pc") CONFIG_FILES="$CONFIG_FILES server/dleyna-renderer-service-1.0.pc" ;;
14281 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14283 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14288 # If the user did not use the arguments to specify the items to instantiate,
14289 # then the envvar interface is used. Set only those that are not.
14290 # We use the long form for the default assignment because of an extremely
14291 # bizarre bug on SunOS 4.1.3.
14292 if $ac_need_defaults; then
14293 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14294 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14295 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14298 # Have a temporary directory for convenience. Make it in the build tree
14299 # simply because there is no reason against having it here, and in addition,
14300 # creating and moving files from /tmp can sometimes cause problems.
14301 # Hook for its removal unless debugging.
14302 # Note that there is a small window in which the directory will not be cleaned:
14303 # after its creation but before its name has been assigned to `$tmp'.
14307 trap 'exit_status=$?
14308 : "${ac_tmp:=$tmp}"
14309 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14311 trap 'as_fn_exit 1' 1 2 13 15
14313 # Create a (secure) tmp directory for tmp files.
14316 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14320 tmp=./conf$$-$RANDOM
14321 (umask 077 && mkdir "$tmp")
14322 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14325 # Set up the scripts for CONFIG_FILES section.
14326 # No need to generate them if there are no CONFIG_FILES.
14327 # This happens for instance with `./config.status config.h'.
14328 if test -n "$CONFIG_FILES"; then
14331 ac_cr=`echo X | tr X '\015'`
14332 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14333 # But we know of no other shell where ac_cr would be empty at this
14334 # point, so we can use a bashism as a fallback.
14335 if test "x$ac_cr" = x; then
14336 eval ac_cr=\$\'\\r\'
14338 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14339 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14342 ac_cs_awk_cr=$ac_cr
14345 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14350 echo "cat >conf$$subs.awk <<_ACEOF" &&
14351 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14353 } >conf$$subs.sh ||
14354 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14355 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14357 for ac_last_try in false false false false false :; do
14358 . ./conf$$subs.sh ||
14359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14361 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14362 if test $ac_delim_n = $ac_delim_num; then
14364 elif $ac_last_try; then
14365 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14367 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14370 rm -f conf$$subs.sh
14372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14373 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14377 s/^/S["/; s/!.*/"]=/
14387 s/\(.\{148\}\)..*/\1/
14389 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14394 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14401 s/\(.\{148\}\)..*/\1/
14403 s/["\\]/\\&/g; s/^/"/; s/$/"/
14407 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14412 ' <conf$$subs.awk | sed '
14417 ' >>$CONFIG_STATUS || ac_write_fail=1
14418 rm -f conf$$subs.awk
14419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14421 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14422 for (key in S) S_is_set[key] = 1
14428 nfields = split(line, field, "@")
14430 len = length(field[1])
14431 for (i = 2; i < nfields; i++) {
14433 keylen = length(key)
14434 if (S_is_set[key]) {
14436 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14437 len += length(value) + length(field[++i])
14448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14449 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14450 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14453 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14454 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14457 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14458 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14459 # trailing colons and then remove the whole line if VPATH becomes empty
14460 # (actually we leave an empty line to preserve line numbers).
14461 if test "x$srcdir" = x.; then
14462 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14481 fi # test -n "$CONFIG_FILES"
14483 # Set up the scripts for CONFIG_HEADERS section.
14484 # No need to generate them if there are no CONFIG_HEADERS.
14485 # This happens for instance with `./config.status Makefile'.
14486 if test -n "$CONFIG_HEADERS"; then
14487 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14491 # Transform confdefs.h into an awk script `defines.awk', embedded as
14492 # here-document in config.status, that substitutes the proper values into
14493 # config.h.in to produce config.h.
14495 # Create a delimiter string that does not exist in confdefs.h, to ease
14496 # handling of long lines.
14498 for ac_last_try in false false :; do
14499 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14500 if test -z "$ac_tt"; then
14502 elif $ac_last_try; then
14503 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14505 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14509 # For the awk script, D is an array of macro values keyed by name,
14510 # likewise P contains macro parameters if any. Preserve backslash
14511 # newline sequences.
14513 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14515 s/.\{148\}/&'"$ac_delim"'/g
14518 s/^[ ]*#[ ]*define[ ][ ]*/ /
14525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14527 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14532 D["\1"]=" \3\\\\\\n"\\/p
14534 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14539 s/.\{148\}/&'"$ac_delim"'/g
14544 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14547 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14549 ' <confdefs.h | sed '
14550 s/'"$ac_delim"'/"\\\
14551 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14554 for (key in D) D_is_set[key] = 1
14557 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14559 split(line, arg, " ")
14560 if (arg[1] == "#") {
14564 defundef = substr(arg[1], 2)
14567 split(mac1, mac2, "(") #)
14569 prefix = substr(line, 1, index(line, defundef) - 1)
14570 if (D_is_set[macro]) {
14571 # Preserve the white space surrounding the "#".
14572 print prefix "define", macro P[macro] D[macro]
14575 # Replace #undef with comments. This is necessary, for example,
14576 # in the case of _POSIX_SOURCE, which is predefined and required
14577 # on some systems where configure will not decide to define it.
14578 if (defundef == "undef") {
14579 print "/*", prefix defundef, macro, "*/"
14587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14588 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14589 fi # test -n "$CONFIG_HEADERS"
14592 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14597 :[FHLC]) ac_mode=$ac_tag; continue;;
14599 case $ac_mode$ac_tag in
14601 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14602 :[FH]-) ac_tag=-:-;;
14603 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14620 -) ac_f="$ac_tmp/stdin";;
14621 *) # Look for the file first in the build tree, then in the source tree
14622 # (if the path is not absolute). The absolute path cannot be DOS-style,
14623 # because $ac_f cannot contain `:'.
14627 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14629 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14631 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14632 as_fn_append ac_file_inputs " '$ac_f'"
14635 # Let's still pretend it is `configure' which instantiates (i.e., don't
14636 # use $as_me), people would be surprised to read:
14637 # /* config.h. Generated by config.status. */
14638 configure_input='Generated from '`
14639 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14641 if test x"$ac_file" != x-; then
14642 configure_input="$ac_file. $configure_input"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14644 $as_echo "$as_me: creating $ac_file" >&6;}
14646 # Neutralize special characters interpreted by sed in replacement strings.
14647 case $configure_input in #(
14648 *\&* | *\|* | *\\* )
14649 ac_sed_conf_input=`$as_echo "$configure_input" |
14650 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14651 *) ac_sed_conf_input=$configure_input;;
14655 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14661 ac_dir=`$as_dirname -- "$ac_file" ||
14662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14663 X"$ac_file" : 'X\(//\)[^/]' \| \
14664 X"$ac_file" : 'X\(//\)$' \| \
14665 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14666 $as_echo X"$ac_file" |
14667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14671 /^X\(\/\/\)[^/].*/{
14684 as_dir="$ac_dir"; as_fn_mkdir_p
14688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14690 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14691 # A ".." for each directory in $ac_dir_suffix.
14692 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14693 case $ac_top_builddir_sub in
14694 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14695 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14698 ac_abs_top_builddir=$ac_pwd
14699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14700 # for backward compatibility:
14701 ac_top_builddir=$ac_top_build_prefix
14704 .) # We are building in place.
14706 ac_top_srcdir=$ac_top_builddir_sub
14707 ac_abs_top_srcdir=$ac_pwd ;;
14708 [\\/]* | ?:[\\/]* ) # Absolute name.
14709 ac_srcdir=$srcdir$ac_dir_suffix;
14710 ac_top_srcdir=$srcdir
14711 ac_abs_top_srcdir=$srcdir ;;
14712 *) # Relative name.
14713 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14714 ac_top_srcdir=$ac_top_build_prefix$srcdir
14715 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14727 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14728 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14730 ac_MKDIR_P=$MKDIR_P
14732 [\\/$]* | ?:[\\/]* ) ;;
14733 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14738 # If the template does not know about datarootdir, expand it.
14739 # FIXME: This hack should be removed a few years after 2.60.
14740 ac_datarootdir_hack=; ac_datarootdir_seen=
14751 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14752 *datarootdir*) ac_datarootdir_seen=yes;;
14753 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14755 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14758 ac_datarootdir_hack='
14759 s&@datadir@&$datadir&g
14760 s&@docdir@&$docdir&g
14761 s&@infodir@&$infodir&g
14762 s&@localedir@&$localedir&g
14763 s&@mandir@&$mandir&g
14764 s&\\\${datarootdir}&$datarootdir&g' ;;
14768 # Neutralize VPATH when `$srcdir' = `.'.
14769 # Shell code in configure.ac might set extrasub.
14770 # FIXME: do we really want to maintain this feature?
14771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14772 ac_sed_extra="$ac_vpsub
14775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14778 s|@configure_input@|$ac_sed_conf_input|;t t
14779 s&@top_builddir@&$ac_top_builddir_sub&;t t
14780 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14781 s&@srcdir@&$ac_srcdir&;t t
14782 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14783 s&@top_srcdir@&$ac_top_srcdir&;t t
14784 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14785 s&@builddir@&$ac_builddir&;t t
14786 s&@abs_builddir@&$ac_abs_builddir&;t t
14787 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14788 s&@INSTALL@&$ac_INSTALL&;t t
14789 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14790 $ac_datarootdir_hack
14792 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14793 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14796 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14798 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14800 which seems to be undefined. Please make sure it is defined" >&5
14801 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14802 which seems to be undefined. Please make sure it is defined" >&2;}
14804 rm -f "$ac_tmp/stdin"
14806 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14807 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14815 if test x"$ac_file" != x-; then
14817 $as_echo "/* $configure_input */" \
14818 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14819 } >"$ac_tmp/config.h" \
14820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14821 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14823 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14826 mv "$ac_tmp/config.h" "$ac_file" \
14827 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14830 $as_echo "/* $configure_input */" \
14831 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14832 || as_fn_error $? "could not create -" "$LINENO" 5
14834 # Compute "$ac_file"'s index in $config_headers.
14837 for _am_header in $config_headers :; do
14838 case $_am_header in
14839 $_am_arg | $_am_arg:* )
14842 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14845 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14846 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14847 X"$_am_arg" : 'X\(//\)[^/]' \| \
14848 X"$_am_arg" : 'X\(//\)$' \| \
14849 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14850 $as_echo X"$_am_arg" |
14851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14855 /^X\(\/\/\)[^/].*/{
14867 s/.*/./; q'`/stamp-h$_am_stamp_count
14870 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14871 $as_echo "$as_me: executing $ac_file commands" >&6;}
14876 case $ac_file$ac_mode in
14877 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14878 # Older Autoconf quotes --file arguments for eval, but not when files
14879 # are listed without --file. Let's play safe and only enable the eval
14880 # if we detect the quoting.
14881 case $CONFIG_FILES in
14882 *\'*) eval set x "$CONFIG_FILES" ;;
14883 *) set x $CONFIG_FILES ;;
14888 # Strip MF so we end up with the name of the file.
14889 mf=`echo "$mf" | sed -e 's/:.*$//'`
14890 # Check whether this is an Automake generated Makefile or not.
14891 # We used to match only the files named 'Makefile.in', but
14892 # some people rename them; so instead we look at the file content.
14893 # Grep'ing the first line is not enough: some people post-process
14894 # each Makefile.in and add a new line on top of each file to say so.
14895 # Grep'ing the whole file is not good either: AIX grep has a line
14896 # limit of 2048, but all sed's we know have understand at least 4000.
14897 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14898 dirpart=`$as_dirname -- "$mf" ||
14899 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14900 X"$mf" : 'X\(//\)[^/]' \| \
14901 X"$mf" : 'X\(//\)$' \| \
14902 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14908 /^X\(\/\/\)[^/].*/{
14924 # Extract the definition of DEPDIR, am__include, and am__quote
14925 # from the Makefile without running 'make'.
14926 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14927 test -z "$DEPDIR" && continue
14928 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14929 test -z "$am__include" && continue
14930 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14931 # Find all dependency output files, they are included files with
14932 # $(DEPDIR) in their names. We invoke sed twice because it is the
14933 # simplest approach to changing $(DEPDIR) to its actual value in the
14935 for file in `sed -n "
14936 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14937 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14938 # Make sure the directory exists.
14939 test -f "$dirpart/$file" && continue
14940 fdir=`$as_dirname -- "$file" ||
14941 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14942 X"$file" : 'X\(//\)[^/]' \| \
14943 X"$file" : 'X\(//\)$' \| \
14944 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14945 $as_echo X"$file" |
14946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14950 /^X\(\/\/\)[^/].*/{
14963 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14964 # echo "creating $dirpart/$file"
14965 echo '# dummy' > "$dirpart/$file"
14972 # See if we are running on zsh, and set the options which allow our
14973 # commands through without removal of \ escapes.
14974 if test -n "${ZSH_VERSION+set}" ; then
14975 setopt NO_GLOB_SUBST
14978 cfgfile="${ofile}T"
14979 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14982 cat <<_LT_EOF >> "$cfgfile"
14985 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14986 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14987 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14988 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14990 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14991 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14993 # Written by Gordon Matzigkeit, 1996
14995 # This file is part of GNU Libtool.
14997 # GNU Libtool is free software; you can redistribute it and/or
14998 # modify it under the terms of the GNU General Public License as
14999 # published by the Free Software Foundation; either version 2 of
15000 # the License, or (at your option) any later version.
15002 # As a special exception to the GNU General Public License,
15003 # if you distribute this file as part of a program or library that
15004 # is built using GNU Libtool, you may include this file under the
15005 # same distribution terms that you use for the rest of that program.
15007 # GNU Libtool is distributed in the hope that it will be useful,
15008 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15009 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15010 # GNU General Public License for more details.
15012 # You should have received a copy of the GNU General Public License
15013 # along with GNU Libtool; see the file COPYING. If not, a copy
15014 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15015 # obtained by writing to the Free Software Foundation, Inc.,
15016 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15019 # The names of the tagged configurations supported by this script.
15022 # ### BEGIN LIBTOOL CONFIG
15024 # Which release of libtool.m4 was used?
15025 macro_version=$macro_version
15026 macro_revision=$macro_revision
15028 # Whether or not to build static libraries.
15029 build_old_libs=$enable_static
15031 # Whether or not to build shared libraries.
15032 build_libtool_libs=$enable_shared
15034 # What type of objects to build.
15037 # Whether or not to optimize for fast installation.
15038 fast_install=$enable_fast_install
15040 # Shell to use when invoking shell scripts.
15043 # An echo program that protects backslashes.
15046 # The PATH separator for the build system.
15047 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15050 host_alias=$host_alias
15054 # The build system.
15055 build_alias=$build_alias
15059 # A sed program that does not truncate output.
15062 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15063 Xsed="\$SED -e 1s/^X//"
15065 # A grep program that handles long lines.
15071 # A literal string matcher.
15074 # A BSD- or MS-compatible name lister.
15077 # Whether we need soft or hard links.
15080 # What is the maximum length of a command?
15081 max_cmd_len=$max_cmd_len
15083 # Object file suffix (normally "o").
15086 # Executable file suffix (normally "").
15089 # whether the shell understands "unset".
15092 # turn spaces into newlines.
15095 # turn newlines into spaces.
15098 # convert \$build file names to \$host format.
15099 to_host_file_cmd=$lt_cv_to_host_file_cmd
15101 # convert \$build files to toolchain format.
15102 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15104 # An object symbol dumper.
15105 OBJDUMP=$lt_OBJDUMP
15107 # Method to check whether dependent libraries are shared objects.
15108 deplibs_check_method=$lt_deplibs_check_method
15110 # Command to use when deplibs_check_method = "file_magic".
15111 file_magic_cmd=$lt_file_magic_cmd
15113 # How to find potential files when deplibs_check_method = "file_magic".
15114 file_magic_glob=$lt_file_magic_glob
15116 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15117 want_nocaseglob=$lt_want_nocaseglob
15119 # DLL creation program.
15120 DLLTOOL=$lt_DLLTOOL
15122 # Command to associate shared and link libraries.
15123 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15128 # Flags to create an archive.
15129 AR_FLAGS=$lt_AR_FLAGS
15131 # How to feed a file listing to the archiver.
15132 archiver_list_spec=$lt_archiver_list_spec
15134 # A symbol stripping program.
15137 # Commands used to install an old-style archive.
15139 old_postinstall_cmds=$lt_old_postinstall_cmds
15140 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15142 # Whether to use a lock for old archive extraction.
15143 lock_old_archive_extraction=$lock_old_archive_extraction
15148 # LTCC compiler flags.
15149 LTCFLAGS=$lt_CFLAGS
15151 # Take the output of nm and produce a listing of raw symbols and C names.
15152 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15154 # Transform the output of nm in a proper C declaration.
15155 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15157 # Transform the output of nm in a C name address pair.
15158 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15160 # Transform the output of nm in a C name address pair when lib prefix is needed.
15161 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15163 # Specify filename containing input files for \$NM.
15164 nm_file_list_spec=$lt_nm_file_list_spec
15166 # The root where to search for dependent libraries,and in which our libraries should be installed.
15167 lt_sysroot=$lt_sysroot
15169 # The name of the directory that contains temporary libtool files.
15172 # Used to examine libraries when file_magic_cmd begins with "file".
15173 MAGIC_CMD=$MAGIC_CMD
15175 # Must we lock files when doing compilation?
15176 need_locks=$lt_need_locks
15179 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15181 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15182 DSYMUTIL=$lt_DSYMUTIL
15184 # Tool to change global to local symbols on Mac OS X.
15187 # Tool to manipulate fat objects and archives on Mac OS X.
15190 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15193 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15194 OTOOL64=$lt_OTOOL64
15196 # Old archive suffix (normally "a").
15199 # Shared library suffix (normally ".so").
15200 shrext_cmds=$lt_shrext_cmds
15202 # The commands to extract the exported symbol list from a shared archive.
15203 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15205 # Variables whose values should be saved in libtool wrapper scripts and
15206 # restored at link time.
15207 variables_saved_for_relink=$lt_variables_saved_for_relink
15209 # Do we need the "lib" prefix for modules?
15210 need_lib_prefix=$need_lib_prefix
15212 # Do we need a version for libraries?
15213 need_version=$need_version
15215 # Library versioning type.
15216 version_type=$version_type
15218 # Shared library runtime path variable.
15219 runpath_var=$runpath_var
15221 # Shared library path variable.
15222 shlibpath_var=$shlibpath_var
15224 # Is shlibpath searched before the hard-coded library search path?
15225 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15227 # Format of library name prefix.
15228 libname_spec=$lt_libname_spec
15230 # List of archive names. First name is the real one, the rest are links.
15231 # The last name is the one that the linker finds with -lNAME
15232 library_names_spec=$lt_library_names_spec
15234 # The coded name of the library, if different from the real name.
15235 soname_spec=$lt_soname_spec
15237 # Permission mode override for installation of shared libraries.
15238 install_override_mode=$lt_install_override_mode
15240 # Command to use after installation of a shared archive.
15241 postinstall_cmds=$lt_postinstall_cmds
15243 # Command to use after uninstallation of a shared archive.
15244 postuninstall_cmds=$lt_postuninstall_cmds
15246 # Commands used to finish a libtool library installation in a directory.
15247 finish_cmds=$lt_finish_cmds
15249 # As "finish_cmds", except a single script fragment to be evaled but
15251 finish_eval=$lt_finish_eval
15253 # Whether we should hardcode library paths into libraries.
15254 hardcode_into_libs=$hardcode_into_libs
15256 # Compile-time system search path for libraries.
15257 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15259 # Run-time system search path for libraries.
15260 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15262 # Whether dlopen is supported.
15263 dlopen_support=$enable_dlopen
15265 # Whether dlopen of programs is supported.
15266 dlopen_self=$enable_dlopen_self
15268 # Whether dlopen of statically linked programs is supported.
15269 dlopen_self_static=$enable_dlopen_self_static
15271 # Commands to strip libraries.
15272 old_striplib=$lt_old_striplib
15273 striplib=$lt_striplib
15276 # The linker used to build libraries.
15279 # How to create reloadable object files.
15280 reload_flag=$lt_reload_flag
15281 reload_cmds=$lt_reload_cmds
15283 # Commands used to build an old-style archive.
15284 old_archive_cmds=$lt_old_archive_cmds
15286 # A language specific compiler.
15289 # Is the compiler the GNU compiler?
15292 # Compiler flag to turn off builtin functions.
15293 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15295 # Additional compiler flags for building library objects.
15296 pic_flag=$lt_lt_prog_compiler_pic
15298 # How to pass a linker flag through the compiler.
15299 wl=$lt_lt_prog_compiler_wl
15301 # Compiler flag to prevent dynamic linking.
15302 link_static_flag=$lt_lt_prog_compiler_static
15304 # Does compiler simultaneously support -c and -o options?
15305 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15307 # Whether or not to add -lc for building shared libraries.
15308 build_libtool_need_lc=$archive_cmds_need_lc
15310 # Whether or not to disallow shared libs when runtime libs are static.
15311 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15313 # Compiler flag to allow reflexive dlopens.
15314 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15316 # Compiler flag to generate shared objects directly from archives.
15317 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15319 # Whether the compiler copes with passing no objects directly.
15320 compiler_needs_object=$lt_compiler_needs_object
15322 # Create an old-style archive from a shared archive.
15323 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15325 # Create a temporary old-style archive to link instead of a shared archive.
15326 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15328 # Commands used to build a shared archive.
15329 archive_cmds=$lt_archive_cmds
15330 archive_expsym_cmds=$lt_archive_expsym_cmds
15332 # Commands used to build a loadable module if different from building
15333 # a shared archive.
15334 module_cmds=$lt_module_cmds
15335 module_expsym_cmds=$lt_module_expsym_cmds
15337 # Whether we are building with GNU ld or not.
15338 with_gnu_ld=$lt_with_gnu_ld
15340 # Flag that allows shared libraries with undefined symbols to be built.
15341 allow_undefined_flag=$lt_allow_undefined_flag
15343 # Flag that enforces no undefined symbols.
15344 no_undefined_flag=$lt_no_undefined_flag
15346 # Flag to hardcode \$libdir into a binary during linking.
15347 # This must work even if \$libdir does not exist
15348 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15350 # Whether we need a single "-rpath" flag with a separated argument.
15351 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15354 # DIR into the resulting binary.
15355 hardcode_direct=$hardcode_direct
15357 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15358 # DIR into the resulting binary and the resulting library dependency is
15359 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15360 # library is relocated.
15361 hardcode_direct_absolute=$hardcode_direct_absolute
15363 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15364 # into the resulting binary.
15365 hardcode_minus_L=$hardcode_minus_L
15367 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15368 # into the resulting binary.
15369 hardcode_shlibpath_var=$hardcode_shlibpath_var
15371 # Set to "yes" if building a shared library automatically hardcodes DIR
15372 # into the library and all subsequent libraries and executables linked
15374 hardcode_automatic=$hardcode_automatic
15376 # Set to yes if linker adds runtime paths of dependent libraries
15377 # to runtime path list.
15378 inherit_rpath=$inherit_rpath
15380 # Whether libtool must link a program against all its dependency libraries.
15381 link_all_deplibs=$link_all_deplibs
15383 # Set to "yes" if exported symbols are required.
15384 always_export_symbols=$always_export_symbols
15386 # The commands to list exported symbols.
15387 export_symbols_cmds=$lt_export_symbols_cmds
15389 # Symbols that should not be listed in the preloaded symbols.
15390 exclude_expsyms=$lt_exclude_expsyms
15392 # Symbols that must always be exported.
15393 include_expsyms=$lt_include_expsyms
15395 # Commands necessary for linking programs (against libraries) with templates.
15396 prelink_cmds=$lt_prelink_cmds
15398 # Commands necessary for finishing linking programs.
15399 postlink_cmds=$lt_postlink_cmds
15401 # Specify filename containing input files.
15402 file_list_spec=$lt_file_list_spec
15404 # How to hardcode a shared library path into an executable.
15405 hardcode_action=$hardcode_action
15407 # ### END LIBTOOL CONFIG
15413 cat <<\_LT_EOF >> "$cfgfile"
15414 # AIX sometimes has problems with the GCC collect2 program. For some
15415 # reason, if we set the COLLECT_NAMES environment variable, the problems
15416 # vanish in a puff of smoke.
15417 if test "X${COLLECT_NAMES+set}" != Xset; then
15419 export COLLECT_NAMES
15426 ltmain="$ac_aux_dir/ltmain.sh"
15429 # We use sed instead of cat because bash on DJGPP gets confused if
15430 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15431 # text mode, it properly converts lines to CR/LF. This bash problem
15432 # is reportedly fixed, but why not run on old versions too?
15433 sed '$q' "$ltmain" >> "$cfgfile" \
15434 || (rm -f "$cfgfile"; exit 1)
15436 if test x"$xsi_shell" = xyes; then
15437 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15441 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15442 \ * ) func_dirname_result="${3}" ;;\
15444 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15445 && mv -f "$cfgfile.tmp" "$cfgfile" \
15446 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15447 test 0 -eq $? || _lt_function_replace_fail=:
15450 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15453 \ func_basename_result="${1##*/}"\
15454 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15455 && mv -f "$cfgfile.tmp" "$cfgfile" \
15456 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15457 test 0 -eq $? || _lt_function_replace_fail=:
15460 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15461 func_dirname_and_basename ()\
15464 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15465 \ * ) func_dirname_result="${3}" ;;\
15467 \ func_basename_result="${1##*/}"\
15468 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15469 && mv -f "$cfgfile.tmp" "$cfgfile" \
15470 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15471 test 0 -eq $? || _lt_function_replace_fail=:
15474 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15477 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15478 \ # positional parameters, so assign one to ordinary parameter first.\
15479 \ func_stripname_result=${3}\
15480 \ func_stripname_result=${func_stripname_result#"${1}"}\
15481 \ func_stripname_result=${func_stripname_result%"${2}"}\
15482 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15483 && mv -f "$cfgfile.tmp" "$cfgfile" \
15484 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15485 test 0 -eq $? || _lt_function_replace_fail=:
15488 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15489 func_split_long_opt ()\
15491 \ func_split_long_opt_name=${1%%=*}\
15492 \ func_split_long_opt_arg=${1#*=}\
15493 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15494 && mv -f "$cfgfile.tmp" "$cfgfile" \
15495 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15496 test 0 -eq $? || _lt_function_replace_fail=:
15499 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15500 func_split_short_opt ()\
15502 \ func_split_short_opt_arg=${1#??}\
15503 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15504 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15505 && mv -f "$cfgfile.tmp" "$cfgfile" \
15506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15507 test 0 -eq $? || _lt_function_replace_fail=:
15510 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15514 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15515 \ *) func_lo2o_result=${1} ;;\
15517 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15518 && mv -f "$cfgfile.tmp" "$cfgfile" \
15519 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15520 test 0 -eq $? || _lt_function_replace_fail=:
15523 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15526 func_xform_result=${1%.*}.lo\
15527 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15528 && mv -f "$cfgfile.tmp" "$cfgfile" \
15529 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15530 test 0 -eq $? || _lt_function_replace_fail=:
15533 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15536 func_arith_result=$(( $* ))\
15537 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15538 && mv -f "$cfgfile.tmp" "$cfgfile" \
15539 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15540 test 0 -eq $? || _lt_function_replace_fail=:
15543 sed -e '/^func_len ()$/,/^} # func_len /c\
15546 func_len_result=${#1}\
15547 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15548 && mv -f "$cfgfile.tmp" "$cfgfile" \
15549 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15550 test 0 -eq $? || _lt_function_replace_fail=:
15554 if test x"$lt_shell_append" = xyes; then
15555 sed -e '/^func_append ()$/,/^} # func_append /c\
15558 eval "${1}+=\\${2}"\
15559 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15560 && mv -f "$cfgfile.tmp" "$cfgfile" \
15561 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15562 test 0 -eq $? || _lt_function_replace_fail=:
15565 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15566 func_append_quoted ()\
15568 \ func_quote_for_eval "${2}"\
15569 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15570 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15571 && mv -f "$cfgfile.tmp" "$cfgfile" \
15572 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15573 test 0 -eq $? || _lt_function_replace_fail=:
15576 # Save a `func_append' function call where possible by direct use of '+='
15577 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15578 && mv -f "$cfgfile.tmp" "$cfgfile" \
15579 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15580 test 0 -eq $? || _lt_function_replace_fail=:
15582 # Save a `func_append' function call even when '+=' is not available
15583 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15584 && mv -f "$cfgfile.tmp" "$cfgfile" \
15585 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15586 test 0 -eq $? || _lt_function_replace_fail=:
15589 if test x"$_lt_function_replace_fail" = x":"; then
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15591 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15595 mv -f "$cfgfile" "$ofile" ||
15596 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15607 ac_clean_files=$ac_clean_files_save
15609 test $ac_write_fail = 0 ||
15610 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15613 # configure is writing to config.log, and then calls config.status.
15614 # config.status does its own redirection, appending to config.log.
15615 # Unfortunately, on DOS this fails, as config.log is still kept open
15616 # by configure, so config.status won't be able to write to it; its
15617 # output is simply discarded. So we exec the FD to /dev/null,
15618 # effectively closing config.log, so it can be properly (re)opened and
15619 # appended to by config.status. When coming back to configure, we
15620 # need to make the FD available again.
15621 if test "$no_create" != yes; then
15623 ac_config_status_args=
15624 test "$silent" = yes &&
15625 ac_config_status_args="$ac_config_status_args --quiet"
15627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15630 # would make configure fail if this is the last instruction.
15631 $ac_cs_success || as_fn_exit 1
15633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15635 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15639 $as_echo "-------------------------------------------------
15641 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
15643 Prefix : '${prefix}'
15645 CFLAGS : '${CFLAGS}'
15648 - enable-werror : ${enable_werror}
15649 - enable-debug : ${enable_debug}
15650 - enable-never-quit : ${enable_never_quit}
15651 - with-connector-name : ${with_connector_name}
15652 - disable-optimization: ${disable_optimization}
15653 - with-log-level : ${with_log_level}
15654 - with-log-type : ${with_log_type}
15655 - enable-lib-only : ${enable_lib_only}
15656 - with-ua-prefix : ${with_ua_prefix}
15658 --------------------------------------------------"