2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for rtl433 UNKNOWN.
5 # Report bugs to <rtl_433@googlegroups.com>.
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: rtl_433@googlegroups.com about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: 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='rtl433'
592 PACKAGE_TARNAME='rtl433'
593 PACKAGE_VERSION='UNKNOWN'
594 PACKAGE_STRING='rtl433 UNKNOWN'
595 PACKAGE_BUGREPORT='rtl_433@googlegroups.com'
598 # Factoring default headers for most tests.
599 ac_includes_default="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars='am__EXEEXT_FALSE
709 INSTALL_STRIP_PROGRAM
752 program_transform_name
765 enable_option_checking
767 enable_dependency_tracking
777 ac_precious_vars='build_alias
794 # Initialize some variables set by options.
796 ac_init_version=false
797 ac_unrecognized_opts=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
808 program_transform_name=s,x,x,
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 runstatedir='${localstatedir}/run'
831 includedir='${prefix}/include'
832 oldincludedir='/usr/include'
833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
834 infodir='${datarootdir}/info'
839 libdir='${exec_prefix}/lib'
840 localedir='${datarootdir}/locale'
841 mandir='${datarootdir}/man'
847 # If the previous option needs an argument, assign it.
848 if test -n "$ac_prev"; then
849 eval $ac_prev=\$ac_option
855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902 as_fn_error $? "invalid feature name: $ac_useropt"
903 ac_useropt_orig=$ac_useropt
904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905 case $ac_user_opts in
909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
910 ac_unrecognized_sep=', ';;
912 eval enable_$ac_useropt=no ;;
914 -docdir | --docdir | --docdi | --doc | --do)
916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 -enable-* | --enable-*)
925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 as_fn_error $? "invalid feature name: $ac_useropt"
929 ac_useropt_orig=$ac_useropt
930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
936 ac_unrecognized_sep=', ';;
938 eval enable_$ac_useropt=\$ac_optarg ;;
940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
942 | --exec | --exe | --ex)
943 ac_prev=exec_prefix ;;
944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
946 | --exec=* | --exe=* | --ex=*)
947 exec_prefix=$ac_optarg ;;
949 -gas | --gas | --ga | --g)
950 # Obsolete; use --with-gas.
953 -help | --help | --hel | --he | -h)
955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
956 ac_init_help=recursive ;;
957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
958 ac_init_help=short ;;
960 -host | --host | --hos | --ho)
961 ac_prev=host_alias ;;
962 -host=* | --host=* | --hos=* | --ho=*)
963 host_alias=$ac_optarg ;;
965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
969 htmldir=$ac_optarg ;;
971 -includedir | --includedir | --includedi | --included | --include \
972 | --includ | --inclu | --incl | --inc)
973 ac_prev=includedir ;;
974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
975 | --includ=* | --inclu=* | --incl=* | --inc=*)
976 includedir=$ac_optarg ;;
978 -infodir | --infodir | --infodi | --infod | --info | --inf)
980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
981 infodir=$ac_optarg ;;
983 -libdir | --libdir | --libdi | --libd)
985 -libdir=* | --libdir=* | --libdi=* | --libd=*)
988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
989 | --libexe | --libex | --libe)
990 ac_prev=libexecdir ;;
991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
992 | --libexe=* | --libex=* | --libe=*)
993 libexecdir=$ac_optarg ;;
995 -localedir | --localedir | --localedi | --localed | --locale)
997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
998 localedir=$ac_optarg ;;
1000 -localstatedir | --localstatedir | --localstatedi | --localstated \
1001 | --localstate | --localstat | --localsta | --localst | --locals)
1002 ac_prev=localstatedir ;;
1003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1005 localstatedir=$ac_optarg ;;
1007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1010 mandir=$ac_optarg ;;
1012 -nfp | --nfp | --nf)
1013 # Obsolete; use --without-fp.
1016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1017 | --no-cr | --no-c | -n)
1020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1026 | --oldin | --oldi | --old | --ol | --o)
1027 ac_prev=oldincludedir ;;
1028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1031 oldincludedir=$ac_optarg ;;
1033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1036 prefix=$ac_optarg ;;
1038 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1039 | --program-pre | --program-pr | --program-p)
1040 ac_prev=program_prefix ;;
1041 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1043 program_prefix=$ac_optarg ;;
1045 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1046 | --program-suf | --program-su | --program-s)
1047 ac_prev=program_suffix ;;
1048 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1050 program_suffix=$ac_optarg ;;
1052 -program-transform-name | --program-transform-name \
1053 | --program-transform-nam | --program-transform-na \
1054 | --program-transform-n | --program-transform- \
1055 | --program-transform | --program-transfor \
1056 | --program-transfo | --program-transf \
1057 | --program-trans | --program-tran \
1058 | --progr-tra | --program-tr | --program-t)
1059 ac_prev=program_transform_name ;;
1060 -program-transform-name=* | --program-transform-name=* \
1061 | --program-transform-nam=* | --program-transform-na=* \
1062 | --program-transform-n=* | --program-transform-=* \
1063 | --program-transform=* | --program-transfor=* \
1064 | --program-transfo=* | --program-transf=* \
1065 | --program-trans=* | --program-tran=* \
1066 | --progr-tra=* | --program-tr=* | --program-t=*)
1067 program_transform_name=$ac_optarg ;;
1069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1072 pdfdir=$ac_optarg ;;
1074 -psdir | --psdir | --psdi | --psd | --ps)
1076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1080 | -silent | --silent | --silen | --sile | --sil)
1083 -runstatedir | --runstatedir | --runstatedi | --runstated \
1084 | --runstate | --runstat | --runsta | --runst | --runs \
1085 | --run | --ru | --r)
1086 ac_prev=runstatedir ;;
1087 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1088 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1089 | --run=* | --ru=* | --r=*)
1090 runstatedir=$ac_optarg ;;
1092 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096 sbindir=$ac_optarg ;;
1098 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1099 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1100 | --sharedst | --shareds | --shared | --share | --shar \
1102 ac_prev=sharedstatedir ;;
1103 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1104 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1105 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107 sharedstatedir=$ac_optarg ;;
1109 -site | --site | --sit)
1111 -site=* | --site=* | --sit=*)
1114 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117 srcdir=$ac_optarg ;;
1119 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1120 | --syscon | --sysco | --sysc | --sys | --sy)
1121 ac_prev=sysconfdir ;;
1122 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1123 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1124 sysconfdir=$ac_optarg ;;
1126 -target | --target | --targe | --targ | --tar | --ta | --t)
1127 ac_prev=target_alias ;;
1128 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1129 target_alias=$ac_optarg ;;
1131 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1134 -version | --version | --versio | --versi | --vers | -V)
1135 ac_init_version=: ;;
1138 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141 as_fn_error $? "invalid package name: $ac_useropt"
1142 ac_useropt_orig=$ac_useropt
1143 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144 case $ac_user_opts in
1148 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1149 ac_unrecognized_sep=', ';;
1151 eval with_$ac_useropt=\$ac_optarg ;;
1153 -without-* | --without-*)
1154 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 as_fn_error $? "invalid package name: $ac_useropt"
1158 ac_useropt_orig=$ac_useropt
1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1165 ac_unrecognized_sep=', ';;
1167 eval with_$ac_useropt=no ;;
1170 # Obsolete; use --with-x.
1173 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1174 | --x-incl | --x-inc | --x-in | --x-i)
1175 ac_prev=x_includes ;;
1176 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1177 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1178 x_includes=$ac_optarg ;;
1180 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1181 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1182 ac_prev=x_libraries ;;
1183 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1184 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1185 x_libraries=$ac_optarg ;;
1187 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1188 Try \`$0 --help' for more information"
1192 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1193 # Reject names that are not valid shell variable names.
1194 case $ac_envvar in #(
1195 '' | [0-9]* | *[!_$as_cr_alnum]* )
1196 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1198 eval $ac_envvar=\$ac_optarg
1199 export $ac_envvar ;;
1202 # FIXME: should be removed in autoconf 3.0.
1203 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1204 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1205 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1206 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1212 if test -n "$ac_prev"; then
1213 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1214 as_fn_error $? "missing argument to $ac_option"
1217 if test -n "$ac_unrecognized_opts"; then
1218 case $enable_option_checking in
1220 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1221 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225 # Check all directory arguments for consistency.
1226 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1227 datadir sysconfdir sharedstatedir localstatedir includedir \
1228 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1229 libdir localedir mandir runstatedir
1231 eval ac_val=\$$ac_var
1232 # Remove trailing slashes.
1235 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1236 eval $ac_var=\$ac_val;;
1238 # Be sure to have absolute directory names.
1240 [\\/$]* | ?:[\\/]* ) continue;;
1241 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1243 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1246 # There might be people who depend on the old broken behavior: `$host'
1247 # used to hold the argument of --host etc.
1248 # FIXME: To remove some day.
1251 target=$target_alias
1253 # FIXME: To remove some day.
1254 if test "x$host_alias" != x; then
1255 if test "x$build_alias" = x; then
1256 cross_compiling=maybe
1257 elif test "x$build_alias" != "x$host_alias"; then
1263 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1265 test "$silent" = yes && exec 6>/dev/null
1268 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1269 ac_ls_di=`ls -di .` &&
1270 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1271 as_fn_error $? "working directory cannot be determined"
1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273 as_fn_error $? "pwd does not report name of working directory"
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278 ac_srcdir_defaulted=yes
1279 # Try the directory containing this script, then the parent directory.
1280 ac_confdir=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282 X"$as_myself" : 'X\(//\)[^/]' \| \
1283 X"$as_myself" : 'X\(//\)$' \| \
1284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 $as_echo X"$as_myself" |
1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1308 ac_srcdir_defaulted=no
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1312 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1314 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1316 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1318 # When building in place, set srcdir=.
1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
1322 # Remove unnecessary trailing slashes from srcdir.
1323 # Double slashes in file names in object file debugging info
1324 # mess up M-x gdb in Emacs.
1326 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1328 for ac_var in $ac_precious_vars; do
1329 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1330 eval ac_env_${ac_var}_value=\$${ac_var}
1331 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1332 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1336 # Report the --help message.
1338 if test "$ac_init_help" = "long"; then
1339 # Omit some internal or obsolete options to make the list less imposing.
1340 # This message is too long to be a string in the A/UX 3.1 sh.
1342 \`configure' configures rtl433 UNKNOWN to adapt to many kinds of systems.
1344 Usage: $0 [OPTION]... [VAR=VALUE]...
1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347 VAR=VALUE. See below for descriptions of some of the useful variables.
1349 Defaults for the options are specified in brackets.
1352 -h, --help display this help and exit
1353 --help=short display options specific to this package
1354 --help=recursive display the short help of all the included packages
1355 -V, --version display version information and exit
1356 -q, --quiet, --silent do not print \`checking ...' messages
1357 --cache-file=FILE cache test results in FILE [disabled]
1358 -C, --config-cache alias for \`--cache-file=config.cache'
1359 -n, --no-create do not create output files
1360 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1362 Installation directories:
1363 --prefix=PREFIX install architecture-independent files in PREFIX
1364 [$ac_default_prefix]
1365 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1368 By default, \`make install' will install all the files in
1369 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1370 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371 for instance \`--prefix=\$HOME'.
1373 For better control, use the options below.
1375 Fine tuning of the installation directories:
1376 --bindir=DIR user executables [EPREFIX/bin]
1377 --sbindir=DIR system admin executables [EPREFIX/sbin]
1378 --libexecdir=DIR program executables [EPREFIX/libexec]
1379 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1380 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1381 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1382 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1383 --libdir=DIR object code libraries [EPREFIX/lib]
1384 --includedir=DIR C header files [PREFIX/include]
1385 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1386 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1387 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1388 --infodir=DIR info documentation [DATAROOTDIR/info]
1389 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1390 --mandir=DIR man documentation [DATAROOTDIR/man]
1391 --docdir=DIR documentation root [DATAROOTDIR/doc/rtl433]
1392 --htmldir=DIR html documentation [DOCDIR]
1393 --dvidir=DIR dvi documentation [DOCDIR]
1394 --pdfdir=DIR pdf documentation [DOCDIR]
1395 --psdir=DIR ps documentation [DOCDIR]
1401 --program-prefix=PREFIX prepend PREFIX to installed program names
1402 --program-suffix=SUFFIX append SUFFIX to installed program names
1403 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1406 --build=BUILD configure for building on BUILD [guessed]
1407 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1411 if test -n "$ac_init_help"; then
1412 case $ac_init_help in
1413 short | recursive ) echo "Configuration of rtl433 UNKNOWN:";;
1418 --disable-option-checking ignore unrecognized --enable/--with options
1419 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1420 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1421 --enable-silent-rules less verbose build output (undo: "make V=1")
1422 --disable-silent-rules verbose build output (undo: "make V=0")
1423 --enable-dependency-tracking
1424 do not reject slow dependency extractors
1425 --disable-dependency-tracking
1426 speeds up one-time build
1427 --enable-shared[=PKGS] build shared libraries [default=yes]
1428 --enable-static[=PKGS] build static libraries [default=yes]
1429 --enable-fast-install[=PKGS]
1430 optimize for fast installation [default=yes]
1431 --disable-libtool-lock avoid locking (might break parallel builds)
1434 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1435 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1436 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1438 --with-aix-soname=aix|svr4|both
1439 shared library versioning (aka "SONAME") variant to
1440 provide on AIX, [default=aix].
1441 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1442 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1443 compiler's sysroot if not specified).
1445 Some influential environment variables:
1446 CC C compiler command
1447 CFLAGS C compiler flags
1448 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1449 nonstandard directory <lib dir>
1450 LIBS libraries to pass to the linker, e.g. -l<library>
1451 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1452 you have headers in a nonstandard directory <include dir>
1454 User-defined run-time library search path.
1456 PKG_CONFIG path to pkg-config utility
1458 directories to add to pkg-config's search path
1460 path overriding pkg-config's built-in search path
1462 C compiler flags for LIBRTLSDR, overriding pkg-config
1464 linker flags for LIBRTLSDR, overriding pkg-config
1466 Use these variables to override the choices made by `configure' or to help
1467 it to find libraries and programs with nonstandard names/locations.
1469 Report bugs to <rtl_433@googlegroups.com>.
1474 if test "$ac_init_help" = "recursive"; then
1475 # If there are subdirs, report their specific --help.
1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1477 test -d "$ac_dir" ||
1478 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1486 # A ".." for each directory in $ac_dir_suffix.
1487 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1488 case $ac_top_builddir_sub in
1489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1493 ac_abs_top_builddir=$ac_pwd
1494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1495 # for backward compatibility:
1496 ac_top_builddir=$ac_top_build_prefix
1499 .) # We are building in place.
1501 ac_top_srcdir=$ac_top_builddir_sub
1502 ac_abs_top_srcdir=$ac_pwd ;;
1503 [\\/]* | ?:[\\/]* ) # Absolute name.
1504 ac_srcdir=$srcdir$ac_dir_suffix;
1505 ac_top_srcdir=$srcdir
1506 ac_abs_top_srcdir=$srcdir ;;
1508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1509 ac_top_srcdir=$ac_top_build_prefix$srcdir
1510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1514 cd "$ac_dir" || { ac_status=$?; continue; }
1515 # Check for guested configure.
1516 if test -f "$ac_srcdir/configure.gnu"; then
1518 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1519 elif test -f "$ac_srcdir/configure"; then
1521 $SHELL "$ac_srcdir/configure" --help=recursive
1523 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1525 cd "$ac_pwd" || { ac_status=$?; break; }
1529 test -n "$ac_init_help" && exit $ac_status
1530 if $ac_init_version; then
1532 rtl433 configure UNKNOWN
1533 generated by GNU Autoconf 2.69
1535 Copyright (C) 2012 Free Software Foundation, Inc.
1536 This configure script is free software; the Free Software Foundation
1537 gives unlimited permission to copy, distribute and modify it.
1542 ## ------------------------ ##
1543 ## Autoconf initialization. ##
1544 ## ------------------------ ##
1546 # ac_fn_c_try_compile LINENO
1547 # --------------------------
1548 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1549 ac_fn_c_try_compile ()
1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552 rm -f conftest.$ac_objext
1553 if { { ac_try="$ac_compile"
1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556 *) ac_try_echo=$ac_try;;
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_compile") 2>conftest.err
1562 if test -s conftest.err; then
1563 grep -v '^ *+' conftest.err >conftest.er1
1564 cat conftest.er1 >&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && {
1569 test -z "$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1571 } && test -s conftest.$ac_objext; then :
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status $ac_retval
1582 } # ac_fn_c_try_compile
1584 # ac_fn_c_try_link LINENO
1585 # -----------------------
1586 # Try to link conftest.$ac_ext, and return whether this succeeded.
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext conftest$ac_exeext
1591 if { { ac_try="$ac_link"
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_link") 2>conftest.err
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest$ac_exeext && {
1610 test "$cross_compiling" = yes ||
1611 test -x conftest$ac_exeext
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1622 # interfere with the next link command; also delete a directory that is
1623 # left behind by Apple's compiler. We do this before executing the actions.
1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1628 } # ac_fn_c_try_link
1630 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1631 # -------------------------------------------------------
1632 # Tests whether HEADER exists and can be compiled using the include files in
1633 # INCLUDES, setting the cache variable VAR accordingly.
1634 ac_fn_c_check_header_compile ()
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638 $as_echo_n "checking for $2... " >&6; }
1639 if eval \${$3+:} false; then :
1640 $as_echo_n "(cached) " >&6
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1647 if ac_fn_c_try_compile "$LINENO"; then :
1652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1656 $as_echo "$ac_res" >&6; }
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 } # ac_fn_c_check_header_compile
1661 # ac_fn_c_try_cpp LINENO
1662 # ----------------------
1663 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 if { { ac_try="$ac_cpp conftest.$ac_ext"
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1676 if test -s conftest.err; then
1677 grep -v '^ *+' conftest.err >conftest.er1
1678 cat conftest.er1 >&5
1679 mv -f conftest.er1 conftest.err
1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682 test $ac_status = 0; } > conftest.i && {
1683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1684 test ! -s conftest.err
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status $ac_retval
1698 # ac_fn_c_try_run LINENO
1699 # ----------------------
1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1701 # that executables *can* be run.
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if { { ac_try="$ac_link"
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_link") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1716 { { case "(($ac_try" in
1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_try") 2>&5
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; }; }; then :
1728 $as_echo "$as_me: program exited with status $ac_status" >&5
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1732 ac_retval=$ac_status
1734 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1740 # ac_fn_c_check_func LINENO FUNC VAR
1741 # ----------------------------------
1742 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1743 ac_fn_c_check_func ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749 $as_echo_n "(cached) " >&6
1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1755 #define $2 innocuous_$2
1757 /* System header to define __stub macros and hopefully few prototypes,
1758 which can conflict with char $2 (); below.
1759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1760 <limits.h> exists even on freestanding compilers. */
1763 # include <limits.h>
1765 # include <assert.h>
1770 /* Override any GCC internal prototype to avoid an error.
1771 Use char because int might match the return type of a GCC
1772 builtin and then its argument prototype would still apply. */
1777 /* The GNU C library defines this for functions which it implements
1778 to always fail with ENOSYS. Some functions are actually named
1779 something starting with __ and the normal name is an alias. */
1780 #if defined __stub_$2 || defined __stub___$2
1792 if ac_fn_c_try_link "$LINENO"; then :
1797 rm -f core conftest.err conftest.$ac_objext \
1798 conftest$ac_exeext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_func
1807 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1810 # the include files in INCLUDES and setting the cache variable VAR
1812 ac_fn_c_check_header_mongrel ()
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 if eval \${$3+:} false; then :
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819 $as_echo_n "(cached) " >&6
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1825 # Is the header compilable?
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1827 $as_echo_n "checking $2 usability... " >&6; }
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1833 if ac_fn_c_try_compile "$LINENO"; then :
1834 ac_header_compiler=yes
1836 ac_header_compiler=no
1838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1840 $as_echo "$ac_header_compiler" >&6; }
1842 # Is the header present?
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1844 $as_echo_n "checking $2 presence... " >&6; }
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1849 if ac_fn_c_try_cpp "$LINENO"; then :
1850 ac_header_preproc=yes
1852 ac_header_preproc=no
1854 rm -f conftest.err conftest.i conftest.$ac_ext
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1856 $as_echo "$ac_header_preproc" >&6; }
1858 # So? What about this header?
1859 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1862 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1864 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1868 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1870 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1872 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1874 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1876 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1877 ( $as_echo "## --------------------------------------- ##
1878 ## Report this to rtl_433@googlegroups.com ##
1879 ## --------------------------------------- ##"
1880 ) | sed "s/^/$as_me: WARNING: /" >&2
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
1888 eval "$3=\$ac_header_compiler"
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 } # ac_fn_c_check_header_mongrel
1897 cat >config.log <<_ACEOF
1898 This file contains any messages produced by compilers while
1899 running configure, to aid debugging if configure makes a mistake.
1901 It was created by rtl433 $as_me UNKNOWN, which was
1902 generated by GNU Autoconf 2.69. Invocation command line was
1914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1926 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir=.
1938 $as_echo "PATH: $as_dir"
1954 # Keep a trace of the command line.
1955 # Strip out --no-create and --no-recursion so they do not pile up.
1956 # Strip out --silent because we don't want to record it for future runs.
1957 # Also quote any args containing shell meta-characters.
1958 # Make two passes to allow for proper duplicate-argument suppression.
1962 ac_must_keep_next=false
1968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1970 | -silent | --silent | --silen | --sile | --sil)
1973 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1976 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1978 as_fn_append ac_configure_args1 " '$ac_arg'"
1979 if test $ac_must_keep_next = true; then
1980 ac_must_keep_next=false # Got value, back to normal.
1983 *=* | --config-cache | -C | -disable-* | --disable-* \
1984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1986 | -with-* | --with-* | -without-* | --without-* | --x)
1987 case "$ac_configure_args0 " in
1988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1991 -* ) ac_must_keep_next=true ;;
1994 as_fn_append ac_configure_args " '$ac_arg'"
1999 { ac_configure_args0=; unset ac_configure_args0;}
2000 { ac_configure_args1=; unset ac_configure_args1;}
2002 # When interrupted or exit'd, cleanup temporary files, and complete
2003 # config.log. We remove comments because anyway the quotes in there
2004 # would cause problems or look ugly.
2005 # WARNING: Use '\'' to represent an apostrophe within the trap.
2006 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2007 trap 'exit_status=$?
2008 # Save into config.log some information that might help in debugging.
2012 $as_echo "## ---------------- ##
2013 ## Cache variables. ##
2014 ## ---------------- ##"
2016 # The following way of writing the cache mishandles newlines in values,
2018 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2019 eval ac_val=\$$ac_var
2023 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2027 _ | IFS | as_nl) ;; #(
2028 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2029 *) { eval $ac_var=; unset $ac_var;} ;;
2034 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2035 *${as_nl}ac_space=\ *)
2037 "s/'\''/'\''\\\\'\'''\''/g;
2038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2048 $as_echo "## ----------------- ##
2049 ## Output variables. ##
2050 ## ----------------- ##"
2052 for ac_var in $ac_subst_vars
2054 eval ac_val=\$$ac_var
2056 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -n "$ac_subst_files"; then
2063 $as_echo "## ------------------- ##
2064 ## File substitutions. ##
2065 ## ------------------- ##"
2067 for ac_var in $ac_subst_files
2069 eval ac_val=\$$ac_var
2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2078 if test -s confdefs.h; then
2079 $as_echo "## ----------- ##
2086 test "$ac_signal" != 0 &&
2087 $as_echo "$as_me: caught signal $ac_signal"
2088 $as_echo "$as_me: exit $exit_status"
2090 rm -f core *.core core.conftest.* &&
2091 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2094 for ac_signal in 1 2 13 15; do
2095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2100 rm -f -r conftest* confdefs.h
2102 $as_echo "/* confdefs.h */" > confdefs.h
2104 # Predefined preprocessor variables.
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_NAME "$PACKAGE_NAME"
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_STRING "$PACKAGE_STRING"
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_URL "$PACKAGE_URL"
2131 # Let the site file select an alternate cache file if it wants to.
2132 # Prefer an explicitly selected file to automatically selected ones.
2135 if test -n "$CONFIG_SITE"; then
2136 # We do not want a PATH search for config.site.
2137 case $CONFIG_SITE in #((
2138 -*) ac_site_file1=./$CONFIG_SITE;;
2139 */*) ac_site_file1=$CONFIG_SITE;;
2140 *) ac_site_file1=./$CONFIG_SITE;;
2142 elif test "x$prefix" != xNONE; then
2143 ac_site_file1=$prefix/share/config.site
2144 ac_site_file2=$prefix/etc/config.site
2146 ac_site_file1=$ac_default_prefix/share/config.site
2147 ac_site_file2=$ac_default_prefix/etc/config.site
2149 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2151 test "x$ac_site_file" = xNONE && continue
2152 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2154 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2155 sed 's/^/| /' "$ac_site_file" >&5
2157 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 as_fn_error $? "failed to load site script $ac_site_file
2160 See \`config.log' for more details" "$LINENO" 5; }
2164 if test -r "$cache_file"; then
2165 # Some versions of bash will fail to source /dev/null (special files
2166 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2167 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2169 $as_echo "$as_me: loading cache $cache_file" >&6;}
2171 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2172 *) . "./$cache_file";;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2177 $as_echo "$as_me: creating cache $cache_file" >&6;}
2181 # Check that the precious variables saved in the cache have kept the same
2183 ac_cache_corrupted=false
2184 for ac_var in $ac_precious_vars; do
2185 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2186 eval ac_new_set=\$ac_env_${ac_var}_set
2187 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2188 eval ac_new_val=\$ac_env_${ac_var}_value
2189 case $ac_old_set,$ac_new_set in
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2193 ac_cache_corrupted=: ;;
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2197 ac_cache_corrupted=: ;;
2200 if test "x$ac_old_val" != "x$ac_new_val"; then
2201 # differences in whitespace do not lead to failure.
2202 ac_old_val_w=`echo x $ac_old_val`
2203 ac_new_val_w=`echo x $ac_new_val`
2204 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2207 ac_cache_corrupted=:
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2211 eval $ac_var=\$ac_old_val
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2219 # Pass precious variables to config.status.
2220 if test "$ac_new_set" = set; then
2222 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2223 *) ac_arg=$ac_var=$ac_new_val ;;
2225 case " $ac_configure_args " in
2226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2227 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2231 if $ac_cache_corrupted; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2236 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2238 ## -------------------- ##
2239 ## Main body of script. ##
2240 ## -------------------- ##
2243 ac_cpp='$CPP $CPPFLAGS'
2244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2250 am__api_version='1.15'
2253 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2254 if test -f "$ac_dir/install-sh"; then
2256 ac_install_sh="$ac_aux_dir/install-sh -c"
2258 elif test -f "$ac_dir/install.sh"; then
2260 ac_install_sh="$ac_aux_dir/install.sh -c"
2262 elif test -f "$ac_dir/shtool"; then
2264 ac_install_sh="$ac_aux_dir/shtool install -c"
2268 if test -z "$ac_aux_dir"; then
2269 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2272 # These three variables are undocumented and unsupported,
2273 # and are intended to be withdrawn in a future Autoconf release.
2274 # They can cause serious problems if a builder's source tree is in a directory
2275 # whose full name contains unusual characters.
2276 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2277 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2278 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2281 # Find a good install program. We prefer a C program (faster),
2282 # so one script is as good as another. But avoid the broken or
2283 # incompatible versions:
2284 # SysV /etc/install, /usr/sbin/install
2285 # SunOS /usr/etc/install
2286 # IRIX /sbin/install
2288 # AmigaOS /C/install, which installs bootblocks on floppy discs
2289 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2290 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2291 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2292 # OS/2's system install, which has a completely different semantic
2293 # ./install, which can be erroneously created by make from ./install.sh.
2294 # Reject install programs that cannot install multiple files.
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2296 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2297 if test -z "$INSTALL"; then
2298 if ${ac_cv_path_install+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 # Account for people who put trailing slashes in PATH elements.
2307 case $as_dir/ in #((
2308 ./ | .// | /[cC]/* | \
2309 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2310 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2313 # OSF1 and SCO ODT 3.0 have their own names for install.
2314 # Don't use installbsd from OSF since it installs stuff as root
2316 for ac_prog in ginstall scoinst install; do
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2319 if test $ac_prog = install &&
2320 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2321 # AIX install. It has an incompatible calling convention.
2323 elif test $ac_prog = install &&
2324 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2325 # program-specific install script used by HP pwplus--don't use.
2328 rm -rf conftest.one conftest.two conftest.dir
2329 echo one > conftest.one
2330 echo two > conftest.two
2332 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2333 test -s conftest.one && test -s conftest.two &&
2334 test -s conftest.dir/conftest.one &&
2335 test -s conftest.dir/conftest.two
2337 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2350 rm -rf conftest.one conftest.two conftest.dir
2353 if test "${ac_cv_path_install+set}" = set; then
2354 INSTALL=$ac_cv_path_install
2356 # As a last resort, use the slow shell script. Don't cache a
2357 # value for INSTALL within a source directory, because that will
2358 # break other packages using the cache if that directory is
2359 # removed, or if the value is a relative name.
2360 INSTALL=$ac_install_sh
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2364 $as_echo "$INSTALL" >&6; }
2366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2367 # It thinks the first close brace ends the variable substitution.
2368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2372 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2375 $as_echo_n "checking whether build environment is sane... " >&6; }
2376 # Reject unsafe characters in $srcdir or the absolute working directory
2377 # name. Accept space and tab only in the latter.
2381 *[\\\"\#\$\&\'\`$am_lf]*)
2382 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2385 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2386 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2389 # Do 'set' in a subshell so we don't clobber the current shell's
2390 # arguments. Must try -L first in case configure is actually a
2391 # symlink; some systems play weird games with the mod time of symlinks
2392 # (eg FreeBSD returns the mod time of the symlink's containing
2396 for am_try in 1 2; do
2397 echo "timestamp, slept: $am_has_slept" > conftest.file
2398 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2399 if test "$*" = "X"; then
2401 set X `ls -t "$srcdir/configure" conftest.file`
2403 if test "$*" != "X $srcdir/configure conftest.file" \
2404 && test "$*" != "X conftest.file $srcdir/configure"; then
2406 # If neither matched, then we have a broken ls. This can happen
2407 # if, for instance, CONFIG_SHELL is bash and it inherits a
2408 # broken ls alias from the environment. This has actually
2409 # happened. Such a system could not be considered "sane".
2410 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2411 alias in your environment" "$LINENO" 5
2413 if test "$2" = conftest.file || test $am_try -eq 2; then
2420 test "$2" = conftest.file
2426 as_fn_error $? "newly created file is older than distributed files!
2427 Check your system clock" "$LINENO" 5
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2430 $as_echo "yes" >&6; }
2431 # If we didn't sleep, we still need to ensure time stamps of config.status and
2432 # generated files are strictly newer.
2434 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2441 test "$program_prefix" != NONE &&
2442 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2443 # Use a double $ so make ignores it.
2444 test "$program_suffix" != NONE &&
2445 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2446 # Double any \ or $.
2447 # By default was `s,x,x', remove it if useless.
2448 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2449 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2451 # Expand $ac_aux_dir to an absolute path.
2452 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2454 if test x"${MISSING+set}" != xset; then
2457 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2459 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2462 # Use eval to expand $SHELL
2463 if eval "$MISSING --is-lightweight"; then
2464 am_missing_run="$MISSING "
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2468 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2471 if test x"${install_sh+set}" != xset; then
2474 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2476 install_sh="\${SHELL} $am_aux_dir/install-sh"
2480 # Installed binaries are usually stripped using 'strip' when the user
2481 # run "make install-strip". However 'strip' might not be the right
2482 # tool to use in cross-compilation environments, therefore Automake
2483 # will honor the 'STRIP' environment variable to overrule this program.
2484 if test "$cross_compiling" != no; then
2485 if test -n "$ac_tool_prefix"; then
2486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2487 set dummy ${ac_tool_prefix}strip; ac_word=$2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if ${ac_cv_prog_STRIP+:} false; then :
2491 $as_echo_n "(cached) " >&6
2493 if test -n "$STRIP"; then
2494 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 STRIP=$ac_cv_prog_STRIP
2514 if test -n "$STRIP"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2516 $as_echo "$STRIP" >&6; }
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519 $as_echo "no" >&6; }
2524 if test -z "$ac_cv_prog_STRIP"; then
2526 # Extract the first word of "strip", so it can be a program name with args.
2527 set dummy strip; ac_word=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2531 $as_echo_n "(cached) " >&6
2533 if test -n "$ac_ct_STRIP"; then
2534 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_ac_ct_STRIP="strip"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2554 if test -n "$ac_ct_STRIP"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2556 $as_echo "$ac_ct_STRIP" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2562 if test "x$ac_ct_STRIP" = x; then
2565 case $cross_compiling:$ac_tool_warned in
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2568 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2569 ac_tool_warned=yes ;;
2574 STRIP="$ac_cv_prog_STRIP"
2578 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2581 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2582 if test -z "$MKDIR_P"; then
2583 if ${ac_cv_path_mkdir+:} false; then :
2584 $as_echo_n "(cached) " >&6
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2590 test -z "$as_dir" && as_dir=.
2591 for ac_prog in mkdir gmkdir; do
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2594 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2595 'mkdir (GNU coreutils) '* | \
2596 'mkdir (coreutils) '* | \
2597 'mkdir (fileutils) '4.1*)
2598 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2608 test -d ./--version && rmdir ./--version
2609 if test "${ac_cv_path_mkdir+set}" = set; then
2610 MKDIR_P="$ac_cv_path_mkdir -p"
2612 # As a last resort, use the slow shell script. Don't cache a
2613 # value for MKDIR_P within a source directory, because that will
2614 # break other packages using the cache if that directory is
2615 # removed, or if the value is a relative name.
2616 MKDIR_P="$ac_install_sh -d"
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2620 $as_echo "$MKDIR_P" >&6; }
2622 for ac_prog in gawk mawk nawk awk
2624 # Extract the first word of "$ac_prog", so it can be a program name with args.
2625 set dummy $ac_prog; ac_word=$2
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2627 $as_echo_n "checking for $ac_word... " >&6; }
2628 if ${ac_cv_prog_AWK+:} false; then :
2629 $as_echo_n "(cached) " >&6
2631 if test -n "$AWK"; then
2632 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2641 ac_cv_prog_AWK="$ac_prog"
2642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 if test -n "$AWK"; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2654 $as_echo "$AWK" >&6; }
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657 $as_echo "no" >&6; }
2661 test -n "$AWK" && break
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2665 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2667 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2668 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2669 $as_echo_n "(cached) " >&6
2671 cat >conftest.make <<\_ACEOF
2674 @echo '@@@%%%=$(MAKE)=@@@%%%'
2676 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2677 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2679 eval ac_cv_prog_make_${ac_make}_set=yes;;
2681 eval ac_cv_prog_make_${ac_make}_set=no;;
2685 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2687 $as_echo "yes" >&6; }
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2692 SET_MAKE="MAKE=${MAKE-make}"
2695 rm -rf .tst 2>/dev/null
2696 mkdir .tst 2>/dev/null
2697 if test -d .tst; then
2702 rmdir .tst 2>/dev/null
2704 # Check whether --enable-silent-rules was given.
2705 if test "${enable_silent_rules+set}" = set; then :
2706 enableval=$enable_silent_rules;
2709 case $enable_silent_rules in # (((
2710 yes) AM_DEFAULT_VERBOSITY=0;;
2711 no) AM_DEFAULT_VERBOSITY=1;;
2712 *) AM_DEFAULT_VERBOSITY=1;;
2714 am_make=${MAKE-make}
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2716 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2717 if ${am_cv_make_support_nested_variables+:} false; then :
2718 $as_echo_n "(cached) " >&6
2720 if $as_echo 'TRUE=$(BAR$(V))
2726 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2727 am_cv_make_support_nested_variables=yes
2729 am_cv_make_support_nested_variables=no
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2733 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2734 if test $am_cv_make_support_nested_variables = yes; then
2736 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2738 AM_V=$AM_DEFAULT_VERBOSITY
2739 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2743 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2744 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2745 # is not polluted with repeated "-I."
2746 am__isrc=' -I$(srcdir)'
2747 # test to see if srcdir already configured
2748 if test -f $srcdir/config.status; then
2749 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2753 # test whether we have cygpath
2754 if test -z "$CYGPATH_W"; then
2755 if (cygpath --version) >/dev/null 2>/dev/null; then
2756 CYGPATH_W='cygpath -w'
2763 # Define the identity of the package.
2768 cat >>confdefs.h <<_ACEOF
2769 #define PACKAGE "$PACKAGE"
2773 cat >>confdefs.h <<_ACEOF
2774 #define VERSION "$VERSION"
2777 # Some tools Automake needs.
2779 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2782 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2785 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2788 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2791 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2793 # For better backward compatibility. To be removed once Automake 1.9.x
2794 # dies out for good. For more background, see:
2795 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2796 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2797 mkdir_p='$(MKDIR_P)'
2799 # We need awk for the "check" target (and possibly the TAP driver). The
2800 # system "awk" is bad on some platforms.
2801 # Always define AMTAR for backward compatibility. Yes, it's still used
2802 # in the wild :-( We should find a proper way to deprecate it ...
2806 # We'll loop over all known methods to create a tar archive until one works.
2807 _am_tools='gnutar pax cpio none'
2809 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2816 # POSIX will say in a future version that running "rm -f" with no argument
2817 # is OK; and we want to be able to make that assumption in our Makefile
2818 # recipes. So use an aggressive probe to check that the usage we want is
2819 # actually supported "in the wild" to an acceptable degree.
2820 # See automake bug#10828.
2821 # To make any issue more visible, cause the running configure to be aborted
2822 # by default if the 'rm' program in use doesn't match our expectations; the
2823 # user can still override this though.
2824 if rm -f && rm -fr && rm -rf; then : OK; else
2828 Your 'rm' program seems unable to run without file operands specified
2829 on the command line, even when the '-f' option is present. This is contrary
2830 to the behaviour of most rm programs out there, and not conforming with
2831 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2833 Please tell bug-automake@gnu.org about your system, including the value
2834 of your $PATH and any error possibly output before this message. This
2835 can help us improve future automake versions.
2838 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2839 echo 'Configuration will proceed anyway, since you have set the' >&2
2840 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2844 Aborting the configuration process, to ensure you take notice of the issue.
2846 You can download and install GNU coreutils to get an 'rm' implementation
2847 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2849 If you want to complete the configuration process using your problematic
2850 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2851 to "yes", and re-run configure.
2854 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2859 # Check whether --enable-silent-rules was given.
2860 if test "${enable_silent_rules+set}" = set; then :
2861 enableval=$enable_silent_rules;
2864 case $enable_silent_rules in # (((
2865 yes) AM_DEFAULT_VERBOSITY=0;;
2866 no) AM_DEFAULT_VERBOSITY=1;;
2867 *) AM_DEFAULT_VERBOSITY=0;;
2869 am_make=${MAKE-make}
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2871 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2872 if ${am_cv_make_support_nested_variables+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 if $as_echo 'TRUE=$(BAR$(V))
2881 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2882 am_cv_make_support_nested_variables=yes
2884 am_cv_make_support_nested_variables=no
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2888 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2889 if test $am_cv_make_support_nested_variables = yes; then
2891 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2893 AM_V=$AM_DEFAULT_VERBOSITY
2894 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2900 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2902 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2903 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2904 $as_echo_n "(cached) " >&6
2906 cat >conftest.make <<\_ACEOF
2909 @echo '@@@%%%=$(MAKE)=@@@%%%'
2911 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2912 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2914 eval ac_cv_prog_make_${ac_make}_set=yes;;
2916 eval ac_cv_prog_make_${ac_make}_set=no;;
2920 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2922 $as_echo "yes" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 SET_MAKE="MAKE=${MAKE-make}"
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 if test -n "$ac_tool_prefix"; then
2936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if ${ac_cv_prog_CC+:} false; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC="$CC" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 if test -n "$CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966 $as_echo "$CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2974 if test -z "$ac_cv_prog_CC"; then
2976 # Extract the first word of "gcc", so it can be a program name with args.
2977 set dummy gcc; ac_word=$2
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979 $as_echo_n "checking for $ac_word... " >&6; }
2980 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2981 $as_echo_n "(cached) " >&6
2983 if test -n "$ac_ct_CC"; then
2984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_prog_ac_ct_CC="gcc"
2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3004 if test -n "$ac_ct_CC"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3006 $as_echo "$ac_ct_CC" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3012 if test "x$ac_ct_CC" = x; then
3015 case $cross_compiling:$ac_tool_warned in
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019 ac_tool_warned=yes ;;
3027 if test -z "$CC"; then
3028 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}cc; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if ${ac_cv_prog_CC+:} false; then :
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3046 ac_cv_prog_CC="${ac_tool_prefix}cc"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 $as_echo "$CC" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3068 if test -z "$CC"; then
3069 # Extract the first word of "cc", so it can be a program name with args.
3070 set dummy cc; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if ${ac_cv_prog_CC+:} false; then :
3074 $as_echo_n "(cached) " >&6
3076 if test -n "$CC"; then
3077 ac_cv_prog_CC="$CC" # Let the user override the test.
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3087 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3088 ac_prog_rejected=yes
3092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 if test $ac_prog_rejected = yes; then
3100 # We found a bogon in the path, so make sure we never use it.
3101 set dummy $ac_cv_prog_CC
3103 if test $# != 0; then
3104 # We chose a different compiler from the bogus one.
3105 # However, it has the same basename, so the bogon will be chosen
3106 # first if we set CC to just the basename; use the full file name.
3108 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3124 if test -z "$CC"; then
3125 if test -n "$ac_tool_prefix"; then
3126 for ac_prog in cl.exe
3128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if ${ac_cv_prog_CC+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC="$CC" # Let the user override the test.
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3165 test -n "$CC" && break
3168 if test -z "$CC"; then
3170 for ac_prog in cl.exe
3172 # Extract the first word of "$ac_prog", so it can be a program name with args.
3173 set dummy $ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$ac_ct_CC"; then
3180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir=.
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3189 ac_cv_prog_ac_ct_CC="$ac_prog"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3200 if test -n "$ac_ct_CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3202 $as_echo "$ac_ct_CC" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3209 test -n "$ac_ct_CC" && break
3212 if test "x$ac_ct_CC" = x; then
3215 case $cross_compiling:$ac_tool_warned in
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3219 ac_tool_warned=yes ;;
3228 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error $? "no acceptable C compiler found in \$PATH
3231 See \`config.log' for more details" "$LINENO" 5; }
3233 # Provide some information about the compiler.
3234 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3237 for ac_option in --version -v -V -qversion; do
3238 { { ac_try="$ac_compiler $ac_option >&5"
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3247 if test -s conftest.err; then
3249 ... rest of stderr output deleted ...
3250 10q' conftest.err >conftest.er1
3251 cat conftest.er1 >&5
3253 rm -f conftest.er1 conftest.err
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 ac_clean_files_save=$ac_clean_files
3270 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3271 # Try to create an executable without -o first, disregard a.out.
3272 # It will help us diagnose broken compilers, and finding out an intuition
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3275 $as_echo_n "checking whether the C compiler works... " >&6; }
3276 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3278 # The possible output files:
3279 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3282 for ac_file in $ac_files
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3286 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3291 if { { ac_try="$ac_link_default"
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_link_default") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }; then :
3302 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3303 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3304 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3305 # so that the user can short-circuit this test for compilers unknown to
3307 for ac_file in $ac_files ''
3309 test -f "$ac_file" || continue
3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3314 # We found the default executable, but exeext='' is most
3318 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3320 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3322 # We set ac_cv_exeext here because the later test for it is not
3323 # safe: cross compilers may not add the suffix if given an `-o'
3324 # argument, so we may need to know it at that point already.
3325 # Even if this section looks crufty: it has the advantage of
3332 test "$ac_cv_exeext" = no && ac_cv_exeext=
3337 if test -z "$ac_file"; then :
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 $as_echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error 77 "C compiler cannot create executables
3346 See \`config.log' for more details" "$LINENO" 5; }
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3349 $as_echo "yes" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3352 $as_echo_n "checking for C compiler default output file name... " >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3354 $as_echo "$ac_file" >&6; }
3355 ac_exeext=$ac_cv_exeext
3357 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3358 ac_clean_files=$ac_clean_files_save
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3360 $as_echo_n "checking for suffix of executables... " >&6; }
3361 if { { ac_try="$ac_link"
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_link") 2>&5
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371 test $ac_status = 0; }; then :
3372 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3373 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3374 # work properly (i.e., refer to `conftest.exe'), while it won't with
3376 for ac_file in conftest.exe conftest conftest.*; do
3377 test -f "$ac_file" || continue
3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3380 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3389 See \`config.log' for more details" "$LINENO" 5; }
3391 rm -f conftest conftest$ac_cv_exeext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3393 $as_echo "$ac_cv_exeext" >&6; }
3395 rm -f conftest.$ac_ext
3396 EXEEXT=$ac_cv_exeext
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3404 FILE *f = fopen ("conftest.out", "w");
3405 return ferror (f) || fclose (f) != 0;
3411 ac_clean_files="$ac_clean_files conftest.out"
3412 # Check that the compiler produces executables we can run. If not, either
3413 # the compiler is broken, or we cross compile.
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3415 $as_echo_n "checking whether we are cross compiling... " >&6; }
3416 if test "$cross_compiling" != yes; then
3417 { { ac_try="$ac_link"
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423 $as_echo "$ac_try_echo"; } >&5
3424 (eval "$ac_link") 2>&5
3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427 test $ac_status = 0; }
3428 if { ac_try='./conftest$ac_cv_exeext'
3429 { { case "(($ac_try" in
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435 (eval "$ac_try") 2>&5
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; }; then
3441 if test "$cross_compiling" = maybe; then
3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 as_fn_error $? "cannot run C compiled programs.
3447 If you meant to cross compile, use \`--host'.
3448 See \`config.log' for more details" "$LINENO" 5; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3453 $as_echo "$cross_compiling" >&6; }
3455 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3456 ac_clean_files=$ac_clean_files_save
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3458 $as_echo_n "checking for suffix of object files... " >&6; }
3459 if ${ac_cv_objext+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 rm -f conftest.o conftest.obj
3474 if { { ac_try="$ac_compile"
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481 (eval "$ac_compile") 2>&5
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }; then :
3485 for ac_file in conftest.o conftest.obj conftest.*; do
3486 test -f "$ac_file" || continue;
3488 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3489 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 as_fn_error $? "cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details" "$LINENO" 5; }
3502 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3505 $as_echo "$ac_cv_objext" >&6; }
3506 OBJEXT=$ac_cv_objext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3509 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3510 if ${ac_cv_c_compiler_gnu+:} false; then :
3511 $as_echo_n "(cached) " >&6
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3527 if ac_fn_c_try_compile "$LINENO"; then :
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3537 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3538 if test $ac_compiler_gnu = yes; then
3543 ac_test_CFLAGS=${CFLAGS+set}
3544 ac_save_CFLAGS=$CFLAGS
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3546 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3547 if ${ac_cv_prog_cc_g+:} false; then :
3548 $as_echo_n "(cached) " >&6
3550 ac_save_c_werror_flag=$ac_c_werror_flag
3551 ac_c_werror_flag=yes
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_c_try_compile "$LINENO"; then :
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3583 ac_c_werror_flag=$ac_save_c_werror_flag
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3596 if ac_fn_c_try_compile "$LINENO"; then :
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 ac_c_werror_flag=$ac_save_c_werror_flag
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3607 $as_echo "$ac_cv_prog_cc_g" >&6; }
3608 if test "$ac_test_CFLAGS" = set; then
3609 CFLAGS=$ac_save_CFLAGS
3610 elif test $ac_cv_prog_cc_g = yes; then
3611 if test "$GCC" = yes; then
3617 if test "$GCC" = yes; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3624 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3625 if ${ac_cv_prog_cc_c89+:} false; then :
3626 $as_echo_n "(cached) " >&6
3628 ac_cv_prog_cc_c89=no
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3635 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3636 struct buf { int x; };
3637 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3638 static char *e (p, i)
3644 static char *f (char * (*g) (char **, int), char **p, ...)
3649 s = g (p, va_arg (v,int));
3654 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3655 function prototypes and stuff, but not '\xHH' hex character constants.
3656 These don't provoke an error unfortunately, instead are silently treated
3657 as 'x'. The following induces an error, until -std is added to get
3658 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3659 array size at least. It's necessary to write '\x00'==0 to get something
3660 that's true only with -std. */
3661 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3664 inside strings and character constants. */
3666 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668 int test (int i, double x);
3669 struct s1 {int (*f) (int a);};
3670 struct s2 {int (*f) (double a);};
3671 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3677 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3682 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3683 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685 CC="$ac_save_CC $ac_arg"
3686 if ac_fn_c_try_compile "$LINENO"; then :
3687 ac_cv_prog_cc_c89=$ac_arg
3689 rm -f core conftest.err conftest.$ac_objext
3690 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 rm -f conftest.$ac_ext
3697 case "x$ac_cv_prog_cc_c89" in
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3700 $as_echo "none needed" >&6; } ;;
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3703 $as_echo "unsupported" >&6; } ;;
3705 CC="$CC $ac_cv_prog_cc_c89"
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3707 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 if test "x$ac_cv_prog_cc_c89" != xno; then :
3714 ac_cpp='$CPP $CPPFLAGS'
3715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720 ac_cpp='$CPP $CPPFLAGS'
3721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3725 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3726 if ${am_cv_prog_cc_c_o+:} false; then :
3727 $as_echo_n "(cached) " >&6
3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730 /* end confdefs.h. */
3740 # Make sure it works both with $CC and with simple cc.
3741 # Following AC_PROG_CC_C_O, we do the test twice because some
3742 # compilers refuse to overwrite an existing .o file with -o,
3743 # though they will create one.
3744 am_cv_prog_cc_c_o=yes
3746 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3747 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); } \
3751 && test -f conftest2.$ac_objext; then
3754 am_cv_prog_cc_c_o=no
3758 rm -f core conftest*
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3762 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3763 if test "$am_cv_prog_cc_c_o" != yes; then
3764 # Losing compiler, so override with the script.
3765 # FIXME: It is wrong to rewrite CC.
3766 # But if we don't then we get into trouble of one sort or another.
3767 # A longer-term fix would be to have automake use am__CC in this case,
3768 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3769 CC="$am_aux_dir/compile $CC"
3772 ac_cpp='$CPP $CPPFLAGS'
3773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 DEPDIR="${am__leading_dot}deps"
3779 ac_config_commands="$ac_config_commands depfiles"
3782 am_make=${MAKE-make}
3783 cat > confinc << 'END'
3785 @echo this is the am__doit target
3788 # If we don't find an include directive, just comment out the code.
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3790 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3794 # First try GNU make style include.
3795 echo "include confinc" > confmf
3796 # Ignore all kinds of additional output from 'make'.
3797 case `$am_make -s -f confmf 2> /dev/null` in #(
3798 *the\ am__doit\ target*)
3804 # Now try BSD make style include.
3805 if test "$am__include" = "#"; then
3806 echo '.include "confinc"' > confmf
3807 case `$am_make -s -f confmf 2> /dev/null` in #(
3808 *the\ am__doit\ target*)
3809 am__include=.include
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3818 $as_echo "$_am_result" >&6; }
3819 rm -f confinc confmf
3821 # Check whether --enable-dependency-tracking was given.
3822 if test "${enable_dependency_tracking+set}" = set; then :
3823 enableval=$enable_dependency_tracking;
3826 if test "x$enable_dependency_tracking" != xno; then
3827 am_depcomp="$ac_aux_dir/depcomp"
3831 if test "x$enable_dependency_tracking" != xno; then
3841 depcc="$CC" am_compiler_list=
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3844 $as_echo_n "checking dependency style of $depcc... " >&6; }
3845 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3849 # We make a subdir and do the tests there. Otherwise we can end up
3850 # making bogus files that we don't know about and never remove. For
3851 # instance it was reported that on HP-UX the gcc test will end up
3852 # making a dummy file named 'D' -- because '-MD' means "put the output
3856 # Copy depcomp to subdir because otherwise we won't find it if we're
3857 # using a relative directory.
3858 cp "$am_depcomp" conftest.dir
3860 # We will build objects and dependencies in a subdirectory because
3861 # it helps to detect inapplicable dependency modes. For instance
3862 # both Tru64's cc and ICC support -MD to output dependencies as a
3863 # side effect of compilation, but ICC will put the dependencies in
3864 # the current directory while Tru64 will put them in the object
3868 am_cv_CC_dependencies_compiler_type=none
3869 if test "$am_compiler_list" = ""; then
3870 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3873 case " $depcc " in #(
3874 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3877 for depmode in $am_compiler_list; do
3878 # Setup a source with many dependencies, because some compilers
3879 # like to wrap large dependency lists on column 80 (with \), and
3880 # we should not choose a depcomp mode which is confused by this.
3882 # We need to recreate these files for each test, as the compiler may
3883 # overwrite some of them when testing with obscure command lines.
3884 # This happens at least with the AIX C compiler.
3886 for i in 1 2 3 4 5 6; do
3887 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3888 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3889 # Solaris 10 /bin/sh.
3890 echo '/* dummy */' > sub/conftst$i.h
3892 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3894 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3895 # mode. It turns out that the SunPro C++ compiler does not properly
3896 # handle '-M -o', and we need to detect this. Also, some Intel
3897 # versions had trouble with output in subdirs.
3898 am__obj=sub/conftest.${OBJEXT-o}
3899 am__minus_obj="-o $am__obj"
3902 # This depmode causes a compiler race in universal mode.
3903 test "$am__universal" = false || continue
3906 # After this tag, mechanisms are not by side-effect, so they'll
3907 # only be used when explicitly requested.
3908 if test "x$enable_dependency_tracking" = xyes; then
3914 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3915 # This compiler won't grok '-c -o', but also, the minuso test has
3916 # not run yet. These depmodes are late enough in the game, and
3917 # so weak that their functioning should not be impacted.
3918 am__obj=conftest.${OBJEXT-o}
3923 if depmode=$depmode \
3924 source=sub/conftest.c object=$am__obj \
3925 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3926 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3927 >/dev/null 2>conftest.err &&
3928 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3929 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3930 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3931 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3932 # icc doesn't choke on unknown options, it will just issue warnings
3933 # or remarks (even with -Werror). So we grep stderr for any message
3934 # that says an option was ignored or not supported.
3935 # When given -MP, icc 7.0 and 7.1 complain thusly:
3936 # icc: Command line warning: ignoring option '-M'; no argument required
3937 # The diagnosis changed in icc 8.0:
3938 # icc: Command line remark: option '-MP' not supported
3939 if (grep 'ignoring option' conftest.err ||
3940 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3941 am_cv_CC_dependencies_compiler_type=$depmode
3950 am_cv_CC_dependencies_compiler_type=none
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3955 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3956 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3959 test "x$enable_dependency_tracking" != xno \
3960 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3962 am__fastdepCC_FALSE='#'
3964 am__fastdepCC_TRUE='#'
3965 am__fastdepCC_FALSE=
3969 case $ac_cv_prog_cc_stdc in #(
3971 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3974 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3975 if ${ac_cv_prog_cc_c99+:} false; then :
3976 $as_echo_n "(cached) " >&6
3978 ac_cv_prog_cc_c99=no
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3983 #include <stdbool.h>
3988 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3989 #define debug(...) fprintf (stderr, __VA_ARGS__)
3990 #define showlist(...) puts (#__VA_ARGS__)
3991 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3993 test_varargs_macros (void)
3998 debug ("X = %d\n", x);
3999 showlist (The first, second, and third items.);
4000 report (x>y, "x is %d but y is %d", x, y);
4003 // Check long long types.
4004 #define BIG64 18446744073709551615ull
4005 #define BIG32 4294967295ul
4006 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4008 your preprocessor is broken;
4012 your preprocessor is broken;
4014 static long long int bignum = -9223372036854775807LL;
4015 static unsigned long long int ubignum = BIG64;
4017 struct incomplete_array
4025 const wchar_t *name;
4029 typedef const char *ccp;
4032 test_restrict (ccp restrict text)
4034 // See if C++-style comments work.
4035 // Iterate through items via the restricted pointer.
4036 // Also check for declarations in for loops.
4037 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4042 // Check varargs and va_copy.
4044 test_varargs (const char *format, ...)
4047 va_start (args, format);
4049 va_copy (args_copy, args);
4060 str = va_arg (args_copy, const char *);
4063 number = va_arg (args_copy, int);
4066 fnumber = va_arg (args_copy, double);
4081 _Bool success = false;
4084 if (test_restrict ("String literal") == 0)
4086 char *restrict newvar = "Another string";
4089 test_varargs ("s, d' f .", "string", 65, 34.234);
4090 test_varargs_macros ();
4092 // Check flexible array members.
4093 struct incomplete_array *ia =
4094 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4096 for (int i = 0; i < ia->datasize; ++i)
4097 ia->data[i] = i * 1.234;
4099 // Check named initializers.
4100 struct named_init ni = {
4102 .name = L"Test wide string",
4103 .average = 543.34343,
4108 int dynamic_array[ni.number];
4109 dynamic_array[ni.number - 1] = 543;
4111 // work around unused variable warnings
4112 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4113 || dynamic_array[ni.number - 1] != 543);
4119 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4121 CC="$ac_save_CC $ac_arg"
4122 if ac_fn_c_try_compile "$LINENO"; then :
4123 ac_cv_prog_cc_c99=$ac_arg
4125 rm -f core conftest.err conftest.$ac_objext
4126 test "x$ac_cv_prog_cc_c99" != "xno" && break
4128 rm -f conftest.$ac_ext
4133 case "x$ac_cv_prog_cc_c99" in
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4136 $as_echo "none needed" >&6; } ;;
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4139 $as_echo "unsupported" >&6; } ;;
4141 CC="$CC $ac_cv_prog_cc_c99"
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4143 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4145 if test "x$ac_cv_prog_cc_c99" != xno; then :
4146 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4149 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4150 if ${ac_cv_prog_cc_c89+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 ac_cv_prog_cc_c89=no
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4160 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4161 struct buf { int x; };
4162 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4163 static char *e (p, i)
4169 static char *f (char * (*g) (char **, int), char **p, ...)
4174 s = g (p, va_arg (v,int));
4179 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4180 function prototypes and stuff, but not '\xHH' hex character constants.
4181 These don't provoke an error unfortunately, instead are silently treated
4182 as 'x'. The following induces an error, until -std is added to get
4183 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4184 array size at least. It's necessary to write '\x00'==0 to get something
4185 that's true only with -std. */
4186 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4188 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4189 inside strings and character constants. */
4191 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4193 int test (int i, double x);
4194 struct s1 {int (*f) (int a);};
4195 struct s2 {int (*f) (double a);};
4196 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4202 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4207 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4208 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4210 CC="$ac_save_CC $ac_arg"
4211 if ac_fn_c_try_compile "$LINENO"; then :
4212 ac_cv_prog_cc_c89=$ac_arg
4214 rm -f core conftest.err conftest.$ac_objext
4215 test "x$ac_cv_prog_cc_c89" != "xno" && break
4217 rm -f conftest.$ac_ext
4222 case "x$ac_cv_prog_cc_c89" in
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4225 $as_echo "none needed" >&6; } ;;
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4228 $as_echo "unsupported" >&6; } ;;
4230 CC="$CC $ac_cv_prog_cc_c89"
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4232 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4234 if test "x$ac_cv_prog_cc_c89" != xno; then :
4235 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4237 ac_cv_prog_cc_stdc=no
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4244 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4245 if ${ac_cv_prog_cc_stdc+:} false; then :
4246 $as_echo_n "(cached) " >&6
4249 case $ac_cv_prog_cc_stdc in #(
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4252 $as_echo "unsupported" >&6; } ;; #(
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4255 $as_echo "none needed" >&6; } ;; #(
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4258 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4265 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4270 macro_version='2.4.6'
4271 macro_revision='2.4.6'
4285 ltmain=$ac_aux_dir/ltmain.sh
4287 # Make sure we can run config.sub.
4288 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4289 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4292 $as_echo_n "checking build system type... " >&6; }
4293 if ${ac_cv_build+:} false; then :
4294 $as_echo_n "(cached) " >&6
4296 ac_build_alias=$build_alias
4297 test "x$ac_build_alias" = x &&
4298 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4299 test "x$ac_build_alias" = x &&
4300 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4301 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4302 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4306 $as_echo "$ac_cv_build" >&6; }
4307 case $ac_cv_build in
4309 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4312 ac_save_IFS=$IFS; IFS='-'
4318 # Remember, the first character of IFS is used to create $*,
4319 # except with old shells:
4322 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4326 $as_echo_n "checking host system type... " >&6; }
4327 if ${ac_cv_host+:} false; then :
4328 $as_echo_n "(cached) " >&6
4330 if test "x$host_alias" = x; then
4331 ac_cv_host=$ac_cv_build
4333 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4334 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4339 $as_echo "$ac_cv_host" >&6; }
4342 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4345 ac_save_IFS=$IFS; IFS='-'
4351 # Remember, the first character of IFS is used to create $*,
4352 # except with old shells:
4355 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4358 # Backslashify metacharacters that are still active within
4359 # double-quoted strings.
4360 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4362 # Same as above, but do not quote variable references.
4363 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4365 # Sed substitution to delay expansion of an escaped shell variable in a
4366 # double_quote_subst'ed string.
4367 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4369 # Sed substitution to delay expansion of an escaped single quote.
4370 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4372 # Sed substitution to avoid accidental globbing in evaled expressions
4373 no_glob_subst='s/\*/\\\*/g'
4375 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4376 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4377 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4380 $as_echo_n "checking how to print strings... " >&6; }
4381 # Test print first, because it will be a builtin if present.
4382 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4383 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4385 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4388 # Use this function as a fallback that always works.
4389 func_fallback_echo ()
4391 eval 'cat <<_LTECHO_EOF
4395 ECHO='func_fallback_echo'
4398 # func_echo_all arg...
4399 # Invoke $ECHO with all args, space-separated.
4406 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4407 $as_echo "printf" >&6; } ;;
4408 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4409 $as_echo "print -r" >&6; } ;;
4410 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4411 $as_echo "cat" >&6; } ;;
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4428 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4429 if ${ac_cv_path_SED+:} false; then :
4430 $as_echo_n "(cached) " >&6
4432 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4433 for ac_i in 1 2 3 4 5 6 7; do
4434 ac_script="$ac_script$as_nl$ac_script"
4436 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4437 { ac_script=; unset ac_script;}
4438 if test -z "$SED"; then
4439 ac_path_SED_found=false
4440 # Loop through the user's path and test for each of PROGNAME-LIST
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 test -z "$as_dir" && as_dir=.
4446 for ac_prog in sed gsed; do
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4449 as_fn_executable_p "$ac_path_SED" || continue
4450 # Check for GNU ac_path_SED and select it if it is found.
4451 # Check for GNU $ac_path_SED
4452 case `"$ac_path_SED" --version 2>&1` in
4454 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4457 $as_echo_n 0123456789 >"conftest.in"
4460 cat "conftest.in" "conftest.in" >"conftest.tmp"
4461 mv "conftest.tmp" "conftest.in"
4462 cp "conftest.in" "conftest.nl"
4463 $as_echo '' >> "conftest.nl"
4464 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4465 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4466 as_fn_arith $ac_count + 1 && ac_count=$as_val
4467 if test $ac_count -gt ${ac_path_SED_max-0}; then
4468 # Best one so far, save it but keep looking for a better one
4469 ac_cv_path_SED="$ac_path_SED"
4470 ac_path_SED_max=$ac_count
4472 # 10*(2^10) chars as input seems more than enough
4473 test $ac_count -gt 10 && break
4475 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 $ac_path_SED_found && break 3
4483 if test -z "$ac_cv_path_SED"; then
4484 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4492 $as_echo "$ac_cv_path_SED" >&6; }
4493 SED="$ac_cv_path_SED"
4496 test -z "$SED" && SED=sed
4497 Xsed="$SED -e 1s/^X//"
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4510 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4511 if ${ac_cv_path_GREP+:} false; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -z "$GREP"; then
4515 ac_path_GREP_found=false
4516 # Loop through the user's path and test for each of PROGNAME-LIST
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4521 test -z "$as_dir" && as_dir=.
4522 for ac_prog in grep ggrep; do
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4525 as_fn_executable_p "$ac_path_GREP" || continue
4526 # Check for GNU ac_path_GREP and select it if it is found.
4527 # Check for GNU $ac_path_GREP
4528 case `"$ac_path_GREP" --version 2>&1` in
4530 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4533 $as_echo_n 0123456789 >"conftest.in"
4536 cat "conftest.in" "conftest.in" >"conftest.tmp"
4537 mv "conftest.tmp" "conftest.in"
4538 cp "conftest.in" "conftest.nl"
4539 $as_echo 'GREP' >> "conftest.nl"
4540 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4542 as_fn_arith $ac_count + 1 && ac_count=$as_val
4543 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4544 # Best one so far, save it but keep looking for a better one
4545 ac_cv_path_GREP="$ac_path_GREP"
4546 ac_path_GREP_max=$ac_count
4548 # 10*(2^10) chars as input seems more than enough
4549 test $ac_count -gt 10 && break
4551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 $ac_path_GREP_found && break 3
4559 if test -z "$ac_cv_path_GREP"; then
4560 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4563 ac_cv_path_GREP=$GREP
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4568 $as_echo "$ac_cv_path_GREP" >&6; }
4569 GREP="$ac_cv_path_GREP"
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4573 $as_echo_n "checking for egrep... " >&6; }
4574 if ${ac_cv_path_EGREP+:} false; then :
4575 $as_echo_n "(cached) " >&6
4577 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4578 then ac_cv_path_EGREP="$GREP -E"
4580 if test -z "$EGREP"; then
4581 ac_path_EGREP_found=false
4582 # Loop through the user's path and test for each of PROGNAME-LIST
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4587 test -z "$as_dir" && as_dir=.
4588 for ac_prog in egrep; do
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4591 as_fn_executable_p "$ac_path_EGREP" || continue
4592 # Check for GNU ac_path_EGREP and select it if it is found.
4593 # Check for GNU $ac_path_EGREP
4594 case `"$ac_path_EGREP" --version 2>&1` in
4596 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4599 $as_echo_n 0123456789 >"conftest.in"
4602 cat "conftest.in" "conftest.in" >"conftest.tmp"
4603 mv "conftest.tmp" "conftest.in"
4604 cp "conftest.in" "conftest.nl"
4605 $as_echo 'EGREP' >> "conftest.nl"
4606 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4607 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4608 as_fn_arith $ac_count + 1 && ac_count=$as_val
4609 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4610 # Best one so far, save it but keep looking for a better one
4611 ac_cv_path_EGREP="$ac_path_EGREP"
4612 ac_path_EGREP_max=$ac_count
4614 # 10*(2^10) chars as input seems more than enough
4615 test $ac_count -gt 10 && break
4617 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4620 $ac_path_EGREP_found && break 3
4625 if test -z "$ac_cv_path_EGREP"; then
4626 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629 ac_cv_path_EGREP=$EGREP
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4635 $as_echo "$ac_cv_path_EGREP" >&6; }
4636 EGREP="$ac_cv_path_EGREP"
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4640 $as_echo_n "checking for fgrep... " >&6; }
4641 if ${ac_cv_path_FGREP+:} false; then :
4642 $as_echo_n "(cached) " >&6
4644 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4645 then ac_cv_path_FGREP="$GREP -F"
4647 if test -z "$FGREP"; then
4648 ac_path_FGREP_found=false
4649 # Loop through the user's path and test for each of PROGNAME-LIST
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4654 test -z "$as_dir" && as_dir=.
4655 for ac_prog in fgrep; do
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4658 as_fn_executable_p "$ac_path_FGREP" || continue
4659 # Check for GNU ac_path_FGREP and select it if it is found.
4660 # Check for GNU $ac_path_FGREP
4661 case `"$ac_path_FGREP" --version 2>&1` in
4663 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4666 $as_echo_n 0123456789 >"conftest.in"
4669 cat "conftest.in" "conftest.in" >"conftest.tmp"
4670 mv "conftest.tmp" "conftest.in"
4671 cp "conftest.in" "conftest.nl"
4672 $as_echo 'FGREP' >> "conftest.nl"
4673 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4674 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4675 as_fn_arith $ac_count + 1 && ac_count=$as_val
4676 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4677 # Best one so far, save it but keep looking for a better one
4678 ac_cv_path_FGREP="$ac_path_FGREP"
4679 ac_path_FGREP_max=$ac_count
4681 # 10*(2^10) chars as input seems more than enough
4682 test $ac_count -gt 10 && break
4684 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4687 $ac_path_FGREP_found && break 3
4692 if test -z "$ac_cv_path_FGREP"; then
4693 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4696 ac_cv_path_FGREP=$FGREP
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4702 $as_echo "$ac_cv_path_FGREP" >&6; }
4703 FGREP="$ac_cv_path_FGREP"
4706 test -z "$GREP" && GREP=grep
4726 # Check whether --with-gnu-ld was given.
4727 if test "${with_gnu_ld+set}" = set; then :
4728 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4734 if test yes = "$GCC"; then
4735 # Check if gcc -print-prog-name=ld gives a path.
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4737 $as_echo_n "checking for ld used by $CC... " >&6; }
4740 # gcc leaves a trailing carriage return, which upsets mingw
4741 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4743 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4746 # Accept absolute paths.
4748 re_direlt='/[^/][^/]*/\.\./'
4749 # Canonicalize the pathname of ld
4750 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4751 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4752 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4754 test -z "$LD" && LD=$ac_prog
4757 # If it fails, then pretend we aren't using GCC.
4761 # If it is relative, then search for the first ld in PATH.
4765 elif test yes = "$with_gnu_ld"; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4767 $as_echo_n "checking for GNU ld... " >&6; }
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4770 $as_echo_n "checking for non-GNU ld... " >&6; }
4772 if ${lt_cv_path_LD+:} false; then :
4773 $as_echo_n "(cached) " >&6
4775 if test -z "$LD"; then
4776 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4777 for ac_dir in $PATH; do
4779 test -z "$ac_dir" && ac_dir=.
4780 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4781 lt_cv_path_LD=$ac_dir/$ac_prog
4782 # Check to see if the program is GNU ld. I'd rather use --version,
4783 # but apparently some variants of GNU ld only accept -v.
4784 # Break only if it was the GNU/non-GNU ld that we prefer.
4785 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4786 *GNU* | *'with BFD'*)
4787 test no != "$with_gnu_ld" && break
4790 test yes != "$with_gnu_ld" && break
4797 lt_cv_path_LD=$LD # Let the user override the test with a path.
4802 if test -n "$LD"; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4804 $as_echo "$LD" >&6; }
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4809 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4811 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4812 if ${lt_cv_prog_gnu_ld+:} false; then :
4813 $as_echo_n "(cached) " >&6
4815 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4816 case `$LD -v 2>&1 </dev/null` in
4817 *GNU* | *'with BFD'*)
4818 lt_cv_prog_gnu_ld=yes
4821 lt_cv_prog_gnu_ld=no
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4826 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4827 with_gnu_ld=$lt_cv_prog_gnu_ld
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4838 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4839 if ${lt_cv_path_NM+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 if test -n "$NM"; then
4843 # Let the user override the test.
4846 lt_nm_to_check=${ac_tool_prefix}nm
4847 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4848 lt_nm_to_check="$lt_nm_to_check nm"
4850 for lt_tmp_nm in $lt_nm_to_check; do
4851 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4852 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4854 test -z "$ac_dir" && ac_dir=.
4855 tmp_nm=$ac_dir/$lt_tmp_nm
4856 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4857 # Check to see if the nm accepts a BSD-compat flag.
4858 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4859 # nm: unknown option "B" ignored
4860 # Tru64's nm complains that /dev/null is an invalid object file
4861 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4863 mingw*) lt_bad_file=conftest.nm/nofile ;;
4864 *) lt_bad_file=/dev/null ;;
4866 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4867 *$lt_bad_file* | *'Invalid file or object type'*)
4868 lt_cv_path_NM="$tmp_nm -B"
4872 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4874 lt_cv_path_NM="$tmp_nm -p"
4878 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4879 continue # so that we can try to find one that supports BSD flags
4888 : ${lt_cv_path_NM=no}
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4892 $as_echo "$lt_cv_path_NM" >&6; }
4893 if test no != "$lt_cv_path_NM"; then
4896 # Didn't find any BSD compatible name lister, look for dumpbin.
4897 if test -n "$DUMPBIN"; then :
4898 # Let the user override the test.
4900 if test -n "$ac_tool_prefix"; then
4901 for ac_prog in dumpbin "link -dump"
4903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_DUMPBIN+:} false; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$DUMPBIN"; then
4911 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 DUMPBIN=$ac_cv_prog_DUMPBIN
4931 if test -n "$DUMPBIN"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4933 $as_echo "$DUMPBIN" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4940 test -n "$DUMPBIN" && break
4943 if test -z "$DUMPBIN"; then
4944 ac_ct_DUMPBIN=$DUMPBIN
4945 for ac_prog in dumpbin "link -dump"
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy $ac_prog; ac_word=$2
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4950 $as_echo_n "checking for $ac_word... " >&6; }
4951 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4952 $as_echo_n "(cached) " >&6
4954 if test -n "$ac_ct_DUMPBIN"; then
4955 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4975 if test -n "$ac_ct_DUMPBIN"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4977 $as_echo "$ac_ct_DUMPBIN" >&6; }
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4984 test -n "$ac_ct_DUMPBIN" && break
4987 if test "x$ac_ct_DUMPBIN" = x; then
4990 case $cross_compiling:$ac_tool_warned in
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4996 DUMPBIN=$ac_ct_DUMPBIN
5000 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5002 DUMPBIN="$DUMPBIN -symbols -headers"
5010 if test : != "$DUMPBIN"; then
5014 test -z "$NM" && NM=nm
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5022 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5023 if ${lt_cv_nm_interface+:} false; then :
5024 $as_echo_n "(cached) " >&6
5026 lt_cv_nm_interface="BSD nm"
5027 echo "int some_variable = 0;" > conftest.$ac_ext
5028 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5029 (eval "$ac_compile" 2>conftest.err)
5030 cat conftest.err >&5
5031 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5032 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5033 cat conftest.err >&5
5034 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5035 cat conftest.out >&5
5036 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5037 lt_cv_nm_interface="MS dumpbin"
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5042 $as_echo "$lt_cv_nm_interface" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5045 $as_echo_n "checking whether ln -s works... " >&6; }
5047 if test "$LN_S" = "ln -s"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5052 $as_echo "no, using $LN_S" >&6; }
5055 # find the maximum length of command line arguments
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5057 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5058 if ${lt_cv_sys_max_cmd_len+:} false; then :
5059 $as_echo_n "(cached) " >&6
5066 # On DJGPP, this test can blow up pretty badly due to problems in libc
5067 # (any single argument exceeding 2000 bytes causes a buffer overrun
5068 # during glob expansion). Even if it were fixed, the result of this
5069 # check would be larger than it should be.
5070 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5074 # Under GNU Hurd, this test is not required because there is
5075 # no limit to the length of command line arguments.
5076 # Libtool will interpret -1 as no limit whatsoever
5077 lt_cv_sys_max_cmd_len=-1;
5080 cygwin* | mingw* | cegcc*)
5081 # On Win9x/ME, this test blows up -- it succeeds, but takes
5082 # about 5 minutes as the teststring grows exponentially.
5083 # Worse, since 9x/ME are not pre-emptively multitasking,
5084 # you end up with a "frozen" computer, even though with patience
5085 # the test eventually succeeds (with a max line length of 256k).
5086 # Instead, let's just punt: use the minimum linelength reported by
5087 # all of the supported platforms: 8192 (on NT/2K/XP).
5088 lt_cv_sys_max_cmd_len=8192;
5092 # On MiNT this can take a long time and run out of memory.
5093 lt_cv_sys_max_cmd_len=8192;
5097 # On AmigaOS with pdksh, this test takes hours, literally.
5098 # So we just punt and use a minimum line length of 8192.
5099 lt_cv_sys_max_cmd_len=8192;
5102 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5103 # This has been around since 386BSD, at least. Likely further.
5104 if test -x /sbin/sysctl; then
5105 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5106 elif test -x /usr/sbin/sysctl; then
5107 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5109 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5111 # And add a safety zone
5112 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5117 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5118 lt_cv_sys_max_cmd_len=196608
5122 # The test takes a long time on OS/2.
5123 lt_cv_sys_max_cmd_len=8192
5127 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5128 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5129 # nice to cause kernel panics so lets avoid the loop below.
5130 # First set a reasonable default.
5131 lt_cv_sys_max_cmd_len=16384
5133 if test -x /sbin/sysconfig; then
5134 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5135 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5140 lt_cv_sys_max_cmd_len=102400
5142 sysv5* | sco5v6* | sysv4.2uw2*)
5143 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5144 if test -n "$kargmax"; then
5145 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5147 lt_cv_sys_max_cmd_len=32768
5151 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5152 if test -n "$lt_cv_sys_max_cmd_len" && \
5153 test undefined != "$lt_cv_sys_max_cmd_len"; then
5154 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5155 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5157 # Make teststring a little bigger before we do anything with it.
5158 # a 1K string should be a reasonable start.
5159 for i in 1 2 3 4 5 6 7 8; do
5160 teststring=$teststring$teststring
5162 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5163 # If test is not a shell built-in, we'll probably end up computing a
5164 # maximum length that is only half of the actual maximum length, but
5166 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5167 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5168 test 17 != "$i" # 1/2 MB should be enough
5171 teststring=$teststring$teststring
5173 # Only check the string length outside the loop.
5174 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5176 # Add a significant safety factor because C++ compilers can tack on
5177 # massive amounts of additional arguments before passing them to the
5178 # linker. It appears as though 1/2 is a usable value.
5179 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5186 if test -n "$lt_cv_sys_max_cmd_len"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5188 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5191 $as_echo "none" >&6; }
5193 max_cmd_len=$lt_cv_sys_max_cmd_len
5204 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5214 # test EBCDIC or ASCII
5215 case `echo X|tr X '\101'` in
5216 A) # ASCII based system
5217 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5218 lt_SP2NL='tr \040 \012'
5219 lt_NL2SP='tr \015\012 \040\040'
5221 *) # EBCDIC based system
5222 lt_SP2NL='tr \100 \n'
5223 lt_NL2SP='tr \r\n \100\100'
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5236 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5237 if ${lt_cv_to_host_file_cmd+:} false; then :
5238 $as_echo_n "(cached) " >&6
5243 *-*-mingw* ) # actually msys
5244 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5247 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5249 * ) # otherwise, assume *nix
5250 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5256 *-*-mingw* ) # actually msys
5257 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5260 lt_cv_to_host_file_cmd=func_convert_file_noop
5262 * ) # otherwise, assume *nix
5263 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5267 * ) # unhandled hosts (and "normal" native builds)
5268 lt_cv_to_host_file_cmd=func_convert_file_noop
5274 to_host_file_cmd=$lt_cv_to_host_file_cmd
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5276 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5283 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5284 if ${lt_cv_to_tool_file_cmd+:} false; then :
5285 $as_echo_n "(cached) " >&6
5287 #assume ordinary cross tools, or native build.
5288 lt_cv_to_tool_file_cmd=func_convert_file_noop
5292 *-*-mingw* ) # actually msys
5293 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5301 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5303 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5310 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5311 if ${lt_cv_ld_reload_flag+:} false; then :
5312 $as_echo_n "(cached) " >&6
5314 lt_cv_ld_reload_flag='-r'
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5317 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5318 reload_flag=$lt_cv_ld_reload_flag
5319 case $reload_flag in
5321 *) reload_flag=" $reload_flag" ;;
5323 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5325 cygwin* | mingw* | pw32* | cegcc*)
5326 if test yes != "$GCC"; then
5331 if test yes = "$GCC"; then
5332 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5334 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5347 if test -n "$ac_tool_prefix"; then
5348 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_OBJDUMP+:} false; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$OBJDUMP"; then
5356 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 OBJDUMP=$ac_cv_prog_OBJDUMP
5376 if test -n "$OBJDUMP"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5378 $as_echo "$OBJDUMP" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5386 if test -z "$ac_cv_prog_OBJDUMP"; then
5387 ac_ct_OBJDUMP=$OBJDUMP
5388 # Extract the first word of "objdump", so it can be a program name with args.
5389 set dummy objdump; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$ac_ct_OBJDUMP"; then
5396 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5416 if test -n "$ac_ct_OBJDUMP"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5418 $as_echo "$ac_ct_OBJDUMP" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5424 if test "x$ac_ct_OBJDUMP" = x; then
5427 case $cross_compiling:$ac_tool_warned in
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned=yes ;;
5433 OBJDUMP=$ac_ct_OBJDUMP
5436 OBJDUMP="$ac_cv_prog_OBJDUMP"
5439 test -z "$OBJDUMP" && OBJDUMP=objdump
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5450 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5451 if ${lt_cv_deplibs_check_method+:} false; then :
5452 $as_echo_n "(cached) " >&6
5454 lt_cv_file_magic_cmd='$MAGIC_CMD'
5455 lt_cv_file_magic_test_file=
5456 lt_cv_deplibs_check_method='unknown'
5457 # Need to set the preceding variable on all platforms that support
5458 # interlibrary dependencies.
5459 # 'none' -- dependencies not supported.
5460 # 'unknown' -- same as none, but documents that we really don't know.
5461 # 'pass_all' -- all dependencies passed with no checks.
5462 # 'test_compile' -- check by making test program.
5463 # 'file_magic [[regex]]' -- check by looking for files in library path
5464 # that responds to the $file_magic_cmd with a given extended regex.
5465 # If you have 'file' or equivalent on your system and you're not sure
5466 # whether 'pass_all' will *always* work, you probably want this one.
5470 lt_cv_deplibs_check_method=pass_all
5474 lt_cv_deplibs_check_method=pass_all
5478 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5479 lt_cv_file_magic_cmd='/usr/bin/file -L'
5480 lt_cv_file_magic_test_file=/shlib/libc.so
5484 # func_win32_libid is a shell function defined in ltmain.sh
5485 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5486 lt_cv_file_magic_cmd='func_win32_libid'
5490 # Base MSYS/MinGW do not provide the 'file' command needed by
5491 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5492 # unless we find 'file', for example because we are cross-compiling.
5493 if ( file / ) >/dev/null 2>&1; then
5494 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5495 lt_cv_file_magic_cmd='func_win32_libid'
5497 # Keep this pattern in sync with the one in func_win32_libid.
5498 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5499 lt_cv_file_magic_cmd='$OBJDUMP -f'
5504 # use the weaker test based on 'objdump'. See mingw*.
5505 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5506 lt_cv_file_magic_cmd='$OBJDUMP -f'
5509 darwin* | rhapsody*)
5510 lt_cv_deplibs_check_method=pass_all
5513 freebsd* | dragonfly*)
5514 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5517 # Not sure whether the presence of OpenBSD here was a mistake.
5518 # Let's accept both of them until this is cleared up.
5519 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5520 lt_cv_file_magic_cmd=/usr/bin/file
5521 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5525 lt_cv_deplibs_check_method=pass_all
5530 lt_cv_deplibs_check_method=pass_all
5533 hpux10.20* | hpux11*)
5534 lt_cv_file_magic_cmd=/usr/bin/file
5537 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5538 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5541 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]'
5542 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5545 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5546 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5552 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5553 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5556 irix5* | irix6* | nonstopux*)
5558 *-32|*"-32 ") libmagic=32-bit;;
5559 *-n32|*"-n32 ") libmagic=N32;;
5560 *-64|*"-64 ") libmagic=64-bit;;
5561 *) libmagic=never-match;;
5563 lt_cv_deplibs_check_method=pass_all
5566 # This must be glibc/ELF.
5567 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5568 lt_cv_deplibs_check_method=pass_all
5571 netbsd* | netbsdelf*-gnu)
5572 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5573 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5580 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5581 lt_cv_file_magic_cmd=/usr/bin/file
5582 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5586 lt_cv_deplibs_check_method=pass_all
5590 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5591 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5593 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5597 osf3* | osf4* | osf5*)
5598 lt_cv_deplibs_check_method=pass_all
5602 lt_cv_deplibs_check_method=pass_all
5606 lt_cv_deplibs_check_method=pass_all
5609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5610 lt_cv_deplibs_check_method=pass_all
5614 case $host_vendor in
5616 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]'
5617 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5620 lt_cv_deplibs_check_method=pass_all
5623 lt_cv_file_magic_cmd='/bin/file'
5624 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5627 lt_cv_file_magic_cmd='/bin/file'
5628 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5629 lt_cv_file_magic_test_file=/lib/libc.so
5632 lt_cv_deplibs_check_method=pass_all
5635 lt_cv_deplibs_check_method=pass_all
5641 lt_cv_deplibs_check_method=pass_all
5644 lt_cv_deplibs_check_method=pass_all
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5650 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5654 if test "$build" = "$host"; then
5657 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5660 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5666 file_magic_cmd=$lt_cv_file_magic_cmd
5667 deplibs_check_method=$lt_cv_deplibs_check_method
5668 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5691 if test -n "$ac_tool_prefix"; then
5692 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5693 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_DLLTOOL+:} false; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$DLLTOOL"; then
5700 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 DLLTOOL=$ac_cv_prog_DLLTOOL
5720 if test -n "$DLLTOOL"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5722 $as_echo "$DLLTOOL" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5730 if test -z "$ac_cv_prog_DLLTOOL"; then
5731 ac_ct_DLLTOOL=$DLLTOOL
5732 # Extract the first word of "dlltool", so it can be a program name with args.
5733 set dummy dlltool; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5737 $as_echo_n "(cached) " >&6
5739 if test -n "$ac_ct_DLLTOOL"; then
5740 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5760 if test -n "$ac_ct_DLLTOOL"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5762 $as_echo "$ac_ct_DLLTOOL" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5768 if test "x$ac_ct_DLLTOOL" = x; then
5771 case $cross_compiling:$ac_tool_warned in
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5775 ac_tool_warned=yes ;;
5777 DLLTOOL=$ac_ct_DLLTOOL
5780 DLLTOOL="$ac_cv_prog_DLLTOOL"
5783 test -z "$DLLTOOL" && DLLTOOL=dlltool
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5795 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5796 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5797 $as_echo_n "(cached) " >&6
5799 lt_cv_sharedlib_from_linklib_cmd='unknown'
5802 cygwin* | mingw* | pw32* | cegcc*)
5803 # two different shell functions defined in ltmain.sh;
5804 # decide which one to use based on capabilities of $DLLTOOL
5805 case `$DLLTOOL --help 2>&1` in
5806 *--identify-strict*)
5807 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5810 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5815 # fallback: assume linklib IS sharedlib
5816 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5822 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5823 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5824 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5833 if test -n "$ac_tool_prefix"; then
5836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_AR+:} false; then :
5841 $as_echo_n "(cached) " >&6
5843 if test -n "$AR"; then
5844 ac_cv_prog_AR="$AR" # Let the user override the test.
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 if test -n "$AR"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5866 $as_echo "$AR" >&6; }
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5873 test -n "$AR" && break
5876 if test -z "$AR"; then
5880 # Extract the first word of "$ac_prog", so it can be a program name with args.
5881 set dummy $ac_prog; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$ac_ct_AR"; then
5888 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_ac_ct_AR="$ac_prog"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5908 if test -n "$ac_ct_AR"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5910 $as_echo "$ac_ct_AR" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5917 test -n "$ac_ct_AR" && break
5920 if test "x$ac_ct_AR" = x; then
5923 case $cross_compiling:$ac_tool_warned in
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5927 ac_tool_warned=yes ;;
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5947 $as_echo_n "checking for archiver @FILE support... " >&6; }
5948 if ${lt_cv_ar_at_file+:} false; then :
5949 $as_echo_n "(cached) " >&6
5952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5953 /* end confdefs.h. */
5963 if ac_fn_c_try_compile "$LINENO"; then :
5964 echo conftest.$ac_objext > conftest.lst
5965 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5966 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5967 (eval $lt_ar_try) 2>&5
5969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5970 test $ac_status = 0; }
5971 if test 0 -eq "$ac_status"; then
5972 # Ensure the archiver fails upon bogus file names.
5973 rm -f conftest.$ac_objext libconftest.a
5974 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5975 (eval $lt_ar_try) 2>&5
5977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5978 test $ac_status = 0; }
5979 if test 0 -ne "$ac_status"; then
5983 rm -f conftest.* libconftest.a
5986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5990 $as_echo "$lt_cv_ar_at_file" >&6; }
5992 if test no = "$lt_cv_ar_at_file"; then
5995 archiver_list_spec=$lt_cv_ar_at_file
6004 if test -n "$ac_tool_prefix"; then
6005 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6006 set dummy ${ac_tool_prefix}strip; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_STRIP+:} false; then :
6010 $as_echo_n "(cached) " >&6
6012 if test -n "$STRIP"; then
6013 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 STRIP=$ac_cv_prog_STRIP
6033 if test -n "$STRIP"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6035 $as_echo "$STRIP" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6043 if test -z "$ac_cv_prog_STRIP"; then
6045 # Extract the first word of "strip", so it can be a program name with args.
6046 set dummy strip; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6050 $as_echo_n "(cached) " >&6
6052 if test -n "$ac_ct_STRIP"; then
6053 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062 ac_cv_prog_ac_ct_STRIP="strip"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6073 if test -n "$ac_ct_STRIP"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6075 $as_echo "$ac_ct_STRIP" >&6; }
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6081 if test "x$ac_ct_STRIP" = x; then
6084 case $cross_compiling:$ac_tool_warned in
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6088 ac_tool_warned=yes ;;
6093 STRIP="$ac_cv_prog_STRIP"
6096 test -z "$STRIP" && STRIP=:
6103 if test -n "$ac_tool_prefix"; then
6104 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_RANLIB+:} false; then :
6109 $as_echo_n "(cached) " >&6
6111 if test -n "$RANLIB"; then
6112 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 RANLIB=$ac_cv_prog_RANLIB
6132 if test -n "$RANLIB"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6134 $as_echo "$RANLIB" >&6; }
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6142 if test -z "$ac_cv_prog_RANLIB"; then
6143 ac_ct_RANLIB=$RANLIB
6144 # Extract the first word of "ranlib", so it can be a program name with args.
6145 set dummy ranlib; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6149 $as_echo_n "(cached) " >&6
6151 if test -n "$ac_ct_RANLIB"; then
6152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_ac_ct_RANLIB="ranlib"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6172 if test -n "$ac_ct_RANLIB"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6174 $as_echo "$ac_ct_RANLIB" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6180 if test "x$ac_ct_RANLIB" = x; then
6183 case $cross_compiling:$ac_tool_warned in
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6187 ac_tool_warned=yes ;;
6189 RANLIB=$ac_ct_RANLIB
6192 RANLIB="$ac_cv_prog_RANLIB"
6195 test -z "$RANLIB" && RANLIB=:
6202 # Determine commands to create old-style static archives.
6203 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6204 old_postinstall_cmds='chmod 644 $oldlib'
6205 old_postuninstall_cmds=
6207 if test -n "$RANLIB"; then
6210 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6213 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6216 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6221 lock_old_archive_extraction=yes ;;
6223 lock_old_archive_extraction=no ;;
6264 # If no C compiler was specified, use CC.
6267 # If no C compiler flags were specified, use CFLAGS.
6268 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6270 # Allow CC to be a program name with arguments.
6274 # Check for command to grab the raw symbol name followed by C symbol from nm.
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6276 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6277 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6278 $as_echo_n "(cached) " >&6
6281 # These are sane defaults that work on at least a few old systems.
6282 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6284 # Character class describing NM global symbol codes.
6285 symcode='[BCDEGRST]'
6287 # Regexp to match symbols that can be accessed directly from C.
6288 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6290 # Define system-specific variables.
6295 cygwin* | mingw* | pw32* | cegcc*)
6296 symcode='[ABCDGISTW]'
6299 if test ia64 = "$host_cpu"; then
6300 symcode='[ABCDEGRST]'
6304 symcode='[BCDEGRST]'
6307 symcode='[BCDEGQRST]'
6318 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6326 # If we're using GNU nm, then use its standard symbol codes.
6327 case `$NM -V 2>&1` in
6328 *GNU* | *'with BFD'*)
6329 symcode='[ABCDGIRSTW]' ;;
6332 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6333 # Gets list of data symbols to import.
6334 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6335 # Adjust the below global symbol transforms to fixup imported variables.
6336 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6337 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6338 lt_c_name_lib_hook="\
6339 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6340 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6342 # Disable hooks by default.
6343 lt_cv_sys_global_symbol_to_import=
6349 # Transform an extracted symbol line into a proper C declaration.
6350 # Some systems (esp. on ia64) link data and code symbols differently,
6351 # so use this general approach.
6352 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6354 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6355 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6357 # Transform an extracted symbol line into symbol name and symbol address
6358 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6360 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6361 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6363 # Transform an extracted symbol line into symbol name with lib prefix and
6365 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6366 $lt_c_name_lib_hook\
6367 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6368 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6369 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6371 # Handle CRLF in mingw tool chain
6375 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6379 # Try without a prefix underscore, then with it.
6380 for ac_symprfx in "" "_"; do
6382 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6383 symxfrm="\\1 $ac_symprfx\\2 \\2"
6385 # Write the raw and C identifiers.
6386 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6387 # Fake it for dumpbin and say T for any non-static function,
6388 # D for any global variable and I for any imported variable.
6389 # Also find C++ and __fastcall symbols from MSVC++,
6390 # which start with @ or ?.
6391 lt_cv_sys_global_symbol_pipe="$AWK '"\
6392 " {last_section=section; section=\$ 3};"\
6393 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6394 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6395 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6396 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6397 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6398 " \$ 0!~/External *\|/{next};"\
6399 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6400 " {if(hide[section]) next};"\
6401 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6402 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6403 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6404 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6405 " ' prfx=^$ac_symprfx"
6407 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6409 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6411 # Check to see that the pipe works correctly.
6415 cat > conftest.$ac_ext <<_LT_EOF
6420 void nm_test_func(void);
6421 void nm_test_func(void){}
6425 int main(){nm_test_var='a';nm_test_func();return(0);}
6428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6429 (eval $ac_compile) 2>&5
6431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6432 test $ac_status = 0; }; then
6433 # Now try to grab the symbols.
6435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6436 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6439 test $ac_status = 0; } && test -s "$nlist"; then
6440 # Try sorting and uniquifying the output.
6441 if sort "$nlist" | uniq > "$nlist"T; then
6442 mv -f "$nlist"T "$nlist"
6447 # Make sure that we snagged all the symbols we need.
6448 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6449 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6450 cat <<_LT_EOF > conftest.$ac_ext
6451 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6452 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6453 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6454 relocations are performed -- see ld's documentation on pseudo-relocs. */
6455 # define LT_DLSYM_CONST
6456 #elif defined __osf__
6457 /* This system does not cope well with relocations in const data. */
6458 # define LT_DLSYM_CONST
6460 # define LT_DLSYM_CONST const
6468 # Now generate the symbol file.
6469 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6471 cat <<_LT_EOF >> conftest.$ac_ext
6473 /* The mapping between symbol names and symbols. */
6474 LT_DLSYM_CONST struct {
6478 lt__PROGRAM__LTX_preloaded_symbols[] =
6480 { "@PROGRAM@", (void *) 0 },
6482 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6483 cat <<\_LT_EOF >> conftest.$ac_ext
6487 /* This works around a problem in FreeBSD linker */
6488 #ifdef FREEBSD_WORKAROUND
6489 static const void *lt_preloaded_setup() {
6490 return lt__PROGRAM__LTX_preloaded_symbols;
6498 # Now try linking the two files.
6499 mv conftest.$ac_objext conftstm.$ac_objext
6500 lt_globsym_save_LIBS=$LIBS
6501 lt_globsym_save_CFLAGS=$CFLAGS
6502 LIBS=conftstm.$ac_objext
6503 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6505 (eval $ac_link) 2>&5
6507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6508 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6511 LIBS=$lt_globsym_save_LIBS
6512 CFLAGS=$lt_globsym_save_CFLAGS
6514 echo "cannot find nm_test_func in $nlist" >&5
6517 echo "cannot find nm_test_var in $nlist" >&5
6520 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6523 echo "$progname: failed program was:" >&5
6524 cat conftest.$ac_ext >&5
6526 rm -rf conftest* conftst*
6528 # Do not use the global_symbol_pipe unless it works.
6529 if test yes = "$pipe_works"; then
6532 lt_cv_sys_global_symbol_pipe=
6538 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6539 lt_cv_sys_global_symbol_to_cdecl=
6541 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6543 $as_echo "failed" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6546 $as_echo "ok" >&6; }
6549 # Response file support.
6550 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6551 nm_file_list_spec='@'
6552 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6553 nm_file_list_spec='@'
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6593 $as_echo_n "checking for sysroot... " >&6; }
6595 # Check whether --with-sysroot was given.
6596 if test "${with_sysroot+set}" = set; then :
6597 withval=$with_sysroot;
6604 case $with_sysroot in #(
6606 if test yes = "$GCC"; then
6607 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6611 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6617 $as_echo "$with_sysroot" >&6; }
6618 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6623 $as_echo "${lt_sysroot:-no}" >&6; }
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6630 $as_echo_n "checking for a working dd... " >&6; }
6631 if ${ac_cv_path_lt_DD+:} false; then :
6632 $as_echo_n "(cached) " >&6
6634 printf 0123456789abcdef0123456789abcdef >conftest.i
6635 cat conftest.i conftest.i >conftest2.i
6637 if test -z "$lt_DD"; then
6638 ac_path_lt_DD_found=false
6639 # Loop through the user's path and test for each of PROGNAME-LIST
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir=.
6645 for ac_prog in dd; do
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6648 as_fn_executable_p "$ac_path_lt_DD" || continue
6649 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6650 cmp -s conftest.i conftest.out \
6651 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6653 $ac_path_lt_DD_found && break 3
6658 if test -z "$ac_cv_path_lt_DD"; then
6662 ac_cv_path_lt_DD=$lt_DD
6665 rm -f conftest.i conftest2.i conftest.out
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6668 $as_echo "$ac_cv_path_lt_DD" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6672 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6673 if ${lt_cv_truncate_bin+:} false; then :
6674 $as_echo_n "(cached) " >&6
6676 printf 0123456789abcdef0123456789abcdef >conftest.i
6677 cat conftest.i conftest.i >conftest2.i
6679 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6680 cmp -s conftest.i conftest.out \
6681 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6683 rm -f conftest.i conftest2.i conftest.out
6684 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6687 $as_echo "$lt_cv_truncate_bin" >&6; }
6695 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6698 for cc_temp in $*""; do
6700 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6701 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6706 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6709 # Check whether --enable-libtool-lock was given.
6710 if test "${enable_libtool_lock+set}" = set; then :
6711 enableval=$enable_libtool_lock;
6714 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6716 # Some flags need to be propagated to the compiler or linker for good
6720 # Find out what ABI is being produced by ac_compile, and set mode
6721 # options accordingly.
6722 echo 'int i;' > conftest.$ac_ext
6723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6724 (eval $ac_compile) 2>&5
6726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6727 test $ac_status = 0; }; then
6728 case `/usr/bin/file conftest.$ac_objext` in
6740 # Find out what ABI is being produced by ac_compile, and set linker
6741 # options accordingly.
6742 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6744 (eval $ac_compile) 2>&5
6746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6747 test $ac_status = 0; }; then
6748 if test yes = "$lt_cv_prog_gnu_ld"; then
6749 case `/usr/bin/file conftest.$ac_objext` in
6751 LD="${LD-ld} -melf32bsmip"
6754 LD="${LD-ld} -melf32bmipn32"
6757 LD="${LD-ld} -melf64bmip"
6761 case `/usr/bin/file conftest.$ac_objext` in
6778 # Find out what ABI is being produced by ac_compile, and set linker
6779 # options accordingly.
6780 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6781 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6782 (eval $ac_compile) 2>&5
6784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6785 test $ac_status = 0; }; then
6787 case `/usr/bin/file conftest.$ac_objext` in
6795 case `/usr/bin/file conftest.$ac_objext` in
6797 emul="${emul}btsmip"
6800 emul="${emul}ltsmip"
6803 case `/usr/bin/file conftest.$ac_objext` in
6808 LD="${LD-ld} -m $emul"
6813 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6814 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6815 # Find out what ABI is being produced by ac_compile, and set linker
6816 # options accordingly. Note that the listed cases only cover the
6817 # situations where additional linker options are needed (such as when
6818 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6819 # vice versa); the common cases where no linker options are needed do
6820 # not appear in the list.
6821 echo 'int i;' > conftest.$ac_ext
6822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6823 (eval $ac_compile) 2>&5
6825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6826 test $ac_status = 0; }; then
6827 case `/usr/bin/file conftest.o` in
6830 x86_64-*kfreebsd*-gnu)
6831 LD="${LD-ld} -m elf_i386_fbsd"
6834 case `/usr/bin/file conftest.o` in
6836 LD="${LD-ld} -m elf32_x86_64"
6839 LD="${LD-ld} -m elf_i386"
6843 powerpc64le-*linux*)
6844 LD="${LD-ld} -m elf32lppclinux"
6847 LD="${LD-ld} -m elf32ppclinux"
6850 LD="${LD-ld} -m elf_s390"
6853 LD="${LD-ld} -m elf32_sparc"
6859 x86_64-*kfreebsd*-gnu)
6860 LD="${LD-ld} -m elf_x86_64_fbsd"
6863 LD="${LD-ld} -m elf_x86_64"
6866 LD="${LD-ld} -m elf64lppc"
6869 LD="${LD-ld} -m elf64ppc"
6871 s390*-*linux*|s390*-*tpf*)
6872 LD="${LD-ld} -m elf64_s390"
6875 LD="${LD-ld} -m elf64_sparc"
6885 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6887 CFLAGS="$CFLAGS -belf"
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6889 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6890 if ${lt_cv_cc_needs_belf+:} false; then :
6891 $as_echo_n "(cached) " >&6
6894 ac_cpp='$CPP $CPPFLAGS'
6895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6900 /* end confdefs.h. */
6910 if ac_fn_c_try_link "$LINENO"; then :
6911 lt_cv_cc_needs_belf=yes
6913 lt_cv_cc_needs_belf=no
6915 rm -f core conftest.err conftest.$ac_objext \
6916 conftest$ac_exeext conftest.$ac_ext
6918 ac_cpp='$CPP $CPPFLAGS'
6919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6925 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6926 if test yes != "$lt_cv_cc_needs_belf"; then
6927 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6932 # Find out what ABI is being produced by ac_compile, and set linker
6933 # options accordingly.
6934 echo 'int i;' > conftest.$ac_ext
6935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6936 (eval $ac_compile) 2>&5
6938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6939 test $ac_status = 0; }; then
6940 case `/usr/bin/file conftest.o` in
6942 case $lt_cv_prog_gnu_ld in
6945 i?86-*-solaris*|x86_64-*-solaris*)
6946 LD="${LD-ld} -m elf_x86_64"
6949 LD="${LD-ld} -m elf64_sparc"
6952 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6953 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6958 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6970 need_locks=$enable_libtool_lock
6972 if test -n "$ac_tool_prefix"; then
6973 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6974 set dummy ${ac_tool_prefix}mt; ac_word=$2
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6976 $as_echo_n "checking for $ac_word... " >&6; }
6977 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6978 $as_echo_n "(cached) " >&6
6980 if test -n "$MANIFEST_TOOL"; then
6981 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 test -z "$as_dir" && as_dir=.
6988 for ac_exec_ext in '' $ac_executable_extensions; do
6989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6990 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7000 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7001 if test -n "$MANIFEST_TOOL"; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7003 $as_echo "$MANIFEST_TOOL" >&6; }
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7006 $as_echo "no" >&6; }
7011 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7012 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7013 # Extract the first word of "mt", so it can be a program name with args.
7014 set dummy mt; ac_word=$2
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7016 $as_echo_n "checking for $ac_word... " >&6; }
7017 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7018 $as_echo_n "(cached) " >&6
7020 if test -n "$ac_ct_MANIFEST_TOOL"; then
7021 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 test -z "$as_dir" && as_dir=.
7028 for ac_exec_ext in '' $ac_executable_extensions; do
7029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7030 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7041 if test -n "$ac_ct_MANIFEST_TOOL"; then
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7043 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7046 $as_echo "no" >&6; }
7049 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7052 case $cross_compiling:$ac_tool_warned in
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7056 ac_tool_warned=yes ;;
7058 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7061 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7064 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7066 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7067 if ${lt_cv_path_mainfest_tool+:} false; then :
7068 $as_echo_n "(cached) " >&6
7070 lt_cv_path_mainfest_tool=no
7071 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7072 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7073 cat conftest.err >&5
7074 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7075 lt_cv_path_mainfest_tool=yes
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7080 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7081 if test yes != "$lt_cv_path_mainfest_tool"; then
7091 rhapsody* | darwin*)
7092 if test -n "$ac_tool_prefix"; then
7093 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7098 $as_echo_n "(cached) " >&6
7100 if test -n "$DSYMUTIL"; then
7101 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7121 if test -n "$DSYMUTIL"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7123 $as_echo "$DSYMUTIL" >&6; }
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7131 if test -z "$ac_cv_prog_DSYMUTIL"; then
7132 ac_ct_DSYMUTIL=$DSYMUTIL
7133 # Extract the first word of "dsymutil", so it can be a program name with args.
7134 set dummy dsymutil; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7138 $as_echo_n "(cached) " >&6
7140 if test -n "$ac_ct_DSYMUTIL"; then
7141 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7161 if test -n "$ac_ct_DSYMUTIL"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7163 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7169 if test "x$ac_ct_DSYMUTIL" = x; then
7172 case $cross_compiling:$ac_tool_warned in
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7178 DSYMUTIL=$ac_ct_DSYMUTIL
7181 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7184 if test -n "$ac_tool_prefix"; then
7185 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7186 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_NMEDIT+:} false; then :
7190 $as_echo_n "(cached) " >&6
7192 if test -n "$NMEDIT"; then
7193 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7212 NMEDIT=$ac_cv_prog_NMEDIT
7213 if test -n "$NMEDIT"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7215 $as_echo "$NMEDIT" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7223 if test -z "$ac_cv_prog_NMEDIT"; then
7224 ac_ct_NMEDIT=$NMEDIT
7225 # Extract the first word of "nmedit", so it can be a program name with args.
7226 set dummy nmedit; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7230 $as_echo_n "(cached) " >&6
7232 if test -n "$ac_ct_NMEDIT"; then
7233 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7253 if test -n "$ac_ct_NMEDIT"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7255 $as_echo "$ac_ct_NMEDIT" >&6; }
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7261 if test "x$ac_ct_NMEDIT" = x; then
7264 case $cross_compiling:$ac_tool_warned in
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7268 ac_tool_warned=yes ;;
7270 NMEDIT=$ac_ct_NMEDIT
7273 NMEDIT="$ac_cv_prog_NMEDIT"
7276 if test -n "$ac_tool_prefix"; then
7277 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7278 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7280 $as_echo_n "checking for $ac_word... " >&6; }
7281 if ${ac_cv_prog_LIPO+:} false; then :
7282 $as_echo_n "(cached) " >&6
7284 if test -n "$LIPO"; then
7285 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 test -z "$as_dir" && as_dir=.
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304 LIPO=$ac_cv_prog_LIPO
7305 if test -n "$LIPO"; then
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7307 $as_echo "$LIPO" >&6; }
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7310 $as_echo "no" >&6; }
7315 if test -z "$ac_cv_prog_LIPO"; then
7317 # Extract the first word of "lipo", so it can be a program name with args.
7318 set dummy lipo; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7322 $as_echo_n "(cached) " >&6
7324 if test -n "$ac_ct_LIPO"; then
7325 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_ac_ct_LIPO="lipo"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7345 if test -n "$ac_ct_LIPO"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7347 $as_echo "$ac_ct_LIPO" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7353 if test "x$ac_ct_LIPO" = x; then
7356 case $cross_compiling:$ac_tool_warned in
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7360 ac_tool_warned=yes ;;
7365 LIPO="$ac_cv_prog_LIPO"
7368 if test -n "$ac_tool_prefix"; then
7369 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7370 set dummy ${ac_tool_prefix}otool; ac_word=$2
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 $as_echo_n "checking for $ac_word... " >&6; }
7373 if ${ac_cv_prog_OTOOL+:} false; then :
7374 $as_echo_n "(cached) " >&6
7376 if test -n "$OTOOL"; then
7377 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 test -z "$as_dir" && as_dir=.
7384 for ac_exec_ext in '' $ac_executable_extensions; do
7385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7386 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 OTOOL=$ac_cv_prog_OTOOL
7397 if test -n "$OTOOL"; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7399 $as_echo "$OTOOL" >&6; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7407 if test -z "$ac_cv_prog_OTOOL"; then
7409 # Extract the first word of "otool", so it can be a program name with args.
7410 set dummy otool; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$ac_ct_OTOOL"; then
7417 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_ac_ct_OTOOL="otool"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7437 if test -n "$ac_ct_OTOOL"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7439 $as_echo "$ac_ct_OTOOL" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7445 if test "x$ac_ct_OTOOL" = x; then
7448 case $cross_compiling:$ac_tool_warned in
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452 ac_tool_warned=yes ;;
7457 OTOOL="$ac_cv_prog_OTOOL"
7460 if test -n "$ac_tool_prefix"; then
7461 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7462 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464 $as_echo_n "checking for $ac_word... " >&6; }
7465 if ${ac_cv_prog_OTOOL64+:} false; then :
7466 $as_echo_n "(cached) " >&6
7468 if test -n "$OTOOL64"; then
7469 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 test -z "$as_dir" && as_dir=.
7476 for ac_exec_ext in '' $ac_executable_extensions; do
7477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7478 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7488 OTOOL64=$ac_cv_prog_OTOOL64
7489 if test -n "$OTOOL64"; then
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7491 $as_echo "$OTOOL64" >&6; }
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494 $as_echo "no" >&6; }
7499 if test -z "$ac_cv_prog_OTOOL64"; then
7500 ac_ct_OTOOL64=$OTOOL64
7501 # Extract the first word of "otool64", so it can be a program name with args.
7502 set dummy otool64; ac_word=$2
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504 $as_echo_n "checking for $ac_word... " >&6; }
7505 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7506 $as_echo_n "(cached) " >&6
7508 if test -n "$ac_ct_OTOOL64"; then
7509 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7515 test -z "$as_dir" && as_dir=.
7516 for ac_exec_ext in '' $ac_executable_extensions; do
7517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7518 ac_cv_prog_ac_ct_OTOOL64="otool64"
7519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7529 if test -n "$ac_ct_OTOOL64"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7531 $as_echo "$ac_ct_OTOOL64" >&6; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534 $as_echo "no" >&6; }
7537 if test "x$ac_ct_OTOOL64" = x; then
7540 case $cross_compiling:$ac_tool_warned in
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7544 ac_tool_warned=yes ;;
7546 OTOOL64=$ac_ct_OTOOL64
7549 OTOOL64="$ac_cv_prog_OTOOL64"
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7579 $as_echo_n "checking for -single_module linker flag... " >&6; }
7580 if ${lt_cv_apple_cc_single_mod+:} false; then :
7581 $as_echo_n "(cached) " >&6
7583 lt_cv_apple_cc_single_mod=no
7584 if test -z "$LT_MULTI_MODULE"; then
7585 # By default we will add the -single_module flag. You can override
7586 # by either setting the environment variable LT_MULTI_MODULE
7587 # non-empty at configure time, or by adding -multi_module to the
7589 rm -rf libconftest.dylib*
7590 echo "int foo(void){return 1;}" > conftest.c
7591 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7592 -dynamiclib -Wl,-single_module conftest.c" >&5
7593 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7594 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7596 # If there is a non-empty error log, and "single_module"
7597 # appears in it, assume the flag caused a linker warning
7598 if test -s conftest.err && $GREP single_module conftest.err; then
7599 cat conftest.err >&5
7600 # Otherwise, if the output was created with a 0 exit code from
7601 # the compiler, it worked.
7602 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7603 lt_cv_apple_cc_single_mod=yes
7605 cat conftest.err >&5
7607 rm -rf libconftest.dylib*
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7612 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7615 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7616 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7617 $as_echo_n "(cached) " >&6
7619 lt_cv_ld_exported_symbols_list=no
7620 save_LDFLAGS=$LDFLAGS
7621 echo "_main" > conftest.sym
7622 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7634 if ac_fn_c_try_link "$LINENO"; then :
7635 lt_cv_ld_exported_symbols_list=yes
7637 lt_cv_ld_exported_symbols_list=no
7639 rm -f core conftest.err conftest.$ac_objext \
7640 conftest$ac_exeext conftest.$ac_ext
7641 LDFLAGS=$save_LDFLAGS
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7645 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7648 $as_echo_n "checking for -force_load linker flag... " >&6; }
7649 if ${lt_cv_ld_force_load+:} false; then :
7650 $as_echo_n "(cached) " >&6
7652 lt_cv_ld_force_load=no
7653 cat > conftest.c << _LT_EOF
7654 int forced_loaded() { return 2;}
7656 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7657 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7658 echo "$AR cru libconftest.a conftest.o" >&5
7659 $AR cru libconftest.a conftest.o 2>&5
7660 echo "$RANLIB libconftest.a" >&5
7661 $RANLIB libconftest.a 2>&5
7662 cat > conftest.c << _LT_EOF
7663 int main() { return 0;}
7665 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7666 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7668 if test -s conftest.err && $GREP force_load conftest.err; then
7669 cat conftest.err >&5
7670 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7671 lt_cv_ld_force_load=yes
7673 cat conftest.err >&5
7675 rm -f conftest.err libconftest.a conftest conftest.c
7676 rm -rf conftest.dSYM
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7680 $as_echo "$lt_cv_ld_force_load" >&6; }
7682 rhapsody* | darwin1.[012])
7683 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7685 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7686 darwin*) # darwin 5.x on
7687 # if running on 10.5 or later, the deployment target defaults
7688 # to the OS version, if on x86, and 10.4, the deployment
7689 # target defaults to 10.4. Don't you love it?
7690 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7691 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7692 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7694 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7696 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7700 if test yes = "$lt_cv_apple_cc_single_mod"; then
7701 _lt_dar_single_mod='$single_module'
7703 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7704 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7706 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7708 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7709 _lt_dsymutil='~$DSYMUTIL $lib || :'
7716 # func_munge_path_list VARIABLE PATH
7717 # -----------------------------------
7718 # VARIABLE is name of variable containing _space_ separated list of
7719 # directories to be munged by the contents of PATH, which is string
7722 # string "DIR[ DIR]" will be prepended to VARIABLE
7724 # string "DIR[ DIR]" will be appended to VARIABLE
7725 # "DIRP[:DIRP]::[DIRA:]DIRA"
7726 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7727 # "DIRA[ DIRA]" will be appended to VARIABLE
7729 # VARIABLE will be replaced by "DIR[ DIR]"
7730 func_munge_path_list ()
7736 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7739 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7742 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7743 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7746 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7752 ac_cpp='$CPP $CPPFLAGS'
7753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7757 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7758 # On Suns, sometimes $CPP names a directory.
7759 if test -n "$CPP" && test -d "$CPP"; then
7762 if test -z "$CPP"; then
7763 if ${ac_cv_prog_CPP+:} false; then :
7764 $as_echo_n "(cached) " >&6
7766 # Double quotes because CPP needs to be expanded
7767 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7770 for ac_c_preproc_warn_flag in '' yes
7772 # Use a header file that comes with gcc, so configuring glibc
7773 # with a fresh cross-compiler works.
7774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7775 # <limits.h> exists even on freestanding compilers.
7776 # On the NeXT, cc -E runs the code through the compiler's parser,
7777 # not just through cpp. "Syntax error" is here to catch this case.
7778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7779 /* end confdefs.h. */
7781 # include <limits.h>
7783 # include <assert.h>
7787 if ac_fn_c_try_cpp "$LINENO"; then :
7790 # Broken: fails on valid input.
7793 rm -f conftest.err conftest.i conftest.$ac_ext
7795 # OK, works on sane cases. Now check whether nonexistent headers
7796 # can be detected and how.
7797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7798 /* end confdefs.h. */
7799 #include <ac_nonexistent.h>
7801 if ac_fn_c_try_cpp "$LINENO"; then :
7802 # Broken: success on invalid input.
7805 # Passes both tests.
7809 rm -f conftest.err conftest.i conftest.$ac_ext
7812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7813 rm -f conftest.i conftest.err conftest.$ac_ext
7814 if $ac_preproc_ok; then :
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7827 $as_echo "$CPP" >&6; }
7829 for ac_c_preproc_warn_flag in '' yes
7831 # Use a header file that comes with gcc, so configuring glibc
7832 # with a fresh cross-compiler works.
7833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7834 # <limits.h> exists even on freestanding compilers.
7835 # On the NeXT, cc -E runs the code through the compiler's parser,
7836 # not just through cpp. "Syntax error" is here to catch this case.
7837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7840 # include <limits.h>
7842 # include <assert.h>
7846 if ac_fn_c_try_cpp "$LINENO"; then :
7849 # Broken: fails on valid input.
7852 rm -f conftest.err conftest.i conftest.$ac_ext
7854 # OK, works on sane cases. Now check whether nonexistent headers
7855 # can be detected and how.
7856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h. */
7858 #include <ac_nonexistent.h>
7860 if ac_fn_c_try_cpp "$LINENO"; then :
7861 # Broken: success on invalid input.
7864 # Passes both tests.
7868 rm -f conftest.err conftest.i conftest.$ac_ext
7871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7872 rm -f conftest.i conftest.err conftest.$ac_ext
7873 if $ac_preproc_ok; then :
7876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7878 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7879 See \`config.log' for more details" "$LINENO" 5; }
7883 ac_cpp='$CPP $CPPFLAGS'
7884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7890 $as_echo_n "checking for ANSI C header files... " >&6; }
7891 if ${ac_cv_header_stdc+:} false; then :
7892 $as_echo_n "(cached) " >&6
7894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7895 /* end confdefs.h. */
7909 if ac_fn_c_try_compile "$LINENO"; then :
7910 ac_cv_header_stdc=yes
7912 ac_cv_header_stdc=no
7914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7916 if test $ac_cv_header_stdc = yes; then
7917 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7924 $EGREP "memchr" >/dev/null 2>&1; then :
7927 ac_cv_header_stdc=no
7933 if test $ac_cv_header_stdc = yes; then
7934 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7941 $EGREP "free" >/dev/null 2>&1; then :
7944 ac_cv_header_stdc=no
7950 if test $ac_cv_header_stdc = yes; then
7951 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7952 if test "$cross_compiling" = yes; then :
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7959 #if ((' ' & 0x0FF) == 0x020)
7960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7961 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7963 # define ISLOWER(c) \
7964 (('a' <= (c) && (c) <= 'i') \
7965 || ('j' <= (c) && (c) <= 'r') \
7966 || ('s' <= (c) && (c) <= 'z'))
7967 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7975 for (i = 0; i < 256; i++)
7976 if (XOR (islower (i), ISLOWER (i))
7977 || toupper (i) != TOUPPER (i))
7982 if ac_fn_c_try_run "$LINENO"; then :
7985 ac_cv_header_stdc=no
7987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7988 conftest.$ac_objext conftest.beam conftest.$ac_ext
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7994 $as_echo "$ac_cv_header_stdc" >&6; }
7995 if test $ac_cv_header_stdc = yes; then
7997 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8001 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8002 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8003 inttypes.h stdint.h unistd.h
8005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8008 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8009 cat >>confdefs.h <<_ACEOF
8010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8018 for ac_header in dlfcn.h
8020 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8022 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8023 cat >>confdefs.h <<_ACEOF
8024 #define HAVE_DLFCN_H 1
8045 # Check whether --enable-shared was given.
8046 if test "${enable_shared+set}" = set; then :
8047 enableval=$enable_shared; p=${PACKAGE-default}
8049 yes) enable_shared=yes ;;
8050 no) enable_shared=no ;;
8053 # Look at the argument we got. We use all the common list separators.
8054 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8055 for pkg in $enableval; do
8057 if test "X$pkg" = "X$p"; then
8076 # Check whether --enable-static was given.
8077 if test "${enable_static+set}" = set; then :
8078 enableval=$enable_static; p=${PACKAGE-default}
8080 yes) enable_static=yes ;;
8081 no) enable_static=no ;;
8084 # Look at the argument we got. We use all the common list separators.
8085 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8086 for pkg in $enableval; do
8088 if test "X$pkg" = "X$p"; then
8108 # Check whether --with-pic was given.
8109 if test "${with_pic+set}" = set; then :
8110 withval=$with_pic; lt_p=${PACKAGE-default}
8112 yes|no) pic_mode=$withval ;;
8115 # Look at the argument we got. We use all the common list separators.
8116 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8117 for lt_pkg in $withval; do
8119 if test "X$lt_pkg" = "X$lt_p"; then
8137 # Check whether --enable-fast-install was given.
8138 if test "${enable_fast_install+set}" = set; then :
8139 enableval=$enable_fast_install; p=${PACKAGE-default}
8141 yes) enable_fast_install=yes ;;
8142 no) enable_fast_install=no ;;
8144 enable_fast_install=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8147 for pkg in $enableval; do
8149 if test "X$pkg" = "X$p"; then
8150 enable_fast_install=yes
8157 enable_fast_install=yes
8167 shared_archive_member_spec=
8168 case $host,$enable_shared in
8169 power*-*-aix[5-9]*,yes)
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8171 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8173 # Check whether --with-aix-soname was given.
8174 if test "${with_aix_soname+set}" = set; then :
8175 withval=$with_aix_soname; case $withval in
8179 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8182 lt_cv_with_aix_soname=$with_aix_soname
8184 if ${lt_cv_with_aix_soname+:} false; then :
8185 $as_echo_n "(cached) " >&6
8187 lt_cv_with_aix_soname=aix
8190 with_aix_soname=$lt_cv_with_aix_soname
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8194 $as_echo "$with_aix_soname" >&6; }
8195 if test aix != "$with_aix_soname"; then
8196 # For the AIX way of multilib, we name the shared archive member
8197 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8198 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8199 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8200 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8201 if test 64 = "${OBJECT_MODE-32}"; then
8202 shared_archive_member_spec=shr_64
8204 shared_archive_member_spec=shr
8222 # This can be used to rebuild libtool when needed
8223 LIBTOOL_DEPS=$ltmain
8225 # Always use our own libtool.
8226 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8257 test -z "$LN_S" && LN_S="ln -s"
8272 if test -n "${ZSH_VERSION+set}"; then
8273 setopt NO_GLOB_SUBST
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8277 $as_echo_n "checking for objdir... " >&6; }
8278 if ${lt_cv_objdir+:} false; then :
8279 $as_echo_n "(cached) " >&6
8281 rm -f .libs 2>/dev/null
8282 mkdir .libs 2>/dev/null
8283 if test -d .libs; then
8286 # MS-DOS does not allow filenames that begin with a dot.
8289 rmdir .libs 2>/dev/null
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8292 $as_echo "$lt_cv_objdir" >&6; }
8293 objdir=$lt_cv_objdir
8299 cat >>confdefs.h <<_ACEOF
8300 #define LT_OBJDIR "$lt_cv_objdir/"
8308 # AIX sometimes has problems with the GCC collect2 program. For some
8309 # reason, if we set the COLLECT_NAMES environment variable, the problems
8310 # vanish in a puff of smoke.
8311 if test set != "${COLLECT_NAMES+set}"; then
8313 export COLLECT_NAMES
8320 can_build_shared=yes
8322 # All known linkers require a '.a' archive for static linking (except MSVC,
8323 # which needs '.lib').
8326 with_gnu_ld=$lt_cv_prog_gnu_ld
8331 # Set sane defaults for various variables
8332 test -z "$CC" && CC=cc
8333 test -z "$LTCC" && LTCC=$CC
8334 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8335 test -z "$LD" && LD=ld
8336 test -z "$ac_objext" && ac_objext=o
8338 func_cc_basename $compiler
8339 cc_basename=$func_cc_basename_result
8342 # Only perform the check for file, if the check method requires it
8343 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8344 case $deplibs_check_method in
8346 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8348 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8349 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8350 $as_echo_n "(cached) " >&6
8354 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8357 lt_save_MAGIC_CMD=$MAGIC_CMD
8358 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8359 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8360 for ac_dir in $ac_dummy; do
8362 test -z "$ac_dir" && ac_dir=.
8363 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8364 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8365 if test -n "$file_magic_test_file"; then
8366 case $deplibs_check_method in
8368 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8369 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8370 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8371 $EGREP "$file_magic_regex" > /dev/null; then
8376 *** Warning: the command libtool uses to detect shared libraries,
8377 *** $file_magic_cmd, produces output that libtool cannot recognize.
8378 *** The result is that libtool may fail to recognize shared libraries
8379 *** as such. This will affect the creation of libtool libraries that
8380 *** depend on shared libraries, but programs linked with such libtool
8381 *** libraries will work regardless of this problem. Nevertheless, you
8382 *** may want to report the problem to your system manager and/or to
8383 *** bug-libtool@gnu.org
8393 MAGIC_CMD=$lt_save_MAGIC_CMD
8398 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8399 if test -n "$MAGIC_CMD"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8401 $as_echo "$MAGIC_CMD" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8404 $as_echo "no" >&6; }
8411 if test -z "$lt_cv_path_MAGIC_CMD"; then
8412 if test -n "$ac_tool_prefix"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8414 $as_echo_n "checking for file... " >&6; }
8415 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8416 $as_echo_n "(cached) " >&6
8420 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8423 lt_save_MAGIC_CMD=$MAGIC_CMD
8424 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8425 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8426 for ac_dir in $ac_dummy; do
8428 test -z "$ac_dir" && ac_dir=.
8429 if test -f "$ac_dir/file"; then
8430 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8431 if test -n "$file_magic_test_file"; then
8432 case $deplibs_check_method in
8434 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8435 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8436 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8437 $EGREP "$file_magic_regex" > /dev/null; then
8442 *** Warning: the command libtool uses to detect shared libraries,
8443 *** $file_magic_cmd, produces output that libtool cannot recognize.
8444 *** The result is that libtool may fail to recognize shared libraries
8445 *** as such. This will affect the creation of libtool libraries that
8446 *** depend on shared libraries, but programs linked with such libtool
8447 *** libraries will work regardless of this problem. Nevertheless, you
8448 *** may want to report the problem to your system manager and/or to
8449 *** bug-libtool@gnu.org
8459 MAGIC_CMD=$lt_save_MAGIC_CMD
8464 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8465 if test -n "$MAGIC_CMD"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8467 $as_echo "$MAGIC_CMD" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8483 # Use C for the default configuration in the libtool script
8487 ac_cpp='$CPP $CPPFLAGS'
8488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8493 # Source file extension for C test sources.
8496 # Object file extension for compiled C test sources.
8500 # Code to be used in simple compile tests
8501 lt_simple_compile_test_code="int some_variable = 0;"
8503 # Code to be used in simple link tests
8504 lt_simple_link_test_code='int main(){return(0);}'
8512 # If no C compiler was specified, use CC.
8515 # If no C compiler flags were specified, use CFLAGS.
8516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8518 # Allow CC to be a program name with arguments.
8521 # Save the default compiler, since it gets overwritten when the other
8522 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8523 compiler_DEFAULT=$CC
8525 # save warnings/boilerplate of simple test code
8526 ac_outfile=conftest.$ac_objext
8527 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8528 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8529 _lt_compiler_boilerplate=`cat conftest.err`
8532 ac_outfile=conftest.$ac_objext
8533 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8534 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8535 _lt_linker_boilerplate=`cat conftest.err`
8540 ## There is no encapsulation within the following macros, do not change
8541 ## the running order or otherwise move them around unless you know exactly
8542 ## what you are doing...
8543 if test -n "$compiler"; then
8545 lt_prog_compiler_no_builtin_flag=
8547 if test yes = "$GCC"; then
8548 case $cc_basename in
8550 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8552 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8556 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8557 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8558 $as_echo_n "(cached) " >&6
8560 lt_cv_prog_compiler_rtti_exceptions=no
8561 ac_outfile=conftest.$ac_objext
8562 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8563 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8564 # Insert the option either (1) after the last *FLAGS variable, or
8565 # (2) before a word containing "conftest.", or (3) at the end.
8566 # Note that $ac_compile itself does not contain backslashes and begins
8567 # with a dollar sign (not a hyphen), so the echo should work correctly.
8568 # The option is referenced via a variable to avoid confusing sed.
8569 lt_compile=`echo "$ac_compile" | $SED \
8570 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8572 -e 's:$: $lt_compiler_flag:'`
8573 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8574 (eval "$lt_compile" 2>conftest.err)
8576 cat conftest.err >&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 if (exit $ac_status) && test -s "$ac_outfile"; then
8579 # The compiler can only warn and ignore the option if not recognized
8580 # So say no if there are warnings other than the usual output.
8581 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8583 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8584 lt_cv_prog_compiler_rtti_exceptions=yes
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8591 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8593 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8594 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8606 lt_prog_compiler_wl=
8607 lt_prog_compiler_pic=
8608 lt_prog_compiler_static=
8611 if test yes = "$GCC"; then
8612 lt_prog_compiler_wl='-Wl,'
8613 lt_prog_compiler_static='-static'
8617 # All AIX code is PIC.
8618 if test ia64 = "$host_cpu"; then
8619 # AIX 5 now supports IA64 processor
8620 lt_prog_compiler_static='-Bstatic'
8622 lt_prog_compiler_pic='-fPIC'
8628 # see comment about AmigaOS4 .so support
8629 lt_prog_compiler_pic='-fPIC'
8632 # FIXME: we need at least 68020 code to build shared libraries, but
8633 # adding the '-m68020' flag to GCC prevents building anything better,
8635 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8640 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8641 # PIC is the default for these OSes.
8644 mingw* | cygwin* | pw32* | os2* | cegcc*)
8645 # This hack is so that the source file can tell whether it is being
8646 # built for inclusion in a dll (and should export symbols for example).
8647 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8648 # (--disable-auto-import) libraries
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8652 lt_prog_compiler_static='$wl-static'
8657 darwin* | rhapsody*)
8658 # PIC is the default on this platform
8659 # Common symbols not allowed in MH_DYLIB files
8660 lt_prog_compiler_pic='-fno-common'
8664 # PIC is the default for Haiku.
8665 # The "-static" flag exists, but is broken.
8666 lt_prog_compiler_static=
8670 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8671 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8672 # sets the default TLS model and affects inlining.
8678 lt_prog_compiler_pic='-fPIC'
8684 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8685 # Instead, we relocate shared libraries at runtime.
8689 # Just because we use GCC doesn't mean we suddenly get shared libraries
8690 # on systems that don't support them.
8691 lt_prog_compiler_can_build_shared=no
8696 # QNX uses GNU C++, but need to define -shared option too, otherwise
8698 lt_prog_compiler_pic='-fPIC -shared'
8702 if test -d /usr/nec; then
8703 lt_prog_compiler_pic=-Kconform_pic
8708 lt_prog_compiler_pic='-fPIC'
8712 case $cc_basename in
8713 nvcc*) # Cuda Compiler Driver 2.2
8714 lt_prog_compiler_wl='-Xlinker '
8715 if test -n "$lt_prog_compiler_pic"; then
8716 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8721 # PORTME Check for flag to pass linker flags through the system compiler.
8724 lt_prog_compiler_wl='-Wl,'
8725 if test ia64 = "$host_cpu"; then
8726 # AIX 5 now supports IA64 processor
8727 lt_prog_compiler_static='-Bstatic'
8729 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8733 darwin* | rhapsody*)
8734 # PIC is the default on this platform
8735 # Common symbols not allowed in MH_DYLIB files
8736 lt_prog_compiler_pic='-fno-common'
8737 case $cc_basename in
8739 # NAG Fortran compiler
8740 lt_prog_compiler_wl='-Wl,-Wl,,'
8741 lt_prog_compiler_pic='-PIC'
8742 lt_prog_compiler_static='-Bstatic'
8747 mingw* | cygwin* | pw32* | os2* | cegcc*)
8748 # This hack is so that the source file can tell whether it is being
8749 # built for inclusion in a dll (and should export symbols for example).
8750 lt_prog_compiler_pic='-DDLL_EXPORT'
8753 lt_prog_compiler_static='$wl-static'
8758 hpux9* | hpux10* | hpux11*)
8759 lt_prog_compiler_wl='-Wl,'
8760 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8767 lt_prog_compiler_pic='+Z'
8770 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8771 lt_prog_compiler_static='$wl-a ${wl}archive'
8774 irix5* | irix6* | nonstopux*)
8775 lt_prog_compiler_wl='-Wl,'
8776 # PIC (with -KPIC) is the default.
8777 lt_prog_compiler_static='-non_shared'
8780 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8781 case $cc_basename in
8782 # old Intel for x86_64, which still supported -KPIC.
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-static'
8788 # icc used to be incompatible with GCC.
8789 # ICC 10 doesn't accept -KPIC any more.
8791 lt_prog_compiler_wl='-Wl,'
8792 lt_prog_compiler_pic='-fPIC'
8793 lt_prog_compiler_static='-static'
8795 # Lahey Fortran 8.1.
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='--shared'
8799 lt_prog_compiler_static='--static'
8802 # NAG Fortran compiler
8803 lt_prog_compiler_wl='-Wl,-Wl,,'
8804 lt_prog_compiler_pic='-PIC'
8805 lt_prog_compiler_static='-Bstatic'
8808 # Fabrice Bellard et al's Tiny C Compiler
8809 lt_prog_compiler_wl='-Wl,'
8810 lt_prog_compiler_pic='-fPIC'
8811 lt_prog_compiler_static='-static'
8813 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8814 # Portland Group compilers (*not* the Pentium gcc compiler,
8815 # which looks to be a dead project)
8816 lt_prog_compiler_wl='-Wl,'
8817 lt_prog_compiler_pic='-fpic'
8818 lt_prog_compiler_static='-Bstatic'
8821 lt_prog_compiler_wl='-Wl,'
8822 # All Alpha code is PIC.
8823 lt_prog_compiler_static='-non_shared'
8825 xl* | bgxl* | bgf* | mpixl*)
8826 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8827 lt_prog_compiler_wl='-Wl,'
8828 lt_prog_compiler_pic='-qpic'
8829 lt_prog_compiler_static='-qstaticlink'
8832 case `$CC -V 2>&1 | sed 5q` in
8833 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8834 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 lt_prog_compiler_wl=''
8839 *Sun\ F* | *Sun*Fortran*)
8840 lt_prog_compiler_pic='-KPIC'
8841 lt_prog_compiler_static='-Bstatic'
8842 lt_prog_compiler_wl='-Qoption ld '
8846 lt_prog_compiler_pic='-KPIC'
8847 lt_prog_compiler_static='-Bstatic'
8848 lt_prog_compiler_wl='-Wl,'
8850 *Intel*\ [CF]*Compiler*)
8851 lt_prog_compiler_wl='-Wl,'
8852 lt_prog_compiler_pic='-fPIC'
8853 lt_prog_compiler_static='-static'
8856 lt_prog_compiler_wl='-Wl,'
8857 lt_prog_compiler_pic='-fpic'
8858 lt_prog_compiler_static='-Bstatic'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8871 # QNX uses GNU C++, but need to define -shared option too, otherwise
8873 lt_prog_compiler_pic='-fPIC -shared'
8876 osf3* | osf4* | osf5*)
8877 lt_prog_compiler_wl='-Wl,'
8878 # All OSF/1 code is PIC.
8879 lt_prog_compiler_static='-non_shared'
8883 lt_prog_compiler_static='-non_shared'
8887 lt_prog_compiler_pic='-KPIC'
8888 lt_prog_compiler_static='-Bstatic'
8889 case $cc_basename in
8890 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8891 lt_prog_compiler_wl='-Qoption ld ';;
8893 lt_prog_compiler_wl='-Wl,';;
8898 lt_prog_compiler_wl='-Qoption ld '
8899 lt_prog_compiler_pic='-PIC'
8900 lt_prog_compiler_static='-Bstatic'
8903 sysv4 | sysv4.2uw2* | sysv4.3*)
8904 lt_prog_compiler_wl='-Wl,'
8905 lt_prog_compiler_pic='-KPIC'
8906 lt_prog_compiler_static='-Bstatic'
8910 if test -d /usr/nec; then
8911 lt_prog_compiler_pic='-Kconform_pic'
8912 lt_prog_compiler_static='-Bstatic'
8916 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8917 lt_prog_compiler_wl='-Wl,'
8918 lt_prog_compiler_pic='-KPIC'
8919 lt_prog_compiler_static='-Bstatic'
8923 lt_prog_compiler_wl='-Wl,'
8924 lt_prog_compiler_can_build_shared=no
8928 lt_prog_compiler_pic='-pic'
8929 lt_prog_compiler_static='-Bstatic'
8933 lt_prog_compiler_can_build_shared=no
8939 # For platforms that do not support PIC, -DPIC is meaningless:
8941 lt_prog_compiler_pic=
8944 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8949 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8950 if ${lt_cv_prog_compiler_pic+:} false; then :
8951 $as_echo_n "(cached) " >&6
8953 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8956 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8957 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8960 # Check to make sure the PIC flag actually works.
8962 if test -n "$lt_prog_compiler_pic"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8964 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8965 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8966 $as_echo_n "(cached) " >&6
8968 lt_cv_prog_compiler_pic_works=no
8969 ac_outfile=conftest.$ac_objext
8970 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8971 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8972 # Insert the option either (1) after the last *FLAGS variable, or
8973 # (2) before a word containing "conftest.", or (3) at the end.
8974 # Note that $ac_compile itself does not contain backslashes and begins
8975 # with a dollar sign (not a hyphen), so the echo should work correctly.
8976 # The option is referenced via a variable to avoid confusing sed.
8977 lt_compile=`echo "$ac_compile" | $SED \
8978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8980 -e 's:$: $lt_compiler_flag:'`
8981 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8982 (eval "$lt_compile" 2>conftest.err)
8984 cat conftest.err >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 if (exit $ac_status) && test -s "$ac_outfile"; then
8987 # The compiler can only warn and ignore the option if not recognized
8988 # So say no if there are warnings other than the usual output.
8989 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8990 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8991 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8992 lt_cv_prog_compiler_pic_works=yes
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8999 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9001 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9002 case $lt_prog_compiler_pic in
9004 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9007 lt_prog_compiler_pic=
9008 lt_prog_compiler_can_build_shared=no
9024 # Check to make sure the static flag actually works.
9026 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9028 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9029 if ${lt_cv_prog_compiler_static_works+:} false; then :
9030 $as_echo_n "(cached) " >&6
9032 lt_cv_prog_compiler_static_works=no
9033 save_LDFLAGS=$LDFLAGS
9034 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9035 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9036 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9037 # The linker can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 if test -s conftest.err; then
9040 # Append any errors to the config.log.
9041 cat conftest.err 1>&5
9042 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9043 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9044 if diff conftest.exp conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_static_works=yes
9048 lt_cv_prog_compiler_static_works=yes
9052 LDFLAGS=$save_LDFLAGS
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9056 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9058 if test yes = "$lt_cv_prog_compiler_static_works"; then
9061 lt_prog_compiler_static=
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9071 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9072 if ${lt_cv_prog_compiler_c_o+:} false; then :
9073 $as_echo_n "(cached) " >&6
9075 lt_cv_prog_compiler_c_o=no
9076 $RM -r conftest 2>/dev/null
9080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9082 lt_compiler_flag="-o out/conftest2.$ac_objext"
9083 # Insert the option either (1) after the last *FLAGS variable, or
9084 # (2) before a word containing "conftest.", or (3) at the end.
9085 # Note that $ac_compile itself does not contain backslashes and begins
9086 # with a dollar sign (not a hyphen), so the echo should work correctly.
9087 lt_compile=`echo "$ac_compile" | $SED \
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9092 (eval "$lt_compile" 2>out/conftest.err)
9094 cat out/conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9098 # The compiler can only warn and ignore the option if not recognized
9099 # So say no if there are warnings
9100 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9101 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9102 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9103 lt_cv_prog_compiler_c_o=yes
9108 # SGI C++ compiler will create directory out/ii_files/ for
9109 # template instantiation
9110 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9111 $RM out/* && rmdir out
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9118 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9126 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9127 if ${lt_cv_prog_compiler_c_o+:} false; then :
9128 $as_echo_n "(cached) " >&6
9130 lt_cv_prog_compiler_c_o=no
9131 $RM -r conftest 2>/dev/null
9135 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9137 lt_compiler_flag="-o out/conftest2.$ac_objext"
9138 # Insert the option either (1) after the last *FLAGS variable, or
9139 # (2) before a word containing "conftest.", or (3) at the end.
9140 # Note that $ac_compile itself does not contain backslashes and begins
9141 # with a dollar sign (not a hyphen), so the echo should work correctly.
9142 lt_compile=`echo "$ac_compile" | $SED \
9143 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9144 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9145 -e 's:$: $lt_compiler_flag:'`
9146 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9147 (eval "$lt_compile" 2>out/conftest.err)
9149 cat out/conftest.err >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9153 # The compiler can only warn and ignore the option if not recognized
9154 # So say no if there are warnings
9155 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9156 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9157 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9158 lt_cv_prog_compiler_c_o=yes
9163 # SGI C++ compiler will create directory out/ii_files/ for
9164 # template instantiation
9165 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9166 $RM out/* && rmdir out
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9173 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9178 hard_links=nottested
9179 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9180 # do not overwrite the value of need_locks provided by the user
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9182 $as_echo_n "checking if we can lock with hard links... " >&6; }
9185 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9187 ln conftest.a conftest.b 2>&5 || hard_links=no
9188 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9190 $as_echo "$hard_links" >&6; }
9191 if test no = "$hard_links"; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9193 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9206 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9209 allow_undefined_flag=
9210 always_export_symbols=no
9212 archive_expsym_cmds=
9213 compiler_needs_object=no
9214 enable_shared_with_static_runtimes=no
9215 export_dynamic_flag_spec=
9216 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9217 hardcode_automatic=no
9219 hardcode_direct_absolute=no
9220 hardcode_libdir_flag_spec=
9221 hardcode_libdir_separator=
9223 hardcode_shlibpath_var=unsupported
9225 link_all_deplibs=unknown
9228 old_archive_from_new_cmds=
9229 old_archive_from_expsyms_cmds=
9230 thread_safe_flag_spec=
9231 whole_archive_flag_spec=
9232 # include_expsyms should be a list of space-separated symbols to be *always*
9233 # included in the symbol list
9235 # exclude_expsyms can be an extended regexp of symbols to exclude
9236 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9237 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9238 # as well as any symbol that contains 'd'.
9239 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9240 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9241 # platforms (ab)use it in PIC code, but their linkers get confused if
9242 # the symbol is explicitly referenced. Since portable code cannot
9243 # rely on this symbol name, it's probably fine to never include it in
9244 # preloaded symbol tables.
9245 # Exclude shared library initialization/finalization symbols.
9246 extract_expsyms_cmds=
9249 cygwin* | mingw* | pw32* | cegcc*)
9250 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9251 # When not using gcc, we currently assume that we are using
9252 # Microsoft Visual C++.
9253 if test yes != "$GCC"; then
9258 # we just hope/assume this is gcc and not c89 (= MSVC++)
9264 linux* | k*bsd*-gnu | gnu*)
9271 # On some targets, GNU ld is compatible enough with the native linker
9272 # that we're better off using the native interface for both.
9273 lt_use_gnu_ld_interface=no
9274 if test yes = "$with_gnu_ld"; then
9277 # The AIX port of GNU ld has always aspired to compatibility
9278 # with the native linker. However, as the warning in the GNU ld
9279 # block says, versions before 2.19.5* couldn't really create working
9280 # shared libraries, regardless of the interface used.
9281 case `$LD -v 2>&1` in
9282 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9283 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9284 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9286 lt_use_gnu_ld_interface=yes
9291 lt_use_gnu_ld_interface=yes
9296 if test yes = "$lt_use_gnu_ld_interface"; then
9297 # If archive_cmds runs LD, not CC, wlarc should be empty
9300 # Set some defaults for GNU ld with shared library support. These
9301 # are reset later if shared libraries are not supported. Putting them
9302 # here allows them to be overridden if necessary.
9303 runpath_var=LD_RUN_PATH
9304 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9305 export_dynamic_flag_spec='$wl--export-dynamic'
9306 # ancient GNU ld didn't support --whole-archive et. al.
9307 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9308 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9310 whole_archive_flag_spec=
9312 supports_anon_versioning=no
9313 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9314 *GNU\ gold*) supports_anon_versioning=yes ;;
9315 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9316 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9317 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9318 *\ 2.11.*) ;; # other 2.11 versions
9319 *) supports_anon_versioning=yes ;;
9322 # See if GNU ld supports shared libraries.
9325 # On AIX/PPC, the GNU linker is very broken
9326 if test ia64 != "$host_cpu"; then
9330 *** Warning: the GNU linker, at least up to release 2.19, is reported
9331 *** to be unable to reliably create shared libraries on AIX.
9332 *** Therefore, libtool is disabling shared libraries support. If you
9333 *** really care for shared libraries, you may want to install binutils
9334 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9335 *** You will then need to restart the configuration process.
9344 # see comment about AmigaOS4 .so support
9345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9346 archive_expsym_cmds=''
9349 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)'
9350 hardcode_libdir_flag_spec='-L$libdir'
9351 hardcode_minus_L=yes
9357 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9358 allow_undefined_flag=unsupported
9359 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9360 # support --undefined. This deserves some investigation. FIXME
9361 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9367 cygwin* | mingw* | pw32* | cegcc*)
9368 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9369 # as there is no search path for DLLs.
9370 hardcode_libdir_flag_spec='-L$libdir'
9371 export_dynamic_flag_spec='$wl--export-all-symbols'
9372 allow_undefined_flag=unsupported
9373 always_export_symbols=no
9374 enable_shared_with_static_runtimes=yes
9375 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'
9376 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9378 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9379 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9380 # If the export-symbols file already is a .def file, use it as
9381 # is; otherwise, prepend EXPORTS...
9382 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9383 cp $export_symbols $output_objdir/$soname.def;
9385 echo EXPORTS > $output_objdir/$soname.def;
9386 cat $export_symbols >> $output_objdir/$soname.def;
9388 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9395 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9396 link_all_deplibs=yes
9400 hardcode_libdir_flag_spec='-L$libdir'
9401 hardcode_minus_L=yes
9402 allow_undefined_flag=unsupported
9404 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9405 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9406 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9407 $ECHO EXPORTS >> $output_objdir/$libname.def~
9408 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9409 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9410 emximp -o $lib $output_objdir/$libname.def'
9411 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9412 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9413 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9414 $ECHO EXPORTS >> $output_objdir/$libname.def~
9416 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9417 prefix_cmds="$prefix_cmds -e 1d";
9419 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9420 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9421 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9422 emximp -o $lib $output_objdir/$libname.def'
9423 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9424 enable_shared_with_static_runtimes=yes
9429 hardcode_shlibpath_var=no
9430 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9431 export_dynamic_flag_spec='$wl-E'
9432 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9433 # Instead, shared libraries are loaded at an image base (0x10000000 by
9434 # default) and relocated if they conflict, which is a slow very memory
9435 # consuming and fragmenting process. To avoid this, we pick a random,
9436 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9437 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9438 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9439 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'
9442 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9444 if test linux-dietlibc = "$host_os"; then
9445 case $cc_basename in
9446 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9449 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9450 && test no = "$tmp_diet"
9452 tmp_addflag=' $pic_flag'
9453 tmp_sharedflag='-shared'
9454 case $cc_basename,$host_cpu in
9455 pgcc*) # Portland Group C compiler
9456 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'
9457 tmp_addflag=' $pic_flag'
9459 pgf77* | pgf90* | pgf95* | pgfortran*)
9460 # Portland Group f77 and f90 compilers
9461 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'
9462 tmp_addflag=' $pic_flag -Mnomain' ;;
9463 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9464 tmp_addflag=' -i_dynamic' ;;
9465 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9466 tmp_addflag=' -i_dynamic -nofor_main' ;;
9467 ifc* | ifort*) # Intel Fortran compiler
9468 tmp_addflag=' -nofor_main' ;;
9469 lf95*) # Lahey Fortran 8.1
9470 whole_archive_flag_spec=
9471 tmp_sharedflag='--shared' ;;
9472 nagfor*) # NAGFOR 5.3
9473 tmp_sharedflag='-Wl,-shared' ;;
9474 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9475 tmp_sharedflag='-qmkshrobj'
9477 nvcc*) # Cuda Compiler Driver 2.2
9478 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'
9479 compiler_needs_object=yes
9482 case `$CC -V 2>&1 | sed 5q` in
9483 *Sun\ C*) # Sun C 5.9
9484 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'
9485 compiler_needs_object=yes
9486 tmp_sharedflag='-G' ;;
9487 *Sun\ F*) # Sun Fortran 8.3
9488 tmp_sharedflag='-G' ;;
9490 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9492 if test yes = "$supports_anon_versioning"; then
9493 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9494 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9495 echo "local: *; };" >> $output_objdir/$libname.ver~
9496 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9499 case $cc_basename in
9501 export_dynamic_flag_spec='-rdynamic'
9503 xlf* | bgf* | bgxlf* | mpixlf*)
9504 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9505 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9506 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9507 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9508 if test yes = "$supports_anon_versioning"; then
9509 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9510 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9511 echo "local: *; };" >> $output_objdir/$libname.ver~
9512 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9521 netbsd* | netbsdelf*-gnu)
9522 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9523 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9526 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9527 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9532 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9536 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9537 *** create shared libraries on Solaris systems. Therefore, libtool
9538 *** is disabling shared libraries support. We urge you to upgrade GNU
9539 *** binutils to release 2.9.1 or newer. Another option is to modify
9540 *** your PATH or compiler configuration so that the native linker is
9541 *** used, and then restart.
9544 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9545 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9546 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9552 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9553 case `$LD -v 2>&1` in
9554 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9558 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9559 *** reliably create shared libraries on SCO systems. Therefore, libtool
9560 *** is disabling shared libraries support. We urge you to upgrade GNU
9561 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9562 *** your PATH or compiler configuration so that the native linker is
9563 *** used, and then restart.
9568 # For security reasons, it is highly recommended that you always
9569 # use absolute paths for naming shared libraries, and exclude the
9570 # DT_RUNPATH tag from executables and libraries. But doing so
9571 # requires that you compile everything twice, which is a pain.
9572 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9573 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9574 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9575 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9584 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9587 hardcode_shlibpath_var=no
9591 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9592 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9593 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9600 if test no = "$ld_shlibs"; then
9602 hardcode_libdir_flag_spec=
9603 export_dynamic_flag_spec=
9604 whole_archive_flag_spec=
9607 # PORTME fill in a description of your system's linker (not GNU ld)
9610 allow_undefined_flag=unsupported
9611 always_export_symbols=yes
9612 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'
9613 # Note: this linker hardcodes the directories in LIBPATH if there
9614 # are no directories specified by -L.
9615 hardcode_minus_L=yes
9616 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9617 # Neither direct hardcoding nor static linking is supported with a
9619 hardcode_direct=unsupported
9624 if test ia64 = "$host_cpu"; then
9625 # On IA64, the linker does run time linking by default, so we don't
9626 # have to do anything special.
9627 aix_use_runtimelinking=no
9628 exp_sym_flag='-Bexport'
9631 # If we're using GNU nm, then we don't want the "-C" option.
9632 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9633 # Without the "-l" option, or with the "-B" option, AIX nm treats
9634 # weak defined symbols like other global defined symbols, whereas
9635 # GNU nm marks them as "W".
9636 # While the 'weak' keyword is ignored in the Export File, we need
9637 # it in the Import File for the 'aix-soname' feature, so we have
9638 # to replace the "-B" option with "-P" for AIX nm.
9639 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9640 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9642 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9644 aix_use_runtimelinking=no
9646 # Test if we are trying to use run time linking or normal
9647 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9648 # have runtime linking enabled, and use it for executables.
9649 # For shared libraries, we enable/disable runtime linking
9650 # depending on the kind of the shared library created -
9651 # when "with_aix_soname,aix_use_runtimelinking" is:
9652 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9653 # "aix,yes" lib.so shared, rtl:yes, for executables
9654 # lib.a static archive
9655 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9656 # lib.a(lib.so.V) shared, rtl:no, for executables
9657 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9658 # lib.a(lib.so.V) shared, rtl:no
9659 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9660 # lib.a static archive
9661 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9662 for ld_flag in $LDFLAGS; do
9663 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9664 aix_use_runtimelinking=yes
9668 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9669 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9670 # so we don't have lib.a shared libs to link our executables.
9671 # We have to force runtime linking in this case.
9672 aix_use_runtimelinking=yes
9673 LDFLAGS="$LDFLAGS -Wl,-brtl"
9678 exp_sym_flag='-bexport'
9679 no_entry_flag='-bnoentry'
9682 # When large executables or shared objects are built, AIX ld can
9683 # have problems creating the table of contents. If linking a library
9684 # or program results in "error TOC overflow" add -mminimal-toc to
9685 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9686 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9690 hardcode_direct_absolute=yes
9691 hardcode_libdir_separator=':'
9692 link_all_deplibs=yes
9693 file_list_spec='$wl-f,'
9694 case $with_aix_soname,$aix_use_runtimelinking in
9695 aix,*) ;; # traditional, no import file
9696 svr4,* | *,yes) # use import file
9697 # The Import File defines what to hardcode.
9699 hardcode_direct_absolute=no
9703 if test yes = "$GCC"; then
9704 case $host_os in aix4.[012]|aix4.[012].*)
9705 # We only want to do this on AIX 4.2 and lower, the check
9706 # below for broken collect2 doesn't work under 4.3+
9707 collect2name=`$CC -print-prog-name=collect2`
9708 if test -f "$collect2name" &&
9709 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9711 # We have reworked collect2
9714 # We have old collect2
9715 hardcode_direct=unsupported
9716 # It fails to find uninstalled libraries when the uninstalled
9717 # path is not listed in the libpath. Setting hardcode_minus_L
9718 # to unsupported forces relinking
9719 hardcode_minus_L=yes
9720 hardcode_libdir_flag_spec='-L$libdir'
9721 hardcode_libdir_separator=
9725 shared_flag='-shared'
9726 if test yes = "$aix_use_runtimelinking"; then
9727 shared_flag="$shared_flag "'$wl-G'
9729 # Need to ensure runtime linking is disabled for the traditional
9730 # shared library, or the linker may eventually find shared libraries
9731 # /with/ Import File - we do not want to mix them.
9732 shared_flag_aix='-shared'
9733 shared_flag_svr4='-shared $wl-G'
9736 if test ia64 = "$host_cpu"; then
9737 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9738 # chokes on -Wl,-G. The following line is correct:
9741 if test yes = "$aix_use_runtimelinking"; then
9744 shared_flag='$wl-bM:SRE'
9746 shared_flag_aix='$wl-bM:SRE'
9747 shared_flag_svr4='$wl-G'
9751 export_dynamic_flag_spec='$wl-bexpall'
9752 # It seems that -bexpall does not export symbols beginning with
9753 # underscore (_), so it is better to generate a list of symbols to export.
9754 always_export_symbols=yes
9755 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9756 # Warning - without using the other runtime loading flags (-brtl),
9757 # -berok will link without error, but may produce a broken library.
9758 allow_undefined_flag='-berok'
9759 # Determine the default libpath from the value encoded in an
9761 if test set = "${lt_cv_aix_libpath+set}"; then
9762 aix_libpath=$lt_cv_aix_libpath
9764 if ${lt_cv_aix_libpath_+:} false; then :
9765 $as_echo_n "(cached) " >&6
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9778 if ac_fn_c_try_link "$LINENO"; then :
9780 lt_aix_libpath_sed='
9781 /Import File Strings/,/^$/ {
9783 s/^0 *\([^ ]*\) *$/\1/
9787 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9788 # Check for a 64-bit object if we didn't find anything.
9789 if test -z "$lt_cv_aix_libpath_"; then
9790 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 if test -z "$lt_cv_aix_libpath_"; then
9796 lt_cv_aix_libpath_=/usr/lib:/lib
9801 aix_libpath=$lt_cv_aix_libpath_
9804 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9805 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9807 if test ia64 = "$host_cpu"; then
9808 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9809 allow_undefined_flag="-z nodefs"
9810 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"
9812 # Determine the default libpath from the value encoded in an
9814 if test set = "${lt_cv_aix_libpath+set}"; then
9815 aix_libpath=$lt_cv_aix_libpath
9817 if ${lt_cv_aix_libpath_+:} false; then :
9818 $as_echo_n "(cached) " >&6
9820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9831 if ac_fn_c_try_link "$LINENO"; then :
9833 lt_aix_libpath_sed='
9834 /Import File Strings/,/^$/ {
9836 s/^0 *\([^ ]*\) *$/\1/
9840 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841 # Check for a 64-bit object if we didn't find anything.
9842 if test -z "$lt_cv_aix_libpath_"; then
9843 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 if test -z "$lt_cv_aix_libpath_"; then
9849 lt_cv_aix_libpath_=/usr/lib:/lib
9854 aix_libpath=$lt_cv_aix_libpath_
9857 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9858 # Warning - without using the other run time loading flags,
9859 # -berok will link without error, but may produce a broken library.
9860 no_undefined_flag=' $wl-bernotok'
9861 allow_undefined_flag=' $wl-berok'
9862 if test yes = "$with_gnu_ld"; then
9863 # We only use this code for GNU lds that support --whole-archive.
9864 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9866 # Exported symbols can be pulled into shared objects from archives
9867 whole_archive_flag_spec='$convenience'
9869 archive_cmds_need_lc=yes
9870 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9871 # -brtl affects multiple linker settings, -berok does not and is overridden later
9872 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9873 if test svr4 != "$with_aix_soname"; then
9874 # This is similar to how AIX traditionally builds its shared libraries.
9875 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9877 if test aix != "$with_aix_soname"; then
9878 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9880 # used by -dlpreopen to get the symbols
9881 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9883 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9891 # see comment about AmigaOS4 .so support
9892 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9893 archive_expsym_cmds=''
9896 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)'
9897 hardcode_libdir_flag_spec='-L$libdir'
9898 hardcode_minus_L=yes
9904 export_dynamic_flag_spec=-rdynamic
9907 cygwin* | mingw* | pw32* | cegcc*)
9908 # When not using gcc, we currently assume that we are using
9909 # Microsoft Visual C++.
9910 # hardcode_libdir_flag_spec is actually meaningless, as there is
9911 # no search path for DLLs.
9912 case $cc_basename in
9915 hardcode_libdir_flag_spec=' '
9916 allow_undefined_flag=unsupported
9917 always_export_symbols=yes
9919 # Tell ltmain to make .lib files, not .a files.
9921 # Tell ltmain to make .dll files, not .so files.
9923 # FIXME: Setting linknames here is a bad hack.
9924 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9925 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9926 cp "$export_symbols" "$output_objdir/$soname.def";
9927 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9929 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9931 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9933 # The linker will not automatically build a static lib if we build a DLL.
9934 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9935 enable_shared_with_static_runtimes=yes
9936 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9937 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9939 old_postinstall_cmds='chmod 644 $oldlib'
9940 postlink_cmds='lt_outputfile="@OUTPUT@"~
9941 lt_tool_outputfile="@TOOL_OUTPUT@"~
9942 case $lt_outputfile in
9945 lt_outputfile=$lt_outputfile.exe
9946 lt_tool_outputfile=$lt_tool_outputfile.exe
9949 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9950 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9951 $RM "$lt_outputfile.manifest";
9955 # Assume MSVC wrapper
9956 hardcode_libdir_flag_spec=' '
9957 allow_undefined_flag=unsupported
9958 # Tell ltmain to make .lib files, not .a files.
9960 # Tell ltmain to make .dll files, not .so files.
9962 # FIXME: Setting linknames here is a bad hack.
9963 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9964 # The linker will automatically build a .lib file if we build a DLL.
9965 old_archive_from_new_cmds='true'
9966 # FIXME: Should let the user specify the lib program.
9967 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9968 enable_shared_with_static_runtimes=yes
9973 darwin* | rhapsody*)
9976 archive_cmds_need_lc=no
9978 hardcode_automatic=yes
9979 hardcode_shlibpath_var=unsupported
9980 if test yes = "$lt_cv_ld_force_load"; then
9981 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\"`'
9984 whole_archive_flag_spec=''
9986 link_all_deplibs=yes
9987 allow_undefined_flag=$_lt_dar_allow_undefined
9988 case $cc_basename in
9989 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9990 *) _lt_dar_can_shared=$GCC ;;
9992 if test yes = "$_lt_dar_can_shared"; then
9993 output_verbose_link_cmd=func_echo_all
9994 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9995 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9996 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"
9997 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"
10006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10007 hardcode_libdir_flag_spec='-L$libdir'
10008 hardcode_shlibpath_var=no
10011 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10012 # support. Future versions do this automatically, but an explicit c++rt0.o
10013 # does not break anything, and helps significantly (at the cost of a little
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10017 hardcode_libdir_flag_spec='-R$libdir'
10018 hardcode_direct=yes
10019 hardcode_shlibpath_var=no
10022 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10024 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10025 hardcode_direct=yes
10026 hardcode_minus_L=yes
10027 hardcode_shlibpath_var=no
10030 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10031 freebsd* | dragonfly*)
10032 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10033 hardcode_libdir_flag_spec='-R$libdir'
10034 hardcode_direct=yes
10035 hardcode_shlibpath_var=no
10039 if test yes = "$GCC"; then
10040 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10042 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10044 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10045 hardcode_libdir_separator=:
10046 hardcode_direct=yes
10048 # hardcode_minus_L: Not really in the search PATH,
10049 # but as the default location of the library.
10050 hardcode_minus_L=yes
10051 export_dynamic_flag_spec='$wl-E'
10055 if test yes,no = "$GCC,$with_gnu_ld"; then
10056 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10058 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10060 if test no = "$with_gnu_ld"; then
10061 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10062 hardcode_libdir_separator=:
10063 hardcode_direct=yes
10064 hardcode_direct_absolute=yes
10065 export_dynamic_flag_spec='$wl-E'
10066 # hardcode_minus_L: Not really in the search PATH,
10067 # but as the default location of the library.
10068 hardcode_minus_L=yes
10073 if test yes,no = "$GCC,$with_gnu_ld"; then
10076 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10095 # Older versions of the 11.00 compiler do not understand -b yet
10096 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10098 $as_echo_n "checking if $CC understands -b... " >&6; }
10099 if ${lt_cv_prog_compiler__b+:} false; then :
10100 $as_echo_n "(cached) " >&6
10102 lt_cv_prog_compiler__b=no
10103 save_LDFLAGS=$LDFLAGS
10104 LDFLAGS="$LDFLAGS -b"
10105 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10106 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10107 # The linker can only warn and ignore the option if not recognized
10108 # So say no if there are warnings
10109 if test -s conftest.err; then
10110 # Append any errors to the config.log.
10111 cat conftest.err 1>&5
10112 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10113 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10114 if diff conftest.exp conftest.er2 >/dev/null; then
10115 lt_cv_prog_compiler__b=yes
10118 lt_cv_prog_compiler__b=yes
10122 LDFLAGS=$save_LDFLAGS
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10126 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10128 if test yes = "$lt_cv_prog_compiler__b"; then
10129 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10137 if test no = "$with_gnu_ld"; then
10138 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10139 hardcode_libdir_separator=:
10144 hardcode_shlibpath_var=no
10147 hardcode_direct=yes
10148 hardcode_direct_absolute=yes
10149 export_dynamic_flag_spec='$wl-E'
10151 # hardcode_minus_L: Not really in the search PATH,
10152 # but as the default location of the library.
10153 hardcode_minus_L=yes
10159 irix5* | irix6* | nonstopux*)
10160 if test yes = "$GCC"; then
10161 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'
10162 # Try to use the -exported_symbol ld option, if it does not
10163 # work, assume that -exports_file does not work either and
10164 # implicitly export all symbols.
10165 # This should be the same for all languages, so no per-tag cache variable.
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10167 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10168 if ${lt_cv_irix_exported_symbol+:} false; then :
10169 $as_echo_n "(cached) " >&6
10171 save_LDFLAGS=$LDFLAGS
10172 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 int foo (void) { return 0; }
10177 if ac_fn_c_try_link "$LINENO"; then :
10178 lt_cv_irix_exported_symbol=yes
10180 lt_cv_irix_exported_symbol=no
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 LDFLAGS=$save_LDFLAGS
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10187 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10188 if test yes = "$lt_cv_irix_exported_symbol"; then
10189 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'
10191 link_all_deplibs=no
10193 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'
10194 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'
10196 archive_cmds_need_lc='no'
10197 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10198 hardcode_libdir_separator=:
10200 link_all_deplibs=yes
10204 case $cc_basename in
10206 # Fabrice Bellard et al's Tiny C Compiler
10208 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10213 netbsd* | netbsdelf*-gnu)
10214 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10215 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10217 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10219 hardcode_libdir_flag_spec='-R$libdir'
10220 hardcode_direct=yes
10221 hardcode_shlibpath_var=no
10225 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10226 hardcode_direct=yes
10227 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10228 hardcode_libdir_separator=:
10229 hardcode_shlibpath_var=no
10235 openbsd* | bitrig*)
10236 if test -f /usr/libexec/ld.so; then
10237 hardcode_direct=yes
10238 hardcode_shlibpath_var=no
10239 hardcode_direct_absolute=yes
10240 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10241 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10243 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10244 export_dynamic_flag_spec='$wl-E'
10246 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10247 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10255 hardcode_libdir_flag_spec='-L$libdir'
10256 hardcode_minus_L=yes
10257 allow_undefined_flag=unsupported
10259 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10260 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10261 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10262 $ECHO EXPORTS >> $output_objdir/$libname.def~
10263 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10264 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10265 emximp -o $lib $output_objdir/$libname.def'
10266 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10267 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10268 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10269 $ECHO EXPORTS >> $output_objdir/$libname.def~
10270 prefix_cmds="$SED"~
10271 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10272 prefix_cmds="$prefix_cmds -e 1d";
10274 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10275 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10276 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10277 emximp -o $lib $output_objdir/$libname.def'
10278 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10279 enable_shared_with_static_runtimes=yes
10283 if test yes = "$GCC"; then
10284 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10285 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'
10287 allow_undefined_flag=' -expect_unresolved \*'
10288 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'
10290 archive_cmds_need_lc='no'
10291 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10292 hardcode_libdir_separator=:
10295 osf4* | osf5*) # as osf3* with the addition of -msym flag
10296 if test yes = "$GCC"; then
10297 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10298 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'
10299 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10301 allow_undefined_flag=' -expect_unresolved \*'
10302 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'
10303 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~
10304 $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'
10306 # Both c and cxx compiler support -rpath directly
10307 hardcode_libdir_flag_spec='-rpath $libdir'
10309 archive_cmds_need_lc='no'
10310 hardcode_libdir_separator=:
10314 no_undefined_flag=' -z defs'
10315 if test yes = "$GCC"; then
10317 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10318 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10319 $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'
10321 case `$CC -V 2>&1` in
10324 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10325 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10326 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10330 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10331 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10332 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10336 hardcode_libdir_flag_spec='-R$libdir'
10337 hardcode_shlibpath_var=no
10339 solaris2.[0-5] | solaris2.[0-5].*) ;;
10341 # The compiler driver will combine and reorder linker options,
10342 # but understands '-z linker_flag'. GCC discards it without '$wl',
10343 # but is careful enough not to reorder.
10344 # Supported since Solaris 2.6 (maybe 2.5.1?)
10345 if test yes = "$GCC"; then
10346 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10348 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10352 link_all_deplibs=yes
10356 if test sequent = "$host_vendor"; then
10357 # Use $CC to link under sequent, because it throws in some extra .o
10358 # files that make .init and .fini sections work.
10359 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10361 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10363 hardcode_libdir_flag_spec='-L$libdir'
10364 hardcode_direct=yes
10365 hardcode_minus_L=yes
10366 hardcode_shlibpath_var=no
10370 case $host_vendor in
10372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10373 hardcode_direct=yes # is this really true???
10376 ## LD is ld it makes a PLAMLIB
10377 ## CC just makes a GrossModule.
10378 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10379 reload_cmds='$CC -r -o $output$reload_objs'
10383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10384 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10387 runpath_var='LD_RUN_PATH'
10388 hardcode_shlibpath_var=no
10392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_shlibpath_var=no
10394 export_dynamic_flag_spec='-Bexport'
10398 if test -d /usr/nec; then
10399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_shlibpath_var=no
10401 runpath_var=LD_RUN_PATH
10402 hardcode_runpath_var=yes
10407 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10408 no_undefined_flag='$wl-z,text'
10409 archive_cmds_need_lc=no
10410 hardcode_shlibpath_var=no
10411 runpath_var='LD_RUN_PATH'
10413 if test yes = "$GCC"; then
10414 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10415 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 sysv5* | sco3.2v5* | sco5v6*)
10423 # Note: We CANNOT use -z defs as we might desire, because we do not
10424 # link with -lc, and that would cause any symbols used from libc to
10425 # always be unresolved, which means just about no library would
10426 # ever link correctly. If we're not using GNU ld we use -z text
10427 # though, which does catch some bad symbols but isn't as heavy-handed
10429 no_undefined_flag='$wl-z,text'
10430 allow_undefined_flag='$wl-z,nodefs'
10431 archive_cmds_need_lc=no
10432 hardcode_shlibpath_var=no
10433 hardcode_libdir_flag_spec='$wl-R,$libdir'
10434 hardcode_libdir_separator=':'
10435 link_all_deplibs=yes
10436 export_dynamic_flag_spec='$wl-Bexport'
10437 runpath_var='LD_RUN_PATH'
10439 if test yes = "$GCC"; then
10440 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10441 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10449 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10450 hardcode_libdir_flag_spec='-L$libdir'
10451 hardcode_shlibpath_var=no
10459 if test sni = "$host_vendor"; then
10461 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10462 export_dynamic_flag_spec='$wl-Blargedynsym'
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10469 $as_echo "$ld_shlibs" >&6; }
10470 test no = "$ld_shlibs" && can_build_shared=no
10472 with_gnu_ld=$with_gnu_ld
10489 # Do we need to explicitly link libc?
10491 case "x$archive_cmds_need_lc" in
10493 # Assume -lc should be added
10494 archive_cmds_need_lc=yes
10496 if test yes,yes = "$GCC,$enable_shared"; then
10497 case $archive_cmds in
10499 # FIXME: we may have to deal with multi-command sequences.
10502 # Test whether the compiler implicitly links with -lc since on some
10503 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10504 # to ld, don't add -lc before -lgcc.
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10506 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10507 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10508 $as_echo_n "(cached) " >&6
10511 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10514 (eval $ac_compile) 2>&5
10516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10517 test $ac_status = 0; } 2>conftest.err; then
10520 libobjs=conftest.$ac_objext
10522 wl=$lt_prog_compiler_wl
10523 pic_flag=$lt_prog_compiler_pic
10529 lt_save_allow_undefined_flag=$allow_undefined_flag
10530 allow_undefined_flag=
10531 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10532 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10535 test $ac_status = 0; }
10537 lt_cv_archive_cmds_need_lc=no
10539 lt_cv_archive_cmds_need_lc=yes
10541 allow_undefined_flag=$lt_save_allow_undefined_flag
10543 cat conftest.err 1>&5
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10549 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10550 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10709 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10711 if test yes = "$GCC"; then
10713 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10714 *) lt_awk_arg='/^libraries:/' ;;
10717 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10718 *) lt_sed_strip_eq='s|=/|/|g' ;;
10720 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10721 case $lt_search_path_spec in
10723 # if the path contains ";" then we assume it to be the separator
10724 # otherwise default to the standard path separator (i.e. ":") - it is
10725 # assumed that no part of a normal pathname contains ";" but that should
10726 # okay in the real world where ";" in dirpaths is itself problematic.
10727 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10730 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10733 # Ok, now we have the path, separated by spaces, we can step through it
10734 # and add multilib dir if necessary...
10735 lt_tmp_lt_search_path_spec=
10736 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10737 # ...but if some path component already ends with the multilib dir we assume
10738 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10739 case "$lt_multi_os_dir; $lt_search_path_spec " in
10740 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10744 for lt_sys_path in $lt_search_path_spec; do
10745 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10746 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10747 elif test -n "$lt_multi_os_dir"; then
10748 test -d "$lt_sys_path" && \
10749 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10752 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10753 BEGIN {RS = " "; FS = "/|\n";} {
10756 for (lt_i = NF; lt_i > 0; lt_i--) {
10757 if ($lt_i != "" && $lt_i != ".") {
10758 if ($lt_i == "..") {
10761 if (lt_count == 0) {
10762 lt_foo = "/" $lt_i lt_foo;
10769 if (lt_foo != "") { lt_freq[lt_foo]++; }
10770 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10772 # AWK program above erroneously prepends '/' to C:/dos/paths
10775 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10776 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10778 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10780 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10782 library_names_spec=
10783 libname_spec='lib$name'
10787 postuninstall_cmds=
10791 shlibpath_overrides_runpath=unknown
10793 dynamic_linker="$host_os ld.so"
10794 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10795 need_lib_prefix=unknown
10796 hardcode_into_libs=no
10798 # when you set need_version to no, make sure it does not cause -set_version
10799 # flags to be left without arguments
10800 need_version=unknown
10806 version_type=linux # correct to gnu/linux during the next big refactor
10807 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10808 shlibpath_var=LIBPATH
10810 # AIX 3 has no versioning support, so we append a major version to the name.
10811 soname_spec='$libname$release$shared_ext$major'
10815 version_type=linux # correct to gnu/linux during the next big refactor
10818 hardcode_into_libs=yes
10819 if test ia64 = "$host_cpu"; then
10820 # AIX 5 supports IA64
10821 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10822 shlibpath_var=LD_LIBRARY_PATH
10824 # With GCC up to 2.95.x, collect2 would create an import file
10825 # for dependence libraries. The import file would start with
10826 # the line '#! .'. This would cause the generated library to
10827 # depend on '.', always an invalid library. This was fixed in
10828 # development snapshots of GCC prior to 3.0.
10830 aix4 | aix4.[01] | aix4.[01].*)
10831 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10833 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10836 can_build_shared=no
10840 # Using Import Files as archive members, it is possible to support
10841 # filename-based versioning of shared library archives on AIX. While
10842 # this would work for both with and without runtime linking, it will
10843 # prevent static linking of such archives. So we do filename-based
10844 # shared library versioning with .so extension only, which is used
10845 # when both runtime linking and shared linking is enabled.
10846 # Unfortunately, runtime linking may impact performance, so we do
10847 # not want this to be the default eventually. Also, we use the
10848 # versioned .so libs for executables only if there is the -brtl
10849 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10850 # To allow for filename-based versioning support, we need to create
10851 # libNAME.so.V as an archive file, containing:
10852 # *) an Import File, referring to the versioned filename of the
10853 # archive as well as the shared archive member, telling the
10854 # bitwidth (32 or 64) of that shared object, and providing the
10855 # list of exported symbols of that shared object, eventually
10856 # decorated with the 'weak' keyword
10857 # *) the shared object with the F_LOADONLY flag set, to really avoid
10858 # it being seen by the linker.
10859 # At run time we better use the real file rather than another symlink,
10860 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10862 case $with_aix_soname,$aix_use_runtimelinking in
10863 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10864 # soname into executable. Probably we can add versioning support to
10865 # collect2, so additional links can be useful in future.
10866 aix,yes) # traditional libtool
10867 dynamic_linker='AIX unversionable lib.so'
10868 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10869 # instead of lib<name>.a to let people know that these are not
10870 # typical AIX shared libraries.
10871 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10873 aix,no) # traditional AIX only
10874 dynamic_linker='AIX lib.a(lib.so.V)'
10875 # We preserve .a as extension for shared libraries through AIX4.2
10876 # and later when we are not doing run time linking.
10877 library_names_spec='$libname$release.a $libname.a'
10878 soname_spec='$libname$release$shared_ext$major'
10880 svr4,*) # full svr4 only
10881 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10882 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10883 # We do not specify a path in Import Files, so LIBPATH fires.
10884 shlibpath_overrides_runpath=yes
10886 *,yes) # both, prefer svr4
10887 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10888 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10889 # unpreferred sharedlib libNAME.a needs extra handling
10890 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10891 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10892 # We do not specify a path in Import Files, so LIBPATH fires.
10893 shlibpath_overrides_runpath=yes
10895 *,no) # both, prefer aix
10896 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10897 library_names_spec='$libname$release.a $libname.a'
10898 soname_spec='$libname$release$shared_ext$major'
10899 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10900 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10901 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10904 shlibpath_var=LIBPATH
10911 # Since July 2007 AmigaOS4 officially supports .so libraries.
10912 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10913 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10916 library_names_spec='$libname.ixlibrary $libname.a'
10917 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10918 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10924 library_names_spec='$libname$shared_ext'
10925 dynamic_linker="$host_os ld.so"
10926 shlibpath_var=LIBRARY_PATH
10930 version_type=linux # correct to gnu/linux during the next big refactor
10932 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10933 soname_spec='$libname$release$shared_ext$major'
10934 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10937 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10938 # the default ld.so.conf also contains /usr/contrib/lib and
10939 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10940 # libtool to hard-code these into programs
10943 cygwin* | mingw* | pw32* | cegcc*)
10944 version_type=windows
10949 case $GCC,$cc_basename in
10952 library_names_spec='$libname.dll.a'
10953 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10954 postinstall_cmds='base_file=`basename \$file`~
10955 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10956 dldir=$destdir/`dirname \$dlpath`~
10957 test -d \$dldir || mkdir -p \$dldir~
10958 $install_prog $dir/$dlname \$dldir/$dlname~
10959 chmod a+x \$dldir/$dlname~
10960 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10961 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10963 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10964 dlpath=$dir/\$dldll~
10966 shlibpath_overrides_runpath=yes
10970 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10971 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10973 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10976 # MinGW DLLs use traditional 'lib' prefix
10977 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10980 # pw32 DLLs use 'pw' prefix rather than 'lib'
10981 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10984 dynamic_linker='Win32 ld.exe'
10989 libname_spec='$name'
10990 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10991 library_names_spec='$libname.dll.lib'
10995 sys_lib_search_path_spec=
10998 for lt_path in $LIB
11001 # Let DOS variable expansion print the short 8.3 style file name.
11002 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11003 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11006 # Convert to MSYS style.
11007 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11010 # Convert to unix form, then to dos form, then back to unix form
11011 # but this time dos style (no spaces!) so that the unix form looks
11012 # like /cygdrive/c/PROGRA~1:/cygdr...
11013 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11014 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11015 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11018 sys_lib_search_path_spec=$LIB
11019 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11020 # It is most probably a Windows format PATH.
11021 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11023 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11025 # FIXME: find the short name or the path components, as spaces are
11026 # common. (e.g. "Program Files" -> "PROGRA~1")
11030 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11031 postinstall_cmds='base_file=`basename \$file`~
11032 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11033 dldir=$destdir/`dirname \$dlpath`~
11034 test -d \$dldir || mkdir -p \$dldir~
11035 $install_prog $dir/$dlname \$dldir/$dlname'
11036 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11037 dlpath=$dir/\$dldll~
11039 shlibpath_overrides_runpath=yes
11040 dynamic_linker='Win32 link.exe'
11044 # Assume MSVC wrapper
11045 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11046 dynamic_linker='Win32 ld.exe'
11049 # FIXME: first we should search . and the directory the executable is in
11053 darwin* | rhapsody*)
11054 dynamic_linker="$host_os dyld"
11055 version_type=darwin
11058 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11059 soname_spec='$libname$release$major$shared_ext'
11060 shlibpath_overrides_runpath=yes
11061 shlibpath_var=DYLD_LIBRARY_PATH
11062 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11064 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11065 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11069 version_type=linux # correct to gnu/linux during the next big refactor
11072 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11073 soname_spec='$libname$release$shared_ext$major'
11074 shlibpath_var=LD_LIBRARY_PATH
11077 freebsd* | dragonfly*)
11078 # DragonFly does not have aout. When/if they implement a new
11079 # versioning mechanism, adjust this.
11080 if test -x /usr/bin/objformat; then
11081 objformat=`/usr/bin/objformat`
11084 freebsd[23].*) objformat=aout ;;
11085 *) objformat=elf ;;
11088 version_type=freebsd-$objformat
11089 case $version_type in
11091 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11092 soname_spec='$libname$release$shared_ext$major'
11097 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11101 shlibpath_var=LD_LIBRARY_PATH
11104 shlibpath_overrides_runpath=yes
11106 freebsd3.[01]* | freebsdelf3.[01]*)
11107 shlibpath_overrides_runpath=yes
11108 hardcode_into_libs=yes
11110 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11111 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11112 shlibpath_overrides_runpath=no
11113 hardcode_into_libs=yes
11115 *) # from 4.6 on, and DragonFly
11116 shlibpath_overrides_runpath=yes
11117 hardcode_into_libs=yes
11123 version_type=linux # correct to gnu/linux during the next big refactor
11126 dynamic_linker="$host_os runtime_loader"
11127 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11128 soname_spec='$libname$release$shared_ext$major'
11129 shlibpath_var=LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11132 hardcode_into_libs=yes
11135 hpux9* | hpux10* | hpux11*)
11136 # Give a soname corresponding to the major version so that dld.sl refuses to
11137 # link against other versions.
11144 hardcode_into_libs=yes
11145 dynamic_linker="$host_os dld.so"
11146 shlibpath_var=LD_LIBRARY_PATH
11147 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11148 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11149 soname_spec='$libname$release$shared_ext$major'
11150 if test 32 = "$HPUX_IA64_MODE"; then
11151 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11152 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11154 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11155 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11160 hardcode_into_libs=yes
11161 dynamic_linker="$host_os dld.sl"
11162 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11163 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11164 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11165 soname_spec='$libname$release$shared_ext$major'
11166 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11167 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11171 dynamic_linker="$host_os dld.sl"
11172 shlibpath_var=SHLIB_PATH
11173 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11174 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11175 soname_spec='$libname$release$shared_ext$major'
11178 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11179 postinstall_cmds='chmod 555 $lib'
11180 # or fails outright, so override atomically:
11181 install_override_mode=555
11185 version_type=linux # correct to gnu/linux during the next big refactor
11188 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11189 soname_spec='$libname$release$shared_ext$major'
11190 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath=no
11193 hardcode_into_libs=yes
11196 irix5* | irix6* | nonstopux*)
11198 nonstopux*) version_type=nonstopux ;;
11200 if test yes = "$lt_cv_prog_gnu_ld"; then
11201 version_type=linux # correct to gnu/linux during the next big refactor
11208 soname_spec='$libname$release$shared_ext$major'
11209 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11211 irix5* | nonstopux*)
11212 libsuff= shlibsuff=
11215 case $LD in # libtool.m4 will add one of these switches to LD
11216 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11217 libsuff= shlibsuff= libmagic=32-bit;;
11218 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11219 libsuff=32 shlibsuff=N32 libmagic=N32;;
11220 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11221 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11222 *) libsuff= shlibsuff= libmagic=never-match;;
11226 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11227 shlibpath_overrides_runpath=no
11228 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11229 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11230 hardcode_into_libs=yes
11233 # No shared lib support for Linux oldld, aout, or coff.
11234 linux*oldld* | linux*aout* | linux*coff*)
11239 version_type=none # Android doesn't support versioned libraries.
11242 library_names_spec='$libname$release$shared_ext'
11243 soname_spec='$libname$release$shared_ext'
11245 shlibpath_var=LD_LIBRARY_PATH
11246 shlibpath_overrides_runpath=yes
11248 # This implies no fast_install, which is unacceptable.
11249 # Some rework will be needed to allow for fast_install
11250 # before this can be enabled.
11251 hardcode_into_libs=yes
11253 dynamic_linker='Android linker'
11254 # Don't embed -rpath directories since the linker doesn't support them.
11255 hardcode_libdir_flag_spec='-L$libdir'
11258 # This must be glibc/ELF.
11259 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11260 version_type=linux # correct to gnu/linux during the next big refactor
11263 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11264 soname_spec='$libname$release$shared_ext$major'
11265 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11266 shlibpath_var=LD_LIBRARY_PATH
11267 shlibpath_overrides_runpath=no
11269 # Some binutils ld are patched to set DT_RUNPATH
11270 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11271 $as_echo_n "(cached) " >&6
11273 lt_cv_shlibpath_overrides_runpath=no
11274 save_LDFLAGS=$LDFLAGS
11275 save_libdir=$libdir
11276 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11277 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11289 if ac_fn_c_try_link "$LINENO"; then :
11290 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11291 lt_cv_shlibpath_overrides_runpath=yes
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 LDFLAGS=$save_LDFLAGS
11297 libdir=$save_libdir
11301 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11303 # This implies no fast_install, which is unacceptable.
11304 # Some rework will be needed to allow for fast_install
11305 # before this can be enabled.
11306 hardcode_into_libs=yes
11308 # Ideally, we could use ldconfig to report *all* directores which are
11309 # searched for libraries, however this is still not possible. Aside from not
11310 # being certain /sbin/ldconfig is available, command
11311 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11312 # even though it is searched at run-time. Try to do the best guess by
11313 # appending ld.so.conf contents (and includes) to the search path.
11314 if test -f /etc/ld.so.conf; then
11315 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' ' '`
11316 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11319 # We used to test for /lib/ld.so.1 and disable shared libraries on
11320 # powerpc, because MkLinux only supported shared libraries with the
11321 # GNU dynamic linker. Since this was broken with cross compilers,
11322 # most powerpc-linux boxes support dynamic linking these days and
11323 # people can always --disable-shared, the test was removed, and we
11324 # assume the GNU/Linux dynamic linker is in use.
11325 dynamic_linker='GNU/Linux ld.so'
11332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11333 soname_spec='${libname}${release}${shared_ext}$major'
11334 shlibpath_var=LD_LIBRARY_PATH
11335 shlibpath_overrides_runpath=no
11336 hardcode_into_libs=yes
11337 dynamic_linker='NetBSD ld.elf_so'
11344 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11345 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11346 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11347 dynamic_linker='NetBSD (a.out) ld.so'
11349 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11350 soname_spec='$libname$release$shared_ext$major'
11351 dynamic_linker='NetBSD ld.elf_so'
11353 shlibpath_var=LD_LIBRARY_PATH
11354 shlibpath_overrides_runpath=yes
11355 hardcode_into_libs=yes
11359 version_type=linux # correct to gnu/linux during the next big refactor
11360 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11361 shlibpath_var=LD_LIBRARY_PATH
11362 shlibpath_overrides_runpath=yes
11369 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11370 soname_spec='$libname$release$shared_ext$major'
11371 shlibpath_var=LD_LIBRARY_PATH
11372 shlibpath_overrides_runpath=no
11373 hardcode_into_libs=yes
11374 dynamic_linker='ldqnx.so'
11377 openbsd* | bitrig*)
11379 sys_lib_dlsearch_path_spec=/usr/lib
11381 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11386 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11387 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11388 shlibpath_var=LD_LIBRARY_PATH
11389 shlibpath_overrides_runpath=yes
11393 libname_spec='$name'
11394 version_type=windows
11398 # OS/2 can only load a DLL with a base name of 8 characters or less.
11399 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11400 v=$($ECHO $release$versuffix | tr -d .-);
11401 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11402 $ECHO $n$v`$shared_ext'
11403 library_names_spec='${libname}_dll.$libext'
11404 dynamic_linker='OS/2 ld.exe'
11405 shlibpath_var=BEGINLIBPATH
11406 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11407 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11408 postinstall_cmds='base_file=`basename \$file`~
11409 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11410 dldir=$destdir/`dirname \$dlpath`~
11411 test -d \$dldir || mkdir -p \$dldir~
11412 $install_prog $dir/$dlname \$dldir/$dlname~
11413 chmod a+x \$dldir/$dlname~
11414 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11415 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11417 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11418 dlpath=$dir/\$dldll~
11422 osf3* | osf4* | osf5*)
11426 soname_spec='$libname$release$shared_ext$major'
11427 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11428 shlibpath_var=LD_LIBRARY_PATH
11429 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11430 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11438 version_type=linux # correct to gnu/linux during the next big refactor
11441 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11442 soname_spec='$libname$release$shared_ext$major'
11443 shlibpath_var=LD_LIBRARY_PATH
11444 shlibpath_overrides_runpath=yes
11445 hardcode_into_libs=yes
11446 # ldd complains unless libraries are executable
11447 postinstall_cmds='chmod +x $lib'
11452 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11453 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11454 shlibpath_var=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath=yes
11456 if test yes = "$with_gnu_ld"; then
11463 version_type=linux # correct to gnu/linux during the next big refactor
11464 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11465 soname_spec='$libname$release$shared_ext$major'
11466 shlibpath_var=LD_LIBRARY_PATH
11467 case $host_vendor in
11469 shlibpath_overrides_runpath=no
11471 runpath_var=LD_RUN_PATH
11479 shlibpath_overrides_runpath=no
11480 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11486 if test -d /usr/nec; then
11487 version_type=linux # correct to gnu/linux during the next big refactor
11488 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11489 soname_spec='$libname$shared_ext.$major'
11490 shlibpath_var=LD_LIBRARY_PATH
11494 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11498 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11499 soname_spec='$libname$release$shared_ext$major'
11500 shlibpath_var=LD_LIBRARY_PATH
11501 shlibpath_overrides_runpath=yes
11502 hardcode_into_libs=yes
11503 if test yes = "$with_gnu_ld"; then
11504 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11506 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11509 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11513 sys_lib_dlsearch_path_spec='/usr/lib'
11517 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11518 version_type=linux # correct to gnu/linux during the next big refactor
11521 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11522 shlibpath_var=LD_LIBRARY_PATH
11523 shlibpath_overrides_runpath=no
11524 hardcode_into_libs=yes
11528 version_type=linux # correct to gnu/linux during the next big refactor
11529 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11530 soname_spec='$libname$release$shared_ext$major'
11531 shlibpath_var=LD_LIBRARY_PATH
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11539 $as_echo "$dynamic_linker" >&6; }
11540 test no = "$dynamic_linker" && can_build_shared=no
11542 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11543 if test yes = "$GCC"; then
11544 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11547 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11548 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11551 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11552 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11555 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11556 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11558 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11559 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11561 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11562 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11661 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11663 if test -n "$hardcode_libdir_flag_spec" ||
11664 test -n "$runpath_var" ||
11665 test yes = "$hardcode_automatic"; then
11667 # We can hardcode non-existent directories.
11668 if test no != "$hardcode_direct" &&
11669 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11670 # have to relink, otherwise we might link with an installed library
11671 # when we should be linking with a yet-to-be-installed one
11672 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11673 test no != "$hardcode_minus_L"; then
11674 # Linking always hardcodes the temporary library directory.
11675 hardcode_action=relink
11677 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11678 hardcode_action=immediate
11681 # We cannot hardcode anything, or else we can only hardcode existing
11683 hardcode_action=unsupported
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11686 $as_echo "$hardcode_action" >&6; }
11688 if test relink = "$hardcode_action" ||
11689 test yes = "$inherit_rpath"; then
11690 # Fast installation is not supported
11691 enable_fast_install=no
11692 elif test yes = "$shlibpath_overrides_runpath" ||
11693 test no = "$enable_shared"; then
11694 # Fast installation is not necessary
11695 enable_fast_install=needless
11703 if test yes != "$enable_dlopen"; then
11704 enable_dlopen=unknown
11705 enable_dlopen_self=unknown
11706 enable_dlopen_self_static=unknown
11713 lt_cv_dlopen=load_add_on
11715 lt_cv_dlopen_self=yes
11718 mingw* | pw32* | cegcc*)
11719 lt_cv_dlopen=LoadLibrary
11724 lt_cv_dlopen=dlopen
11729 # if libdl is installed we need to link against it
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11731 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11732 if ${ac_cv_lib_dl_dlopen+:} false; then :
11733 $as_echo_n "(cached) " >&6
11735 ac_check_lib_save_LIBS=$LIBS
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 ac_cv_lib_dl_dlopen=yes
11758 ac_cv_lib_dl_dlopen=no
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_lib_save_LIBS
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11765 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11766 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11767 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11772 lt_cv_dlopen_self=yes
11779 # Don't try to run any link tests for TPF. We know it's impossible
11780 # because TPF is a cross-compiler, and we know how we open DSOs.
11781 lt_cv_dlopen=dlopen
11783 lt_cv_dlopen_self=no
11787 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11788 if test "x$ac_cv_func_shl_load" = xyes; then :
11789 lt_cv_dlopen=shl_load
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11792 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11793 if ${ac_cv_lib_dld_shl_load+:} false; then :
11794 $as_echo_n "(cached) " >&6
11796 ac_check_lib_save_LIBS=$LIBS
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11811 return shl_load ();
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 ac_cv_lib_dld_shl_load=yes
11819 ac_cv_lib_dld_shl_load=no
11821 rm -f core conftest.err conftest.$ac_objext \
11822 conftest$ac_exeext conftest.$ac_ext
11823 LIBS=$ac_check_lib_save_LIBS
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11826 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11827 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11828 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11830 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11831 if test "x$ac_cv_func_dlopen" = xyes; then :
11832 lt_cv_dlopen=dlopen
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11835 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11836 if ${ac_cv_lib_dl_dlopen+:} false; then :
11837 $as_echo_n "(cached) " >&6
11839 ac_check_lib_save_LIBS=$LIBS
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11859 if ac_fn_c_try_link "$LINENO"; then :
11860 ac_cv_lib_dl_dlopen=yes
11862 ac_cv_lib_dl_dlopen=no
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_lib_save_LIBS
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11869 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11870 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11871 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11874 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11875 if ${ac_cv_lib_svld_dlopen+:} false; then :
11876 $as_echo_n "(cached) " >&6
11878 ac_check_lib_save_LIBS=$LIBS
11879 LIBS="-lsvld $LIBS"
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11883 /* Override any GCC internal prototype to avoid an error.
11884 Use char because int might match the return type of a GCC
11885 builtin and then its argument prototype would still apply. */
11898 if ac_fn_c_try_link "$LINENO"; then :
11899 ac_cv_lib_svld_dlopen=yes
11901 ac_cv_lib_svld_dlopen=no
11903 rm -f core conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11905 LIBS=$ac_check_lib_save_LIBS
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11908 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11909 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11910 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11913 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11914 if ${ac_cv_lib_dld_dld_link+:} false; then :
11915 $as_echo_n "(cached) " >&6
11917 ac_check_lib_save_LIBS=$LIBS
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11932 return dld_link ();
11937 if ac_fn_c_try_link "$LINENO"; then :
11938 ac_cv_lib_dld_dld_link=yes
11940 ac_cv_lib_dld_dld_link=no
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_lib_save_LIBS
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11947 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11948 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11949 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11970 if test no = "$lt_cv_dlopen"; then
11976 case $lt_cv_dlopen in
11978 save_CPPFLAGS=$CPPFLAGS
11979 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11981 save_LDFLAGS=$LDFLAGS
11982 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11985 LIBS="$lt_cv_dlopen_libs $LIBS"
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11988 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11989 if ${lt_cv_dlopen_self+:} false; then :
11990 $as_echo_n "(cached) " >&6
11992 if test yes = "$cross_compiling"; then :
11993 lt_cv_dlopen_self=cross
11995 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11996 lt_status=$lt_dlunknown
11997 cat > conftest.$ac_ext <<_LT_EOF
11998 #line $LINENO "configure"
11999 #include "confdefs.h"
12008 # define LT_DLGLOBAL RTLD_GLOBAL
12011 # define LT_DLGLOBAL DL_GLOBAL
12013 # define LT_DLGLOBAL 0
12017 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12018 find out it does not work in some platform. */
12019 #ifndef LT_DLLAZY_OR_NOW
12021 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12024 # define LT_DLLAZY_OR_NOW DL_LAZY
12027 # define LT_DLLAZY_OR_NOW RTLD_NOW
12030 # define LT_DLLAZY_OR_NOW DL_NOW
12032 # define LT_DLLAZY_OR_NOW 0
12039 /* When -fvisibility=hidden is used, assume the code has been annotated
12040 correspondingly for the symbols needed. */
12041 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12042 int fnord () __attribute__((visibility("default")));
12045 int fnord () { return 42; }
12048 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12049 int status = $lt_dlunknown;
12053 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12056 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12057 else puts (dlerror ());
12059 /* dlclose (self); */
12067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12068 (eval $ac_link) 2>&5
12070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12071 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12072 (./conftest; exit; ) >&5 2>/dev/null
12074 case x$lt_status in
12075 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12076 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12077 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12080 # compilation failed
12081 lt_cv_dlopen_self=no
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12089 $as_echo "$lt_cv_dlopen_self" >&6; }
12091 if test yes = "$lt_cv_dlopen_self"; then
12092 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12094 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12095 if ${lt_cv_dlopen_self_static+:} false; then :
12096 $as_echo_n "(cached) " >&6
12098 if test yes = "$cross_compiling"; then :
12099 lt_cv_dlopen_self_static=cross
12101 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12102 lt_status=$lt_dlunknown
12103 cat > conftest.$ac_ext <<_LT_EOF
12104 #line $LINENO "configure"
12105 #include "confdefs.h"
12114 # define LT_DLGLOBAL RTLD_GLOBAL
12117 # define LT_DLGLOBAL DL_GLOBAL
12119 # define LT_DLGLOBAL 0
12123 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12124 find out it does not work in some platform. */
12125 #ifndef LT_DLLAZY_OR_NOW
12127 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12130 # define LT_DLLAZY_OR_NOW DL_LAZY
12133 # define LT_DLLAZY_OR_NOW RTLD_NOW
12136 # define LT_DLLAZY_OR_NOW DL_NOW
12138 # define LT_DLLAZY_OR_NOW 0
12145 /* When -fvisibility=hidden is used, assume the code has been annotated
12146 correspondingly for the symbols needed. */
12147 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12148 int fnord () __attribute__((visibility("default")));
12151 int fnord () { return 42; }
12154 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12155 int status = $lt_dlunknown;
12159 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12162 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12163 else puts (dlerror ());
12165 /* dlclose (self); */
12173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12174 (eval $ac_link) 2>&5
12176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12177 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12178 (./conftest; exit; ) >&5 2>/dev/null
12180 case x$lt_status in
12181 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12182 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12183 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12186 # compilation failed
12187 lt_cv_dlopen_self_static=no
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12195 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12198 CPPFLAGS=$save_CPPFLAGS
12199 LDFLAGS=$save_LDFLAGS
12204 case $lt_cv_dlopen_self in
12205 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12206 *) enable_dlopen_self=unknown ;;
12209 case $lt_cv_dlopen_self_static in
12210 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12211 *) enable_dlopen_self_static=unknown ;;
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12234 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12235 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12236 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12237 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12239 $as_echo "yes" >&6; }
12241 # FIXME - insert some real tests, host_os isn't really good enough
12244 if test -n "$STRIP"; then
12245 striplib="$STRIP -x"
12246 old_striplib="$STRIP -S"
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12248 $as_echo "yes" >&6; }
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12251 $as_echo "no" >&6; }
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12256 $as_echo "no" >&6; }
12272 # Report what library types will actually be built
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12274 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12276 $as_echo "$can_build_shared" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12279 $as_echo_n "checking whether to build shared libraries... " >&6; }
12280 test no = "$can_build_shared" && enable_shared=no
12282 # On AIX, shared libraries and static libraries use the same namespace, and
12283 # are all built from PIC.
12286 test yes = "$enable_shared" && enable_static=no
12287 if test -n "$RANLIB"; then
12288 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12289 postinstall_cmds='$RANLIB $lib'
12294 if test ia64 != "$host_cpu"; then
12295 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12296 yes,aix,yes) ;; # shared object as lib.so file only
12297 yes,svr4,*) ;; # shared object as lib.so archive member only
12298 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12304 $as_echo "$enable_shared" >&6; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12307 $as_echo_n "checking whether to build static libraries... " >&6; }
12308 # Make sure either enable_shared or enable_static is yes.
12309 test yes = "$enable_shared" || enable_static=yes
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12311 $as_echo "$enable_static" >&6; }
12318 ac_cpp='$CPP $CPPFLAGS'
12319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12339 ac_config_commands="$ac_config_commands libtool"
12344 # Only expand once:
12356 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12357 if test -n "$ac_tool_prefix"; then
12358 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12359 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12361 $as_echo_n "checking for $ac_word... " >&6; }
12362 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12363 $as_echo_n "(cached) " >&6
12365 case $PKG_CONFIG in
12367 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12371 for as_dir in $PATH
12374 test -z "$as_dir" && as_dir=.
12375 for ac_exec_ext in '' $ac_executable_extensions; do
12376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12377 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12388 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12389 if test -n "$PKG_CONFIG"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12391 $as_echo "$PKG_CONFIG" >&6; }
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 $as_echo "no" >&6; }
12399 if test -z "$ac_cv_path_PKG_CONFIG"; then
12400 ac_pt_PKG_CONFIG=$PKG_CONFIG
12401 # Extract the first word of "pkg-config", so it can be a program name with args.
12402 set dummy pkg-config; ac_word=$2
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12404 $as_echo_n "checking for $ac_word... " >&6; }
12405 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12406 $as_echo_n "(cached) " >&6
12408 case $ac_pt_PKG_CONFIG in
12410 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12414 for as_dir in $PATH
12417 test -z "$as_dir" && as_dir=.
12418 for ac_exec_ext in '' $ac_executable_extensions; do
12419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12420 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12431 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12432 if test -n "$ac_pt_PKG_CONFIG"; then
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12434 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12440 if test "x$ac_pt_PKG_CONFIG" = x; then
12443 case $cross_compiling:$ac_tool_warned in
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12447 ac_tool_warned=yes ;;
12449 PKG_CONFIG=$ac_pt_PKG_CONFIG
12452 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12456 if test -n "$PKG_CONFIG"; then
12457 _pkg_min_version=0.9.0
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12459 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12460 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12462 $as_echo "yes" >&6; }
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465 $as_echo "no" >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRTLSDR" >&5
12472 $as_echo_n "checking for LIBRTLSDR... " >&6; }
12474 if test -n "$LIBRTLSDR_CFLAGS"; then
12475 pkg_cv_LIBRTLSDR_CFLAGS="$LIBRTLSDR_CFLAGS"
12476 elif test -n "$PKG_CONFIG"; then
12477 if test -n "$PKG_CONFIG" && \
12478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librtlsdr\""; } >&5
12479 ($PKG_CONFIG --exists --print-errors "librtlsdr") 2>&5
12481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12482 test $ac_status = 0; }; then
12483 pkg_cv_LIBRTLSDR_CFLAGS=`$PKG_CONFIG --cflags "librtlsdr" 2>/dev/null`
12484 test "x$?" != "x0" && pkg_failed=yes
12491 if test -n "$LIBRTLSDR_LIBS"; then
12492 pkg_cv_LIBRTLSDR_LIBS="$LIBRTLSDR_LIBS"
12493 elif test -n "$PKG_CONFIG"; then
12494 if test -n "$PKG_CONFIG" && \
12495 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librtlsdr\""; } >&5
12496 ($PKG_CONFIG --exists --print-errors "librtlsdr") 2>&5
12498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12499 test $ac_status = 0; }; then
12500 pkg_cv_LIBRTLSDR_LIBS=`$PKG_CONFIG --libs "librtlsdr" 2>/dev/null`
12501 test "x$?" != "x0" && pkg_failed=yes
12511 if test $pkg_failed = yes; then
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12513 $as_echo "no" >&6; }
12515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12516 _pkg_short_errors_supported=yes
12518 _pkg_short_errors_supported=no
12520 if test $_pkg_short_errors_supported = yes; then
12521 LIBRTLSDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librtlsdr" 2>&1`
12523 LIBRTLSDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librtlsdr" 2>&1`
12525 # Put the nasty error message in config.log where it belongs
12526 echo "$LIBRTLSDR_PKG_ERRORS" >&5
12528 as_fn_error $? "Package requirements (librtlsdr) were not met:
12530 $LIBRTLSDR_PKG_ERRORS
12532 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12533 installed software in a non-standard prefix.
12535 Alternatively, you may set the environment variables LIBRTLSDR_CFLAGS
12536 and LIBRTLSDR_LIBS to avoid the need to call pkg-config.
12537 See the pkg-config man page for more details." "$LINENO" 5
12538 elif test $pkg_failed = untried; then
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12540 $as_echo "no" >&6; }
12541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12543 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12544 is in your PATH or set the PKG_CONFIG environment variable to the full
12545 path to pkg-config.
12547 Alternatively, you may set the environment variables LIBRTLSDR_CFLAGS
12548 and LIBRTLSDR_LIBS to avoid the need to call pkg-config.
12549 See the pkg-config man page for more details.
12551 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12552 See \`config.log' for more details" "$LINENO" 5; }
12554 LIBRTLSDR_CFLAGS=$pkg_cv_LIBRTLSDR_CFLAGS
12555 LIBRTLSDR_LIBS=$pkg_cv_LIBRTLSDR_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12557 $as_echo "yes" >&6; }
12560 LIBS="$LIBS $LIBRTLSDR_LIBS"
12561 CFLAGS="$CFLAGS $LIBRTLSDR_CFLAGS"
12563 # Extract the first word of "doxygen", so it can be a program name with args.
12564 set dummy doxygen; ac_word=$2
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12566 $as_echo_n "checking for $ac_word... " >&6; }
12567 if ${ac_cv_path_DOXYGEN+:} false; then :
12568 $as_echo_n "(cached) " >&6
12572 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
12575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12576 for as_dir in $PATH
12579 test -z "$as_dir" && as_dir=.
12580 for ac_exec_ext in '' $ac_executable_extensions; do
12581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12582 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
12583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12590 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="false"
12594 DOXYGEN=$ac_cv_path_DOXYGEN
12595 if test -n "$DOXYGEN"; then
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
12597 $as_echo "$DOXYGEN" >&6; }
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12600 $as_echo "no" >&6; }
12604 if test $DOXYGEN != false; then
12606 HAVE_DOXYGEN_FALSE='#'
12608 HAVE_DOXYGEN_TRUE='#'
12609 HAVE_DOXYGEN_FALSE=
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12616 $as_echo_n "checking for ANSI C header files... " >&6; }
12617 if ${ac_cv_header_stdc+:} false; then :
12618 $as_echo_n "(cached) " >&6
12620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12622 #include <stdlib.h>
12623 #include <stdarg.h>
12624 #include <string.h>
12635 if ac_fn_c_try_compile "$LINENO"; then :
12636 ac_cv_header_stdc=yes
12638 ac_cv_header_stdc=no
12640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12642 if test $ac_cv_header_stdc = yes; then
12643 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12646 #include <string.h>
12649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12650 $EGREP "memchr" >/dev/null 2>&1; then :
12653 ac_cv_header_stdc=no
12659 if test $ac_cv_header_stdc = yes; then
12660 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12663 #include <stdlib.h>
12666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12667 $EGREP "free" >/dev/null 2>&1; then :
12670 ac_cv_header_stdc=no
12676 if test $ac_cv_header_stdc = yes; then
12677 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12678 if test "$cross_compiling" = yes; then :
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 #include <stdlib.h>
12685 #if ((' ' & 0x0FF) == 0x020)
12686 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12687 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12689 # define ISLOWER(c) \
12690 (('a' <= (c) && (c) <= 'i') \
12691 || ('j' <= (c) && (c) <= 'r') \
12692 || ('s' <= (c) && (c) <= 'z'))
12693 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12696 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12701 for (i = 0; i < 256; i++)
12702 if (XOR (islower (i), ISLOWER (i))
12703 || toupper (i) != TOUPPER (i))
12708 if ac_fn_c_try_run "$LINENO"; then :
12711 ac_cv_header_stdc=no
12713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12714 conftest.$ac_objext conftest.beam conftest.$ac_ext
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12720 $as_echo "$ac_cv_header_stdc" >&6; }
12721 if test $ac_cv_header_stdc = yes; then
12723 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12727 for ac_header in sys/types.h
12729 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
12730 if test "x$ac_cv_header_sys_types_h" = xyes; then :
12731 cat >>confdefs.h <<_ACEOF
12732 #define HAVE_SYS_TYPES_H 1
12741 RTLSDR_PC_LIBS="$LIBS"
12743 RTLSDR_PC_CFLAGS="$CFLAGS"
12747 # The following test is taken from WebKit's webkit.m4
12748 saved_CFLAGS="$CFLAGS"
12749 CFLAGS="$CFLAGS -fvisibility=hidden "
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CC} supports -fvisibility=hidden" >&5
12751 $as_echo_n "checking if ${CC} supports -fvisibility=hidden... " >&6; }
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12756 if ac_fn_c_try_compile "$LINENO"; then :
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12758 $as_echo "yes" >&6; }
12759 SYMBOL_VISIBILITY="-fvisibility=hidden"
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12765 CFLAGS="$saved_CFLAGS"
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler understands -Wall" >&5
12769 $as_echo_n "checking whether compiler understands -Wall... " >&6; }
12770 old_CFLAGS="$CFLAGS"
12771 CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused -Wsign-compare"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12783 if ac_fn_c_try_compile "$LINENO"; then :
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12785 $as_echo "yes" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12788 $as_echo "no" >&6; }
12789 CFLAGS="$old_CFLAGS"
12791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793 ac_config_headers="$ac_config_headers config.h"
12796 ac_config_files="$ac_config_files rtl433.pc include/Makefile src/Makefile Makefile Doxyfile"
12798 cat >confcache <<\_ACEOF
12799 # This file is a shell script that caches the results of configure
12800 # tests run on this system so they can be shared between configure
12801 # scripts and configure runs, see configure's option --config-cache.
12802 # It is not useful on other systems. If it contains results you don't
12803 # want to keep, you may remove or edit it.
12805 # config.status only pays attention to the cache file if you give it
12806 # the --recheck option to rerun configure.
12808 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12809 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12810 # following values.
12814 # The following way of writing the cache mishandles newlines in values,
12815 # but we know of no workaround that is simple, portable, and efficient.
12816 # So, we kill variables containing newlines.
12817 # Ultrix sh set writes to stderr and can't be redirected directly,
12818 # and sets the high bit in the cache file unless we assign to the vars.
12820 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12821 eval ac_val=\$$ac_var
12825 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12826 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12829 _ | IFS | as_nl) ;; #(
12830 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12831 *) { eval $ac_var=; unset $ac_var;} ;;
12837 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12838 *${as_nl}ac_space=\ *)
12839 # `set' does not quote correctly, so add quotes: double-quote
12840 # substitution turns \\\\ into \\, and sed turns \\ into \.
12843 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12846 # `set' quotes correctly as required by POSIX, so do not add quotes.
12847 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12856 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12858 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12860 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12861 if test -w "$cache_file"; then
12862 if test "x$cache_file" != "x/dev/null"; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12864 $as_echo "$as_me: updating cache $cache_file" >&6;}
12865 if test ! -f "$cache_file" || test -h "$cache_file"; then
12866 cat confcache >"$cache_file"
12868 case $cache_file in #(
12870 mv -f confcache "$cache_file"$$ &&
12871 mv -f "$cache_file"$$ "$cache_file" ;; #(
12873 mv -f confcache "$cache_file" ;;
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12879 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12884 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12885 # Let make expand exec_prefix.
12886 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12888 DEFS=-DHAVE_CONFIG_H
12892 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12893 # 1. Remove the extension, and $U if already installed.
12894 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12895 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12896 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12897 # will be set to the directory where LIBOBJS objects are built.
12898 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12899 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12901 LIBOBJS=$ac_libobjs
12903 LTLIBOBJS=$ac_ltlibobjs
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12907 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12908 if test -n "$am_sleep_pid"; then
12909 # Hide warnings about reused PIDs.
12910 wait $am_sleep_pid 2>/dev/null
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12913 $as_echo "done" >&6; }
12914 if test -n "$EXEEXT"; then
12916 am__EXEEXT_FALSE='#'
12918 am__EXEEXT_TRUE='#'
12922 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12923 as_fn_error $? "conditional \"AMDEP\" was never defined.
12924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12926 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12927 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12930 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
12931 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
12932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12935 : "${CONFIG_STATUS=./config.status}"
12937 ac_clean_files_save=$ac_clean_files
12938 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12940 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12942 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12944 # Generated by $as_me.
12945 # Run this file to recreate the current configuration.
12946 # Compiler output produced by configure, useful for debugging
12947 # configure, is in config.log if it exists.
12950 ac_cs_recheck=false
12953 SHELL=\${CONFIG_SHELL-$SHELL}
12956 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12957 ## -------------------- ##
12958 ## M4sh Initialization. ##
12959 ## -------------------- ##
12961 # Be more Bourne compatible
12962 DUALCASE=1; export DUALCASE # for MKS sh
12963 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12966 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12967 # is contrary to our usage. Disable this feature.
12968 alias -g '${1+"$@"}'='"$@"'
12969 setopt NO_GLOB_SUBST
12971 case `(set -o) 2>/dev/null` in #(
12983 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12984 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12985 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12986 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12987 # Prefer a ksh shell builtin over an external printf program on Solaris,
12988 # but without wasting forks for bash or zsh.
12989 if test -z "$BASH_VERSION$ZSH_VERSION" \
12990 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12991 as_echo='print -r --'
12992 as_echo_n='print -rn --'
12993 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12994 as_echo='printf %s\n'
12995 as_echo_n='printf %s'
12997 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12998 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12999 as_echo_n='/usr/ucb/echo -n'
13001 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13002 as_echo_n_body='eval
13006 expr "X$arg" : "X\\(.*\\)$as_nl";
13007 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13009 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13011 export as_echo_n_body
13012 as_echo_n='sh -c $as_echo_n_body as_echo'
13014 export as_echo_body
13015 as_echo='sh -c $as_echo_body as_echo'
13018 # The user is always right.
13019 if test "${PATH_SEPARATOR+set}" != set; then
13021 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13022 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13029 # We need space, tab and new line, in precisely that order. Quoting is
13030 # there to prevent editors from complaining about space-tab.
13031 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13032 # splitting by setting IFS to empty value.)
13035 # Find who we are. Look in the path if we contain no directory separator.
13038 *[\\/]* ) as_myself=$0 ;;
13039 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040 for as_dir in $PATH
13043 test -z "$as_dir" && as_dir=.
13044 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13050 # We did not find ourselves, most probably we were run as `sh COMMAND'
13051 # in which case we are not to be found in the path.
13052 if test "x$as_myself" = x; then
13055 if test ! -f "$as_myself"; then
13056 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13060 # Unset variables that we do not need and which cause bugs (e.g. in
13061 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13062 # suppresses any "Segmentation fault" message there. '((' could
13063 # trigger a bug in pdksh 5.2.14.
13064 for as_var in BASH_ENV ENV MAIL MAILPATH
13065 do eval test x\${$as_var+set} = xset \
13066 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13079 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13082 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13083 # ----------------------------------------
13084 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13085 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13086 # script with STATUS, using 1 if that was 0.
13089 as_status=$1; test $as_status -eq 0 && as_status=1
13091 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13092 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13094 $as_echo "$as_me: error: $2" >&2
13095 as_fn_exit $as_status
13099 # as_fn_set_status STATUS
13100 # -----------------------
13101 # Set $? to STATUS, without forking.
13102 as_fn_set_status ()
13105 } # as_fn_set_status
13107 # as_fn_exit STATUS
13108 # -----------------
13109 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13113 as_fn_set_status $1
13119 # Portably unset VAR.
13122 { eval $1=; unset $1;}
13124 as_unset=as_fn_unset
13125 # as_fn_append VAR VALUE
13126 # ----------------------
13127 # Append the text in VALUE to the end of the definition contained in VAR. Take
13128 # advantage of any shell optimizations that allow amortized linear growth over
13129 # repeated appends, instead of the typical quadratic growth present in naive
13131 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13132 eval 'as_fn_append ()
13143 # as_fn_arith ARG...
13144 # ------------------
13145 # Perform arithmetic evaluation on the ARGs, and store the result in the
13146 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13147 # must be portable across $(()) and expr.
13148 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13149 eval 'as_fn_arith ()
13156 as_val=`expr "$@" || test $? -eq 1`
13161 if expr a : '\(a\)' >/dev/null 2>&1 &&
13162 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13168 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13169 as_basename=basename
13174 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13180 as_me=`$as_basename -- "$0" ||
13181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13182 X"$0" : 'X\(//\)$' \| \
13183 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13185 sed '/^.*\/\([^/][^/]*\)\/*$/{
13199 # Avoid depending upon Character Ranges.
13200 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13201 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13202 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13203 as_cr_digits='0123456789'
13204 as_cr_alnum=$as_cr_Letters$as_cr_digits
13206 ECHO_C= ECHO_N= ECHO_T=
13207 case `echo -n x` in #(((((
13209 case `echo 'xy\c'` in
13210 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13212 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13219 rm -f conf$$ conf$$.exe conf$$.file
13220 if test -d conf$$.dir; then
13221 rm -f conf$$.dir/conf$$.file
13224 mkdir conf$$.dir 2>/dev/null
13226 if (echo >conf$$.file) 2>/dev/null; then
13227 if ln -s conf$$.file conf$$ 2>/dev/null; then
13229 # ... but there are two gotchas:
13230 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13231 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13232 # In both cases, we have to default to `cp -pR'.
13233 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13235 elif ln conf$$.file conf$$ 2>/dev/null; then
13243 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13244 rmdir conf$$.dir 2>/dev/null
13249 # Create "$as_dir" as a directory, including parents if necessary.
13254 -*) as_dir=./$as_dir;;
13256 test -d "$as_dir" || eval $as_mkdir_p || {
13260 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13261 *) as_qdir=$as_dir;;
13263 as_dirs="'$as_qdir' $as_dirs"
13264 as_dir=`$as_dirname -- "$as_dir" ||
13265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13266 X"$as_dir" : 'X\(//\)[^/]' \| \
13267 X"$as_dir" : 'X\(//\)$' \| \
13268 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13269 $as_echo X"$as_dir" |
13270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13274 /^X\(\/\/\)[^/].*/{
13287 test -d "$as_dir" && break
13289 test -z "$as_dirs" || eval "mkdir $as_dirs"
13290 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13294 if mkdir -p . 2>/dev/null; then
13295 as_mkdir_p='mkdir -p "$as_dir"'
13297 test -d ./-p && rmdir ./-p
13302 # as_fn_executable_p FILE
13303 # -----------------------
13304 # Test if FILE is an executable regular file.
13305 as_fn_executable_p ()
13307 test -f "$1" && test -x "$1"
13308 } # as_fn_executable_p
13309 as_test_x='test -x'
13310 as_executable_p=as_fn_executable_p
13312 # Sed expression to map a string onto a valid CPP name.
13313 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13315 # Sed expression to map a string onto a valid variable name.
13316 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13320 ## ----------------------------------- ##
13321 ## Main body of $CONFIG_STATUS script. ##
13322 ## ----------------------------------- ##
13324 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13327 # Save the log message, to keep $0 and so on meaningful, and to
13328 # report actual input values of CONFIG_FILES etc. instead of their
13329 # values after options handling.
13331 This file was extended by rtl433 $as_me UNKNOWN, which was
13332 generated by GNU Autoconf 2.69. Invocation command line was
13334 CONFIG_FILES = $CONFIG_FILES
13335 CONFIG_HEADERS = $CONFIG_HEADERS
13336 CONFIG_LINKS = $CONFIG_LINKS
13337 CONFIG_COMMANDS = $CONFIG_COMMANDS
13340 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13345 case $ac_config_files in *"
13346 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13349 case $ac_config_headers in *"
13350 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13355 # Files that config.status was made for.
13356 config_files="$ac_config_files"
13357 config_headers="$ac_config_headers"
13358 config_commands="$ac_config_commands"
13362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13364 \`$as_me' instantiates files and other configuration actions
13365 from templates according to the current configuration. Unless the files
13366 and actions are specified as TAGs, all are instantiated by default.
13368 Usage: $0 [OPTION]... [TAG]...
13370 -h, --help print this help, then exit
13371 -V, --version print version number and configuration settings, then exit
13372 --config print configuration, then exit
13373 -q, --quiet, --silent
13374 do not print progress messages
13375 -d, --debug don't remove temporary files
13376 --recheck update $as_me by reconfiguring in the same conditions
13377 --file=FILE[:TEMPLATE]
13378 instantiate the configuration file FILE
13379 --header=FILE[:TEMPLATE]
13380 instantiate the configuration header FILE
13382 Configuration files:
13385 Configuration headers:
13388 Configuration commands:
13391 Report bugs to <rtl_433@googlegroups.com>."
13394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13395 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13397 rtl433 config.status UNKNOWN
13398 configured by $0, generated by GNU Autoconf 2.69,
13399 with options \\"\$ac_cs_config\\"
13401 Copyright (C) 2012 Free Software Foundation, Inc.
13402 This config.status script is free software; the Free Software Foundation
13403 gives unlimited permission to copy, distribute and modify it."
13410 test -n "\$AWK" || AWK=awk
13413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13414 # The default lists apply if the user does not specify any file.
13420 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13421 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13425 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13437 # Handling of the options.
13438 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13440 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13441 $as_echo "$ac_cs_version"; exit ;;
13442 --config | --confi | --conf | --con | --co | --c )
13443 $as_echo "$ac_cs_config"; exit ;;
13444 --debug | --debu | --deb | --de | --d | -d )
13446 --file | --fil | --fi | --f )
13449 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13450 '') as_fn_error $? "missing file argument" ;;
13452 as_fn_append CONFIG_FILES " '$ac_optarg'"
13453 ac_need_defaults=false;;
13454 --header | --heade | --head | --hea )
13457 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13459 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13460 ac_need_defaults=false;;
13462 # Conflict between --help and --header
13463 as_fn_error $? "ambiguous option: \`$1'
13464 Try \`$0 --help' for more information.";;
13465 --help | --hel | -h )
13466 $as_echo "$ac_cs_usage"; exit ;;
13467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13468 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13471 # This is an error.
13472 -*) as_fn_error $? "unrecognized option: \`$1'
13473 Try \`$0 --help' for more information." ;;
13475 *) as_fn_append ac_config_targets " $1"
13476 ac_need_defaults=false ;;
13482 ac_configure_extra_args=
13484 if $ac_cs_silent; then
13486 ac_configure_extra_args="$ac_configure_extra_args --silent"
13490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13491 if \$ac_cs_recheck; then
13492 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13494 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13495 CONFIG_SHELL='$SHELL'
13496 export CONFIG_SHELL
13501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13505 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13506 ## Running $as_me. ##
13512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13516 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13519 # The HP-UX ksh and POSIX shell print the target directory to stdout
13520 # if CDPATH is set.
13521 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13523 sed_quote_subst='$sed_quote_subst'
13524 double_quote_subst='$double_quote_subst'
13525 delay_variable_subst='$delay_variable_subst'
13526 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13527 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13528 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13529 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13530 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13531 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13532 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
13533 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13534 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13535 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13536 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13537 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13538 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13539 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13540 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13541 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13542 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13543 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13544 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13545 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13546 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13547 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13548 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13549 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13550 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13551 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13552 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13553 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13554 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13555 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13556 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13557 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13558 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13559 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13560 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13561 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13562 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13563 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13564 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13565 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13566 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13567 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13568 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13569 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13570 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13571 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13572 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13573 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13574 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13575 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13576 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13577 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13578 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13579 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13580 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13581 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13582 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
13583 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13584 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"`'
13585 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
13586 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13587 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13588 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
13589 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13590 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13591 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13592 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13593 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13594 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13595 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13596 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13597 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13598 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13599 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13600 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13601 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13602 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13603 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13604 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13605 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13606 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13607 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13608 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13609 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13610 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13611 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13612 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13613 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13614 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13615 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13616 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13617 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13618 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13619 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13620 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13621 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13622 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13623 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13624 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13625 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13626 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13627 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13628 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13629 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13630 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13631 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13632 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13633 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13634 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13635 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13636 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13637 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13638 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13639 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13640 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13641 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13642 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13643 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13644 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13645 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13646 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13647 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13648 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13649 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13650 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13651 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13652 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13653 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13654 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13655 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13656 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13657 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13658 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13659 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13660 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13663 LTCFLAGS='$LTCFLAGS'
13664 compiler='$compiler_DEFAULT'
13666 # A function that is used when there is no print builtin or printf.
13667 func_fallback_echo ()
13669 eval 'cat <<_LTECHO_EOF
13674 # Quote evaled strings.
13689 deplibs_check_method \
13694 sharedlib_from_linklib_cmd \
13697 archiver_list_spec \
13703 lt_cv_sys_global_symbol_pipe \
13704 lt_cv_sys_global_symbol_to_cdecl \
13705 lt_cv_sys_global_symbol_to_import \
13706 lt_cv_sys_global_symbol_to_c_name_address \
13707 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13708 lt_cv_nm_interface \
13709 nm_file_list_spec \
13710 lt_cv_truncate_bin \
13711 lt_prog_compiler_no_builtin_flag \
13712 lt_prog_compiler_pic \
13713 lt_prog_compiler_wl \
13714 lt_prog_compiler_static \
13715 lt_cv_prog_compiler_c_o \
13724 export_dynamic_flag_spec \
13725 whole_archive_flag_spec \
13726 compiler_needs_object \
13728 allow_undefined_flag \
13729 no_undefined_flag \
13730 hardcode_libdir_flag_spec \
13731 hardcode_libdir_separator \
13735 variables_saved_for_relink \
13737 library_names_spec \
13739 install_override_mode \
13743 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13744 *[\\\\\\\`\\"\\\$]*)
13745 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13748 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13753 # Double-quote double-evaled strings.
13754 for var in reload_cmds \
13755 old_postinstall_cmds \
13756 old_postuninstall_cmds \
13758 extract_expsyms_cmds \
13759 old_archive_from_new_cmds \
13760 old_archive_from_expsyms_cmds \
13762 archive_expsym_cmds \
13764 module_expsym_cmds \
13765 export_symbols_cmds \
13769 postuninstall_cmds \
13771 sys_lib_search_path_spec \
13772 configure_time_dlsearch_path \
13773 configure_time_lt_sys_library_path; do
13774 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13775 *[\\\\\\\`\\"\\\$]*)
13776 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
13779 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13784 ac_aux_dir='$ac_aux_dir'
13786 # See if we are running on zsh, and set the options that allow our
13787 # commands through without removal of \ escapes INIT.
13788 if test -n "\${ZSH_VERSION+set}"; then
13789 setopt NO_GLOB_SUBST
13803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13805 # Handling of arguments.
13806 for ac_config_target in $ac_config_targets
13808 case $ac_config_target in
13809 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13810 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13811 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13812 "rtl433.pc") CONFIG_FILES="$CONFIG_FILES rtl433.pc" ;;
13813 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13814 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13815 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13816 "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
13818 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13823 # If the user did not use the arguments to specify the items to instantiate,
13824 # then the envvar interface is used. Set only those that are not.
13825 # We use the long form for the default assignment because of an extremely
13826 # bizarre bug on SunOS 4.1.3.
13827 if $ac_need_defaults; then
13828 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13829 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13830 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13833 # Have a temporary directory for convenience. Make it in the build tree
13834 # simply because there is no reason against having it here, and in addition,
13835 # creating and moving files from /tmp can sometimes cause problems.
13836 # Hook for its removal unless debugging.
13837 # Note that there is a small window in which the directory will not be cleaned:
13838 # after its creation but before its name has been assigned to `$tmp'.
13842 trap 'exit_status=$?
13843 : "${ac_tmp:=$tmp}"
13844 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13846 trap 'as_fn_exit 1' 1 2 13 15
13848 # Create a (secure) tmp directory for tmp files.
13851 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13855 tmp=./conf$$-$RANDOM
13856 (umask 077 && mkdir "$tmp")
13857 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13860 # Set up the scripts for CONFIG_FILES section.
13861 # No need to generate them if there are no CONFIG_FILES.
13862 # This happens for instance with `./config.status config.h'.
13863 if test -n "$CONFIG_FILES"; then
13866 ac_cr=`echo X | tr X '\015'`
13867 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13868 # But we know of no other shell where ac_cr would be empty at this
13869 # point, so we can use a bashism as a fallback.
13870 if test "x$ac_cr" = x; then
13871 eval ac_cr=\$\'\\r\'
13873 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13874 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13877 ac_cs_awk_cr=$ac_cr
13880 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13885 echo "cat >conf$$subs.awk <<_ACEOF" &&
13886 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13888 } >conf$$subs.sh ||
13889 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13890 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13892 for ac_last_try in false false false false false :; do
13893 . ./conf$$subs.sh ||
13894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13896 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13897 if test $ac_delim_n = $ac_delim_num; then
13899 elif $ac_last_try; then
13900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13902 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13905 rm -f conf$$subs.sh
13907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13908 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13912 s/^/S["/; s/!.*/"]=/
13922 s/\(.\{148\}\)..*/\1/
13924 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13929 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13936 s/\(.\{148\}\)..*/\1/
13938 s/["\\]/\\&/g; s/^/"/; s/$/"/
13942 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13947 ' <conf$$subs.awk | sed '
13952 ' >>$CONFIG_STATUS || ac_write_fail=1
13953 rm -f conf$$subs.awk
13954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13956 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13957 for (key in S) S_is_set[key] = 1
13963 nfields = split(line, field, "@")
13965 len = length(field[1])
13966 for (i = 2; i < nfields; i++) {
13968 keylen = length(key)
13969 if (S_is_set[key]) {
13971 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13972 len += length(value) + length(field[++i])
13983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13984 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13985 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13988 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13989 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13992 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13993 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13994 # trailing colons and then remove the whole line if VPATH becomes empty
13995 # (actually we leave an empty line to preserve line numbers).
13996 if test "x$srcdir" = x.; then
13997 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14016 fi # test -n "$CONFIG_FILES"
14018 # Set up the scripts for CONFIG_HEADERS section.
14019 # No need to generate them if there are no CONFIG_HEADERS.
14020 # This happens for instance with `./config.status Makefile'.
14021 if test -n "$CONFIG_HEADERS"; then
14022 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14026 # Transform confdefs.h into an awk script `defines.awk', embedded as
14027 # here-document in config.status, that substitutes the proper values into
14028 # config.h.in to produce config.h.
14030 # Create a delimiter string that does not exist in confdefs.h, to ease
14031 # handling of long lines.
14033 for ac_last_try in false false :; do
14034 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14035 if test -z "$ac_tt"; then
14037 elif $ac_last_try; then
14038 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14040 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14044 # For the awk script, D is an array of macro values keyed by name,
14045 # likewise P contains macro parameters if any. Preserve backslash
14046 # newline sequences.
14048 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14050 s/.\{148\}/&'"$ac_delim"'/g
14053 s/^[ ]*#[ ]*define[ ][ ]*/ /
14060 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14062 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14066 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14067 D["\1"]=" \3\\\\\\n"\\/p
14069 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14074 s/.\{148\}/&'"$ac_delim"'/g
14079 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14082 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14084 ' <confdefs.h | sed '
14085 s/'"$ac_delim"'/"\\\
14086 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14089 for (key in D) D_is_set[key] = 1
14092 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14094 split(line, arg, " ")
14095 if (arg[1] == "#") {
14099 defundef = substr(arg[1], 2)
14102 split(mac1, mac2, "(") #)
14104 prefix = substr(line, 1, index(line, defundef) - 1)
14105 if (D_is_set[macro]) {
14106 # Preserve the white space surrounding the "#".
14107 print prefix "define", macro P[macro] D[macro]
14110 # Replace #undef with comments. This is necessary, for example,
14111 # in the case of _POSIX_SOURCE, which is predefined and required
14112 # on some systems where configure will not decide to define it.
14113 if (defundef == "undef") {
14114 print "/*", prefix defundef, macro, "*/"
14122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14123 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14124 fi # test -n "$CONFIG_HEADERS"
14127 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14132 :[FHLC]) ac_mode=$ac_tag; continue;;
14134 case $ac_mode$ac_tag in
14136 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14137 :[FH]-) ac_tag=-:-;;
14138 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14155 -) ac_f="$ac_tmp/stdin";;
14156 *) # Look for the file first in the build tree, then in the source tree
14157 # (if the path is not absolute). The absolute path cannot be DOS-style,
14158 # because $ac_f cannot contain `:'.
14162 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14164 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14166 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14167 as_fn_append ac_file_inputs " '$ac_f'"
14170 # Let's still pretend it is `configure' which instantiates (i.e., don't
14171 # use $as_me), people would be surprised to read:
14172 # /* config.h. Generated by config.status. */
14173 configure_input='Generated from '`
14174 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14176 if test x"$ac_file" != x-; then
14177 configure_input="$ac_file. $configure_input"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14179 $as_echo "$as_me: creating $ac_file" >&6;}
14181 # Neutralize special characters interpreted by sed in replacement strings.
14182 case $configure_input in #(
14183 *\&* | *\|* | *\\* )
14184 ac_sed_conf_input=`$as_echo "$configure_input" |
14185 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14186 *) ac_sed_conf_input=$configure_input;;
14190 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14191 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14196 ac_dir=`$as_dirname -- "$ac_file" ||
14197 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14198 X"$ac_file" : 'X\(//\)[^/]' \| \
14199 X"$ac_file" : 'X\(//\)$' \| \
14200 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14201 $as_echo X"$ac_file" |
14202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14206 /^X\(\/\/\)[^/].*/{
14219 as_dir="$ac_dir"; as_fn_mkdir_p
14223 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14225 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14226 # A ".." for each directory in $ac_dir_suffix.
14227 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14228 case $ac_top_builddir_sub in
14229 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14230 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14233 ac_abs_top_builddir=$ac_pwd
14234 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14235 # for backward compatibility:
14236 ac_top_builddir=$ac_top_build_prefix
14239 .) # We are building in place.
14241 ac_top_srcdir=$ac_top_builddir_sub
14242 ac_abs_top_srcdir=$ac_pwd ;;
14243 [\\/]* | ?:[\\/]* ) # Absolute name.
14244 ac_srcdir=$srcdir$ac_dir_suffix;
14245 ac_top_srcdir=$srcdir
14246 ac_abs_top_srcdir=$srcdir ;;
14247 *) # Relative name.
14248 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14249 ac_top_srcdir=$ac_top_build_prefix$srcdir
14250 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14252 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14262 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14263 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14265 ac_MKDIR_P=$MKDIR_P
14267 [\\/$]* | ?:[\\/]* ) ;;
14268 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14273 # If the template does not know about datarootdir, expand it.
14274 # FIXME: This hack should be removed a few years after 2.60.
14275 ac_datarootdir_hack=; ac_datarootdir_seen=
14286 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14287 *datarootdir*) ac_datarootdir_seen=yes;;
14288 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14290 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14293 ac_datarootdir_hack='
14294 s&@datadir@&$datadir&g
14295 s&@docdir@&$docdir&g
14296 s&@infodir@&$infodir&g
14297 s&@localedir@&$localedir&g
14298 s&@mandir@&$mandir&g
14299 s&\\\${datarootdir}&$datarootdir&g' ;;
14303 # Neutralize VPATH when `$srcdir' = `.'.
14304 # Shell code in configure.ac might set extrasub.
14305 # FIXME: do we really want to maintain this feature?
14306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14307 ac_sed_extra="$ac_vpsub
14310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14312 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14313 s|@configure_input@|$ac_sed_conf_input|;t t
14314 s&@top_builddir@&$ac_top_builddir_sub&;t t
14315 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14316 s&@srcdir@&$ac_srcdir&;t t
14317 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14318 s&@top_srcdir@&$ac_top_srcdir&;t t
14319 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14320 s&@builddir@&$ac_builddir&;t t
14321 s&@abs_builddir@&$ac_abs_builddir&;t t
14322 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14323 s&@INSTALL@&$ac_INSTALL&;t t
14324 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14325 $ac_datarootdir_hack
14327 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14328 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14330 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14331 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14332 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14333 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14335 which seems to be undefined. Please make sure it is defined" >&5
14336 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14337 which seems to be undefined. Please make sure it is defined" >&2;}
14339 rm -f "$ac_tmp/stdin"
14341 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14342 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14344 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14350 if test x"$ac_file" != x-; then
14352 $as_echo "/* $configure_input */" \
14353 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14354 } >"$ac_tmp/config.h" \
14355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14356 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14358 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14361 mv "$ac_tmp/config.h" "$ac_file" \
14362 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14365 $as_echo "/* $configure_input */" \
14366 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14367 || as_fn_error $? "could not create -" "$LINENO" 5
14369 # Compute "$ac_file"'s index in $config_headers.
14372 for _am_header in $config_headers :; do
14373 case $_am_header in
14374 $_am_arg | $_am_arg:* )
14377 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14380 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14381 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14382 X"$_am_arg" : 'X\(//\)[^/]' \| \
14383 X"$_am_arg" : 'X\(//\)$' \| \
14384 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14385 $as_echo X"$_am_arg" |
14386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14390 /^X\(\/\/\)[^/].*/{
14402 s/.*/./; q'`/stamp-h$_am_stamp_count
14405 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14406 $as_echo "$as_me: executing $ac_file commands" >&6;}
14411 case $ac_file$ac_mode in
14412 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14413 # Older Autoconf quotes --file arguments for eval, but not when files
14414 # are listed without --file. Let's play safe and only enable the eval
14415 # if we detect the quoting.
14416 case $CONFIG_FILES in
14417 *\'*) eval set x "$CONFIG_FILES" ;;
14418 *) set x $CONFIG_FILES ;;
14423 # Strip MF so we end up with the name of the file.
14424 mf=`echo "$mf" | sed -e 's/:.*$//'`
14425 # Check whether this is an Automake generated Makefile or not.
14426 # We used to match only the files named 'Makefile.in', but
14427 # some people rename them; so instead we look at the file content.
14428 # Grep'ing the first line is not enough: some people post-process
14429 # each Makefile.in and add a new line on top of each file to say so.
14430 # Grep'ing the whole file is not good either: AIX grep has a line
14431 # limit of 2048, but all sed's we know have understand at least 4000.
14432 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14433 dirpart=`$as_dirname -- "$mf" ||
14434 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14435 X"$mf" : 'X\(//\)[^/]' \| \
14436 X"$mf" : 'X\(//\)$' \| \
14437 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14443 /^X\(\/\/\)[^/].*/{
14459 # Extract the definition of DEPDIR, am__include, and am__quote
14460 # from the Makefile without running 'make'.
14461 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14462 test -z "$DEPDIR" && continue
14463 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14464 test -z "$am__include" && continue
14465 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14466 # Find all dependency output files, they are included files with
14467 # $(DEPDIR) in their names. We invoke sed twice because it is the
14468 # simplest approach to changing $(DEPDIR) to its actual value in the
14470 for file in `sed -n "
14471 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14472 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14473 # Make sure the directory exists.
14474 test -f "$dirpart/$file" && continue
14475 fdir=`$as_dirname -- "$file" ||
14476 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14477 X"$file" : 'X\(//\)[^/]' \| \
14478 X"$file" : 'X\(//\)$' \| \
14479 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14480 $as_echo X"$file" |
14481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14485 /^X\(\/\/\)[^/].*/{
14498 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14499 # echo "creating $dirpart/$file"
14500 echo '# dummy' > "$dirpart/$file"
14507 # See if we are running on zsh, and set the options that allow our
14508 # commands through without removal of \ escapes.
14509 if test -n "${ZSH_VERSION+set}"; then
14510 setopt NO_GLOB_SUBST
14514 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14517 cat <<_LT_EOF >> "$cfgfile"
14519 # Generated automatically by $as_me ($PACKAGE) $VERSION
14520 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14521 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14523 # Provide generalized library-building support services.
14524 # Written by Gordon Matzigkeit, 1996
14526 # Copyright (C) 2014 Free Software Foundation, Inc.
14527 # This is free software; see the source for copying conditions. There is NO
14528 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14530 # GNU Libtool is free software; you can redistribute it and/or modify
14531 # it under the terms of the GNU General Public License as published by
14532 # the Free Software Foundation; either version 2 of of the License, or
14533 # (at your option) any later version.
14535 # As a special exception to the GNU General Public License, if you
14536 # distribute this file as part of a program or library that is built
14537 # using GNU Libtool, you may include this file under the same
14538 # distribution terms that you use for the rest of that program.
14540 # GNU Libtool is distributed in the hope that it will be useful, but
14541 # WITHOUT ANY WARRANTY; without even the implied warranty of
14542 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14543 # GNU General Public License for more details.
14545 # You should have received a copy of the GNU General Public License
14546 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14549 # The names of the tagged configurations supported by this script.
14552 # Configured defaults for sys_lib_dlsearch_path munging.
14553 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14555 # ### BEGIN LIBTOOL CONFIG
14557 # Which release of libtool.m4 was used?
14558 macro_version=$macro_version
14559 macro_revision=$macro_revision
14561 # Whether or not to build shared libraries.
14562 build_libtool_libs=$enable_shared
14564 # Whether or not to build static libraries.
14565 build_old_libs=$enable_static
14567 # What type of objects to build.
14570 # Whether or not to optimize for fast installation.
14571 fast_install=$enable_fast_install
14573 # Shared archive member basename,for filename based shared library versioning on AIX.
14574 shared_archive_member_spec=$shared_archive_member_spec
14576 # Shell to use when invoking shell scripts.
14579 # An echo program that protects backslashes.
14582 # The PATH separator for the build system.
14583 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14586 host_alias=$host_alias
14590 # The build system.
14591 build_alias=$build_alias
14595 # A sed program that does not truncate output.
14598 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14599 Xsed="\$SED -e 1s/^X//"
14601 # A grep program that handles long lines.
14607 # A literal string matcher.
14610 # A BSD- or MS-compatible name lister.
14613 # Whether we need soft or hard links.
14616 # What is the maximum length of a command?
14617 max_cmd_len=$max_cmd_len
14619 # Object file suffix (normally "o").
14622 # Executable file suffix (normally "").
14625 # whether the shell understands "unset".
14628 # turn spaces into newlines.
14631 # turn newlines into spaces.
14634 # convert \$build file names to \$host format.
14635 to_host_file_cmd=$lt_cv_to_host_file_cmd
14637 # convert \$build files to toolchain format.
14638 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14640 # An object symbol dumper.
14641 OBJDUMP=$lt_OBJDUMP
14643 # Method to check whether dependent libraries are shared objects.
14644 deplibs_check_method=$lt_deplibs_check_method
14646 # Command to use when deplibs_check_method = "file_magic".
14647 file_magic_cmd=$lt_file_magic_cmd
14649 # How to find potential files when deplibs_check_method = "file_magic".
14650 file_magic_glob=$lt_file_magic_glob
14652 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14653 want_nocaseglob=$lt_want_nocaseglob
14655 # DLL creation program.
14656 DLLTOOL=$lt_DLLTOOL
14658 # Command to associate shared and link libraries.
14659 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14664 # Flags to create an archive.
14665 AR_FLAGS=$lt_AR_FLAGS
14667 # How to feed a file listing to the archiver.
14668 archiver_list_spec=$lt_archiver_list_spec
14670 # A symbol stripping program.
14673 # Commands used to install an old-style archive.
14675 old_postinstall_cmds=$lt_old_postinstall_cmds
14676 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14678 # Whether to use a lock for old archive extraction.
14679 lock_old_archive_extraction=$lock_old_archive_extraction
14684 # LTCC compiler flags.
14685 LTCFLAGS=$lt_CFLAGS
14687 # Take the output of nm and produce a listing of raw symbols and C names.
14688 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14690 # Transform the output of nm in a proper C declaration.
14691 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14693 # Transform the output of nm into a list of symbols to manually relocate.
14694 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
14696 # Transform the output of nm in a C name address pair.
14697 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14699 # Transform the output of nm in a C name address pair when lib prefix is needed.
14700 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14702 # The name lister interface.
14703 nm_interface=$lt_lt_cv_nm_interface
14705 # Specify filename containing input files for \$NM.
14706 nm_file_list_spec=$lt_nm_file_list_spec
14708 # The root where to search for dependent libraries,and where our libraries should be installed.
14709 lt_sysroot=$lt_sysroot
14711 # Command to truncate a binary pipe.
14712 lt_truncate_bin=$lt_lt_cv_truncate_bin
14714 # The name of the directory that contains temporary libtool files.
14717 # Used to examine libraries when file_magic_cmd begins with "file".
14718 MAGIC_CMD=$MAGIC_CMD
14720 # Must we lock files when doing compilation?
14721 need_locks=$lt_need_locks
14724 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14726 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14727 DSYMUTIL=$lt_DSYMUTIL
14729 # Tool to change global to local symbols on Mac OS X.
14732 # Tool to manipulate fat objects and archives on Mac OS X.
14735 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14738 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14739 OTOOL64=$lt_OTOOL64
14741 # Old archive suffix (normally "a").
14744 # Shared library suffix (normally ".so").
14745 shrext_cmds=$lt_shrext_cmds
14747 # The commands to extract the exported symbol list from a shared archive.
14748 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14750 # Variables whose values should be saved in libtool wrapper scripts and
14751 # restored at link time.
14752 variables_saved_for_relink=$lt_variables_saved_for_relink
14754 # Do we need the "lib" prefix for modules?
14755 need_lib_prefix=$need_lib_prefix
14757 # Do we need a version for libraries?
14758 need_version=$need_version
14760 # Library versioning type.
14761 version_type=$version_type
14763 # Shared library runtime path variable.
14764 runpath_var=$runpath_var
14766 # Shared library path variable.
14767 shlibpath_var=$shlibpath_var
14769 # Is shlibpath searched before the hard-coded library search path?
14770 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14772 # Format of library name prefix.
14773 libname_spec=$lt_libname_spec
14775 # List of archive names. First name is the real one, the rest are links.
14776 # The last name is the one that the linker finds with -lNAME
14777 library_names_spec=$lt_library_names_spec
14779 # The coded name of the library, if different from the real name.
14780 soname_spec=$lt_soname_spec
14782 # Permission mode override for installation of shared libraries.
14783 install_override_mode=$lt_install_override_mode
14785 # Command to use after installation of a shared archive.
14786 postinstall_cmds=$lt_postinstall_cmds
14788 # Command to use after uninstallation of a shared archive.
14789 postuninstall_cmds=$lt_postuninstall_cmds
14791 # Commands used to finish a libtool library installation in a directory.
14792 finish_cmds=$lt_finish_cmds
14794 # As "finish_cmds", except a single script fragment to be evaled but
14796 finish_eval=$lt_finish_eval
14798 # Whether we should hardcode library paths into libraries.
14799 hardcode_into_libs=$hardcode_into_libs
14801 # Compile-time system search path for libraries.
14802 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14804 # Detected run-time system search path for libraries.
14805 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14807 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14808 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14810 # Whether dlopen is supported.
14811 dlopen_support=$enable_dlopen
14813 # Whether dlopen of programs is supported.
14814 dlopen_self=$enable_dlopen_self
14816 # Whether dlopen of statically linked programs is supported.
14817 dlopen_self_static=$enable_dlopen_self_static
14819 # Commands to strip libraries.
14820 old_striplib=$lt_old_striplib
14821 striplib=$lt_striplib
14824 # The linker used to build libraries.
14827 # How to create reloadable object files.
14828 reload_flag=$lt_reload_flag
14829 reload_cmds=$lt_reload_cmds
14831 # Commands used to build an old-style archive.
14832 old_archive_cmds=$lt_old_archive_cmds
14834 # A language specific compiler.
14837 # Is the compiler the GNU compiler?
14840 # Compiler flag to turn off builtin functions.
14841 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14843 # Additional compiler flags for building library objects.
14844 pic_flag=$lt_lt_prog_compiler_pic
14846 # How to pass a linker flag through the compiler.
14847 wl=$lt_lt_prog_compiler_wl
14849 # Compiler flag to prevent dynamic linking.
14850 link_static_flag=$lt_lt_prog_compiler_static
14852 # Does compiler simultaneously support -c and -o options?
14853 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14855 # Whether or not to add -lc for building shared libraries.
14856 build_libtool_need_lc=$archive_cmds_need_lc
14858 # Whether or not to disallow shared libs when runtime libs are static.
14859 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14861 # Compiler flag to allow reflexive dlopens.
14862 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14864 # Compiler flag to generate shared objects directly from archives.
14865 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14867 # Whether the compiler copes with passing no objects directly.
14868 compiler_needs_object=$lt_compiler_needs_object
14870 # Create an old-style archive from a shared archive.
14871 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14873 # Create a temporary old-style archive to link instead of a shared archive.
14874 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14876 # Commands used to build a shared archive.
14877 archive_cmds=$lt_archive_cmds
14878 archive_expsym_cmds=$lt_archive_expsym_cmds
14880 # Commands used to build a loadable module if different from building
14881 # a shared archive.
14882 module_cmds=$lt_module_cmds
14883 module_expsym_cmds=$lt_module_expsym_cmds
14885 # Whether we are building with GNU ld or not.
14886 with_gnu_ld=$lt_with_gnu_ld
14888 # Flag that allows shared libraries with undefined symbols to be built.
14889 allow_undefined_flag=$lt_allow_undefined_flag
14891 # Flag that enforces no undefined symbols.
14892 no_undefined_flag=$lt_no_undefined_flag
14894 # Flag to hardcode \$libdir into a binary during linking.
14895 # This must work even if \$libdir does not exist
14896 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14898 # Whether we need a single "-rpath" flag with a separated argument.
14899 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14901 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14902 # DIR into the resulting binary.
14903 hardcode_direct=$hardcode_direct
14905 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
14906 # DIR into the resulting binary and the resulting library dependency is
14907 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
14908 # library is relocated.
14909 hardcode_direct_absolute=$hardcode_direct_absolute
14911 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14912 # into the resulting binary.
14913 hardcode_minus_L=$hardcode_minus_L
14915 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14916 # into the resulting binary.
14917 hardcode_shlibpath_var=$hardcode_shlibpath_var
14919 # Set to "yes" if building a shared library automatically hardcodes DIR
14920 # into the library and all subsequent libraries and executables linked
14922 hardcode_automatic=$hardcode_automatic
14924 # Set to yes if linker adds runtime paths of dependent libraries
14925 # to runtime path list.
14926 inherit_rpath=$inherit_rpath
14928 # Whether libtool must link a program against all its dependency libraries.
14929 link_all_deplibs=$link_all_deplibs
14931 # Set to "yes" if exported symbols are required.
14932 always_export_symbols=$always_export_symbols
14934 # The commands to list exported symbols.
14935 export_symbols_cmds=$lt_export_symbols_cmds
14937 # Symbols that should not be listed in the preloaded symbols.
14938 exclude_expsyms=$lt_exclude_expsyms
14940 # Symbols that must always be exported.
14941 include_expsyms=$lt_include_expsyms
14943 # Commands necessary for linking programs (against libraries) with templates.
14944 prelink_cmds=$lt_prelink_cmds
14946 # Commands necessary for finishing linking programs.
14947 postlink_cmds=$lt_postlink_cmds
14949 # Specify filename containing input files.
14950 file_list_spec=$lt_file_list_spec
14952 # How to hardcode a shared library path into an executable.
14953 hardcode_action=$hardcode_action
14955 # ### END LIBTOOL CONFIG
14959 cat <<'_LT_EOF' >> "$cfgfile"
14961 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14963 # func_munge_path_list VARIABLE PATH
14964 # -----------------------------------
14965 # VARIABLE is name of variable containing _space_ separated list of
14966 # directories to be munged by the contents of PATH, which is string
14969 # string "DIR[ DIR]" will be prepended to VARIABLE
14971 # string "DIR[ DIR]" will be appended to VARIABLE
14972 # "DIRP[:DIRP]::[DIRA:]DIRA"
14973 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14974 # "DIRA[ DIRA]" will be appended to VARIABLE
14976 # VARIABLE will be replaced by "DIR[ DIR]"
14977 func_munge_path_list ()
14983 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14986 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14989 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14990 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14993 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14999 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
15000 func_cc_basename ()
15002 for cc_temp in $*""; do
15004 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15005 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15010 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15014 # ### END FUNCTIONS SHARED WITH CONFIGURE
15020 cat <<\_LT_EOF >> "$cfgfile"
15021 # AIX sometimes has problems with the GCC collect2 program. For some
15022 # reason, if we set the COLLECT_NAMES environment variable, the problems
15023 # vanish in a puff of smoke.
15024 if test set != "${COLLECT_NAMES+set}"; then
15026 export COLLECT_NAMES
15033 ltmain=$ac_aux_dir/ltmain.sh
15036 # We use sed instead of cat because bash on DJGPP gets confused if
15037 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15038 # text mode, it properly converts lines to CR/LF. This bash problem
15039 # is reportedly fixed, but why not run on old versions too?
15040 sed '$q' "$ltmain" >> "$cfgfile" \
15041 || (rm -f "$cfgfile"; exit 1)
15043 mv -f "$cfgfile" "$ofile" ||
15044 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15055 ac_clean_files=$ac_clean_files_save
15057 test $ac_write_fail = 0 ||
15058 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15061 # configure is writing to config.log, and then calls config.status.
15062 # config.status does its own redirection, appending to config.log.
15063 # Unfortunately, on DOS this fails, as config.log is still kept open
15064 # by configure, so config.status won't be able to write to it; its
15065 # output is simply discarded. So we exec the FD to /dev/null,
15066 # effectively closing config.log, so it can be properly (re)opened and
15067 # appended to by config.status. When coming back to configure, we
15068 # need to make the FD available again.
15069 if test "$no_create" != yes; then
15071 ac_config_status_args=
15072 test "$silent" = yes &&
15073 ac_config_status_args="$ac_config_status_args --quiet"
15075 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15077 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15078 # would make configure fail if this is the last instruction.
15079 $ac_cs_success || as_fn_exit 1
15081 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15083 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}