2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for dleyna-server 0.0.1.
5 # Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://github.com/01org/dleyna-server/issues/new about
279 $0: your system, including any error possibly output before
280 $0: this message. Then install a modern shell, or manually
281 $0: run the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='dleyna-server'
592 PACKAGE_TARNAME='dleyna-server'
593 PACKAGE_VERSION='0.0.1'
594 PACKAGE_STRING='dleyna-server 0.0.1'
595 PACKAGE_BUGREPORT='https://github.com/01org/dleyna-server/issues/new'
596 PACKAGE_URL='https://01.org/dleyna/'
598 ac_unique_file="libdleyna/server/server.c"
599 ac_default_prefix=/usr/local
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
643 DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE
644 DLEYNA_SERVER_INTERFACE_MANAGER
723 MAINTAINER_MODE_FALSE
733 INSTALL_STRIP_PROGRAM
775 program_transform_name
788 enable_option_checking
789 enable_maintainer_mode
791 enable_dependency_tracking
810 ac_precious_vars='build_alias
842 # Initialize some variables set by options.
844 ac_init_version=false
845 ac_unrecognized_opts=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name=s,x,x,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir='${exec_prefix}/bin'
871 sbindir='${exec_prefix}/sbin'
872 libexecdir='${exec_prefix}/libexec'
873 datarootdir='${prefix}/share'
874 datadir='${datarootdir}'
875 sysconfdir='${prefix}/etc'
876 sharedstatedir='${prefix}/com'
877 localstatedir='${prefix}/var'
878 includedir='${prefix}/include'
879 oldincludedir='/usr/include'
880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir='${datarootdir}/info'
886 libdir='${exec_prefix}/lib'
887 localedir='${datarootdir}/locale'
888 mandir='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\$ac_option
902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir | --bindir | --bindi | --bind | --bin | --bi)
915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918 -build | --build | --buil | --bui | --bu)
919 ac_prev=build_alias ;;
920 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921 build_alias=$ac_optarg ;;
923 -cache-file | --cache-file | --cache-fil | --cache-fi \
924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925 ac_prev=cache_file ;;
926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928 cache_file=$ac_optarg ;;
931 cache_file=config.cache ;;
933 -datadir | --datadir | --datadi | --datad)
935 -datadir=* | --datadir=* | --datadi=* | --datad=*)
936 datadir=$ac_optarg ;;
938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939 | --dataroo | --dataro | --datar)
940 ac_prev=datarootdir ;;
941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943 datarootdir=$ac_optarg ;;
945 -disable-* | --disable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
959 eval enable_$ac_useropt=no ;;
961 -docdir | --docdir | --docdi | --doc | --do)
963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971 -enable-* | --enable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
985 eval enable_$ac_useropt=\$ac_optarg ;;
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016 htmldir=$ac_optarg ;;
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1030 -libdir | --libdir | --libdi | --libd)
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1121 -psdir | --psdir | --psdi | --psd | --ps)
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 sbindir=$ac_optarg ;;
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 sharedstatedir=$ac_optarg ;;
1147 -site | --site | --sit)
1149 -site=* | --site=* | --sit=*)
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1189 eval with_$ac_useropt=\$ac_optarg ;;
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1205 eval with_$ac_useropt=no ;;
1208 # Obsolete; use --with-x.
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303 test "$silent" = yes && exec 6>/dev/null
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1346 ac_srcdir_defaulted=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures dleyna-server 0.0.1 to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/dleyna-server]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive ) echo "Configuration of dleyna-server 0.0.1:";;
1455 --disable-option-checking ignore unrecognized --enable/--with options
1456 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1457 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1458 --enable-maintainer-mode enable make rules and dependencies not useful
1459 (and sometimes confusing) to the casual installer
1460 --enable-silent-rules less verbose build output (undo: `make V=1')
1461 --disable-silent-rules verbose build output (undo: `make V=0')
1462 --disable-dependency-tracking speeds up one-time build
1463 --enable-dependency-tracking do not reject slow dependency extractors
1464 --enable-static[=PKGS] build static libraries [default=no]
1465 --enable-shared[=PKGS] build shared libraries [default=yes]
1466 --enable-fast-install[=PKGS]
1467 optimize for fast installation [default=yes]
1468 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --enable-debug enable compiling with debugging information
1471 --enable-werror warnings are treated as errors
1472 --disable-optimization disable code optimization through compiler
1473 --enable-never-quit Service doesn't quit when last client disconnects
1474 --enable-lib-only compile only the libdleyna-server library
1477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1479 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1481 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1482 --with-sysroot=DIR Search for dependent libraries within DIR
1483 (or the compiler's sysroot if not specified).
1484 --with-connector-name IPC connector name
1485 --with-log-level enable logging information (0,1..6,7,8) 0=disabled
1486 7=default (=1,2,5) 8=all (=1,2,3,4,5,6) 1,..,6=a
1487 comma separated list of log level
1488 --with-log-type Select log output technology 0=syslog 1=GLib
1489 --with-ua-prefix Specify a user agent prefix
1491 Some influential environment variables:
1492 CC C compiler command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1495 nonstandard directory <lib dir>
1496 LIBS libraries to pass to the linker, e.g. -l<library>
1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498 you have headers in a nonstandard directory <include dir>
1500 PKG_CONFIG path to pkg-config utility
1502 directories to add to pkg-config's search path
1504 path overriding pkg-config's built-in search path
1505 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1506 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1507 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1508 GIO_LIBS linker flags for GIO, overriding pkg-config
1510 C compiler flags for GSSDP, overriding pkg-config
1511 GSSDP_LIBS linker flags for GSSDP, overriding pkg-config
1513 C compiler flags for GUPNP, overriding pkg-config
1514 GUPNP_LIBS linker flags for GUPNP, overriding pkg-config
1516 C compiler flags for GUPNPAV, overriding pkg-config
1518 linker flags for GUPNPAV, overriding pkg-config
1520 C compiler flags for GUPNPDLNA, overriding pkg-config
1522 linker flags for GUPNPDLNA, overriding pkg-config
1523 SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1524 SOUP_LIBS linker flags for SOUP, overriding pkg-config
1526 C compiler flags for DLEYNA_CORE, overriding pkg-config
1528 linker flags for DLEYNA_CORE, overriding pkg-config
1529 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1530 DBUS_LIBS linker flags for DBUS, overriding pkg-config
1532 Use these variables to override the choices made by `configure' or to help
1533 it to find libraries and programs with nonstandard names/locations.
1535 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
1536 dleyna-server home page: <https://01.org/dleyna/>.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir=$ac_pwd
1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir=$ac_top_build_prefix
1566 .) # We are building in place.
1568 ac_top_srcdir=$ac_top_builddir_sub
1569 ac_abs_top_srcdir=$ac_pwd ;;
1570 [\\/]* | ?:[\\/]* ) # Absolute name.
1571 ac_srcdir=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir=$srcdir
1573 ac_abs_top_srcdir=$srcdir ;;
1575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" || { ac_status=$?; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" || { ac_status=$?; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 dleyna-server configure 0.0.1
1600 generated by GNU Autoconf 2.69
1602 Copyright (C) 2012 Free Software Foundation, Inc.
1603 This configure script is free software; the Free Software Foundation
1604 gives unlimited permission to copy, distribute and modify it.
1609 ## ------------------------ ##
1610 ## Autoconf initialization. ##
1611 ## ------------------------ ##
1613 # ac_fn_c_try_compile LINENO
1614 # --------------------------
1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_compile ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 rm -f conftest.$ac_objext
1620 if { { ac_try="$ac_compile"
1622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_compile") 2>conftest.err
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest.$ac_objext; then :
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status $ac_retval
1649 } # ac_fn_c_try_compile
1651 # ac_fn_c_try_link LINENO
1652 # -----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext conftest$ac_exeext
1658 if { { ac_try="$ac_link"
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest$ac_exeext && {
1677 test "$cross_compiling" = yes ||
1678 test -x conftest$ac_exeext
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1688 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1689 # interfere with the next link command; also delete a directory that is
1690 # left behind by Apple's compiler. We do this before executing the actions.
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693 as_fn_set_status $ac_retval
1695 } # ac_fn_c_try_link
1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists and can be compiled using the include files in
1700 # INCLUDES, setting the cache variable VAR accordingly.
1701 ac_fn_c_check_header_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1705 $as_echo_n "checking for $2... " >&6; }
1706 if eval \${$3+:} false; then :
1707 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1723 $as_echo "$ac_res" >&6; }
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 } # ac_fn_c_check_header_compile
1728 # ac_fn_c_try_cpp LINENO
1729 # ----------------------
1730 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 if { { ac_try="$ac_cpp conftest.$ac_ext"
1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1743 if test -s conftest.err; then
1744 grep -v '^ *+' conftest.err >conftest.er1
1745 cat conftest.er1 >&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } > conftest.i && {
1750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1751 test ! -s conftest.err
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761 as_fn_set_status $ac_retval
1765 # ac_fn_c_try_run LINENO
1766 # ----------------------
1767 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1768 # that executables *can* be run.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_link"
1774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_link") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1783 { { case "(($ac_try" in
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_try") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; }; }; then :
1795 $as_echo "$as_me: program exited with status $ac_status" >&5
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1799 ac_retval=$ac_status
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status $ac_retval
1807 # ac_fn_c_check_func LINENO FUNC VAR
1808 # ----------------------------------
1809 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1810 ac_fn_c_check_func ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1820 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1822 #define $2 innocuous_$2
1824 /* System header to define __stub macros and hopefully few prototypes,
1825 which can conflict with char $2 (); below.
1826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1827 <limits.h> exists even on freestanding compilers. */
1830 # include <limits.h>
1832 # include <assert.h>
1837 /* Override any GCC internal prototype to avoid an error.
1838 Use char because int might match the return type of a GCC
1839 builtin and then its argument prototype would still apply. */
1844 /* The GNU C library defines this for functions which it implements
1845 to always fail with ENOSYS. Some functions are actually named
1846 something starting with __ and the normal name is an alias. */
1847 #if defined __stub_$2 || defined __stub___$2
1859 if ac_fn_c_try_link "$LINENO"; then :
1864 rm -f core conftest.err conftest.$ac_objext \
1865 conftest$ac_exeext conftest.$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 } # ac_fn_c_check_func
1874 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1875 # -------------------------------------------------------
1876 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1877 # the include files in INCLUDES and setting the cache variable VAR
1879 ac_fn_c_check_header_mongrel ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if eval \${$3+:} false; then :
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886 $as_echo_n "(cached) " >&6
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1892 # Is the header compilable?
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1894 $as_echo_n "checking $2 usability... " >&6; }
1895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1900 if ac_fn_c_try_compile "$LINENO"; then :
1901 ac_header_compiler=yes
1903 ac_header_compiler=no
1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1907 $as_echo "$ac_header_compiler" >&6; }
1909 # Is the header present?
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1911 $as_echo_n "checking $2 presence... " >&6; }
1912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1913 /* end confdefs.h. */
1916 if ac_fn_c_try_cpp "$LINENO"; then :
1917 ac_header_preproc=yes
1919 ac_header_preproc=no
1921 rm -f conftest.err conftest.i conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1923 $as_echo "$ac_header_preproc" >&6; }
1925 # So? What about this header?
1926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1929 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1931 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1935 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1937 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1939 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1941 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1943 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1944 ( $as_echo "## ---------------------------------------------------------------- ##
1945 ## Report this to https://github.com/01org/dleyna-server/issues/new ##
1946 ## ---------------------------------------------------------------- ##"
1947 ) | sed "s/^/$as_me: WARNING: /" >&2
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if eval \${$3+:} false; then :
1953 $as_echo_n "(cached) " >&6
1955 eval "$3=\$ac_header_compiler"
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963 } # ac_fn_c_check_header_mongrel
1965 # ac_fn_c_find_uintX_t LINENO BITS VAR
1966 # ------------------------------------
1967 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1969 ac_fn_c_find_uintX_t ()
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1973 $as_echo_n "checking for uint$2_t... " >&6; }
1974 if eval \${$3+:} false; then :
1975 $as_echo_n "(cached) " >&6
1978 # Order is important - never check a type that is potentially smaller
1979 # than half of the expected target width.
1980 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1981 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h. */
1984 $ac_includes_default
1988 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1990 return test_array [0];
1996 if ac_fn_c_try_compile "$LINENO"; then :
2001 eval "$3=\$ac_type" ;;
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005 if eval test \"x\$"$3"\" = x"no"; then :
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 $as_echo "$ac_res" >&6; }
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2017 } # ac_fn_c_find_uintX_t
2019 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2020 # -------------------------------------------
2021 # Tests whether TYPE exists after having included INCLUDES, setting cache
2022 # variable VAR accordingly.
2023 ac_fn_c_check_type ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if eval \${$3+:} false; then :
2029 $as_echo_n "(cached) " >&6
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2057 if ac_fn_c_try_compile "$LINENO"; then :
2062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071 } # ac_fn_c_check_type
2072 cat >config.log <<_ACEOF
2073 This file contains any messages produced by compilers while
2074 running configure, to aid debugging if configure makes a mistake.
2076 It was created by dleyna-server $as_me 0.0.1, which was
2077 generated by GNU Autoconf 2.69. Invocation command line was
2089 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2090 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2091 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2092 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2093 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2095 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2096 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2098 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2099 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2100 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2101 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2102 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2103 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2104 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir=.
2113 $as_echo "PATH: $as_dir"
2129 # Keep a trace of the command line.
2130 # Strip out --no-create and --no-recursion so they do not pile up.
2131 # Strip out --silent because we don't want to record it for future runs.
2132 # Also quote any args containing shell meta-characters.
2133 # Make two passes to allow for proper duplicate-argument suppression.
2137 ac_must_keep_next=false
2143 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2144 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2145 | -silent | --silent | --silen | --sile | --sil)
2148 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2151 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2153 as_fn_append ac_configure_args1 " '$ac_arg'"
2154 if test $ac_must_keep_next = true; then
2155 ac_must_keep_next=false # Got value, back to normal.
2158 *=* | --config-cache | -C | -disable-* | --disable-* \
2159 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2160 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2161 | -with-* | --with-* | -without-* | --without-* | --x)
2162 case "$ac_configure_args0 " in
2163 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2166 -* ) ac_must_keep_next=true ;;
2169 as_fn_append ac_configure_args " '$ac_arg'"
2174 { ac_configure_args0=; unset ac_configure_args0;}
2175 { ac_configure_args1=; unset ac_configure_args1;}
2177 # When interrupted or exit'd, cleanup temporary files, and complete
2178 # config.log. We remove comments because anyway the quotes in there
2179 # would cause problems or look ugly.
2180 # WARNING: Use '\'' to represent an apostrophe within the trap.
2181 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2182 trap 'exit_status=$?
2183 # Save into config.log some information that might help in debugging.
2187 $as_echo "## ---------------- ##
2188 ## Cache variables. ##
2189 ## ---------------- ##"
2191 # The following way of writing the cache mishandles newlines in values,
2193 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2194 eval ac_val=\$$ac_var
2198 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2199 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2202 _ | IFS | as_nl) ;; #(
2203 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2204 *) { eval $ac_var=; unset $ac_var;} ;;
2209 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2210 *${as_nl}ac_space=\ *)
2212 "s/'\''/'\''\\\\'\'''\''/g;
2213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2216 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2223 $as_echo "## ----------------- ##
2224 ## Output variables. ##
2225 ## ----------------- ##"
2227 for ac_var in $ac_subst_vars
2229 eval ac_val=\$$ac_var
2231 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2233 $as_echo "$ac_var='\''$ac_val'\''"
2237 if test -n "$ac_subst_files"; then
2238 $as_echo "## ------------------- ##
2239 ## File substitutions. ##
2240 ## ------------------- ##"
2242 for ac_var in $ac_subst_files
2244 eval ac_val=\$$ac_var
2246 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2248 $as_echo "$ac_var='\''$ac_val'\''"
2253 if test -s confdefs.h; then
2254 $as_echo "## ----------- ##
2261 test "$ac_signal" != 0 &&
2262 $as_echo "$as_me: caught signal $ac_signal"
2263 $as_echo "$as_me: exit $exit_status"
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2269 for ac_signal in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest* confdefs.h
2277 $as_echo "/* confdefs.h */" > confdefs.h
2279 # Predefined preprocessor variables.
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_NAME "$PACKAGE_NAME"
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2301 cat >>confdefs.h <<_ACEOF
2302 #define PACKAGE_URL "$PACKAGE_URL"
2306 # Let the site file select an alternate cache file if it wants to.
2307 # Prefer an explicitly selected file to automatically selected ones.
2310 if test -n "$CONFIG_SITE"; then
2311 # We do not want a PATH search for config.site.
2312 case $CONFIG_SITE in #((
2313 -*) ac_site_file1=./$CONFIG_SITE;;
2314 */*) ac_site_file1=$CONFIG_SITE;;
2315 *) ac_site_file1=./$CONFIG_SITE;;
2317 elif test "x$prefix" != xNONE; then
2318 ac_site_file1=$prefix/share/config.site
2319 ac_site_file2=$prefix/etc/config.site
2321 ac_site_file1=$ac_default_prefix/share/config.site
2322 ac_site_file2=$ac_default_prefix/etc/config.site
2324 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2326 test "x$ac_site_file" = xNONE && continue
2327 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2329 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2330 sed 's/^/| /' "$ac_site_file" >&5
2332 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2334 as_fn_error $? "failed to load site script $ac_site_file
2335 See \`config.log' for more details" "$LINENO" 5; }
2339 if test -r "$cache_file"; then
2340 # Some versions of bash will fail to source /dev/null (special files
2341 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2342 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2344 $as_echo "$as_me: loading cache $cache_file" >&6;}
2346 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2347 *) . "./$cache_file";;
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2352 $as_echo "$as_me: creating cache $cache_file" >&6;}
2356 # Check that the precious variables saved in the cache have kept the same
2358 ac_cache_corrupted=false
2359 for ac_var in $ac_precious_vars; do
2360 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2361 eval ac_new_set=\$ac_env_${ac_var}_set
2362 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2363 eval ac_new_val=\$ac_env_${ac_var}_value
2364 case $ac_old_set,$ac_new_set in
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2367 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2368 ac_cache_corrupted=: ;;
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2371 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2372 ac_cache_corrupted=: ;;
2375 if test "x$ac_old_val" != "x$ac_new_val"; then
2376 # differences in whitespace do not lead to failure.
2377 ac_old_val_w=`echo x $ac_old_val`
2378 ac_new_val_w=`echo x $ac_new_val`
2379 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2381 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2382 ac_cache_corrupted=:
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2385 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2386 eval $ac_var=\$ac_old_val
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2389 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2391 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2394 # Pass precious variables to config.status.
2395 if test "$ac_new_set" = set; then
2397 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2398 *) ac_arg=$ac_var=$ac_new_val ;;
2400 case " $ac_configure_args " in
2401 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2402 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2406 if $ac_cache_corrupted; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2410 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2413 ## -------------------- ##
2414 ## Main body of script. ##
2415 ## -------------------- ##
2418 ac_cpp='$CPP $CPPFLAGS'
2419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2425 ac_config_headers="$ac_config_headers config.h"
2428 for ac_dir in build-aux "$srcdir"/build-aux; do
2429 if test -f "$ac_dir/install-sh"; then
2431 ac_install_sh="$ac_aux_dir/install-sh -c"
2433 elif test -f "$ac_dir/install.sh"; then
2435 ac_install_sh="$ac_aux_dir/install.sh -c"
2437 elif test -f "$ac_dir/shtool"; then
2439 ac_install_sh="$ac_aux_dir/shtool install -c"
2443 if test -z "$ac_aux_dir"; then
2444 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2461 am__api_version='1.11'
2463 # Find a good install program. We prefer a C program (faster),
2464 # so one script is as good as another. But avoid the broken or
2465 # incompatible versions:
2466 # SysV /etc/install, /usr/sbin/install
2467 # SunOS /usr/etc/install
2468 # IRIX /sbin/install
2470 # AmigaOS /C/install, which installs bootblocks on floppy discs
2471 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2472 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2473 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2474 # OS/2's system install, which has a completely different semantic
2475 # ./install, which can be erroneously created by make from ./install.sh.
2476 # Reject install programs that cannot install multiple files.
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2478 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2479 if test -z "$INSTALL"; then
2480 if ${ac_cv_path_install+:} false; then :
2481 $as_echo_n "(cached) " >&6
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir=.
2488 # Account for people who put trailing slashes in PATH elements.
2489 case $as_dir/ in #((
2490 ./ | .// | /[cC]/* | \
2491 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2492 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2495 # OSF1 and SCO ODT 3.0 have their own names for install.
2496 # Don't use installbsd from OSF since it installs stuff as root
2498 for ac_prog in ginstall scoinst install; do
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2501 if test $ac_prog = install &&
2502 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2503 # AIX install. It has an incompatible calling convention.
2505 elif test $ac_prog = install &&
2506 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2507 # program-specific install script used by HP pwplus--don't use.
2510 rm -rf conftest.one conftest.two conftest.dir
2511 echo one > conftest.one
2512 echo two > conftest.two
2514 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2515 test -s conftest.one && test -s conftest.two &&
2516 test -s conftest.dir/conftest.one &&
2517 test -s conftest.dir/conftest.two
2519 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2532 rm -rf conftest.one conftest.two conftest.dir
2535 if test "${ac_cv_path_install+set}" = set; then
2536 INSTALL=$ac_cv_path_install
2538 # As a last resort, use the slow shell script. Don't cache a
2539 # value for INSTALL within a source directory, because that will
2540 # break other packages using the cache if that directory is
2541 # removed, or if the value is a relative name.
2542 INSTALL=$ac_install_sh
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2546 $as_echo "$INSTALL" >&6; }
2548 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2549 # It thinks the first close brace ends the variable substitution.
2550 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2552 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2554 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2557 $as_echo_n "checking whether build environment is sane... " >&6; }
2560 echo timestamp > conftest.file
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
2580 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2581 if test "$*" = "X"; then
2583 set X `ls -t "$srcdir/configure" conftest.file`
2586 if test "$*" != "X $srcdir/configure conftest.file" \
2587 && test "$*" != "X conftest.file $srcdir/configure"; then
2589 # If neither matched, then we have a broken ls. This can happen
2590 # if, for instance, CONFIG_SHELL is bash and it inherits a
2591 # broken ls alias from the environment. This has actually
2592 # happened. Such a system could not be considered "sane".
2593 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" "$LINENO" 5
2597 test "$2" = conftest.file
2603 as_fn_error $? "newly created file is older than distributed files!
2604 Check your system clock" "$LINENO" 5
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2607 $as_echo "yes" >&6; }
2608 test "$program_prefix" != NONE &&
2609 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2610 # Use a double $ so make ignores it.
2611 test "$program_suffix" != NONE &&
2612 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2613 # Double any \ or $.
2614 # By default was `s,x,x', remove it if useless.
2615 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2616 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2618 # expand $ac_aux_dir to an absolute path
2619 am_aux_dir=`cd $ac_aux_dir && pwd`
2621 if test x"${MISSING+set}" != xset; then
2624 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2626 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --run true"; then
2631 am_missing_run="$MISSING --run "
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2635 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2638 if test x"${install_sh}" != xset; then
2641 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2643 install_sh="\${SHELL} $am_aux_dir/install-sh"
2647 # Installed binaries are usually stripped using `strip' when the user
2648 # run `make install-strip'. However `strip' might not be the right
2649 # tool to use in cross-compilation environments, therefore Automake
2650 # will honor the `STRIP' environment variable to overrule this program.
2651 if test "$cross_compiling" != no; then
2652 if test -n "$ac_tool_prefix"; then
2653 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2654 set dummy ${ac_tool_prefix}strip; ac_word=$2
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if ${ac_cv_prog_STRIP+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 if test -n "$STRIP"; then
2661 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 STRIP=$ac_cv_prog_STRIP
2681 if test -n "$STRIP"; then
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2683 $as_echo "$STRIP" >&6; }
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686 $as_echo "no" >&6; }
2691 if test -z "$ac_cv_prog_STRIP"; then
2693 # Extract the first word of "strip", so it can be a program name with args.
2694 set dummy strip; ac_word=$2
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2696 $as_echo_n "checking for $ac_word... " >&6; }
2697 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 if test -n "$ac_ct_STRIP"; then
2701 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 for ac_exec_ext in '' $ac_executable_extensions; do
2709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 ac_cv_prog_ac_ct_STRIP="strip"
2711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2721 if test -n "$ac_ct_STRIP"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2723 $as_echo "$ac_ct_STRIP" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2729 if test "x$ac_ct_STRIP" = x; then
2732 case $cross_compiling:$ac_tool_warned in
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736 ac_tool_warned=yes ;;
2741 STRIP="$ac_cv_prog_STRIP"
2745 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2748 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2749 if test -z "$MKDIR_P"; then
2750 if ${ac_cv_path_mkdir+:} false; then :
2751 $as_echo_n "(cached) " >&6
2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2754 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2757 test -z "$as_dir" && as_dir=.
2758 for ac_prog in mkdir gmkdir; do
2759 for ac_exec_ext in '' $ac_executable_extensions; do
2760 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2761 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2762 'mkdir (GNU coreutils) '* | \
2763 'mkdir (coreutils) '* | \
2764 'mkdir (fileutils) '4.1*)
2765 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2775 test -d ./--version && rmdir ./--version
2776 if test "${ac_cv_path_mkdir+set}" = set; then
2777 MKDIR_P="$ac_cv_path_mkdir -p"
2779 # As a last resort, use the slow shell script. Don't cache a
2780 # value for MKDIR_P within a source directory, because that will
2781 # break other packages using the cache if that directory is
2782 # removed, or if the value is a relative name.
2783 MKDIR_P="$ac_install_sh -d"
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2787 $as_echo "$MKDIR_P" >&6; }
2791 [\\/$]* | ?:[\\/]*) ;;
2792 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2795 for ac_prog in gawk mawk nawk awk
2797 # Extract the first word of "$ac_prog", so it can be a program name with args.
2798 set dummy $ac_prog; ac_word=$2
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800 $as_echo_n "checking for $ac_word... " >&6; }
2801 if ${ac_cv_prog_AWK+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 if test -n "$AWK"; then
2805 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir=.
2812 for ac_exec_ext in '' $ac_executable_extensions; do
2813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2814 ac_cv_prog_AWK="$ac_prog"
2815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 if test -n "$AWK"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2827 $as_echo "$AWK" >&6; }
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830 $as_echo "no" >&6; }
2834 test -n "$AWK" && break
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2838 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2840 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2841 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2842 $as_echo_n "(cached) " >&6
2844 cat >conftest.make <<\_ACEOF
2847 @echo '@@@%%%=$(MAKE)=@@@%%%'
2849 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2850 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2852 eval ac_cv_prog_make_${ac_make}_set=yes;;
2854 eval ac_cv_prog_make_${ac_make}_set=no;;
2858 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2860 $as_echo "yes" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2865 SET_MAKE="MAKE=${MAKE-make}"
2868 rm -rf .tst 2>/dev/null
2869 mkdir .tst 2>/dev/null
2870 if test -d .tst; then
2875 rmdir .tst 2>/dev/null
2877 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2878 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2879 # is not polluted with repeated "-I."
2880 am__isrc=' -I$(srcdir)'
2881 # test to see if srcdir already configured
2882 if test -f $srcdir/config.status; then
2883 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2887 # test whether we have cygpath
2888 if test -z "$CYGPATH_W"; then
2889 if (cygpath --version) >/dev/null 2>/dev/null; then
2890 CYGPATH_W='cygpath -w'
2897 # Define the identity of the package.
2898 PACKAGE='dleyna-server'
2902 cat >>confdefs.h <<_ACEOF
2903 #define PACKAGE "$PACKAGE"
2907 cat >>confdefs.h <<_ACEOF
2908 #define VERSION "$VERSION"
2911 # Some tools Automake needs.
2913 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2916 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2919 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2922 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2925 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2927 # We need awk for the "check" target. The system "awk" is bad on
2929 # Always define AMTAR for backward compatibility. Yes, it's still used
2930 # in the wild :-( We should find a proper way to deprecate it ...
2933 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2942 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2943 # Check whether --enable-maintainer-mode was given.
2944 if test "${enable_maintainer_mode+set}" = set; then :
2945 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2947 USE_MAINTAINER_MODE=no
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2951 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2952 if test $USE_MAINTAINER_MODE = yes; then
2953 MAINTAINER_MODE_TRUE=
2954 MAINTAINER_MODE_FALSE='#'
2956 MAINTAINER_MODE_TRUE='#'
2957 MAINTAINER_MODE_FALSE=
2960 MAINT=$MAINTAINER_MODE_TRUE
2963 # Check whether --enable-silent-rules was given.
2964 if test "${enable_silent_rules+set}" = set; then :
2965 enableval=$enable_silent_rules;
2968 case $enable_silent_rules in
2969 yes) AM_DEFAULT_VERBOSITY=0;;
2970 no) AM_DEFAULT_VERBOSITY=1;;
2971 *) AM_DEFAULT_VERBOSITY=0;;
2973 am_make=${MAKE-make}
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2975 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2976 if ${am_cv_make_support_nested_variables+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 if $as_echo 'TRUE=$(BAR$(V))
2985 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2986 am_cv_make_support_nested_variables=yes
2988 am_cv_make_support_nested_variables=no
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2992 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2993 if test $am_cv_make_support_nested_variables = yes; then
2995 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2997 AM_V=$AM_DEFAULT_VERBOSITY
2998 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3004 if (test x"${CFLAGS}" = x""); then
3007 CFLAGS+=" -D_FORTIFY_SOURCE=2"
3010 if (test x"$USE_MAINTAINER_MODE" = x"yes"); then
3012 CFLAGS+=" -Wno-unused-parameter"
3013 CFLAGS+=" -Wno-missing-field-initializers"
3014 CFLAGS+=" -Wdeclaration-after-statement"
3015 CFLAGS+=" -Wmissing-declarations"
3016 CFLAGS+=" -Wredundant-decls"
3017 CFLAGS+=" -Wcast-align"
3019 CFLAGS+=" -Wstrict-prototypes"
3020 CFLAGS+=" -Wmissing-prototypes"
3021 CFLAGS+=" -Wnested-externs"
3023 CFLAGS+=" -Wformat=2"
3024 CFLAGS+=" -Winit-self"
3026 CFLAGS+=" -std=gnu99"
3027 CFLAGS+=" -pedantic"
3028 CFLAGS+=" -Wno-overlength-strings"
3030 CFLAGS+=" -DG_DISABLE_DEPRECATED"
3031 CFLAGS+=" -DGLIB_DISABLE_DEPRECATION_WARNINGS"
3034 CFLAGS+=" -Wno-format-extra-args"
3037 # Checks for languages.
3039 ac_cpp='$CPP $CPPFLAGS'
3040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3045 # Checks for programs.
3047 ac_cpp='$CPP $CPPFLAGS'
3048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3051 if test -n "$ac_tool_prefix"; then
3052 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3053 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_CC+:} false; then :
3057 $as_echo_n "(cached) " >&6
3059 if test -n "$CC"; then
3060 ac_cv_prog_CC="$CC" # Let the user override the test.
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3069 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 if test -n "$CC"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3082 $as_echo "$CC" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3090 if test -z "$ac_cv_prog_CC"; then
3092 # Extract the first word of "gcc", so it can be a program name with args.
3093 set dummy gcc; ac_word=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$ac_ct_CC"; then
3100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir=.
3107 for ac_exec_ext in '' $ac_executable_extensions; do
3108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109 ac_cv_prog_ac_ct_CC="gcc"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3120 if test -n "$ac_ct_CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3122 $as_echo "$ac_ct_CC" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3128 if test "x$ac_ct_CC" = x; then
3131 case $cross_compiling:$ac_tool_warned in
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3135 ac_tool_warned=yes ;;
3143 if test -z "$CC"; then
3144 if test -n "$ac_tool_prefix"; then
3145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3146 set dummy ${ac_tool_prefix}cc; ac_word=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_CC+:} false; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC="$CC" # Let the user override the test.
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir=.
3160 for ac_exec_ext in '' $ac_executable_extensions; do
3161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3162 ac_cv_prog_CC="${ac_tool_prefix}cc"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3184 if test -z "$CC"; then
3185 # Extract the first word of "cc", so it can be a program name with args.
3186 set dummy cc; ac_word=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if ${ac_cv_prog_CC+:} false; then :
3190 $as_echo_n "(cached) " >&6
3192 if test -n "$CC"; then
3193 ac_cv_prog_CC="$CC" # Let the user override the test.
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir=.
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3204 ac_prog_rejected=yes
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 if test $ac_prog_rejected = yes; then
3216 # We found a bogon in the path, so make sure we never use it.
3217 set dummy $ac_cv_prog_CC
3219 if test $# != 0; then
3220 # We chose a different compiler from the bogus one.
3221 # However, it has the same basename, so the bogon will be chosen
3222 # first if we set CC to just the basename; use the full file name.
3224 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3230 if test -n "$CC"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3232 $as_echo "$CC" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3240 if test -z "$CC"; then
3241 if test -n "$ac_tool_prefix"; then
3242 for ac_prog in cl.exe
3244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if ${ac_cv_prog_CC+:} false; then :
3249 $as_echo_n "(cached) " >&6
3251 if test -n "$CC"; then
3252 ac_cv_prog_CC="$CC" # Let the user override the test.
3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir=.
3259 for ac_exec_ext in '' $ac_executable_extensions; do
3260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3261 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 if test -n "$CC"; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274 $as_echo "$CC" >&6; }
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277 $as_echo "no" >&6; }
3281 test -n "$CC" && break
3284 if test -z "$CC"; then
3286 for ac_prog in cl.exe
3288 # Extract the first word of "$ac_prog", so it can be a program name with args.
3289 set dummy $ac_prog; 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_ac_ct_CC+:} false; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$ac_ct_CC"; then
3296 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305 ac_cv_prog_ac_ct_CC="$ac_prog"
3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3316 if test -n "$ac_ct_CC"; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3318 $as_echo "$ac_ct_CC" >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3325 test -n "$ac_ct_CC" && break
3328 if test "x$ac_ct_CC" = x; then
3331 case $cross_compiling:$ac_tool_warned in
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3344 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $? "no acceptable C compiler found in \$PATH
3347 See \`config.log' for more details" "$LINENO" 5; }
3349 # Provide some information about the compiler.
3350 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3353 for ac_option in --version -v -V -qversion; do
3354 { { ac_try="$ac_compiler $ac_option >&5"
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3363 if test -s conftest.err; then
3365 ... rest of stderr output deleted ...
3366 10q' conftest.err >conftest.er1
3367 cat conftest.er1 >&5
3369 rm -f conftest.er1 conftest.err
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371 test $ac_status = 0; }
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3385 ac_clean_files_save=$ac_clean_files
3386 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3387 # Try to create an executable without -o first, disregard a.out.
3388 # It will help us diagnose broken compilers, and finding out an intuition
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3391 $as_echo_n "checking whether the C compiler works... " >&6; }
3392 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3394 # The possible output files:
3395 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3398 for ac_file in $ac_files
3401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3402 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3407 if { { ac_try="$ac_link_default"
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_link_default") 2>&5
3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417 test $ac_status = 0; }; then :
3418 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3419 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3420 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3421 # so that the user can short-circuit this test for compilers unknown to
3423 for ac_file in $ac_files ''
3425 test -f "$ac_file" || continue
3427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3430 # We found the default executable, but exeext='' is most
3434 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3436 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438 # We set ac_cv_exeext here because the later test for it is not
3439 # safe: cross compilers may not add the suffix if given an `-o'
3440 # argument, so we may need to know it at that point already.
3441 # Even if this section looks crufty: it has the advantage of
3448 test "$ac_cv_exeext" = no && ac_cv_exeext=
3453 if test -z "$ac_file"; then :
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3456 $as_echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461 as_fn_error 77 "C compiler cannot create executables
3462 See \`config.log' for more details" "$LINENO" 5; }
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3465 $as_echo "yes" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3468 $as_echo_n "checking for C compiler default output file name... " >&6; }
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3470 $as_echo "$ac_file" >&6; }
3471 ac_exeext=$ac_cv_exeext
3473 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3474 ac_clean_files=$ac_clean_files_save
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3476 $as_echo_n "checking for suffix of executables... " >&6; }
3477 if { { ac_try="$ac_link"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_link") 2>&5
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; then :
3488 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3489 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3490 # work properly (i.e., refer to `conftest.exe'), while it won't with
3492 for ac_file in conftest.exe conftest conftest.*; do
3493 test -f "$ac_file" || continue
3495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3496 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3504 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3505 See \`config.log' for more details" "$LINENO" 5; }
3507 rm -f conftest conftest$ac_cv_exeext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3509 $as_echo "$ac_cv_exeext" >&6; }
3511 rm -f conftest.$ac_ext
3512 EXEEXT=$ac_cv_exeext
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3520 FILE *f = fopen ("conftest.out", "w");
3521 return ferror (f) || fclose (f) != 0;
3527 ac_clean_files="$ac_clean_files conftest.out"
3528 # Check that the compiler produces executables we can run. If not, either
3529 # the compiler is broken, or we cross compile.
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3531 $as_echo_n "checking whether we are cross compiling... " >&6; }
3532 if test "$cross_compiling" != yes; then
3533 { { ac_try="$ac_link"
3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_link") 2>&5
3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543 test $ac_status = 0; }
3544 if { ac_try='./conftest$ac_cv_exeext'
3545 { { case "(($ac_try" in
3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547 *) ac_try_echo=$ac_try;;
3549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3550 $as_echo "$ac_try_echo"; } >&5
3551 (eval "$ac_try") 2>&5
3553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3554 test $ac_status = 0; }; }; then
3557 if test "$cross_compiling" = maybe; then
3560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562 as_fn_error $? "cannot run C compiled programs.
3563 If you meant to cross compile, use \`--host'.
3564 See \`config.log' for more details" "$LINENO" 5; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3569 $as_echo "$cross_compiling" >&6; }
3571 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3572 ac_clean_files=$ac_clean_files_save
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3574 $as_echo_n "checking for suffix of object files... " >&6; }
3575 if ${ac_cv_objext+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3589 rm -f conftest.o conftest.obj
3590 if { { ac_try="$ac_compile"
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3596 $as_echo "$ac_try_echo"; } >&5
3597 (eval "$ac_compile") 2>&5
3599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3600 test $ac_status = 0; }; then :
3601 for ac_file in conftest.o conftest.obj conftest.*; do
3602 test -f "$ac_file" || continue;
3604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3605 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3610 $as_echo "$as_me: failed program was:" >&5
3611 sed 's/^/| /' conftest.$ac_ext >&5
3613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615 as_fn_error $? "cannot compute suffix of object files: cannot compile
3616 See \`config.log' for more details" "$LINENO" 5; }
3618 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3621 $as_echo "$ac_cv_objext" >&6; }
3622 OBJEXT=$ac_cv_objext
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3625 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3626 if ${ac_cv_c_compiler_gnu+:} false; then :
3627 $as_echo_n "(cached) " >&6
3629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h. */
3643 if ac_fn_c_try_compile "$LINENO"; then :
3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3653 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3654 if test $ac_compiler_gnu = yes; then
3659 ac_test_CFLAGS=${CFLAGS+set}
3660 ac_save_CFLAGS=$CFLAGS
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3662 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3663 if ${ac_cv_prog_cc_g+:} false; then :
3664 $as_echo_n "(cached) " >&6
3666 ac_save_c_werror_flag=$ac_c_werror_flag
3667 ac_c_werror_flag=yes
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3681 if ac_fn_c_try_compile "$LINENO"; then :
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3696 if ac_fn_c_try_compile "$LINENO"; then :
3699 ac_c_werror_flag=$ac_save_c_werror_flag
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3712 if ac_fn_c_try_compile "$LINENO"; then :
3715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720 ac_c_werror_flag=$ac_save_c_werror_flag
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3723 $as_echo "$ac_cv_prog_cc_g" >&6; }
3724 if test "$ac_test_CFLAGS" = set; then
3725 CFLAGS=$ac_save_CFLAGS
3726 elif test $ac_cv_prog_cc_g = yes; then
3727 if test "$GCC" = yes; then
3733 if test "$GCC" = yes; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3740 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3741 if ${ac_cv_prog_cc_c89+:} false; then :
3742 $as_echo_n "(cached) " >&6
3744 ac_cv_prog_cc_c89=no
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3751 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3752 struct buf { int x; };
3753 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3754 static char *e (p, i)
3760 static char *f (char * (*g) (char **, int), char **p, ...)
3765 s = g (p, va_arg (v,int));
3770 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3771 function prototypes and stuff, but not '\xHH' hex character constants.
3772 These don't provoke an error unfortunately, instead are silently treated
3773 as 'x'. The following induces an error, until -std is added to get
3774 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3775 array size at least. It's necessary to write '\x00'==0 to get something
3776 that's true only with -std. */
3777 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3779 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3780 inside strings and character constants. */
3782 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3784 int test (int i, double x);
3785 struct s1 {int (*f) (int a);};
3786 struct s2 {int (*f) (double a);};
3787 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3793 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3798 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3799 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3801 CC="$ac_save_CC $ac_arg"
3802 if ac_fn_c_try_compile "$LINENO"; then :
3803 ac_cv_prog_cc_c89=$ac_arg
3805 rm -f core conftest.err conftest.$ac_objext
3806 test "x$ac_cv_prog_cc_c89" != "xno" && break
3808 rm -f conftest.$ac_ext
3813 case "x$ac_cv_prog_cc_c89" in
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3816 $as_echo "none needed" >&6; } ;;
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3819 $as_echo "unsupported" >&6; } ;;
3821 CC="$CC $ac_cv_prog_cc_c89"
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3823 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3825 if test "x$ac_cv_prog_cc_c89" != xno; then :
3830 ac_cpp='$CPP $CPPFLAGS'
3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3834 DEPDIR="${am__leading_dot}deps"
3836 ac_config_commands="$ac_config_commands depfiles"
3839 am_make=${MAKE-make}
3840 cat > confinc << 'END'
3842 @echo this is the am__doit target
3845 # If we don't find an include directive, just comment out the code.
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3847 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3851 # First try GNU make style include.
3852 echo "include confinc" > confmf
3853 # Ignore all kinds of additional output from `make'.
3854 case `$am_make -s -f confmf 2> /dev/null` in #(
3855 *the\ am__doit\ target*)
3861 # Now try BSD make style include.
3862 if test "$am__include" = "#"; then
3863 echo '.include "confinc"' > confmf
3864 case `$am_make -s -f confmf 2> /dev/null` in #(
3865 *the\ am__doit\ target*)
3866 am__include=.include
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3875 $as_echo "$_am_result" >&6; }
3876 rm -f confinc confmf
3878 # Check whether --enable-dependency-tracking was given.
3879 if test "${enable_dependency_tracking+set}" = set; then :
3880 enableval=$enable_dependency_tracking;
3883 if test "x$enable_dependency_tracking" != xno; then
3884 am_depcomp="$ac_aux_dir/depcomp"
3888 if test "x$enable_dependency_tracking" != xno; then
3898 depcc="$CC" am_compiler_list=
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3901 $as_echo_n "checking dependency style of $depcc... " >&6; }
3902 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3903 $as_echo_n "(cached) " >&6
3905 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3906 # We make a subdir and do the tests there. Otherwise we can end up
3907 # making bogus files that we don't know about and never remove. For
3908 # instance it was reported that on HP-UX the gcc test will end up
3909 # making a dummy file named `D' -- because `-MD' means `put the output
3913 # Copy depcomp to subdir because otherwise we won't find it if we're
3914 # using a relative directory.
3915 cp "$am_depcomp" conftest.dir
3917 # We will build objects and dependencies in a subdirectory because
3918 # it helps to detect inapplicable dependency modes. For instance
3919 # both Tru64's cc and ICC support -MD to output dependencies as a
3920 # side effect of compilation, but ICC will put the dependencies in
3921 # the current directory while Tru64 will put them in the object
3925 am_cv_CC_dependencies_compiler_type=none
3926 if test "$am_compiler_list" = ""; then
3927 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3930 case " $depcc " in #(
3931 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3934 for depmode in $am_compiler_list; do
3935 # Setup a source with many dependencies, because some compilers
3936 # like to wrap large dependency lists on column 80 (with \), and
3937 # we should not choose a depcomp mode which is confused by this.
3939 # We need to recreate these files for each test, as the compiler may
3940 # overwrite some of them when testing with obscure command lines.
3941 # This happens at least with the AIX C compiler.
3943 for i in 1 2 3 4 5 6; do
3944 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3945 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3946 # Solaris 8's {/usr,}/bin/sh.
3947 touch sub/conftst$i.h
3949 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3951 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3952 # mode. It turns out that the SunPro C++ compiler does not properly
3953 # handle `-M -o', and we need to detect this. Also, some Intel
3954 # versions had trouble with output in subdirs
3955 am__obj=sub/conftest.${OBJEXT-o}
3956 am__minus_obj="-o $am__obj"
3959 # This depmode causes a compiler race in universal mode.
3960 test "$am__universal" = false || continue
3963 # after this tag, mechanisms are not by side-effect, so they'll
3964 # only be used when explicitly requested
3965 if test "x$enable_dependency_tracking" = xyes; then
3971 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3972 # This compiler won't grok `-c -o', but also, the minuso test has
3973 # not run yet. These depmodes are late enough in the game, and
3974 # so weak that their functioning should not be impacted.
3975 am__obj=conftest.${OBJEXT-o}
3980 if depmode=$depmode \
3981 source=sub/conftest.c object=$am__obj \
3982 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3983 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3984 >/dev/null 2>conftest.err &&
3985 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3986 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3987 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3988 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3989 # icc doesn't choke on unknown options, it will just issue warnings
3990 # or remarks (even with -Werror). So we grep stderr for any message
3991 # that says an option was ignored or not supported.
3992 # When given -MP, icc 7.0 and 7.1 complain thusly:
3993 # icc: Command line warning: ignoring option '-M'; no argument required
3994 # The diagnosis changed in icc 8.0:
3995 # icc: Command line remark: option '-MP' not supported
3996 if (grep 'ignoring option' conftest.err ||
3997 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3998 am_cv_CC_dependencies_compiler_type=$depmode
4007 am_cv_CC_dependencies_compiler_type=none
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4012 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4013 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4016 test "x$enable_dependency_tracking" != xno \
4017 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4019 am__fastdepCC_FALSE='#'
4021 am__fastdepCC_TRUE='#'
4022 am__fastdepCC_FALSE=
4026 if test "x$CC" != xcc; then
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4028 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4031 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4033 set dummy $CC; ac_cc=`$as_echo "$2" |
4034 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4035 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4036 $as_echo_n "(cached) " >&6
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4049 # Make sure it works both with $CC and with simple cc.
4050 # We do the test twice because some compilers refuse to overwrite an
4051 # existing .o file with -o, though they will create one.
4052 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4054 if { { case "(($ac_try" in
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_try") 2>&5
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; } &&
4064 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070 (eval "$ac_try") 2>&5
4072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073 test $ac_status = 0; };
4075 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4076 if test "x$CC" != xcc; then
4077 # Test first that cc exists at all.
4078 if { ac_try='cc -c conftest.$ac_ext >&5'
4079 { { case "(($ac_try" in
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_try") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; }; then
4089 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4091 if { { case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_try") 2>&5
4099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4100 test $ac_status = 0; } &&
4101 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_try") 2>&5
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; };
4115 # cc exists but doesn't like -o.
4116 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4121 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4123 rm -f core conftest*
4126 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4128 $as_echo "yes" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4131 $as_echo "no" >&6; }
4133 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4137 # FIXME: we rely on the cache variable name because
4138 # there is no other way.
4140 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4141 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4142 if test "$am_t" != yes; then
4143 # Losing compiler, so override with the script.
4144 # FIXME: It is wrong to rewrite CC.
4145 # But if we don't then we get into trouble of one sort or another.
4146 # A longer-term fix would be to have automake use am__CC in this case,
4147 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4148 CC="$am_aux_dir/compile $CC"
4154 # Initialize libtool
4155 # Disable generation of static libraries
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4160 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4165 macro_version='2.4.2'
4166 macro_revision='1.3337'
4180 ltmain="$ac_aux_dir/ltmain.sh"
4182 # Make sure we can run config.sub.
4183 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4184 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4187 $as_echo_n "checking build system type... " >&6; }
4188 if ${ac_cv_build+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 ac_build_alias=$build_alias
4192 test "x$ac_build_alias" = x &&
4193 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4194 test "x$ac_build_alias" = x &&
4195 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4196 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4197 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4201 $as_echo "$ac_cv_build" >&6; }
4202 case $ac_cv_build in
4204 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4207 ac_save_IFS=$IFS; IFS='-'
4213 # Remember, the first character of IFS is used to create $*,
4214 # except with old shells:
4217 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4221 $as_echo_n "checking host system type... " >&6; }
4222 if ${ac_cv_host+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 if test "x$host_alias" = x; then
4226 ac_cv_host=$ac_cv_build
4228 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4229 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4234 $as_echo "$ac_cv_host" >&6; }
4237 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4240 ac_save_IFS=$IFS; IFS='-'
4246 # Remember, the first character of IFS is used to create $*,
4247 # except with old shells:
4250 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4253 # Backslashify metacharacters that are still active within
4254 # double-quoted strings.
4255 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4257 # Same as above, but do not quote variable references.
4258 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4260 # Sed substitution to delay expansion of an escaped shell variable in a
4261 # double_quote_subst'ed string.
4262 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4264 # Sed substitution to delay expansion of an escaped single quote.
4265 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4267 # Sed substitution to avoid accidental globbing in evaled expressions
4268 no_glob_subst='s/\*/\\\*/g'
4270 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4271 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4272 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4275 $as_echo_n "checking how to print strings... " >&6; }
4276 # Test print first, because it will be a builtin if present.
4277 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4278 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4280 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4283 # Use this function as a fallback that always works.
4284 func_fallback_echo ()
4286 eval 'cat <<_LTECHO_EOF
4290 ECHO='func_fallback_echo'
4293 # func_echo_all arg...
4294 # Invoke $ECHO with all args, space-separated.
4301 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4302 $as_echo "printf" >&6; } ;;
4303 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4304 $as_echo "print -r" >&6; } ;;
4305 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4306 $as_echo "cat" >&6; } ;;
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4323 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4324 if ${ac_cv_path_SED+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4328 for ac_i in 1 2 3 4 5 6 7; do
4329 ac_script="$ac_script$as_nl$ac_script"
4331 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4332 { ac_script=; unset ac_script;}
4333 if test -z "$SED"; then
4334 ac_path_SED_found=false
4335 # Loop through the user's path and test for each of PROGNAME-LIST
4336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 test -z "$as_dir" && as_dir=.
4341 for ac_prog in sed gsed; do
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4344 as_fn_executable_p "$ac_path_SED" || continue
4345 # Check for GNU ac_path_SED and select it if it is found.
4346 # Check for GNU $ac_path_SED
4347 case `"$ac_path_SED" --version 2>&1` in
4349 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4352 $as_echo_n 0123456789 >"conftest.in"
4355 cat "conftest.in" "conftest.in" >"conftest.tmp"
4356 mv "conftest.tmp" "conftest.in"
4357 cp "conftest.in" "conftest.nl"
4358 $as_echo '' >> "conftest.nl"
4359 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4360 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4361 as_fn_arith $ac_count + 1 && ac_count=$as_val
4362 if test $ac_count -gt ${ac_path_SED_max-0}; then
4363 # Best one so far, save it but keep looking for a better one
4364 ac_cv_path_SED="$ac_path_SED"
4365 ac_path_SED_max=$ac_count
4367 # 10*(2^10) chars as input seems more than enough
4368 test $ac_count -gt 10 && break
4370 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4373 $ac_path_SED_found && break 3
4378 if test -z "$ac_cv_path_SED"; then
4379 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4387 $as_echo "$ac_cv_path_SED" >&6; }
4388 SED="$ac_cv_path_SED"
4391 test -z "$SED" && SED=sed
4392 Xsed="$SED -e 1s/^X//"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4405 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4406 if ${ac_cv_path_GREP+:} false; then :
4407 $as_echo_n "(cached) " >&6
4409 if test -z "$GREP"; then
4410 ac_path_GREP_found=false
4411 # Loop through the user's path and test for each of PROGNAME-LIST
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4416 test -z "$as_dir" && as_dir=.
4417 for ac_prog in grep ggrep; do
4418 for ac_exec_ext in '' $ac_executable_extensions; do
4419 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4420 as_fn_executable_p "$ac_path_GREP" || continue
4421 # Check for GNU ac_path_GREP and select it if it is found.
4422 # Check for GNU $ac_path_GREP
4423 case `"$ac_path_GREP" --version 2>&1` in
4425 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4428 $as_echo_n 0123456789 >"conftest.in"
4431 cat "conftest.in" "conftest.in" >"conftest.tmp"
4432 mv "conftest.tmp" "conftest.in"
4433 cp "conftest.in" "conftest.nl"
4434 $as_echo 'GREP' >> "conftest.nl"
4435 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4437 as_fn_arith $ac_count + 1 && ac_count=$as_val
4438 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4439 # Best one so far, save it but keep looking for a better one
4440 ac_cv_path_GREP="$ac_path_GREP"
4441 ac_path_GREP_max=$ac_count
4443 # 10*(2^10) chars as input seems more than enough
4444 test $ac_count -gt 10 && break
4446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 $ac_path_GREP_found && break 3
4454 if test -z "$ac_cv_path_GREP"; then
4455 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4458 ac_cv_path_GREP=$GREP
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4463 $as_echo "$ac_cv_path_GREP" >&6; }
4464 GREP="$ac_cv_path_GREP"
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4468 $as_echo_n "checking for egrep... " >&6; }
4469 if ${ac_cv_path_EGREP+:} false; then :
4470 $as_echo_n "(cached) " >&6
4472 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4473 then ac_cv_path_EGREP="$GREP -E"
4475 if test -z "$EGREP"; then
4476 ac_path_EGREP_found=false
4477 # Loop through the user's path and test for each of PROGNAME-LIST
4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4482 test -z "$as_dir" && as_dir=.
4483 for ac_prog in egrep; do
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4486 as_fn_executable_p "$ac_path_EGREP" || continue
4487 # Check for GNU ac_path_EGREP and select it if it is found.
4488 # Check for GNU $ac_path_EGREP
4489 case `"$ac_path_EGREP" --version 2>&1` in
4491 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4494 $as_echo_n 0123456789 >"conftest.in"
4497 cat "conftest.in" "conftest.in" >"conftest.tmp"
4498 mv "conftest.tmp" "conftest.in"
4499 cp "conftest.in" "conftest.nl"
4500 $as_echo 'EGREP' >> "conftest.nl"
4501 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4502 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4503 as_fn_arith $ac_count + 1 && ac_count=$as_val
4504 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4505 # Best one so far, save it but keep looking for a better one
4506 ac_cv_path_EGREP="$ac_path_EGREP"
4507 ac_path_EGREP_max=$ac_count
4509 # 10*(2^10) chars as input seems more than enough
4510 test $ac_count -gt 10 && break
4512 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4515 $ac_path_EGREP_found && break 3
4520 if test -z "$ac_cv_path_EGREP"; then
4521 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4524 ac_cv_path_EGREP=$EGREP
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4530 $as_echo "$ac_cv_path_EGREP" >&6; }
4531 EGREP="$ac_cv_path_EGREP"
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4535 $as_echo_n "checking for fgrep... " >&6; }
4536 if ${ac_cv_path_FGREP+:} false; then :
4537 $as_echo_n "(cached) " >&6
4539 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4540 then ac_cv_path_FGREP="$GREP -F"
4542 if test -z "$FGREP"; then
4543 ac_path_FGREP_found=false
4544 # Loop through the user's path and test for each of PROGNAME-LIST
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4549 test -z "$as_dir" && as_dir=.
4550 for ac_prog in fgrep; do
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4553 as_fn_executable_p "$ac_path_FGREP" || continue
4554 # Check for GNU ac_path_FGREP and select it if it is found.
4555 # Check for GNU $ac_path_FGREP
4556 case `"$ac_path_FGREP" --version 2>&1` in
4558 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4561 $as_echo_n 0123456789 >"conftest.in"
4564 cat "conftest.in" "conftest.in" >"conftest.tmp"
4565 mv "conftest.tmp" "conftest.in"
4566 cp "conftest.in" "conftest.nl"
4567 $as_echo 'FGREP' >> "conftest.nl"
4568 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4570 as_fn_arith $ac_count + 1 && ac_count=$as_val
4571 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4572 # Best one so far, save it but keep looking for a better one
4573 ac_cv_path_FGREP="$ac_path_FGREP"
4574 ac_path_FGREP_max=$ac_count
4576 # 10*(2^10) chars as input seems more than enough
4577 test $ac_count -gt 10 && break
4579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4582 $ac_path_FGREP_found && break 3
4587 if test -z "$ac_cv_path_FGREP"; then
4588 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4591 ac_cv_path_FGREP=$FGREP
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4597 $as_echo "$ac_cv_path_FGREP" >&6; }
4598 FGREP="$ac_cv_path_FGREP"
4601 test -z "$GREP" && GREP=grep
4621 # Check whether --with-gnu-ld was given.
4622 if test "${with_gnu_ld+set}" = set; then :
4623 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4629 if test "$GCC" = yes; then
4630 # Check if gcc -print-prog-name=ld gives a path.
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4632 $as_echo_n "checking for ld used by $CC... " >&6; }
4635 # gcc leaves a trailing carriage return which upsets mingw
4636 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4638 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4641 # Accept absolute paths.
4643 re_direlt='/[^/][^/]*/\.\./'
4644 # Canonicalize the pathname of ld
4645 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4646 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4647 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4649 test -z "$LD" && LD="$ac_prog"
4652 # If it fails, then pretend we aren't using GCC.
4656 # If it is relative, then search for the first ld in PATH.
4660 elif test "$with_gnu_ld" = yes; then
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4662 $as_echo_n "checking for GNU ld... " >&6; }
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4665 $as_echo_n "checking for non-GNU ld... " >&6; }
4667 if ${lt_cv_path_LD+:} false; then :
4668 $as_echo_n "(cached) " >&6
4670 if test -z "$LD"; then
4671 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4672 for ac_dir in $PATH; do
4674 test -z "$ac_dir" && ac_dir=.
4675 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4676 lt_cv_path_LD="$ac_dir/$ac_prog"
4677 # Check to see if the program is GNU ld. I'd rather use --version,
4678 # but apparently some variants of GNU ld only accept -v.
4679 # Break only if it was the GNU/non-GNU ld that we prefer.
4680 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4681 *GNU* | *'with BFD'*)
4682 test "$with_gnu_ld" != no && break
4685 test "$with_gnu_ld" != yes && break
4692 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4697 if test -n "$LD"; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4699 $as_echo "$LD" >&6; }
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4702 $as_echo "no" >&6; }
4704 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4706 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4707 if ${lt_cv_prog_gnu_ld+:} false; then :
4708 $as_echo_n "(cached) " >&6
4710 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4711 case `$LD -v 2>&1 </dev/null` in
4712 *GNU* | *'with BFD'*)
4713 lt_cv_prog_gnu_ld=yes
4716 lt_cv_prog_gnu_ld=no
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4721 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4722 with_gnu_ld=$lt_cv_prog_gnu_ld
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4733 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4734 if ${lt_cv_path_NM+:} false; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$NM"; then
4738 # Let the user override the test.
4741 lt_nm_to_check="${ac_tool_prefix}nm"
4742 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4743 lt_nm_to_check="$lt_nm_to_check nm"
4745 for lt_tmp_nm in $lt_nm_to_check; do
4746 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4747 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4749 test -z "$ac_dir" && ac_dir=.
4750 tmp_nm="$ac_dir/$lt_tmp_nm"
4751 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4752 # Check to see if the nm accepts a BSD-compat flag.
4753 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4754 # nm: unknown option "B" ignored
4755 # Tru64's nm complains that /dev/null is an invalid object file
4756 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4757 */dev/null* | *'Invalid file or object type'*)
4758 lt_cv_path_NM="$tmp_nm -B"
4762 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4764 lt_cv_path_NM="$tmp_nm -p"
4768 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4769 continue # so that we can try to find one that supports BSD flags
4778 : ${lt_cv_path_NM=no}
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4782 $as_echo "$lt_cv_path_NM" >&6; }
4783 if test "$lt_cv_path_NM" != "no"; then
4786 # Didn't find any BSD compatible name lister, look for dumpbin.
4787 if test -n "$DUMPBIN"; then :
4788 # Let the user override the test.
4790 if test -n "$ac_tool_prefix"; then
4791 for ac_prog in dumpbin "link -dump"
4793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4796 $as_echo_n "checking for $ac_word... " >&6; }
4797 if ${ac_cv_prog_DUMPBIN+:} false; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$DUMPBIN"; then
4801 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir=.
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 DUMPBIN=$ac_cv_prog_DUMPBIN
4821 if test -n "$DUMPBIN"; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4823 $as_echo "$DUMPBIN" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4830 test -n "$DUMPBIN" && break
4833 if test -z "$DUMPBIN"; then
4834 ac_ct_DUMPBIN=$DUMPBIN
4835 for ac_prog in dumpbin "link -dump"
4837 # Extract the first word of "$ac_prog", so it can be a program name with args.
4838 set dummy $ac_prog; ac_word=$2
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840 $as_echo_n "checking for $ac_word... " >&6; }
4841 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -n "$ac_ct_DUMPBIN"; then
4845 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4865 if test -n "$ac_ct_DUMPBIN"; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4867 $as_echo "$ac_ct_DUMPBIN" >&6; }
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 $as_echo "no" >&6; }
4874 test -n "$ac_ct_DUMPBIN" && break
4877 if test "x$ac_ct_DUMPBIN" = x; then
4880 case $cross_compiling:$ac_tool_warned in
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4884 ac_tool_warned=yes ;;
4886 DUMPBIN=$ac_ct_DUMPBIN
4890 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4892 DUMPBIN="$DUMPBIN -symbols"
4900 if test "$DUMPBIN" != ":"; then
4904 test -z "$NM" && NM=nm
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4912 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4913 if ${lt_cv_nm_interface+:} false; then :
4914 $as_echo_n "(cached) " >&6
4916 lt_cv_nm_interface="BSD nm"
4917 echo "int some_variable = 0;" > conftest.$ac_ext
4918 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4919 (eval "$ac_compile" 2>conftest.err)
4920 cat conftest.err >&5
4921 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4922 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4923 cat conftest.err >&5
4924 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4925 cat conftest.out >&5
4926 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4927 lt_cv_nm_interface="MS dumpbin"
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4932 $as_echo "$lt_cv_nm_interface" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4935 $as_echo_n "checking whether ln -s works... " >&6; }
4937 if test "$LN_S" = "ln -s"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4942 $as_echo "no, using $LN_S" >&6; }
4945 # find the maximum length of command line arguments
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4947 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4948 if ${lt_cv_sys_max_cmd_len+:} false; then :
4949 $as_echo_n "(cached) " >&6
4956 # On DJGPP, this test can blow up pretty badly due to problems in libc
4957 # (any single argument exceeding 2000 bytes causes a buffer overrun
4958 # during glob expansion). Even if it were fixed, the result of this
4959 # check would be larger than it should be.
4960 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4964 # Under GNU Hurd, this test is not required because there is
4965 # no limit to the length of command line arguments.
4966 # Libtool will interpret -1 as no limit whatsoever
4967 lt_cv_sys_max_cmd_len=-1;
4970 cygwin* | mingw* | cegcc*)
4971 # On Win9x/ME, this test blows up -- it succeeds, but takes
4972 # about 5 minutes as the teststring grows exponentially.
4973 # Worse, since 9x/ME are not pre-emptively multitasking,
4974 # you end up with a "frozen" computer, even though with patience
4975 # the test eventually succeeds (with a max line length of 256k).
4976 # Instead, let's just punt: use the minimum linelength reported by
4977 # all of the supported platforms: 8192 (on NT/2K/XP).
4978 lt_cv_sys_max_cmd_len=8192;
4982 # On MiNT this can take a long time and run out of memory.
4983 lt_cv_sys_max_cmd_len=8192;
4987 # On AmigaOS with pdksh, this test takes hours, literally.
4988 # So we just punt and use a minimum line length of 8192.
4989 lt_cv_sys_max_cmd_len=8192;
4992 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4993 # This has been around since 386BSD, at least. Likely further.
4994 if test -x /sbin/sysctl; then
4995 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4996 elif test -x /usr/sbin/sysctl; then
4997 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4999 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5001 # And add a safety zone
5002 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5003 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5007 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5008 lt_cv_sys_max_cmd_len=196608
5012 # The test takes a long time on OS/2.
5013 lt_cv_sys_max_cmd_len=8192
5017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5019 # nice to cause kernel panics so lets avoid the loop below.
5020 # First set a reasonable default.
5021 lt_cv_sys_max_cmd_len=16384
5023 if test -x /sbin/sysconfig; then
5024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5025 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5030 lt_cv_sys_max_cmd_len=102400
5032 sysv5* | sco5v6* | sysv4.2uw2*)
5033 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5034 if test -n "$kargmax"; then
5035 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5037 lt_cv_sys_max_cmd_len=32768
5041 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5042 if test -n "$lt_cv_sys_max_cmd_len"; then
5043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5046 # Make teststring a little bigger before we do anything with it.
5047 # a 1K string should be a reasonable start.
5048 for i in 1 2 3 4 5 6 7 8 ; do
5049 teststring=$teststring$teststring
5051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5052 # If test is not a shell built-in, we'll probably end up computing a
5053 # maximum length that is only half of the actual maximum length, but
5055 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5056 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5057 test $i != 17 # 1/2 MB should be enough
5060 teststring=$teststring$teststring
5062 # Only check the string length outside the loop.
5063 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5065 # Add a significant safety factor because C++ compilers can tack on
5066 # massive amounts of additional arguments before passing them to the
5067 # linker. It appears as though 1/2 is a usable value.
5068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5075 if test -n $lt_cv_sys_max_cmd_len ; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5080 $as_echo "none" >&6; }
5082 max_cmd_len=$lt_cv_sys_max_cmd_len
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5095 # Try some XSI features
5098 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5100 && eval 'test $(( 1 + 1 )) -eq 2 \
5101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5104 $as_echo "$xsi_shell" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5112 && lt_shell_append=yes
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5114 $as_echo "$lt_shell_append" >&6; }
5117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5127 # test EBCDIC or ASCII
5128 case `echo X|tr X '\101'` in
5129 A) # ASCII based system
5130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5131 lt_SP2NL='tr \040 \012'
5132 lt_NL2SP='tr \015\012 \040\040'
5134 *) # EBCDIC based system
5135 lt_SP2NL='tr \100 \n'
5136 lt_NL2SP='tr \r\n \100\100'
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5149 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5150 if ${lt_cv_to_host_file_cmd+:} false; then :
5151 $as_echo_n "(cached) " >&6
5156 *-*-mingw* ) # actually msys
5157 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5160 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5162 * ) # otherwise, assume *nix
5163 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5169 *-*-mingw* ) # actually msys
5170 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5173 lt_cv_to_host_file_cmd=func_convert_file_noop
5175 * ) # otherwise, assume *nix
5176 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5180 * ) # unhandled hosts (and "normal" native builds)
5181 lt_cv_to_host_file_cmd=func_convert_file_noop
5187 to_host_file_cmd=$lt_cv_to_host_file_cmd
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5189 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5196 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5197 if ${lt_cv_to_tool_file_cmd+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 #assume ordinary cross tools, or native build.
5201 lt_cv_to_tool_file_cmd=func_convert_file_noop
5205 *-*-mingw* ) # actually msys
5206 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5214 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5216 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5223 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5224 if ${lt_cv_ld_reload_flag+:} false; then :
5225 $as_echo_n "(cached) " >&6
5227 lt_cv_ld_reload_flag='-r'
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5230 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5231 reload_flag=$lt_cv_ld_reload_flag
5232 case $reload_flag in
5234 *) reload_flag=" $reload_flag" ;;
5236 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5238 cygwin* | mingw* | pw32* | cegcc*)
5239 if test "$GCC" != yes; then
5244 if test "$GCC" = yes; then
5245 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5247 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5260 if test -n "$ac_tool_prefix"; then
5261 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5262 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if ${ac_cv_prog_OBJDUMP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$OBJDUMP"; then
5269 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5278 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 OBJDUMP=$ac_cv_prog_OBJDUMP
5289 if test -n "$OBJDUMP"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5291 $as_echo "$OBJDUMP" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5299 if test -z "$ac_cv_prog_OBJDUMP"; then
5300 ac_ct_OBJDUMP=$OBJDUMP
5301 # Extract the first word of "objdump", so it can be a program name with args.
5302 set dummy objdump; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5306 $as_echo_n "(cached) " >&6
5308 if test -n "$ac_ct_OBJDUMP"; then
5309 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5329 if test -n "$ac_ct_OBJDUMP"; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5331 $as_echo "$ac_ct_OBJDUMP" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5337 if test "x$ac_ct_OBJDUMP" = x; then
5340 case $cross_compiling:$ac_tool_warned in
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5346 OBJDUMP=$ac_ct_OBJDUMP
5349 OBJDUMP="$ac_cv_prog_OBJDUMP"
5352 test -z "$OBJDUMP" && OBJDUMP=objdump
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5363 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5364 if ${lt_cv_deplibs_check_method+:} false; then :
5365 $as_echo_n "(cached) " >&6
5367 lt_cv_file_magic_cmd='$MAGIC_CMD'
5368 lt_cv_file_magic_test_file=
5369 lt_cv_deplibs_check_method='unknown'
5370 # Need to set the preceding variable on all platforms that support
5371 # interlibrary dependencies.
5372 # 'none' -- dependencies not supported.
5373 # `unknown' -- same as none, but documents that we really don't know.
5374 # 'pass_all' -- all dependencies passed with no checks.
5375 # 'test_compile' -- check by making test program.
5376 # 'file_magic [[regex]]' -- check by looking for files in library path
5377 # which responds to the $file_magic_cmd with a given extended regex.
5378 # If you have `file' or equivalent on your system and you're not sure
5379 # whether `pass_all' will *always* work, you probably want this one.
5383 lt_cv_deplibs_check_method=pass_all
5387 lt_cv_deplibs_check_method=pass_all
5391 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5392 lt_cv_file_magic_cmd='/usr/bin/file -L'
5393 lt_cv_file_magic_test_file=/shlib/libc.so
5397 # func_win32_libid is a shell function defined in ltmain.sh
5398 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5399 lt_cv_file_magic_cmd='func_win32_libid'
5403 # Base MSYS/MinGW do not provide the 'file' command needed by
5404 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5405 # unless we find 'file', for example because we are cross-compiling.
5406 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5407 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5408 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5409 lt_cv_file_magic_cmd='func_win32_libid'
5411 # Keep this pattern in sync with the one in func_win32_libid.
5412 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5413 lt_cv_file_magic_cmd='$OBJDUMP -f'
5418 # use the weaker test based on 'objdump'. See mingw*.
5419 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5420 lt_cv_file_magic_cmd='$OBJDUMP -f'
5423 darwin* | rhapsody*)
5424 lt_cv_deplibs_check_method=pass_all
5427 freebsd* | dragonfly*)
5428 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5431 # Not sure whether the presence of OpenBSD here was a mistake.
5432 # Let's accept both of them until this is cleared up.
5433 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5434 lt_cv_file_magic_cmd=/usr/bin/file
5435 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5439 lt_cv_deplibs_check_method=pass_all
5444 lt_cv_deplibs_check_method=pass_all
5448 lt_cv_deplibs_check_method=pass_all
5451 hpux10.20* | hpux11*)
5452 lt_cv_file_magic_cmd=/usr/bin/file
5455 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5456 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5459 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]'
5460 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5463 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5464 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5470 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5474 irix5* | irix6* | nonstopux*)
5476 *-32|*"-32 ") libmagic=32-bit;;
5477 *-n32|*"-n32 ") libmagic=N32;;
5478 *-64|*"-64 ") libmagic=64-bit;;
5479 *) libmagic=never-match;;
5481 lt_cv_deplibs_check_method=pass_all
5484 # This must be glibc/ELF.
5485 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5486 lt_cv_deplibs_check_method=pass_all
5489 netbsd* | netbsdelf*-gnu)
5490 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5491 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5493 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5498 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5499 lt_cv_file_magic_cmd=/usr/bin/file
5500 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5504 lt_cv_deplibs_check_method=pass_all
5508 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5509 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5511 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5515 osf3* | osf4* | osf5*)
5516 lt_cv_deplibs_check_method=pass_all
5520 lt_cv_deplibs_check_method=pass_all
5524 lt_cv_deplibs_check_method=pass_all
5527 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5528 lt_cv_deplibs_check_method=pass_all
5532 case $host_vendor in
5534 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]'
5535 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5538 lt_cv_deplibs_check_method=pass_all
5541 lt_cv_file_magic_cmd='/bin/file'
5542 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5545 lt_cv_file_magic_cmd='/bin/file'
5546 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5547 lt_cv_file_magic_test_file=/lib/libc.so
5550 lt_cv_deplibs_check_method=pass_all
5553 lt_cv_deplibs_check_method=pass_all
5559 lt_cv_deplibs_check_method=pass_all
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5565 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5569 if test "$build" = "$host"; then
5572 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5575 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5581 file_magic_cmd=$lt_cv_file_magic_cmd
5582 deplibs_check_method=$lt_cv_deplibs_check_method
5583 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_DLLTOOL+:} false; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$DLLTOOL"; then
5615 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 DLLTOOL=$ac_cv_prog_DLLTOOL
5635 if test -n "$DLLTOOL"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5637 $as_echo "$DLLTOOL" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5645 if test -z "$ac_cv_prog_DLLTOOL"; then
5646 ac_ct_DLLTOOL=$DLLTOOL
5647 # Extract the first word of "dlltool", so it can be a program name with args.
5648 set dummy dlltool; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$ac_ct_DLLTOOL"; then
5655 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5675 if test -n "$ac_ct_DLLTOOL"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5677 $as_echo "$ac_ct_DLLTOOL" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5683 if test "x$ac_ct_DLLTOOL" = x; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned=yes ;;
5692 DLLTOOL=$ac_ct_DLLTOOL
5695 DLLTOOL="$ac_cv_prog_DLLTOOL"
5698 test -z "$DLLTOOL" && DLLTOOL=dlltool
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5710 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5711 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5712 $as_echo_n "(cached) " >&6
5714 lt_cv_sharedlib_from_linklib_cmd='unknown'
5717 cygwin* | mingw* | pw32* | cegcc*)
5718 # two different shell functions defined in ltmain.sh
5719 # decide which to use based on capabilities of $DLLTOOL
5720 case `$DLLTOOL --help 2>&1` in
5721 *--identify-strict*)
5722 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5725 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5730 # fallback: assume linklib IS sharedlib
5731 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5737 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5738 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5739 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5748 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_AR+:} false; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$AR"; then
5759 ac_cv_prog_AR="$AR" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 if test -n "$AR"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5781 $as_echo "$AR" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5788 test -n "$AR" && break
5791 if test -z "$AR"; then
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$ac_ct_AR"; then
5803 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_ac_ct_AR="$ac_prog"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5823 if test -n "$ac_ct_AR"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5825 $as_echo "$ac_ct_AR" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$ac_ct_AR" && break
5835 if test "x$ac_ct_AR" = x; then
5838 case $cross_compiling:$ac_tool_warned in
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842 ac_tool_warned=yes ;;
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5862 $as_echo_n "checking for archiver @FILE support... " >&6; }
5863 if ${lt_cv_ar_at_file+:} false; then :
5864 $as_echo_n "(cached) " >&6
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5878 if ac_fn_c_try_compile "$LINENO"; then :
5879 echo conftest.$ac_objext > conftest.lst
5880 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5881 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5882 (eval $lt_ar_try) 2>&5
5884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5885 test $ac_status = 0; }
5886 if test "$ac_status" -eq 0; then
5887 # Ensure the archiver fails upon bogus file names.
5888 rm -f conftest.$ac_objext libconftest.a
5889 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5890 (eval $lt_ar_try) 2>&5
5892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5893 test $ac_status = 0; }
5894 if test "$ac_status" -ne 0; then
5898 rm -f conftest.* libconftest.a
5901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5905 $as_echo "$lt_cv_ar_at_file" >&6; }
5907 if test "x$lt_cv_ar_at_file" = xno; then
5910 archiver_list_spec=$lt_cv_ar_at_file
5919 if test -n "$ac_tool_prefix"; then
5920 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}strip; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_STRIP+:} false; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$STRIP"; then
5928 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 STRIP=$ac_cv_prog_STRIP
5948 if test -n "$STRIP"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5950 $as_echo "$STRIP" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5958 if test -z "$ac_cv_prog_STRIP"; then
5960 # Extract the first word of "strip", so it can be a program name with args.
5961 set dummy strip; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -n "$ac_ct_STRIP"; then
5968 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_ac_ct_STRIP="strip"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5988 if test -n "$ac_ct_STRIP"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5990 $as_echo "$ac_ct_STRIP" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5996 if test "x$ac_ct_STRIP" = x; then
5999 case $cross_compiling:$ac_tool_warned in
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6003 ac_tool_warned=yes ;;
6008 STRIP="$ac_cv_prog_STRIP"
6011 test -z "$STRIP" && STRIP=:
6018 if test -n "$ac_tool_prefix"; then
6019 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_RANLIB+:} false; then :
6024 $as_echo_n "(cached) " >&6
6026 if test -n "$RANLIB"; then
6027 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046 RANLIB=$ac_cv_prog_RANLIB
6047 if test -n "$RANLIB"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6049 $as_echo "$RANLIB" >&6; }
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6057 if test -z "$ac_cv_prog_RANLIB"; then
6058 ac_ct_RANLIB=$RANLIB
6059 # Extract the first word of "ranlib", so it can be a program name with args.
6060 set dummy ranlib; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6064 $as_echo_n "(cached) " >&6
6066 if test -n "$ac_ct_RANLIB"; then
6067 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_ac_ct_RANLIB="ranlib"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6087 if test -n "$ac_ct_RANLIB"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6089 $as_echo "$ac_ct_RANLIB" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6095 if test "x$ac_ct_RANLIB" = x; then
6098 case $cross_compiling:$ac_tool_warned in
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6102 ac_tool_warned=yes ;;
6104 RANLIB=$ac_ct_RANLIB
6107 RANLIB="$ac_cv_prog_RANLIB"
6110 test -z "$RANLIB" && RANLIB=:
6117 # Determine commands to create old-style static archives.
6118 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6119 old_postinstall_cmds='chmod 644 $oldlib'
6120 old_postuninstall_cmds=
6122 if test -n "$RANLIB"; then
6125 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6128 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6131 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6136 lock_old_archive_extraction=yes ;;
6138 lock_old_archive_extraction=no ;;
6179 # If no C compiler was specified, use CC.
6182 # If no C compiler flags were specified, use CFLAGS.
6183 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6185 # Allow CC to be a program name with arguments.
6189 # Check for command to grab the raw symbol name followed by C symbol from nm.
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6191 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6192 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6193 $as_echo_n "(cached) " >&6
6196 # These are sane defaults that work on at least a few old systems.
6197 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6199 # Character class describing NM global symbol codes.
6200 symcode='[BCDEGRST]'
6202 # Regexp to match symbols that can be accessed directly from C.
6203 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6205 # Define system-specific variables.
6210 cygwin* | mingw* | pw32* | cegcc*)
6211 symcode='[ABCDGISTW]'
6214 if test "$host_cpu" = ia64; then
6215 symcode='[ABCDEGRST]'
6219 symcode='[BCDEGRST]'
6222 symcode='[BCDEGQRST]'
6233 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6241 # If we're using GNU nm, then use its standard symbol codes.
6242 case `$NM -V 2>&1` in
6243 *GNU* | *'with BFD'*)
6244 symcode='[ABCDGIRSTW]' ;;
6247 # Transform an extracted symbol line into a proper C declaration.
6248 # Some systems (esp. on ia64) link data and code symbols differently,
6249 # so use this general approach.
6250 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6252 # Transform an extracted symbol line into symbol name and symbol address
6253 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6254 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'"
6256 # Handle CRLF in mingw tool chain
6260 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6264 # Try without a prefix underscore, then with it.
6265 for ac_symprfx in "" "_"; do
6267 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6268 symxfrm="\\1 $ac_symprfx\\2 \\2"
6270 # Write the raw and C identifiers.
6271 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6272 # Fake it for dumpbin and say T for any non-static function
6273 # and D for any global variable.
6274 # Also find C++ and __fastcall symbols from MSVC++,
6275 # which start with @ or ?.
6276 lt_cv_sys_global_symbol_pipe="$AWK '"\
6277 " {last_section=section; section=\$ 3};"\
6278 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6279 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6280 " \$ 0!~/External *\|/{next};"\
6281 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6282 " {if(hide[section]) next};"\
6283 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6284 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6285 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6286 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6287 " ' prfx=^$ac_symprfx"
6289 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6291 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6293 # Check to see that the pipe works correctly.
6297 cat > conftest.$ac_ext <<_LT_EOF
6302 void nm_test_func(void);
6303 void nm_test_func(void){}
6307 int main(){nm_test_var='a';nm_test_func();return(0);}
6310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6311 (eval $ac_compile) 2>&5
6313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6314 test $ac_status = 0; }; then
6315 # Now try to grab the symbols.
6317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6318 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6321 test $ac_status = 0; } && test -s "$nlist"; then
6322 # Try sorting and uniquifying the output.
6323 if sort "$nlist" | uniq > "$nlist"T; then
6324 mv -f "$nlist"T "$nlist"
6329 # Make sure that we snagged all the symbols we need.
6330 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6331 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6332 cat <<_LT_EOF > conftest.$ac_ext
6333 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6334 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6335 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6336 relocations are performed -- see ld's documentation on pseudo-relocs. */
6337 # define LT_DLSYM_CONST
6338 #elif defined(__osf__)
6339 /* This system does not cope well with relocations in const data. */
6340 # define LT_DLSYM_CONST
6342 # define LT_DLSYM_CONST const
6350 # Now generate the symbol file.
6351 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6353 cat <<_LT_EOF >> conftest.$ac_ext
6355 /* The mapping between symbol names and symbols. */
6356 LT_DLSYM_CONST struct {
6360 lt__PROGRAM__LTX_preloaded_symbols[] =
6362 { "@PROGRAM@", (void *) 0 },
6364 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6365 cat <<\_LT_EOF >> conftest.$ac_ext
6369 /* This works around a problem in FreeBSD linker */
6370 #ifdef FREEBSD_WORKAROUND
6371 static const void *lt_preloaded_setup() {
6372 return lt__PROGRAM__LTX_preloaded_symbols;
6380 # Now try linking the two files.
6381 mv conftest.$ac_objext conftstm.$ac_objext
6382 lt_globsym_save_LIBS=$LIBS
6383 lt_globsym_save_CFLAGS=$CFLAGS
6384 LIBS="conftstm.$ac_objext"
6385 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6387 (eval $ac_link) 2>&5
6389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6393 LIBS=$lt_globsym_save_LIBS
6394 CFLAGS=$lt_globsym_save_CFLAGS
6396 echo "cannot find nm_test_func in $nlist" >&5
6399 echo "cannot find nm_test_var in $nlist" >&5
6402 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6405 echo "$progname: failed program was:" >&5
6406 cat conftest.$ac_ext >&5
6408 rm -rf conftest* conftst*
6410 # Do not use the global_symbol_pipe unless it works.
6411 if test "$pipe_works" = yes; then
6414 lt_cv_sys_global_symbol_pipe=
6420 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6421 lt_cv_sys_global_symbol_to_cdecl=
6423 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6425 $as_echo "failed" >&6; }
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6428 $as_echo "ok" >&6; }
6431 # Response file support.
6432 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6433 nm_file_list_spec='@'
6434 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6435 nm_file_list_spec='@'
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6465 $as_echo_n "checking for sysroot... " >&6; }
6467 # Check whether --with-sysroot was given.
6468 if test "${with_sysroot+set}" = set; then :
6469 withval=$with_sysroot;
6476 case ${with_sysroot} in #(
6478 if test "$GCC" = yes; then
6479 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6483 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6489 $as_echo "${with_sysroot}" >&6; }
6490 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6495 $as_echo "${lt_sysroot:-no}" >&6; }
6501 # Check whether --enable-libtool-lock was given.
6502 if test "${enable_libtool_lock+set}" = set; then :
6503 enableval=$enable_libtool_lock;
6506 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6508 # Some flags need to be propagated to the compiler or linker for good
6512 # Find out which ABI we are using.
6513 echo 'int i;' > conftest.$ac_ext
6514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6515 (eval $ac_compile) 2>&5
6517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6518 test $ac_status = 0; }; then
6519 case `/usr/bin/file conftest.$ac_objext` in
6531 # Find out which ABI we are using.
6532 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6534 (eval $ac_compile) 2>&5
6536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6537 test $ac_status = 0; }; then
6538 if test "$lt_cv_prog_gnu_ld" = yes; then
6539 case `/usr/bin/file conftest.$ac_objext` in
6541 LD="${LD-ld} -melf32bsmip"
6544 LD="${LD-ld} -melf32bmipn32"
6547 LD="${LD-ld} -melf64bmip"
6551 case `/usr/bin/file conftest.$ac_objext` in
6567 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6568 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6569 # Find out which ABI we are using.
6570 echo 'int i;' > conftest.$ac_ext
6571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6572 (eval $ac_compile) 2>&5
6574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6575 test $ac_status = 0; }; then
6576 case `/usr/bin/file conftest.o` in
6579 x86_64-*kfreebsd*-gnu)
6580 LD="${LD-ld} -m elf_i386_fbsd"
6583 LD="${LD-ld} -m elf_i386"
6585 ppc64-*linux*|powerpc64-*linux*)
6586 LD="${LD-ld} -m elf32ppclinux"
6589 LD="${LD-ld} -m elf_s390"
6592 LD="${LD-ld} -m elf32_sparc"
6598 x86_64-*kfreebsd*-gnu)
6599 LD="${LD-ld} -m elf_x86_64_fbsd"
6602 LD="${LD-ld} -m elf_x86_64"
6604 ppc*-*linux*|powerpc*-*linux*)
6605 LD="${LD-ld} -m elf64ppc"
6607 s390*-*linux*|s390*-*tpf*)
6608 LD="${LD-ld} -m elf64_s390"
6611 LD="${LD-ld} -m elf64_sparc"
6621 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6622 SAVE_CFLAGS="$CFLAGS"
6623 CFLAGS="$CFLAGS -belf"
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6625 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6626 if ${lt_cv_cc_needs_belf+:} false; then :
6627 $as_echo_n "(cached) " >&6
6630 ac_cpp='$CPP $CPPFLAGS'
6631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6646 if ac_fn_c_try_link "$LINENO"; then :
6647 lt_cv_cc_needs_belf=yes
6649 lt_cv_cc_needs_belf=no
6651 rm -f core conftest.err conftest.$ac_objext \
6652 conftest$ac_exeext conftest.$ac_ext
6654 ac_cpp='$CPP $CPPFLAGS'
6655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6661 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6662 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6663 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6664 CFLAGS="$SAVE_CFLAGS"
6668 # Find out which ABI we are using.
6669 echo 'int i;' > conftest.$ac_ext
6670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6671 (eval $ac_compile) 2>&5
6673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6674 test $ac_status = 0; }; then
6675 case `/usr/bin/file conftest.o` in
6677 case $lt_cv_prog_gnu_ld in
6681 LD="${LD-ld} -m elf_x86_64"
6684 LD="${LD-ld} -m elf64_sparc"
6687 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6688 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6693 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6705 need_locks="$enable_libtool_lock"
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}mt; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6713 $as_echo_n "(cached) " >&6
6715 if test -n "$MANIFEST_TOOL"; then
6716 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6736 if test -n "$MANIFEST_TOOL"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6738 $as_echo "$MANIFEST_TOOL" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6746 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6747 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6748 # Extract the first word of "mt", so it can be a program name with args.
6749 set dummy mt; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 if test -n "$ac_ct_MANIFEST_TOOL"; then
6756 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6776 if test -n "$ac_ct_MANIFEST_TOOL"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6778 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6784 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6791 ac_tool_warned=yes ;;
6793 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6796 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6799 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6801 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6802 if ${lt_cv_path_mainfest_tool+:} false; then :
6803 $as_echo_n "(cached) " >&6
6805 lt_cv_path_mainfest_tool=no
6806 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6807 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6808 cat conftest.err >&5
6809 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6810 lt_cv_path_mainfest_tool=yes
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6815 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6816 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6826 rhapsody* | darwin*)
6827 if test -n "$ac_tool_prefix"; then
6828 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6829 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6833 $as_echo_n "(cached) " >&6
6835 if test -n "$DSYMUTIL"; then
6836 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6856 if test -n "$DSYMUTIL"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6858 $as_echo "$DSYMUTIL" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6866 if test -z "$ac_cv_prog_DSYMUTIL"; then
6867 ac_ct_DSYMUTIL=$DSYMUTIL
6868 # Extract the first word of "dsymutil", so it can be a program name with args.
6869 set dummy dsymutil; ac_word=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6873 $as_echo_n "(cached) " >&6
6875 if test -n "$ac_ct_DSYMUTIL"; then
6876 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir=.
6883 for ac_exec_ext in '' $ac_executable_extensions; do
6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6885 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6896 if test -n "$ac_ct_DSYMUTIL"; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6898 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6901 $as_echo "no" >&6; }
6904 if test "x$ac_ct_DSYMUTIL" = x; then
6907 case $cross_compiling:$ac_tool_warned in
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6911 ac_tool_warned=yes ;;
6913 DSYMUTIL=$ac_ct_DSYMUTIL
6916 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6919 if test -n "$ac_tool_prefix"; then
6920 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_NMEDIT+:} false; then :
6925 $as_echo_n "(cached) " >&6
6927 if test -n "$NMEDIT"; then
6928 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 NMEDIT=$ac_cv_prog_NMEDIT
6948 if test -n "$NMEDIT"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6950 $as_echo "$NMEDIT" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6958 if test -z "$ac_cv_prog_NMEDIT"; then
6959 ac_ct_NMEDIT=$NMEDIT
6960 # Extract the first word of "nmedit", so it can be a program name with args.
6961 set dummy nmedit; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6965 $as_echo_n "(cached) " >&6
6967 if test -n "$ac_ct_NMEDIT"; then
6968 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6988 if test -n "$ac_ct_NMEDIT"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6990 $as_echo "$ac_ct_NMEDIT" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6996 if test "x$ac_ct_NMEDIT" = x; then
6999 case $cross_compiling:$ac_tool_warned in
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7005 NMEDIT=$ac_ct_NMEDIT
7008 NMEDIT="$ac_cv_prog_NMEDIT"
7011 if test -n "$ac_tool_prefix"; then
7012 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7013 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7015 $as_echo_n "checking for $ac_word... " >&6; }
7016 if ${ac_cv_prog_LIPO+:} false; then :
7017 $as_echo_n "(cached) " >&6
7019 if test -n "$LIPO"; then
7020 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039 LIPO=$ac_cv_prog_LIPO
7040 if test -n "$LIPO"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7042 $as_echo "$LIPO" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7045 $as_echo "no" >&6; }
7050 if test -z "$ac_cv_prog_LIPO"; then
7052 # Extract the first word of "lipo", so it can be a program name with args.
7053 set dummy lipo; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7057 $as_echo_n "(cached) " >&6
7059 if test -n "$ac_ct_LIPO"; then
7060 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069 ac_cv_prog_ac_ct_LIPO="lipo"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7080 if test -n "$ac_ct_LIPO"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7082 $as_echo "$ac_ct_LIPO" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7088 if test "x$ac_ct_LIPO" = x; then
7091 case $cross_compiling:$ac_tool_warned in
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7095 ac_tool_warned=yes ;;
7100 LIPO="$ac_cv_prog_LIPO"
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}otool; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_OTOOL+:} false; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$OTOOL"; then
7112 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 OTOOL=$ac_cv_prog_OTOOL
7132 if test -n "$OTOOL"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7134 $as_echo "$OTOOL" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7142 if test -z "$ac_cv_prog_OTOOL"; then
7144 # Extract the first word of "otool", so it can be a program name with args.
7145 set dummy otool; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7149 $as_echo_n "(cached) " >&6
7151 if test -n "$ac_ct_OTOOL"; then
7152 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_OTOOL="otool"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7172 if test -n "$ac_ct_OTOOL"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7174 $as_echo "$ac_ct_OTOOL" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7180 if test "x$ac_ct_OTOOL" = x; then
7183 case $cross_compiling:$ac_tool_warned in
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned=yes ;;
7192 OTOOL="$ac_cv_prog_OTOOL"
7195 if test -n "$ac_tool_prefix"; then
7196 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7197 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7199 $as_echo_n "checking for $ac_word... " >&6; }
7200 if ${ac_cv_prog_OTOOL64+:} false; then :
7201 $as_echo_n "(cached) " >&6
7203 if test -n "$OTOOL64"; then
7204 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7210 test -z "$as_dir" && as_dir=.
7211 for ac_exec_ext in '' $ac_executable_extensions; do
7212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7213 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 OTOOL64=$ac_cv_prog_OTOOL64
7224 if test -n "$OTOOL64"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7226 $as_echo "$OTOOL64" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7234 if test -z "$ac_cv_prog_OTOOL64"; then
7235 ac_ct_OTOOL64=$OTOOL64
7236 # Extract the first word of "otool64", so it can be a program name with args.
7237 set dummy otool64; ac_word=$2
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 $as_echo_n "checking for $ac_word... " >&6; }
7240 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7241 $as_echo_n "(cached) " >&6
7243 if test -n "$ac_ct_OTOOL64"; then
7244 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7250 test -z "$as_dir" && as_dir=.
7251 for ac_exec_ext in '' $ac_executable_extensions; do
7252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7253 ac_cv_prog_ac_ct_OTOOL64="otool64"
7254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7264 if test -n "$ac_ct_OTOOL64"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7266 $as_echo "$ac_ct_OTOOL64" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7269 $as_echo "no" >&6; }
7272 if test "x$ac_ct_OTOOL64" = x; then
7275 case $cross_compiling:$ac_tool_warned in
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7279 ac_tool_warned=yes ;;
7281 OTOOL64=$ac_ct_OTOOL64
7284 OTOOL64="$ac_cv_prog_OTOOL64"
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7314 $as_echo_n "checking for -single_module linker flag... " >&6; }
7315 if ${lt_cv_apple_cc_single_mod+:} false; then :
7316 $as_echo_n "(cached) " >&6
7318 lt_cv_apple_cc_single_mod=no
7319 if test -z "${LT_MULTI_MODULE}"; then
7320 # By default we will add the -single_module flag. You can override
7321 # by either setting the environment variable LT_MULTI_MODULE
7322 # non-empty at configure time, or by adding -multi_module to the
7324 rm -rf libconftest.dylib*
7325 echo "int foo(void){return 1;}" > conftest.c
7326 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7327 -dynamiclib -Wl,-single_module conftest.c" >&5
7328 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7329 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7331 # If there is a non-empty error log, and "single_module"
7332 # appears in it, assume the flag caused a linker warning
7333 if test -s conftest.err && $GREP single_module conftest.err; then
7334 cat conftest.err >&5
7335 # Otherwise, if the output was created with a 0 exit code from
7336 # the compiler, it worked.
7337 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7338 lt_cv_apple_cc_single_mod=yes
7340 cat conftest.err >&5
7342 rm -rf libconftest.dylib*
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7347 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7350 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7351 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7352 $as_echo_n "(cached) " >&6
7354 lt_cv_ld_exported_symbols_list=no
7355 save_LDFLAGS=$LDFLAGS
7356 echo "_main" > conftest.sym
7357 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7369 if ac_fn_c_try_link "$LINENO"; then :
7370 lt_cv_ld_exported_symbols_list=yes
7372 lt_cv_ld_exported_symbols_list=no
7374 rm -f core conftest.err conftest.$ac_objext \
7375 conftest$ac_exeext conftest.$ac_ext
7376 LDFLAGS="$save_LDFLAGS"
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7380 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7383 $as_echo_n "checking for -force_load linker flag... " >&6; }
7384 if ${lt_cv_ld_force_load+:} false; then :
7385 $as_echo_n "(cached) " >&6
7387 lt_cv_ld_force_load=no
7388 cat > conftest.c << _LT_EOF
7389 int forced_loaded() { return 2;}
7391 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7392 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7393 echo "$AR cru libconftest.a conftest.o" >&5
7394 $AR cru libconftest.a conftest.o 2>&5
7395 echo "$RANLIB libconftest.a" >&5
7396 $RANLIB libconftest.a 2>&5
7397 cat > conftest.c << _LT_EOF
7398 int main() { return 0;}
7400 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7401 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7403 if test -s conftest.err && $GREP force_load conftest.err; then
7404 cat conftest.err >&5
7405 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7406 lt_cv_ld_force_load=yes
7408 cat conftest.err >&5
7410 rm -f conftest.err libconftest.a conftest conftest.c
7411 rm -rf conftest.dSYM
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7415 $as_echo "$lt_cv_ld_force_load" >&6; }
7417 rhapsody* | darwin1.[012])
7418 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7420 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7421 darwin*) # darwin 5.x on
7422 # if running on 10.5 or later, the deployment target defaults
7423 # to the OS version, if on x86, and 10.4, the deployment
7424 # target defaults to 10.4. Don't you love it?
7425 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7426 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7427 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7429 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7431 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7435 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7436 _lt_dar_single_mod='$single_module'
7438 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7439 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7441 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7443 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7444 _lt_dsymutil='~$DSYMUTIL $lib || :'
7452 ac_cpp='$CPP $CPPFLAGS'
7453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7457 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7458 # On Suns, sometimes $CPP names a directory.
7459 if test -n "$CPP" && test -d "$CPP"; then
7462 if test -z "$CPP"; then
7463 if ${ac_cv_prog_CPP+:} false; then :
7464 $as_echo_n "(cached) " >&6
7466 # Double quotes because CPP needs to be expanded
7467 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7470 for ac_c_preproc_warn_flag in '' yes
7472 # Use a header file that comes with gcc, so configuring glibc
7473 # with a fresh cross-compiler works.
7474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7475 # <limits.h> exists even on freestanding compilers.
7476 # On the NeXT, cc -E runs the code through the compiler's parser,
7477 # not just through cpp. "Syntax error" is here to catch this case.
7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7481 # include <limits.h>
7483 # include <assert.h>
7487 if ac_fn_c_try_cpp "$LINENO"; then :
7490 # Broken: fails on valid input.
7493 rm -f conftest.err conftest.i conftest.$ac_ext
7495 # OK, works on sane cases. Now check whether nonexistent headers
7496 # can be detected and how.
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7499 #include <ac_nonexistent.h>
7501 if ac_fn_c_try_cpp "$LINENO"; then :
7502 # Broken: success on invalid input.
7505 # Passes both tests.
7509 rm -f conftest.err conftest.i conftest.$ac_ext
7512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7513 rm -f conftest.i conftest.err conftest.$ac_ext
7514 if $ac_preproc_ok; then :
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7527 $as_echo "$CPP" >&6; }
7529 for ac_c_preproc_warn_flag in '' yes
7531 # Use a header file that comes with gcc, so configuring glibc
7532 # with a fresh cross-compiler works.
7533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7534 # <limits.h> exists even on freestanding compilers.
7535 # On the NeXT, cc -E runs the code through the compiler's parser,
7536 # not just through cpp. "Syntax error" is here to catch this case.
7537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h. */
7540 # include <limits.h>
7542 # include <assert.h>
7546 if ac_fn_c_try_cpp "$LINENO"; then :
7549 # Broken: fails on valid input.
7552 rm -f conftest.err conftest.i conftest.$ac_ext
7554 # OK, works on sane cases. Now check whether nonexistent headers
7555 # can be detected and how.
7556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557 /* end confdefs.h. */
7558 #include <ac_nonexistent.h>
7560 if ac_fn_c_try_cpp "$LINENO"; then :
7561 # Broken: success on invalid input.
7564 # Passes both tests.
7568 rm -f conftest.err conftest.i conftest.$ac_ext
7571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7572 rm -f conftest.i conftest.err conftest.$ac_ext
7573 if $ac_preproc_ok; then :
7576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7578 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7579 See \`config.log' for more details" "$LINENO" 5; }
7583 ac_cpp='$CPP $CPPFLAGS'
7584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7590 $as_echo_n "checking for ANSI C header files... " >&6; }
7591 if ${ac_cv_header_stdc+:} false; then :
7592 $as_echo_n "(cached) " >&6
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7609 if ac_fn_c_try_compile "$LINENO"; then :
7610 ac_cv_header_stdc=yes
7612 ac_cv_header_stdc=no
7614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7616 if test $ac_cv_header_stdc = yes; then
7617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7624 $EGREP "memchr" >/dev/null 2>&1; then :
7627 ac_cv_header_stdc=no
7633 if test $ac_cv_header_stdc = yes; then
7634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7641 $EGREP "free" >/dev/null 2>&1; then :
7644 ac_cv_header_stdc=no
7650 if test $ac_cv_header_stdc = yes; then
7651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7652 if test "$cross_compiling" = yes; then :
7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7659 #if ((' ' & 0x0FF) == 0x020)
7660 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7661 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7663 # define ISLOWER(c) \
7664 (('a' <= (c) && (c) <= 'i') \
7665 || ('j' <= (c) && (c) <= 'r') \
7666 || ('s' <= (c) && (c) <= 'z'))
7667 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7670 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7675 for (i = 0; i < 256; i++)
7676 if (XOR (islower (i), ISLOWER (i))
7677 || toupper (i) != TOUPPER (i))
7682 if ac_fn_c_try_run "$LINENO"; then :
7685 ac_cv_header_stdc=no
7687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7688 conftest.$ac_objext conftest.beam conftest.$ac_ext
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7694 $as_echo "$ac_cv_header_stdc" >&6; }
7695 if test $ac_cv_header_stdc = yes; then
7697 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7701 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7702 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7703 inttypes.h stdint.h unistd.h
7705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7706 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7709 cat >>confdefs.h <<_ACEOF
7710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7718 for ac_header in dlfcn.h
7720 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7722 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define HAVE_DLFCN_H 1
7737 # Check whether --enable-static was given.
7738 if test "${enable_static+set}" = set; then :
7739 enableval=$enable_static; p=${PACKAGE-default}
7741 yes) enable_static=yes ;;
7742 no) enable_static=no ;;
7745 # Look at the argument we got. We use all the common list separators.
7746 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7747 for pkg in $enableval; do
7749 if test "X$pkg" = "X$p"; then
7773 # Check whether --enable-shared was given.
7774 if test "${enable_shared+set}" = set; then :
7775 enableval=$enable_shared; p=${PACKAGE-default}
7777 yes) enable_shared=yes ;;
7778 no) enable_shared=no ;;
7781 # Look at the argument we got. We use all the common list separators.
7782 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7783 for pkg in $enableval; do
7785 if test "X$pkg" = "X$p"; then
7806 # Check whether --with-pic was given.
7807 if test "${with_pic+set}" = set; then :
7808 withval=$with_pic; lt_p=${PACKAGE-default}
7810 yes|no) pic_mode=$withval ;;
7813 # Look at the argument we got. We use all the common list separators.
7814 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7815 for lt_pkg in $withval; do
7817 if test "X$lt_pkg" = "X$lt_p"; then
7829 test -z "$pic_mode" && pic_mode=default
7837 # Check whether --enable-fast-install was given.
7838 if test "${enable_fast_install+set}" = set; then :
7839 enableval=$enable_fast_install; p=${PACKAGE-default}
7841 yes) enable_fast_install=yes ;;
7842 no) enable_fast_install=no ;;
7844 enable_fast_install=no
7845 # Look at the argument we got. We use all the common list separators.
7846 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7847 for pkg in $enableval; do
7849 if test "X$pkg" = "X$p"; then
7850 enable_fast_install=yes
7857 enable_fast_install=yes
7870 # This can be used to rebuild libtool when needed
7871 LIBTOOL_DEPS="$ltmain"
7873 # Always use our own libtool.
7874 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7905 test -z "$LN_S" && LN_S="ln -s"
7920 if test -n "${ZSH_VERSION+set}" ; then
7921 setopt NO_GLOB_SUBST
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7925 $as_echo_n "checking for objdir... " >&6; }
7926 if ${lt_cv_objdir+:} false; then :
7927 $as_echo_n "(cached) " >&6
7929 rm -f .libs 2>/dev/null
7930 mkdir .libs 2>/dev/null
7931 if test -d .libs; then
7934 # MS-DOS does not allow filenames that begin with a dot.
7937 rmdir .libs 2>/dev/null
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7940 $as_echo "$lt_cv_objdir" >&6; }
7941 objdir=$lt_cv_objdir
7947 cat >>confdefs.h <<_ACEOF
7948 #define LT_OBJDIR "$lt_cv_objdir/"
7956 # AIX sometimes has problems with the GCC collect2 program. For some
7957 # reason, if we set the COLLECT_NAMES environment variable, the problems
7958 # vanish in a puff of smoke.
7959 if test "X${COLLECT_NAMES+set}" != Xset; then
7961 export COLLECT_NAMES
7968 can_build_shared=yes
7970 # All known linkers require a `.a' archive for static linking (except MSVC,
7971 # which needs '.lib').
7974 with_gnu_ld="$lt_cv_prog_gnu_ld"
7977 old_CFLAGS="$CFLAGS"
7979 # Set sane defaults for various variables
7980 test -z "$CC" && CC=cc
7981 test -z "$LTCC" && LTCC=$CC
7982 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7983 test -z "$LD" && LD=ld
7984 test -z "$ac_objext" && ac_objext=o
7986 for cc_temp in $compiler""; do
7988 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7989 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7994 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7997 # Only perform the check for file, if the check method requires it
7998 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7999 case $deplibs_check_method in
8001 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8003 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8004 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8005 $as_echo_n "(cached) " >&6
8009 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8012 lt_save_MAGIC_CMD="$MAGIC_CMD"
8013 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8014 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8015 for ac_dir in $ac_dummy; do
8017 test -z "$ac_dir" && ac_dir=.
8018 if test -f $ac_dir/${ac_tool_prefix}file; then
8019 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8020 if test -n "$file_magic_test_file"; then
8021 case $deplibs_check_method in
8023 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8024 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8025 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8026 $EGREP "$file_magic_regex" > /dev/null; then
8031 *** Warning: the command libtool uses to detect shared libraries,
8032 *** $file_magic_cmd, produces output that libtool cannot recognize.
8033 *** The result is that libtool may fail to recognize shared libraries
8034 *** as such. This will affect the creation of libtool libraries that
8035 *** depend on shared libraries, but programs linked with such libtool
8036 *** libraries will work regardless of this problem. Nevertheless, you
8037 *** may want to report the problem to your system manager and/or to
8038 *** bug-libtool@gnu.org
8048 MAGIC_CMD="$lt_save_MAGIC_CMD"
8053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054 if test -n "$MAGIC_CMD"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8056 $as_echo "$MAGIC_CMD" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8066 if test -z "$lt_cv_path_MAGIC_CMD"; then
8067 if test -n "$ac_tool_prefix"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8069 $as_echo_n "checking for file... " >&6; }
8070 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8071 $as_echo_n "(cached) " >&6
8075 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8078 lt_save_MAGIC_CMD="$MAGIC_CMD"
8079 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8080 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8081 for ac_dir in $ac_dummy; do
8083 test -z "$ac_dir" && ac_dir=.
8084 if test -f $ac_dir/file; then
8085 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8086 if test -n "$file_magic_test_file"; then
8087 case $deplibs_check_method in
8089 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8090 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8091 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8092 $EGREP "$file_magic_regex" > /dev/null; then
8097 *** Warning: the command libtool uses to detect shared libraries,
8098 *** $file_magic_cmd, produces output that libtool cannot recognize.
8099 *** The result is that libtool may fail to recognize shared libraries
8100 *** as such. This will affect the creation of libtool libraries that
8101 *** depend on shared libraries, but programs linked with such libtool
8102 *** libraries will work regardless of this problem. Nevertheless, you
8103 *** may want to report the problem to your system manager and/or to
8104 *** bug-libtool@gnu.org
8114 MAGIC_CMD="$lt_save_MAGIC_CMD"
8119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8120 if test -n "$MAGIC_CMD"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8122 $as_echo "$MAGIC_CMD" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8138 # Use C for the default configuration in the libtool script
8142 ac_cpp='$CPP $CPPFLAGS'
8143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8148 # Source file extension for C test sources.
8151 # Object file extension for compiled C test sources.
8155 # Code to be used in simple compile tests
8156 lt_simple_compile_test_code="int some_variable = 0;"
8158 # Code to be used in simple link tests
8159 lt_simple_link_test_code='int main(){return(0);}'
8167 # If no C compiler was specified, use CC.
8170 # If no C compiler flags were specified, use CFLAGS.
8171 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8173 # Allow CC to be a program name with arguments.
8176 # Save the default compiler, since it gets overwritten when the other
8177 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8178 compiler_DEFAULT=$CC
8180 # save warnings/boilerplate of simple test code
8181 ac_outfile=conftest.$ac_objext
8182 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8183 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8184 _lt_compiler_boilerplate=`cat conftest.err`
8187 ac_outfile=conftest.$ac_objext
8188 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8189 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8190 _lt_linker_boilerplate=`cat conftest.err`
8195 ## There is no encapsulation within the following macros, do not change
8196 ## the running order or otherwise move them around unless you know exactly
8197 ## what you are doing...
8198 if test -n "$compiler"; then
8200 lt_prog_compiler_no_builtin_flag=
8202 if test "$GCC" = yes; then
8203 case $cc_basename in
8205 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8207 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8211 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8212 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8213 $as_echo_n "(cached) " >&6
8215 lt_cv_prog_compiler_rtti_exceptions=no
8216 ac_outfile=conftest.$ac_objext
8217 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8218 lt_compiler_flag="-fno-rtti -fno-exceptions"
8219 # Insert the option either (1) after the last *FLAGS variable, or
8220 # (2) before a word containing "conftest.", or (3) at the end.
8221 # Note that $ac_compile itself does not contain backslashes and begins
8222 # with a dollar sign (not a hyphen), so the echo should work correctly.
8223 # The option is referenced via a variable to avoid confusing sed.
8224 lt_compile=`echo "$ac_compile" | $SED \
8225 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8226 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8227 -e 's:$: $lt_compiler_flag:'`
8228 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8229 (eval "$lt_compile" 2>conftest.err)
8231 cat conftest.err >&5
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 if (exit $ac_status) && test -s "$ac_outfile"; then
8234 # The compiler can only warn and ignore the option if not recognized
8235 # So say no if there are warnings other than the usual output.
8236 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8237 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8238 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8239 lt_cv_prog_compiler_rtti_exceptions=yes
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8246 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8248 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8249 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8261 lt_prog_compiler_wl=
8262 lt_prog_compiler_pic=
8263 lt_prog_compiler_static=
8266 if test "$GCC" = yes; then
8267 lt_prog_compiler_wl='-Wl,'
8268 lt_prog_compiler_static='-static'
8272 # All AIX code is PIC.
8273 if test "$host_cpu" = ia64; then
8274 # AIX 5 now supports IA64 processor
8275 lt_prog_compiler_static='-Bstatic'
8282 # see comment about AmigaOS4 .so support
8283 lt_prog_compiler_pic='-fPIC'
8286 # FIXME: we need at least 68020 code to build shared libraries, but
8287 # adding the `-m68020' flag to GCC prevents building anything better,
8289 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8294 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8295 # PIC is the default for these OSes.
8298 mingw* | cygwin* | pw32* | os2* | cegcc*)
8299 # This hack is so that the source file can tell whether it is being
8300 # built for inclusion in a dll (and should export symbols for example).
8301 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8302 # (--disable-auto-import) libraries
8303 lt_prog_compiler_pic='-DDLL_EXPORT'
8306 darwin* | rhapsody*)
8307 # PIC is the default on this platform
8308 # Common symbols not allowed in MH_DYLIB files
8309 lt_prog_compiler_pic='-fno-common'
8313 # PIC is the default for Haiku.
8314 # The "-static" flag exists, but is broken.
8315 lt_prog_compiler_static=
8319 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8320 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8321 # sets the default TLS model and affects inlining.
8327 lt_prog_compiler_pic='-fPIC'
8333 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8334 # Instead, we relocate shared libraries at runtime.
8338 # Just because we use GCC doesn't mean we suddenly get shared libraries
8339 # on systems that don't support them.
8340 lt_prog_compiler_can_build_shared=no
8345 # QNX uses GNU C++, but need to define -shared option too, otherwise
8347 lt_prog_compiler_pic='-fPIC -shared'
8351 if test -d /usr/nec; then
8352 lt_prog_compiler_pic=-Kconform_pic
8357 lt_prog_compiler_pic='-fPIC'
8361 case $cc_basename in
8362 nvcc*) # Cuda Compiler Driver 2.2
8363 lt_prog_compiler_wl='-Xlinker '
8364 if test -n "$lt_prog_compiler_pic"; then
8365 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8370 # PORTME Check for flag to pass linker flags through the system compiler.
8373 lt_prog_compiler_wl='-Wl,'
8374 if test "$host_cpu" = ia64; then
8375 # AIX 5 now supports IA64 processor
8376 lt_prog_compiler_static='-Bstatic'
8378 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8382 mingw* | cygwin* | pw32* | os2* | cegcc*)
8383 # This hack is so that the source file can tell whether it is being
8384 # built for inclusion in a dll (and should export symbols for example).
8385 lt_prog_compiler_pic='-DDLL_EXPORT'
8388 hpux9* | hpux10* | hpux11*)
8389 lt_prog_compiler_wl='-Wl,'
8390 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8397 lt_prog_compiler_pic='+Z'
8400 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8401 lt_prog_compiler_static='${wl}-a ${wl}archive'
8404 irix5* | irix6* | nonstopux*)
8405 lt_prog_compiler_wl='-Wl,'
8406 # PIC (with -KPIC) is the default.
8407 lt_prog_compiler_static='-non_shared'
8410 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8411 case $cc_basename in
8412 # old Intel for x86_64 which still supported -KPIC.
8414 lt_prog_compiler_wl='-Wl,'
8415 lt_prog_compiler_pic='-KPIC'
8416 lt_prog_compiler_static='-static'
8418 # icc used to be incompatible with GCC.
8419 # ICC 10 doesn't accept -KPIC any more.
8421 lt_prog_compiler_wl='-Wl,'
8422 lt_prog_compiler_pic='-fPIC'
8423 lt_prog_compiler_static='-static'
8425 # Lahey Fortran 8.1.
8427 lt_prog_compiler_wl='-Wl,'
8428 lt_prog_compiler_pic='--shared'
8429 lt_prog_compiler_static='--static'
8432 # NAG Fortran compiler
8433 lt_prog_compiler_wl='-Wl,-Wl,,'
8434 lt_prog_compiler_pic='-PIC'
8435 lt_prog_compiler_static='-Bstatic'
8437 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8438 # Portland Group compilers (*not* the Pentium gcc compiler,
8439 # which looks to be a dead project)
8440 lt_prog_compiler_wl='-Wl,'
8441 lt_prog_compiler_pic='-fpic'
8442 lt_prog_compiler_static='-Bstatic'
8445 lt_prog_compiler_wl='-Wl,'
8446 # All Alpha code is PIC.
8447 lt_prog_compiler_static='-non_shared'
8449 xl* | bgxl* | bgf* | mpixl*)
8450 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8451 lt_prog_compiler_wl='-Wl,'
8452 lt_prog_compiler_pic='-qpic'
8453 lt_prog_compiler_static='-qstaticlink'
8456 case `$CC -V 2>&1 | sed 5q` in
8457 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8458 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8459 lt_prog_compiler_pic='-KPIC'
8460 lt_prog_compiler_static='-Bstatic'
8461 lt_prog_compiler_wl=''
8463 *Sun\ F* | *Sun*Fortran*)
8464 lt_prog_compiler_pic='-KPIC'
8465 lt_prog_compiler_static='-Bstatic'
8466 lt_prog_compiler_wl='-Qoption ld '
8470 lt_prog_compiler_pic='-KPIC'
8471 lt_prog_compiler_static='-Bstatic'
8472 lt_prog_compiler_wl='-Wl,'
8474 *Intel*\ [CF]*Compiler*)
8475 lt_prog_compiler_wl='-Wl,'
8476 lt_prog_compiler_pic='-fPIC'
8477 lt_prog_compiler_static='-static'
8480 lt_prog_compiler_wl='-Wl,'
8481 lt_prog_compiler_pic='-fpic'
8482 lt_prog_compiler_static='-Bstatic'
8490 lt_prog_compiler_pic='-KPIC'
8491 lt_prog_compiler_static='-Bstatic'
8495 # QNX uses GNU C++, but need to define -shared option too, otherwise
8497 lt_prog_compiler_pic='-fPIC -shared'
8500 osf3* | osf4* | osf5*)
8501 lt_prog_compiler_wl='-Wl,'
8502 # All OSF/1 code is PIC.
8503 lt_prog_compiler_static='-non_shared'
8507 lt_prog_compiler_static='-non_shared'
8511 lt_prog_compiler_pic='-KPIC'
8512 lt_prog_compiler_static='-Bstatic'
8513 case $cc_basename in
8514 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8515 lt_prog_compiler_wl='-Qoption ld ';;
8517 lt_prog_compiler_wl='-Wl,';;
8522 lt_prog_compiler_wl='-Qoption ld '
8523 lt_prog_compiler_pic='-PIC'
8524 lt_prog_compiler_static='-Bstatic'
8527 sysv4 | sysv4.2uw2* | sysv4.3*)
8528 lt_prog_compiler_wl='-Wl,'
8529 lt_prog_compiler_pic='-KPIC'
8530 lt_prog_compiler_static='-Bstatic'
8534 if test -d /usr/nec ;then
8535 lt_prog_compiler_pic='-Kconform_pic'
8536 lt_prog_compiler_static='-Bstatic'
8540 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8541 lt_prog_compiler_wl='-Wl,'
8542 lt_prog_compiler_pic='-KPIC'
8543 lt_prog_compiler_static='-Bstatic'
8547 lt_prog_compiler_wl='-Wl,'
8548 lt_prog_compiler_can_build_shared=no
8552 lt_prog_compiler_pic='-pic'
8553 lt_prog_compiler_static='-Bstatic'
8557 lt_prog_compiler_can_build_shared=no
8563 # For platforms which do not support PIC, -DPIC is meaningless:
8565 lt_prog_compiler_pic=
8568 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8573 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8574 if ${lt_cv_prog_compiler_pic+:} false; then :
8575 $as_echo_n "(cached) " >&6
8577 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8580 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8581 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8584 # Check to make sure the PIC flag actually works.
8586 if test -n "$lt_prog_compiler_pic"; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8588 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8589 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8590 $as_echo_n "(cached) " >&6
8592 lt_cv_prog_compiler_pic_works=no
8593 ac_outfile=conftest.$ac_objext
8594 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8595 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8596 # Insert the option either (1) after the last *FLAGS variable, or
8597 # (2) before a word containing "conftest.", or (3) at the end.
8598 # Note that $ac_compile itself does not contain backslashes and begins
8599 # with a dollar sign (not a hyphen), so the echo should work correctly.
8600 # The option is referenced via a variable to avoid confusing sed.
8601 lt_compile=`echo "$ac_compile" | $SED \
8602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8604 -e 's:$: $lt_compiler_flag:'`
8605 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8606 (eval "$lt_compile" 2>conftest.err)
8608 cat conftest.err >&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 if (exit $ac_status) && test -s "$ac_outfile"; then
8611 # The compiler can only warn and ignore the option if not recognized
8612 # So say no if there are warnings other than the usual output.
8613 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8614 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8615 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8616 lt_cv_prog_compiler_pic_works=yes
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8623 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8625 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8626 case $lt_prog_compiler_pic in
8628 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8631 lt_prog_compiler_pic=
8632 lt_prog_compiler_can_build_shared=no
8648 # Check to make sure the static flag actually works.
8650 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8652 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8653 if ${lt_cv_prog_compiler_static_works+:} false; then :
8654 $as_echo_n "(cached) " >&6
8656 lt_cv_prog_compiler_static_works=no
8657 save_LDFLAGS="$LDFLAGS"
8658 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8659 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8660 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8661 # The linker can only warn and ignore the option if not recognized
8662 # So say no if there are warnings
8663 if test -s conftest.err; then
8664 # Append any errors to the config.log.
8665 cat conftest.err 1>&5
8666 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8667 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8668 if diff conftest.exp conftest.er2 >/dev/null; then
8669 lt_cv_prog_compiler_static_works=yes
8672 lt_cv_prog_compiler_static_works=yes
8676 LDFLAGS="$save_LDFLAGS"
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8680 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8682 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8685 lt_prog_compiler_static=
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8695 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8696 if ${lt_cv_prog_compiler_c_o+:} false; then :
8697 $as_echo_n "(cached) " >&6
8699 lt_cv_prog_compiler_c_o=no
8700 $RM -r conftest 2>/dev/null
8704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8706 lt_compiler_flag="-o out/conftest2.$ac_objext"
8707 # Insert the option either (1) after the last *FLAGS variable, or
8708 # (2) before a word containing "conftest.", or (3) at the end.
8709 # Note that $ac_compile itself does not contain backslashes and begins
8710 # with a dollar sign (not a hyphen), so the echo should work correctly.
8711 lt_compile=`echo "$ac_compile" | $SED \
8712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8714 -e 's:$: $lt_compiler_flag:'`
8715 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8716 (eval "$lt_compile" 2>out/conftest.err)
8718 cat out/conftest.err >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8722 # The compiler can only warn and ignore the option if not recognized
8723 # So say no if there are warnings
8724 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8725 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8726 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8727 lt_cv_prog_compiler_c_o=yes
8732 # SGI C++ compiler will create directory out/ii_files/ for
8733 # template instantiation
8734 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8735 $RM out/* && rmdir out
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8742 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8751 if ${lt_cv_prog_compiler_c_o+:} false; then :
8752 $as_echo_n "(cached) " >&6
8754 lt_cv_prog_compiler_c_o=no
8755 $RM -r conftest 2>/dev/null
8759 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8761 lt_compiler_flag="-o out/conftest2.$ac_objext"
8762 # Insert the option either (1) after the last *FLAGS variable, or
8763 # (2) before a word containing "conftest.", or (3) at the end.
8764 # Note that $ac_compile itself does not contain backslashes and begins
8765 # with a dollar sign (not a hyphen), so the echo should work correctly.
8766 lt_compile=`echo "$ac_compile" | $SED \
8767 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8769 -e 's:$: $lt_compiler_flag:'`
8770 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8771 (eval "$lt_compile" 2>out/conftest.err)
8773 cat out/conftest.err >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8777 # The compiler can only warn and ignore the option if not recognized
8778 # So say no if there are warnings
8779 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8780 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8781 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8782 lt_cv_prog_compiler_c_o=yes
8787 # SGI C++ compiler will create directory out/ii_files/ for
8788 # template instantiation
8789 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8790 $RM out/* && rmdir out
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8797 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8802 hard_links="nottested"
8803 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8804 # do not overwrite the value of need_locks provided by the user
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8806 $as_echo_n "checking if we can lock with hard links... " >&6; }
8809 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8811 ln conftest.a conftest.b 2>&5 || hard_links=no
8812 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8814 $as_echo "$hard_links" >&6; }
8815 if test "$hard_links" = no; then
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8817 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8830 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8833 allow_undefined_flag=
8834 always_export_symbols=no
8836 archive_expsym_cmds=
8837 compiler_needs_object=no
8838 enable_shared_with_static_runtimes=no
8839 export_dynamic_flag_spec=
8840 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8841 hardcode_automatic=no
8843 hardcode_direct_absolute=no
8844 hardcode_libdir_flag_spec=
8845 hardcode_libdir_separator=
8847 hardcode_shlibpath_var=unsupported
8849 link_all_deplibs=unknown
8852 old_archive_from_new_cmds=
8853 old_archive_from_expsyms_cmds=
8854 thread_safe_flag_spec=
8855 whole_archive_flag_spec=
8856 # include_expsyms should be a list of space-separated symbols to be *always*
8857 # included in the symbol list
8859 # exclude_expsyms can be an extended regexp of symbols to exclude
8860 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8861 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8862 # as well as any symbol that contains `d'.
8863 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8864 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8865 # platforms (ab)use it in PIC code, but their linkers get confused if
8866 # the symbol is explicitly referenced. Since portable code cannot
8867 # rely on this symbol name, it's probably fine to never include it in
8868 # preloaded symbol tables.
8869 # Exclude shared library initialization/finalization symbols.
8870 extract_expsyms_cmds=
8873 cygwin* | mingw* | pw32* | cegcc*)
8874 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8875 # When not using gcc, we currently assume that we are using
8876 # Microsoft Visual C++.
8877 if test "$GCC" != yes; then
8882 # we just hope/assume this is gcc and not c89 (= MSVC++)
8888 linux* | k*bsd*-gnu | gnu*)
8895 # On some targets, GNU ld is compatible enough with the native linker
8896 # that we're better off using the native interface for both.
8897 lt_use_gnu_ld_interface=no
8898 if test "$with_gnu_ld" = yes; then
8901 # The AIX port of GNU ld has always aspired to compatibility
8902 # with the native linker. However, as the warning in the GNU ld
8903 # block says, versions before 2.19.5* couldn't really create working
8904 # shared libraries, regardless of the interface used.
8905 case `$LD -v 2>&1` in
8906 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8907 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8908 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8910 lt_use_gnu_ld_interface=yes
8915 lt_use_gnu_ld_interface=yes
8920 if test "$lt_use_gnu_ld_interface" = yes; then
8921 # If archive_cmds runs LD, not CC, wlarc should be empty
8924 # Set some defaults for GNU ld with shared library support. These
8925 # are reset later if shared libraries are not supported. Putting them
8926 # here allows them to be overridden if necessary.
8927 runpath_var=LD_RUN_PATH
8928 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8929 export_dynamic_flag_spec='${wl}--export-dynamic'
8930 # ancient GNU ld didn't support --whole-archive et. al.
8931 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8932 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8934 whole_archive_flag_spec=
8936 supports_anon_versioning=no
8937 case `$LD -v 2>&1` in
8938 *GNU\ gold*) supports_anon_versioning=yes ;;
8939 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8940 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8941 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8942 *\ 2.11.*) ;; # other 2.11 versions
8943 *) supports_anon_versioning=yes ;;
8946 # See if GNU ld supports shared libraries.
8949 # On AIX/PPC, the GNU linker is very broken
8950 if test "$host_cpu" != ia64; then
8954 *** Warning: the GNU linker, at least up to release 2.19, is reported
8955 *** to be unable to reliably create shared libraries on AIX.
8956 *** Therefore, libtool is disabling shared libraries support. If you
8957 *** really care for shared libraries, you may want to install binutils
8958 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8959 *** You will then need to restart the configuration process.
8968 # see comment about AmigaOS4 .so support
8969 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970 archive_expsym_cmds=''
8973 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)'
8974 hardcode_libdir_flag_spec='-L$libdir'
8975 hardcode_minus_L=yes
8981 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8982 allow_undefined_flag=unsupported
8983 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8984 # support --undefined. This deserves some investigation. FIXME
8985 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8991 cygwin* | mingw* | pw32* | cegcc*)
8992 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8993 # as there is no search path for DLLs.
8994 hardcode_libdir_flag_spec='-L$libdir'
8995 export_dynamic_flag_spec='${wl}--export-all-symbols'
8996 allow_undefined_flag=unsupported
8997 always_export_symbols=no
8998 enable_shared_with_static_runtimes=yes
8999 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'
9000 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9002 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9003 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9004 # If the export-symbols file already is a .def file (1st line
9005 # is EXPORTS), use it as is; otherwise, prepend...
9006 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9007 cp $export_symbols $output_objdir/$soname.def;
9009 echo EXPORTS > $output_objdir/$soname.def;
9010 cat $export_symbols >> $output_objdir/$soname.def;
9012 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9020 link_all_deplibs=yes
9025 hardcode_shlibpath_var=no
9026 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9027 export_dynamic_flag_spec='${wl}-E'
9028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9029 # Instead, shared libraries are loaded at an image base (0x10000000 by
9030 # default) and relocated if they conflict, which is a slow very memory
9031 # consuming and fragmenting process. To avoid this, we pick a random,
9032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9034 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9035 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'
9038 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9040 if test "$host_os" = linux-dietlibc; then
9041 case $cc_basename in
9042 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9045 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9046 && test "$tmp_diet" = no
9048 tmp_addflag=' $pic_flag'
9049 tmp_sharedflag='-shared'
9050 case $cc_basename,$host_cpu in
9051 pgcc*) # Portland Group C compiler
9052 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'
9053 tmp_addflag=' $pic_flag'
9055 pgf77* | pgf90* | pgf95* | pgfortran*)
9056 # Portland Group f77 and f90 compilers
9057 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'
9058 tmp_addflag=' $pic_flag -Mnomain' ;;
9059 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9060 tmp_addflag=' -i_dynamic' ;;
9061 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9062 tmp_addflag=' -i_dynamic -nofor_main' ;;
9063 ifc* | ifort*) # Intel Fortran compiler
9064 tmp_addflag=' -nofor_main' ;;
9065 lf95*) # Lahey Fortran 8.1
9066 whole_archive_flag_spec=
9067 tmp_sharedflag='--shared' ;;
9068 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9069 tmp_sharedflag='-qmkshrobj'
9071 nvcc*) # Cuda Compiler Driver 2.2
9072 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'
9073 compiler_needs_object=yes
9076 case `$CC -V 2>&1 | sed 5q` in
9077 *Sun\ C*) # Sun C 5.9
9078 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'
9079 compiler_needs_object=yes
9080 tmp_sharedflag='-G' ;;
9081 *Sun\ F*) # Sun Fortran 8.3
9082 tmp_sharedflag='-G' ;;
9084 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9086 if test "x$supports_anon_versioning" = xyes; then
9087 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9088 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9089 echo "local: *; };" >> $output_objdir/$libname.ver~
9090 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9093 case $cc_basename in
9094 xlf* | bgf* | bgxlf* | mpixlf*)
9095 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9096 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9097 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9098 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9099 if test "x$supports_anon_versioning" = xyes; then
9100 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9101 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9102 echo "local: *; };" >> $output_objdir/$libname.ver~
9103 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9112 netbsd* | netbsdelf*-gnu)
9113 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9114 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9117 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9118 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9123 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9127 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9128 *** create shared libraries on Solaris systems. Therefore, libtool
9129 *** is disabling shared libraries support. We urge you to upgrade GNU
9130 *** binutils to release 2.9.1 or newer. Another option is to modify
9131 *** your PATH or compiler configuration so that the native linker is
9132 *** used, and then restart.
9135 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9136 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9143 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9144 case `$LD -v 2>&1` in
9145 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9149 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9150 *** reliably create shared libraries on SCO systems. Therefore, libtool
9151 *** is disabling shared libraries support. We urge you to upgrade GNU
9152 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9153 *** your PATH or compiler configuration so that the native linker is
9154 *** used, and then restart.
9159 # For security reasons, it is highly recommended that you always
9160 # use absolute paths for naming shared libraries, and exclude the
9161 # DT_RUNPATH tag from executables and libraries. But doing so
9162 # requires that you compile everything twice, which is a pain.
9163 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9164 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9165 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9175 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9178 hardcode_shlibpath_var=no
9182 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9183 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9191 if test "$ld_shlibs" = no; then
9193 hardcode_libdir_flag_spec=
9194 export_dynamic_flag_spec=
9195 whole_archive_flag_spec=
9198 # PORTME fill in a description of your system's linker (not GNU ld)
9201 allow_undefined_flag=unsupported
9202 always_export_symbols=yes
9203 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'
9204 # Note: this linker hardcodes the directories in LIBPATH if there
9205 # are no directories specified by -L.
9206 hardcode_minus_L=yes
9207 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9208 # Neither direct hardcoding nor static linking is supported with a
9210 hardcode_direct=unsupported
9215 if test "$host_cpu" = ia64; then
9216 # On IA64, the linker does run time linking by default, so we don't
9217 # have to do anything special.
9218 aix_use_runtimelinking=no
9219 exp_sym_flag='-Bexport'
9222 # If we're using GNU nm, then we don't want the "-C" option.
9223 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9224 # Also, AIX nm treats weak defined symbols like other global
9225 # defined symbols, whereas GNU nm marks them as "W".
9226 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9227 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'
9229 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'
9231 aix_use_runtimelinking=no
9233 # Test if we are trying to use run time linking or normal
9234 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9235 # need to do runtime linking.
9236 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9237 for ld_flag in $LDFLAGS; do
9238 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9239 aix_use_runtimelinking=yes
9246 exp_sym_flag='-bexport'
9247 no_entry_flag='-bnoentry'
9250 # When large executables or shared objects are built, AIX ld can
9251 # have problems creating the table of contents. If linking a library
9252 # or program results in "error TOC overflow" add -mminimal-toc to
9253 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9254 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9258 hardcode_direct_absolute=yes
9259 hardcode_libdir_separator=':'
9260 link_all_deplibs=yes
9261 file_list_spec='${wl}-f,'
9263 if test "$GCC" = yes; then
9264 case $host_os in aix4.[012]|aix4.[012].*)
9265 # We only want to do this on AIX 4.2 and lower, the check
9266 # below for broken collect2 doesn't work under 4.3+
9267 collect2name=`${CC} -print-prog-name=collect2`
9268 if test -f "$collect2name" &&
9269 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9271 # We have reworked collect2
9274 # We have old collect2
9275 hardcode_direct=unsupported
9276 # It fails to find uninstalled libraries when the uninstalled
9277 # path is not listed in the libpath. Setting hardcode_minus_L
9278 # to unsupported forces relinking
9279 hardcode_minus_L=yes
9280 hardcode_libdir_flag_spec='-L$libdir'
9281 hardcode_libdir_separator=
9285 shared_flag='-shared'
9286 if test "$aix_use_runtimelinking" = yes; then
9287 shared_flag="$shared_flag "'${wl}-G'
9292 if test "$host_cpu" = ia64; then
9293 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294 # chokes on -Wl,-G. The following line is correct:
9297 if test "$aix_use_runtimelinking" = yes; then
9298 shared_flag='${wl}-G'
9300 shared_flag='${wl}-bM:SRE'
9305 export_dynamic_flag_spec='${wl}-bexpall'
9306 # It seems that -bexpall does not export symbols beginning with
9307 # underscore (_), so it is better to generate a list of symbols to export.
9308 always_export_symbols=yes
9309 if test "$aix_use_runtimelinking" = yes; then
9310 # Warning - without using the other runtime loading flags (-brtl),
9311 # -berok will link without error, but may produce a broken library.
9312 allow_undefined_flag='-berok'
9313 # Determine the default libpath from the value encoded in an
9315 if test "${lt_cv_aix_libpath+set}" = set; then
9316 aix_libpath=$lt_cv_aix_libpath
9318 if ${lt_cv_aix_libpath_+:} false; then :
9319 $as_echo_n "(cached) " >&6
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9332 if ac_fn_c_try_link "$LINENO"; then :
9334 lt_aix_libpath_sed='
9335 /Import File Strings/,/^$/ {
9337 s/^0 *\([^ ]*\) *$/\1/
9341 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9342 # Check for a 64-bit object if we didn't find anything.
9343 if test -z "$lt_cv_aix_libpath_"; then
9344 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 if test -z "$lt_cv_aix_libpath_"; then
9350 lt_cv_aix_libpath_="/usr/lib:/lib"
9355 aix_libpath=$lt_cv_aix_libpath_
9358 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9359 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"
9361 if test "$host_cpu" = ia64; then
9362 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9363 allow_undefined_flag="-z nodefs"
9364 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"
9366 # Determine the default libpath from the value encoded in an
9368 if test "${lt_cv_aix_libpath+set}" = set; then
9369 aix_libpath=$lt_cv_aix_libpath
9371 if ${lt_cv_aix_libpath_+:} false; then :
9372 $as_echo_n "(cached) " >&6
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9385 if ac_fn_c_try_link "$LINENO"; then :
9387 lt_aix_libpath_sed='
9388 /Import File Strings/,/^$/ {
9390 s/^0 *\([^ ]*\) *$/\1/
9394 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9395 # Check for a 64-bit object if we didn't find anything.
9396 if test -z "$lt_cv_aix_libpath_"; then
9397 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 if test -z "$lt_cv_aix_libpath_"; then
9403 lt_cv_aix_libpath_="/usr/lib:/lib"
9408 aix_libpath=$lt_cv_aix_libpath_
9411 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9412 # Warning - without using the other run time loading flags,
9413 # -berok will link without error, but may produce a broken library.
9414 no_undefined_flag=' ${wl}-bernotok'
9415 allow_undefined_flag=' ${wl}-berok'
9416 if test "$with_gnu_ld" = yes; then
9417 # We only use this code for GNU lds that support --whole-archive.
9418 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9420 # Exported symbols can be pulled into shared objects from archives
9421 whole_archive_flag_spec='$convenience'
9423 archive_cmds_need_lc=yes
9424 # This is similar to how AIX traditionally builds its shared libraries.
9425 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'
9433 # see comment about AmigaOS4 .so support
9434 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9435 archive_expsym_cmds=''
9438 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)'
9439 hardcode_libdir_flag_spec='-L$libdir'
9440 hardcode_minus_L=yes
9446 export_dynamic_flag_spec=-rdynamic
9449 cygwin* | mingw* | pw32* | cegcc*)
9450 # When not using gcc, we currently assume that we are using
9451 # Microsoft Visual C++.
9452 # hardcode_libdir_flag_spec is actually meaningless, as there is
9453 # no search path for DLLs.
9454 case $cc_basename in
9457 hardcode_libdir_flag_spec=' '
9458 allow_undefined_flag=unsupported
9459 always_export_symbols=yes
9461 # Tell ltmain to make .lib files, not .a files.
9463 # Tell ltmain to make .dll files, not .so files.
9465 # FIXME: Setting linknames here is a bad hack.
9466 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9467 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9468 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9470 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9472 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9474 # The linker will not automatically build a static lib if we build a DLL.
9475 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9476 enable_shared_with_static_runtimes=yes
9477 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9478 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9480 old_postinstall_cmds='chmod 644 $oldlib'
9481 postlink_cmds='lt_outputfile="@OUTPUT@"~
9482 lt_tool_outputfile="@TOOL_OUTPUT@"~
9483 case $lt_outputfile in
9486 lt_outputfile="$lt_outputfile.exe"
9487 lt_tool_outputfile="$lt_tool_outputfile.exe"
9490 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9491 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9492 $RM "$lt_outputfile.manifest";
9496 # Assume MSVC wrapper
9497 hardcode_libdir_flag_spec=' '
9498 allow_undefined_flag=unsupported
9499 # Tell ltmain to make .lib files, not .a files.
9501 # Tell ltmain to make .dll files, not .so files.
9503 # FIXME: Setting linknames here is a bad hack.
9504 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9505 # The linker will automatically build a .lib file if we build a DLL.
9506 old_archive_from_new_cmds='true'
9507 # FIXME: Should let the user specify the lib program.
9508 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9509 enable_shared_with_static_runtimes=yes
9514 darwin* | rhapsody*)
9517 archive_cmds_need_lc=no
9519 hardcode_automatic=yes
9520 hardcode_shlibpath_var=unsupported
9521 if test "$lt_cv_ld_force_load" = "yes"; then
9522 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\"`'
9525 whole_archive_flag_spec=''
9527 link_all_deplibs=yes
9528 allow_undefined_flag="$_lt_dar_allow_undefined"
9529 case $cc_basename in
9530 ifort*) _lt_dar_can_shared=yes ;;
9531 *) _lt_dar_can_shared=$GCC ;;
9533 if test "$_lt_dar_can_shared" = "yes"; then
9534 output_verbose_link_cmd=func_echo_all
9535 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9536 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9537 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}"
9538 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}"
9547 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9548 hardcode_libdir_flag_spec='-L$libdir'
9549 hardcode_shlibpath_var=no
9552 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9553 # support. Future versions do this automatically, but an explicit c++rt0.o
9554 # does not break anything, and helps significantly (at the cost of a little
9557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9558 hardcode_libdir_flag_spec='-R$libdir'
9560 hardcode_shlibpath_var=no
9563 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9565 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_minus_L=yes
9568 hardcode_shlibpath_var=no
9571 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9572 freebsd* | dragonfly*)
9573 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9574 hardcode_libdir_flag_spec='-R$libdir'
9576 hardcode_shlibpath_var=no
9580 if test "$GCC" = yes; then
9581 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'
9583 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'
9585 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9586 hardcode_libdir_separator=:
9589 # hardcode_minus_L: Not really in the search PATH,
9590 # but as the default location of the library.
9591 hardcode_minus_L=yes
9592 export_dynamic_flag_spec='${wl}-E'
9596 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9597 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9599 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9601 if test "$with_gnu_ld" = no; then
9602 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9603 hardcode_libdir_separator=:
9605 hardcode_direct_absolute=yes
9606 export_dynamic_flag_spec='${wl}-E'
9607 # hardcode_minus_L: Not really in the search PATH,
9608 # but as the default location of the library.
9609 hardcode_minus_L=yes
9614 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9617 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9623 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9629 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9636 # Older versions of the 11.00 compiler do not understand -b yet
9637 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9639 $as_echo_n "checking if $CC understands -b... " >&6; }
9640 if ${lt_cv_prog_compiler__b+:} false; then :
9641 $as_echo_n "(cached) " >&6
9643 lt_cv_prog_compiler__b=no
9644 save_LDFLAGS="$LDFLAGS"
9645 LDFLAGS="$LDFLAGS -b"
9646 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9647 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9648 # The linker can only warn and ignore the option if not recognized
9649 # So say no if there are warnings
9650 if test -s conftest.err; then
9651 # Append any errors to the config.log.
9652 cat conftest.err 1>&5
9653 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9654 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9655 if diff conftest.exp conftest.er2 >/dev/null; then
9656 lt_cv_prog_compiler__b=yes
9659 lt_cv_prog_compiler__b=yes
9663 LDFLAGS="$save_LDFLAGS"
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9667 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9669 if test x"$lt_cv_prog_compiler__b" = xyes; then
9670 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9672 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9678 if test "$with_gnu_ld" = no; then
9679 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9680 hardcode_libdir_separator=:
9685 hardcode_shlibpath_var=no
9689 hardcode_direct_absolute=yes
9690 export_dynamic_flag_spec='${wl}-E'
9692 # hardcode_minus_L: Not really in the search PATH,
9693 # but as the default location of the library.
9694 hardcode_minus_L=yes
9700 irix5* | irix6* | nonstopux*)
9701 if test "$GCC" = yes; then
9702 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'
9703 # Try to use the -exported_symbol ld option, if it does not
9704 # work, assume that -exports_file does not work either and
9705 # implicitly export all symbols.
9706 # This should be the same for all languages, so no per-tag cache variable.
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9708 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9709 if ${lt_cv_irix_exported_symbol+:} false; then :
9710 $as_echo_n "(cached) " >&6
9712 save_LDFLAGS="$LDFLAGS"
9713 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9716 int foo (void) { return 0; }
9718 if ac_fn_c_try_link "$LINENO"; then :
9719 lt_cv_irix_exported_symbol=yes
9721 lt_cv_irix_exported_symbol=no
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LDFLAGS="$save_LDFLAGS"
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9728 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9729 if test "$lt_cv_irix_exported_symbol" = yes; then
9730 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'
9733 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'
9734 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'
9736 archive_cmds_need_lc='no'
9737 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9738 hardcode_libdir_separator=:
9740 link_all_deplibs=yes
9743 netbsd* | netbsdelf*-gnu)
9744 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9745 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9747 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9749 hardcode_libdir_flag_spec='-R$libdir'
9751 hardcode_shlibpath_var=no
9755 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9757 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9758 hardcode_libdir_separator=:
9759 hardcode_shlibpath_var=no
9766 if test -f /usr/libexec/ld.so; then
9768 hardcode_shlibpath_var=no
9769 hardcode_direct_absolute=yes
9770 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9771 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9772 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9773 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9774 export_dynamic_flag_spec='${wl}-E'
9777 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9778 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9779 hardcode_libdir_flag_spec='-R$libdir'
9782 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9783 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9793 hardcode_libdir_flag_spec='-L$libdir'
9794 hardcode_minus_L=yes
9795 allow_undefined_flag=unsupported
9796 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'
9797 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9801 if test "$GCC" = yes; then
9802 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9803 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'
9805 allow_undefined_flag=' -expect_unresolved \*'
9806 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'
9808 archive_cmds_need_lc='no'
9809 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9810 hardcode_libdir_separator=:
9813 osf4* | osf5*) # as osf3* with the addition of -msym flag
9814 if test "$GCC" = yes; then
9815 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9816 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'
9817 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9819 allow_undefined_flag=' -expect_unresolved \*'
9820 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'
9821 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~
9822 $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'
9824 # Both c and cxx compiler support -rpath directly
9825 hardcode_libdir_flag_spec='-rpath $libdir'
9827 archive_cmds_need_lc='no'
9828 hardcode_libdir_separator=:
9832 no_undefined_flag=' -z defs'
9833 if test "$GCC" = yes; then
9835 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9837 $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'
9839 case `$CC -V 2>&1` in
9842 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9844 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9848 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9849 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9850 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9854 hardcode_libdir_flag_spec='-R$libdir'
9855 hardcode_shlibpath_var=no
9857 solaris2.[0-5] | solaris2.[0-5].*) ;;
9859 # The compiler driver will combine and reorder linker options,
9860 # but understands `-z linker_flag'. GCC discards it without `$wl',
9861 # but is careful enough not to reorder.
9862 # Supported since Solaris 2.6 (maybe 2.5.1?)
9863 if test "$GCC" = yes; then
9864 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9866 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9870 link_all_deplibs=yes
9874 if test "x$host_vendor" = xsequent; then
9875 # Use $CC to link under sequent, because it throws in some extra .o
9876 # files that make .init and .fini sections work.
9877 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9881 hardcode_libdir_flag_spec='-L$libdir'
9883 hardcode_minus_L=yes
9884 hardcode_shlibpath_var=no
9888 case $host_vendor in
9890 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9891 hardcode_direct=yes # is this really true???
9894 ## LD is ld it makes a PLAMLIB
9895 ## CC just makes a GrossModule.
9896 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9897 reload_cmds='$CC -r -o $output$reload_objs'
9901 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9905 runpath_var='LD_RUN_PATH'
9906 hardcode_shlibpath_var=no
9910 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_shlibpath_var=no
9912 export_dynamic_flag_spec='-Bexport'
9916 if test -d /usr/nec; then
9917 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9918 hardcode_shlibpath_var=no
9919 runpath_var=LD_RUN_PATH
9920 hardcode_runpath_var=yes
9925 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9926 no_undefined_flag='${wl}-z,text'
9927 archive_cmds_need_lc=no
9928 hardcode_shlibpath_var=no
9929 runpath_var='LD_RUN_PATH'
9931 if test "$GCC" = yes; then
9932 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9933 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9940 sysv5* | sco3.2v5* | sco5v6*)
9941 # Note: We can NOT use -z defs as we might desire, because we do not
9942 # link with -lc, and that would cause any symbols used from libc to
9943 # always be unresolved, which means just about no library would
9944 # ever link correctly. If we're not using GNU ld we use -z text
9945 # though, which does catch some bad symbols but isn't as heavy-handed
9947 no_undefined_flag='${wl}-z,text'
9948 allow_undefined_flag='${wl}-z,nodefs'
9949 archive_cmds_need_lc=no
9950 hardcode_shlibpath_var=no
9951 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9952 hardcode_libdir_separator=':'
9953 link_all_deplibs=yes
9954 export_dynamic_flag_spec='${wl}-Bexport'
9955 runpath_var='LD_RUN_PATH'
9957 if test "$GCC" = yes; then
9958 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9962 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9967 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_libdir_flag_spec='-L$libdir'
9969 hardcode_shlibpath_var=no
9977 if test x$host_vendor = xsni; then
9979 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9980 export_dynamic_flag_spec='${wl}-Blargedynsym'
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9987 $as_echo "$ld_shlibs" >&6; }
9988 test "$ld_shlibs" = no && can_build_shared=no
9990 with_gnu_ld=$with_gnu_ld
10007 # Do we need to explicitly link libc?
10009 case "x$archive_cmds_need_lc" in
10011 # Assume -lc should be added
10012 archive_cmds_need_lc=yes
10014 if test "$enable_shared" = yes && test "$GCC" = yes; then
10015 case $archive_cmds in
10017 # FIXME: we may have to deal with multi-command sequences.
10020 # Test whether the compiler implicitly links with -lc since on some
10021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10022 # to ld, don't add -lc before -lgcc.
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10025 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10026 $as_echo_n "(cached) " >&6
10029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10032 (eval $ac_compile) 2>&5
10034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10035 test $ac_status = 0; } 2>conftest.err; then
10038 libobjs=conftest.$ac_objext
10040 wl=$lt_prog_compiler_wl
10041 pic_flag=$lt_prog_compiler_pic
10047 lt_save_allow_undefined_flag=$allow_undefined_flag
10048 allow_undefined_flag=
10049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10050 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10053 test $ac_status = 0; }
10055 lt_cv_archive_cmds_need_lc=no
10057 lt_cv_archive_cmds_need_lc=yes
10059 allow_undefined_flag=$lt_save_allow_undefined_flag
10061 cat conftest.err 1>&5
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10067 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10068 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10227 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10229 if test "$GCC" = yes; then
10231 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10232 *) lt_awk_arg="/^libraries:/" ;;
10235 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10236 *) lt_sed_strip_eq="s,=/,/,g" ;;
10238 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10239 case $lt_search_path_spec in
10241 # if the path contains ";" then we assume it to be the separator
10242 # otherwise default to the standard path separator (i.e. ":") - it is
10243 # assumed that no part of a normal pathname contains ";" but that should
10244 # okay in the real world where ";" in dirpaths is itself problematic.
10245 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10248 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10251 # Ok, now we have the path, separated by spaces, we can step through it
10252 # and add multilib dir if necessary.
10253 lt_tmp_lt_search_path_spec=
10254 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10255 for lt_sys_path in $lt_search_path_spec; do
10256 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10257 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10259 test -d "$lt_sys_path" && \
10260 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10263 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10264 BEGIN {RS=" "; FS="/|\n";} {
10267 for (lt_i = NF; lt_i > 0; lt_i--) {
10268 if ($lt_i != "" && $lt_i != ".") {
10269 if ($lt_i == "..") {
10272 if (lt_count == 0) {
10273 lt_foo="/" $lt_i lt_foo;
10280 if (lt_foo != "") { lt_freq[lt_foo]++; }
10281 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10283 # AWK program above erroneously prepends '/' to C:/dos/paths
10286 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10287 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10289 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10291 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10293 library_names_spec=
10294 libname_spec='lib$name'
10298 postuninstall_cmds=
10302 shlibpath_overrides_runpath=unknown
10304 dynamic_linker="$host_os ld.so"
10305 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10306 need_lib_prefix=unknown
10307 hardcode_into_libs=no
10309 # when you set need_version to no, make sure it does not cause -set_version
10310 # flags to be left without arguments
10311 need_version=unknown
10315 version_type=linux # correct to gnu/linux during the next big refactor
10316 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10317 shlibpath_var=LIBPATH
10319 # AIX 3 has no versioning support, so we append a major version to the name.
10320 soname_spec='${libname}${release}${shared_ext}$major'
10324 version_type=linux # correct to gnu/linux during the next big refactor
10327 hardcode_into_libs=yes
10328 if test "$host_cpu" = ia64; then
10329 # AIX 5 supports IA64
10330 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10331 shlibpath_var=LD_LIBRARY_PATH
10333 # With GCC up to 2.95.x, collect2 would create an import file
10334 # for dependence libraries. The import file would start with
10335 # the line `#! .'. This would cause the generated library to
10336 # depend on `.', always an invalid library. This was fixed in
10337 # development snapshots of GCC prior to 3.0.
10339 aix4 | aix4.[01] | aix4.[01].*)
10340 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10342 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10345 can_build_shared=no
10349 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10350 # soname into executable. Probably we can add versioning support to
10351 # collect2, so additional links can be useful in future.
10352 if test "$aix_use_runtimelinking" = yes; then
10353 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10354 # instead of lib<name>.a to let people know that these are not
10355 # typical AIX shared libraries.
10356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10358 # We preserve .a as extension for shared libraries through AIX4.2
10359 # and later when we are not doing run time linking.
10360 library_names_spec='${libname}${release}.a $libname.a'
10361 soname_spec='${libname}${release}${shared_ext}$major'
10363 shlibpath_var=LIBPATH
10370 # Since July 2007 AmigaOS4 officially supports .so libraries.
10371 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375 library_names_spec='$libname.ixlibrary $libname.a'
10376 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10377 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'
10383 library_names_spec='${libname}${shared_ext}'
10384 dynamic_linker="$host_os ld.so"
10385 shlibpath_var=LIBRARY_PATH
10389 version_type=linux # correct to gnu/linux during the next big refactor
10391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10392 soname_spec='${libname}${release}${shared_ext}$major'
10393 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10394 shlibpath_var=LD_LIBRARY_PATH
10395 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10396 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10397 # the default ld.so.conf also contains /usr/contrib/lib and
10398 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10399 # libtool to hard-code these into programs
10402 cygwin* | mingw* | pw32* | cegcc*)
10403 version_type=windows
10408 case $GCC,$cc_basename in
10411 library_names_spec='$libname.dll.a'
10412 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10413 postinstall_cmds='base_file=`basename \${file}`~
10414 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10415 dldir=$destdir/`dirname \$dlpath`~
10416 test -d \$dldir || mkdir -p \$dldir~
10417 $install_prog $dir/$dlname \$dldir/$dlname~
10418 chmod a+x \$dldir/$dlname~
10419 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10420 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10422 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10423 dlpath=$dir/\$dldll~
10425 shlibpath_overrides_runpath=yes
10429 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10430 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10432 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10435 # MinGW DLLs use traditional 'lib' prefix
10436 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10439 # pw32 DLLs use 'pw' prefix rather than 'lib'
10440 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10443 dynamic_linker='Win32 ld.exe'
10448 libname_spec='$name'
10449 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10450 library_names_spec='${libname}.dll.lib'
10454 sys_lib_search_path_spec=
10457 for lt_path in $LIB
10460 # Let DOS variable expansion print the short 8.3 style file name.
10461 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10462 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10465 # Convert to MSYS style.
10466 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10469 # Convert to unix form, then to dos form, then back to unix form
10470 # but this time dos style (no spaces!) so that the unix form looks
10471 # like /cygdrive/c/PROGRA~1:/cygdr...
10472 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10473 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10474 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10477 sys_lib_search_path_spec="$LIB"
10478 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10479 # It is most probably a Windows format PATH.
10480 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10482 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10484 # FIXME: find the short name or the path components, as spaces are
10485 # common. (e.g. "Program Files" -> "PROGRA~1")
10489 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10490 postinstall_cmds='base_file=`basename \${file}`~
10491 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10492 dldir=$destdir/`dirname \$dlpath`~
10493 test -d \$dldir || mkdir -p \$dldir~
10494 $install_prog $dir/$dlname \$dldir/$dlname'
10495 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10496 dlpath=$dir/\$dldll~
10498 shlibpath_overrides_runpath=yes
10499 dynamic_linker='Win32 link.exe'
10503 # Assume MSVC wrapper
10504 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10505 dynamic_linker='Win32 ld.exe'
10508 # FIXME: first we should search . and the directory the executable is in
10512 darwin* | rhapsody*)
10513 dynamic_linker="$host_os dyld"
10514 version_type=darwin
10517 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10518 soname_spec='${libname}${release}${major}$shared_ext'
10519 shlibpath_overrides_runpath=yes
10520 shlibpath_var=DYLD_LIBRARY_PATH
10521 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10523 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10524 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10528 version_type=linux # correct to gnu/linux during the next big refactor
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10532 soname_spec='${libname}${release}${shared_ext}$major'
10533 shlibpath_var=LD_LIBRARY_PATH
10536 freebsd* | dragonfly*)
10537 # DragonFly does not have aout. When/if they implement a new
10538 # versioning mechanism, adjust this.
10539 if test -x /usr/bin/objformat; then
10540 objformat=`/usr/bin/objformat`
10543 freebsd[23].*) objformat=aout ;;
10544 *) objformat=elf ;;
10547 version_type=freebsd-$objformat
10548 case $version_type in
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10555 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10559 shlibpath_var=LD_LIBRARY_PATH
10562 shlibpath_overrides_runpath=yes
10564 freebsd3.[01]* | freebsdelf3.[01]*)
10565 shlibpath_overrides_runpath=yes
10566 hardcode_into_libs=yes
10568 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10569 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10570 shlibpath_overrides_runpath=no
10571 hardcode_into_libs=yes
10573 *) # from 4.6 on, and DragonFly
10574 shlibpath_overrides_runpath=yes
10575 hardcode_into_libs=yes
10581 version_type=linux # correct to gnu/linux during the next big refactor
10584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10585 soname_spec='${libname}${release}${shared_ext}$major'
10586 shlibpath_var=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath=no
10588 hardcode_into_libs=yes
10592 version_type=linux # correct to gnu/linux during the next big refactor
10595 dynamic_linker="$host_os runtime_loader"
10596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10597 soname_spec='${libname}${release}${shared_ext}$major'
10598 shlibpath_var=LIBRARY_PATH
10599 shlibpath_overrides_runpath=yes
10600 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10601 hardcode_into_libs=yes
10604 hpux9* | hpux10* | hpux11*)
10605 # Give a soname corresponding to the major version so that dld.sl refuses to
10606 # link against other versions.
10613 hardcode_into_libs=yes
10614 dynamic_linker="$host_os dld.so"
10615 shlibpath_var=LD_LIBRARY_PATH
10616 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618 soname_spec='${libname}${release}${shared_ext}$major'
10619 if test "X$HPUX_IA64_MODE" = X32; then
10620 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10622 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10624 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10628 hardcode_into_libs=yes
10629 dynamic_linker="$host_os dld.sl"
10630 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10631 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10633 soname_spec='${libname}${release}${shared_ext}$major'
10634 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10635 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10639 dynamic_linker="$host_os dld.sl"
10640 shlibpath_var=SHLIB_PATH
10641 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643 soname_spec='${libname}${release}${shared_ext}$major'
10646 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10647 postinstall_cmds='chmod 555 $lib'
10648 # or fails outright, so override atomically:
10649 install_override_mode=555
10653 version_type=linux # correct to gnu/linux during the next big refactor
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10657 soname_spec='${libname}${release}${shared_ext}$major'
10658 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10659 shlibpath_var=LD_LIBRARY_PATH
10660 shlibpath_overrides_runpath=no
10661 hardcode_into_libs=yes
10664 irix5* | irix6* | nonstopux*)
10666 nonstopux*) version_type=nonstopux ;;
10668 if test "$lt_cv_prog_gnu_ld" = yes; then
10669 version_type=linux # correct to gnu/linux during the next big refactor
10676 soname_spec='${libname}${release}${shared_ext}$major'
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10679 irix5* | nonstopux*)
10680 libsuff= shlibsuff=
10683 case $LD in # libtool.m4 will add one of these switches to LD
10684 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10685 libsuff= shlibsuff= libmagic=32-bit;;
10686 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10687 libsuff=32 shlibsuff=N32 libmagic=N32;;
10688 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10689 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10690 *) libsuff= shlibsuff= libmagic=never-match;;
10694 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10695 shlibpath_overrides_runpath=no
10696 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10697 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10698 hardcode_into_libs=yes
10701 # No shared lib support for Linux oldld, aout, or coff.
10702 linux*oldld* | linux*aout* | linux*coff*)
10706 # This must be glibc/ELF.
10707 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10708 version_type=linux # correct to gnu/linux during the next big refactor
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10714 shlibpath_var=LD_LIBRARY_PATH
10715 shlibpath_overrides_runpath=no
10717 # Some binutils ld are patched to set DT_RUNPATH
10718 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10719 $as_echo_n "(cached) " >&6
10721 lt_cv_shlibpath_overrides_runpath=no
10722 save_LDFLAGS=$LDFLAGS
10723 save_libdir=$libdir
10724 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10725 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10737 if ac_fn_c_try_link "$LINENO"; then :
10738 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10739 lt_cv_shlibpath_overrides_runpath=yes
10742 rm -f core conftest.err conftest.$ac_objext \
10743 conftest$ac_exeext conftest.$ac_ext
10744 LDFLAGS=$save_LDFLAGS
10745 libdir=$save_libdir
10749 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10751 # This implies no fast_install, which is unacceptable.
10752 # Some rework will be needed to allow for fast_install
10753 # before this can be enabled.
10754 hardcode_into_libs=yes
10756 # Append ld.so.conf contents to the search path
10757 if test -f /etc/ld.so.conf; then
10758 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' ' '`
10759 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10762 # We used to test for /lib/ld.so.1 and disable shared libraries on
10763 # powerpc, because MkLinux only supported shared libraries with the
10764 # GNU dynamic linker. Since this was broken with cross compilers,
10765 # most powerpc-linux boxes support dynamic linking these days and
10766 # people can always --disable-shared, the test was removed, and we
10767 # assume the GNU/Linux dynamic linker is in use.
10768 dynamic_linker='GNU/Linux ld.so'
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10776 soname_spec='${libname}${release}${shared_ext}$major'
10777 shlibpath_var=LD_LIBRARY_PATH
10778 shlibpath_overrides_runpath=no
10779 hardcode_into_libs=yes
10780 dynamic_linker='NetBSD ld.elf_so'
10787 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10789 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10790 dynamic_linker='NetBSD (a.out) ld.so'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 dynamic_linker='NetBSD ld.elf_so'
10796 shlibpath_var=LD_LIBRARY_PATH
10797 shlibpath_overrides_runpath=yes
10798 hardcode_into_libs=yes
10802 version_type=linux # correct to gnu/linux during the next big refactor
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 shlibpath_var=LD_LIBRARY_PATH
10805 shlibpath_overrides_runpath=yes
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813 soname_spec='${libname}${release}${shared_ext}$major'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 shlibpath_overrides_runpath=no
10816 hardcode_into_libs=yes
10817 dynamic_linker='ldqnx.so'
10822 sys_lib_dlsearch_path_spec="/usr/lib"
10824 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10826 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10827 *) need_version=no ;;
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10830 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10831 shlibpath_var=LD_LIBRARY_PATH
10832 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10834 openbsd2.[89] | openbsd2.[89].*)
10835 shlibpath_overrides_runpath=no
10838 shlibpath_overrides_runpath=yes
10842 shlibpath_overrides_runpath=yes
10847 libname_spec='$name'
10850 library_names_spec='$libname${shared_ext} $libname.a'
10851 dynamic_linker='OS/2 ld.exe'
10852 shlibpath_var=LIBPATH
10855 osf3* | osf4* | osf5*)
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861 shlibpath_var=LD_LIBRARY_PATH
10862 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10863 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10871 version_type=linux # correct to gnu/linux during the next big refactor
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875 soname_spec='${libname}${release}${shared_ext}$major'
10876 shlibpath_var=LD_LIBRARY_PATH
10877 shlibpath_overrides_runpath=yes
10878 hardcode_into_libs=yes
10879 # ldd complains unless libraries are executable
10880 postinstall_cmds='chmod +x $lib'
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10886 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10887 shlibpath_var=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath=yes
10889 if test "$with_gnu_ld" = yes; then
10896 version_type=linux # correct to gnu/linux during the next big refactor
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec='${libname}${release}${shared_ext}$major'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 case $host_vendor in
10902 shlibpath_overrides_runpath=no
10904 runpath_var=LD_RUN_PATH
10912 shlibpath_overrides_runpath=no
10913 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10919 if test -d /usr/nec ;then
10920 version_type=linux # correct to gnu/linux during the next big refactor
10921 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10922 soname_spec='$libname${shared_ext}.$major'
10923 shlibpath_var=LD_LIBRARY_PATH
10927 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10928 version_type=freebsd-elf
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath=yes
10935 hardcode_into_libs=yes
10936 if test "$with_gnu_ld" = yes; then
10937 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10939 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10942 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10946 sys_lib_dlsearch_path_spec='/usr/lib'
10950 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10951 version_type=linux # correct to gnu/linux during the next big refactor
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=no
10957 hardcode_into_libs=yes
10961 version_type=linux # correct to gnu/linux during the next big refactor
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 soname_spec='${libname}${release}${shared_ext}$major'
10964 shlibpath_var=LD_LIBRARY_PATH
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10972 $as_echo "$dynamic_linker" >&6; }
10973 test "$dynamic_linker" = no && can_build_shared=no
10975 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10976 if test "$GCC" = yes; then
10977 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10980 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10981 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10983 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10984 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11079 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11081 if test -n "$hardcode_libdir_flag_spec" ||
11082 test -n "$runpath_var" ||
11083 test "X$hardcode_automatic" = "Xyes" ; then
11085 # We can hardcode non-existent directories.
11086 if test "$hardcode_direct" != no &&
11087 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11088 # have to relink, otherwise we might link with an installed library
11089 # when we should be linking with a yet-to-be-installed one
11090 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11091 test "$hardcode_minus_L" != no; then
11092 # Linking always hardcodes the temporary library directory.
11093 hardcode_action=relink
11095 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11096 hardcode_action=immediate
11099 # We cannot hardcode anything, or else we can only hardcode existing
11101 hardcode_action=unsupported
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11104 $as_echo "$hardcode_action" >&6; }
11106 if test "$hardcode_action" = relink ||
11107 test "$inherit_rpath" = yes; then
11108 # Fast installation is not supported
11109 enable_fast_install=no
11110 elif test "$shlibpath_overrides_runpath" = yes ||
11111 test "$enable_shared" = no; then
11112 # Fast installation is not necessary
11113 enable_fast_install=needless
11121 if test "x$enable_dlopen" != xyes; then
11122 enable_dlopen=unknown
11123 enable_dlopen_self=unknown
11124 enable_dlopen_self_static=unknown
11131 lt_cv_dlopen="load_add_on"
11133 lt_cv_dlopen_self=yes
11136 mingw* | pw32* | cegcc*)
11137 lt_cv_dlopen="LoadLibrary"
11142 lt_cv_dlopen="dlopen"
11147 # if libdl is installed we need to link against it
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11149 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11150 if ${ac_cv_lib_dl_dlopen+:} false; then :
11151 $as_echo_n "(cached) " >&6
11153 ac_check_lib_save_LIBS=$LIBS
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 ac_cv_lib_dl_dlopen=yes
11176 ac_cv_lib_dl_dlopen=no
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11183 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11184 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11185 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11188 lt_cv_dlopen="dyld"
11190 lt_cv_dlopen_self=yes
11197 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11198 if test "x$ac_cv_func_shl_load" = xyes; then :
11199 lt_cv_dlopen="shl_load"
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11202 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11203 if ${ac_cv_lib_dld_shl_load+:} false; then :
11204 $as_echo_n "(cached) " >&6
11206 ac_check_lib_save_LIBS=$LIBS
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11221 return shl_load ();
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 ac_cv_lib_dld_shl_load=yes
11229 ac_cv_lib_dld_shl_load=no
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11236 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11237 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11238 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11240 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11241 if test "x$ac_cv_func_dlopen" = xyes; then :
11242 lt_cv_dlopen="dlopen"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11245 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11246 if ${ac_cv_lib_dl_dlopen+:} false; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_check_lib_save_LIBS=$LIBS
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11272 ac_cv_lib_dl_dlopen=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11284 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11285 if ${ac_cv_lib_svld_dlopen+:} false; then :
11286 $as_echo_n "(cached) " >&6
11288 ac_check_lib_save_LIBS=$LIBS
11289 LIBS="-lsvld $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 ac_cv_lib_svld_dlopen=yes
11311 ac_cv_lib_svld_dlopen=no
11313 rm -f core conftest.err conftest.$ac_objext \
11314 conftest$ac_exeext conftest.$ac_ext
11315 LIBS=$ac_check_lib_save_LIBS
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11318 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11319 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11320 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11323 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11324 if ${ac_cv_lib_dld_dld_link+:} false; then :
11325 $as_echo_n "(cached) " >&6
11327 ac_check_lib_save_LIBS=$LIBS
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11342 return dld_link ();
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 ac_cv_lib_dld_dld_link=yes
11350 ac_cv_lib_dld_dld_link=no
11352 rm -f core conftest.err conftest.$ac_objext \
11353 conftest$ac_exeext conftest.$ac_ext
11354 LIBS=$ac_check_lib_save_LIBS
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11357 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11358 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11359 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11380 if test "x$lt_cv_dlopen" != xno; then
11386 case $lt_cv_dlopen in
11388 save_CPPFLAGS="$CPPFLAGS"
11389 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11391 save_LDFLAGS="$LDFLAGS"
11392 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11395 LIBS="$lt_cv_dlopen_libs $LIBS"
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11398 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11399 if ${lt_cv_dlopen_self+:} false; then :
11400 $as_echo_n "(cached) " >&6
11402 if test "$cross_compiling" = yes; then :
11403 lt_cv_dlopen_self=cross
11405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11406 lt_status=$lt_dlunknown
11407 cat > conftest.$ac_ext <<_LT_EOF
11408 #line $LINENO "configure"
11409 #include "confdefs.h"
11418 # define LT_DLGLOBAL RTLD_GLOBAL
11421 # define LT_DLGLOBAL DL_GLOBAL
11423 # define LT_DLGLOBAL 0
11427 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11428 find out it does not work in some platform. */
11429 #ifndef LT_DLLAZY_OR_NOW
11431 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11434 # define LT_DLLAZY_OR_NOW DL_LAZY
11437 # define LT_DLLAZY_OR_NOW RTLD_NOW
11440 # define LT_DLLAZY_OR_NOW DL_NOW
11442 # define LT_DLLAZY_OR_NOW 0
11449 /* When -fvisbility=hidden is used, assume the code has been annotated
11450 correspondingly for the symbols needed. */
11451 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11452 int fnord () __attribute__((visibility("default")));
11455 int fnord () { return 42; }
11458 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11459 int status = $lt_dlunknown;
11463 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11466 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11467 else puts (dlerror ());
11469 /* dlclose (self); */
11477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11478 (eval $ac_link) 2>&5
11480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11481 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11482 (./conftest; exit; ) >&5 2>/dev/null
11484 case x$lt_status in
11485 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11486 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11487 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11490 # compilation failed
11491 lt_cv_dlopen_self=no
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11499 $as_echo "$lt_cv_dlopen_self" >&6; }
11501 if test "x$lt_cv_dlopen_self" = xyes; then
11502 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11504 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11505 if ${lt_cv_dlopen_self_static+:} false; then :
11506 $as_echo_n "(cached) " >&6
11508 if test "$cross_compiling" = yes; then :
11509 lt_cv_dlopen_self_static=cross
11511 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11512 lt_status=$lt_dlunknown
11513 cat > conftest.$ac_ext <<_LT_EOF
11514 #line $LINENO "configure"
11515 #include "confdefs.h"
11524 # define LT_DLGLOBAL RTLD_GLOBAL
11527 # define LT_DLGLOBAL DL_GLOBAL
11529 # define LT_DLGLOBAL 0
11533 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11534 find out it does not work in some platform. */
11535 #ifndef LT_DLLAZY_OR_NOW
11537 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # define LT_DLLAZY_OR_NOW DL_NOW
11548 # define LT_DLLAZY_OR_NOW 0
11555 /* When -fvisbility=hidden is used, assume the code has been annotated
11556 correspondingly for the symbols needed. */
11557 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11558 int fnord () __attribute__((visibility("default")));
11561 int fnord () { return 42; }
11564 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11565 int status = $lt_dlunknown;
11569 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11573 else puts (dlerror ());
11575 /* dlclose (self); */
11583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11584 (eval $ac_link) 2>&5
11586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11587 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11588 (./conftest; exit; ) >&5 2>/dev/null
11590 case x$lt_status in
11591 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11592 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11593 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11596 # compilation failed
11597 lt_cv_dlopen_self_static=no
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11605 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11608 CPPFLAGS="$save_CPPFLAGS"
11609 LDFLAGS="$save_LDFLAGS"
11614 case $lt_cv_dlopen_self in
11615 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11616 *) enable_dlopen_self=unknown ;;
11619 case $lt_cv_dlopen_self_static in
11620 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11621 *) enable_dlopen_self_static=unknown ;;
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11644 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11645 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11646 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11647 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11649 $as_echo "yes" >&6; }
11651 # FIXME - insert some real tests, host_os isn't really good enough
11654 if test -n "$STRIP" ; then
11655 striplib="$STRIP -x"
11656 old_striplib="$STRIP -S"
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11658 $as_echo "yes" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11682 # Report which library types will actually be built
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11684 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11686 $as_echo "$can_build_shared" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11689 $as_echo_n "checking whether to build shared libraries... " >&6; }
11690 test "$can_build_shared" = "no" && enable_shared=no
11692 # On AIX, shared libraries and static libraries use the same namespace, and
11693 # are all built from PIC.
11696 test "$enable_shared" = yes && enable_static=no
11697 if test -n "$RANLIB"; then
11698 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11699 postinstall_cmds='$RANLIB $lib'
11704 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11705 test "$enable_shared" = yes && enable_static=no
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11710 $as_echo "$enable_shared" >&6; }
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11713 $as_echo_n "checking whether to build static libraries... " >&6; }
11714 # Make sure either enable_shared or enable_static is yes.
11715 test "$enable_shared" = yes || enable_static=yes
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11717 $as_echo "$enable_static" >&6; }
11724 ac_cpp='$CPP $CPPFLAGS'
11725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11745 ac_config_commands="$ac_config_commands libtool"
11750 # Only expand once:
11755 # Checks for libraries.
11763 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11764 if test -n "$ac_tool_prefix"; then
11765 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11766 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11768 $as_echo_n "checking for $ac_word... " >&6; }
11769 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11770 $as_echo_n "(cached) " >&6
11772 case $PKG_CONFIG in
11774 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $PATH
11781 test -z "$as_dir" && as_dir=.
11782 for ac_exec_ext in '' $ac_executable_extensions; do
11783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11784 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11795 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11796 if test -n "$PKG_CONFIG"; then
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11798 $as_echo "$PKG_CONFIG" >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11801 $as_echo "no" >&6; }
11806 if test -z "$ac_cv_path_PKG_CONFIG"; then
11807 ac_pt_PKG_CONFIG=$PKG_CONFIG
11808 # Extract the first word of "pkg-config", so it can be a program name with args.
11809 set dummy pkg-config; ac_word=$2
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11811 $as_echo_n "checking for $ac_word... " >&6; }
11812 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11813 $as_echo_n "(cached) " >&6
11815 case $ac_pt_PKG_CONFIG in
11817 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $PATH
11824 test -z "$as_dir" && as_dir=.
11825 for ac_exec_ext in '' $ac_executable_extensions; do
11826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11827 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11838 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11839 if test -n "$ac_pt_PKG_CONFIG"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11841 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844 $as_echo "no" >&6; }
11847 if test "x$ac_pt_PKG_CONFIG" = x; then
11850 case $cross_compiling:$ac_tool_warned in
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11854 ac_tool_warned=yes ;;
11856 PKG_CONFIG=$ac_pt_PKG_CONFIG
11859 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11863 if test -n "$PKG_CONFIG"; then
11864 _pkg_min_version=0.16
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11866 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11867 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11869 $as_echo "yes" >&6; }
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11872 $as_echo "no" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11879 $as_echo_n "checking for GLIB... " >&6; }
11881 if test -n "$GLIB_CFLAGS"; then
11882 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11883 elif test -n "$PKG_CONFIG"; then
11884 if test -n "$PKG_CONFIG" && \
11885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11886 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11889 test $ac_status = 0; }; then
11890 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.28" 2>/dev/null`
11891 test "x$?" != "x0" && pkg_failed=yes
11898 if test -n "$GLIB_LIBS"; then
11899 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11900 elif test -n "$PKG_CONFIG"; then
11901 if test -n "$PKG_CONFIG" && \
11902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.28\""; } >&5
11903 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28") 2>&5
11905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11906 test $ac_status = 0; }; then
11907 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.28" 2>/dev/null`
11908 test "x$?" != "x0" && pkg_failed=yes
11918 if test $pkg_failed = yes; then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 $as_echo "no" >&6; }
11922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11923 _pkg_short_errors_supported=yes
11925 _pkg_short_errors_supported=no
11927 if test $_pkg_short_errors_supported = yes; then
11928 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11930 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.28" 2>&1`
11932 # Put the nasty error message in config.log where it belongs
11933 echo "$GLIB_PKG_ERRORS" >&5
11935 as_fn_error $? "Package requirements (glib-2.0 >= 2.28) were not met:
11939 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11940 installed software in a non-standard prefix.
11942 Alternatively, you may set the environment variables GLIB_CFLAGS
11943 and GLIB_LIBS to avoid the need to call pkg-config.
11944 See the pkg-config man page for more details." "$LINENO" 5
11945 elif test $pkg_failed = untried; then
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947 $as_echo "no" >&6; }
11948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11950 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11951 is in your PATH or set the PKG_CONFIG environment variable to the full
11952 path to pkg-config.
11954 Alternatively, you may set the environment variables GLIB_CFLAGS
11955 and GLIB_LIBS to avoid the need to call pkg-config.
11956 See the pkg-config man page for more details.
11958 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11959 See \`config.log' for more details" "$LINENO" 5; }
11961 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11962 GLIB_LIBS=$pkg_cv_GLIB_LIBS
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11964 $as_echo "yes" >&6; }
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
11970 $as_echo_n "checking for GIO... " >&6; }
11972 if test -n "$GIO_CFLAGS"; then
11973 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
11974 elif test -n "$PKG_CONFIG"; then
11975 if test -n "$PKG_CONFIG" && \
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
11977 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
11979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11980 test $ac_status = 0; }; then
11981 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
11982 test "x$?" != "x0" && pkg_failed=yes
11989 if test -n "$GIO_LIBS"; then
11990 pkg_cv_GIO_LIBS="$GIO_LIBS"
11991 elif test -n "$PKG_CONFIG"; then
11992 if test -n "$PKG_CONFIG" && \
11993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
11994 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
11996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11997 test $ac_status = 0; }; then
11998 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
11999 test "x$?" != "x0" && pkg_failed=yes
12009 if test $pkg_failed = yes; then
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12011 $as_echo "no" >&6; }
12013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12014 _pkg_short_errors_supported=yes
12016 _pkg_short_errors_supported=no
12018 if test $_pkg_short_errors_supported = yes; then
12019 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12021 GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12023 # Put the nasty error message in config.log where it belongs
12024 echo "$GIO_PKG_ERRORS" >&5
12026 as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12030 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12031 installed software in a non-standard prefix.
12033 Alternatively, you may set the environment variables GIO_CFLAGS
12034 and GIO_LIBS to avoid the need to call pkg-config.
12035 See the pkg-config man page for more details." "$LINENO" 5
12036 elif test $pkg_failed = untried; then
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038 $as_echo "no" >&6; }
12039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12041 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12042 is in your PATH or set the PKG_CONFIG environment variable to the full
12043 path to pkg-config.
12045 Alternatively, you may set the environment variables GIO_CFLAGS
12046 and GIO_LIBS to avoid the need to call pkg-config.
12047 See the pkg-config man page for more details.
12049 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12050 See \`config.log' for more details" "$LINENO" 5; }
12052 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12053 GIO_LIBS=$pkg_cv_GIO_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12055 $as_echo "yes" >&6; }
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSSDP" >&5
12061 $as_echo_n "checking for GSSDP... " >&6; }
12063 if test -n "$GSSDP_CFLAGS"; then
12064 pkg_cv_GSSDP_CFLAGS="$GSSDP_CFLAGS"
12065 elif test -n "$PKG_CONFIG"; then
12066 if test -n "$PKG_CONFIG" && \
12067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12068 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12071 test $ac_status = 0; }; then
12072 pkg_cv_GSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12073 test "x$?" != "x0" && pkg_failed=yes
12080 if test -n "$GSSDP_LIBS"; then
12081 pkg_cv_GSSDP_LIBS="$GSSDP_LIBS"
12082 elif test -n "$PKG_CONFIG"; then
12083 if test -n "$PKG_CONFIG" && \
12084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= 0.13.2\""; } >&5
12085 ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= 0.13.2") 2>&5
12087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12088 test $ac_status = 0; }; then
12089 pkg_cv_GSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= 0.13.2" 2>/dev/null`
12090 test "x$?" != "x0" && pkg_failed=yes
12100 if test $pkg_failed = yes; then
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12102 $as_echo "no" >&6; }
12104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12105 _pkg_short_errors_supported=yes
12107 _pkg_short_errors_supported=no
12109 if test $_pkg_short_errors_supported = yes; then
12110 GSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12112 GSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= 0.13.2" 2>&1`
12114 # Put the nasty error message in config.log where it belongs
12115 echo "$GSSDP_PKG_ERRORS" >&5
12117 as_fn_error $? "Package requirements (gssdp-1.0 >= 0.13.2) were not met:
12121 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12122 installed software in a non-standard prefix.
12124 Alternatively, you may set the environment variables GSSDP_CFLAGS
12125 and GSSDP_LIBS to avoid the need to call pkg-config.
12126 See the pkg-config man page for more details." "$LINENO" 5
12127 elif test $pkg_failed = untried; then
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129 $as_echo "no" >&6; }
12130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12132 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12133 is in your PATH or set the PKG_CONFIG environment variable to the full
12134 path to pkg-config.
12136 Alternatively, you may set the environment variables GSSDP_CFLAGS
12137 and GSSDP_LIBS to avoid the need to call pkg-config.
12138 See the pkg-config man page for more details.
12140 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12141 See \`config.log' for more details" "$LINENO" 5; }
12143 GSSDP_CFLAGS=$pkg_cv_GSSDP_CFLAGS
12144 GSSDP_LIBS=$pkg_cv_GSSDP_LIBS
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12146 $as_echo "yes" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
12152 $as_echo_n "checking for GUPNP... " >&6; }
12154 if test -n "$GUPNP_CFLAGS"; then
12155 pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
12156 elif test -n "$PKG_CONFIG"; then
12157 if test -n "$PKG_CONFIG" && \
12158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.1\""; } >&5
12159 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.1") 2>&5
12161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12162 test $ac_status = 0; }; then
12163 pkg_cv_GUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= 0.19.1" 2>/dev/null`
12164 test "x$?" != "x0" && pkg_failed=yes
12171 if test -n "$GUPNP_LIBS"; then
12172 pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
12173 elif test -n "$PKG_CONFIG"; then
12174 if test -n "$PKG_CONFIG" && \
12175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= 0.19.1\""; } >&5
12176 ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= 0.19.1") 2>&5
12178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12179 test $ac_status = 0; }; then
12180 pkg_cv_GUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= 0.19.1" 2>/dev/null`
12181 test "x$?" != "x0" && pkg_failed=yes
12191 if test $pkg_failed = yes; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12196 _pkg_short_errors_supported=yes
12198 _pkg_short_errors_supported=no
12200 if test $_pkg_short_errors_supported = yes; then
12201 GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= 0.19.1" 2>&1`
12203 GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= 0.19.1" 2>&1`
12205 # Put the nasty error message in config.log where it belongs
12206 echo "$GUPNP_PKG_ERRORS" >&5
12208 as_fn_error $? "Package requirements (gupnp-1.0 >= 0.19.1) were not met:
12212 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12213 installed software in a non-standard prefix.
12215 Alternatively, you may set the environment variables GUPNP_CFLAGS
12216 and GUPNP_LIBS to avoid the need to call pkg-config.
12217 See the pkg-config man page for more details." "$LINENO" 5
12218 elif test $pkg_failed = untried; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12220 $as_echo "no" >&6; }
12221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12223 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12224 is in your PATH or set the PKG_CONFIG environment variable to the full
12225 path to pkg-config.
12227 Alternatively, you may set the environment variables GUPNP_CFLAGS
12228 and GUPNP_LIBS to avoid the need to call pkg-config.
12229 See the pkg-config man page for more details.
12231 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12232 See \`config.log' for more details" "$LINENO" 5; }
12234 GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
12235 GUPNP_LIBS=$pkg_cv_GUPNP_LIBS
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12237 $as_echo "yes" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPAV" >&5
12243 $as_echo_n "checking for GUPNPAV... " >&6; }
12245 if test -n "$GUPNPAV_CFLAGS"; then
12246 pkg_cv_GUPNPAV_CFLAGS="$GUPNPAV_CFLAGS"
12247 elif test -n "$PKG_CONFIG"; then
12248 if test -n "$PKG_CONFIG" && \
12249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12250 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12253 test $ac_status = 0; }; then
12254 pkg_cv_GUPNPAV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12255 test "x$?" != "x0" && pkg_failed=yes
12262 if test -n "$GUPNPAV_LIBS"; then
12263 pkg_cv_GUPNPAV_LIBS="$GUPNPAV_LIBS"
12264 elif test -n "$PKG_CONFIG"; then
12265 if test -n "$PKG_CONFIG" && \
12266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= 0.11.5\""; } >&5
12267 ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= 0.11.5") 2>&5
12269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12270 test $ac_status = 0; }; then
12271 pkg_cv_GUPNPAV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= 0.11.5" 2>/dev/null`
12272 test "x$?" != "x0" && pkg_failed=yes
12282 if test $pkg_failed = yes; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12284 $as_echo "no" >&6; }
12286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12287 _pkg_short_errors_supported=yes
12289 _pkg_short_errors_supported=no
12291 if test $_pkg_short_errors_supported = yes; then
12292 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12294 GUPNPAV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= 0.11.5" 2>&1`
12296 # Put the nasty error message in config.log where it belongs
12297 echo "$GUPNPAV_PKG_ERRORS" >&5
12299 as_fn_error $? "Package requirements (gupnp-av-1.0 >= 0.11.5) were not met:
12301 $GUPNPAV_PKG_ERRORS
12303 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12304 installed software in a non-standard prefix.
12306 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12307 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12308 See the pkg-config man page for more details." "$LINENO" 5
12309 elif test $pkg_failed = untried; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12311 $as_echo "no" >&6; }
12312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12314 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12315 is in your PATH or set the PKG_CONFIG environment variable to the full
12316 path to pkg-config.
12318 Alternatively, you may set the environment variables GUPNPAV_CFLAGS
12319 and GUPNPAV_LIBS to avoid the need to call pkg-config.
12320 See the pkg-config man page for more details.
12322 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12323 See \`config.log' for more details" "$LINENO" 5; }
12325 GUPNPAV_CFLAGS=$pkg_cv_GUPNPAV_CFLAGS
12326 GUPNPAV_LIBS=$pkg_cv_GUPNPAV_LIBS
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12328 $as_echo "yes" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNPDLNA" >&5
12334 $as_echo_n "checking for GUPNPDLNA... " >&6; }
12336 if test -n "$GUPNPDLNA_CFLAGS"; then
12337 pkg_cv_GUPNPDLNA_CFLAGS="$GUPNPDLNA_CFLAGS"
12338 elif test -n "$PKG_CONFIG"; then
12339 if test -n "$PKG_CONFIG" && \
12340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12341 ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12344 test $ac_status = 0; }; then
12345 pkg_cv_GUPNPDLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12346 test "x$?" != "x0" && pkg_failed=yes
12353 if test -n "$GUPNPDLNA_LIBS"; then
12354 pkg_cv_GUPNPDLNA_LIBS="$GUPNPDLNA_LIBS"
12355 elif test -n "$PKG_CONFIG"; then
12356 if test -n "$PKG_CONFIG" && \
12357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-2.0 >= 0.9.4\""; } >&5
12358 ($PKG_CONFIG --exists --print-errors "gupnp-dlna-2.0 >= 0.9.4") 2>&5
12360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12361 test $ac_status = 0; }; then
12362 pkg_cv_GUPNPDLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-2.0 >= 0.9.4" 2>/dev/null`
12363 test "x$?" != "x0" && pkg_failed=yes
12373 if test $pkg_failed = yes; then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12375 $as_echo "no" >&6; }
12377 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12378 _pkg_short_errors_supported=yes
12380 _pkg_short_errors_supported=no
12382 if test $_pkg_short_errors_supported = yes; then
12383 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12385 GUPNPDLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-2.0 >= 0.9.4" 2>&1`
12387 # Put the nasty error message in config.log where it belongs
12388 echo "$GUPNPDLNA_PKG_ERRORS" >&5
12390 as_fn_error $? "Package requirements (gupnp-dlna-2.0 >= 0.9.4) were not met:
12392 $GUPNPDLNA_PKG_ERRORS
12394 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12395 installed software in a non-standard prefix.
12397 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12398 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12399 See the pkg-config man page for more details." "$LINENO" 5
12400 elif test $pkg_failed = untried; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12402 $as_echo "no" >&6; }
12403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12405 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12406 is in your PATH or set the PKG_CONFIG environment variable to the full
12407 path to pkg-config.
12409 Alternatively, you may set the environment variables GUPNPDLNA_CFLAGS
12410 and GUPNPDLNA_LIBS to avoid the need to call pkg-config.
12411 See the pkg-config man page for more details.
12413 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12414 See \`config.log' for more details" "$LINENO" 5; }
12416 GUPNPDLNA_CFLAGS=$pkg_cv_GUPNPDLNA_CFLAGS
12417 GUPNPDLNA_LIBS=$pkg_cv_GUPNPDLNA_LIBS
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12419 $as_echo "yes" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
12425 $as_echo_n "checking for SOUP... " >&6; }
12427 if test -n "$SOUP_CFLAGS"; then
12428 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
12429 elif test -n "$PKG_CONFIG"; then
12430 if test -n "$PKG_CONFIG" && \
12431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12432 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12435 test $ac_status = 0; }; then
12436 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12437 test "x$?" != "x0" && pkg_failed=yes
12444 if test -n "$SOUP_LIBS"; then
12445 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
12446 elif test -n "$PKG_CONFIG"; then
12447 if test -n "$PKG_CONFIG" && \
12448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.28.2\""; } >&5
12449 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.28.2") 2>&5
12451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452 test $ac_status = 0; }; then
12453 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.28.2" 2>/dev/null`
12454 test "x$?" != "x0" && pkg_failed=yes
12464 if test $pkg_failed = yes; then
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 $as_echo "no" >&6; }
12468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12469 _pkg_short_errors_supported=yes
12471 _pkg_short_errors_supported=no
12473 if test $_pkg_short_errors_supported = yes; then
12474 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12476 SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= 2.28.2" 2>&1`
12478 # Put the nasty error message in config.log where it belongs
12479 echo "$SOUP_PKG_ERRORS" >&5
12481 as_fn_error $? "Package requirements (libsoup-2.4 >= 2.28.2) were not met:
12485 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12486 installed software in a non-standard prefix.
12488 Alternatively, you may set the environment variables SOUP_CFLAGS
12489 and SOUP_LIBS to avoid the need to call pkg-config.
12490 See the pkg-config man page for more details." "$LINENO" 5
12491 elif test $pkg_failed = untried; then
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493 $as_echo "no" >&6; }
12494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12496 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12497 is in your PATH or set the PKG_CONFIG environment variable to the full
12498 path to pkg-config.
12500 Alternatively, you may set the environment variables SOUP_CFLAGS
12501 and SOUP_LIBS to avoid the need to call pkg-config.
12502 See the pkg-config man page for more details.
12504 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12505 See \`config.log' for more details" "$LINENO" 5; }
12507 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
12508 SOUP_LIBS=$pkg_cv_SOUP_LIBS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12510 $as_echo "yes" >&6; }
12514 # Checks for header files.
12515 for ac_header in stdlib.h string.h syslog.h
12517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12518 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12520 cat >>confdefs.h <<_ACEOF
12521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12529 # Checks for typedefs, structures, and compiler characteristics.
12530 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12531 case $ac_cv_c_uint8_t in #(
12535 $as_echo "#define _UINT8_T 1" >>confdefs.h
12538 cat >>confdefs.h <<_ACEOF
12539 #define uint8_t $ac_cv_c_uint8_t
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
12545 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
12546 if ${ac_cv_header_stdbool_h+:} false; then :
12547 $as_echo_n "(cached) " >&6
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12552 #include <stdbool.h>
12554 "error: bool is not defined"
12557 "error: false is not defined"
12560 "error: false is not 0"
12563 "error: true is not defined"
12566 "error: true is not 1"
12568 #ifndef __bool_true_false_are_defined
12569 "error: __bool_true_false_are_defined is not defined"
12572 struct s { _Bool s: 1; _Bool t; } s;
12574 char a[true == 1 ? 1 : -1];
12575 char b[false == 0 ? 1 : -1];
12576 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
12577 char d[(bool) 0.5 == true ? 1 : -1];
12578 /* See body of main program for 'e'. */
12579 char f[(_Bool) 0.0 == false ? 1 : -1];
12581 char h[sizeof (_Bool)];
12582 char i[sizeof s.t];
12583 enum { j = false, k = true, l = false * true, m = true * 256 };
12584 /* The following fails for
12585 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
12587 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
12588 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
12589 /* Catch a bug in an HP-UX C compiler. See
12590 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
12591 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
12603 /* Refer to every declared value, to avoid compiler optimizations. */
12604 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
12605 + !m + !n + !o + !p + !q + !pq);
12611 if ac_fn_c_try_compile "$LINENO"; then :
12612 ac_cv_header_stdbool_h=yes
12614 ac_cv_header_stdbool_h=no
12616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
12619 $as_echo "$ac_cv_header_stdbool_h" >&6; }
12620 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
12621 if test "x$ac_cv_type__Bool" = xyes; then :
12623 cat >>confdefs.h <<_ACEOF
12624 #define HAVE__BOOL 1
12631 if test $ac_cv_header_stdbool_h = yes; then
12633 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
12637 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12638 if test "x$ac_cv_type_size_t" = xyes; then :
12642 cat >>confdefs.h <<_ACEOF
12643 #define size_t unsigned int
12649 # Checks for library functions.
12650 for ac_header in stdlib.h
12652 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12653 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12654 cat >>confdefs.h <<_ACEOF
12655 #define HAVE_STDLIB_H 1
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12663 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12664 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12665 $as_echo_n "(cached) " >&6
12667 if test "$cross_compiling" = yes; then :
12668 ac_cv_func_malloc_0_nonnull=no
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12672 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12673 # include <stdlib.h>
12681 return ! malloc (0);
12686 if ac_fn_c_try_run "$LINENO"; then :
12687 ac_cv_func_malloc_0_nonnull=yes
12689 ac_cv_func_malloc_0_nonnull=no
12691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12692 conftest.$ac_objext conftest.beam conftest.$ac_ext
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12697 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12698 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12700 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12703 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12705 case " $LIBOBJS " in
12706 *" malloc.$ac_objext "* ) ;;
12707 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12712 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12717 for ac_header in stdlib.h
12719 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12720 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12721 cat >>confdefs.h <<_ACEOF
12722 #define HAVE_STDLIB_H 1
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12730 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12731 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
12732 $as_echo_n "(cached) " >&6
12734 if test "$cross_compiling" = yes; then :
12735 ac_cv_func_realloc_0_nonnull=no
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12739 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12740 # include <stdlib.h>
12748 return ! realloc (0, 0);
12753 if ac_fn_c_try_run "$LINENO"; then :
12754 ac_cv_func_realloc_0_nonnull=yes
12756 ac_cv_func_realloc_0_nonnull=no
12758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12759 conftest.$ac_objext conftest.beam conftest.$ac_ext
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12764 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12765 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12767 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12770 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12772 case " $LIBOBJS " in
12773 *" realloc.$ac_objext "* ) ;;
12774 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
12779 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12784 for ac_func in memset strchr strrchr strstr
12786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12789 cat >>confdefs.h <<_ACEOF
12790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12797 # Define Log Level values
12809 cat >>confdefs.h <<_ACEOF
12810 #define DLEYNA_LOG_LEVEL_DISABLED ${LOG_LEVEL_0}
12814 cat >>confdefs.h <<_ACEOF
12815 #define DLEYNA_LOG_LEVEL_ERROR ${LOG_LEVEL_1}
12819 cat >>confdefs.h <<_ACEOF
12820 #define DLEYNA_LOG_LEVEL_CRITICAL ${LOG_LEVEL_2}
12824 cat >>confdefs.h <<_ACEOF
12825 #define DLEYNA_LOG_LEVEL_WARNING ${LOG_LEVEL_3}
12829 cat >>confdefs.h <<_ACEOF
12830 #define DLEYNA_LOG_LEVEL_MESSAGE ${LOG_LEVEL_4}
12834 cat >>confdefs.h <<_ACEOF
12835 #define DLEYNA_LOG_LEVEL_INFO ${LOG_LEVEL_5}
12839 cat >>confdefs.h <<_ACEOF
12840 #define DLEYNA_LOG_LEVEL_DEBUG ${LOG_LEVEL_6}
12844 cat >>confdefs.h <<_ACEOF
12845 #define DLEYNA_LOG_LEVEL_DEFAULT ${LOG_LEVEL_7}
12849 cat >>confdefs.h <<_ACEOF
12850 #define DLEYNA_LOG_LEVEL_ALL ${LOG_LEVEL_8}
12854 # Check whether --enable-master-build was given.
12855 if test "${enable_master_build+set}" = set; then :
12856 enableval=$enable_master_build;
12862 if test "x$master_build" = "xno"; then :
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLEYNA_CORE" >&5
12866 $as_echo_n "checking for DLEYNA_CORE... " >&6; }
12868 if test -n "$DLEYNA_CORE_CFLAGS"; then
12869 pkg_cv_DLEYNA_CORE_CFLAGS="$DLEYNA_CORE_CFLAGS"
12870 elif test -n "$PKG_CONFIG"; then
12871 if test -n "$PKG_CONFIG" && \
12872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.0.1\""; } >&5
12873 ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.0.1") 2>&5
12875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12876 test $ac_status = 0; }; then
12877 pkg_cv_DLEYNA_CORE_CFLAGS=`$PKG_CONFIG --cflags "dleyna-core-1.0 >= 0.0.1" 2>/dev/null`
12878 test "x$?" != "x0" && pkg_failed=yes
12885 if test -n "$DLEYNA_CORE_LIBS"; then
12886 pkg_cv_DLEYNA_CORE_LIBS="$DLEYNA_CORE_LIBS"
12887 elif test -n "$PKG_CONFIG"; then
12888 if test -n "$PKG_CONFIG" && \
12889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dleyna-core-1.0 >= 0.0.1\""; } >&5
12890 ($PKG_CONFIG --exists --print-errors "dleyna-core-1.0 >= 0.0.1") 2>&5
12892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12893 test $ac_status = 0; }; then
12894 pkg_cv_DLEYNA_CORE_LIBS=`$PKG_CONFIG --libs "dleyna-core-1.0 >= 0.0.1" 2>/dev/null`
12895 test "x$?" != "x0" && pkg_failed=yes
12905 if test $pkg_failed = yes; then
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12910 _pkg_short_errors_supported=yes
12912 _pkg_short_errors_supported=no
12914 if test $_pkg_short_errors_supported = yes; then
12915 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dleyna-core-1.0 >= 0.0.1" 2>&1`
12917 DLEYNA_CORE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dleyna-core-1.0 >= 0.0.1" 2>&1`
12919 # Put the nasty error message in config.log where it belongs
12920 echo "$DLEYNA_CORE_PKG_ERRORS" >&5
12922 as_fn_error $? "Package requirements (dleyna-core-1.0 >= 0.0.1) were not met:
12924 $DLEYNA_CORE_PKG_ERRORS
12926 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12927 installed software in a non-standard prefix.
12929 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12930 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12931 See the pkg-config man page for more details." "$LINENO" 5
12932 elif test $pkg_failed = untried; then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12937 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12938 is in your PATH or set the PKG_CONFIG environment variable to the full
12939 path to pkg-config.
12941 Alternatively, you may set the environment variables DLEYNA_CORE_CFLAGS
12942 and DLEYNA_CORE_LIBS to avoid the need to call pkg-config.
12943 See the pkg-config man page for more details.
12945 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12946 See \`config.log' for more details" "$LINENO" 5; }
12948 DLEYNA_CORE_CFLAGS=$pkg_cv_DLEYNA_CORE_CFLAGS
12949 DLEYNA_CORE_LIBS=$pkg_cv_DLEYNA_CORE_LIBS
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12951 $as_echo "yes" >&6; }
12955 this_abs_top_srcdir=`cd "$srcdir" && pwd`;
12956 DLEYNA_CORE_CFLAGS="-I$this_abs_top_srcdir/../dleyna-core";
12957 DLEYNA_CORE_LIBS="-L$this_abs_top_srcdir/../dleyna-core/.libs -ldleyna-core-1.0"
12961 # Check whether --enable-debug was given.
12962 if test "${enable_debug+set}" = set; then :
12963 enableval=$enable_debug;
12969 case "${enable_debug}" in #(
12971 CFLAGS="$CFLAGS -g";
12973 cat >>confdefs.h <<_ACEOF
12974 #define DLEYNA_DEBUG_ENABLED 1
12981 as_fn_error $? "bad value ${enable_debug} for --enable-debug" "$LINENO" 5 ;;
12985 # Check whether --enable-werror was given.
12986 if test "${enable_werror+set}" = set; then :
12987 enableval=$enable_werror;
12993 case "${enable_werror}" in #(
12995 CFLAGS="$CFLAGS -Werror" ;; #(
12999 as_fn_error $? "bad value ${enable_werror} for --enable-werror" "$LINENO" 5 ;;
13003 # Check whether --enable-optimization was given.
13004 if test "${enable_optimization+set}" = set; then :
13005 enableval=$enable_optimization;
13007 enable_optimization=yes
13011 case "${enable_optimization}" in #(
13013 disable_optimization=no ;; #(
13015 CFLAGS="$CFLAGS -O0"; disable_optimization=yes ;; #(
13017 as_fn_error $? "bad value ${enable_optimization} for --enable-werror" "$LINENO" 5 ;;
13021 # Check whether --enable-never-quit was given.
13022 if test "${enable_never_quit+set}" = set; then :
13023 enableval=$enable_never_quit;
13025 enable_never_quit=no
13029 case "${enable_never_quit}" in #(
13031 never_quit=true ;; #(
13033 never_quit=false ;; #(
13035 as_fn_error $? "bad value ${enable_never_quit} for --enable-never-quit" "$LINENO" 5 ;;
13040 # Check whether --with-connector-name was given.
13041 if test "${with_connector_name+set}" = set; then :
13042 withval=$with_connector_name;
13044 with_connector_name=dbus
13050 # Check whether --with-log-level was given.
13051 if test "${with_log_level+set}" = set; then :
13052 withval=$with_log_level;
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-level=${with_log_level}" >&5
13060 $as_echo_n "checking for --with-log-level=${with_log_level}... " >&6; }
13069 log_array=(0 0 0 0 0 0 0 0 0)
13071 for log_level in ${with_log_level}
13075 case $log_level in #(
13077 if test ${log_array[${log_level}]} -ne 0; then :
13079 as_fn_error 1 "\"$log_level should be set once\"" "$LINENO" 5
13081 elif test "x${log_single}" = xyes; then :
13083 as_fn_error 1 "\"Unique value element already set\"" "$LINENO" 5
13088 if test ${log_level_count} -ne 0; then :
13090 as_fn_error 1 "\"$log_level should be a unique value element\"" "$LINENO" 5
13096 as_fn_error 1 "\"$log_level is not a valid value\"" "$LINENO" 5
13100 log_name=LOG_LEVEL_${log_level}
13101 eval log_value=\$${log_name}
13102 let "LOG_LEVEL |= ${log_value}"
13107 let log_level_count++
13108 let log_array[${log_level}]++
13114 cat >>confdefs.h <<_ACEOF
13115 #define DLEYNA_LOG_LEVEL ${LOG_LEVEL}
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13120 $as_echo "ok" >&6; }
13126 # Check whether --with-log-type was given.
13127 if test "${with_log_type+set}" = set; then :
13128 withval=$with_log_type;
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-log-type=${with_log_type}" >&5
13136 $as_echo_n "checking for --with-log-type=${with_log_type}... " >&6; }
13138 case ${with_log_type} in #(
13142 as_fn_error 1 "\"${with_log_type} is not a valid value\"" "$LINENO" 5
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13147 $as_echo "ok" >&6; }
13153 # Check whether --with-ua-prefix was given.
13154 if test "${with_ua_prefix+set}" = set; then :
13155 withval=$with_ua_prefix; with_ua_prefix = "$withval";
13156 cat >>confdefs.h <<_ACEOF
13157 #define UA_PREFIX "$with_ua_prefix"
13165 # Check whether --enable-lib-only was given.
13166 if test "${enable_lib_only+set}" = set; then :
13167 enableval=$enable_lib_only;
13173 if test "x$enable_lib_only" = "xno"; then :
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13177 $as_echo_n "checking for DBUS... " >&6; }
13179 if test -n "$DBUS_CFLAGS"; then
13180 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13181 elif test -n "$PKG_CONFIG"; then
13182 if test -n "$PKG_CONFIG" && \
13183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13184 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13187 test $ac_status = 0; }; then
13188 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
13189 test "x$?" != "x0" && pkg_failed=yes
13196 if test -n "$DBUS_LIBS"; then
13197 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13198 elif test -n "$PKG_CONFIG"; then
13199 if test -n "$PKG_CONFIG" && \
13200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
13201 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
13206 test "x$?" != "x0" && pkg_failed=yes
13216 if test $pkg_failed = yes; then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218 $as_echo "no" >&6; }
13220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13221 _pkg_short_errors_supported=yes
13223 _pkg_short_errors_supported=no
13225 if test $_pkg_short_errors_supported = yes; then
13226 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
13228 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
13230 # Put the nasty error message in config.log where it belongs
13231 echo "$DBUS_PKG_ERRORS" >&5
13233 enable_lib_only=yes
13234 elif test $pkg_failed = untried; then
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13236 $as_echo "no" >&6; }
13237 enable_lib_only=yes
13239 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13240 DBUS_LIBS=$pkg_cv_DBUS_LIBS
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13242 $as_echo "yes" >&6; }
13243 DBUS_SESSION_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`;
13250 if test "x$enable_lib_only" = "xno"; then
13252 BUILD_SERVER_FALSE='#'
13254 BUILD_SERVER_TRUE='#'
13255 BUILD_SERVER_FALSE=
13260 $as_echo "#define DLEYNA_SERVER_OBJECT \"/com/intel/dLeynaServer\"" >>confdefs.h
13263 $as_echo "#define DLEYNA_SERVER_PATH \"/com/intel/dLeynaServer/server\"" >>confdefs.h
13266 DLEYNA_SERVER_NAME=com.intel.dleyna-server
13269 $as_echo "#define DLEYNA_SERVER_NAME \"com.intel.dleyna-server\"" >>confdefs.h
13272 DLEYNA_SERVER_INTERFACE_MANAGER=com.intel.dLeynaServer.Manager
13275 $as_echo "#define DLEYNA_SERVER_INTERFACE_MANAGER \"com.intel.dLeynaServer.Manager\"" >>confdefs.h
13278 DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE=com.intel.dLeynaServer.MediaDevice
13281 $as_echo "#define DLEYNA_SERVER_INTERFACE_MEDIA_DEVICE \"com.intel.dLeynaServer.MediaDevice\"" >>confdefs.h
13289 ac_config_files="$ac_config_files Makefile libdleyna/server/Makefile libdleyna/server/dleyna-server-1.0.pc libdleyna/server/dleyna-server-service.conf server/com.intel.dleyna-server.service server/dleyna-server-service-1.0.pc server/Makefile test/dbus/Makefile"
13292 cat >confcache <<\_ACEOF
13293 # This file is a shell script that caches the results of configure
13294 # tests run on this system so they can be shared between configure
13295 # scripts and configure runs, see configure's option --config-cache.
13296 # It is not useful on other systems. If it contains results you don't
13297 # want to keep, you may remove or edit it.
13299 # config.status only pays attention to the cache file if you give it
13300 # the --recheck option to rerun configure.
13302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13304 # following values.
13308 # The following way of writing the cache mishandles newlines in values,
13309 # but we know of no workaround that is simple, portable, and efficient.
13310 # So, we kill variables containing newlines.
13311 # Ultrix sh set writes to stderr and can't be redirected directly,
13312 # and sets the high bit in the cache file unless we assign to the vars.
13314 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13315 eval ac_val=\$$ac_var
13319 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13320 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13323 _ | IFS | as_nl) ;; #(
13324 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13325 *) { eval $ac_var=; unset $ac_var;} ;;
13331 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13332 *${as_nl}ac_space=\ *)
13333 # `set' does not quote correctly, so add quotes: double-quote
13334 # substitution turns \\\\ into \\, and sed turns \\ into \.
13337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13340 # `set' quotes correctly as required by POSIX, so do not add quotes.
13341 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13350 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13352 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13354 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13355 if test -w "$cache_file"; then
13356 if test "x$cache_file" != "x/dev/null"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13358 $as_echo "$as_me: updating cache $cache_file" >&6;}
13359 if test ! -f "$cache_file" || test -h "$cache_file"; then
13360 cat confcache >"$cache_file"
13362 case $cache_file in #(
13364 mv -f confcache "$cache_file"$$ &&
13365 mv -f "$cache_file"$$ "$cache_file" ;; #(
13367 mv -f confcache "$cache_file" ;;
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13373 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13378 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13379 # Let make expand exec_prefix.
13380 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13382 DEFS=-DHAVE_CONFIG_H
13387 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13388 # 1. Remove the extension, and $U if already installed.
13389 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13390 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13391 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13392 # will be set to the directory where LIBOBJS objects are built.
13393 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13394 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13396 LIBOBJS=$ac_libobjs
13398 LTLIBOBJS=$ac_ltlibobjs
13401 if test -n "$EXEEXT"; then
13403 am__EXEEXT_FALSE='#'
13405 am__EXEEXT_TRUE='#'
13409 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13410 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13413 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13414 as_fn_error $? "conditional \"AMDEP\" was never defined.
13415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13417 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13418 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13421 if test -z "${BUILD_SERVER_TRUE}" && test -z "${BUILD_SERVER_FALSE}"; then
13422 as_fn_error $? "conditional \"BUILD_SERVER\" was never defined.
13423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13426 : "${CONFIG_STATUS=./config.status}"
13428 ac_clean_files_save=$ac_clean_files
13429 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13431 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13433 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13435 # Generated by $as_me.
13436 # Run this file to recreate the current configuration.
13437 # Compiler output produced by configure, useful for debugging
13438 # configure, is in config.log if it exists.
13441 ac_cs_recheck=false
13444 SHELL=\${CONFIG_SHELL-$SHELL}
13447 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13448 ## -------------------- ##
13449 ## M4sh Initialization. ##
13450 ## -------------------- ##
13452 # Be more Bourne compatible
13453 DUALCASE=1; export DUALCASE # for MKS sh
13454 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13457 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13458 # is contrary to our usage. Disable this feature.
13459 alias -g '${1+"$@"}'='"$@"'
13460 setopt NO_GLOB_SUBST
13462 case `(set -o) 2>/dev/null` in #(
13474 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13475 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13476 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13477 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13478 # Prefer a ksh shell builtin over an external printf program on Solaris,
13479 # but without wasting forks for bash or zsh.
13480 if test -z "$BASH_VERSION$ZSH_VERSION" \
13481 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13482 as_echo='print -r --'
13483 as_echo_n='print -rn --'
13484 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13485 as_echo='printf %s\n'
13486 as_echo_n='printf %s'
13488 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13489 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13490 as_echo_n='/usr/ucb/echo -n'
13492 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13493 as_echo_n_body='eval
13497 expr "X$arg" : "X\\(.*\\)$as_nl";
13498 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13500 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13502 export as_echo_n_body
13503 as_echo_n='sh -c $as_echo_n_body as_echo'
13505 export as_echo_body
13506 as_echo='sh -c $as_echo_body as_echo'
13509 # The user is always right.
13510 if test "${PATH_SEPARATOR+set}" != set; then
13512 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13513 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13520 # We need space, tab and new line, in precisely that order. Quoting is
13521 # there to prevent editors from complaining about space-tab.
13522 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13523 # splitting by setting IFS to empty value.)
13526 # Find who we are. Look in the path if we contain no directory separator.
13529 *[\\/]* ) as_myself=$0 ;;
13530 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13531 for as_dir in $PATH
13534 test -z "$as_dir" && as_dir=.
13535 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13541 # We did not find ourselves, most probably we were run as `sh COMMAND'
13542 # in which case we are not to be found in the path.
13543 if test "x$as_myself" = x; then
13546 if test ! -f "$as_myself"; then
13547 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13551 # Unset variables that we do not need and which cause bugs (e.g. in
13552 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13553 # suppresses any "Segmentation fault" message there. '((' could
13554 # trigger a bug in pdksh 5.2.14.
13555 for as_var in BASH_ENV ENV MAIL MAILPATH
13556 do eval test x\${$as_var+set} = xset \
13557 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13573 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13574 # ----------------------------------------
13575 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13576 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13577 # script with STATUS, using 1 if that was 0.
13580 as_status=$1; test $as_status -eq 0 && as_status=1
13582 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13583 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13585 $as_echo "$as_me: error: $2" >&2
13586 as_fn_exit $as_status
13590 # as_fn_set_status STATUS
13591 # -----------------------
13592 # Set $? to STATUS, without forking.
13593 as_fn_set_status ()
13596 } # as_fn_set_status
13598 # as_fn_exit STATUS
13599 # -----------------
13600 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13604 as_fn_set_status $1
13610 # Portably unset VAR.
13613 { eval $1=; unset $1;}
13615 as_unset=as_fn_unset
13616 # as_fn_append VAR VALUE
13617 # ----------------------
13618 # Append the text in VALUE to the end of the definition contained in VAR. Take
13619 # advantage of any shell optimizations that allow amortized linear growth over
13620 # repeated appends, instead of the typical quadratic growth present in naive
13622 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13623 eval 'as_fn_append ()
13634 # as_fn_arith ARG...
13635 # ------------------
13636 # Perform arithmetic evaluation on the ARGs, and store the result in the
13637 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13638 # must be portable across $(()) and expr.
13639 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13640 eval 'as_fn_arith ()
13647 as_val=`expr "$@" || test $? -eq 1`
13652 if expr a : '\(a\)' >/dev/null 2>&1 &&
13653 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13659 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13660 as_basename=basename
13665 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13671 as_me=`$as_basename -- "$0" ||
13672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13673 X"$0" : 'X\(//\)$' \| \
13674 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13676 sed '/^.*\/\([^/][^/]*\)\/*$/{
13690 # Avoid depending upon Character Ranges.
13691 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13692 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13693 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13694 as_cr_digits='0123456789'
13695 as_cr_alnum=$as_cr_Letters$as_cr_digits
13697 ECHO_C= ECHO_N= ECHO_T=
13698 case `echo -n x` in #(((((
13700 case `echo 'xy\c'` in
13701 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13703 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13710 rm -f conf$$ conf$$.exe conf$$.file
13711 if test -d conf$$.dir; then
13712 rm -f conf$$.dir/conf$$.file
13715 mkdir conf$$.dir 2>/dev/null
13717 if (echo >conf$$.file) 2>/dev/null; then
13718 if ln -s conf$$.file conf$$ 2>/dev/null; then
13720 # ... but there are two gotchas:
13721 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13722 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13723 # In both cases, we have to default to `cp -pR'.
13724 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13726 elif ln conf$$.file conf$$ 2>/dev/null; then
13734 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13735 rmdir conf$$.dir 2>/dev/null
13740 # Create "$as_dir" as a directory, including parents if necessary.
13745 -*) as_dir=./$as_dir;;
13747 test -d "$as_dir" || eval $as_mkdir_p || {
13751 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13752 *) as_qdir=$as_dir;;
13754 as_dirs="'$as_qdir' $as_dirs"
13755 as_dir=`$as_dirname -- "$as_dir" ||
13756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13757 X"$as_dir" : 'X\(//\)[^/]' \| \
13758 X"$as_dir" : 'X\(//\)$' \| \
13759 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13760 $as_echo X"$as_dir" |
13761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13765 /^X\(\/\/\)[^/].*/{
13778 test -d "$as_dir" && break
13780 test -z "$as_dirs" || eval "mkdir $as_dirs"
13781 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13785 if mkdir -p . 2>/dev/null; then
13786 as_mkdir_p='mkdir -p "$as_dir"'
13788 test -d ./-p && rmdir ./-p
13793 # as_fn_executable_p FILE
13794 # -----------------------
13795 # Test if FILE is an executable regular file.
13796 as_fn_executable_p ()
13798 test -f "$1" && test -x "$1"
13799 } # as_fn_executable_p
13800 as_test_x='test -x'
13801 as_executable_p=as_fn_executable_p
13803 # Sed expression to map a string onto a valid CPP name.
13804 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13806 # Sed expression to map a string onto a valid variable name.
13807 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13811 ## ----------------------------------- ##
13812 ## Main body of $CONFIG_STATUS script. ##
13813 ## ----------------------------------- ##
13815 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13818 # Save the log message, to keep $0 and so on meaningful, and to
13819 # report actual input values of CONFIG_FILES etc. instead of their
13820 # values after options handling.
13822 This file was extended by dleyna-server $as_me 0.0.1, which was
13823 generated by GNU Autoconf 2.69. Invocation command line was
13825 CONFIG_FILES = $CONFIG_FILES
13826 CONFIG_HEADERS = $CONFIG_HEADERS
13827 CONFIG_LINKS = $CONFIG_LINKS
13828 CONFIG_COMMANDS = $CONFIG_COMMANDS
13831 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13836 case $ac_config_files in *"
13837 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13840 case $ac_config_headers in *"
13841 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13846 # Files that config.status was made for.
13847 config_files="$ac_config_files"
13848 config_headers="$ac_config_headers"
13849 config_commands="$ac_config_commands"
13853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13855 \`$as_me' instantiates files and other configuration actions
13856 from templates according to the current configuration. Unless the files
13857 and actions are specified as TAGs, all are instantiated by default.
13859 Usage: $0 [OPTION]... [TAG]...
13861 -h, --help print this help, then exit
13862 -V, --version print version number and configuration settings, then exit
13863 --config print configuration, then exit
13864 -q, --quiet, --silent
13865 do not print progress messages
13866 -d, --debug don't remove temporary files
13867 --recheck update $as_me by reconfiguring in the same conditions
13868 --file=FILE[:TEMPLATE]
13869 instantiate the configuration file FILE
13870 --header=FILE[:TEMPLATE]
13871 instantiate the configuration header FILE
13873 Configuration files:
13876 Configuration headers:
13879 Configuration commands:
13882 Report bugs to <https://github.com/01org/dleyna-server/issues/new>.
13883 dleyna-server home page: <https://01.org/dleyna/>."
13886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13887 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13889 dleyna-server config.status 0.0.1
13890 configured by $0, generated by GNU Autoconf 2.69,
13891 with options \\"\$ac_cs_config\\"
13893 Copyright (C) 2012 Free Software Foundation, Inc.
13894 This config.status script is free software; the Free Software Foundation
13895 gives unlimited permission to copy, distribute and modify it."
13902 test -n "\$AWK" || AWK=awk
13905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13906 # The default lists apply if the user does not specify any file.
13912 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13913 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13917 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13929 # Handling of the options.
13930 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13932 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13933 $as_echo "$ac_cs_version"; exit ;;
13934 --config | --confi | --conf | --con | --co | --c )
13935 $as_echo "$ac_cs_config"; exit ;;
13936 --debug | --debu | --deb | --de | --d | -d )
13938 --file | --fil | --fi | --f )
13941 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13942 '') as_fn_error $? "missing file argument" ;;
13944 as_fn_append CONFIG_FILES " '$ac_optarg'"
13945 ac_need_defaults=false;;
13946 --header | --heade | --head | --hea )
13949 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13951 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13952 ac_need_defaults=false;;
13954 # Conflict between --help and --header
13955 as_fn_error $? "ambiguous option: \`$1'
13956 Try \`$0 --help' for more information.";;
13957 --help | --hel | -h )
13958 $as_echo "$ac_cs_usage"; exit ;;
13959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13960 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13963 # This is an error.
13964 -*) as_fn_error $? "unrecognized option: \`$1'
13965 Try \`$0 --help' for more information." ;;
13967 *) as_fn_append ac_config_targets " $1"
13968 ac_need_defaults=false ;;
13974 ac_configure_extra_args=
13976 if $ac_cs_silent; then
13978 ac_configure_extra_args="$ac_configure_extra_args --silent"
13982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13983 if \$ac_cs_recheck; then
13984 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13986 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13987 CONFIG_SHELL='$SHELL'
13988 export CONFIG_SHELL
13993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13997 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13998 ## Running $as_me. ##
14004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14008 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14011 # The HP-UX ksh and POSIX shell print the target directory to stdout
14012 # if CDPATH is set.
14013 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14015 sed_quote_subst='$sed_quote_subst'
14016 double_quote_subst='$double_quote_subst'
14017 delay_variable_subst='$delay_variable_subst'
14018 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14019 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14020 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14021 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14022 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14023 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14024 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14025 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14026 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14027 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14028 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14029 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14030 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14031 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14032 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14033 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14034 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14035 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14036 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14037 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14038 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14039 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14040 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14041 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14042 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14043 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14044 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14045 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14046 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14047 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14048 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14049 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14050 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14051 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14052 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14053 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14054 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14055 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14056 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14057 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14058 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14059 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14060 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14061 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14062 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14063 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14064 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14065 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14066 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14067 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14068 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14069 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14070 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14071 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14072 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14073 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14074 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"`'
14075 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14076 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14077 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14078 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14079 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14080 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14081 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14082 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14083 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14084 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14085 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14086 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14087 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14088 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14089 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14090 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14091 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14092 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14093 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14094 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14095 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14096 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14097 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14098 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14099 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14100 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14101 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14102 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14103 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14104 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14105 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14106 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14107 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14108 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14109 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14110 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14111 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14112 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14113 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14114 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14115 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14116 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14117 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14118 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14119 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14120 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14121 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14122 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14123 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14124 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14125 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14126 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14127 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14128 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14129 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14130 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14131 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14132 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14133 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14134 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14135 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14136 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14137 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14138 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14139 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14140 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14141 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14142 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14143 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14144 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14145 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14146 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14147 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14150 LTCFLAGS='$LTCFLAGS'
14151 compiler='$compiler_DEFAULT'
14153 # A function that is used when there is no print builtin or printf.
14154 func_fallback_echo ()
14156 eval 'cat <<_LTECHO_EOF
14161 # Quote evaled strings.
14176 deplibs_check_method \
14181 sharedlib_from_linklib_cmd \
14184 archiver_list_spec \
14190 lt_cv_sys_global_symbol_pipe \
14191 lt_cv_sys_global_symbol_to_cdecl \
14192 lt_cv_sys_global_symbol_to_c_name_address \
14193 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14194 nm_file_list_spec \
14195 lt_prog_compiler_no_builtin_flag \
14196 lt_prog_compiler_pic \
14197 lt_prog_compiler_wl \
14198 lt_prog_compiler_static \
14199 lt_cv_prog_compiler_c_o \
14208 export_dynamic_flag_spec \
14209 whole_archive_flag_spec \
14210 compiler_needs_object \
14212 allow_undefined_flag \
14213 no_undefined_flag \
14214 hardcode_libdir_flag_spec \
14215 hardcode_libdir_separator \
14219 variables_saved_for_relink \
14221 library_names_spec \
14223 install_override_mode \
14227 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14228 *[\\\\\\\`\\"\\\$]*)
14229 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14232 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14237 # Double-quote double-evaled strings.
14238 for var in reload_cmds \
14239 old_postinstall_cmds \
14240 old_postuninstall_cmds \
14242 extract_expsyms_cmds \
14243 old_archive_from_new_cmds \
14244 old_archive_from_expsyms_cmds \
14246 archive_expsym_cmds \
14248 module_expsym_cmds \
14249 export_symbols_cmds \
14253 postuninstall_cmds \
14255 sys_lib_search_path_spec \
14256 sys_lib_dlsearch_path_spec; do
14257 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14258 *[\\\\\\\`\\"\\\$]*)
14259 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14262 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14267 ac_aux_dir='$ac_aux_dir'
14268 xsi_shell='$xsi_shell'
14269 lt_shell_append='$lt_shell_append'
14271 # See if we are running on zsh, and set the options which allow our
14272 # commands through without removal of \ escapes INIT.
14273 if test -n "\${ZSH_VERSION+set}" ; then
14274 setopt NO_GLOB_SUBST
14280 TIMESTAMP='$TIMESTAMP'
14289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14291 # Handling of arguments.
14292 for ac_config_target in $ac_config_targets
14294 case $ac_config_target in
14295 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14296 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14297 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14298 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14299 "libdleyna/server/Makefile") CONFIG_FILES="$CONFIG_FILES libdleyna/server/Makefile" ;;
14300 "libdleyna/server/dleyna-server-1.0.pc") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-1.0.pc" ;;
14301 "libdleyna/server/dleyna-server-service.conf") CONFIG_FILES="$CONFIG_FILES libdleyna/server/dleyna-server-service.conf" ;;
14302 "server/com.intel.dleyna-server.service") CONFIG_FILES="$CONFIG_FILES server/com.intel.dleyna-server.service" ;;
14303 "server/dleyna-server-service-1.0.pc") CONFIG_FILES="$CONFIG_FILES server/dleyna-server-service-1.0.pc" ;;
14304 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
14305 "test/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES test/dbus/Makefile" ;;
14307 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14312 # If the user did not use the arguments to specify the items to instantiate,
14313 # then the envvar interface is used. Set only those that are not.
14314 # We use the long form for the default assignment because of an extremely
14315 # bizarre bug on SunOS 4.1.3.
14316 if $ac_need_defaults; then
14317 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14318 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14319 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14322 # Have a temporary directory for convenience. Make it in the build tree
14323 # simply because there is no reason against having it here, and in addition,
14324 # creating and moving files from /tmp can sometimes cause problems.
14325 # Hook for its removal unless debugging.
14326 # Note that there is a small window in which the directory will not be cleaned:
14327 # after its creation but before its name has been assigned to `$tmp'.
14331 trap 'exit_status=$?
14332 : "${ac_tmp:=$tmp}"
14333 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14335 trap 'as_fn_exit 1' 1 2 13 15
14337 # Create a (secure) tmp directory for tmp files.
14340 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14344 tmp=./conf$$-$RANDOM
14345 (umask 077 && mkdir "$tmp")
14346 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14349 # Set up the scripts for CONFIG_FILES section.
14350 # No need to generate them if there are no CONFIG_FILES.
14351 # This happens for instance with `./config.status config.h'.
14352 if test -n "$CONFIG_FILES"; then
14355 ac_cr=`echo X | tr X '\015'`
14356 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14357 # But we know of no other shell where ac_cr would be empty at this
14358 # point, so we can use a bashism as a fallback.
14359 if test "x$ac_cr" = x; then
14360 eval ac_cr=\$\'\\r\'
14362 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14363 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14366 ac_cs_awk_cr=$ac_cr
14369 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14374 echo "cat >conf$$subs.awk <<_ACEOF" &&
14375 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14377 } >conf$$subs.sh ||
14378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14379 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14381 for ac_last_try in false false false false false :; do
14382 . ./conf$$subs.sh ||
14383 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14385 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14386 if test $ac_delim_n = $ac_delim_num; then
14388 elif $ac_last_try; then
14389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14391 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14394 rm -f conf$$subs.sh
14396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14397 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14401 s/^/S["/; s/!.*/"]=/
14411 s/\(.\{148\}\)..*/\1/
14413 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14425 s/\(.\{148\}\)..*/\1/
14427 s/["\\]/\\&/g; s/^/"/; s/$/"/
14431 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14436 ' <conf$$subs.awk | sed '
14441 ' >>$CONFIG_STATUS || ac_write_fail=1
14442 rm -f conf$$subs.awk
14443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14445 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14446 for (key in S) S_is_set[key] = 1
14452 nfields = split(line, field, "@")
14454 len = length(field[1])
14455 for (i = 2; i < nfields; i++) {
14457 keylen = length(key)
14458 if (S_is_set[key]) {
14460 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14461 len += length(value) + length(field[++i])
14472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14473 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14474 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14477 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14478 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14481 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14482 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14483 # trailing colons and then remove the whole line if VPATH becomes empty
14484 # (actually we leave an empty line to preserve line numbers).
14485 if test "x$srcdir" = x.; then
14486 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14505 fi # test -n "$CONFIG_FILES"
14507 # Set up the scripts for CONFIG_HEADERS section.
14508 # No need to generate them if there are no CONFIG_HEADERS.
14509 # This happens for instance with `./config.status Makefile'.
14510 if test -n "$CONFIG_HEADERS"; then
14511 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14515 # Transform confdefs.h into an awk script `defines.awk', embedded as
14516 # here-document in config.status, that substitutes the proper values into
14517 # config.h.in to produce config.h.
14519 # Create a delimiter string that does not exist in confdefs.h, to ease
14520 # handling of long lines.
14522 for ac_last_try in false false :; do
14523 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14524 if test -z "$ac_tt"; then
14526 elif $ac_last_try; then
14527 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14529 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14533 # For the awk script, D is an array of macro values keyed by name,
14534 # likewise P contains macro parameters if any. Preserve backslash
14535 # newline sequences.
14537 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14539 s/.\{148\}/&'"$ac_delim"'/g
14542 s/^[ ]*#[ ]*define[ ][ ]*/ /
14549 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14551 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14555 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14556 D["\1"]=" \3\\\\\\n"\\/p
14558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14563 s/.\{148\}/&'"$ac_delim"'/g
14568 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14571 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14573 ' <confdefs.h | sed '
14574 s/'"$ac_delim"'/"\\\
14575 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14578 for (key in D) D_is_set[key] = 1
14581 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14583 split(line, arg, " ")
14584 if (arg[1] == "#") {
14588 defundef = substr(arg[1], 2)
14591 split(mac1, mac2, "(") #)
14593 prefix = substr(line, 1, index(line, defundef) - 1)
14594 if (D_is_set[macro]) {
14595 # Preserve the white space surrounding the "#".
14596 print prefix "define", macro P[macro] D[macro]
14599 # Replace #undef with comments. This is necessary, for example,
14600 # in the case of _POSIX_SOURCE, which is predefined and required
14601 # on some systems where configure will not decide to define it.
14602 if (defundef == "undef") {
14603 print "/*", prefix defundef, macro, "*/"
14611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14612 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14613 fi # test -n "$CONFIG_HEADERS"
14616 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14621 :[FHLC]) ac_mode=$ac_tag; continue;;
14623 case $ac_mode$ac_tag in
14625 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14626 :[FH]-) ac_tag=-:-;;
14627 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14644 -) ac_f="$ac_tmp/stdin";;
14645 *) # Look for the file first in the build tree, then in the source tree
14646 # (if the path is not absolute). The absolute path cannot be DOS-style,
14647 # because $ac_f cannot contain `:'.
14651 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14653 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14655 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14656 as_fn_append ac_file_inputs " '$ac_f'"
14659 # Let's still pretend it is `configure' which instantiates (i.e., don't
14660 # use $as_me), people would be surprised to read:
14661 # /* config.h. Generated by config.status. */
14662 configure_input='Generated from '`
14663 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14665 if test x"$ac_file" != x-; then
14666 configure_input="$ac_file. $configure_input"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14668 $as_echo "$as_me: creating $ac_file" >&6;}
14670 # Neutralize special characters interpreted by sed in replacement strings.
14671 case $configure_input in #(
14672 *\&* | *\|* | *\\* )
14673 ac_sed_conf_input=`$as_echo "$configure_input" |
14674 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14675 *) ac_sed_conf_input=$configure_input;;
14679 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14680 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14685 ac_dir=`$as_dirname -- "$ac_file" ||
14686 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14687 X"$ac_file" : 'X\(//\)[^/]' \| \
14688 X"$ac_file" : 'X\(//\)$' \| \
14689 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14690 $as_echo X"$ac_file" |
14691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14695 /^X\(\/\/\)[^/].*/{
14708 as_dir="$ac_dir"; as_fn_mkdir_p
14712 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14714 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14715 # A ".." for each directory in $ac_dir_suffix.
14716 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14717 case $ac_top_builddir_sub in
14718 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14719 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14722 ac_abs_top_builddir=$ac_pwd
14723 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14724 # for backward compatibility:
14725 ac_top_builddir=$ac_top_build_prefix
14728 .) # We are building in place.
14730 ac_top_srcdir=$ac_top_builddir_sub
14731 ac_abs_top_srcdir=$ac_pwd ;;
14732 [\\/]* | ?:[\\/]* ) # Absolute name.
14733 ac_srcdir=$srcdir$ac_dir_suffix;
14734 ac_top_srcdir=$srcdir
14735 ac_abs_top_srcdir=$srcdir ;;
14736 *) # Relative name.
14737 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14738 ac_top_srcdir=$ac_top_build_prefix$srcdir
14739 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14741 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14751 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14752 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14754 ac_MKDIR_P=$MKDIR_P
14756 [\\/$]* | ?:[\\/]* ) ;;
14757 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14762 # If the template does not know about datarootdir, expand it.
14763 # FIXME: This hack should be removed a few years after 2.60.
14764 ac_datarootdir_hack=; ac_datarootdir_seen=
14775 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14776 *datarootdir*) ac_datarootdir_seen=yes;;
14777 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14779 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14782 ac_datarootdir_hack='
14783 s&@datadir@&$datadir&g
14784 s&@docdir@&$docdir&g
14785 s&@infodir@&$infodir&g
14786 s&@localedir@&$localedir&g
14787 s&@mandir@&$mandir&g
14788 s&\\\${datarootdir}&$datarootdir&g' ;;
14792 # Neutralize VPATH when `$srcdir' = `.'.
14793 # Shell code in configure.ac might set extrasub.
14794 # FIXME: do we really want to maintain this feature?
14795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14796 ac_sed_extra="$ac_vpsub
14799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14801 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14802 s|@configure_input@|$ac_sed_conf_input|;t t
14803 s&@top_builddir@&$ac_top_builddir_sub&;t t
14804 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14805 s&@srcdir@&$ac_srcdir&;t t
14806 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14807 s&@top_srcdir@&$ac_top_srcdir&;t t
14808 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14809 s&@builddir@&$ac_builddir&;t t
14810 s&@abs_builddir@&$ac_abs_builddir&;t t
14811 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14812 s&@INSTALL@&$ac_INSTALL&;t t
14813 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14814 $ac_datarootdir_hack
14816 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14817 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14819 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14820 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14821 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14822 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14824 which seems to be undefined. Please make sure it is defined" >&5
14825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14826 which seems to be undefined. Please make sure it is defined" >&2;}
14828 rm -f "$ac_tmp/stdin"
14830 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14831 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14839 if test x"$ac_file" != x-; then
14841 $as_echo "/* $configure_input */" \
14842 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14843 } >"$ac_tmp/config.h" \
14844 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14845 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14847 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14850 mv "$ac_tmp/config.h" "$ac_file" \
14851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14854 $as_echo "/* $configure_input */" \
14855 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14856 || as_fn_error $? "could not create -" "$LINENO" 5
14858 # Compute "$ac_file"'s index in $config_headers.
14861 for _am_header in $config_headers :; do
14862 case $_am_header in
14863 $_am_arg | $_am_arg:* )
14866 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14869 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14870 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14871 X"$_am_arg" : 'X\(//\)[^/]' \| \
14872 X"$_am_arg" : 'X\(//\)$' \| \
14873 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14874 $as_echo X"$_am_arg" |
14875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14879 /^X\(\/\/\)[^/].*/{
14891 s/.*/./; q'`/stamp-h$_am_stamp_count
14894 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14895 $as_echo "$as_me: executing $ac_file commands" >&6;}
14900 case $ac_file$ac_mode in
14901 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14902 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14903 # are listed without --file. Let's play safe and only enable the eval
14904 # if we detect the quoting.
14905 case $CONFIG_FILES in
14906 *\'*) eval set x "$CONFIG_FILES" ;;
14907 *) set x $CONFIG_FILES ;;
14912 # Strip MF so we end up with the name of the file.
14913 mf=`echo "$mf" | sed -e 's/:.*$//'`
14914 # Check whether this is an Automake generated Makefile or not.
14915 # We used to match only the files named `Makefile.in', but
14916 # some people rename them; so instead we look at the file content.
14917 # Grep'ing the first line is not enough: some people post-process
14918 # each Makefile.in and add a new line on top of each file to say so.
14919 # Grep'ing the whole file is not good either: AIX grep has a line
14920 # limit of 2048, but all sed's we know have understand at least 4000.
14921 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14922 dirpart=`$as_dirname -- "$mf" ||
14923 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14924 X"$mf" : 'X\(//\)[^/]' \| \
14925 X"$mf" : 'X\(//\)$' \| \
14926 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14932 /^X\(\/\/\)[^/].*/{
14948 # Extract the definition of DEPDIR, am__include, and am__quote
14949 # from the Makefile without running `make'.
14950 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14951 test -z "$DEPDIR" && continue
14952 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14953 test -z "am__include" && continue
14954 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14955 # When using ansi2knr, U may be empty or an underscore; expand it
14956 U=`sed -n 's/^U = //p' < "$mf"`
14957 # Find all dependency output files, they are included files with
14958 # $(DEPDIR) in their names. We invoke sed twice because it is the
14959 # simplest approach to changing $(DEPDIR) to its actual value in the
14961 for file in `sed -n "
14962 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14963 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14964 # Make sure the directory exists.
14965 test -f "$dirpart/$file" && continue
14966 fdir=`$as_dirname -- "$file" ||
14967 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14968 X"$file" : 'X\(//\)[^/]' \| \
14969 X"$file" : 'X\(//\)$' \| \
14970 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14971 $as_echo X"$file" |
14972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14976 /^X\(\/\/\)[^/].*/{
14989 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14990 # echo "creating $dirpart/$file"
14991 echo '# dummy' > "$dirpart/$file"
14998 # See if we are running on zsh, and set the options which allow our
14999 # commands through without removal of \ escapes.
15000 if test -n "${ZSH_VERSION+set}" ; then
15001 setopt NO_GLOB_SUBST
15004 cfgfile="${ofile}T"
15005 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15008 cat <<_LT_EOF >> "$cfgfile"
15011 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15012 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15013 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15014 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15016 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15017 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15019 # Written by Gordon Matzigkeit, 1996
15021 # This file is part of GNU Libtool.
15023 # GNU Libtool is free software; you can redistribute it and/or
15024 # modify it under the terms of the GNU General Public License as
15025 # published by the Free Software Foundation; either version 2 of
15026 # the License, or (at your option) any later version.
15028 # As a special exception to the GNU General Public License,
15029 # if you distribute this file as part of a program or library that
15030 # is built using GNU Libtool, you may include this file under the
15031 # same distribution terms that you use for the rest of that program.
15033 # GNU Libtool is distributed in the hope that it will be useful,
15034 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15035 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15036 # GNU General Public License for more details.
15038 # You should have received a copy of the GNU General Public License
15039 # along with GNU Libtool; see the file COPYING. If not, a copy
15040 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15041 # obtained by writing to the Free Software Foundation, Inc.,
15042 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15045 # The names of the tagged configurations supported by this script.
15048 # ### BEGIN LIBTOOL CONFIG
15050 # Which release of libtool.m4 was used?
15051 macro_version=$macro_version
15052 macro_revision=$macro_revision
15054 # Whether or not to build static libraries.
15055 build_old_libs=$enable_static
15057 # Whether or not to build shared libraries.
15058 build_libtool_libs=$enable_shared
15060 # What type of objects to build.
15063 # Whether or not to optimize for fast installation.
15064 fast_install=$enable_fast_install
15066 # Shell to use when invoking shell scripts.
15069 # An echo program that protects backslashes.
15072 # The PATH separator for the build system.
15073 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15076 host_alias=$host_alias
15080 # The build system.
15081 build_alias=$build_alias
15085 # A sed program that does not truncate output.
15088 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15089 Xsed="\$SED -e 1s/^X//"
15091 # A grep program that handles long lines.
15097 # A literal string matcher.
15100 # A BSD- or MS-compatible name lister.
15103 # Whether we need soft or hard links.
15106 # What is the maximum length of a command?
15107 max_cmd_len=$max_cmd_len
15109 # Object file suffix (normally "o").
15112 # Executable file suffix (normally "").
15115 # whether the shell understands "unset".
15118 # turn spaces into newlines.
15121 # turn newlines into spaces.
15124 # convert \$build file names to \$host format.
15125 to_host_file_cmd=$lt_cv_to_host_file_cmd
15127 # convert \$build files to toolchain format.
15128 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15130 # An object symbol dumper.
15131 OBJDUMP=$lt_OBJDUMP
15133 # Method to check whether dependent libraries are shared objects.
15134 deplibs_check_method=$lt_deplibs_check_method
15136 # Command to use when deplibs_check_method = "file_magic".
15137 file_magic_cmd=$lt_file_magic_cmd
15139 # How to find potential files when deplibs_check_method = "file_magic".
15140 file_magic_glob=$lt_file_magic_glob
15142 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15143 want_nocaseglob=$lt_want_nocaseglob
15145 # DLL creation program.
15146 DLLTOOL=$lt_DLLTOOL
15148 # Command to associate shared and link libraries.
15149 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15154 # Flags to create an archive.
15155 AR_FLAGS=$lt_AR_FLAGS
15157 # How to feed a file listing to the archiver.
15158 archiver_list_spec=$lt_archiver_list_spec
15160 # A symbol stripping program.
15163 # Commands used to install an old-style archive.
15165 old_postinstall_cmds=$lt_old_postinstall_cmds
15166 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15168 # Whether to use a lock for old archive extraction.
15169 lock_old_archive_extraction=$lock_old_archive_extraction
15174 # LTCC compiler flags.
15175 LTCFLAGS=$lt_CFLAGS
15177 # Take the output of nm and produce a listing of raw symbols and C names.
15178 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15180 # Transform the output of nm in a proper C declaration.
15181 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15183 # Transform the output of nm in a C name address pair.
15184 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15186 # Transform the output of nm in a C name address pair when lib prefix is needed.
15187 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15189 # Specify filename containing input files for \$NM.
15190 nm_file_list_spec=$lt_nm_file_list_spec
15192 # The root where to search for dependent libraries,and in which our libraries should be installed.
15193 lt_sysroot=$lt_sysroot
15195 # The name of the directory that contains temporary libtool files.
15198 # Used to examine libraries when file_magic_cmd begins with "file".
15199 MAGIC_CMD=$MAGIC_CMD
15201 # Must we lock files when doing compilation?
15202 need_locks=$lt_need_locks
15205 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15207 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15208 DSYMUTIL=$lt_DSYMUTIL
15210 # Tool to change global to local symbols on Mac OS X.
15213 # Tool to manipulate fat objects and archives on Mac OS X.
15216 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15219 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15220 OTOOL64=$lt_OTOOL64
15222 # Old archive suffix (normally "a").
15225 # Shared library suffix (normally ".so").
15226 shrext_cmds=$lt_shrext_cmds
15228 # The commands to extract the exported symbol list from a shared archive.
15229 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15231 # Variables whose values should be saved in libtool wrapper scripts and
15232 # restored at link time.
15233 variables_saved_for_relink=$lt_variables_saved_for_relink
15235 # Do we need the "lib" prefix for modules?
15236 need_lib_prefix=$need_lib_prefix
15238 # Do we need a version for libraries?
15239 need_version=$need_version
15241 # Library versioning type.
15242 version_type=$version_type
15244 # Shared library runtime path variable.
15245 runpath_var=$runpath_var
15247 # Shared library path variable.
15248 shlibpath_var=$shlibpath_var
15250 # Is shlibpath searched before the hard-coded library search path?
15251 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15253 # Format of library name prefix.
15254 libname_spec=$lt_libname_spec
15256 # List of archive names. First name is the real one, the rest are links.
15257 # The last name is the one that the linker finds with -lNAME
15258 library_names_spec=$lt_library_names_spec
15260 # The coded name of the library, if different from the real name.
15261 soname_spec=$lt_soname_spec
15263 # Permission mode override for installation of shared libraries.
15264 install_override_mode=$lt_install_override_mode
15266 # Command to use after installation of a shared archive.
15267 postinstall_cmds=$lt_postinstall_cmds
15269 # Command to use after uninstallation of a shared archive.
15270 postuninstall_cmds=$lt_postuninstall_cmds
15272 # Commands used to finish a libtool library installation in a directory.
15273 finish_cmds=$lt_finish_cmds
15275 # As "finish_cmds", except a single script fragment to be evaled but
15277 finish_eval=$lt_finish_eval
15279 # Whether we should hardcode library paths into libraries.
15280 hardcode_into_libs=$hardcode_into_libs
15282 # Compile-time system search path for libraries.
15283 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15285 # Run-time system search path for libraries.
15286 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15288 # Whether dlopen is supported.
15289 dlopen_support=$enable_dlopen
15291 # Whether dlopen of programs is supported.
15292 dlopen_self=$enable_dlopen_self
15294 # Whether dlopen of statically linked programs is supported.
15295 dlopen_self_static=$enable_dlopen_self_static
15297 # Commands to strip libraries.
15298 old_striplib=$lt_old_striplib
15299 striplib=$lt_striplib
15302 # The linker used to build libraries.
15305 # How to create reloadable object files.
15306 reload_flag=$lt_reload_flag
15307 reload_cmds=$lt_reload_cmds
15309 # Commands used to build an old-style archive.
15310 old_archive_cmds=$lt_old_archive_cmds
15312 # A language specific compiler.
15315 # Is the compiler the GNU compiler?
15318 # Compiler flag to turn off builtin functions.
15319 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15321 # Additional compiler flags for building library objects.
15322 pic_flag=$lt_lt_prog_compiler_pic
15324 # How to pass a linker flag through the compiler.
15325 wl=$lt_lt_prog_compiler_wl
15327 # Compiler flag to prevent dynamic linking.
15328 link_static_flag=$lt_lt_prog_compiler_static
15330 # Does compiler simultaneously support -c and -o options?
15331 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15333 # Whether or not to add -lc for building shared libraries.
15334 build_libtool_need_lc=$archive_cmds_need_lc
15336 # Whether or not to disallow shared libs when runtime libs are static.
15337 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15339 # Compiler flag to allow reflexive dlopens.
15340 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15342 # Compiler flag to generate shared objects directly from archives.
15343 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15345 # Whether the compiler copes with passing no objects directly.
15346 compiler_needs_object=$lt_compiler_needs_object
15348 # Create an old-style archive from a shared archive.
15349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15351 # Create a temporary old-style archive to link instead of a shared archive.
15352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15354 # Commands used to build a shared archive.
15355 archive_cmds=$lt_archive_cmds
15356 archive_expsym_cmds=$lt_archive_expsym_cmds
15358 # Commands used to build a loadable module if different from building
15359 # a shared archive.
15360 module_cmds=$lt_module_cmds
15361 module_expsym_cmds=$lt_module_expsym_cmds
15363 # Whether we are building with GNU ld or not.
15364 with_gnu_ld=$lt_with_gnu_ld
15366 # Flag that allows shared libraries with undefined symbols to be built.
15367 allow_undefined_flag=$lt_allow_undefined_flag
15369 # Flag that enforces no undefined symbols.
15370 no_undefined_flag=$lt_no_undefined_flag
15372 # Flag to hardcode \$libdir into a binary during linking.
15373 # This must work even if \$libdir does not exist
15374 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15376 # Whether we need a single "-rpath" flag with a separated argument.
15377 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15380 # DIR into the resulting binary.
15381 hardcode_direct=$hardcode_direct
15383 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15384 # DIR into the resulting binary and the resulting library dependency is
15385 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15386 # library is relocated.
15387 hardcode_direct_absolute=$hardcode_direct_absolute
15389 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15390 # into the resulting binary.
15391 hardcode_minus_L=$hardcode_minus_L
15393 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15394 # into the resulting binary.
15395 hardcode_shlibpath_var=$hardcode_shlibpath_var
15397 # Set to "yes" if building a shared library automatically hardcodes DIR
15398 # into the library and all subsequent libraries and executables linked
15400 hardcode_automatic=$hardcode_automatic
15402 # Set to yes if linker adds runtime paths of dependent libraries
15403 # to runtime path list.
15404 inherit_rpath=$inherit_rpath
15406 # Whether libtool must link a program against all its dependency libraries.
15407 link_all_deplibs=$link_all_deplibs
15409 # Set to "yes" if exported symbols are required.
15410 always_export_symbols=$always_export_symbols
15412 # The commands to list exported symbols.
15413 export_symbols_cmds=$lt_export_symbols_cmds
15415 # Symbols that should not be listed in the preloaded symbols.
15416 exclude_expsyms=$lt_exclude_expsyms
15418 # Symbols that must always be exported.
15419 include_expsyms=$lt_include_expsyms
15421 # Commands necessary for linking programs (against libraries) with templates.
15422 prelink_cmds=$lt_prelink_cmds
15424 # Commands necessary for finishing linking programs.
15425 postlink_cmds=$lt_postlink_cmds
15427 # Specify filename containing input files.
15428 file_list_spec=$lt_file_list_spec
15430 # How to hardcode a shared library path into an executable.
15431 hardcode_action=$hardcode_action
15433 # ### END LIBTOOL CONFIG
15439 cat <<\_LT_EOF >> "$cfgfile"
15440 # AIX sometimes has problems with the GCC collect2 program. For some
15441 # reason, if we set the COLLECT_NAMES environment variable, the problems
15442 # vanish in a puff of smoke.
15443 if test "X${COLLECT_NAMES+set}" != Xset; then
15445 export COLLECT_NAMES
15452 ltmain="$ac_aux_dir/ltmain.sh"
15455 # We use sed instead of cat because bash on DJGPP gets confused if
15456 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15457 # text mode, it properly converts lines to CR/LF. This bash problem
15458 # is reportedly fixed, but why not run on old versions too?
15459 sed '$q' "$ltmain" >> "$cfgfile" \
15460 || (rm -f "$cfgfile"; exit 1)
15462 if test x"$xsi_shell" = xyes; then
15463 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15467 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15468 \ * ) func_dirname_result="${3}" ;;\
15470 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15471 && mv -f "$cfgfile.tmp" "$cfgfile" \
15472 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15473 test 0 -eq $? || _lt_function_replace_fail=:
15476 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15479 \ func_basename_result="${1##*/}"\
15480 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15481 && mv -f "$cfgfile.tmp" "$cfgfile" \
15482 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15483 test 0 -eq $? || _lt_function_replace_fail=:
15486 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15487 func_dirname_and_basename ()\
15490 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15491 \ * ) func_dirname_result="${3}" ;;\
15493 \ func_basename_result="${1##*/}"\
15494 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15495 && mv -f "$cfgfile.tmp" "$cfgfile" \
15496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15497 test 0 -eq $? || _lt_function_replace_fail=:
15500 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15503 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15504 \ # positional parameters, so assign one to ordinary parameter first.\
15505 \ func_stripname_result=${3}\
15506 \ func_stripname_result=${func_stripname_result#"${1}"}\
15507 \ func_stripname_result=${func_stripname_result%"${2}"}\
15508 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15509 && mv -f "$cfgfile.tmp" "$cfgfile" \
15510 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15511 test 0 -eq $? || _lt_function_replace_fail=:
15514 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15515 func_split_long_opt ()\
15517 \ func_split_long_opt_name=${1%%=*}\
15518 \ func_split_long_opt_arg=${1#*=}\
15519 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15520 && mv -f "$cfgfile.tmp" "$cfgfile" \
15521 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15522 test 0 -eq $? || _lt_function_replace_fail=:
15525 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15526 func_split_short_opt ()\
15528 \ func_split_short_opt_arg=${1#??}\
15529 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15530 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15531 && mv -f "$cfgfile.tmp" "$cfgfile" \
15532 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15533 test 0 -eq $? || _lt_function_replace_fail=:
15536 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15540 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15541 \ *) func_lo2o_result=${1} ;;\
15543 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15544 && mv -f "$cfgfile.tmp" "$cfgfile" \
15545 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15546 test 0 -eq $? || _lt_function_replace_fail=:
15549 sed -e '/^func_xform ()$/,/^} # func_xform /c\
15552 func_xform_result=${1%.*}.lo\
15553 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15554 && mv -f "$cfgfile.tmp" "$cfgfile" \
15555 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15556 test 0 -eq $? || _lt_function_replace_fail=:
15559 sed -e '/^func_arith ()$/,/^} # func_arith /c\
15562 func_arith_result=$(( $* ))\
15563 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15564 && mv -f "$cfgfile.tmp" "$cfgfile" \
15565 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15566 test 0 -eq $? || _lt_function_replace_fail=:
15569 sed -e '/^func_len ()$/,/^} # func_len /c\
15572 func_len_result=${#1}\
15573 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15574 && mv -f "$cfgfile.tmp" "$cfgfile" \
15575 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15576 test 0 -eq $? || _lt_function_replace_fail=:
15580 if test x"$lt_shell_append" = xyes; then
15581 sed -e '/^func_append ()$/,/^} # func_append /c\
15584 eval "${1}+=\\${2}"\
15585 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15586 && mv -f "$cfgfile.tmp" "$cfgfile" \
15587 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15588 test 0 -eq $? || _lt_function_replace_fail=:
15591 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15592 func_append_quoted ()\
15594 \ func_quote_for_eval "${2}"\
15595 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15596 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15597 && mv -f "$cfgfile.tmp" "$cfgfile" \
15598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15599 test 0 -eq $? || _lt_function_replace_fail=:
15602 # Save a `func_append' function call where possible by direct use of '+='
15603 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15604 && mv -f "$cfgfile.tmp" "$cfgfile" \
15605 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15606 test 0 -eq $? || _lt_function_replace_fail=:
15608 # Save a `func_append' function call even when '+=' is not available
15609 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15610 && mv -f "$cfgfile.tmp" "$cfgfile" \
15611 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15612 test 0 -eq $? || _lt_function_replace_fail=:
15615 if test x"$_lt_function_replace_fail" = x":"; then
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15617 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15621 mv -f "$cfgfile" "$ofile" ||
15622 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15633 ac_clean_files=$ac_clean_files_save
15635 test $ac_write_fail = 0 ||
15636 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15639 # configure is writing to config.log, and then calls config.status.
15640 # config.status does its own redirection, appending to config.log.
15641 # Unfortunately, on DOS this fails, as config.log is still kept open
15642 # by configure, so config.status won't be able to write to it; its
15643 # output is simply discarded. So we exec the FD to /dev/null,
15644 # effectively closing config.log, so it can be properly (re)opened and
15645 # appended to by config.status. When coming back to configure, we
15646 # need to make the FD available again.
15647 if test "$no_create" != yes; then
15649 ac_config_status_args=
15650 test "$silent" = yes &&
15651 ac_config_status_args="$ac_config_status_args --quiet"
15653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15656 # would make configure fail if this is the last instruction.
15657 $ac_cs_success || as_fn_exit 1
15659 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15661 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15665 $as_echo "-------------------------------------------------
15667 ${PACKAGE_NAME} Version ${PACKAGE_VERSION}
15669 Prefix : '${prefix}'
15671 CFLAGS : '${CFLAGS}'
15674 - enable-werror : ${enable_werror}
15675 - enable-debug : ${enable_debug}
15676 - enable-never-quit : ${enable_never_quit}
15677 - with_connector-name : ${with_connector_name}
15678 - disable-optimization: ${disable_optimization}
15679 - with-log-level : ${with_log_level}
15680 - with-log-type : ${with_log_type}
15681 - with-ua-prefix : ${with_ua_prefix}
15682 - enable-lib-only : ${enable_lib_only}
15684 --------------------------------------------------"