2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for liblqr-1 0.3.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
616 for dir
in $PATH /usr
/ucb
; do
618 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
628 if test "X$ECHO" = Xecho
; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
635 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL
=/bin
/ksh
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
651 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
657 SHELL
="$CONFIG_SHELL"
659 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
666 # maybe with a smaller string...
669 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string
=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682 # Oops. We lost completely, so just stick with echo.
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev
/null
6>&1
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
711 ac_default_prefix
=/usr
/local
713 ac_config_libobj_dir
=.
719 SHELL
=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
722 PACKAGE_NAME
='liblqr-1'
723 PACKAGE_TARNAME
='liblqr-1'
724 PACKAGE_VERSION
='0.3.0'
725 PACKAGE_STRING
='liblqr-1 0.3.0'
728 ac_unique_file
="lqr/lqr_carver.c"
729 # Factoring default headers for most tests.
730 ac_includes_default
="\
732 #ifdef HAVE_SYS_TYPES_H
733 # include <sys/types.h>
735 #ifdef HAVE_SYS_STAT_H
736 # include <sys/stat.h>
742 # ifdef HAVE_STDLIB_H
747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
752 #ifdef HAVE_STRINGS_H
753 # include <strings.h>
755 #ifdef HAVE_INTTYPES_H
756 # include <inttypes.h>
774 program_transform_name
820 INSTALL_STRIP_PROGRAM
872 MAINTAINER_MODE_FALSE
884 ac_precious_vars
='build_alias
898 # Initialize some variables set by options.
900 ac_init_version
=false
901 # The variables have the same names as the options, with
902 # dashes changed to underlines.
910 program_transform_name
=s
,x
,x
,
918 # Installation directory options.
919 # These are left unexpanded so users can "make install exec_prefix=/foo"
920 # and all the variables that are supposed to be based on exec_prefix
921 # by default will actually change.
922 # Use braces instead of parens because sh, perl, etc. also accept them.
923 # (The list follows the same order as the GNU Coding Standards.)
924 bindir
='${exec_prefix}/bin'
925 sbindir
='${exec_prefix}/sbin'
926 libexecdir
='${exec_prefix}/libexec'
927 datarootdir
='${prefix}/share'
928 datadir
='${datarootdir}'
929 sysconfdir
='${prefix}/etc'
930 sharedstatedir
='${prefix}/com'
931 localstatedir
='${prefix}/var'
932 includedir
='${prefix}/include'
933 oldincludedir
='/usr/include'
934 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
935 infodir
='${datarootdir}/info'
940 libdir
='${exec_prefix}/lib'
941 localedir
='${datarootdir}/locale'
942 mandir
='${datarootdir}/man'
948 # If the previous option needs an argument, assign it.
949 if test -n "$ac_prev"; then
950 eval $ac_prev=\
$ac_option
956 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960 # Accept the important Cygnus configure options, so we can diagnose typos.
962 case $ac_dashdash$ac_option in
966 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
968 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
971 -build |
--build |
--buil |
--bui |
--bu)
972 ac_prev
=build_alias
;;
973 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
974 build_alias
=$ac_optarg ;;
976 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
977 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
978 ac_prev
=cache_file
;;
979 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
980 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
981 cache_file
=$ac_optarg ;;
984 cache_file
=config.cache
;;
986 -datadir |
--datadir |
--datadi |
--datad)
988 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
989 datadir
=$ac_optarg ;;
991 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
992 |
--dataroo |
--dataro |
--datar)
993 ac_prev
=datarootdir
;;
994 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
995 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
996 datarootdir
=$ac_optarg ;;
998 -disable-* |
--disable-*)
999 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1002 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1003 { (exit 1); exit 1; }; }
1004 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1005 eval enable_
$ac_feature=no
;;
1007 -docdir |
--docdir |
--docdi |
--doc |
--do)
1009 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1010 docdir
=$ac_optarg ;;
1012 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1014 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1015 dvidir
=$ac_optarg ;;
1017 -enable-* |
--enable-*)
1018 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1021 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1022 { (exit 1); exit 1; }; }
1023 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1024 eval enable_
$ac_feature=\
$ac_optarg ;;
1026 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1027 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1028 |
--exec |
--exe |
--ex)
1029 ac_prev
=exec_prefix
;;
1030 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1031 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1032 |
--exec=* |
--exe=* |
--ex=*)
1033 exec_prefix
=$ac_optarg ;;
1035 -gas |
--gas |
--ga |
--g)
1036 # Obsolete; use --with-gas.
1039 -help |
--help |
--hel |
--he |
-h)
1040 ac_init_help
=long
;;
1041 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1042 ac_init_help
=recursive
;;
1043 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1044 ac_init_help
=short
;;
1046 -host |
--host |
--hos |
--ho)
1047 ac_prev
=host_alias
;;
1048 -host=* |
--host=* |
--hos=* |
--ho=*)
1049 host_alias
=$ac_optarg ;;
1051 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1053 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1055 htmldir
=$ac_optarg ;;
1057 -includedir |
--includedir |
--includedi |
--included |
--include \
1058 |
--includ |
--inclu |
--incl |
--inc)
1059 ac_prev
=includedir
;;
1060 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1061 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1062 includedir
=$ac_optarg ;;
1064 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1066 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1067 infodir
=$ac_optarg ;;
1069 -libdir |
--libdir |
--libdi |
--libd)
1071 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1072 libdir
=$ac_optarg ;;
1074 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1075 |
--libexe |
--libex |
--libe)
1076 ac_prev
=libexecdir
;;
1077 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1078 |
--libexe=* |
--libex=* |
--libe=*)
1079 libexecdir
=$ac_optarg ;;
1081 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1082 ac_prev
=localedir
;;
1083 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1084 localedir
=$ac_optarg ;;
1086 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1087 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1088 ac_prev
=localstatedir
;;
1089 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1090 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1091 localstatedir
=$ac_optarg ;;
1093 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1095 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1096 mandir
=$ac_optarg ;;
1098 -nfp |
--nfp |
--nf)
1099 # Obsolete; use --without-fp.
1102 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1103 |
--no-cr |
--no-c |
-n)
1106 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1107 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1110 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1111 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1112 |
--oldin |
--oldi |
--old |
--ol |
--o)
1113 ac_prev
=oldincludedir
;;
1114 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1115 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1116 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1117 oldincludedir
=$ac_optarg ;;
1119 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1121 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1122 prefix
=$ac_optarg ;;
1124 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1125 |
--program-pre |
--program-pr |
--program-p)
1126 ac_prev
=program_prefix
;;
1127 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1128 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1129 program_prefix
=$ac_optarg ;;
1131 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1132 |
--program-suf |
--program-su |
--program-s)
1133 ac_prev
=program_suffix
;;
1134 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1135 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1136 program_suffix
=$ac_optarg ;;
1138 -program-transform-name |
--program-transform-name \
1139 |
--program-transform-nam |
--program-transform-na \
1140 |
--program-transform-n |
--program-transform- \
1141 |
--program-transform |
--program-transfor \
1142 |
--program-transfo |
--program-transf \
1143 |
--program-trans |
--program-tran \
1144 |
--progr-tra |
--program-tr |
--program-t)
1145 ac_prev
=program_transform_name
;;
1146 -program-transform-name=* |
--program-transform-name=* \
1147 |
--program-transform-nam=* |
--program-transform-na=* \
1148 |
--program-transform-n=* |
--program-transform-=* \
1149 |
--program-transform=* |
--program-transfor=* \
1150 |
--program-transfo=* |
--program-transf=* \
1151 |
--program-trans=* |
--program-tran=* \
1152 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1153 program_transform_name
=$ac_optarg ;;
1155 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1157 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1158 pdfdir
=$ac_optarg ;;
1160 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1162 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1165 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1166 |
-silent |
--silent |
--silen |
--sile |
--sil)
1169 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1171 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1173 sbindir
=$ac_optarg ;;
1175 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1176 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1177 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1179 ac_prev
=sharedstatedir
;;
1180 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1181 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1182 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1184 sharedstatedir
=$ac_optarg ;;
1186 -site |
--site |
--sit)
1188 -site=* |
--site=* |
--sit=*)
1191 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1193 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1194 srcdir
=$ac_optarg ;;
1196 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1197 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1198 ac_prev
=sysconfdir
;;
1199 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1200 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1201 sysconfdir
=$ac_optarg ;;
1203 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1204 ac_prev
=target_alias
;;
1205 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1206 target_alias
=$ac_optarg ;;
1208 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1211 -version |
--version |
--versio |
--versi |
--vers |
-V)
1212 ac_init_version
=: ;;
1215 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1218 { echo "$as_me: error: invalid package name: $ac_package" >&2
1219 { (exit 1); exit 1; }; }
1220 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1221 eval with_
$ac_package=\
$ac_optarg ;;
1223 -without-* |
--without-*)
1224 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1227 { echo "$as_me: error: invalid package name: $ac_package" >&2
1228 { (exit 1); exit 1; }; }
1229 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1230 eval with_
$ac_package=no
;;
1233 # Obsolete; use --with-x.
1236 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1237 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1238 ac_prev
=x_includes
;;
1239 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1240 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1241 x_includes
=$ac_optarg ;;
1243 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1244 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1245 ac_prev
=x_libraries
;;
1246 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1247 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1248 x_libraries
=$ac_optarg ;;
1250 -*) { echo "$as_me: error: unrecognized option: $ac_option
1251 Try \`$0 --help' for more information." >&2
1252 { (exit 1); exit 1; }; }
1256 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1259 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1260 { (exit 1); exit 1; }; }
1261 eval $ac_envvar=\
$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1268 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1275 if test -n "$ac_prev"; then
1276 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1277 { echo "$as_me: error: missing argument to $ac_option" >&2
1278 { (exit 1); exit 1; }; }
1281 # Be sure to have absolute directory names.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir
1287 eval ac_val
=\$
$ac_var
1289 [\\/$
]* | ?
:[\\/]* ) continue;;
1290 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1292 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1293 { (exit 1); exit 1; }; }
1296 # There might be people who depend on the old broken behavior: `$host'
1297 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day.
1301 target
=$target_alias
1303 # FIXME: To remove some day.
1304 if test "x$host_alias" != x
; then
1305 if test "x$build_alias" = x
; then
1306 cross_compiling
=maybe
1307 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1308 If a cross compiler is detected then cross compile mode will be used." >&2
1309 elif test "x$build_alias" != "x$host_alias"; then
1315 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1317 test "$silent" = yes && exec 6>/dev
/null
1320 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di
=`ls -di .` &&
1322 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1323 { echo "$as_me: error: Working directory cannot be determined" >&2
1324 { (exit 1); exit 1; }; }
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 { echo "$as_me: error: pwd does not report name of working directory" >&2
1327 { (exit 1); exit 1; }; }
1330 # Find the source files, if location was not specified.
1331 if test -z "$srcdir"; then
1332 ac_srcdir_defaulted
=yes
1333 # Try the directory containing this script, then the parent directory.
1334 ac_confdir
=`$as_dirname -- "$0" ||
1335 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336 X"$0" : 'X\(//\)[^/]' \| \
1337 X"$0" : 'X\(//\)$' \| \
1338 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1362 ac_srcdir_defaulted
=no
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1366 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1367 { (exit 1); exit 1; }; }
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1372 { (exit 1); exit 1; }; }
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures liblqr-1 0.3.0 to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/liblqr-1]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --program-prefix=PREFIX prepend PREFIX to installed program names
1457 --program-suffix=SUFFIX append SUFFIX to installed program names
1458 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1461 --build=BUILD configure
for building on BUILD
[guessed
]
1462 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive
) echo "Configuration of liblqr-1 0.3.0:";;
1473 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1474 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1475 --disable-dependency-tracking speeds up one-time build
1476 --enable-dependency-tracking do not reject slow dependency extractors
1477 --enable-static[=PKGS
] build static libraries
[default
=no
]
1478 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1479 --enable-fast-install[=PKGS
]
1480 optimize
for fast installation
[default
=yes]
1481 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --enable-maintainer-mode enable make rules and dependencies not useful
1483 (and sometimes confusing
) to the casual installer
1484 --enable-install-man Install man pages
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1493 Some influential environment variables
:
1494 CC C compiler
command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1497 nonstandard directory
<lib dir
>
1498 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1499 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1500 you have headers
in a nonstandard directory
<include dir
>
1502 PKG_CONFIG path to pkg-config utility
1503 GLIB_CFLAGS C compiler flags
for GLIB
, overriding pkg-config
1504 GLIB_LIBS linker flags
for GLIB
, overriding pkg-config
1506 Use these variables to override the choices made by
`configure' or to help
1507 it to find libraries and programs with nonstandard names/locations.
1513 if test "$ac_init_help" = "recursive"; then
1514 # If there are subdirs, report their specific --help.
1515 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516 test -d "$ac_dir" || continue
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 liblqr-1 configure 0.3.0
1570 generated by GNU Autoconf 2.61
1572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1573 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1579 cat >config.log <<_ACEOF
1580 This file contains any messages produced by compilers while
1581 running configure, to aid debugging if configure makes a mistake.
1583 It was created by liblqr-1 $as_me 0.3.0, which was
1584 generated by GNU Autoconf 2.61. Invocation command line was
1596 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1597 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1598 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1599 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1600 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1602 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1603 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1605 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1606 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1607 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1609 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1610 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1611 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 echo "PATH: $as_dir"
1636 # Keep a trace of the command line.
1637 # Strip out --no-create and --no-recursion so they do not pile up.
1638 # Strip out --silent because we don't want to record it for future runs.
1639 # Also quote any args containing shell meta-characters.
1640 # Make two passes to allow for proper duplicate-argument suppression.
1644 ac_must_keep_next=false
1650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1652 | -silent | --silent | --silen | --sile | --sil)
1655 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1658 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1660 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1661 if test $ac_must_keep_next = true; then
1662 ac_must_keep_next=false # Got value, back to normal.
1665 *=* | --config-cache | -C | -disable-* | --disable-* \
1666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1668 | -with-* | --with-* | -without-* | --without-* | --x)
1669 case "$ac_configure_args0 " in
1670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1673 -* ) ac_must_keep_next=true ;;
1676 ac_configure_args="$ac_configure_args '$ac_arg'"
1681 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1682 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1684 # When interrupted or exit'd, cleanup temporary files, and complete
1685 # config.log. We remove comments because anyway the quotes in there
1686 # would cause problems or look ugly.
1687 # WARNING: Use '\'' to represent an apostrophe within the trap.
1688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1689 trap 'exit_status=$?
1690 # Save into config.log some information that might help in debugging.
1695 ## ---------------- ##
1696 ## Cache variables. ##
1697 ## ---------------- ##
1700 # The following way of writing the cache mishandles newlines in values,
1702 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1703 eval ac_val=\$$ac_var
1707 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1708 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1711 _ | IFS | as_nl) ;; #(
1712 *) $as_unset $ac_var ;;
1717 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1718 *${as_nl}ac_space=\ *)
1720 "s/'\''/'\''\\\\'\'''\''/g;
1721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1732 ## ----------------- ##
1733 ## Output variables. ##
1734 ## ----------------- ##
1737 for ac_var in $ac_subst_vars
1739 eval ac_val=\$$ac_var
1741 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743 echo "$ac_var='\''$ac_val'\''"
1747 if test -n "$ac_subst_files"; then
1749 ## ------------------- ##
1750 ## File substitutions. ##
1751 ## ------------------- ##
1754 for ac_var in $ac_subst_files
1756 eval ac_val=\$$ac_var
1758 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 echo "$ac_var='\''$ac_val'\''"
1765 if test -s confdefs.h; then
1775 test "$ac_signal" != 0 &&
1776 echo "$as_me: caught signal $ac_signal"
1777 echo "$as_me: exit $exit_status"
1779 rm -f core *.core core.conftest.* &&
1780 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1783 for ac_signal in 1 2 13 15; do
1784 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1788 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1789 rm -f -r conftest* confdefs.h
1791 # Predefined preprocessor variables.
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_NAME "$PACKAGE_NAME"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_STRING "$PACKAGE_STRING"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1818 # Let the site file select an alternate cache file if it wants to.
1819 # Prefer explicitly selected file to automatically selected ones.
1820 if test -n "$CONFIG_SITE"; then
1821 set x "$CONFIG_SITE"
1822 elif test "x$prefix" != xNONE; then
1823 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1825 set x "$ac_default_prefix/share/config.site" \
1826 "$ac_default_prefix/etc/config.site"
1831 if test -r "$ac_site_file"; then
1832 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1833 echo "$as_me: loading site script $ac_site_file" >&6;}
1834 sed 's/^/| /' "$ac_site_file" >&5
1839 if test -r "$cache_file"; then
1840 # Some versions of bash will fail to source /dev/null (special
1841 # files actually), so we avoid doing that.
1842 if test -f "$cache_file"; then
1843 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1844 echo "$as_me: loading cache $cache_file" >&6;}
1846 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1847 *) . "./$cache_file";;
1851 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1852 echo "$as_me: creating cache $cache_file" >&6;}
1856 # Check that the precious variables saved in the cache have kept the same
1858 ac_cache_corrupted=false
1859 for ac_var in $ac_precious_vars; do
1860 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1861 eval ac_new_set=\$ac_env_${ac_var}_set
1862 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1863 eval ac_new_val=\$ac_env_${ac_var}_value
1864 case $ac_old_set,$ac_new_set in
1866 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1867 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1868 ac_cache_corrupted=: ;;
1870 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1871 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1872 ac_cache_corrupted=: ;;
1875 if test "x$ac_old_val" != "x$ac_new_val"; then
1876 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1877 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1878 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1879 echo "$as_me: former value
: $ac_old_val" >&2;}
1880 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1881 echo "$as_me: current value
: $ac_new_val" >&2;}
1882 ac_cache_corrupted=:
1885 # Pass precious variables to config.status.
1886 if test "$ac_new_set" = set; then
1888 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1889 *) ac_arg=$ac_var=$ac_new_val ;;
1891 case " $ac_configure_args " in
1892 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1893 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1897 if $ac_cache_corrupted; then
1898 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1899 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1900 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1901 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1902 { (exit 1); exit 1; }; }
1930 ac_cpp='$CPP $CPPFLAGS'
1931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1938 cat >>confdefs.h <<\_ACEOF
1939 #define LIBRARY_NAME PACKAGE_NAME
1944 cat >>confdefs.h <<\_ACEOF
1945 #define PACKAGE_MAJOR_VERSION 0
1949 cat >>confdefs.h <<\_ACEOF
1950 #define PACKAGE_MINOR_VERSION 3
1954 cat >>confdefs.h <<\_ACEOF
1955 #define PACKAGE_MICRO_VERSION 0
1960 cat >>confdefs.h <<\_ACEOF
1961 #define LTVERSION_CURRENT 2
1965 cat >>confdefs.h <<\_ACEOF
1966 #define LTVERSION_REVISON 0
1970 cat >>confdefs.h <<\_ACEOF
1971 #define LTVERSION_AGE 2
1975 LIBRARY_BASE_NAME=lqr
1979 LIBRARY_NAME=liblqr-1
1984 PACKAGE_VERSION=0.3.0
1991 ac_config_headers="$ac_config_headers config.h"
1996 am__api_version="1.9"
1998 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1999 if test -f "$ac_dir/install-sh"; then
2001 ac_install_sh="$ac_aux_dir/install-sh -c"
2003 elif test -f "$ac_dir/install.sh"; then
2005 ac_install_sh="$ac_aux_dir/install.sh -c"
2007 elif test -f "$ac_dir/shtool"; then
2009 ac_install_sh="$ac_aux_dir/shtool install -c"
2013 if test -z "$ac_aux_dir"; then
2014 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2015 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2016 { (exit 1); exit 1; }; }
2019 # These three variables are undocumented and unsupported,
2020 # and are intended to be withdrawn in a future Autoconf release.
2021 # They can cause serious problems if a builder's source tree is in a directory
2022 # whose full name contains unusual characters.
2023 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2024 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2025 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2028 # Find a good install program. We prefer a C program (faster),
2029 # so one script is as good as another. But avoid the broken or
2030 # incompatible versions:
2031 # SysV /etc/install, /usr/sbin/install
2032 # SunOS /usr/etc/install
2033 # IRIX /sbin/install
2035 # AmigaOS /C/install, which installs bootblocks on floppy discs
2036 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2037 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2038 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2039 # OS/2's system install, which has a completely different semantic
2040 # ./install, which can be erroneously created by make from ./install.sh.
2041 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2042 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2043 if test -z "$INSTALL"; then
2044 if test "${ac_cv_path_install+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir=.
2052 # Account for people who put trailing slashes in PATH elements.
2054 ./ | .// | /cC/* | \
2055 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2056 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2059 # OSF1 and SCO ODT 3.0 have their own names for install.
2060 # Don't use installbsd from OSF since it installs stuff as root
2062 for ac_prog in ginstall scoinst install; do
2063 for ac_exec_ext in '' $ac_executable_extensions; do
2064 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2065 if test $ac_prog = install &&
2066 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2067 # AIX install. It has an incompatible calling convention.
2069 elif test $ac_prog = install &&
2070 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2071 # program-specific install script used by HP pwplus--don't use.
2074 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2087 if test "${ac_cv_path_install+set}" = set; then
2088 INSTALL=$ac_cv_path_install
2090 # As a last resort, use the slow shell script. Don't cache a
2091 # value for INSTALL within a source directory, because that will
2092 # break other packages using the cache if that directory is
2093 # removed, or if the value is a relative name.
2094 INSTALL=$ac_install_sh
2097 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2098 echo "${ECHO_T}$INSTALL" >&6; }
2100 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2101 # It thinks the first close brace ends the variable substitution.
2102 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2104 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2106 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2108 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2109 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2112 echo timestamp > conftest.file
2113 # Do `set' in a subshell so we don't clobber the current shell
's
2114 # arguments. Must try -L first in case configure is actually a
2115 # symlink; some systems play weird games with the mod time of symlinks
2116 # (eg FreeBSD returns the mod time of the symlink's containing
2119 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2120 if test "$*" = "X"; then
2122 set X
`ls -t $srcdir/configure conftest.file`
2125 if test "$*" != "X $srcdir/configure conftest.file" \
2126 && test "$*" != "X conftest.file $srcdir/configure"; then
2128 # If neither matched, then we have a broken ls. This can happen
2129 # if, for instance, CONFIG_SHELL is bash and it inherits a
2130 # broken ls alias from the environment. This has actually
2131 # happened. Such a system could not be considered "sane".
2132 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2133 alias in your environment" >&5
2134 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2135 alias in your environment" >&2;}
2136 { (exit 1); exit 1; }; }
2139 test "$2" = conftest.
file
2145 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2146 Check your system clock" >&5
2147 echo "$as_me: error: newly created file is older than distributed files!
2148 Check your system clock" >&2;}
2149 { (exit 1); exit 1; }; }
2151 { echo "$as_me:$LINENO: result: yes" >&5
2152 echo "${ECHO_T}yes" >&6; }
2153 test "$program_prefix" != NONE
&&
2154 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2155 # Use a double $ so make ignores it.
2156 test "$program_suffix" != NONE
&&
2157 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2158 # Double any \ or $. echo might interpret backslashes.
2159 # By default was `s,x,x', remove it if useless.
2160 cat <<\_ACEOF
>conftest.
sed
2161 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2163 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2166 # expand $ac_aux_dir to an absolute path
2167 am_aux_dir
=`cd $ac_aux_dir && pwd`
2169 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2170 # Use eval to expand $SHELL
2171 if eval "$MISSING --run true"; then
2172 am_missing_run
="$MISSING --run "
2175 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2176 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2179 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2180 # We used to keeping the `.' as first argument, in order to
2181 # allow $(mkdir_p) to be used without argument. As in
2182 # $(mkdir_p) $(somedir)
2183 # where $(somedir) is conditionally defined. However this is wrong
2185 # 1. if the package is installed by a user who cannot write `.'
2186 # make install will fail,
2187 # 2. the above comment should most certainly read
2188 # $(mkdir_p) $(DESTDIR)$(somedir)
2189 # so it does not work when $(somedir) is undefined and
2190 # $(DESTDIR) is not.
2191 # To support the latter case, we have to write
2192 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2193 # so the `.' trick is pointless.
2194 mkdir_p
='mkdir -p --'
2196 # On NextStep and OpenStep, the `mkdir' command does not
2197 # recognize any option. It will interpret all options as
2198 # directories to create, and then abort because `.' already
2200 for d
in .
/-p .
/--version;
2202 test -d $d && rmdir $d
2204 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2205 if test -f "$ac_aux_dir/mkinstalldirs"; then
2206 mkdir_p
='$(mkinstalldirs)'
2208 mkdir_p
='$(install_sh) -d'
2212 for ac_prog
in gawk mawk nawk
awk
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy
$ac_prog; ac_word
=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_prog_AWK+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$AWK"; then
2222 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir
=.
2229 for ac_exec_ext
in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_prog_AWK
="$ac_prog"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 if test -n "$AWK"; then
2243 { echo "$as_me:$LINENO: result: $AWK" >&5
2244 echo "${ECHO_T}$AWK" >&6; }
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2251 test -n "$AWK" && break
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 cat >conftest.
make <<\_ACEOF
2263 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2268 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2270 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2274 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2275 { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281 SET_MAKE
="MAKE=${MAKE-make}"
2284 rm -rf .tst
2>/dev
/null
2285 mkdir .tst
2>/dev
/null
2286 if test -d .tst
; then
2291 rmdir .tst
2>/dev
/null
2293 # test to see if srcdir already configured
2294 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2295 test -f $srcdir/config.status
; then
2296 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2297 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2298 { (exit 1); exit 1; }; }
2301 # test whether we have cygpath
2302 if test -z "$CYGPATH_W"; then
2303 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2304 CYGPATH_W
='cygpath -w'
2311 # Define the identity of the package.
2316 cat >>confdefs.h
<<_ACEOF
2317 #define PACKAGE "$PACKAGE"
2321 cat >>confdefs.h
<<_ACEOF
2322 #define VERSION "$VERSION"
2325 # Some tools Automake needs.
2327 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2330 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2333 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2336 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2339 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2341 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2343 # Installed binaries are usually stripped using `strip' when the user
2344 # run `make install-strip'. However `strip' might not be the right
2345 # tool to use in cross-compilation environments, therefore Automake
2346 # will honor the `STRIP' environment variable to overrule this program.
2347 if test "$cross_compiling" != no
; then
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2350 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2353 if test "${ac_cv_prog_STRIP+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 if test -n "$STRIP"; then
2357 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 for ac_exec_ext
in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 STRIP
=$ac_cv_prog_STRIP
2377 if test -n "$STRIP"; then
2378 { echo "$as_me:$LINENO: result: $STRIP" >&5
2379 echo "${ECHO_T}$STRIP" >&6; }
2381 { echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6; }
2387 if test -z "$ac_cv_prog_STRIP"; then
2389 # Extract the first word of "strip", so it can be a program name with args.
2390 set dummy strip
; ac_word
=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 if test -n "$ac_ct_STRIP"; then
2397 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_ac_ct_STRIP
="strip"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2417 if test -n "$ac_ct_STRIP"; then
2418 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2419 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2425 if test "x$ac_ct_STRIP" = x
; then
2428 case $cross_compiling:$ac_tool_warned in
2430 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2431 whose name does not start with the host triplet. If you think this
2432 configuration is useful to you, please write to autoconf@gnu.org." >&5
2433 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2434 whose name does not start with the host triplet. If you think this
2435 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2436 ac_tool_warned
=yes ;;
2441 STRIP
="$ac_cv_prog_STRIP"
2445 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2447 # We need awk for the "check" target. The system "awk" is bad on
2449 # Always define AMTAR for backward compatibility.
2451 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2453 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2460 DEPDIR
="${am__leading_dot}deps"
2462 ac_config_commands
="$ac_config_commands depfiles"
2465 am_make
=${MAKE-make}
2466 cat > confinc
<< 'END'
2471 # If we don't find an include directive, just comment out the code.
2472 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2473 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2477 # First try GNU make style include.
2478 echo "include confinc" > confmf
2479 # We grep out `Entering directory' and `Leaving directory'
2480 # messages which can occur if `w' ends up in MAKEFLAGS.
2481 # In particular we don't look at `^make:' because GNU make might
2482 # be invoked under some other name (usually "gmake"), in which
2483 # case it prints its new name instead of `make'.
2484 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2489 # Now try BSD make style include.
2490 if test "$am__include" = "#"; then
2491 echo '.include "confinc"' > confmf
2492 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2493 am__include
=.include
2500 { echo "$as_me:$LINENO: result: $_am_result" >&5
2501 echo "${ECHO_T}$_am_result" >&6; }
2502 rm -f confinc confmf
2504 # Check whether --enable-dependency-tracking was given.
2505 if test "${enable_dependency_tracking+set}" = set; then
2506 enableval
=$enable_dependency_tracking;
2509 if test "x$enable_dependency_tracking" != xno
; then
2510 am_depcomp
="$ac_aux_dir/depcomp"
2515 if test "x$enable_dependency_tracking" != xno; then
2526 ac_cpp
='$CPP $CPPFLAGS'
2527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2532 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2535 if test "${ac_cv_prog_CC+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$CC"; then
2539 ac_cv_prog_CC
="$CC" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test -n "$CC"; then
2560 { echo "$as_me:$LINENO: result: $CC" >&5
2561 echo "${ECHO_T}$CC" >&6; }
2563 { echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6; }
2569 if test -z "$ac_cv_prog_CC"; then
2571 # Extract the first word of "gcc", so it can be a program name with args.
2572 set dummy gcc
; ac_word
=$2
2573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir
=.
2586 for ac_exec_ext
in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 ac_cv_prog_ac_ct_CC
="gcc"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2599 if test -n "$ac_ct_CC"; then
2600 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2601 echo "${ECHO_T}$ac_ct_CC" >&6; }
2603 { echo "$as_me:$LINENO: result: no" >&5
2604 echo "${ECHO_T}no" >&6; }
2607 if test "x$ac_ct_CC" = x
; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2613 whose name does not start with the host triplet. If you think this
2614 configuration is useful to you, please write to autoconf@gnu.org." >&5
2615 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2616 whose name does not start with the host triplet. If you think this
2617 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2618 ac_tool_warned
=yes ;;
2626 if test -z "$CC"; then
2627 if test -n "$ac_tool_prefix"; then
2628 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2629 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2632 if test "${ac_cv_prog_CC+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 if test -n "$CC"; then
2636 ac_cv_prog_CC
="$CC" # Let the user override the test.
2638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir
=.
2643 for ac_exec_ext
in '' $ac_executable_extensions; do
2644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 if test -n "$CC"; then
2657 { echo "$as_me:$LINENO: result: $CC" >&5
2658 echo "${ECHO_T}$CC" >&6; }
2660 { echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6; }
2667 if test -z "$CC"; then
2668 # Extract the first word of "cc", so it can be a program name with args.
2669 set dummy cc
; ac_word
=$2
2670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2672 if test "${ac_cv_prog_CC+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 if test -n "$CC"; then
2676 ac_cv_prog_CC
="$CC" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2686 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2687 ac_prog_rejected
=yes
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 if test $ac_prog_rejected = yes; then
2699 # We found a bogon in the path, so make sure we never use it.
2700 set dummy
$ac_cv_prog_CC
2702 if test $# != 0; then
2703 # We chose a different compiler from the bogus one.
2704 # However, it has the same basename, so the bogon will be chosen
2705 # first if we set CC to just the basename; use the full file name.
2707 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2713 if test -n "$CC"; then
2714 { echo "$as_me:$LINENO: result: $CC" >&5
2715 echo "${ECHO_T}$CC" >&6; }
2717 { echo "$as_me:$LINENO: result: no" >&5
2718 echo "${ECHO_T}no" >&6; }
2723 if test -z "$CC"; then
2724 if test -n "$ac_tool_prefix"; then
2725 for ac_prog
in cl.exe
2727 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2728 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2731 if test "${ac_cv_prog_CC+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 if test -n "$CC"; then
2735 ac_cv_prog_CC
="$CC" # Let the user override the test.
2737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir
=.
2742 for ac_exec_ext
in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 if test -n "$CC"; then
2756 { echo "$as_me:$LINENO: result: $CC" >&5
2757 echo "${ECHO_T}$CC" >&6; }
2759 { echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6; }
2764 test -n "$CC" && break
2767 if test -z "$CC"; then
2769 for ac_prog
in cl.exe
2771 # Extract the first word of "$ac_prog", so it can be a program name with args.
2772 set dummy
$ac_prog; ac_word
=$2
2773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2775 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2778 if test -n "$ac_ct_CC"; then
2779 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_ac_ct_CC
="$ac_prog"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2799 if test -n "$ac_ct_CC"; then
2800 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2801 echo "${ECHO_T}$ac_ct_CC" >&6; }
2803 { echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6; }
2808 test -n "$ac_ct_CC" && break
2811 if test "x$ac_ct_CC" = x
; then
2814 case $cross_compiling:$ac_tool_warned in
2816 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2817 whose name does not start with the host triplet. If you think this
2818 configuration is useful to you, please write to autoconf@gnu.org." >&5
2819 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2820 whose name does not start with the host triplet. If you think this
2821 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2822 ac_tool_warned
=yes ;;
2831 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2832 See \`config.log' for more details." >&5
2833 echo "$as_me: error: no acceptable C compiler found in \$PATH
2834 See \`config.log' for more details." >&2;}
2835 { (exit 1); exit 1; }; }
2837 # Provide some information about the compiler.
2838 echo "$as_me:$LINENO: checking for C compiler version" >&5
2839 ac_compiler
=`set X $ac_compile; echo $2`
2840 { (ac_try
="$ac_compiler --version >&5"
2842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compiler --version >&5") 2>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }
2850 { (ac_try="$ac_compiler -v >&5"
2852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2853 *) ac_try_echo
=$ac_try;;
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_compiler -v >&5") 2>&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }
2860 { (ac_try
="$ac_compiler -V >&5"
2862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2866 (eval "$ac_compiler -V >&5") 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }
2871 cat >conftest.$ac_ext <<_ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2886 ac_clean_files_save=$ac_clean_files
2887 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2888 # Try to create an executable without -o first, disregard a.out.
2889 # It will help us diagnose broken compilers, and finding out an intuition
2891 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2892 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2893 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2895 # List of possible output files, starting from the most likely.
2896 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2897 # only as a last resort. b.out is created by i960 compilers.
2898 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2900 # The IRIX 6 linker writes into existing files which may not be
2901 # executable, retaining their permissions. Remove them first so a
2902 # subsequent execution test works.
2904 for ac_file in $ac_files
2907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2908 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2913 if { (ac_try="$ac_link_default"
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2919 (eval "$ac_link_default") 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; then
2923 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2924 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2925 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2926 # so that the user can short-circuit this test for compilers unknown to
2928 for ac_file
in $ac_files ''
2930 test -f "$ac_file" ||
continue
2932 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2935 # We found the default executable, but exeext='' is most
2939 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2941 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2943 # We set ac_cv_exeext here because the later test for it is not
2944 # safe: cross compilers may not add the suffix if given an `-o'
2945 # argument, so we may need to know it at that point already.
2946 # Even if this section looks crufty: it has the advantage of
2953 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2959 { echo "$as_me:$LINENO: result: $ac_file" >&5
2960 echo "${ECHO_T}$ac_file" >&6; }
2961 if test -z "$ac_file"; then
2962 echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.
$ac_ext >&5
2965 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2966 See \`config.log' for more details." >&5
2967 echo "$as_me: error: C compiler cannot create executables
2968 See \`config.log' for more details." >&2;}
2969 { (exit 77); exit 77; }; }
2972 ac_exeext
=$ac_cv_exeext
2974 # Check that the compiler produces executables we can run. If not, either
2975 # the compiler is broken, or we cross compile.
2976 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2977 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2978 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2979 # If not cross compiling, check that we can run a simple program.
2980 if test "$cross_compiling" != yes; then
2981 if { ac_try
='./$ac_file'
2982 { (case "(($ac_try" in
2983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_try") 2>&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2993 if test "$cross_compiling" = maybe; then
2996 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2997 If you meant to cross compile, use \`--host'.
2998 See \`config.log' for more details.
" >&5
2999 echo "$as_me: error
: cannot run C compiled programs.
3000 If you meant to cross compile
, use \
`--host'.
3001 See \`config.log
' for more details." >&2;}
3002 { (exit 1); exit 1; }; }
3006 { echo "$as_me:$LINENO: result: yes" >&5
3007 echo "${ECHO_T}yes" >&6; }
3009 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3010 ac_clean_files=$ac_clean_files_save
3011 # Check that the compiler produces executables we can run. If not, either
3012 # the compiler is broken, or we cross compile.
3013 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3014 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3015 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3016 echo "${ECHO_T}$cross_compiling" >&6; }
3018 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3019 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3020 if { (ac_try="$ac_link"
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_link") 2>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; then
3030 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3031 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3032 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3034 for ac_file
in conftest.exe conftest conftest.
*; do
3035 test -f "$ac_file" ||
continue
3037 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3038 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3044 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3045 See \`config.log' for more details." >&5
3046 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3047 See \`config.log' for more details." >&2;}
3048 { (exit 1); exit 1; }; }
3051 rm -f conftest
$ac_cv_exeext
3052 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3053 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3055 rm -f conftest.
$ac_ext
3056 EXEEXT
=$ac_cv_exeext
3058 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3059 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3060 if test "${ac_cv_objext+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 cat >conftest.
$ac_ext <<_ACEOF
3066 cat confdefs.h
>>conftest.
$ac_ext
3067 cat >>conftest.
$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3078 rm -f conftest.o conftest.obj
3079 if { (ac_try
="$ac_compile"
3081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compile") 2>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; then
3089 for ac_file in conftest.o conftest.obj conftest.*; do
3090 test -f "$ac_file" || continue;
3092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3098 echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3102 See \`config.log
' for more details." >&5
3103 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3104 See \`config.log' for more details.
" >&2;}
3105 { (exit 1); exit 1; }; }
3108 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3110 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3111 echo "${ECHO_T}$ac_cv_objext" >&6; }
3112 OBJEXT=$ac_cv_objext
3114 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3115 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3116 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3117 echo $ECHO_N "(cached
) $ECHO_C" >&6
3119 cat >conftest.$ac_ext <<_ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_compile") 2>conftest.er1
3146 grep -v '^ *+' conftest.er1 >conftest.err
3148 cat conftest.err >&5
3149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3150 (exit $ac_status); } && {
3151 test -z "$ac_c_werror_flag" ||
3152 test ! -s conftest.err
3153 } && test -s conftest.$ac_objext; then
3156 echo "$as_me: failed program was
:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3166 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3167 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3168 GCC=`test $ac_compiler_gnu = yes && echo yes`
3169 ac_test_CFLAGS=${CFLAGS+set}
3170 ac_save_CFLAGS=$CFLAGS
3171 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3172 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3173 if test "${ac_cv_prog_cc_g+set}" = set; then
3174 echo $ECHO_N "(cached
) $ECHO_C" >&6
3176 ac_save_c_werror_flag=$ac_c_werror_flag
3177 ac_c_werror_flag=yes
3180 cat >conftest.$ac_ext <<_ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_compile") 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3208 (exit $ac_status); } && {
3209 test -z "$ac_c_werror_flag" ||
3210 test ! -s conftest.err
3211 } && test -s conftest.$ac_objext; then
3214 echo "$as_me: failed program was
:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3233 rm -f conftest.$ac_objext
3234 if { (ac_try="$ac_compile"
3236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3240 (eval "$ac_compile") 2>conftest.er1
3242 grep -v '^ *+' conftest.er1 >conftest.err
3244 cat conftest.err >&5
3245 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3246 (exit $ac_status); } && {
3247 test -z "$ac_c_werror_flag" ||
3248 test ! -s conftest.err
3249 } && test -s conftest.$ac_objext; then
3252 echo "$as_me: failed program was
:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 ac_c_werror_flag=$ac_save_c_werror_flag
3257 cat >conftest.$ac_ext <<_ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3272 rm -f conftest.$ac_objext
3273 if { (ac_try="$ac_compile"
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3279 (eval "$ac_compile") 2>conftest.er1
3281 grep -v '^ *+' conftest.er1 >conftest.err
3283 cat conftest.err >&5
3284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3285 (exit $ac_status); } && {
3286 test -z "$ac_c_werror_flag" ||
3287 test ! -s conftest.err
3288 } && test -s conftest.$ac_objext; then
3291 echo "$as_me: failed program was
:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304 ac_c_werror_flag=$ac_save_c_werror_flag
3306 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3307 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3308 if test "$ac_test_CFLAGS" = set; then
3309 CFLAGS=$ac_save_CFLAGS
3310 elif test $ac_cv_prog_cc_g = yes; then
3311 if test "$GCC" = yes; then
3317 if test "$GCC" = yes; then
3323 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3324 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3325 if test "${ac_cv_prog_cc_c89+set}" = set; then
3326 echo $ECHO_N "(cached
) $ECHO_C" >&6
3328 ac_cv_prog_cc_c89=no
3330 cat >conftest.$ac_ext <<_ACEOF
3333 cat confdefs.h >>conftest.$ac_ext
3334 cat >>conftest.$ac_ext <<_ACEOF
3335 /* end confdefs.h. */
3338 #include <sys/types.h>
3339 #include <sys/stat.h>
3340 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3341 struct buf { int x; };
3342 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3343 static char *e (p, i)
3349 static char *f (char * (*g) (char **, int), char **p, ...)
3354 s = g (p, va_arg (v,int));
3359 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3360 function prototypes and stuff, but not '\xHH' hex character constants.
3361 These don't provoke an error unfortunately, instead are silently treated
3362 as 'x'. The following induces an error, until -std is added to get
3363 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3364 array size at least. It's necessary to write '\x00'==0 to get something
3365 that's true only with -std. */
3366 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3368 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3369 inside strings and character constants. */
3371 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3373 int test (int i, double x);
3374 struct s1 {int (*f) (int a);};
3375 struct s2 {int (*f) (double a);};
3376 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3382 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3387 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3388 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3390 CC="$ac_save_CC $ac_arg"
3391 rm -f conftest.$ac_objext
3392 if { (ac_try="$ac_compile"
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3398 (eval "$ac_compile") 2>conftest.er1
3400 grep -v '^ *+' conftest.er1 >conftest.err
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3404 (exit $ac_status); } && {
3405 test -z "$ac_c_werror_flag" ||
3406 test ! -s conftest.err
3407 } && test -s conftest.$ac_objext; then
3408 ac_cv_prog_cc_c89=$ac_arg
3410 echo "$as_me: failed program was
:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3416 rm -f core conftest.err conftest.$ac_objext
3417 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3419 rm -f conftest.$ac_ext
3424 case "x
$ac_cv_prog_cc_c89" in
3426 { echo "$as_me:$LINENO: result
: none needed
" >&5
3427 echo "${ECHO_T}none needed
" >&6; } ;;
3429 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3430 echo "${ECHO_T}unsupported
" >&6; } ;;
3432 CC="$CC $ac_cv_prog_cc_c89"
3433 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3434 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3444 depcc="$CC" am_compiler_list=
3446 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3447 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3448 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3449 echo $ECHO_N "(cached
) $ECHO_C" >&6
3451 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3452 # We make a subdir and do the tests there. Otherwise we can end up
3453 # making bogus files that we don't know about and never remove. For
3454 # instance it was reported that on HP-UX the gcc test will end up
3455 # making a dummy file named `D' -- because `-MD' means `put the output
3458 # Copy depcomp to subdir because otherwise we won't find it if we're
3459 # using a relative directory.
3460 cp "$am_depcomp" conftest.dir
3462 # We will build objects and dependencies in a subdirectory because
3463 # it helps to detect inapplicable dependency modes. For instance
3464 # both Tru64's cc and ICC support -MD to output dependencies as a
3465 # side effect of compilation, but ICC will put the dependencies in
3466 # the current directory while Tru64 will put them in the object
3470 am_cv_CC_dependencies_compiler_type=none
3471 if test "$am_compiler_list" = ""; then
3472 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3474 for depmode in $am_compiler_list; do
3475 # Setup a source with many dependencies, because some compilers
3476 # like to wrap large dependency lists on column 80 (with \), and
3477 # we should not choose a depcomp mode which is confused by this.
3479 # We need to recreate these files for each test, as the compiler may
3480 # overwrite some of them when testing with obscure command lines.
3481 # This happens at least with the AIX C compiler.
3483 for i in 1 2 3 4 5 6; do
3484 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3485 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3486 # Solaris 8's {/usr,}/bin/sh.
3487 touch sub/conftst$i.h
3489 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3493 # after this tag, mechanisms are not by side-effect, so they'll
3494 # only be used when explicitly requested
3495 if test "x
$enable_dependency_tracking" = xyes; then
3503 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3504 # mode. It turns out that the SunPro C++ compiler does not properly
3505 # handle `-M -o', and we need to detect this.
3506 if depmode=$depmode \
3507 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3508 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3509 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3510 >/dev/null 2>conftest.err &&
3511 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3512 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3513 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3514 # icc doesn't choke on unknown options, it will just issue warnings
3515 # or remarks (even with -Werror). So we grep stderr for any message
3516 # that says an option was ignored or not supported.
3517 # When given -MP, icc 7.0 and 7.1 complain thusly:
3518 # icc: Command line warning: ignoring option '-M'; no argument required
3519 # The diagnosis changed in icc 8.0:
3520 # icc: Command line remark: option '-MP' not supported
3521 if (grep 'ignoring option' conftest.err ||
3522 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3523 am_cv_CC_dependencies_compiler_type=$depmode
3532 am_cv_CC_dependencies_compiler_type=none
3536 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3537 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3538 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3543 test "x
$enable_dependency_tracking" != xno \
3544 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3546 am__fastdepCC_FALSE='#'
3548 am__fastdepCC_TRUE='#'
3549 am__fastdepCC_FALSE=
3554 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3555 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3556 if test "${ac_cv_search_strerror+set}" = set; then
3557 echo $ECHO_N "(cached
) $ECHO_C" >&6
3559 ac_func_search_save_LIBS=$LIBS
3560 cat >conftest.$ac_ext <<_ACEOF
3563 cat confdefs.h >>conftest.$ac_ext
3564 cat >>conftest.$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3567 /* Override any GCC internal prototype to avoid an error.
3568 Use char because int might match the return type of a GCC
3569 builtin and then its argument prototype would still apply. */
3582 for ac_lib in '' cposix; do
3583 if test -z "$ac_lib"; then
3584 ac_res="none required
"
3587 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3589 rm -f conftest.$ac_objext conftest$ac_exeext
3590 if { (ac_try="$ac_link"
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3596 (eval "$ac_link") 2>conftest.er1
3598 grep -v '^ *+' conftest.er1 >conftest.err
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3602 (exit $ac_status); } && {
3603 test -z "$ac_c_werror_flag" ||
3604 test ! -s conftest.err
3605 } && test -s conftest$ac_exeext &&
3606 $as_test_x conftest$ac_exeext; then
3607 ac_cv_search_strerror=$ac_res
3609 echo "$as_me: failed program was
:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3617 if test "${ac_cv_search_strerror+set}" = set; then
3621 if test "${ac_cv_search_strerror+set}" = set; then
3624 ac_cv_search_strerror=no
3627 LIBS=$ac_func_search_save_LIBS
3629 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3630 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3631 ac_res=$ac_cv_search_strerror
3632 if test "$ac_res" != no; then
3633 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3638 ac_cpp='$CPP $CPPFLAGS'
3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3645 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3646 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then
3648 echo $ECHO_N "(cached
) $ECHO_C" >&6
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3661 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3671 if test -n "$CC"; then
3672 { echo "$as_me:$LINENO: result
: $CC" >&5
3673 echo "${ECHO_T}$CC" >&6; }
3675 { echo "$as_me:$LINENO: result
: no
" >&5
3676 echo "${ECHO_T}no
" >&6; }
3681 if test -z "$ac_cv_prog_CC"; then
3683 # Extract the first word of "gcc
", so it can be a program name with args.
3684 set dummy gcc; ac_word=$2
3685 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3686 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3688 echo $ECHO_N "(cached
) $ECHO_C" >&6
3690 if test -n "$ac_ct_CC"; then
3691 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700 ac_cv_prog_ac_ct_CC="gcc
"
3701 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3710 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3711 if test -n "$ac_ct_CC"; then
3712 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3713 echo "${ECHO_T}$ac_ct_CC" >&6; }
3715 { echo "$as_me:$LINENO: result
: no
" >&5
3716 echo "${ECHO_T}no
" >&6; }
3719 if test "x
$ac_ct_CC" = x; then
3722 case $cross_compiling:$ac_tool_warned in
3724 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3725 whose name does not start with the
host triplet. If you think this
3726 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3727 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3728 whose name does not start with the
host triplet. If you think this
3729 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3730 ac_tool_warned=yes ;;
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3741 set dummy ${ac_tool_prefix}cc; ac_word=$2
3742 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3743 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3744 if test "${ac_cv_prog_CC+set}" = set; then
3745 echo $ECHO_N "(cached
) $ECHO_C" >&6
3747 if test -n "$CC"; then
3748 ac_cv_prog_CC="$CC" # Let the user override the test.
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir=.
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3758 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3768 if test -n "$CC"; then
3769 { echo "$as_me:$LINENO: result
: $CC" >&5
3770 echo "${ECHO_T}$CC" >&6; }
3772 { echo "$as_me:$LINENO: result
: no
" >&5
3773 echo "${ECHO_T}no
" >&6; }
3779 if test -z "$CC"; then
3780 # Extract the first word of "cc
", so it can be a program name with args.
3781 set dummy cc; ac_word=$2
3782 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3783 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3784 if test "${ac_cv_prog_CC+set}" = set; then
3785 echo $ECHO_N "(cached
) $ECHO_C" >&6
3787 if test -n "$CC"; then
3788 ac_cv_prog_CC="$CC" # Let the user override the test.
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir=.
3796 for ac_exec_ext in '' $ac_executable_extensions; do
3797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3798 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3799 ac_prog_rejected=yes
3803 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3810 if test $ac_prog_rejected = yes; then
3811 # We found a bogon in the path, so make sure we never use it.
3812 set dummy $ac_cv_prog_CC
3814 if test $# != 0; then
3815 # We chose a different compiler from the bogus one.
3816 # However, it has the same basename, so the bogon will be chosen
3817 # first if we set CC to just the basename; use the full file name.
3819 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3825 if test -n "$CC"; then
3826 { echo "$as_me:$LINENO: result
: $CC" >&5
3827 echo "${ECHO_T}$CC" >&6; }
3829 { echo "$as_me:$LINENO: result
: no
" >&5
3830 echo "${ECHO_T}no
" >&6; }
3835 if test -z "$CC"; then
3836 if test -n "$ac_tool_prefix"; then
3837 for ac_prog in cl.exe
3839 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3840 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3841 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3842 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3843 if test "${ac_cv_prog_CC+set}" = set; then
3844 echo $ECHO_N "(cached
) $ECHO_C" >&6
3846 if test -n "$CC"; then
3847 ac_cv_prog_CC="$CC" # Let the user override the test.
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3856 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3857 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3867 if test -n "$CC"; then
3868 { echo "$as_me:$LINENO: result
: $CC" >&5
3869 echo "${ECHO_T}$CC" >&6; }
3871 { echo "$as_me:$LINENO: result
: no
" >&5
3872 echo "${ECHO_T}no
" >&6; }
3876 test -n "$CC" && break
3879 if test -z "$CC"; then
3881 for ac_prog in cl.exe
3883 # Extract the first word of "$ac_prog", so it can be a program name with args.
3884 set dummy $ac_prog; ac_word=$2
3885 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3886 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3887 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3888 echo $ECHO_N "(cached
) $ECHO_C" >&6
3890 if test -n "$ac_ct_CC"; then
3891 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3900 ac_cv_prog_ac_ct_CC="$ac_prog"
3901 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3910 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3911 if test -n "$ac_ct_CC"; then
3912 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3913 echo "${ECHO_T}$ac_ct_CC" >&6; }
3915 { echo "$as_me:$LINENO: result
: no
" >&5
3916 echo "${ECHO_T}no
" >&6; }
3920 test -n "$ac_ct_CC" && break
3923 if test "x
$ac_ct_CC" = x; then
3926 case $cross_compiling:$ac_tool_warned in
3928 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3929 whose name does not start with the
host triplet. If you think this
3930 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3931 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3932 whose name does not start with the
host triplet. If you think this
3933 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3934 ac_tool_warned=yes ;;
3943 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3944 See \
`config.log' for more details." >&5
3945 echo "$as_me: error: no acceptable C compiler found in \$PATH
3946 See \`config.log
' for more details." >&2;}
3947 { (exit 1); exit 1; }; }
3949 # Provide some information about the compiler.
3950 echo "$as_me:$LINENO: checking for C compiler version" >&5
3951 ac_compiler=`set X $ac_compile; echo $2`
3952 { (ac_try="$ac_compiler --version >&5"
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3958 (eval "$ac_compiler --version >&5") 2>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }
3962 { (ac_try="$ac_compiler -v >&5"
3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3968 (eval "$ac_compiler -v >&5") 2>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }
3972 { (ac_try="$ac_compiler -V >&5"
3974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3978 (eval "$ac_compiler -V >&5") 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }
3983 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3984 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3985 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 cat >conftest.$ac_ext <<_ACEOF
3991 cat confdefs.h >>conftest.$ac_ext
3992 cat >>conftest.$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
4006 rm -f conftest.$ac_objext
4007 if { (ac_try="$ac_compile"
4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4013 (eval "$ac_compile") 2>conftest.er1
4015 grep -v '^
*+' conftest.er1 >conftest.err
4017 cat conftest.err >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } && {
4020 test -z "$ac_c_werror_flag" ||
4021 test ! -s conftest.err
4022 } && test -s conftest.$ac_objext; then
4025 echo "$as_me: failed program was:" >&5
4026 sed 's
/^
/|
/' conftest.$ac_ext >&5
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4035 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4036 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4037 GCC=`test $ac_compiler_gnu = yes && echo yes`
4038 ac_test_CFLAGS=${CFLAGS+set}
4039 ac_save_CFLAGS=$CFLAGS
4040 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4041 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4042 if test "${ac_cv_prog_cc_g+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 ac_save_c_werror_flag=$ac_c_werror_flag
4046 ac_c_werror_flag=yes
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4064 rm -f conftest.$ac_objext
4065 if { (ac_try="$ac_compile"
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 (eval "$ac_compile") 2>conftest.er1
4073 grep -v '^
*+' conftest.er1 >conftest.err
4075 cat conftest.err >&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } && {
4078 test -z "$ac_c_werror_flag" ||
4079 test ! -s conftest.err
4080 } && test -s conftest.$ac_objext; then
4083 echo "$as_me: failed program was:" >&5
4084 sed 's
/^
/|
/' conftest.$ac_ext >&5
4087 cat >conftest.$ac_ext <<_ACEOF
4090 cat confdefs.h >>conftest.$ac_ext
4091 cat >>conftest.$ac_ext <<_ACEOF
4092 /* end confdefs.h. */
4102 rm -f conftest.$ac_objext
4103 if { (ac_try="$ac_compile"
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4109 (eval "$ac_compile") 2>conftest.er1
4111 grep -v '^
*+' conftest.er1 >conftest.err
4113 cat conftest.err >&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } && {
4116 test -z "$ac_c_werror_flag" ||
4117 test ! -s conftest.err
4118 } && test -s conftest.$ac_objext; then
4121 echo "$as_me: failed program was:" >&5
4122 sed 's
/^
/|
/' conftest.$ac_ext >&5
4124 ac_c_werror_flag=$ac_save_c_werror_flag
4126 cat >conftest.$ac_ext <<_ACEOF
4129 cat confdefs.h >>conftest.$ac_ext
4130 cat >>conftest.$ac_ext <<_ACEOF
4131 /* end confdefs.h. */
4141 rm -f conftest.$ac_objext
4142 if { (ac_try="$ac_compile"
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_compile") 2>conftest.er1
4150 grep -v '^
*+' conftest.er1 >conftest.err
4152 cat conftest.err >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } && {
4155 test -z "$ac_c_werror_flag" ||
4156 test ! -s conftest.err
4157 } && test -s conftest.$ac_objext; then
4160 echo "$as_me: failed program was:" >&5
4161 sed 's
/^
/|
/' conftest.$ac_ext >&5
4166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 ac_c_werror_flag=$ac_save_c_werror_flag
4175 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4176 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4177 if test "$ac_test_CFLAGS" = set; then
4178 CFLAGS=$ac_save_CFLAGS
4179 elif test $ac_cv_prog_cc_g = yes; then
4180 if test "$GCC" = yes; then
4186 if test "$GCC" = yes; then
4192 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4193 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4194 if test "${ac_cv_prog_cc_c89+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 ac_cv_prog_cc_c89=no
4199 cat >conftest.$ac_ext <<_ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4207 #include <sys/types.h>
4208 #include <sys/stat.h>
4209 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4210 struct buf
{ int x
; };
4211 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4212 static char
*e
(p
, i
)
4218 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4223 s
= g
(p
, va_arg
(v
,int
));
4228 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4229 function prototypes and stuff
, but not
'\xHH' hex character constants.
4230 These don
't provoke an error unfortunately, instead are silently treated
4231 as 'x
'. The following induces an error, until -std is added to get
4232 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4233 array size at least. It's necessary to
write '\x00'==0 to get something
4234 that
's true only with -std. */
4235 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4237 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4238 inside strings and character constants. */
4240 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4242 int test (int i, double x);
4243 struct s1 {int (*f) (int a);};
4244 struct s2 {int (*f) (double a);};
4245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4256 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4257 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4259 CC="$ac_save_CC $ac_arg"
4260 rm -f conftest.$ac_objext
4261 if { (ac_try="$ac_compile"
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267 (eval "$ac_compile") 2>conftest.er1
4269 grep -v '^
*+' conftest.er1 >conftest.err
4271 cat conftest.err >&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } && {
4274 test -z "$ac_c_werror_flag" ||
4275 test ! -s conftest.err
4276 } && test -s conftest.$ac_objext; then
4277 ac_cv_prog_cc_c89=$ac_arg
4279 echo "$as_me: failed program was:" >&5
4280 sed 's
/^
/|
/' conftest.$ac_ext >&5
4285 rm -f core conftest.err conftest.$ac_objext
4286 test "x$ac_cv_prog_cc_c89" != "xno" && break
4288 rm -f conftest.$ac_ext
4293 case "x$ac_cv_prog_cc_c89" in
4295 { echo "$as_me:$LINENO: result: none needed" >&5
4296 echo "${ECHO_T}none needed" >&6; } ;;
4298 { echo "$as_me:$LINENO: result: unsupported" >&5
4299 echo "${ECHO_T}unsupported" >&6; } ;;
4301 CC="$CC $ac_cv_prog_cc_c89"
4302 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4303 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4308 ac_cpp='$CPP $CPPFLAGS'
4309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4310 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4313 depcc="$CC" am_compiler_list=
4315 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4316 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4317 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4321 # We make a subdir and do the tests there. Otherwise we can end up
4322 # making bogus files that we don't know about and never remove. For
4323 # instance it was reported that on HP-UX the gcc test will end up
4324 # making a dummy file named `D' -- because `-MD' means `put the output
4327 # Copy depcomp to subdir because otherwise we won't find it if we're
4328 # using a relative directory.
4329 cp "$am_depcomp" conftest.dir
4331 # We will build objects and dependencies in a subdirectory because
4332 # it helps to detect inapplicable dependency modes. For instance
4333 # both Tru64's cc and ICC support -MD to output dependencies as a
4334 # side effect of compilation, but ICC will put the dependencies in
4335 # the current directory while Tru64 will put them in the object
4339 am_cv_CC_dependencies_compiler_type
=none
4340 if test "$am_compiler_list" = ""; then
4341 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4343 for depmode
in $am_compiler_list; do
4344 # Setup a source with many dependencies, because some compilers
4345 # like to wrap large dependency lists on column 80 (with \), and
4346 # we should not choose a depcomp mode which is confused by this.
4348 # We need to recreate these files for each test, as the compiler may
4349 # overwrite some of them when testing with obscure command lines.
4350 # This happens at least with the AIX C compiler.
4352 for i
in 1 2 3 4 5 6; do
4353 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4354 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4355 # Solaris 8's {/usr,}/bin/sh.
4356 touch sub
/conftst
$i.h
4358 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4362 # after this tag, mechanisms are not by side-effect, so they'll
4363 # only be used when explicitly requested
4364 if test "x$enable_dependency_tracking" = xyes
; then
4372 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4373 # mode. It turns out that the SunPro C++ compiler does not properly
4374 # handle `-M -o', and we need to detect this.
4375 if depmode
=$depmode \
4376 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4377 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4378 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4379 >/dev
/null
2>conftest.err
&&
4380 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4381 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4382 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4383 # icc doesn't choke on unknown options, it will just issue warnings
4384 # or remarks (even with -Werror). So we grep stderr for any message
4385 # that says an option was ignored or not supported.
4386 # When given -MP, icc 7.0 and 7.1 complain thusly:
4387 # icc: Command line warning: ignoring option '-M'; no argument required
4388 # The diagnosis changed in icc 8.0:
4389 # icc: Command line remark: option '-MP' not supported
4390 if (grep 'ignoring option' conftest.err ||
4391 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4392 am_cv_CC_dependencies_compiler_type
=$depmode
4401 am_cv_CC_dependencies_compiler_type
=none
4405 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4406 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4407 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4412 test "x$enable_dependency_tracking" != xno \
4413 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4415 am__fastdepCC_FALSE
='#'
4417 am__fastdepCC_TRUE
='#'
4418 am__fastdepCC_FALSE
=
4423 ac_cpp
='$CPP $CPPFLAGS'
4424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4427 if test -n "$ac_tool_prefix"; then
4428 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4429 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4432 if test "${ac_cv_prog_CC+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test -n "$CC"; then
4436 ac_cv_prog_CC
="$CC" # Let the user override the test.
4438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir
=.
4443 for ac_exec_ext
in '' $ac_executable_extensions; do
4444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4445 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4456 if test -n "$CC"; then
4457 { echo "$as_me:$LINENO: result: $CC" >&5
4458 echo "${ECHO_T}$CC" >&6; }
4460 { echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6; }
4466 if test -z "$ac_cv_prog_CC"; then
4468 # Extract the first word of "gcc", so it can be a program name with args.
4469 set dummy gcc
; ac_word
=$2
4470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4472 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 if test -n "$ac_ct_CC"; then
4476 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4482 test -z "$as_dir" && as_dir
=.
4483 for ac_exec_ext
in '' $ac_executable_extensions; do
4484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4485 ac_cv_prog_ac_ct_CC
="gcc"
4486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4496 if test -n "$ac_ct_CC"; then
4497 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4498 echo "${ECHO_T}$ac_ct_CC" >&6; }
4500 { echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6; }
4504 if test "x$ac_ct_CC" = x
; then
4507 case $cross_compiling:$ac_tool_warned in
4509 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4510 whose name does not start with the host triplet. If you think this
4511 configuration is useful to you, please write to autoconf@gnu.org." >&5
4512 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4513 whose name does not start with the host triplet. If you think this
4514 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4515 ac_tool_warned
=yes ;;
4523 if test -z "$CC"; then
4524 if test -n "$ac_tool_prefix"; then
4525 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4526 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4529 if test "${ac_cv_prog_CC+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 if test -n "$CC"; then
4533 ac_cv_prog_CC
="$CC" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$CC"; then
4554 { echo "$as_me:$LINENO: result: $CC" >&5
4555 echo "${ECHO_T}$CC" >&6; }
4557 { echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6; }
4564 if test -z "$CC"; then
4565 # Extract the first word of "cc", so it can be a program name with args.
4566 set dummy cc
; ac_word
=$2
4567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4569 if test "${ac_cv_prog_CC+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 if test -n "$CC"; then
4573 ac_cv_prog_CC
="$CC" # Let the user override the test.
4576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir
=.
4581 for ac_exec_ext
in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4584 ac_prog_rejected
=yes
4588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 if test $ac_prog_rejected = yes; then
4596 # We found a bogon in the path, so make sure we never use it.
4597 set dummy
$ac_cv_prog_CC
4599 if test $# != 0; then
4600 # We chose a different compiler from the bogus one.
4601 # However, it has the same basename, so the bogon will be chosen
4602 # first if we set CC to just the basename; use the full file name.
4604 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4610 if test -n "$CC"; then
4611 { echo "$as_me:$LINENO: result: $CC" >&5
4612 echo "${ECHO_T}$CC" >&6; }
4614 { echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6; }
4620 if test -z "$CC"; then
4621 if test -n "$ac_tool_prefix"; then
4622 for ac_prog
in cl.exe
4624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4625 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4628 if test "${ac_cv_prog_CC+set}" = set; then
4629 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 if test -n "$CC"; then
4632 ac_cv_prog_CC
="$CC" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 if test -n "$CC"; then
4653 { echo "$as_me:$LINENO: result: $CC" >&5
4654 echo "${ECHO_T}$CC" >&6; }
4656 { echo "$as_me:$LINENO: result: no" >&5
4657 echo "${ECHO_T}no" >&6; }
4661 test -n "$CC" && break
4664 if test -z "$CC"; then
4666 for ac_prog
in cl.exe
4668 # Extract the first word of "$ac_prog", so it can be a program name with args.
4669 set dummy
$ac_prog; ac_word
=$2
4670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4673 echo $ECHO_N "(cached) $ECHO_C" >&6
4675 if test -n "$ac_ct_CC"; then
4676 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4685 ac_cv_prog_ac_ct_CC
="$ac_prog"
4686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4696 if test -n "$ac_ct_CC"; then
4697 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4698 echo "${ECHO_T}$ac_ct_CC" >&6; }
4700 { echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6; }
4705 test -n "$ac_ct_CC" && break
4708 if test "x$ac_ct_CC" = x
; then
4711 case $cross_compiling:$ac_tool_warned in
4713 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4714 whose name does not start with the host triplet. If you think this
4715 configuration is useful to you, please write to autoconf@gnu.org." >&5
4716 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4717 whose name does not start with the host triplet. If you think this
4718 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4719 ac_tool_warned
=yes ;;
4728 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4729 See \`config.log' for more details." >&5
4730 echo "$as_me: error: no acceptable C compiler found in \$PATH
4731 See \`config.log' for more details." >&2;}
4732 { (exit 1); exit 1; }; }
4734 # Provide some information about the compiler.
4735 echo "$as_me:$LINENO: checking for C compiler version" >&5
4736 ac_compiler
=`set X $ac_compile; echo $2`
4737 { (ac_try
="$ac_compiler --version >&5"
4739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4743 (eval "$ac_compiler --version >&5") 2>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }
4747 { (ac_try="$ac_compiler -v >&5"
4749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4750 *) ac_try_echo
=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_compiler -v >&5") 2>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }
4757 { (ac_try
="$ac_compiler -V >&5"
4759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4760 *) ac_try_echo=$ac_try;;
4762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4763 (eval "$ac_compiler -V >&5") 2>&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }
4768 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4769 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4770 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4791 rm -f conftest.$ac_objext
4792 if { (ac_try="$ac_compile"
4794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4795 *) ac_try_echo
=$ac_try;;
4797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4798 (eval "$ac_compile") 2>conftest.er1
4800 grep -v '^ *+' conftest.er1
>conftest.err
4802 cat conftest.err
>&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); } && {
4805 test -z "$ac_c_werror_flag" ||
4806 test ! -s conftest.err
4807 } && test -s conftest.
$ac_objext; then
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4817 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4820 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4821 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4822 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4823 ac_test_CFLAGS
=${CFLAGS+set}
4824 ac_save_CFLAGS
=$CFLAGS
4825 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4826 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4827 if test "${ac_cv_prog_cc_g+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 ac_save_c_werror_flag
=$ac_c_werror_flag
4831 ac_c_werror_flag
=yes
4834 cat >conftest.
$ac_ext <<_ACEOF
4837 cat confdefs.h
>>conftest.
$ac_ext
4838 cat >>conftest.
$ac_ext <<_ACEOF
4839 /* end confdefs.h. */
4849 rm -f conftest.
$ac_objext
4850 if { (ac_try
="$ac_compile"
4852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 (eval "$ac_compile") 2>conftest.er1
4858 grep -v '^ *+' conftest.er1 >conftest.err
4860 cat conftest.err >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } && {
4863 test -z "$ac_c_werror_flag" ||
4864 test ! -s conftest.err
4865 } && test -s conftest.$ac_objext; then
4868 echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.$ac_ext >&5
4872 cat >conftest.$ac_ext <<_ACEOF
4875 cat confdefs.h >>conftest.$ac_ext
4876 cat >>conftest.$ac_ext <<_ACEOF
4877 /* end confdefs.h. */
4887 rm -f conftest.$ac_objext
4888 if { (ac_try="$ac_compile"
4890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4891 *) ac_try_echo
=$ac_try;;
4893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4894 (eval "$ac_compile") 2>conftest.er1
4896 grep -v '^ *+' conftest.er1
>conftest.err
4898 cat conftest.err
>&5
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); } && {
4901 test -z "$ac_c_werror_flag" ||
4902 test ! -s conftest.err
4903 } && test -s conftest.
$ac_objext; then
4906 echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.
$ac_ext >&5
4909 ac_c_werror_flag
=$ac_save_c_werror_flag
4911 cat >conftest.
$ac_ext <<_ACEOF
4914 cat confdefs.h
>>conftest.
$ac_ext
4915 cat >>conftest.
$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4926 rm -f conftest.
$ac_objext
4927 if { (ac_try
="$ac_compile"
4929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933 (eval "$ac_compile") 2>conftest.er1
4935 grep -v '^ *+' conftest.er1 >conftest.err
4937 cat conftest.err >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && {
4940 test -z "$ac_c_werror_flag" ||
4941 test ! -s conftest.err
4942 } && test -s conftest.$ac_objext; then
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4958 ac_c_werror_flag=$ac_save_c_werror_flag
4960 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4961 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4962 if test "$ac_test_CFLAGS" = set; then
4963 CFLAGS=$ac_save_CFLAGS
4964 elif test $ac_cv_prog_cc_g = yes; then
4965 if test "$GCC" = yes; then
4971 if test "$GCC" = yes; then
4977 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4978 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4979 if test "${ac_cv_prog_cc_c89+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 ac_cv_prog_cc_c89=no
4984 cat >conftest.$ac_ext <<_ACEOF
4987 cat confdefs.h >>conftest.$ac_ext
4988 cat >>conftest.$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4992 #include <sys/types.h>
4993 #include <sys/stat.h>
4994 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4995 struct buf { int x; };
4996 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4997 static char *e (p, i)
5003 static char *f (char * (*g) (char **, int), char **p, ...)
5008 s = g (p, va_arg (v,int));
5013 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5014 function prototypes and stuff, but not '\xHH' hex character constants.
5015 These don't provoke an error unfortunately, instead are silently treated
5016 as 'x'. The following induces an error, until -std is added to get
5017 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5018 array size at least. It's necessary to write '\x00'==0 to get something
5019 that's true only with -std. */
5020 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5022 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5023 inside strings and character constants. */
5025 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5027 int test (int i, double x);
5028 struct s1 {int (*f) (int a);};
5029 struct s2 {int (*f) (double a);};
5030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5036 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5041 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5042 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5044 CC="$ac_save_CC $ac_arg"
5045 rm -f conftest.$ac_objext
5046 if { (ac_try="$ac_compile"
5048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5049 *) ac_try_echo
=$ac_try;;
5051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5052 (eval "$ac_compile") 2>conftest.er1
5054 grep -v '^ *+' conftest.er1
>conftest.err
5056 cat conftest.err
>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } && {
5059 test -z "$ac_c_werror_flag" ||
5060 test ! -s conftest.err
5061 } && test -s conftest.
$ac_objext; then
5062 ac_cv_prog_cc_c89
=$ac_arg
5064 echo "$as_me: failed program was:" >&5
5065 sed 's/^/| /' conftest.
$ac_ext >&5
5070 rm -f core conftest.err conftest.
$ac_objext
5071 test "x$ac_cv_prog_cc_c89" != "xno" && break
5073 rm -f conftest.
$ac_ext
5078 case "x$ac_cv_prog_cc_c89" in
5080 { echo "$as_me:$LINENO: result: none needed" >&5
5081 echo "${ECHO_T}none needed" >&6; } ;;
5083 { echo "$as_me:$LINENO: result: unsupported" >&5
5084 echo "${ECHO_T}unsupported" >&6; } ;;
5086 CC
="$CC $ac_cv_prog_cc_c89"
5087 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5088 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5093 ac_cpp
='$CPP $CPPFLAGS'
5094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5098 depcc
="$CC" am_compiler_list
=
5100 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5101 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5102 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5106 # We make a subdir and do the tests there. Otherwise we can end up
5107 # making bogus files that we don't know about and never remove. For
5108 # instance it was reported that on HP-UX the gcc test will end up
5109 # making a dummy file named `D' -- because `-MD' means `put the output
5112 # Copy depcomp to subdir because otherwise we won't find it if we're
5113 # using a relative directory.
5114 cp "$am_depcomp" conftest.dir
5116 # We will build objects and dependencies in a subdirectory because
5117 # it helps to detect inapplicable dependency modes. For instance
5118 # both Tru64's cc and ICC support -MD to output dependencies as a
5119 # side effect of compilation, but ICC will put the dependencies in
5120 # the current directory while Tru64 will put them in the object
5124 am_cv_CC_dependencies_compiler_type
=none
5125 if test "$am_compiler_list" = ""; then
5126 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5128 for depmode
in $am_compiler_list; do
5129 # Setup a source with many dependencies, because some compilers
5130 # like to wrap large dependency lists on column 80 (with \), and
5131 # we should not choose a depcomp mode which is confused by this.
5133 # We need to recreate these files for each test, as the compiler may
5134 # overwrite some of them when testing with obscure command lines.
5135 # This happens at least with the AIX C compiler.
5137 for i
in 1 2 3 4 5 6; do
5138 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5139 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5140 # Solaris 8's {/usr,}/bin/sh.
5141 touch sub
/conftst
$i.h
5143 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5147 # after this tag, mechanisms are not by side-effect, so they'll
5148 # only be used when explicitly requested
5149 if test "x$enable_dependency_tracking" = xyes
; then
5157 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5158 # mode. It turns out that the SunPro C++ compiler does not properly
5159 # handle `-M -o', and we need to detect this.
5160 if depmode
=$depmode \
5161 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5162 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5163 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5164 >/dev
/null
2>conftest.err
&&
5165 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5166 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5167 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5168 # icc doesn't choke on unknown options, it will just issue warnings
5169 # or remarks (even with -Werror). So we grep stderr for any message
5170 # that says an option was ignored or not supported.
5171 # When given -MP, icc 7.0 and 7.1 complain thusly:
5172 # icc: Command line warning: ignoring option '-M'; no argument required
5173 # The diagnosis changed in icc 8.0:
5174 # icc: Command line remark: option '-MP' not supported
5175 if (grep 'ignoring option' conftest.err ||
5176 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5177 am_cv_CC_dependencies_compiler_type
=$depmode
5186 am_cv_CC_dependencies_compiler_type
=none
5190 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5191 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5192 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5197 test "x$enable_dependency_tracking" != xno \
5198 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5200 am__fastdepCC_FALSE
='#'
5202 am__fastdepCC_TRUE
='#'
5203 am__fastdepCC_FALSE
=
5208 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5211 ac_cpp
='$CPP $CPPFLAGS'
5212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5215 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5216 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5217 # On Suns, sometimes $CPP names a directory.
5218 if test -n "$CPP" && test -d "$CPP"; then
5221 if test -z "$CPP"; then
5222 if test "${ac_cv_prog_CPP+set}" = set; then
5223 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 # Double quotes because CPP needs to be expanded
5226 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5229 for ac_c_preproc_warn_flag
in '' yes
5231 # Use a header file that comes with gcc, so configuring glibc
5232 # with a fresh cross-compiler works.
5233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5234 # <limits.h> exists even on freestanding compilers.
5235 # On the NeXT, cc -E runs the code through the compiler's parser,
5236 # not just through cpp. "Syntax error" is here to catch this case.
5237 cat >conftest.
$ac_ext <<_ACEOF
5240 cat confdefs.h
>>conftest.
$ac_ext
5241 cat >>conftest.
$ac_ext <<_ACEOF
5242 /* end confdefs.h. */
5244 # include <limits.h>
5246 # include <assert.h>
5250 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5253 *) ac_try_echo=$ac_try;;
5255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5258 grep -v '^ *+' conftest.er1 >conftest.err
5260 cat conftest.err >&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); } >/dev/null && {
5263 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5264 test ! -s conftest.err
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.$ac_ext >&5
5271 # Broken: fails on valid input.
5275 rm -f conftest.err conftest.$ac_ext
5277 # OK, works on sane cases. Now check whether nonexistent headers
5278 # can be detected and how.
5279 cat >conftest.$ac_ext <<_ACEOF
5282 cat confdefs.h >>conftest.$ac_ext
5283 cat >>conftest.$ac_ext <<_ACEOF
5284 /* end confdefs.h. */
5285 #include <ac_nonexistent.h>
5287 if { (ac_try="$ac_cpp conftest.$ac_ext"
5289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5290 *) ac_try_echo
=$ac_try;;
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5295 grep -v '^ *+' conftest.er1
>conftest.err
5297 cat conftest.err
>&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); } >/dev
/null
&& {
5300 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5301 test ! -s conftest.err
5303 # Broken: success on invalid input.
5306 echo "$as_me: failed program was:" >&5
5307 sed 's/^/| /' conftest.
$ac_ext >&5
5309 # Passes both tests.
5314 rm -f conftest.err conftest.
$ac_ext
5317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5318 rm -f conftest.err conftest.
$ac_ext
5319 if $ac_preproc_ok; then
5331 { echo "$as_me:$LINENO: result: $CPP" >&5
5332 echo "${ECHO_T}$CPP" >&6; }
5334 for ac_c_preproc_warn_flag
in '' yes
5336 # Use a header file that comes with gcc, so configuring glibc
5337 # with a fresh cross-compiler works.
5338 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5339 # <limits.h> exists even on freestanding compilers.
5340 # On the NeXT, cc -E runs the code through the compiler's parser,
5341 # not just through cpp. "Syntax error" is here to catch this case.
5342 cat >conftest.
$ac_ext <<_ACEOF
5345 cat confdefs.h
>>conftest.
$ac_ext
5346 cat >>conftest.
$ac_ext <<_ACEOF
5347 /* end confdefs.h. */
5349 # include <limits.h>
5351 # include <assert.h>
5355 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5358 *) ac_try_echo=$ac_try;;
5360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5361 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5363 grep -v '^ *+' conftest.er1 >conftest.err
5365 cat conftest.err >&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); } >/dev/null && {
5368 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5369 test ! -s conftest.err
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5376 # Broken: fails on valid input.
5380 rm -f conftest.err conftest.$ac_ext
5382 # OK, works on sane cases. Now check whether nonexistent headers
5383 # can be detected and how.
5384 cat >conftest.$ac_ext <<_ACEOF
5387 cat confdefs.h >>conftest.$ac_ext
5388 cat >>conftest.$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5390 #include <ac_nonexistent.h>
5392 if { (ac_try="$ac_cpp conftest.$ac_ext"
5394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5395 *) ac_try_echo
=$ac_try;;
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5400 grep -v '^ *+' conftest.er1
>conftest.err
5402 cat conftest.err
>&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); } >/dev
/null
&& {
5405 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5406 test ! -s conftest.err
5408 # Broken: success on invalid input.
5411 echo "$as_me: failed program was:" >&5
5412 sed 's/^/| /' conftest.
$ac_ext >&5
5414 # Passes both tests.
5419 rm -f conftest.err conftest.
$ac_ext
5422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5423 rm -f conftest.err conftest.
$ac_ext
5424 if $ac_preproc_ok; then
5427 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5428 See \`config.log' for more details." >&5
5429 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5430 See \`config.log' for more details." >&2;}
5431 { (exit 1); exit 1; }; }
5435 ac_cpp
='$CPP $CPPFLAGS'
5436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5441 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5442 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5443 if test "${ac_cv_path_GREP+set}" = set; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 # Extract the first word of "grep ggrep" to use in msg output
5447 if test -z "$GREP"; then
5448 set dummy
grep ggrep
; ac_prog_name
=$2
5449 if test "${ac_cv_path_GREP+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 ac_path_GREP_found
=false
5453 # Loop through the user's path and test for each of PROGNAME-LIST
5454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5455 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5458 test -z "$as_dir" && as_dir
=.
5459 for ac_prog
in grep ggrep
; do
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5462 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5463 # Check for GNU ac_path_GREP and select it if it is found.
5464 # Check for GNU $ac_path_GREP
5465 case `"$ac_path_GREP" --version 2>&1` in
5467 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5470 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5473 cat "conftest.in" "conftest.in" >"conftest.tmp"
5474 mv "conftest.tmp" "conftest.in"
5475 cp "conftest.in" "conftest.nl"
5476 echo 'GREP' >> "conftest.nl"
5477 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5478 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5479 ac_count
=`expr $ac_count + 1`
5480 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5481 # Best one so far, save it but keep looking for a better one
5482 ac_cv_path_GREP
="$ac_path_GREP"
5483 ac_path_GREP_max
=$ac_count
5485 # 10*(2^10) chars as input seems more than enough
5486 test $ac_count -gt 10 && break
5488 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5492 $ac_path_GREP_found && break 3
5502 GREP
="$ac_cv_path_GREP"
5503 if test -z "$GREP"; then
5504 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5505 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5506 { (exit 1); exit 1; }; }
5510 ac_cv_path_GREP
=$GREP
5515 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5516 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5517 GREP
="$ac_cv_path_GREP"
5520 { echo "$as_me:$LINENO: checking for egrep" >&5
5521 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5522 if test "${ac_cv_path_EGREP+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5526 then ac_cv_path_EGREP
="$GREP -E"
5528 # Extract the first word of "egrep" to use in msg output
5529 if test -z "$EGREP"; then
5530 set dummy
egrep; ac_prog_name
=$2
5531 if test "${ac_cv_path_EGREP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 ac_path_EGREP_found
=false
5535 # Loop through the user's path and test for each of PROGNAME-LIST
5536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5540 test -z "$as_dir" && as_dir
=.
5541 for ac_prog
in egrep; do
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5544 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5545 # Check for GNU ac_path_EGREP and select it if it is found.
5546 # Check for GNU $ac_path_EGREP
5547 case `"$ac_path_EGREP" --version 2>&1` in
5549 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5552 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5555 cat "conftest.in" "conftest.in" >"conftest.tmp"
5556 mv "conftest.tmp" "conftest.in"
5557 cp "conftest.in" "conftest.nl"
5558 echo 'EGREP' >> "conftest.nl"
5559 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5560 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5561 ac_count
=`expr $ac_count + 1`
5562 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5563 # Best one so far, save it but keep looking for a better one
5564 ac_cv_path_EGREP
="$ac_path_EGREP"
5565 ac_path_EGREP_max
=$ac_count
5567 # 10*(2^10) chars as input seems more than enough
5568 test $ac_count -gt 10 && break
5570 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5574 $ac_path_EGREP_found && break 3
5584 EGREP
="$ac_cv_path_EGREP"
5585 if test -z "$EGREP"; then
5586 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5587 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5588 { (exit 1); exit 1; }; }
5592 ac_cv_path_EGREP
=$EGREP
5598 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5599 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5600 EGREP
="$ac_cv_path_EGREP"
5603 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5604 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5605 if test "${ac_cv_header_stdc+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 cat >conftest.
$ac_ext <<_ACEOF
5611 cat confdefs.h
>>conftest.
$ac_ext
5612 cat >>conftest.
$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5627 rm -f conftest.
$ac_objext
5628 if { (ac_try
="$ac_compile"
5630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5631 *) ac_try_echo=$ac_try;;
5633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5634 (eval "$ac_compile") 2>conftest.er1
5636 grep -v '^ *+' conftest.er1 >conftest.err
5638 cat conftest.err >&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } && {
5641 test -z "$ac_c_werror_flag" ||
5642 test ! -s conftest.err
5643 } && test -s conftest.$ac_objext; then
5644 ac_cv_header_stdc=yes
5646 echo "$as_me: failed program was:" >&5
5647 sed 's/^/| /' conftest.$ac_ext >&5
5649 ac_cv_header_stdc=no
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5654 if test $ac_cv_header_stdc = yes; then
5655 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5656 cat >conftest.$ac_ext <<_ACEOF
5659 cat confdefs.h >>conftest.$ac_ext
5660 cat >>conftest.$ac_ext <<_ACEOF
5661 /* end confdefs.h. */
5665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5666 $EGREP "memchr" >/dev/null 2>&1; then
5669 ac_cv_header_stdc=no
5675 if test $ac_cv_header_stdc = yes; then
5676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5677 cat >conftest.$ac_ext <<_ACEOF
5680 cat confdefs.h >>conftest.$ac_ext
5681 cat >>conftest.$ac_ext <<_ACEOF
5682 /* end confdefs.h. */
5686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5687 $EGREP "free" >/dev/null 2>&1; then
5690 ac_cv_header_stdc=no
5696 if test $ac_cv_header_stdc = yes; then
5697 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5698 if test "$cross_compiling" = yes; then
5701 cat >conftest.$ac_ext <<_ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5709 #if ((' ' & 0x0FF) == 0x020)
5710 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5711 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5713 # define ISLOWER(c) \
5714 (('a' <= (c) && (c) <= 'i') \
5715 || ('j' <= (c) && (c) <= 'r') \
5716 || ('s' <= (c) && (c) <= 'z'))
5717 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5720 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5725 for (i = 0; i < 256; i++)
5726 if (XOR (islower (i), ISLOWER (i))
5727 || toupper (i) != TOUPPER (i))
5732 rm -f conftest$ac_exeext
5733 if { (ac_try="$ac_link"
5735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5736 *) ac_try_echo
=$ac_try;;
5738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5739 (eval "$ac_link") 2>&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5743 { (case "(($ac_try" in
5744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5745 *) ac_try_echo=$ac_try;;
5747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5748 (eval "$ac_try") 2>&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; }; then
5754 echo "$as_me: program exited with status $ac_status" >&5
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5759 ac_cv_header_stdc=no
5761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5767 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5768 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5769 if test $ac_cv_header_stdc = yes; then
5771 cat >>confdefs.h <<\_ACEOF
5772 #define STDC_HEADERS 1
5778 # Check whether --enable-static was given.
5779 if test "${enable_static+set}" = set; then
5780 enableval=$enable_static; p=${PACKAGE-default}
5782 yes) enable_static=yes ;;
5783 no) enable_static=no ;;
5786 # Look at the argument we got. We use all the common list separators.
5787 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5788 for pkg in $enableval; do
5790 if test "X$pkg" = "X$p"; then
5811 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5812 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5817 macro_version='2.2.4'
5818 macro_revision='1.2976'
5832 ltmain="$ac_aux_dir/ltmain.sh"
5834 # Make sure we can run config.sub.
5835 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5836 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5837 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5838 { (exit 1); exit 1; }; }
5840 { echo "$as_me:$LINENO: checking build system type" >&5
5841 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5842 if test "${ac_cv_build+set}" = set; then
5843 echo $ECHO_N "(cached) $ECHO_C" >&6
5845 ac_build_alias=$build_alias
5846 test "x$ac_build_alias" = x &&
5847 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5848 test "x$ac_build_alias" = x &&
5849 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5850 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5851 { (exit 1); exit 1; }; }
5852 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5853 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5854 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5855 { (exit 1); exit 1; }; }
5858 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5859 echo "${ECHO_T}$ac_cv_build" >&6; }
5860 case $ac_cv_build in
5862 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5863 echo "$as_me: error: invalid value of canonical build" >&2;}
5864 { (exit 1); exit 1; }; };;
5867 ac_save_IFS=$IFS; IFS='-'
5873 # Remember, the first character of IFS is used to create $*,
5874 # except with old shells:
5877 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
5880 { echo "$as_me:$LINENO: checking host system type" >&5
5881 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5882 if test "${ac_cv_host+set}" = set; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 if test "x$host_alias" = x; then
5886 ac_cv_host=$ac_cv_build
5888 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5889 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5890 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5891 { (exit 1); exit 1; }; }
5895 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5896 echo "${ECHO_T}$ac_cv_host" >&6; }
5899 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5900 echo "$as_me: error: invalid value of canonical host" >&2;}
5901 { (exit 1); exit 1; }; };;
5904 ac_save_IFS=$IFS; IFS='-'
5910 # Remember, the first character of IFS is used to create $*,
5911 # except with old shells:
5914 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
5917 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5918 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5919 if test "${ac_cv_path_SED+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5923 for ac_i in 1 2 3 4 5 6 7; do
5924 ac_script="$ac_script$as_nl$ac_script"
5926 echo "$ac_script" | sed 99q >conftest.sed
5927 $as_unset ac_script || ac_script=
5928 # Extract the first word of "sed gsed" to use in msg output
5929 if test -z "$SED"; then
5930 set dummy sed gsed; ac_prog_name=$2
5931 if test "${ac_cv_path_SED+set}" = set; then
5932 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 ac_path_SED_found=false
5935 # Loop through the user's path and test for each of PROGNAME-LIST
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir=.
5941 for ac_prog in sed gsed; do
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5944 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5945 # Check for GNU ac_path_SED and select it if it is found.
5946 # Check for GNU $ac_path_SED
5947 case `"$ac_path_SED" --version 2>&1` in
5949 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5952 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5955 cat "conftest.in" "conftest.in" >"conftest.tmp"
5956 mv "conftest.tmp" "conftest.in"
5957 cp "conftest.in" "conftest.nl"
5958 echo '' >> "conftest.nl"
5959 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5961 ac_count=`expr $ac_count + 1`
5962 if test $ac_count -gt ${ac_path_SED_max-0}; then
5963 # Best one so far, save it but keep looking for a better one
5964 ac_cv_path_SED="$ac_path_SED"
5965 ac_path_SED_max=$ac_count
5967 # 10*(2^10) chars as input seems more than enough
5968 test $ac_count -gt 10 && break
5970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5974 $ac_path_SED_found && break 3
5984 SED="$ac_cv_path_SED"
5985 if test -z "$SED"; then
5986 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
5987 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
5988 { (exit 1); exit 1; }; }
5996 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5997 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
5998 SED="$ac_cv_path_SED"
6001 test -z "$SED" && SED=sed
6002 Xsed="$SED -e 1s/^X//"
6014 { echo "$as_me:$LINENO: checking for fgrep" >&5
6015 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
6016 if test "${ac_cv_path_FGREP+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6020 then ac_cv_path_FGREP="$GREP -F"
6022 # Extract the first word of "fgrep" to use in msg output
6023 if test -z "$FGREP"; then
6024 set dummy fgrep; ac_prog_name=$2
6025 if test "${ac_cv_path_FGREP+set}" = set; then
6026 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 ac_path_FGREP_found=false
6029 # Loop through the user's path and test for each of PROGNAME-LIST
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6034 test -z "$as_dir" && as_dir=.
6035 for ac_prog in fgrep; do
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6038 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6039 # Check for GNU ac_path_FGREP and select it if it is found.
6040 # Check for GNU $ac_path_FGREP
6041 case `"$ac_path_FGREP" --version 2>&1` in
6043 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6046 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6049 cat "conftest.in" "conftest.in" >"conftest.tmp"
6050 mv "conftest.tmp" "conftest.in"
6051 cp "conftest.in" "conftest.nl"
6052 echo 'FGREP' >> "conftest.nl"
6053 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6054 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6055 ac_count=`expr $ac_count + 1`
6056 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6057 # Best one so far, save it but keep looking for a better one
6058 ac_cv_path_FGREP="$ac_path_FGREP"
6059 ac_path_FGREP_max=$ac_count
6061 # 10*(2^10) chars as input seems more than enough
6062 test $ac_count -gt 10 && break
6064 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6068 $ac_path_FGREP_found && break 3
6078 FGREP="$ac_cv_path_FGREP"
6079 if test -z "$FGREP"; then
6080 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6081 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6082 { (exit 1); exit 1; }; }
6086 ac_cv_path_FGREP=$FGREP
6092 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
6093 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
6094 FGREP="$ac_cv_path_FGREP"
6097 test -z "$GREP" && GREP=grep
6117 # Check whether --with-gnu-ld was given.
6118 if test "${with_gnu_ld+set}" = set; then
6119 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6125 if test "$GCC" = yes; then
6126 # Check if gcc -print-prog-name=ld gives a path.
6127 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6128 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6131 # gcc leaves a trailing carriage return which upsets mingw
6132 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6134 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6137 # Accept absolute paths.
6139 re_direlt='/[^/][^/]*/\.\./'
6140 # Canonicalize the pathname of ld
6141 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6142 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6143 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6145 test -z "$LD" && LD="$ac_prog"
6148 # If it fails, then pretend we aren't using GCC.
6152 # If it is relative, then search for the first ld in PATH.
6156 elif test "$with_gnu_ld" = yes; then
6157 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6158 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6160 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6161 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6163 if test "${lt_cv_path_LD+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 if test -z "$LD"; then
6167 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6168 for ac_dir in $PATH; do
6170 test -z "$ac_dir" && ac_dir=.
6171 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6172 lt_cv_path_LD="$ac_dir/$ac_prog"
6173 # Check to see if the program is GNU ld. I'd rather use --version,
6174 # but apparently some variants of GNU ld only accept -v.
6175 # Break only if it was the GNU/non-GNU ld that we prefer.
6176 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6177 *GNU* | *'with BFD'*)
6178 test "$with_gnu_ld" != no && break
6181 test "$with_gnu_ld" != yes && break
6188 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6193 if test -n "$LD"; then
6194 { echo "$as_me:$LINENO: result: $LD" >&5
6195 echo "${ECHO_T}$LD" >&6; }
6197 { echo "$as_me:$LINENO: result: no" >&5
6198 echo "${ECHO_T}no" >&6; }
6200 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6201 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6202 { (exit 1); exit 1; }; }
6203 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6204 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6205 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6208 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6209 case `$LD -v 2>&1 </dev
/null
` in
6210 *GNU* | *'with BFD'*)
6211 lt_cv_prog_gnu_ld=yes
6214 lt_cv_prog_gnu_ld=no
6218 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6219 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6220 with_gnu_ld=$lt_cv_prog_gnu_ld
6230 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6231 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
6232 if test "${lt_cv_path_NM+set}" = set; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 if test -n "$NM"; then
6236 # Let the user override the test.
6239 lt_nm_to_check="${ac_tool_prefix}nm"
6240 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6241 lt_nm_to_check="$lt_nm_to_check nm"
6243 for lt_tmp_nm in $lt_nm_to_check; do
6244 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6245 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6247 test -z "$ac_dir" && ac_dir=.
6248 tmp_nm="$ac_dir/$lt_tmp_nm"
6249 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6250 # Check to see if the nm accepts a BSD-compat flag.
6251 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
6252 # nm: unknown option "B" ignored
6253 # Tru64's nm complains that
/dev
/null is an invalid object
file
6254 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6255 */dev
/null
* |
*'Invalid file or object type'*)
6256 lt_cv_path_NM
="$tmp_nm -B"
6260 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6262 lt_cv_path_NM
="$tmp_nm -p"
6266 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6267 continue # so that we can try to find one that supports BSD flags
6276 : ${lt_cv_path_NM=no}
6279 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6280 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6281 if test "$lt_cv_path_NM" != "no"; then
6284 # Didn't find any BSD compatible name lister, look for dumpbin.
6285 if test -n "$ac_tool_prefix"; then
6286 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6289 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6292 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 if test -n "$DUMPBIN"; then
6296 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir
=.
6303 for ac_exec_ext
in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 DUMPBIN
=$ac_cv_prog_DUMPBIN
6316 if test -n "$DUMPBIN"; then
6317 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6318 echo "${ECHO_T}$DUMPBIN" >&6; }
6320 { echo "$as_me:$LINENO: result: no" >&5
6321 echo "${ECHO_T}no" >&6; }
6325 test -n "$DUMPBIN" && break
6328 if test -z "$DUMPBIN"; then
6329 ac_ct_DUMPBIN
=$DUMPBIN
6330 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6332 # Extract the first word of "$ac_prog", so it can be a program name with args.
6333 set dummy
$ac_prog; ac_word
=$2
6334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6336 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6337 echo $ECHO_N "(cached) $ECHO_C" >&6
6339 if test -n "$ac_ct_DUMPBIN"; then
6340 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6346 test -z "$as_dir" && as_dir
=.
6347 for ac_exec_ext
in '' $ac_executable_extensions; do
6348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6349 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6360 if test -n "$ac_ct_DUMPBIN"; then
6361 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6362 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
6364 { echo "$as_me:$LINENO: result: no" >&5
6365 echo "${ECHO_T}no" >&6; }
6369 test -n "$ac_ct_DUMPBIN" && break
6372 if test "x$ac_ct_DUMPBIN" = x
; then
6375 case $cross_compiling:$ac_tool_warned in
6377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6378 whose name does not start with the host triplet. If you think this
6379 configuration is useful to you, please write to autoconf@gnu.org." >&5
6380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6381 whose name does not start with the host triplet. If you think this
6382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6383 ac_tool_warned
=yes ;;
6385 DUMPBIN
=$ac_ct_DUMPBIN
6390 if test "$DUMPBIN" != ":"; then
6394 test -z "$NM" && NM
=nm
6401 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6402 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
6403 if test "${lt_cv_nm_interface+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 lt_cv_nm_interface
="BSD nm"
6407 echo "int some_variable = 0;" > conftest.
$ac_ext
6408 (eval echo "\"\$as_me:6408: $ac_compile\"" >&5)
6409 (eval "$ac_compile" 2>conftest.err
)
6410 cat conftest.err
>&5
6411 (eval echo "\"\$as_me:6411: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6412 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6413 cat conftest.err
>&5
6414 (eval echo "\"\$as_me:6414: output\"" >&5)
6415 cat conftest.out
>&5
6416 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6417 lt_cv_nm_interface
="MS dumpbin"
6421 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6422 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
6424 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6425 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6427 if test "$LN_S" = "ln -s"; then
6428 { echo "$as_me:$LINENO: result: yes" >&5
6429 echo "${ECHO_T}yes" >&6; }
6431 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6432 echo "${ECHO_T}no, using $LN_S" >&6; }
6435 # find the maximum length of command line arguments
6436 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6437 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6438 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6439 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 # On DJGPP, this test can blow up pretty badly due to problems in libc
6447 # (any single argument exceeding 2000 bytes causes a buffer overrun
6448 # during glob expansion). Even if it were fixed, the result of this
6449 # check would be larger than it should be.
6450 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6454 # Under GNU Hurd, this test is not required because there is
6455 # no limit to the length of command line arguments.
6456 # Libtool will interpret -1 as no limit whatsoever
6457 lt_cv_sys_max_cmd_len
=-1;
6461 # On Win9x/ME, this test blows up -- it succeeds, but takes
6462 # about 5 minutes as the teststring grows exponentially.
6463 # Worse, since 9x/ME are not pre-emptively multitasking,
6464 # you end up with a "frozen" computer, even though with patience
6465 # the test eventually succeeds (with a max line length of 256k).
6466 # Instead, let's just punt: use the minimum linelength reported by
6467 # all of the supported platforms: 8192 (on NT/2K/XP).
6468 lt_cv_sys_max_cmd_len
=8192;
6472 # On AmigaOS with pdksh, this test takes hours, literally.
6473 # So we just punt and use a minimum line length of 8192.
6474 lt_cv_sys_max_cmd_len
=8192;
6477 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6478 # This has been around since 386BSD, at least. Likely further.
6479 if test -x /sbin
/sysctl
; then
6480 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6481 elif test -x /usr
/sbin
/sysctl
; then
6482 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6484 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6486 # And add a safety zone
6487 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6488 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6492 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6493 lt_cv_sys_max_cmd_len
=196608
6497 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6498 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6499 # nice to cause kernel panics so lets avoid the loop below.
6500 # First set a reasonable default.
6501 lt_cv_sys_max_cmd_len
=16384
6503 if test -x /sbin
/sysconfig
; then
6504 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6505 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6510 lt_cv_sys_max_cmd_len
=102400
6512 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6513 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6514 if test -n "$kargmax"; then
6515 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6517 lt_cv_sys_max_cmd_len
=32768
6521 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6522 if test -n "$lt_cv_sys_max_cmd_len"; then
6523 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6524 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6526 # Make teststring a little bigger before we do anything with it.
6527 # a 1K string should be a reasonable start.
6528 for i
in 1 2 3 4 5 6 7 8 ; do
6529 teststring
=$teststring$teststring
6531 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6532 # If test is not a shell built-in, we'll probably end up computing a
6533 # maximum length that is only half of the actual maximum length, but
6535 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6536 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6537 test $i != 17 # 1/2 MB should be enough
6540 teststring
=$teststring$teststring
6542 # Only check the string length outside the loop.
6543 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6545 # Add a significant safety factor because C++ compilers can tack on
6546 # massive amounts of additional arguments before passing them to the
6547 # linker. It appears as though 1/2 is a usable value.
6548 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6555 if test -n $lt_cv_sys_max_cmd_len ; then
6556 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6557 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6559 { echo "$as_me:$LINENO: result: none" >&5
6560 echo "${ECHO_T}none" >&6; }
6562 max_cmd_len
=$lt_cv_sys_max_cmd_len
6573 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6574 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
6575 # Try some XSI features
6578 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6580 && eval 'test $(( 1 + 1 )) -eq 2 \
6581 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6583 { echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6584 echo "${ECHO_T}$xsi_shell" >&6; }
6587 { echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6588 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6; }
6590 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6592 && lt_shell_append=yes
6593 { echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6594 echo "${ECHO_T}$lt_shell_append" >&6; }
6597 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6607 # test EBCDIC or ASCII
6608 case `echo X|tr X '\101'` in
6609 A) # ASCII based system
6610 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6611 lt_SP2NL='tr \040 \012'
6612 lt_NL2SP='tr \015\012 \040\040'
6614 *) # EBCDIC based system
6615 lt_SP2NL='tr \100 \n'
6616 lt_NL2SP='tr \r\n \100\100'
6628 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6629 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
6630 if test "${lt_cv_ld_reload_flag+set}" = set; then
6631 echo $ECHO_N "(cached
) $ECHO_C" >&6
6633 lt_cv_ld_reload_flag='-r'
6635 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6636 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6637 reload_flag=$lt_cv_ld_reload_flag
6638 case $reload_flag in
6640 *) reload_flag=" $reload_flag" ;;
6642 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6645 if test "$GCC" = yes; then
6646 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6648 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6662 { echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6663 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6; }
6664 if test "${lt_cv_deplibs_check_method+set}" = set; then
6665 echo $ECHO_N "(cached
) $ECHO_C" >&6
6667 lt_cv_file_magic_cmd='$MAGIC_CMD'
6668 lt_cv_file_magic_test_file=
6669 lt_cv_deplibs_check_method='unknown'
6670 # Need to set the preceding variable on all platforms that support
6671 # interlibrary dependencies.
6672 # 'none' -- dependencies not supported.
6673 # `unknown' -- same as none, but documents that we really don't know.
6674 # 'pass_all' -- all dependencies passed with no checks.
6675 # 'test_compile' -- check by making test program.
6676 # 'file_magic [[regex]]' -- check by looking for files in library path
6677 # which responds to the $file_magic_cmd with a given extended regex.
6678 # If you have `file' or equivalent on your system and you're not sure
6679 # whether `pass_all' will *always* work, you probably want this one.
6683 lt_cv_deplibs_check_method=pass_all
6687 lt_cv_deplibs_check_method=pass_all
6691 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6692 lt_cv_file_magic_cmd='/usr/bin/file -L'
6693 lt_cv_file_magic_test_file=/shlib/libc.so
6697 # func_win32_libid is a shell function defined in ltmain.sh
6698 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6699 lt_cv_file_magic_cmd='func_win32_libid'
6703 # Base MSYS/MinGW do not provide the 'file' command needed by
6704 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6705 # unless we find 'file', for example because we are cross-compiling.
6706 if ( file / ) >/dev/null 2>&1; then
6707 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6708 lt_cv_file_magic_cmd='func_win32_libid'
6710 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6711 lt_cv_file_magic_cmd='$OBJDUMP -f'
6715 darwin* | rhapsody*)
6716 lt_cv_deplibs_check_method=pass_all
6719 freebsd* | dragonfly*)
6720 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6723 # Not sure whether the presence of OpenBSD here was a mistake.
6724 # Let's accept both of them until this is cleared up.
6725 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6726 lt_cv_file_magic_cmd=/usr/bin/file
6727 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6731 lt_cv_deplibs_check_method=pass_all
6736 lt_cv_deplibs_check_method=pass_all
6739 hpux10.20* | hpux11*)
6740 lt_cv_file_magic_cmd=/usr/bin/file
6743 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6744 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6747 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6748 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6751 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6752 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6758 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6759 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6762 irix5* | irix6* | nonstopux*)
6764 *-32|*"-32 ") libmagic=32-bit;;
6765 *-n32|*"-n32 ") libmagic=N32;;
6766 *-64|*"-64 ") libmagic=64-bit;;
6767 *) libmagic=never-match;;
6769 lt_cv_deplibs_check_method=pass_all
6772 # This must be Linux ELF.
6773 linux* | k*bsd*-gnu)
6774 lt_cv_deplibs_check_method=pass_all
6777 netbsd* | netbsdelf*-gnu)
6778 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6779 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6781 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6786 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6787 lt_cv_file_magic_cmd=/usr/bin/file
6788 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6792 lt_cv_deplibs_check_method=pass_all
6796 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6797 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6799 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6803 osf3* | osf4* | osf5*)
6804 lt_cv_deplibs_check_method=pass_all
6808 lt_cv_deplibs_check_method=pass_all
6812 lt_cv_deplibs_check_method=pass_all
6815 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6816 lt_cv_deplibs_check_method=pass_all
6820 case $host_vendor in
6822 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]'
6823 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6826 lt_cv_deplibs_check_method=pass_all
6829 lt_cv_file_magic_cmd='/bin/file'
6830 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6833 lt_cv_file_magic_cmd='/bin/file'
6834 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6835 lt_cv_file_magic_test_file=/lib/libc.so
6838 lt_cv_deplibs_check_method=pass_all
6841 lt_cv_deplibs_check_method=pass_all
6847 lt_cv_deplibs_check_method=pass_all
6852 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6853 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6854 file_magic_cmd=$lt_cv_file_magic_cmd
6855 deplibs_check_method=$lt_cv_deplibs_check_method
6856 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6869 if test -n "$ac_tool_prefix"; then
6870 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6871 set dummy ${ac_tool_prefix}ar; ac_word=$2
6872 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6873 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6874 if test "${ac_cv_prog_AR+set}" = set; then
6875 echo $ECHO_N "(cached
) $ECHO_C" >&6
6877 if test -n "$AR"; then
6878 ac_cv_prog_AR="$AR" # Let the user override the test.
6880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir=.
6885 for ac_exec_ext in '' $ac_executable_extensions; do
6886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887 ac_cv_prog_AR="${ac_tool_prefix}ar"
6888 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6898 if test -n "$AR"; then
6899 { echo "$as_me:$LINENO: result
: $AR" >&5
6900 echo "${ECHO_T}$AR" >&6; }
6902 { echo "$as_me:$LINENO: result
: no
" >&5
6903 echo "${ECHO_T}no
" >&6; }
6908 if test -z "$ac_cv_prog_AR"; then
6910 # Extract the first word of "ar", so it can be a program name with args.
6911 set dummy ar; ac_word=$2
6912 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6913 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6914 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6915 echo $ECHO_N "(cached
) $ECHO_C" >&6
6917 if test -n "$ac_ct_AR"; then
6918 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927 ac_cv_prog_ac_ct_AR="ar"
6928 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6937 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6938 if test -n "$ac_ct_AR"; then
6939 { echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6940 echo "${ECHO_T}$ac_ct_AR" >&6; }
6942 { echo "$as_me:$LINENO: result
: no
" >&5
6943 echo "${ECHO_T}no
" >&6; }
6946 if test "x
$ac_ct_AR" = x; then
6949 case $cross_compiling:$ac_tool_warned in
6951 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
6952 whose name does not start with the
host triplet. If you think this
6953 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
6954 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
6955 whose name does not start with the
host triplet. If you think this
6956 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
6957 ac_tool_warned=yes ;;
6965 test -z "$AR" && AR=ar
6966 test -z "$AR_FLAGS" && AR_FLAGS=cru
6978 if test -n "$ac_tool_prefix"; then
6979 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6980 set dummy ${ac_tool_prefix}strip; ac_word=$2
6981 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
6982 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
6983 if test "${ac_cv_prog_STRIP+set}" = set; then
6984 echo $ECHO_N "(cached
) $ECHO_C" >&6
6986 if test -n "$STRIP"; then
6987 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993 test -z "$as_dir" && as_dir=.
6994 for ac_exec_ext in '' $ac_executable_extensions; do
6995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6997 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7006 STRIP=$ac_cv_prog_STRIP
7007 if test -n "$STRIP"; then
7008 { echo "$as_me:$LINENO: result
: $STRIP" >&5
7009 echo "${ECHO_T}$STRIP" >&6; }
7011 { echo "$as_me:$LINENO: result
: no
" >&5
7012 echo "${ECHO_T}no
" >&6; }
7017 if test -z "$ac_cv_prog_STRIP"; then
7019 # Extract the first word of "strip
", so it can be a program name with args.
7020 set dummy strip; ac_word=$2
7021 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7022 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7023 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7024 echo $ECHO_N "(cached
) $ECHO_C" >&6
7026 if test -n "$ac_ct_STRIP"; then
7027 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7036 ac_cv_prog_ac_ct_STRIP="strip
"
7037 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7046 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7047 if test -n "$ac_ct_STRIP"; then
7048 { echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
7049 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7051 { echo "$as_me:$LINENO: result
: no
" >&5
7052 echo "${ECHO_T}no
" >&6; }
7055 if test "x
$ac_ct_STRIP" = x; then
7058 case $cross_compiling:$ac_tool_warned in
7060 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7061 whose name does not start with the
host triplet. If you think this
7062 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7063 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7064 whose name does not start with the
host triplet. If you think this
7065 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7066 ac_tool_warned=yes ;;
7071 STRIP="$ac_cv_prog_STRIP"
7074 test -z "$STRIP" && STRIP=:
7081 if test -n "$ac_tool_prefix"; then
7082 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7083 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7084 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7085 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7086 if test "${ac_cv_prog_RANLIB+set}" = set; then
7087 echo $ECHO_N "(cached
) $ECHO_C" >&6
7089 if test -n "$RANLIB"; then
7090 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 test -z "$as_dir" && as_dir=.
7097 for ac_exec_ext in '' $ac_executable_extensions; do
7098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7099 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7100 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7109 RANLIB=$ac_cv_prog_RANLIB
7110 if test -n "$RANLIB"; then
7111 { echo "$as_me:$LINENO: result
: $RANLIB" >&5
7112 echo "${ECHO_T}$RANLIB" >&6; }
7114 { echo "$as_me:$LINENO: result
: no
" >&5
7115 echo "${ECHO_T}no
" >&6; }
7120 if test -z "$ac_cv_prog_RANLIB"; then
7121 ac_ct_RANLIB=$RANLIB
7122 # Extract the first word of "ranlib
", so it can be a program name with args.
7123 set dummy ranlib; ac_word=$2
7124 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7125 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7126 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7127 echo $ECHO_N "(cached
) $ECHO_C" >&6
7129 if test -n "$ac_ct_RANLIB"; then
7130 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7139 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7140 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7149 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7150 if test -n "$ac_ct_RANLIB"; then
7151 { echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
7152 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7154 { echo "$as_me:$LINENO: result
: no
" >&5
7155 echo "${ECHO_T}no
" >&6; }
7158 if test "x
$ac_ct_RANLIB" = x; then
7161 case $cross_compiling:$ac_tool_warned in
7163 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7164 whose name does not start with the
host triplet. If you think this
7165 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7166 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7167 whose name does not start with the
host triplet. If you think this
7168 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7169 ac_tool_warned=yes ;;
7171 RANLIB=$ac_ct_RANLIB
7174 RANLIB="$ac_cv_prog_RANLIB"
7177 test -z "$RANLIB" && RANLIB=:
7184 # Determine commands to create old-style static archives.
7185 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7186 old_postinstall_cmds='chmod 644 $oldlib'
7187 old_postuninstall_cmds=
7189 if test -n "$RANLIB"; then
7192 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7195 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7198 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7234 # If no C compiler was specified, use CC.
7237 # If no C compiler flags were specified, use CFLAGS.
7238 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7240 # Allow CC to be a program name with arguments.
7244 # Check for command to grab the raw symbol name followed by C symbol from nm.
7245 { echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
7246 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6; }
7247 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7248 echo $ECHO_N "(cached
) $ECHO_C" >&6
7251 # These are sane defaults that work on at least a few old systems.
7252 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7254 # Character class describing NM global symbol codes.
7255 symcode='[BCDEGRST]'
7257 # Regexp to match symbols that can be accessed directly from C.
7258 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7260 # Define system-specific variables.
7265 cygwin* | mingw* | pw32*)
7266 symcode='[ABCDGISTW]'
7269 if test "$host_cpu" = ia64; then
7270 symcode='[ABCDEGRST]'
7274 symcode='[BCDEGRST]'
7277 symcode='[BCDEGQRST]'
7288 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7296 # If we're using GNU nm, then use its standard symbol codes.
7297 case `$NM -V 2>&1` in
7298 *GNU* | *'with BFD'*)
7299 symcode='[ABCDGIRSTW]' ;;
7302 # Transform an extracted symbol line into a proper C declaration.
7303 # Some systems (esp. on ia64) link data and code symbols differently,
7304 # so use this general approach.
7305 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7307 # Transform an extracted symbol line into symbol name and symbol address
7308 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7309 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7311 # Handle CRLF in mingw tool chain
7315 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7319 # Try without a prefix underscore, then with it.
7320 for ac_symprfx in "" "_
"; do
7322 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7323 symxfrm="\\1 $ac_symprfx\\2 \\2"
7325 # Write the raw and C identifiers.
7326 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7327 # Fake it for dumpbin and say T for any non-static function
7328 # and D for any global variable.
7329 # Also find C++ and __fastcall symbols from MSVC++,
7330 # which start with @ or ?.
7331 lt_cv_sys_global_symbol_pipe="$AWK '"\
7332 " {last_section=section; section=\$ 3};"\
7333 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7334 " \$ 0!~/External *\|/{next};"\
7335 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7336 " {if(hide[section]) next};"\
7337 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7338 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7339 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7340 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7341 " ' prfx
=^
$ac_symprfx"
7343 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7346 # Check to see that the pipe works correctly.
7350 cat > conftest.$ac_ext <<_LT_EOF
7355 void nm_test_func(void);
7356 void nm_test_func(void){}
7360 int main(){nm_test_var='a';nm_test_func();return(0);}
7363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7364 (eval $ac_compile) 2>&5
7366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7367 (exit $ac_status); }; then
7368 # Now try to grab the symbols.
7370 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
7371 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7374 (exit $ac_status); } && test -s "$nlist"; then
7375 # Try sorting and uniquifying the output.
7376 if sort "$nlist" | uniq > "$nlist"T; then
7377 mv -f "$nlist"T "$nlist"
7382 # Make sure that we snagged all the symbols we need.
7383 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7384 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7385 cat <<_LT_EOF > conftest.$ac_ext
7391 # Now generate the symbol file.
7392 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7394 cat <<_LT_EOF >> conftest.$ac_ext
7396 /* The mapping between symbol names and symbols. */
7401 lt__PROGRAM__LTX_preloaded_symbols[] =
7403 { "@PROGRAM@
", (void *) 0 },
7405 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7406 cat <<\_LT_EOF >> conftest.$ac_ext
7410 /* This works around a problem in FreeBSD linker */
7411 #ifdef FREEBSD_WORKAROUND
7412 static const void *lt_preloaded_setup() {
7413 return lt__PROGRAM__LTX_preloaded_symbols;
7421 # Now try linking the two files.
7422 mv conftest.$ac_objext conftstm.$ac_objext
7423 lt_save_LIBS="$LIBS"
7424 lt_save_CFLAGS="$CFLAGS"
7425 LIBS="conftstm.
$ac_objext"
7426 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7428 (eval $ac_link) 2>&5
7430 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7431 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7434 LIBS="$lt_save_LIBS"
7435 CFLAGS="$lt_save_CFLAGS"
7437 echo "cannot
find nm_test_func
in $nlist" >&5
7440 echo "cannot
find nm_test_var
in $nlist" >&5
7443 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7446 echo "$progname: failed program was
:" >&5
7447 cat conftest.$ac_ext >&5
7449 rm -rf conftest* conftst*
7451 # Do not use the global_symbol_pipe unless it works.
7452 if test "$pipe_works" = yes; then
7455 lt_cv_sys_global_symbol_pipe=
7461 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7462 lt_cv_sys_global_symbol_to_cdecl=
7464 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7465 { echo "$as_me:$LINENO: result
: failed
" >&5
7466 echo "${ECHO_T}failed
" >&6; }
7468 { echo "$as_me:$LINENO: result
: ok
" >&5
7469 echo "${ECHO_T}ok
" >&6; }
7493 # Check whether --enable-libtool-lock was given.
7494 if test "${enable_libtool_lock+set}" = set; then
7495 enableval=$enable_libtool_lock;
7498 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7500 # Some flags need to be propagated to the compiler or linker for good
7504 # Find out which ABI we are using.
7505 echo 'int i;' > conftest.$ac_ext
7506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7507 (eval $ac_compile) 2>&5
7509 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7510 (exit $ac_status); }; then
7511 case `/usr/bin/file conftest.$ac_objext` in
7523 # Find out which ABI we are using.
7524 echo '#line 7524 "configure
"' > conftest.$ac_ext
7525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7526 (eval $ac_compile) 2>&5
7528 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7529 (exit $ac_status); }; then
7530 if test "$lt_cv_prog_gnu_ld" = yes; then
7531 case `/usr/bin/file conftest.$ac_objext` in
7533 LD="${LD-ld} -melf32bsmip"
7536 LD="${LD-ld} -melf32bmipn32"
7539 LD="${LD-ld} -melf64bmip"
7543 case `/usr/bin/file conftest.$ac_objext` in
7559 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7560 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7561 # Find out which ABI we are using.
7562 echo 'int i;' > conftest.$ac_ext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7564 (eval $ac_compile) 2>&5
7566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7567 (exit $ac_status); }; then
7568 case `/usr/bin/file conftest.o` in
7571 x86_64-*kfreebsd*-gnu)
7572 LD="${LD-ld} -m elf_i386_fbsd
"
7575 LD="${LD-ld} -m elf_i386
"
7577 ppc64-*linux*|powerpc64-*linux*)
7578 LD="${LD-ld} -m elf32ppclinux
"
7581 LD="${LD-ld} -m elf_s390
"
7584 LD="${LD-ld} -m elf32_sparc
"
7590 x86_64-*kfreebsd*-gnu)
7591 LD="${LD-ld} -m elf_x86_64_fbsd
"
7594 LD="${LD-ld} -m elf_x86_64
"
7596 ppc*-*linux*|powerpc*-*linux*)
7597 LD="${LD-ld} -m elf64ppc
"
7599 s390*-*linux*|s390*-*tpf*)
7600 LD="${LD-ld} -m elf64_s390
"
7603 LD="${LD-ld} -m elf64_sparc
"
7613 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7614 SAVE_CFLAGS="$CFLAGS"
7615 CFLAGS="$CFLAGS -belf"
7616 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7617 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
7618 if test "${lt_cv_cc_needs_belf+set}" = set; then
7619 echo $ECHO_N "(cached
) $ECHO_C" >&6
7622 ac_cpp='$CPP $CPPFLAGS'
7623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7627 cat >conftest.$ac_ext <<_ACEOF
7630 cat confdefs.h >>conftest.$ac_ext
7631 cat >>conftest.$ac_ext <<_ACEOF
7632 /* end confdefs.h. */
7642 rm -f conftest.$ac_objext conftest$ac_exeext
7643 if { (ac_try="$ac_link"
7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_link") 2>conftest.er1
7651 grep -v '^ *+' conftest.er1 >conftest.err
7653 cat conftest.err >&5
7654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7655 (exit $ac_status); } && {
7656 test -z "$ac_c_werror_flag" ||
7657 test ! -s conftest.err
7658 } && test -s conftest$ac_exeext &&
7659 $as_test_x conftest$ac_exeext; then
7660 lt_cv_cc_needs_belf=yes
7662 echo "$as_me: failed program was
:" >&5
7663 sed 's/^/| /' conftest.$ac_ext >&5
7665 lt_cv_cc_needs_belf=no
7668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7669 conftest$ac_exeext conftest.$ac_ext
7671 ac_cpp='$CPP $CPPFLAGS'
7672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7677 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7678 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7679 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7680 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7681 CFLAGS="$SAVE_CFLAGS"
7685 # Find out which ABI we are using.
7686 echo 'int i;' > conftest.$ac_ext
7687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7688 (eval $ac_compile) 2>&5
7690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7691 (exit $ac_status); }; then
7692 case `/usr/bin/file conftest.o` in
7694 case $lt_cv_prog_gnu_ld in
7695 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7697 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7709 need_locks="$enable_libtool_lock"
7713 rhapsody* | darwin*)
7714 if test -n "$ac_tool_prefix"; then
7715 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7717 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7718 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7719 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7720 echo $ECHO_N "(cached
) $ECHO_C" >&6
7722 if test -n "$DSYMUTIL"; then
7723 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7733 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7742 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7743 if test -n "$DSYMUTIL"; then
7744 { echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7745 echo "${ECHO_T}$DSYMUTIL" >&6; }
7747 { echo "$as_me:$LINENO: result
: no
" >&5
7748 echo "${ECHO_T}no
" >&6; }
7753 if test -z "$ac_cv_prog_DSYMUTIL"; then
7754 ac_ct_DSYMUTIL=$DSYMUTIL
7755 # Extract the first word of "dsymutil
", so it can be a program name with args.
7756 set dummy dsymutil; ac_word=$2
7757 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7758 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7759 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7760 echo $ECHO_N "(cached
) $ECHO_C" >&6
7762 if test -n "$ac_ct_DSYMUTIL"; then
7763 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7773 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7782 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7783 if test -n "$ac_ct_DSYMUTIL"; then
7784 { echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7785 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7787 { echo "$as_me:$LINENO: result
: no
" >&5
7788 echo "${ECHO_T}no
" >&6; }
7791 if test "x
$ac_ct_DSYMUTIL" = x; then
7794 case $cross_compiling:$ac_tool_warned in
7796 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7797 whose name does not start with the
host triplet. If you think this
7798 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7799 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7800 whose name does not start with the
host triplet. If you think this
7801 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7802 ac_tool_warned=yes ;;
7804 DSYMUTIL=$ac_ct_DSYMUTIL
7807 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7812 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7813 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7814 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7815 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7816 echo $ECHO_N "(cached
) $ECHO_C" >&6
7818 if test -n "$NMEDIT"; then
7819 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7829 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7838 NMEDIT=$ac_cv_prog_NMEDIT
7839 if test -n "$NMEDIT"; then
7840 { echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7841 echo "${ECHO_T}$NMEDIT" >&6; }
7843 { echo "$as_me:$LINENO: result
: no
" >&5
7844 echo "${ECHO_T}no
" >&6; }
7849 if test -z "$ac_cv_prog_NMEDIT"; then
7850 ac_ct_NMEDIT=$NMEDIT
7851 # Extract the first word of "nmedit
", so it can be a program name with args.
7852 set dummy nmedit; ac_word=$2
7853 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7854 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7855 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7856 echo $ECHO_N "(cached
) $ECHO_C" >&6
7858 if test -n "$ac_ct_NMEDIT"; then
7859 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7868 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7869 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7878 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7879 if test -n "$ac_ct_NMEDIT"; then
7880 { echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7881 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7883 { echo "$as_me:$LINENO: result
: no
" >&5
7884 echo "${ECHO_T}no
" >&6; }
7887 if test "x
$ac_ct_NMEDIT" = x; then
7890 case $cross_compiling:$ac_tool_warned in
7892 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7893 whose name does not start with the
host triplet. If you think this
7894 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7895 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7896 whose name does not start with the
host triplet. If you think this
7897 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7898 ac_tool_warned=yes ;;
7900 NMEDIT=$ac_ct_NMEDIT
7903 NMEDIT="$ac_cv_prog_NMEDIT"
7906 if test -n "$ac_tool_prefix"; then
7907 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7908 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7909 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7910 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7911 if test "${ac_cv_prog_LIPO+set}" = set; then
7912 echo $ECHO_N "(cached
) $ECHO_C" >&6
7914 if test -n "$LIPO"; then
7915 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 test -z "$as_dir" && as_dir=.
7922 for ac_exec_ext in '' $ac_executable_extensions; do
7923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7924 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7925 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7934 LIPO=$ac_cv_prog_LIPO
7935 if test -n "$LIPO"; then
7936 { echo "$as_me:$LINENO: result
: $LIPO" >&5
7937 echo "${ECHO_T}$LIPO" >&6; }
7939 { echo "$as_me:$LINENO: result
: no
" >&5
7940 echo "${ECHO_T}no
" >&6; }
7945 if test -z "$ac_cv_prog_LIPO"; then
7947 # Extract the first word of "lipo
", so it can be a program name with args.
7948 set dummy lipo; ac_word=$2
7949 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
7950 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
7951 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7952 echo $ECHO_N "(cached
) $ECHO_C" >&6
7954 if test -n "$ac_ct_LIPO"; then
7955 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7964 ac_cv_prog_ac_ct_LIPO="lipo
"
7965 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7974 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7975 if test -n "$ac_ct_LIPO"; then
7976 { echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7977 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
7979 { echo "$as_me:$LINENO: result
: no
" >&5
7980 echo "${ECHO_T}no
" >&6; }
7983 if test "x
$ac_ct_LIPO" = x; then
7986 case $cross_compiling:$ac_tool_warned in
7988 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
7989 whose name does not start with the
host triplet. If you think this
7990 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
7991 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
7992 whose name does not start with the
host triplet. If you think this
7993 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
7994 ac_tool_warned=yes ;;
7999 LIPO="$ac_cv_prog_LIPO"
8002 if test -n "$ac_tool_prefix"; then
8003 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8004 set dummy ${ac_tool_prefix}otool; ac_word=$2
8005 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8006 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8007 if test "${ac_cv_prog_OTOOL+set}" = set; then
8008 echo $ECHO_N "(cached
) $ECHO_C" >&6
8010 if test -n "$OTOOL"; then
8011 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 test -z "$as_dir" && as_dir=.
8018 for ac_exec_ext in '' $ac_executable_extensions; do
8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8021 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8030 OTOOL=$ac_cv_prog_OTOOL
8031 if test -n "$OTOOL"; then
8032 { echo "$as_me:$LINENO: result
: $OTOOL" >&5
8033 echo "${ECHO_T}$OTOOL" >&6; }
8035 { echo "$as_me:$LINENO: result
: no
" >&5
8036 echo "${ECHO_T}no
" >&6; }
8041 if test -z "$ac_cv_prog_OTOOL"; then
8043 # Extract the first word of "otool
", so it can be a program name with args.
8044 set dummy otool; ac_word=$2
8045 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8046 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8047 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
8048 echo $ECHO_N "(cached
) $ECHO_C" >&6
8050 if test -n "$ac_ct_OTOOL"; then
8051 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 test -z "$as_dir" && as_dir=.
8058 for ac_exec_ext in '' $ac_executable_extensions; do
8059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060 ac_cv_prog_ac_ct_OTOOL="otool
"
8061 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8070 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8071 if test -n "$ac_ct_OTOOL"; then
8072 { echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
8073 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
8075 { echo "$as_me:$LINENO: result
: no
" >&5
8076 echo "${ECHO_T}no
" >&6; }
8079 if test "x
$ac_ct_OTOOL" = x; then
8082 case $cross_compiling:$ac_tool_warned in
8084 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8085 whose name does not start with the
host triplet. If you think this
8086 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8087 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8088 whose name does not start with the
host triplet. If you think this
8089 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8090 ac_tool_warned=yes ;;
8095 OTOOL="$ac_cv_prog_OTOOL"
8098 if test -n "$ac_tool_prefix"; then
8099 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8100 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8101 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8102 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8103 if test "${ac_cv_prog_OTOOL64+set}" = set; then
8104 echo $ECHO_N "(cached
) $ECHO_C" >&6
8106 if test -n "$OTOOL64"; then
8107 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8116 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8117 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8126 OTOOL64=$ac_cv_prog_OTOOL64
8127 if test -n "$OTOOL64"; then
8128 { echo "$as_me:$LINENO: result
: $OTOOL64" >&5
8129 echo "${ECHO_T}$OTOOL64" >&6; }
8131 { echo "$as_me:$LINENO: result
: no
" >&5
8132 echo "${ECHO_T}no
" >&6; }
8137 if test -z "$ac_cv_prog_OTOOL64"; then
8138 ac_ct_OTOOL64=$OTOOL64
8139 # Extract the first word of "otool64
", so it can be a program name with args.
8140 set dummy otool64; ac_word=$2
8141 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
8142 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
8143 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
8144 echo $ECHO_N "(cached
) $ECHO_C" >&6
8146 if test -n "$ac_ct_OTOOL64"; then
8147 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8156 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8157 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8166 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8167 if test -n "$ac_ct_OTOOL64"; then
8168 { echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
8169 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
8171 { echo "$as_me:$LINENO: result
: no
" >&5
8172 echo "${ECHO_T}no
" >&6; }
8175 if test "x
$ac_ct_OTOOL64" = x; then
8178 case $cross_compiling:$ac_tool_warned in
8180 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
8181 whose name does not start with the
host triplet. If you think this
8182 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
8183 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
8184 whose name does not start with the
host triplet. If you think this
8185 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
8186 ac_tool_warned=yes ;;
8188 OTOOL64=$ac_ct_OTOOL64
8191 OTOOL64="$ac_cv_prog_OTOOL64"
8220 { echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
8221 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6; }
8222 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8223 echo $ECHO_N "(cached
) $ECHO_C" >&6
8225 lt_cv_apple_cc_single_mod=no
8226 if test -z "${LT_MULTI_MODULE}"; then
8227 # By default we will add the -single_module flag. You can override
8228 # by either setting the environment variable LT_MULTI_MODULE
8229 # non-empty at configure time, or by adding -multi_module to the
8231 rm -rf libconftest.dylib*
8232 echo "int foo
(void
){return 1;}" > conftest.c
8233 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8234 -dynamiclib -Wl,-single_module conftest.c
" >&5
8235 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8236 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8238 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8239 lt_cv_apple_cc_single_mod=yes
8241 cat conftest.err >&5
8243 rm -rf libconftest.dylib*
8247 { echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
8248 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8249 { echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
8250 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6; }
8251 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8252 echo $ECHO_N "(cached
) $ECHO_C" >&6
8254 lt_cv_ld_exported_symbols_list=no
8255 save_LDFLAGS=$LDFLAGS
8256 echo "_main
" > conftest.sym
8257 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8258 cat >conftest.$ac_ext <<_ACEOF
8261 cat confdefs.h >>conftest.$ac_ext
8262 cat >>conftest.$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8273 rm -f conftest.$ac_objext conftest$ac_exeext
8274 if { (ac_try="$ac_link"
8276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8277 *) ac_try_echo=$ac_try;;
8279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8280 (eval "$ac_link") 2>conftest.er1
8282 grep -v '^ *+' conftest.er1 >conftest.err
8284 cat conftest.err >&5
8285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8286 (exit $ac_status); } && {
8287 test -z "$ac_c_werror_flag" ||
8288 test ! -s conftest.err
8289 } && test -s conftest$ac_exeext &&
8290 $as_test_x conftest$ac_exeext; then
8291 lt_cv_ld_exported_symbols_list=yes
8293 echo "$as_me: failed program was
:" >&5
8294 sed 's/^/| /' conftest.$ac_ext >&5
8296 lt_cv_ld_exported_symbols_list=no
8299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8300 conftest$ac_exeext conftest.$ac_ext
8301 LDFLAGS="$save_LDFLAGS"
8304 { echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
8305 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8307 rhapsody* | darwin1.[012])
8308 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8310 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8311 darwin*) # darwin 5.x on
8312 # if running on 10.5 or later, the deployment target defaults
8313 # to the OS version, if on x86, and 10.4, the deployment
8314 # target defaults to 10.4. Don't you love it?
8315 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8316 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8317 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8319 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8321 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8325 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8326 _lt_dar_single_mod='$single_module'
8328 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8329 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8331 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8333 if test "$DSYMUTIL" != ":"; then
8334 _lt_dsymutil='~$DSYMUTIL $lib || :'
8341 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8351 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8352 inttypes.h stdint.h unistd.h
8354 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8355 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8356 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8357 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8358 echo $ECHO_N "(cached
) $ECHO_C" >&6
8360 cat >conftest.$ac_ext <<_ACEOF
8363 cat confdefs.h >>conftest.$ac_ext
8364 cat >>conftest.$ac_ext <<_ACEOF
8365 /* end confdefs.h. */
8366 $ac_includes_default
8368 #include <$ac_header>
8370 rm -f conftest.$ac_objext
8371 if { (ac_try="$ac_compile"
8373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8374 *) ac_try_echo=$ac_try;;
8376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_compile") 2>conftest.er1
8379 grep -v '^ *+' conftest.er1 >conftest.err
8381 cat conftest.err >&5
8382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8383 (exit $ac_status); } && {
8384 test -z "$ac_c_werror_flag" ||
8385 test ! -s conftest.err
8386 } && test -s conftest.$ac_objext; then
8387 eval "$as_ac_Header=yes"
8389 echo "$as_me: failed program was
:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 eval "$as_ac_Header=no
"
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 ac_res=`eval echo '${'$as_ac_Header'}'`
8398 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8399 echo "${ECHO_T}$ac_res" >&6; }
8400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8401 cat >>confdefs.h <<_ACEOF
8402 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8411 for ac_header in dlfcn.h
8413 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8414 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
8415 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
8416 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8417 echo $ECHO_N "(cached
) $ECHO_C" >&6
8419 cat >conftest.$ac_ext <<_ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8425 $ac_includes_default
8427 #include <$ac_header>
8429 rm -f conftest.$ac_objext
8430 if { (ac_try="$ac_compile"
8432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8433 *) ac_try_echo=$ac_try;;
8435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8436 (eval "$ac_compile") 2>conftest.er1
8438 grep -v '^ *+' conftest.er1 >conftest.err
8440 cat conftest.err >&5
8441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8442 (exit $ac_status); } && {
8443 test -z "$ac_c_werror_flag" ||
8444 test ! -s conftest.err
8445 } && test -s conftest.$ac_objext; then
8446 eval "$as_ac_Header=yes"
8448 echo "$as_me: failed program was
:" >&5
8449 sed 's/^/| /' conftest.$ac_ext >&5
8451 eval "$as_ac_Header=no
"
8454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8456 ac_res=`eval echo '${'$as_ac_Header'}'`
8457 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8458 echo "${ECHO_T}$ac_res" >&6; }
8459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8460 cat >>confdefs.h <<_ACEOF
8461 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8480 # Check whether --enable-shared was given.
8481 if test "${enable_shared+set}" = set; then
8482 enableval=$enable_shared; p=${PACKAGE-default}
8484 yes) enable_shared=yes ;;
8485 no) enable_shared=no ;;
8488 # Look at the argument we got. We use all the common list separators.
8489 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8490 for pkg in $enableval; do
8492 if test "X
$pkg" = "X
$p"; then
8513 # Check whether --with-pic was given.
8514 if test "${with_pic+set}" = set; then
8515 withval=$with_pic; pic_mode="$withval"
8521 test -z "$pic_mode" && pic_mode=default
8529 # Check whether --enable-fast-install was given.
8530 if test "${enable_fast_install+set}" = set; then
8531 enableval=$enable_fast_install; p=${PACKAGE-default}
8533 yes) enable_fast_install=yes ;;
8534 no) enable_fast_install=no ;;
8536 enable_fast_install=no
8537 # Look at the argument we got. We use all the common list separators.
8538 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8539 for pkg in $enableval; do
8541 if test "X
$pkg" = "X
$p"; then
8542 enable_fast_install=yes
8549 enable_fast_install=yes
8562 # This can be used to rebuild libtool when needed
8563 LIBTOOL_DEPS="$ltmain"
8565 # Always use our own libtool.
8566 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8592 test -z "$LN_S" && LN_S="ln -s"
8607 if test -n "${ZSH_VERSION+set}" ; then
8608 setopt NO_GLOB_SUBST
8611 { echo "$as_me:$LINENO: checking
for objdir
" >&5
8612 echo $ECHO_N "checking
for objdir...
$ECHO_C" >&6; }
8613 if test "${lt_cv_objdir+set}" = set; then
8614 echo $ECHO_N "(cached
) $ECHO_C" >&6
8616 rm -f .libs 2>/dev/null
8617 mkdir .libs 2>/dev/null
8618 if test -d .libs; then
8621 # MS-DOS does not allow filenames that begin with a dot.
8624 rmdir .libs 2>/dev/null
8626 { echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
8627 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8628 objdir=$lt_cv_objdir
8634 cat >>confdefs.h <<_ACEOF
8635 #define LT_OBJDIR "$lt_cv_objdir/"
8656 # AIX sometimes has problems with the GCC collect2 program. For some
8657 # reason, if we set the COLLECT_NAMES environment variable, the problems
8658 # vanish in a puff of smoke.
8659 if test "X
${COLLECT_NAMES+set}" != Xset; then
8661 export COLLECT_NAMES
8666 # Sed substitution that helps us do robust quoting. It backslashifies
8667 # metacharacters that are still active within double-quoted strings.
8668 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8670 # Same as above, but do not quote variable references.
8671 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
8673 # Sed substitution to delay expansion of an escaped shell variable in a
8674 # double_quote_subst'ed string.
8675 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8677 # Sed substitution to delay expansion of an escaped single quote.
8678 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8680 # Sed substitution to avoid accidental globbing in evaled expressions
8681 no_glob_subst
='s/\*/\\\*/g'
8685 can_build_shared
=yes
8687 # All known linkers require a `.a' archive for static linking (except MSVC,
8688 # which needs '.lib').
8691 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8694 old_CFLAGS
="$CFLAGS"
8696 # Set sane defaults for various variables
8697 test -z "$CC" && CC
=cc
8698 test -z "$LTCC" && LTCC
=$CC
8699 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8700 test -z "$LD" && LD
=ld
8701 test -z "$ac_objext" && ac_objext
=o
8703 for cc_temp
in $compiler""; do
8705 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8706 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8711 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8714 # Only perform the check for file, if the check method requires it
8715 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8716 case $deplibs_check_method in
8718 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8719 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8720 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8721 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8722 echo $ECHO_N "(cached) $ECHO_C" >&6
8726 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8729 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8730 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8731 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8732 for ac_dir
in $ac_dummy; do
8734 test -z "$ac_dir" && ac_dir
=.
8735 if test -f $ac_dir/${ac_tool_prefix}file; then
8736 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8737 if test -n "$file_magic_test_file"; then
8738 case $deplibs_check_method in
8740 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8741 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8742 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8743 $EGREP "$file_magic_regex" > /dev
/null
; then
8748 *** Warning: the command libtool uses to detect shared libraries,
8749 *** $file_magic_cmd, produces output that libtool cannot recognize.
8750 *** The result is that libtool may fail to recognize shared libraries
8751 *** as such. This will affect the creation of libtool libraries that
8752 *** depend on shared libraries, but programs linked with such libtool
8753 *** libraries will work regardless of this problem. Nevertheless, you
8754 *** may want to report the problem to your system manager and/or to
8755 *** bug-libtool@gnu.org
8765 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8770 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8771 if test -n "$MAGIC_CMD"; then
8772 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8773 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8775 { echo "$as_me:$LINENO: result: no" >&5
8776 echo "${ECHO_T}no" >&6; }
8783 if test -z "$lt_cv_path_MAGIC_CMD"; then
8784 if test -n "$ac_tool_prefix"; then
8785 { echo "$as_me:$LINENO: checking for file" >&5
8786 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8787 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8792 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8795 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8796 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8797 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8798 for ac_dir
in $ac_dummy; do
8800 test -z "$ac_dir" && ac_dir
=.
8801 if test -f $ac_dir/file; then
8802 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8803 if test -n "$file_magic_test_file"; then
8804 case $deplibs_check_method in
8806 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8807 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8808 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8809 $EGREP "$file_magic_regex" > /dev
/null
; then
8814 *** Warning: the command libtool uses to detect shared libraries,
8815 *** $file_magic_cmd, produces output that libtool cannot recognize.
8816 *** The result is that libtool may fail to recognize shared libraries
8817 *** as such. This will affect the creation of libtool libraries that
8818 *** depend on shared libraries, but programs linked with such libtool
8819 *** libraries will work regardless of this problem. Nevertheless, you
8820 *** may want to report the problem to your system manager and/or to
8821 *** bug-libtool@gnu.org
8831 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8836 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8837 if test -n "$MAGIC_CMD"; then
8838 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8839 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8841 { echo "$as_me:$LINENO: result: no" >&5
8842 echo "${ECHO_T}no" >&6; }
8855 # Use C for the default configuration in the libtool script
8859 ac_cpp
='$CPP $CPPFLAGS'
8860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8865 # Source file extension for C test sources.
8868 # Object file extension for compiled C test sources.
8872 # Code to be used in simple compile tests
8873 lt_simple_compile_test_code
="int some_variable = 0;"
8875 # Code to be used in simple link tests
8876 lt_simple_link_test_code
='int main(){return(0);}'
8884 # If no C compiler was specified, use CC.
8887 # If no C compiler flags were specified, use CFLAGS.
8888 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8890 # Allow CC to be a program name with arguments.
8893 # Save the default compiler, since it gets overwritten when the other
8894 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8895 compiler_DEFAULT
=$CC
8897 # save warnings/boilerplate of simple test code
8898 ac_outfile
=conftest.
$ac_objext
8899 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8900 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8901 _lt_compiler_boilerplate
=`cat conftest.err`
8904 ac_outfile
=conftest.
$ac_objext
8905 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8906 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8907 _lt_linker_boilerplate
=`cat conftest.err`
8911 if test -n "$compiler"; then
8913 lt_prog_compiler_no_builtin_flag
=
8915 if test "$GCC" = yes; then
8916 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8918 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8919 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8920 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8923 lt_cv_prog_compiler_rtti_exceptions
=no
8924 ac_outfile
=conftest.
$ac_objext
8925 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8926 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8927 # Insert the option either (1) after the last *FLAGS variable, or
8928 # (2) before a word containing "conftest.", or (3) at the end.
8929 # Note that $ac_compile itself does not contain backslashes and begins
8930 # with a dollar sign (not a hyphen), so the echo should work correctly.
8931 # The option is referenced via a variable to avoid confusing sed.
8932 lt_compile
=`echo "$ac_compile" | $SED \
8933 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8934 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8935 -e 's:$: $lt_compiler_flag:'`
8936 (eval echo "\"\$as_me:8936: $lt_compile\"" >&5)
8937 (eval "$lt_compile" 2>conftest.err
)
8939 cat conftest.err
>&5
8940 echo "$as_me:8940: \$? = $ac_status" >&5
8941 if (exit $ac_status) && test -s "$ac_outfile"; then
8942 # The compiler can only warn and ignore the option if not recognized
8943 # So say no if there are warnings other than the usual output.
8944 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8945 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8946 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8947 lt_cv_prog_compiler_rtti_exceptions
=yes
8953 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8954 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8956 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8957 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8969 lt_prog_compiler_wl
=
8970 lt_prog_compiler_pic
=
8971 lt_prog_compiler_static
=
8973 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8974 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8976 if test "$GCC" = yes; then
8977 lt_prog_compiler_wl
='-Wl,'
8978 lt_prog_compiler_static
='-static'
8982 # All AIX code is PIC.
8983 if test "$host_cpu" = ia64
; then
8984 # AIX 5 now supports IA64 processor
8985 lt_prog_compiler_static
='-Bstatic'
8992 # see comment about AmigaOS4 .so support
8993 lt_prog_compiler_pic
='-fPIC'
8996 # FIXME: we need at least 68020 code to build shared libraries, but
8997 # adding the `-m68020' flag to GCC prevents building anything better,
8999 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9004 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9005 # PIC is the default for these OSes.
9008 mingw
* | cygwin
* | pw32
* | os2
*)
9009 # This hack is so that the source file can tell whether it is being
9010 # built for inclusion in a dll (and should export symbols for example).
9011 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9012 # (--disable-auto-import) libraries
9013 lt_prog_compiler_pic
='-DDLL_EXPORT'
9016 darwin
* | rhapsody
*)
9017 # PIC is the default on this platform
9018 # Common symbols not allowed in MH_DYLIB files
9019 lt_prog_compiler_pic
='-fno-common'
9023 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9030 lt_prog_compiler_pic
='-fPIC'
9036 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9037 # Instead, we relocate shared libraries at runtime.
9041 # Just because we use GCC doesn't mean we suddenly get shared libraries
9042 # on systems that don't support them.
9043 lt_prog_compiler_can_build_shared
=no
9048 # QNX uses GNU C++, but need to define -shared option too, otherwise
9050 lt_prog_compiler_pic
='-fPIC -shared'
9054 if test -d /usr
/nec
; then
9055 lt_prog_compiler_pic
=-Kconform_pic
9060 lt_prog_compiler_pic
='-fPIC'
9064 # PORTME Check for flag to pass linker flags through the system compiler.
9067 lt_prog_compiler_wl
='-Wl,'
9068 if test "$host_cpu" = ia64
; then
9069 # AIX 5 now supports IA64 processor
9070 lt_prog_compiler_static
='-Bstatic'
9072 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9076 mingw
* | cygwin
* | pw32
* | os2
*)
9077 # This hack is so that the source file can tell whether it is being
9078 # built for inclusion in a dll (and should export symbols for example).
9079 lt_prog_compiler_pic
='-DDLL_EXPORT'
9082 hpux9
* | hpux10
* | hpux11
*)
9083 lt_prog_compiler_wl
='-Wl,'
9084 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9091 lt_prog_compiler_pic
='+Z'
9094 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9095 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9098 irix5
* | irix6
* | nonstopux
*)
9099 lt_prog_compiler_wl
='-Wl,'
9100 # PIC (with -KPIC) is the default.
9101 lt_prog_compiler_static
='-non_shared'
9104 linux
* | k
*bsd
*-gnu)
9105 case $cc_basename in
9106 icc
* | ecc
* | ifort
*)
9107 lt_prog_compiler_wl
='-Wl,'
9108 lt_prog_compiler_pic
='-KPIC'
9109 lt_prog_compiler_static
='-static'
9111 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9112 # Portland Group compilers (*not* the Pentium gcc compiler,
9113 # which looks to be a dead project)
9114 lt_prog_compiler_wl
='-Wl,'
9115 lt_prog_compiler_pic
='-fpic'
9116 lt_prog_compiler_static
='-Bstatic'
9119 lt_prog_compiler_wl
='-Wl,'
9120 # All Alpha code is PIC.
9121 lt_prog_compiler_static
='-non_shared'
9124 # IBM XL C 8.0/Fortran 10.1 on PPC
9125 lt_prog_compiler_wl
='-Wl,'
9126 lt_prog_compiler_pic
='-qpic'
9127 lt_prog_compiler_static
='-qstaticlink'
9130 case `$CC -V 2>&1 | sed 5q` in
9133 lt_prog_compiler_pic
='-KPIC'
9134 lt_prog_compiler_static
='-Bstatic'
9135 lt_prog_compiler_wl
='-Wl,'
9138 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9139 lt_prog_compiler_pic
='-KPIC'
9140 lt_prog_compiler_static
='-Bstatic'
9141 lt_prog_compiler_wl
=''
9149 lt_prog_compiler_pic
='-KPIC'
9150 lt_prog_compiler_static
='-Bstatic'
9154 # QNX uses GNU C++, but need to define -shared option too, otherwise
9156 lt_prog_compiler_pic
='-fPIC -shared'
9159 osf3
* | osf4
* | osf5
*)
9160 lt_prog_compiler_wl
='-Wl,'
9161 # All OSF/1 code is PIC.
9162 lt_prog_compiler_static
='-non_shared'
9166 lt_prog_compiler_static
='-non_shared'
9170 lt_prog_compiler_pic
='-KPIC'
9171 lt_prog_compiler_static
='-Bstatic'
9172 case $cc_basename in
9174 lt_prog_compiler_wl
='-Qoption ld ';;
9176 lt_prog_compiler_wl
='-Wl,';;
9181 lt_prog_compiler_wl
='-Qoption ld '
9182 lt_prog_compiler_pic
='-PIC'
9183 lt_prog_compiler_static
='-Bstatic'
9186 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9187 lt_prog_compiler_wl
='-Wl,'
9188 lt_prog_compiler_pic
='-KPIC'
9189 lt_prog_compiler_static
='-Bstatic'
9193 if test -d /usr
/nec
;then
9194 lt_prog_compiler_pic
='-Kconform_pic'
9195 lt_prog_compiler_static
='-Bstatic'
9199 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9200 lt_prog_compiler_wl
='-Wl,'
9201 lt_prog_compiler_pic
='-KPIC'
9202 lt_prog_compiler_static
='-Bstatic'
9206 lt_prog_compiler_wl
='-Wl,'
9207 lt_prog_compiler_can_build_shared
=no
9211 lt_prog_compiler_pic
='-pic'
9212 lt_prog_compiler_static
='-Bstatic'
9216 lt_prog_compiler_can_build_shared
=no
9222 # For platforms which do not support PIC, -DPIC is meaningless:
9224 lt_prog_compiler_pic
=
9227 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9230 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9231 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9239 # Check to make sure the PIC flag actually works.
9241 if test -n "$lt_prog_compiler_pic"; then
9242 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9243 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9244 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9245 echo $ECHO_N "(cached) $ECHO_C" >&6
9247 lt_cv_prog_compiler_pic_works
=no
9248 ac_outfile
=conftest.
$ac_objext
9249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9250 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9251 # Insert the option either (1) after the last *FLAGS variable, or
9252 # (2) before a word containing "conftest.", or (3) at the end.
9253 # Note that $ac_compile itself does not contain backslashes and begins
9254 # with a dollar sign (not a hyphen), so the echo should work correctly.
9255 # The option is referenced via a variable to avoid confusing sed.
9256 lt_compile
=`echo "$ac_compile" | $SED \
9257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9259 -e 's:$: $lt_compiler_flag:'`
9260 (eval echo "\"\$as_me:9260: $lt_compile\"" >&5)
9261 (eval "$lt_compile" 2>conftest.err
)
9263 cat conftest.err
>&5
9264 echo "$as_me:9264: \$? = $ac_status" >&5
9265 if (exit $ac_status) && test -s "$ac_outfile"; then
9266 # The compiler can only warn and ignore the option if not recognized
9267 # So say no if there are warnings other than the usual output.
9268 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9269 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9270 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9271 lt_cv_prog_compiler_pic_works
=yes
9277 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9278 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9280 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9281 case $lt_prog_compiler_pic in
9283 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9286 lt_prog_compiler_pic
=
9287 lt_prog_compiler_can_build_shared
=no
9298 # Check to make sure the static flag actually works.
9300 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9301 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9302 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9303 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9304 echo $ECHO_N "(cached) $ECHO_C" >&6
9306 lt_cv_prog_compiler_static_works
=no
9307 save_LDFLAGS
="$LDFLAGS"
9308 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9309 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9310 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9311 # The linker can only warn and ignore the option if not recognized
9312 # So say no if there are warnings
9313 if test -s conftest.err
; then
9314 # Append any errors to the config.log.
9315 cat conftest.err
1>&5
9316 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9317 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9318 if diff conftest.exp conftest.er2
>/dev
/null
; then
9319 lt_cv_prog_compiler_static_works
=yes
9322 lt_cv_prog_compiler_static_works
=yes
9326 LDFLAGS
="$save_LDFLAGS"
9329 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9330 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9332 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9335 lt_prog_compiler_static
=
9344 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9345 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9346 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9349 lt_cv_prog_compiler_c_o
=no
9350 $RM -r conftest
2>/dev
/null
9354 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9356 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9357 # Insert the option either (1) after the last *FLAGS variable, or
9358 # (2) before a word containing "conftest.", or (3) at the end.
9359 # Note that $ac_compile itself does not contain backslashes and begins
9360 # with a dollar sign (not a hyphen), so the echo should work correctly.
9361 lt_compile
=`echo "$ac_compile" | $SED \
9362 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9364 -e 's:$: $lt_compiler_flag:'`
9365 (eval echo "\"\$as_me:9365: $lt_compile\"" >&5)
9366 (eval "$lt_compile" 2>out
/conftest.err
)
9368 cat out
/conftest.err
>&5
9369 echo "$as_me:9369: \$? = $ac_status" >&5
9370 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9372 # The compiler can only warn and ignore the option if not recognized
9373 # So say no if there are warnings
9374 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9375 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9376 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9377 lt_cv_prog_compiler_c_o
=yes
9382 # SGI C++ compiler will create directory out/ii_files/ for
9383 # template instantiation
9384 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9385 $RM out
/* && rmdir out
9391 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9392 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9399 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9400 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9401 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 lt_cv_prog_compiler_c_o
=no
9405 $RM -r conftest
2>/dev
/null
9409 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9411 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9412 # Insert the option either (1) after the last *FLAGS variable, or
9413 # (2) before a word containing "conftest.", or (3) at the end.
9414 # Note that $ac_compile itself does not contain backslashes and begins
9415 # with a dollar sign (not a hyphen), so the echo should work correctly.
9416 lt_compile
=`echo "$ac_compile" | $SED \
9417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9419 -e 's:$: $lt_compiler_flag:'`
9420 (eval echo "\"\$as_me:9420: $lt_compile\"" >&5)
9421 (eval "$lt_compile" 2>out
/conftest.err
)
9423 cat out
/conftest.err
>&5
9424 echo "$as_me:9424: \$? = $ac_status" >&5
9425 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9427 # The compiler can only warn and ignore the option if not recognized
9428 # So say no if there are warnings
9429 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9430 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9431 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9432 lt_cv_prog_compiler_c_o
=yes
9437 # SGI C++ compiler will create directory out/ii_files/ for
9438 # template instantiation
9439 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9440 $RM out
/* && rmdir out
9446 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9447 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9452 hard_links
="nottested"
9453 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9454 # do not overwrite the value of need_locks provided by the user
9455 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9456 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9459 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9461 ln conftest.a conftest.b
2>&5 || hard_links
=no
9462 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9463 { echo "$as_me:$LINENO: result: $hard_links" >&5
9464 echo "${ECHO_T}$hard_links" >&6; }
9465 if test "$hard_links" = no
; then
9466 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9467 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9479 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9480 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9483 allow_undefined_flag
=
9484 always_export_symbols
=no
9486 archive_expsym_cmds
=
9487 compiler_needs_object
=no
9488 enable_shared_with_static_runtimes
=no
9489 export_dynamic_flag_spec
=
9490 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9491 hardcode_automatic
=no
9493 hardcode_direct_absolute
=no
9494 hardcode_libdir_flag_spec
=
9495 hardcode_libdir_flag_spec_ld
=
9496 hardcode_libdir_separator
=
9498 hardcode_shlibpath_var
=unsupported
9500 link_all_deplibs
=unknown
9503 old_archive_from_new_cmds
=
9504 old_archive_from_expsyms_cmds
=
9505 thread_safe_flag_spec
=
9506 whole_archive_flag_spec
=
9507 # include_expsyms should be a list of space-separated symbols to be *always*
9508 # included in the symbol list
9510 # exclude_expsyms can be an extended regexp of symbols to exclude
9511 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9512 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9513 # as well as any symbol that contains `d'.
9514 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9515 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9516 # platforms (ab)use it in PIC code, but their linkers get confused if
9517 # the symbol is explicitly referenced. Since portable code cannot
9518 # rely on this symbol name, it's probably fine to never include it in
9519 # preloaded symbol tables.
9520 # Exclude shared library initialization/finalization symbols.
9521 extract_expsyms_cmds
=
9524 cygwin
* | mingw
* | pw32
*)
9525 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9526 # When not using gcc, we currently assume that we are using
9527 # Microsoft Visual C++.
9528 if test "$GCC" != yes; then
9533 # we just hope/assume this is gcc and not c89 (= MSVC++)
9542 if test "$with_gnu_ld" = yes; then
9543 # If archive_cmds runs LD, not CC, wlarc should be empty
9546 # Set some defaults for GNU ld with shared library support. These
9547 # are reset later if shared libraries are not supported. Putting them
9548 # here allows them to be overridden if necessary.
9549 runpath_var
=LD_RUN_PATH
9550 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9551 export_dynamic_flag_spec
='${wl}--export-dynamic'
9552 # ancient GNU ld didn't support --whole-archive et. al.
9553 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9554 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9556 whole_archive_flag_spec
=
9558 supports_anon_versioning
=no
9559 case `$LD -v 2>&1` in
9560 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9561 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9562 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9563 *\
2.11.
*) ;; # other 2.11 versions
9564 *) supports_anon_versioning
=yes ;;
9567 # See if GNU ld supports shared libraries.
9570 # On AIX/PPC, the GNU linker is very broken
9571 if test "$host_cpu" != ia64
; then
9575 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9576 *** to be unable to reliably create shared libraries on AIX.
9577 *** Therefore, libtool is disabling shared libraries support. If you
9578 *** really care for shared libraries, you may want to modify your PATH
9579 *** so that a non-GNU linker is found, and then restart.
9588 # see comment about AmigaOS4 .so support
9589 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9590 archive_expsym_cmds
=''
9593 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)'
9594 hardcode_libdir_flag_spec
='-L$libdir'
9595 hardcode_minus_L
=yes
9601 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9602 allow_undefined_flag
=unsupported
9603 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9604 # support --undefined. This deserves some investigation. FIXME
9605 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9611 cygwin
* | mingw
* | pw32
*)
9612 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9613 # as there is no search path for DLLs.
9614 hardcode_libdir_flag_spec
='-L$libdir'
9615 allow_undefined_flag
=unsupported
9616 always_export_symbols
=no
9617 enable_shared_with_static_runtimes
=yes
9618 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9620 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9621 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9622 # If the export-symbols file already is a .def file (1st line
9623 # is EXPORTS), use it as is; otherwise, prepend...
9624 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9625 cp $export_symbols $output_objdir/$soname.def;
9627 echo EXPORTS > $output_objdir/$soname.def;
9628 cat $export_symbols >> $output_objdir/$soname.def;
9630 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9638 hardcode_shlibpath_var
=no
9639 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9640 export_dynamic_flag_spec
='${wl}-E'
9641 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9642 # Instead, shared libraries are loaded at an image base (0x10000000 by
9643 # default) and relocated if they conflict, which is a slow very memory
9644 # consuming and fragmenting process. To avoid this, we pick a random,
9645 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9646 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9647 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9648 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'
9651 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9653 if test "$host_os" = linux-dietlibc
; then
9654 case $cc_basename in
9655 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9658 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9659 && test "$tmp_diet" = no
9662 tmp_sharedflag
='-shared'
9663 case $cc_basename,$host_cpu in
9664 pgcc
*) # Portland Group C compiler
9665 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9666 tmp_addflag
=' $pic_flag'
9668 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9669 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9670 tmp_addflag
=' $pic_flag -Mnomain' ;;
9671 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9672 tmp_addflag
=' -i_dynamic' ;;
9673 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9674 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9675 ifc
* | ifort
*) # Intel Fortran compiler
9676 tmp_addflag
=' -nofor_main' ;;
9677 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9678 tmp_sharedflag
='-qmkshrobj'
9681 case `$CC -V 2>&1 | sed 5q` in
9682 *Sun\ C
*) # Sun C 5.9
9683 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9684 compiler_needs_object
=yes
9685 tmp_sharedflag
='-G' ;;
9686 *Sun\ F
*) # Sun Fortran 8.3
9687 tmp_sharedflag
='-G' ;;
9689 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9691 if test "x$supports_anon_versioning" = xyes
; then
9692 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9693 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9694 echo "local: *; };" >> $output_objdir/$libname.ver~
9695 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9698 case $cc_basename in
9700 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9701 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9702 hardcode_libdir_flag_spec
=
9703 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9704 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9705 if test "x$supports_anon_versioning" = xyes
; then
9706 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9707 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9708 echo "local: *; };" >> $output_objdir/$libname.ver~
9709 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9718 netbsd
* | netbsdelf
*-gnu)
9719 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9720 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9723 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9724 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9729 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9733 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9734 *** create shared libraries on Solaris systems. Therefore, libtool
9735 *** is disabling shared libraries support. We urge you to upgrade GNU
9736 *** binutils to release 2.9.1 or newer. Another option is to modify
9737 *** your PATH or compiler configuration so that the native linker is
9738 *** used, and then restart.
9741 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9742 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9743 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9749 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9750 case `$LD -v 2>&1` in
9751 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9755 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9756 *** reliably create shared libraries on SCO systems. Therefore, libtool
9757 *** is disabling shared libraries support. We urge you to upgrade GNU
9758 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9759 *** your PATH or compiler configuration so that the native linker is
9760 *** used, and then restart.
9765 # For security reasons, it is highly recommended that you always
9766 # use absolute paths for naming shared libraries, and exclude the
9767 # DT_RUNPATH tag from executables and libraries. But doing so
9768 # requires that you compile everything twice, which is a pain.
9769 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9770 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9771 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9772 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9781 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9784 hardcode_shlibpath_var
=no
9788 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9789 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9790 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9797 if test "$ld_shlibs" = no
; then
9799 hardcode_libdir_flag_spec
=
9800 export_dynamic_flag_spec
=
9801 whole_archive_flag_spec
=
9804 # PORTME fill in a description of your system's linker (not GNU ld)
9807 allow_undefined_flag
=unsupported
9808 always_export_symbols
=yes
9809 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'
9810 # Note: this linker hardcodes the directories in LIBPATH if there
9811 # are no directories specified by -L.
9812 hardcode_minus_L
=yes
9813 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9814 # Neither direct hardcoding nor static linking is supported with a
9816 hardcode_direct
=unsupported
9821 if test "$host_cpu" = ia64
; then
9822 # On IA64, the linker does run time linking by default, so we don't
9823 # have to do anything special.
9824 aix_use_runtimelinking
=no
9825 exp_sym_flag
='-Bexport'
9828 # If we're using GNU nm, then we don't want the "-C" option.
9829 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9830 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9831 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9833 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9835 aix_use_runtimelinking
=no
9837 # Test if we are trying to use run time linking or normal
9838 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9839 # need to do runtime linking.
9840 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9841 for ld_flag
in $LDFLAGS; do
9842 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9843 aix_use_runtimelinking
=yes
9850 exp_sym_flag
='-bexport'
9851 no_entry_flag
='-bnoentry'
9854 # When large executables or shared objects are built, AIX ld can
9855 # have problems creating the table of contents. If linking a library
9856 # or program results in "error TOC overflow" add -mminimal-toc to
9857 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9858 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9862 hardcode_direct_absolute
=yes
9863 hardcode_libdir_separator
=':'
9864 link_all_deplibs
=yes
9865 file_list_spec
='${wl}-f,'
9867 if test "$GCC" = yes; then
9868 case $host_os in aix4.
[012]|aix4.
[012].
*)
9869 # We only want to do this on AIX 4.2 and lower, the check
9870 # below for broken collect2 doesn't work under 4.3+
9871 collect2name
=`${CC} -print-prog-name=collect2`
9872 if test -f "$collect2name" &&
9873 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9875 # We have reworked collect2
9878 # We have old collect2
9879 hardcode_direct
=unsupported
9880 # It fails to find uninstalled libraries when the uninstalled
9881 # path is not listed in the libpath. Setting hardcode_minus_L
9882 # to unsupported forces relinking
9883 hardcode_minus_L
=yes
9884 hardcode_libdir_flag_spec
='-L$libdir'
9885 hardcode_libdir_separator
=
9889 shared_flag
='-shared'
9890 if test "$aix_use_runtimelinking" = yes; then
9891 shared_flag
="$shared_flag "'${wl}-G'
9896 if test "$host_cpu" = ia64
; then
9897 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9898 # chokes on -Wl,-G. The following line is correct:
9901 if test "$aix_use_runtimelinking" = yes; then
9902 shared_flag
='${wl}-G'
9904 shared_flag
='${wl}-bM:SRE'
9909 # It seems that -bexpall does not export symbols beginning with
9910 # underscore (_), so it is better to generate a list of symbols to export.
9911 always_export_symbols
=yes
9912 if test "$aix_use_runtimelinking" = yes; then
9913 # Warning - without using the other runtime loading flags (-brtl),
9914 # -berok will link without error, but may produce a broken library.
9915 allow_undefined_flag
='-berok'
9916 # Determine the default libpath from the value encoded in an
9918 cat >conftest.
$ac_ext <<_ACEOF
9921 cat confdefs.h
>>conftest.
$ac_ext
9922 cat >>conftest.
$ac_ext <<_ACEOF
9923 /* end confdefs.h. */
9933 rm -f conftest.
$ac_objext conftest
$ac_exeext
9934 if { (ac_try
="$ac_link"
9936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_link") 2>conftest.er1
9942 grep -v '^ *+' conftest.er1 >conftest.err
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } && {
9947 test -z "$ac_c_werror_flag" ||
9948 test ! -s conftest.err
9949 } && test -s conftest$ac_exeext &&
9950 $as_test_x conftest$ac_exeext; then
9952 lt_aix_libpath_sed='
9953 /Import File Strings/,/^$/ {
9959 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9960 # Check for a 64-bit object if we didn't find anything.
9961 if test -z "$aix_libpath"; then
9962 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9965 echo "$as_me: failed program was:" >&5
9966 sed 's/^/| /' conftest.$ac_ext >&5
9971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9972 conftest$ac_exeext conftest.$ac_ext
9973 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9975 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9976 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9978 if test "$host_cpu" = ia64; then
9979 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9980 allow_undefined_flag="-z nodefs"
9981 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"
9983 # Determine the default libpath from the value encoded in an
9985 cat >conftest.$ac_ext <<_ACEOF
9988 cat confdefs.h >>conftest.$ac_ext
9989 cat >>conftest.$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
10000 rm -f conftest.$ac_objext conftest$ac_exeext
10001 if { (ac_try="$ac_link"
10002 case "(($ac_try" in
10003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10004 *) ac_try_echo
=$ac_try;;
10006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_link") 2>conftest.er1
10009 grep -v '^ *+' conftest.er1
>conftest.err
10011 cat conftest.err
>&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } && {
10014 test -z "$ac_c_werror_flag" ||
10015 test ! -s conftest.err
10016 } && test -s conftest
$ac_exeext &&
10017 $as_test_x conftest
$ac_exeext; then
10019 lt_aix_libpath_sed
='
10020 /Import File Strings/,/^$/ {
10026 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10027 # Check for a 64-bit object if we didn't find anything.
10028 if test -z "$aix_libpath"; then
10029 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.
$ac_ext >&5
10038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10039 conftest
$ac_exeext conftest.
$ac_ext
10040 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10042 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10043 # Warning - without using the other run time loading flags,
10044 # -berok will link without error, but may produce a broken library.
10045 no_undefined_flag
=' ${wl}-bernotok'
10046 allow_undefined_flag
=' ${wl}-berok'
10047 # Exported symbols can be pulled into shared objects from archives
10048 whole_archive_flag_spec
='$convenience'
10049 archive_cmds_need_lc
=yes
10050 # This is similar to how AIX traditionally builds its shared libraries.
10051 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10059 # see comment about AmigaOS4 .so support
10060 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10061 archive_expsym_cmds
=''
10064 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)'
10065 hardcode_libdir_flag_spec
='-L$libdir'
10066 hardcode_minus_L
=yes
10072 export_dynamic_flag_spec
=-rdynamic
10075 cygwin
* | mingw
* | pw32
*)
10076 # When not using gcc, we currently assume that we are using
10077 # Microsoft Visual C++.
10078 # hardcode_libdir_flag_spec is actually meaningless, as there is
10079 # no search path for DLLs.
10080 hardcode_libdir_flag_spec
=' '
10081 allow_undefined_flag
=unsupported
10082 # Tell ltmain to make .lib files, not .a files.
10084 # Tell ltmain to make .dll files, not .so files.
10086 # FIXME: Setting linknames here is a bad hack.
10087 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10088 # The linker will automatically build a .lib file if we build a DLL.
10089 old_archive_from_new_cmds
='true'
10090 # FIXME: Should let the user specify the lib program.
10091 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10092 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10093 enable_shared_with_static_runtimes
=yes
10096 darwin
* | rhapsody
*)
10099 archive_cmds_need_lc
=no
10101 hardcode_automatic
=yes
10102 hardcode_shlibpath_var
=unsupported
10103 whole_archive_flag_spec
=''
10104 link_all_deplibs
=yes
10105 allow_undefined_flag
="$_lt_dar_allow_undefined"
10106 if test "$GCC" = "yes"; then
10107 output_verbose_link_cmd
=echo
10108 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10109 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10110 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}"
10111 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}"
10120 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_libdir_flag_spec
='-L$libdir'
10122 hardcode_shlibpath_var
=no
10129 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10130 # support. Future versions do this automatically, but an explicit c++rt0.o
10131 # does not break anything, and helps significantly (at the cost of a little
10134 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10135 hardcode_libdir_flag_spec
='-R$libdir'
10136 hardcode_direct
=yes
10137 hardcode_shlibpath_var
=no
10140 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10142 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct
=yes
10144 hardcode_minus_L
=yes
10145 hardcode_shlibpath_var
=no
10148 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10149 freebsd
* | dragonfly
*)
10150 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10151 hardcode_libdir_flag_spec
='-R$libdir'
10152 hardcode_direct
=yes
10153 hardcode_shlibpath_var
=no
10157 if test "$GCC" = yes; then
10158 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10160 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10162 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10163 hardcode_libdir_separator
=:
10164 hardcode_direct
=yes
10166 # hardcode_minus_L: Not really in the search PATH,
10167 # but as the default location of the library.
10168 hardcode_minus_L
=yes
10169 export_dynamic_flag_spec
='${wl}-E'
10173 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10174 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10178 if test "$with_gnu_ld" = no
; then
10179 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10180 hardcode_libdir_flag_spec_ld
='+b $libdir'
10181 hardcode_libdir_separator
=:
10182 hardcode_direct
=yes
10183 hardcode_direct_absolute
=yes
10184 export_dynamic_flag_spec
='${wl}-E'
10185 # hardcode_minus_L: Not really in the search PATH,
10186 # but as the default location of the library.
10187 hardcode_minus_L
=yes
10192 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10195 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10201 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10210 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10213 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10217 if test "$with_gnu_ld" = no
; then
10218 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10219 hardcode_libdir_separator
=:
10224 hardcode_shlibpath_var
=no
10227 hardcode_direct
=yes
10228 hardcode_direct_absolute
=yes
10229 export_dynamic_flag_spec
='${wl}-E'
10231 # hardcode_minus_L: Not really in the search PATH,
10232 # but as the default location of the library.
10233 hardcode_minus_L
=yes
10239 irix5
* | irix6
* | nonstopux
*)
10240 if test "$GCC" = yes; then
10241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10242 # Try to use the -exported_symbol ld option, if it does not
10243 # work, assume that -exports_file does not work either and
10244 # implicitly export all symbols.
10245 save_LDFLAGS
="$LDFLAGS"
10246 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10247 cat >conftest.
$ac_ext <<_ACEOF
10250 rm -f conftest.
$ac_objext conftest
$ac_exeext
10251 if { (ac_try
="$ac_link"
10252 case "(($ac_try" in
10253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10254 *) ac_try_echo=$ac_try;;
10256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10257 (eval "$ac_link") 2>conftest.er1
10259 grep -v '^ *+' conftest.er1 >conftest.err
10261 cat conftest.err >&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); } && {
10264 test -z "$ac_c_werror_flag" ||
10265 test ! -s conftest.err
10266 } && test -s conftest$ac_exeext &&
10267 $as_test_x conftest$ac_exeext; then
10268 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LDFLAGS="$save_LDFLAGS"
10281 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10282 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10284 archive_cmds_need_lc='no'
10285 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10286 hardcode_libdir_separator=:
10288 link_all_deplibs=yes
10291 netbsd* | netbsdelf*-gnu)
10292 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10293 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10295 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10297 hardcode_libdir_flag_spec='-R$libdir'
10298 hardcode_direct=yes
10299 hardcode_shlibpath_var=no
10303 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10304 hardcode_direct=yes
10305 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10306 hardcode_libdir_separator=:
10307 hardcode_shlibpath_var=no
10314 if test -f /usr/libexec/ld.so; then
10315 hardcode_direct=yes
10316 hardcode_shlibpath_var=no
10317 hardcode_direct_absolute=yes
10318 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10319 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10321 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10322 export_dynamic_flag_spec='${wl}-E'
10325 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10326 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10327 hardcode_libdir_flag_spec='-R$libdir'
10330 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10331 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10341 hardcode_libdir_flag_spec='-L$libdir'
10342 hardcode_minus_L=yes
10343 allow_undefined_flag=unsupported
10344 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10345 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10349 if test "$GCC" = yes; then
10350 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10351 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10353 allow_undefined_flag=' -expect_unresolved \*'
10354 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10356 archive_cmds_need_lc='no'
10357 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10358 hardcode_libdir_separator=:
10361 osf4* | osf5*) # as osf3* with the addition of -msym flag
10362 if test "$GCC" = yes; then
10363 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10364 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10365 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10367 allow_undefined_flag=' -expect_unresolved \*'
10368 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10369 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~
10370 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10372 # Both c and cxx compiler support -rpath directly
10373 hardcode_libdir_flag_spec='-rpath $libdir'
10375 archive_cmds_need_lc='no'
10376 hardcode_libdir_separator=:
10380 no_undefined_flag=' -z defs'
10381 if test "$GCC" = yes; then
10383 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10385 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10387 case `$CC -V 2>&1` in
10390 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10392 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10396 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10397 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10398 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10402 hardcode_libdir_flag_spec='-R$libdir'
10403 hardcode_shlibpath_var=no
10405 solaris2.[0-5] | solaris2.[0-5].*) ;;
10407 # The compiler driver will combine and reorder linker options,
10408 # but understands `-z linker_flag
'. GCC discards it without `$wl',
10409 # but is careful enough not to reorder.
10410 # Supported since Solaris 2.6 (maybe 2.5.1?)
10411 if test "$GCC" = yes; then
10412 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10414 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10418 link_all_deplibs
=yes
10422 if test "x$host_vendor" = xsequent
; then
10423 # Use $CC to link under sequent, because it throws in some extra .o
10424 # files that make .init and .fini sections work.
10425 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10427 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10429 hardcode_libdir_flag_spec
='-L$libdir'
10430 hardcode_direct
=yes
10431 hardcode_minus_L
=yes
10432 hardcode_shlibpath_var
=no
10436 case $host_vendor in
10438 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10439 hardcode_direct
=yes # is this really true???
10442 ## LD is ld it makes a PLAMLIB
10443 ## CC just makes a GrossModule.
10444 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10445 reload_cmds
='$CC -r -o $output$reload_objs'
10449 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10450 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10453 runpath_var
='LD_RUN_PATH'
10454 hardcode_shlibpath_var
=no
10458 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10459 hardcode_shlibpath_var
=no
10460 export_dynamic_flag_spec
='-Bexport'
10464 if test -d /usr
/nec
; then
10465 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10466 hardcode_shlibpath_var
=no
10467 runpath_var
=LD_RUN_PATH
10468 hardcode_runpath_var
=yes
10473 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10474 no_undefined_flag
='${wl}-z,text'
10475 archive_cmds_need_lc
=no
10476 hardcode_shlibpath_var
=no
10477 runpath_var
='LD_RUN_PATH'
10479 if test "$GCC" = yes; then
10480 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10483 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10488 sysv5
* | sco3.2v5
* | sco5v6
*)
10489 # Note: We can NOT use -z defs as we might desire, because we do not
10490 # link with -lc, and that would cause any symbols used from libc to
10491 # always be unresolved, which means just about no library would
10492 # ever link correctly. If we're not using GNU ld we use -z text
10493 # though, which does catch some bad symbols but isn't as heavy-handed
10495 no_undefined_flag
='${wl}-z,text'
10496 allow_undefined_flag
='${wl}-z,nodefs'
10497 archive_cmds_need_lc
=no
10498 hardcode_shlibpath_var
=no
10499 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10500 hardcode_libdir_separator
=':'
10501 link_all_deplibs
=yes
10502 export_dynamic_flag_spec
='${wl}-Bexport'
10503 runpath_var
='LD_RUN_PATH'
10505 if test "$GCC" = yes; then
10506 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10507 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10509 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10510 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10515 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10516 hardcode_libdir_flag_spec
='-L$libdir'
10517 hardcode_shlibpath_var
=no
10525 if test x
$host_vendor = xsni
; then
10527 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10528 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10534 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10535 echo "${ECHO_T}$ld_shlibs" >&6; }
10536 test "$ld_shlibs" = no
&& can_build_shared
=no
10538 with_gnu_ld
=$with_gnu_ld
10555 # Do we need to explicitly link libc?
10557 case "x$archive_cmds_need_lc" in
10559 # Assume -lc should be added
10560 archive_cmds_need_lc
=yes
10562 if test "$enable_shared" = yes && test "$GCC" = yes; then
10563 case $archive_cmds in
10565 # FIXME: we may have to deal with multi-command sequences.
10568 # Test whether the compiler implicitly links with -lc since on some
10569 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10570 # to ld, don't add -lc before -lgcc.
10571 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10572 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10574 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10577 (eval $ac_compile) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } 2>conftest.err
; then
10583 libobjs
=conftest.
$ac_objext
10585 wl
=$lt_prog_compiler_wl
10586 pic_flag
=$lt_prog_compiler_pic
10592 lt_save_allow_undefined_flag
=$allow_undefined_flag
10593 allow_undefined_flag
=
10594 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10595 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }
10600 archive_cmds_need_lc
=no
10602 archive_cmds_need_lc
=yes
10604 allow_undefined_flag
=$lt_save_allow_undefined_flag
10606 cat conftest.err
1>&5
10609 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10610 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10773 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10774 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10776 if test "$GCC" = yes; then
10778 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10779 *) lt_awk_arg
="/^libraries:/" ;;
10781 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10782 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10783 # if the path contains ";" then we assume it to be the separator
10784 # otherwise default to the standard path separator (i.e. ":") - it is
10785 # assumed that no part of a normal pathname contains ";" but that should
10786 # okay in the real world where ";" in dirpaths is itself problematic.
10787 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10789 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10791 # Ok, now we have the path, separated by spaces, we can step through it
10792 # and add multilib dir if necessary.
10793 lt_tmp_lt_search_path_spec
=
10794 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10795 for lt_sys_path
in $lt_search_path_spec; do
10796 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10797 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10799 test -d "$lt_sys_path" && \
10800 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10803 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10804 BEGIN {RS=" "; FS="/|\n";} {
10807 for (lt_i = NF; lt_i > 0; lt_i--) {
10808 if ($lt_i != "" && $lt_i != ".") {
10809 if ($lt_i == "..") {
10812 if (lt_count == 0) {
10813 lt_foo="/" $lt_i lt_foo;
10820 if (lt_foo != "") { lt_freq[lt_foo]++; }
10821 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10823 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10825 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10827 library_names_spec
=
10828 libname_spec
='lib$name'
10832 postuninstall_cmds
=
10836 shlibpath_overrides_runpath
=unknown
10838 dynamic_linker
="$host_os ld.so"
10839 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10840 need_lib_prefix
=unknown
10841 hardcode_into_libs
=no
10843 # when you set need_version to no, make sure it does not cause -set_version
10844 # flags to be left without arguments
10845 need_version
=unknown
10850 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10851 shlibpath_var
=LIBPATH
10853 # AIX 3 has no versioning support, so we append a major version to the name.
10854 soname_spec
='${libname}${release}${shared_ext}$major'
10861 hardcode_into_libs
=yes
10862 if test "$host_cpu" = ia64
; then
10863 # AIX 5 supports IA64
10864 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10865 shlibpath_var
=LD_LIBRARY_PATH
10867 # With GCC up to 2.95.x, collect2 would create an import file
10868 # for dependence libraries. The import file would start with
10869 # the line `#! .'. This would cause the generated library to
10870 # depend on `.', always an invalid library. This was fixed in
10871 # development snapshots of GCC prior to 3.0.
10873 aix4 | aix4.
[01] | aix4.
[01].
*)
10874 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10876 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10879 can_build_shared
=no
10883 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10884 # soname into executable. Probably we can add versioning support to
10885 # collect2, so additional links can be useful in future.
10886 if test "$aix_use_runtimelinking" = yes; then
10887 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10888 # instead of lib<name>.a to let people know that these are not
10889 # typical AIX shared libraries.
10890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10892 # We preserve .a as extension for shared libraries through AIX4.2
10893 # and later when we are not doing run time linking.
10894 library_names_spec
='${libname}${release}.a $libname.a'
10895 soname_spec
='${libname}${release}${shared_ext}$major'
10897 shlibpath_var
=LIBPATH
10904 # Since July 2007 AmigaOS4 officially supports .so libraries.
10905 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 library_names_spec
='$libname.ixlibrary $libname.a'
10910 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10911 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10917 library_names_spec
='${libname}${shared_ext}'
10918 dynamic_linker
="$host_os ld.so"
10919 shlibpath_var
=LIBRARY_PATH
10925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 soname_spec
='${libname}${release}${shared_ext}$major'
10927 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10928 shlibpath_var
=LD_LIBRARY_PATH
10929 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10930 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10931 # the default ld.so.conf also contains /usr/contrib/lib and
10932 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10933 # libtool to hard-code these into programs
10936 cygwin
* | mingw
* | pw32
*)
10937 version_type
=windows
10942 case $GCC,$host_os in
10943 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10944 library_names_spec
='$libname.dll.a'
10945 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10946 postinstall_cmds
='base_file=`basename \${file}`~
10947 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10948 dldir=$destdir/`dirname \$dlpath`~
10949 test -d \$dldir || mkdir -p \$dldir~
10950 $install_prog $dir/$dlname \$dldir/$dlname~
10951 chmod a+x \$dldir/$dlname~
10952 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10953 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10955 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10956 dlpath=$dir/\$dldll~
10958 shlibpath_overrides_runpath
=yes
10962 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10963 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10964 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10967 # MinGW DLLs use traditional 'lib' prefix
10968 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10969 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10970 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10971 # It is most probably a Windows format PATH printed by
10972 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10973 # path with ; separators, and with drive letters. We can handle the
10974 # drive letters (cygwin fileutils understands them), so leave them,
10975 # especially as we might pass files found there to a mingw objdump,
10976 # which wouldn't understand a cygwinified path. Ahh.
10977 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10979 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10983 # pw32 DLLs use 'pw' prefix rather than 'lib'
10984 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10990 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10993 dynamic_linker
='Win32 ld.exe'
10994 # FIXME: first we should search . and the directory the executable is in
10998 darwin
* | rhapsody
*)
10999 dynamic_linker
="$host_os dyld"
11000 version_type
=darwin
11003 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11004 soname_spec
='${libname}${release}${major}$shared_ext'
11005 shlibpath_overrides_runpath
=yes
11006 shlibpath_var
=DYLD_LIBRARY_PATH
11007 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11009 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11010 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11018 soname_spec
='${libname}${release}${shared_ext}$major'
11019 shlibpath_var
=LD_LIBRARY_PATH
11026 freebsd
* | dragonfly
*)
11027 # DragonFly does not have aout. When/if they implement a new
11028 # versioning mechanism, adjust this.
11029 if test -x /usr
/bin
/objformat
; then
11030 objformat
=`/usr/bin/objformat`
11033 freebsd
[123]*) objformat
=aout
;;
11034 *) objformat
=elf
;;
11037 version_type
=freebsd-
$objformat
11038 case $version_type in
11040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11045 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11049 shlibpath_var
=LD_LIBRARY_PATH
11052 shlibpath_overrides_runpath
=yes
11054 freebsd3.
[01]* | freebsdelf3.
[01]*)
11055 shlibpath_overrides_runpath
=yes
11056 hardcode_into_libs
=yes
11058 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11059 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11060 shlibpath_overrides_runpath
=no
11061 hardcode_into_libs
=yes
11063 *) # from 4.6 on, and DragonFly
11064 shlibpath_overrides_runpath
=yes
11065 hardcode_into_libs
=yes
11074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11075 soname_spec
='${libname}${release}${shared_ext}$major'
11076 shlibpath_var
=LD_LIBRARY_PATH
11077 hardcode_into_libs
=yes
11080 hpux9
* | hpux10
* | hpux11
*)
11081 # Give a soname corresponding to the major version so that dld.sl refuses to
11082 # link against other versions.
11089 hardcode_into_libs
=yes
11090 dynamic_linker
="$host_os dld.so"
11091 shlibpath_var
=LD_LIBRARY_PATH
11092 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 soname_spec
='${libname}${release}${shared_ext}$major'
11095 if test "X$HPUX_IA64_MODE" = X32
; then
11096 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11098 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11100 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11104 hardcode_into_libs
=yes
11105 dynamic_linker
="$host_os dld.sl"
11106 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11107 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11109 soname_spec
='${libname}${release}${shared_ext}$major'
11110 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11111 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11115 dynamic_linker
="$host_os dld.sl"
11116 shlibpath_var
=SHLIB_PATH
11117 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 soname_spec
='${libname}${release}${shared_ext}$major'
11122 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11123 postinstall_cmds
='chmod 555 $lib'
11130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11131 soname_spec
='${libname}${release}${shared_ext}$major'
11132 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11133 shlibpath_var
=LD_LIBRARY_PATH
11134 shlibpath_overrides_runpath
=no
11135 hardcode_into_libs
=yes
11138 irix5
* | irix6
* | nonstopux
*)
11140 nonstopux
*) version_type
=nonstopux
;;
11142 if test "$lt_cv_prog_gnu_ld" = yes; then
11150 soname_spec
='${libname}${release}${shared_ext}$major'
11151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11153 irix5
* | nonstopux
*)
11154 libsuff
= shlibsuff
=
11157 case $LD in # libtool.m4 will add one of these switches to LD
11158 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11159 libsuff
= shlibsuff
= libmagic
=32-bit;;
11160 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11161 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11162 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11163 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11164 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11168 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11169 shlibpath_overrides_runpath
=no
11170 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11171 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11172 hardcode_into_libs
=yes
11175 # No shared lib support for Linux oldld, aout, or coff.
11176 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11180 # This must be Linux ELF.
11181 linux
* | k
*bsd
*-gnu)
11185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11186 soname_spec
='${libname}${release}${shared_ext}$major'
11187 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11188 shlibpath_var
=LD_LIBRARY_PATH
11189 shlibpath_overrides_runpath
=no
11190 # Some binutils ld are patched to set DT_RUNPATH
11191 save_LDFLAGS
=$LDFLAGS
11192 save_libdir
=$libdir
11193 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11194 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11195 cat >conftest.
$ac_ext <<_ACEOF
11198 cat confdefs.h
>>conftest.
$ac_ext
11199 cat >>conftest.
$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11210 rm -f conftest.
$ac_objext conftest
$ac_exeext
11211 if { (ac_try
="$ac_link"
11212 case "(($ac_try" in
11213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11214 *) ac_try_echo=$ac_try;;
11216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11217 (eval "$ac_link") 2>conftest.er1
11219 grep -v '^ *+' conftest.er1 >conftest.err
11221 cat conftest.err >&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } && {
11224 test -z "$ac_c_werror_flag" ||
11225 test ! -s conftest.err
11226 } && test -s conftest$ac_exeext &&
11227 $as_test_x conftest$ac_exeext; then
11228 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11229 shlibpath_overrides_runpath=yes
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LDFLAGS=$save_LDFLAGS
11242 libdir=$save_libdir
11244 # This implies no fast_install, which is unacceptable.
11245 # Some rework will be needed to allow for fast_install
11246 # before this can be enabled.
11247 hardcode_into_libs=yes
11249 # Append ld.so.conf contents to the search path
11250 if test -f /etc/ld.so.conf; then
11251 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;/^$/d' |
tr '\n' ' '`
11252 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11255 # We used to test for /lib/ld.so.1 and disable shared libraries on
11256 # powerpc, because MkLinux only supported shared libraries with the
11257 # GNU dynamic linker. Since this was broken with cross compilers,
11258 # most powerpc-linux boxes support dynamic linking these days and
11259 # people can always --disable-shared, the test was removed, and we
11260 # assume the GNU/Linux dynamic linker is in use.
11261 dynamic_linker='GNU/Linux ld.so'
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11269 soname_spec='${libname}${release}${shared_ext}$major'
11270 shlibpath_var=LD_LIBRARY_PATH
11271 shlibpath_overrides_runpath=no
11272 hardcode_into_libs=yes
11273 dynamic_linker='NetBSD ld.elf_so'
11280 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11282 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11283 dynamic_linker='NetBSD (a.out) ld.so'
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11286 soname_spec='${libname}${release}${shared_ext}$major'
11287 dynamic_linker='NetBSD ld.elf_so'
11289 shlibpath_var=LD_LIBRARY_PATH
11290 shlibpath_overrides_runpath=yes
11291 hardcode_into_libs=yes
11296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11297 shlibpath_var=LD_LIBRARY_PATH
11298 shlibpath_overrides_runpath=yes
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11306 soname_spec='${libname}${release}${shared_ext}$major'
11307 shlibpath_var=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath=no
11309 hardcode_into_libs=yes
11310 dynamic_linker='ldqnx.so'
11315 sys_lib_dlsearch_path_spec="/usr/lib"
11317 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11319 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11320 *) need_version=no ;;
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11323 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11327 openbsd2.[89] | openbsd2.[89].*)
11328 shlibpath_overrides_runpath=no
11331 shlibpath_overrides_runpath=yes
11335 shlibpath_overrides_runpath=yes
11340 libname_spec='$name'
11343 library_names_spec='$libname${shared_ext} $libname.a'
11344 dynamic_linker='OS/2 ld.exe'
11345 shlibpath_var=LIBPATH
11348 osf3* | osf4* | osf5*)
11352 soname_spec='${libname}${release}${shared_ext}$major'
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 shlibpath_var=LD_LIBRARY_PATH
11355 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11356 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11368 soname_spec='${libname}${release}${shared_ext}$major'
11369 shlibpath_var=LD_LIBRARY_PATH
11370 shlibpath_overrides_runpath=yes
11371 hardcode_into_libs=yes
11372 # ldd complains unless libraries are executable
11373 postinstall_cmds='chmod +x $lib'
11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11379 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11380 shlibpath_var=LD_LIBRARY_PATH
11381 shlibpath_overrides_runpath=yes
11382 if test "$with_gnu_ld" = yes; then
11390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391 soname_spec='${libname}${release}${shared_ext}$major'
11392 shlibpath_var=LD_LIBRARY_PATH
11393 case $host_vendor in
11395 shlibpath_overrides_runpath=no
11397 runpath_var=LD_RUN_PATH
11405 shlibpath_overrides_runpath=no
11406 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11412 if test -d /usr/nec ;then
11414 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11415 soname_spec='$libname${shared_ext}.$major'
11416 shlibpath_var=LD_LIBRARY_PATH
11420 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11421 version_type=freebsd-elf
11424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11425 soname_spec='${libname}${release}${shared_ext}$major'
11426 shlibpath_var=LD_LIBRARY_PATH
11427 shlibpath_overrides_runpath=yes
11428 hardcode_into_libs=yes
11429 if test "$with_gnu_ld" = yes; then
11430 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11432 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11435 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11439 sys_lib_dlsearch_path_spec='/usr/lib'
11443 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11447 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448 shlibpath_var=LD_LIBRARY_PATH
11449 shlibpath_overrides_runpath=no
11450 hardcode_into_libs=yes
11455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11456 soname_spec='${libname}${release}${shared_ext}$major'
11457 shlibpath_var=LD_LIBRARY_PATH
11464 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11465 echo "${ECHO_T}$dynamic_linker" >&6; }
11466 test "$dynamic_linker" = no && can_build_shared=no
11468 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11469 if test "$GCC" = yes; then
11470 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11473 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11474 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11476 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11477 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11566 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11567 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11569 if test -n "$hardcode_libdir_flag_spec" ||
11570 test -n "$runpath_var" ||
11571 test "X$hardcode_automatic" = "Xyes" ; then
11573 # We can hardcode non-existent directories.
11574 if test "$hardcode_direct" != no &&
11575 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11576 # have to relink, otherwise we might link with an installed library
11577 # when we should be linking with a yet-to-be-installed one
11578 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11579 test "$hardcode_minus_L" != no; then
11580 # Linking always hardcodes the temporary library directory.
11581 hardcode_action=relink
11583 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11584 hardcode_action=immediate
11587 # We cannot hardcode anything, or else we can only hardcode existing
11589 hardcode_action=unsupported
11591 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11592 echo "${ECHO_T}$hardcode_action" >&6; }
11594 if test "$hardcode_action" = relink ||
11595 test "$inherit_rpath" = yes; then
11596 # Fast installation is not supported
11597 enable_fast_install=no
11598 elif test "$shlibpath_overrides_runpath" = yes ||
11599 test "$enable_shared" = no; then
11600 # Fast installation is not necessary
11601 enable_fast_install=needless
11609 if test "x$enable_dlopen" != xyes; then
11610 enable_dlopen=unknown
11611 enable_dlopen_self=unknown
11612 enable_dlopen_self_static=unknown
11619 lt_cv_dlopen="load_add_on"
11621 lt_cv_dlopen_self=yes
11625 lt_cv_dlopen="LoadLibrary"
11630 lt_cv_dlopen="dlopen"
11635 # if libdl is installed we need to link against it
11636 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11637 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11638 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 ac_check_lib_save_LIBS=$LIBS
11643 cat >conftest.$ac_ext <<_ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11665 rm -f conftest.$ac_objext conftest$ac_exeext
11666 if { (ac_try="$ac_link"
11667 case "(($ac_try" in
11668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11669 *) ac_try_echo
=$ac_try;;
11671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11672 (eval "$ac_link") 2>conftest.er1
11674 grep -v '^ *+' conftest.er1
>conftest.err
11676 cat conftest.err
>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } && {
11679 test -z "$ac_c_werror_flag" ||
11680 test ! -s conftest.err
11681 } && test -s conftest
$ac_exeext &&
11682 $as_test_x conftest
$ac_exeext; then
11683 ac_cv_lib_dl_dlopen
=yes
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.
$ac_ext >&5
11688 ac_cv_lib_dl_dlopen
=no
11691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11692 conftest
$ac_exeext conftest.
$ac_ext
11693 LIBS
=$ac_check_lib_save_LIBS
11695 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11696 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11697 if test $ac_cv_lib_dl_dlopen = yes; then
11698 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11701 lt_cv_dlopen
="dyld"
11703 lt_cv_dlopen_self
=yes
11710 { echo "$as_me:$LINENO: checking for shl_load" >&5
11711 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11712 if test "${ac_cv_func_shl_load+set}" = set; then
11713 echo $ECHO_N "(cached) $ECHO_C" >&6
11715 cat >conftest.
$ac_ext <<_ACEOF
11718 cat confdefs.h
>>conftest.
$ac_ext
11719 cat >>conftest.
$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11721 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11723 #define shl_load innocuous_shl_load
11725 /* System header to define __stub macros and hopefully few prototypes,
11726 which can conflict with char shl_load (); below.
11727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11728 <limits.h> exists even on freestanding compilers. */
11731 # include <limits.h>
11733 # include <assert.h>
11738 /* Override any GCC internal prototype to avoid an error.
11739 Use char because int might match the return type of a GCC
11740 builtin and then its argument prototype would still apply. */
11745 /* The GNU C library defines this for functions which it implements
11746 to always fail with ENOSYS. Some functions are actually named
11747 something starting with __ and the normal name is an alias. */
11748 #if defined __stub_shl_load || defined __stub___shl_load
11755 return shl_load ();
11760 rm -f conftest.
$ac_objext conftest
$ac_exeext
11761 if { (ac_try
="$ac_link"
11762 case "(($ac_try" in
11763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11764 *) ac_try_echo=$ac_try;;
11766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11767 (eval "$ac_link") 2>conftest.er1
11769 grep -v '^ *+' conftest.er1 >conftest.err
11771 cat conftest.err >&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); } && {
11774 test -z "$ac_c_werror_flag" ||
11775 test ! -s conftest.err
11776 } && test -s conftest$ac_exeext &&
11777 $as_test_x conftest$ac_exeext; then
11778 ac_cv_func_shl_load=yes
11780 echo "$as_me: failed program was:" >&5
11781 sed 's/^/| /' conftest.$ac_ext >&5
11783 ac_cv_func_shl_load=no
11786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11787 conftest$ac_exeext conftest.$ac_ext
11789 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11790 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11791 if test $ac_cv_func_shl_load = yes; then
11792 lt_cv_dlopen="shl_load"
11794 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11795 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11796 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 ac_check_lib_save_LIBS=$LIBS
11801 cat >conftest.$ac_ext <<_ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11818 return shl_load ();
11823 rm -f conftest.$ac_objext conftest$ac_exeext
11824 if { (ac_try="$ac_link"
11825 case "(($ac_try" in
11826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11827 *) ac_try_echo
=$ac_try;;
11829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11830 (eval "$ac_link") 2>conftest.er1
11832 grep -v '^ *+' conftest.er1
>conftest.err
11834 cat conftest.err
>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } && {
11837 test -z "$ac_c_werror_flag" ||
11838 test ! -s conftest.err
11839 } && test -s conftest
$ac_exeext &&
11840 $as_test_x conftest
$ac_exeext; then
11841 ac_cv_lib_dld_shl_load
=yes
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.
$ac_ext >&5
11846 ac_cv_lib_dld_shl_load
=no
11849 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11850 conftest
$ac_exeext conftest.
$ac_ext
11851 LIBS
=$ac_check_lib_save_LIBS
11853 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11854 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11855 if test $ac_cv_lib_dld_shl_load = yes; then
11856 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11858 { echo "$as_me:$LINENO: checking for dlopen" >&5
11859 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11860 if test "${ac_cv_func_dlopen+set}" = set; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 cat >conftest.
$ac_ext <<_ACEOF
11866 cat confdefs.h
>>conftest.
$ac_ext
11867 cat >>conftest.
$ac_ext <<_ACEOF
11868 /* end confdefs.h. */
11869 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11871 #define dlopen innocuous_dlopen
11873 /* System header to define __stub macros and hopefully few prototypes,
11874 which can conflict with char dlopen (); below.
11875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11876 <limits.h> exists even on freestanding compilers. */
11879 # include <limits.h>
11881 # include <assert.h>
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11893 /* The GNU C library defines this for functions which it implements
11894 to always fail with ENOSYS. Some functions are actually named
11895 something starting with __ and the normal name is an alias. */
11896 #if defined __stub_dlopen || defined __stub___dlopen
11908 rm -f conftest.
$ac_objext conftest
$ac_exeext
11909 if { (ac_try
="$ac_link"
11910 case "(($ac_try" in
11911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11912 *) ac_try_echo=$ac_try;;
11914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11915 (eval "$ac_link") 2>conftest.er1
11917 grep -v '^ *+' conftest.er1 >conftest.err
11919 cat conftest.err >&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); } && {
11922 test -z "$ac_c_werror_flag" ||
11923 test ! -s conftest.err
11924 } && test -s conftest$ac_exeext &&
11925 $as_test_x conftest$ac_exeext; then
11926 ac_cv_func_dlopen=yes
11928 echo "$as_me: failed program was:" >&5
11929 sed 's/^/| /' conftest.$ac_ext >&5
11931 ac_cv_func_dlopen=no
11934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11935 conftest$ac_exeext conftest.$ac_ext
11937 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11938 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11939 if test $ac_cv_func_dlopen = yes; then
11940 lt_cv_dlopen="dlopen"
11942 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11943 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11944 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 ac_check_lib_save_LIBS=$LIBS
11949 cat >conftest.$ac_ext <<_ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (ac_try="$ac_link"
11973 case "(($ac_try" in
11974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11975 *) ac_try_echo
=$ac_try;;
11977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11978 (eval "$ac_link") 2>conftest.er1
11980 grep -v '^ *+' conftest.er1
>conftest.err
11982 cat conftest.err
>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } && {
11985 test -z "$ac_c_werror_flag" ||
11986 test ! -s conftest.err
11987 } && test -s conftest
$ac_exeext &&
11988 $as_test_x conftest
$ac_exeext; then
11989 ac_cv_lib_dl_dlopen
=yes
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.
$ac_ext >&5
11994 ac_cv_lib_dl_dlopen
=no
11997 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11998 conftest
$ac_exeext conftest.
$ac_ext
11999 LIBS
=$ac_check_lib_save_LIBS
12001 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12002 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12003 if test $ac_cv_lib_dl_dlopen = yes; then
12004 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12006 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12007 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12008 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 ac_check_lib_save_LIBS
=$LIBS
12012 LIBS
="-lsvld $LIBS"
12013 cat >conftest.
$ac_ext <<_ACEOF
12016 cat confdefs.h
>>conftest.
$ac_ext
12017 cat >>conftest.
$ac_ext <<_ACEOF
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12035 rm -f conftest.
$ac_objext conftest
$ac_exeext
12036 if { (ac_try
="$ac_link"
12037 case "(($ac_try" in
12038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12039 *) ac_try_echo=$ac_try;;
12041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12042 (eval "$ac_link") 2>conftest.er1
12044 grep -v '^ *+' conftest.er1 >conftest.err
12046 cat conftest.err >&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); } && {
12049 test -z "$ac_c_werror_flag" ||
12050 test ! -s conftest.err
12051 } && test -s conftest$ac_exeext &&
12052 $as_test_x conftest$ac_exeext; then
12053 ac_cv_lib_svld_dlopen=yes
12055 echo "$as_me: failed program was:" >&5
12056 sed 's/^/| /' conftest.$ac_ext >&5
12058 ac_cv_lib_svld_dlopen=no
12061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_lib_save_LIBS
12065 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12066 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12067 if test $ac_cv_lib_svld_dlopen = yes; then
12068 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12070 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12071 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12072 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 ac_check_lib_save_LIBS=$LIBS
12077 cat >conftest.$ac_ext <<_ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12094 return dld_link ();
12099 rm -f conftest.$ac_objext conftest$ac_exeext
12100 if { (ac_try="$ac_link"
12101 case "(($ac_try" in
12102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12103 *) ac_try_echo
=$ac_try;;
12105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12106 (eval "$ac_link") 2>conftest.er1
12108 grep -v '^ *+' conftest.er1
>conftest.err
12110 cat conftest.err
>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } && {
12113 test -z "$ac_c_werror_flag" ||
12114 test ! -s conftest.err
12115 } && test -s conftest
$ac_exeext &&
12116 $as_test_x conftest
$ac_exeext; then
12117 ac_cv_lib_dld_dld_link
=yes
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.
$ac_ext >&5
12122 ac_cv_lib_dld_dld_link
=no
12125 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12126 conftest
$ac_exeext conftest.
$ac_ext
12127 LIBS
=$ac_check_lib_save_LIBS
12129 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12130 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12131 if test $ac_cv_lib_dld_dld_link = yes; then
12132 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12153 if test "x$lt_cv_dlopen" != xno
; then
12159 case $lt_cv_dlopen in
12161 save_CPPFLAGS
="$CPPFLAGS"
12162 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12164 save_LDFLAGS
="$LDFLAGS"
12165 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12168 LIBS
="$lt_cv_dlopen_libs $LIBS"
12170 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12171 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12172 if test "${lt_cv_dlopen_self+set}" = set; then
12173 echo $ECHO_N "(cached) $ECHO_C" >&6
12175 if test "$cross_compiling" = yes; then :
12176 lt_cv_dlopen_self
=cross
12178 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12179 lt_status
=$lt_dlunknown
12180 cat > conftest.
$ac_ext <<_LT_EOF
12181 #line 12181 "configure"
12182 #include "confdefs.h"
12191 # define LT_DLGLOBAL RTLD_GLOBAL
12194 # define LT_DLGLOBAL DL_GLOBAL
12196 # define LT_DLGLOBAL 0
12200 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12201 find out it does not work in some platform. */
12202 #ifndef LT_DLLAZY_OR_NOW
12204 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12207 # define LT_DLLAZY_OR_NOW DL_LAZY
12210 # define LT_DLLAZY_OR_NOW RTLD_NOW
12213 # define LT_DLLAZY_OR_NOW DL_NOW
12215 # define LT_DLLAZY_OR_NOW 0
12223 extern "C" void exit (int);
12226 void fnord() { int i=42;}
12229 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12230 int status = $lt_dlunknown;
12234 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12235 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12236 /* dlclose (self); */
12244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12245 (eval $ac_link) 2>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12249 (.
/conftest
; exit; ) >&5 2>/dev
/null
12251 case x
$lt_status in
12252 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12253 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12254 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12257 # compilation failed
12258 lt_cv_dlopen_self
=no
12265 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12266 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12268 if test "x$lt_cv_dlopen_self" = xyes
; then
12269 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12270 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12271 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12272 if test "${lt_cv_dlopen_self_static+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 if test "$cross_compiling" = yes; then :
12276 lt_cv_dlopen_self_static
=cross
12278 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12279 lt_status
=$lt_dlunknown
12280 cat > conftest.
$ac_ext <<_LT_EOF
12281 #line 12281 "configure"
12282 #include "confdefs.h"
12291 # define LT_DLGLOBAL RTLD_GLOBAL
12294 # define LT_DLGLOBAL DL_GLOBAL
12296 # define LT_DLGLOBAL 0
12300 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12301 find out it does not work in some platform. */
12302 #ifndef LT_DLLAZY_OR_NOW
12304 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12307 # define LT_DLLAZY_OR_NOW DL_LAZY
12310 # define LT_DLLAZY_OR_NOW RTLD_NOW
12313 # define LT_DLLAZY_OR_NOW DL_NOW
12315 # define LT_DLLAZY_OR_NOW 0
12323 extern "C" void exit (int);
12326 void fnord() { int i=42;}
12329 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12330 int status = $lt_dlunknown;
12334 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12335 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12336 /* dlclose (self); */
12344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12345 (eval $ac_link) 2>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12349 (.
/conftest
; exit; ) >&5 2>/dev
/null
12351 case x
$lt_status in
12352 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12353 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12354 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12357 # compilation failed
12358 lt_cv_dlopen_self_static
=no
12365 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12366 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12369 CPPFLAGS
="$save_CPPFLAGS"
12370 LDFLAGS
="$save_LDFLAGS"
12375 case $lt_cv_dlopen_self in
12376 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12377 *) enable_dlopen_self
=unknown
;;
12380 case $lt_cv_dlopen_self_static in
12381 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12382 *) enable_dlopen_self_static
=unknown
;;
12404 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12405 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12406 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12407 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12408 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12409 { echo "$as_me:$LINENO: result: yes" >&5
12410 echo "${ECHO_T}yes" >&6; }
12412 # FIXME - insert some real tests, host_os isn't really good enough
12415 if test -n "$STRIP" ; then
12416 striplib
="$STRIP -x"
12417 old_striplib
="$STRIP -S"
12418 { echo "$as_me:$LINENO: result: yes" >&5
12419 echo "${ECHO_T}yes" >&6; }
12421 { echo "$as_me:$LINENO: result: no" >&5
12422 echo "${ECHO_T}no" >&6; }
12426 { echo "$as_me:$LINENO: result: no" >&5
12427 echo "${ECHO_T}no" >&6; }
12443 # Report which library types will actually be built
12444 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12445 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12446 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12447 echo "${ECHO_T}$can_build_shared" >&6; }
12449 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12450 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12451 test "$can_build_shared" = "no" && enable_shared
=no
12453 # On AIX, shared libraries and static libraries use the same namespace, and
12454 # are all built from PIC.
12457 test "$enable_shared" = yes && enable_static
=no
12458 if test -n "$RANLIB"; then
12459 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12460 postinstall_cmds
='$RANLIB $lib'
12465 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12466 test "$enable_shared" = yes && enable_static
=no
12470 { echo "$as_me:$LINENO: result: $enable_shared" >&5
12471 echo "${ECHO_T}$enable_shared" >&6; }
12473 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12474 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12475 # Make sure either enable_shared or enable_static is yes.
12476 test "$enable_shared" = yes || enable_static
=yes
12477 { echo "$as_me:$LINENO: result: $enable_static" >&5
12478 echo "${ECHO_T}$enable_static" >&6; }
12485 ac_cpp
='$CPP $CPPFLAGS'
12486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12504 ac_config_commands
="$ac_config_commands libtool"
12509 # Only expand once:
12513 ACLOCAL
="$ACLOCAL $ACLOCAL_FLAGS"
12515 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12516 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
12517 # Check whether --enable-maintainer-mode was given.
12518 if test "${enable_maintainer_mode+set}" = set; then
12519 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
12521 USE_MAINTAINER_MODE
=no
12524 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12525 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
12528 if test $USE_MAINTAINER_MODE = yes; then
12529 MAINTAINER_MODE_TRUE
=
12530 MAINTAINER_MODE_FALSE
='#'
12532 MAINTAINER_MODE_TRUE
='#'
12533 MAINTAINER_MODE_FALSE
=
12536 MAINT
=$MAINTAINER_MODE_TRUE
12541 if test "x$GCC" = "xyes"; then
12542 case " $CFLAGS " in
12543 *[\ \
]-Wall[\ \
]*) ;;
12544 *) CFLAGS
="$CFLAGS -Wall" ;;
12549 GLIB_REQUIRED_VERSION
=2.0.0
12553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12554 if test -n "$ac_tool_prefix"; then
12555 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12556 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
12557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12559 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 case $PKG_CONFIG in
12564 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12568 for as_dir
in $PATH
12571 test -z "$as_dir" && as_dir
=.
12572 for ac_exec_ext
in '' $ac_executable_extensions; do
12573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12574 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12585 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
12586 if test -n "$PKG_CONFIG"; then
12587 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12588 echo "${ECHO_T}$PKG_CONFIG" >&6; }
12590 { echo "$as_me:$LINENO: result: no" >&5
12591 echo "${ECHO_T}no" >&6; }
12596 if test -z "$ac_cv_path_PKG_CONFIG"; then
12597 ac_pt_PKG_CONFIG
=$PKG_CONFIG
12598 # Extract the first word of "pkg-config", so it can be a program name with args.
12599 set dummy pkg-config
; ac_word
=$2
12600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12602 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12605 case $ac_pt_PKG_CONFIG in
12607 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12611 for as_dir
in $PATH
12614 test -z "$as_dir" && as_dir
=.
12615 for ac_exec_ext
in '' $ac_executable_extensions; do
12616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12617 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12628 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
12629 if test -n "$ac_pt_PKG_CONFIG"; then
12630 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12631 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
12633 { echo "$as_me:$LINENO: result: no" >&5
12634 echo "${ECHO_T}no" >&6; }
12637 if test "x$ac_pt_PKG_CONFIG" = x
; then
12640 case $cross_compiling:$ac_tool_warned in
12642 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12643 whose name does not start with the host triplet. If you think this
12644 configuration is useful to you, please write to autoconf@gnu.org." >&5
12645 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12646 whose name does not start with the host triplet. If you think this
12647 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12648 ac_tool_warned
=yes ;;
12650 PKG_CONFIG
=$ac_pt_PKG_CONFIG
12653 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12657 if test -n "$PKG_CONFIG"; then
12658 _pkg_min_version
=0.9.0
12659 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12660 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
12661 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12662 { echo "$as_me:$LINENO: result: yes" >&5
12663 echo "${ECHO_T}yes" >&6; }
12665 { echo "$as_me:$LINENO: result: no" >&5
12666 echo "${ECHO_T}no" >&6; }
12673 { echo "$as_me:$LINENO: checking for GLIB" >&5
12674 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
12676 if test -n "$PKG_CONFIG"; then
12677 if test -n "$GLIB_CFLAGS"; then
12678 pkg_cv_GLIB_CFLAGS
="$GLIB_CFLAGS"
12680 if test -n "$PKG_CONFIG" && \
12681 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION\"") >&5
12682 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; then
12686 pkg_cv_GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
12694 if test -n "$PKG_CONFIG"; then
12695 if test -n "$GLIB_LIBS"; then
12696 pkg_cv_GLIB_LIBS
="$GLIB_LIBS"
12698 if test -n "$PKG_CONFIG" && \
12699 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION\"") >&5
12700 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; then
12704 pkg_cv_GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
12715 if test $pkg_failed = yes; then
12717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12718 _pkg_short_errors_supported
=yes
12720 _pkg_short_errors_supported
=no
12722 if test $_pkg_short_errors_supported = yes; then
12723 GLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION"`
12725 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION"`
12727 # Put the nasty error message in config.log where it belongs
12728 echo "$GLIB_PKG_ERRORS" >&5
12730 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED_VERSION) were not met:
12734 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12735 installed software in a non-standard prefix.
12737 Alternatively, you may set the environment variables GLIB_CFLAGS
12738 and GLIB_LIBS to avoid the need to call pkg-config.
12739 See the pkg-config man page for more details.
12741 echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED_VERSION) were not met:
12745 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12746 installed software in a non-standard prefix.
12748 Alternatively, you may set the environment variables GLIB_CFLAGS
12749 and GLIB_LIBS to avoid the need to call pkg-config.
12750 See the pkg-config man page for more details.
12752 { (exit 1); exit 1; }; }
12753 elif test $pkg_failed = untried
; then
12754 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
12755 is in your PATH or set the PKG_CONFIG environment variable to the full
12756 path to pkg-config.
12758 Alternatively, you may set the environment variables GLIB_CFLAGS
12759 and GLIB_LIBS to avoid the need to call pkg-config.
12760 See the pkg-config man page for more details.
12762 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12763 See \`config.log' for more details." >&5
12764 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
12765 is in your PATH or set the PKG_CONFIG environment variable to the full
12766 path to pkg-config.
12768 Alternatively, you may set the environment variables GLIB_CFLAGS
12769 and GLIB_LIBS to avoid the need to call pkg-config.
12770 See the pkg-config man page for more details.
12772 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12773 See \`config.log' for more details." >&2;}
12774 { (exit 1); exit 1; }; }
12776 GLIB_CFLAGS
=$pkg_cv_GLIB_CFLAGS
12777 GLIB_LIBS
=$pkg_cv_GLIB_LIBS
12778 { echo "$as_me:$LINENO: result: yes" >&5
12779 echo "${ECHO_T}yes" >&6; }
12783 GLIB_CFLAGS
=`$PKG_CONFIG --cflags glib-2.0`
12786 GLIB_LIBS
=`$PKG_CONFIG --libs glib-2.0`
12789 GLIB_DIR
=`$PKG_CONFIG --variable=libdir glib-2.0`
12793 for ac_func
in bind_textdomain_codeset
12795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12798 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 cat >conftest.
$ac_ext <<_ACEOF
12804 cat confdefs.h
>>conftest.
$ac_ext
12805 cat >>conftest.
$ac_ext <<_ACEOF
12806 /* end confdefs.h. */
12807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12809 #define $ac_func innocuous_$ac_func
12811 /* System header to define __stub macros and hopefully few prototypes,
12812 which can conflict with char $ac_func (); below.
12813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12814 <limits.h> exists even on freestanding compilers. */
12817 # include <limits.h>
12819 # include <assert.h>
12824 /* Override any GCC internal prototype to avoid an error.
12825 Use char because int might match the return type of a GCC
12826 builtin and then its argument prototype would still apply. */
12831 /* The GNU C library defines this for functions which it implements
12832 to always fail with ENOSYS. Some functions are actually named
12833 something starting with __ and the normal name is an alias. */
12834 #if defined __stub_$ac_func || defined __stub___$ac_func
12841 return $ac_func ();
12846 rm -f conftest.
$ac_objext conftest
$ac_exeext
12847 if { (ac_try
="$ac_link"
12848 case "(($ac_try" in
12849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12850 *) ac_try_echo=$ac_try;;
12852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12853 (eval "$ac_link") 2>conftest.er1
12855 grep -v '^ *+' conftest.er1 >conftest.err
12857 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && {
12860 test -z "$ac_c_werror_flag" ||
12861 test ! -s conftest.err
12862 } && test -s conftest$ac_exeext &&
12863 $as_test_x conftest$ac_exeext; then
12864 eval "$as_ac_var=yes"
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12869 eval "$as_ac_var=no"
12872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12873 conftest$ac_exeext conftest.$ac_ext
12875 ac_res=`eval echo '${'$as_ac_var'}'`
12876 { echo "$as_me:$LINENO: result: $ac_res" >&5
12877 echo "${ECHO_T}$ac_res" >&6; }
12878 if test `eval echo '${'$as_ac_var'}'` = yes; then
12879 cat >>confdefs.h <<_ACEOF
12880 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12887 DATADIR="${datadir}/liblqr-1"
12891 ac_config_files="$ac_config_files Makefile lqr/Makefile man/Makefile lqr-1.pc"
12894 # Check whether --enable-install-man was given.
12895 if test "${enable_install_man+set}" = set; then
12896 enableval=$enable_install_man; case "${enableval}" in
12897 yes) install_man=true ;;
12898 no) install_man=false ;;
12899 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-install-man" >&5
12900 echo "$as_me: error: bad value ${enableval} for --enable-install-man" >&2;}
12901 { (exit 1); exit 1; }; } ;;
12909 if test x$install_man = xtrue; then
12919 cat >confcache <<\_ACEOF
12920 # This file is a shell script that caches the results of configure
12921 # tests run on this system so they can be shared between configure
12922 # scripts and configure runs, see configure's option --config-cache.
12923 # It is not useful on other systems. If it contains results you don't
12924 # want to keep, you may remove or edit it.
12926 # config.status only pays attention to the cache file if you give it
12927 # the --recheck option to rerun configure.
12929 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12931 # following values.
12935 # The following way of writing the cache mishandles newlines in values,
12936 # but we know of no workaround that is simple, portable, and efficient.
12937 # So, we kill variables containing newlines.
12938 # Ultrix sh set writes to stderr and can't be redirected directly,
12939 # and sets the high bit in the cache file unless we assign to the vars.
12941 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12942 eval ac_val
=\$
$ac_var
12946 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12947 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12950 _ | IFS | as_nl
) ;; #(
12951 *) $as_unset $ac_var ;;
12957 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12958 *${as_nl}ac_space
=\
*)
12959 # `set' does not quote correctly, so add quotes (double-quote
12960 # substitution turns \\\\ into \\, and sed turns \\ into \).
12963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12966 # `set' quotes correctly as required by POSIX, so do not add quotes.
12967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12978 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12980 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12981 if test -w "$cache_file"; then
12982 test "x$cache_file" != "x/dev/null" &&
12983 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12984 echo "$as_me: updating cache $cache_file" >&6;}
12985 cat confcache
>$cache_file
12987 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12988 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12993 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12994 # Let make expand exec_prefix.
12995 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12997 DEFS
=-DHAVE_CONFIG_H
13001 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13002 # 1. Remove the extension, and $U if already installed.
13003 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13004 ac_i
=`echo "$ac_i" | sed "$ac_script"`
13005 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13006 # will be set to the directory where LIBOBJS objects are built.
13007 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13008 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13010 LIBOBJS
=$ac_libobjs
13012 LTLIBOBJS
=$ac_ltlibobjs
13015 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13016 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13017 Usually this means the macro was only invoked conditionally." >&5
13018 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13019 Usually this means the macro was only invoked conditionally." >&2;}
13020 { (exit 1); exit 1; }; }
13022 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13023 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13024 Usually this means the macro was only invoked conditionally." >&5
13025 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13026 Usually this means the macro was only invoked conditionally." >&2;}
13027 { (exit 1); exit 1; }; }
13029 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13030 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13031 Usually this means the macro was only invoked conditionally." >&5
13032 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13033 Usually this means the macro was only invoked conditionally." >&2;}
13034 { (exit 1); exit 1; }; }
13036 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13037 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13038 Usually this means the macro was only invoked conditionally." >&5
13039 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13040 Usually this means the macro was only invoked conditionally." >&2;}
13041 { (exit 1); exit 1; }; }
13043 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13044 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13045 Usually this means the macro was only invoked conditionally." >&5
13046 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13047 Usually this means the macro was only invoked conditionally." >&2;}
13048 { (exit 1); exit 1; }; }
13050 if test -z "${INSTMAN_TRUE}" && test -z "${INSTMAN_FALSE}"; then
13051 { { echo "$as_me:$LINENO: error: conditional \"INSTMAN\" was never defined.
13052 Usually this means the macro was only invoked conditionally." >&5
13053 echo "$as_me: error: conditional \"INSTMAN\" was never defined.
13054 Usually this means the macro was only invoked conditionally." >&2;}
13055 { (exit 1); exit 1; }; }
13058 : ${CONFIG_STATUS=./config.status}
13059 ac_clean_files_save
=$ac_clean_files
13060 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13061 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13062 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13063 cat >$CONFIG_STATUS <<_ACEOF
13065 # Generated by $as_me.
13066 # Run this file to recreate the current configuration.
13067 # Compiler output produced by configure, useful for debugging
13068 # configure, is in config.log if it exists.
13071 ac_cs_recheck=false
13073 SHELL=\${CONFIG_SHELL-$SHELL}
13076 cat >>$CONFIG_STATUS <<\_ACEOF
13077 ## --------------------- ##
13078 ## M4sh Initialization. ##
13079 ## --------------------- ##
13081 # Be more Bourne compatible
13082 DUALCASE
=1; export DUALCASE
# for MKS sh
13083 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13086 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13087 # is contrary to our usage. Disable this feature.
13088 alias -g '${1+"$@"}'='"$@"'
13089 setopt NO_GLOB_SUBST
13091 case `(set -o) 2>/dev/null` in
13092 *posix
*) set -o posix
;;
13101 # Avoid depending upon Character Ranges.
13102 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13103 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13104 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13105 as_cr_digits
='0123456789'
13106 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13108 # The user is always right.
13109 if test "${PATH_SEPARATOR+set}" != set; then
13110 echo "#! /bin/sh" >conf$$.sh
13111 echo "exit 0" >>conf$$.sh
13113 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13121 # Support unset when possible.
13122 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13130 # We need space, tab and new line, in precisely that order. Quoting is
13131 # there to prevent editors from complaining about space-tab.
13132 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13133 # splitting by setting IFS to empty value.)
13138 # Find who we are. Look in the path if we contain no directory separator.
13140 *[\\/]* ) as_myself
=$0 ;;
13141 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13142 for as_dir
in $PATH
13145 test -z "$as_dir" && as_dir
=.
13146 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13152 # We did not find ourselves, most probably we were run as `sh COMMAND'
13153 # in which case we are not to be found in the path.
13154 if test "x$as_myself" = x
; then
13157 if test ! -f "$as_myself"; then
13158 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13159 { (exit 1); exit 1; }
13162 # Work around bugs in pre-3.0 UWIN ksh.
13163 for as_var
in ENV MAIL MAILPATH
13164 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13172 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13173 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13174 LC_TELEPHONE LC_TIME
13176 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13177 eval $as_var=C
; export $as_var
13179 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13183 # Required to use basename.
13184 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13185 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13191 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13192 as_basename
=basename
13198 # Name of the executable.
13199 as_me
=`$as_basename -- "$0" ||
13200 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13201 X"$0" : 'X\(//\)$' \| \
13202 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13204 sed '/^.*\/\([^/][^/]*\)\/*$/{
13223 as_lineno_1
=$LINENO
13224 as_lineno_2
=$LINENO
13225 test "x$as_lineno_1" != "x$as_lineno_2" &&
13226 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13228 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13229 # uniformly replaced by the line number. The first 'sed' inserts a
13230 # line-number line after each line using $LINENO; the second 'sed'
13231 # does the real work. The second script uses 'N' to pair each
13232 # line-number line with the line containing $LINENO, and appends
13233 # trailing '-' during substitution so that $LINENO is not a special
13234 # case at line end.
13235 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13236 # scripts with optimization help from Paolo Bonzini. Blame Lee
13237 # E. McMahon (1931-1989) for sed's syntax. :-)
13249 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13252 ' >$as_me.lineno
&&
13253 chmod +x
"$as_me.lineno" ||
13254 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13255 { (exit 1); exit 1; }; }
13257 # Don't try to exec as it changes $[0], causing all sort of problems
13258 # (the dirname of $[0] is not the place where we might find the
13259 # original and so on. Autoconf is especially sensitive to this).
13260 .
"./$as_me.lineno"
13261 # Exit status is that of the last command.
13266 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13272 ECHO_C
= ECHO_N
= ECHO_T
=
13273 case `echo -n x` in
13275 case `echo 'x\c'` in
13276 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13283 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13284 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13290 rm -f conf$$ conf$$.exe conf$$.
file
13291 if test -d conf$$.dir
; then
13292 rm -f conf$$.dir
/conf$$.
file
13298 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13300 # ... but there are two gotchas:
13301 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13302 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13303 # In both cases, we have to default to `cp -p'.
13304 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13306 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13311 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13312 rmdir conf$$.dir
2>/dev
/null
13314 if mkdir
-p .
2>/dev
/null
; then
13317 test -d .
/-p && rmdir .
/-p
13321 if test -x / >/dev
/null
2>&1; then
13322 as_test_x
='test -x'
13324 if ls -dL / >/dev
/null
2>&1; then
13331 if test -d "$1"; then
13337 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13338 ???[sx]*):;;*)false;;esac;fi
13342 as_executable_p
=$as_test_x
13344 # Sed expression to map a string onto a valid CPP name.
13345 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13347 # Sed expression to map a string onto a valid variable name.
13348 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13353 # Save the log message, to keep $[0] and so on meaningful, and to
13354 # report actual input values of CONFIG_FILES etc. instead of their
13355 # values after options handling.
13357 This file was extended by liblqr-1 $as_me 0.3.0, which was
13358 generated by GNU Autoconf 2.61. Invocation command line was
13360 CONFIG_FILES = $CONFIG_FILES
13361 CONFIG_HEADERS = $CONFIG_HEADERS
13362 CONFIG_LINKS = $CONFIG_LINKS
13363 CONFIG_COMMANDS = $CONFIG_COMMANDS
13366 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13371 cat >>$CONFIG_STATUS <<_ACEOF
13372 # Files that config.status was made for.
13373 config_files="$ac_config_files"
13374 config_headers="$ac_config_headers"
13375 config_commands="$ac_config_commands"
13379 cat >>$CONFIG_STATUS <<\_ACEOF
13381 \`$as_me' instantiates files from templates according to the
13382 current configuration.
13384 Usage: $0 [OPTIONS] [FILE]...
13386 -h, --help print this help, then exit
13387 -V, --version print version number and configuration settings, then exit
13388 -q, --quiet do not print progress messages
13389 -d, --debug don't remove temporary files
13390 --recheck update $as_me by reconfiguring in the same conditions
13391 --file=FILE[:TEMPLATE]
13392 instantiate the configuration file FILE
13393 --header=FILE[:TEMPLATE]
13394 instantiate the configuration header FILE
13396 Configuration files:
13399 Configuration headers:
13402 Configuration commands:
13405 Report bugs to <bug-autoconf@gnu.org>."
13408 cat >>$CONFIG_STATUS <<_ACEOF
13410 liblqr-1 config.status 0.3.0
13411 configured by $0, generated by GNU Autoconf 2.61,
13412 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13414 Copyright (C) 2006 Free Software Foundation, Inc.
13415 This config.status script is free software; the Free Software Foundation
13416 gives unlimited permission to copy, distribute and modify it."
13423 cat >>$CONFIG_STATUS <<\_ACEOF
13424 # If no file are specified by the user, then we need to provide default
13425 # value. By we need to know if files were specified by the user.
13431 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13432 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13443 # Handling of the options.
13444 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13446 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13447 echo "$ac_cs_version"; exit ;;
13448 --debug |
--debu |
--deb |
--de |
--d |
-d )
13450 --file |
--fil |
--fi |
--f )
13452 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13453 ac_need_defaults
=false
;;
13454 --header |
--heade |
--head |
--hea )
13456 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13457 ac_need_defaults
=false
;;
13459 # Conflict between --help and --header
13460 { echo "$as_me: error: ambiguous option: $1
13461 Try \`$0 --help' for more information." >&2
13462 { (exit 1); exit 1; }; };;
13463 --help |
--hel |
-h )
13464 echo "$ac_cs_usage"; exit ;;
13465 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13466 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13469 # This is an error.
13470 -*) { echo "$as_me: error: unrecognized option: $1
13471 Try \`$0 --help' for more information." >&2
13472 { (exit 1); exit 1; }; } ;;
13474 *) ac_config_targets
="$ac_config_targets $1"
13475 ac_need_defaults
=false
;;
13481 ac_configure_extra_args
=
13483 if $ac_cs_silent; then
13485 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13489 cat >>$CONFIG_STATUS <<_ACEOF
13490 if \$ac_cs_recheck; then
13491 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13492 CONFIG_SHELL=$SHELL
13493 export CONFIG_SHELL
13494 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13498 cat >>$CONFIG_STATUS <<\_ACEOF
13502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13503 ## Running $as_me. ##
13509 cat >>$CONFIG_STATUS <<_ACEOF
13513 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13516 # The HP-UX ksh and POSIX shell print the target directory to stdout
13517 # if CDPATH is set.
13518 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13520 sed_quote_subst='$sed_quote_subst'
13521 double_quote_subst='$double_quote_subst'
13522 delay_variable_subst='$delay_variable_subst'
13523 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13524 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13525 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13526 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13527 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13528 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13529 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13530 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13531 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13532 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13533 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13534 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13535 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13536 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13537 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13538 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13539 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13540 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13541 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13542 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13543 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13544 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13545 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13546 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13547 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13548 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13549 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13550 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13551 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13552 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13553 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13554 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13555 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13556 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13557 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13558 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13559 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13560 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13561 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13562 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13563 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13564 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13565 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13566 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13567 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13568 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13569 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13570 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13571 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13572 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13573 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13574 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13575 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13576 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13577 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13578 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13579 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13580 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13581 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13582 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13583 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13584 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13585 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13586 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13587 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13588 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13589 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13590 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13591 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13592 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13593 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13594 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13595 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13596 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13597 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13598 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13599 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13600 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13601 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13602 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13603 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13604 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13605 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13606 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13607 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13608 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13609 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13610 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13611 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13612 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13613 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13614 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13615 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13616 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13617 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13618 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13619 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13620 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13621 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13622 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13623 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13624 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13625 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13626 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13627 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13628 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13629 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13630 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13631 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13632 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13633 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13634 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13635 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13636 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13637 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13638 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13639 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13642 LTCFLAGS='$LTCFLAGS'
13643 compiler='$compiler_DEFAULT'
13645 # Quote evaled strings.
13656 deplibs_check_method \
13665 lt_cv_sys_global_symbol_pipe \
13666 lt_cv_sys_global_symbol_to_cdecl \
13667 lt_cv_sys_global_symbol_to_c_name_address \
13668 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13671 lt_prog_compiler_no_builtin_flag \
13672 lt_prog_compiler_wl \
13673 lt_prog_compiler_pic \
13674 lt_prog_compiler_static \
13675 lt_cv_prog_compiler_c_o \
13683 export_dynamic_flag_spec \
13684 whole_archive_flag_spec \
13685 compiler_needs_object \
13687 allow_undefined_flag \
13688 no_undefined_flag \
13689 hardcode_libdir_flag_spec \
13690 hardcode_libdir_flag_spec_ld \
13691 hardcode_libdir_separator \
13696 variables_saved_for_relink \
13698 library_names_spec \
13703 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13704 *[\\\\\\\`\\"\\\$]*)
13705 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13708 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13713 # Double-quote double-evaled strings.
13714 for var in reload_cmds \
13715 old_postinstall_cmds \
13716 old_postuninstall_cmds \
13718 extract_expsyms_cmds \
13719 old_archive_from_new_cmds \
13720 old_archive_from_expsyms_cmds \
13722 archive_expsym_cmds \
13724 module_expsym_cmds \
13725 export_symbols_cmds \
13728 postuninstall_cmds \
13730 sys_lib_search_path_spec \
13731 sys_lib_dlsearch_path_spec; do
13732 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13733 *[\\\\\\\`\\"\\\$]*)
13734 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13737 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13742 # Fix-up fallback echo if it was mangled by the above quoting rules.
13744 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13748 ac_aux_dir='$ac_aux_dir'
13749 xsi_shell='$xsi_shell'
13750 lt_shell_append='$lt_shell_append'
13752 # See if we are running on zsh, and set the options which allow our
13753 # commands through without removal of \ escapes INIT.
13754 if test -n "\${ZSH_VERSION+set}" ; then
13755 setopt NO_GLOB_SUBST
13761 TIMESTAMP='$TIMESTAMP'
13770 cat >>$CONFIG_STATUS <<\_ACEOF
13772 # Handling of arguments.
13773 for ac_config_target
in $ac_config_targets
13775 case $ac_config_target in
13776 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13777 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13778 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13779 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13780 "lqr/Makefile") CONFIG_FILES
="$CONFIG_FILES lqr/Makefile" ;;
13781 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
13782 "lqr-1.pc") CONFIG_FILES
="$CONFIG_FILES lqr-1.pc" ;;
13784 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13785 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13786 { (exit 1); exit 1; }; };;
13791 # If the user did not use the arguments to specify the items to instantiate,
13792 # then the envvar interface is used. Set only those that are not.
13793 # We use the long form for the default assignment because of an extremely
13794 # bizarre bug on SunOS 4.1.3.
13795 if $ac_need_defaults; then
13796 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13797 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13798 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13801 # Have a temporary directory for convenience. Make it in the build tree
13802 # simply because there is no reason against having it here, and in addition,
13803 # creating and moving files from /tmp can sometimes cause problems.
13804 # Hook for its removal unless debugging.
13805 # Note that there is a small window in which the directory will not be cleaned:
13806 # after its creation but before its name has been assigned to `$tmp'.
13810 trap 'exit_status=$?
13811 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13813 trap '{ (exit 1); exit 1; }' 1 2 13 15
13815 # Create a (secure) tmp directory for tmp files.
13818 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13819 test -n "$tmp" && test -d "$tmp"
13822 tmp
=.
/conf$$
-$RANDOM
13823 (umask 077 && mkdir
"$tmp")
13826 echo "$me: cannot create a temporary directory in ." >&2
13827 { (exit 1); exit 1; }
13831 # Set up the sed scripts for CONFIG_FILES section.
13834 # No need to generate the scripts if there are no CONFIG_FILES.
13835 # This happens for instance when ./config.status config.h
13836 if test -n "$CONFIG_FILES"; then
13843 for ac_last_try
in false false false false false
:; do
13844 cat >conf$
$subs.
sed <<_ACEOF
13845 SHELL!$SHELL$ac_delim
13846 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13847 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13848 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13849 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13850 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13851 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13852 exec_prefix!$exec_prefix$ac_delim
13853 prefix!$prefix$ac_delim
13854 program_transform_name!$program_transform_name$ac_delim
13855 bindir!$bindir$ac_delim
13856 sbindir!$sbindir$ac_delim
13857 libexecdir!$libexecdir$ac_delim
13858 datarootdir!$datarootdir$ac_delim
13859 datadir!$datadir$ac_delim
13860 sysconfdir!$sysconfdir$ac_delim
13861 sharedstatedir!$sharedstatedir$ac_delim
13862 localstatedir!$localstatedir$ac_delim
13863 includedir!$includedir$ac_delim
13864 oldincludedir!$oldincludedir$ac_delim
13865 docdir!$docdir$ac_delim
13866 infodir!$infodir$ac_delim
13867 htmldir!$htmldir$ac_delim
13868 dvidir!$dvidir$ac_delim
13869 pdfdir!$pdfdir$ac_delim
13870 psdir!$psdir$ac_delim
13871 libdir!$libdir$ac_delim
13872 localedir!$localedir$ac_delim
13873 mandir!$mandir$ac_delim
13874 DEFS!$DEFS$ac_delim
13875 ECHO_C!$ECHO_C$ac_delim
13876 ECHO_N!$ECHO_N$ac_delim
13877 ECHO_T!$ECHO_T$ac_delim
13878 LIBS!$LIBS$ac_delim
13879 build_alias!$build_alias$ac_delim
13880 host_alias!$host_alias$ac_delim
13881 target_alias!$target_alias$ac_delim
13882 LIBRARY_BASE_NAME!$LIBRARY_BASE_NAME$ac_delim
13883 API_VERSION!$API_VERSION$ac_delim
13884 LIBRARY_NAME!$LIBRARY_NAME$ac_delim
13885 LIBRARY_SNAME!$LIBRARY_SNAME$ac_delim
13886 LTVERSION!$LTVERSION$ac_delim
13887 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13888 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13889 INSTALL_DATA!$INSTALL_DATA$ac_delim
13890 CYGPATH_W!$CYGPATH_W$ac_delim
13891 PACKAGE!$PACKAGE$ac_delim
13892 VERSION!$VERSION$ac_delim
13893 ACLOCAL!$ACLOCAL$ac_delim
13894 AUTOCONF!$AUTOCONF$ac_delim
13895 AUTOMAKE!$AUTOMAKE$ac_delim
13896 AUTOHEADER!$AUTOHEADER$ac_delim
13897 MAKEINFO!$MAKEINFO$ac_delim
13898 install_sh!$install_sh$ac_delim
13899 STRIP!$STRIP$ac_delim
13900 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13901 mkdir_p!$mkdir_p$ac_delim
13903 SET_MAKE!$SET_MAKE$ac_delim
13904 am__leading_dot!$am__leading_dot$ac_delim
13905 AMTAR!$AMTAR$ac_delim
13906 am__tar!$am__tar$ac_delim
13907 am__untar!$am__untar$ac_delim
13909 CFLAGS!$CFLAGS$ac_delim
13910 LDFLAGS!$LDFLAGS$ac_delim
13911 CPPFLAGS!$CPPFLAGS$ac_delim
13912 ac_ct_CC!$ac_ct_CC$ac_delim
13913 EXEEXT!$EXEEXT$ac_delim
13914 OBJEXT!$OBJEXT$ac_delim
13915 DEPDIR!$DEPDIR$ac_delim
13916 am__include!$am__include$ac_delim
13917 am__quote!$am__quote$ac_delim
13918 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13919 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13920 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13921 CCDEPMODE!$CCDEPMODE$ac_delim
13922 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13923 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13925 GREP!$GREP$ac_delim
13926 EGREP!$EGREP$ac_delim
13927 LIBTOOL!$LIBTOOL$ac_delim
13928 build!$build$ac_delim
13929 build_cpu!$build_cpu$ac_delim
13930 build_vendor!$build_vendor$ac_delim
13931 build_os!$build_os$ac_delim
13932 host!$host$ac_delim
13933 host_cpu!$host_cpu$ac_delim
13934 host_vendor!$host_vendor$ac_delim
13935 host_os!$host_os$ac_delim
13937 FGREP!$FGREP$ac_delim
13939 DUMPBIN!$DUMPBIN$ac_delim
13940 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13944 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13946 elif $ac_last_try; then
13947 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13948 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13949 { (exit 1); exit 1; }; }
13951 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13955 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13956 if test -n "$ac_eof"; then
13957 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13958 ac_eof
=`expr $ac_eof + 1`
13961 cat >>$CONFIG_STATUS <<_ACEOF
13962 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13966 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13967 s/^/s,@/; s/!/@,|#_!!_#|/
13970 s/'"$ac_delim"'$/,g/; t
13972 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13973 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13974 rm -f conf$
$subs.
sed
13975 cat >>$CONFIG_STATUS <<_ACEOF
13981 for ac_last_try
in false false false false false
:; do
13982 cat >conf$
$subs.
sed <<_ACEOF
13983 LN_S!$LN_S$ac_delim
13985 RANLIB!$RANLIB$ac_delim
13986 lt_ECHO!$lt_ECHO$ac_delim
13987 DSYMUTIL!$DSYMUTIL$ac_delim
13988 NMEDIT!$NMEDIT$ac_delim
13989 LIPO!$LIPO$ac_delim
13990 OTOOL!$OTOOL$ac_delim
13991 OTOOL64!$OTOOL64$ac_delim
13992 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
13993 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
13994 MAINT!$MAINT$ac_delim
13995 PKG_CONFIG!$PKG_CONFIG$ac_delim
13996 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
13997 GLIB_LIBS!$GLIB_LIBS$ac_delim
13998 GLIB_DIR!$GLIB_DIR$ac_delim
13999 DATADIR!$DATADIR$ac_delim
14000 INSTMAN_TRUE!$INSTMAN_TRUE$ac_delim
14001 INSTMAN_FALSE!$INSTMAN_FALSE$ac_delim
14002 LIBOBJS!$LIBOBJS$ac_delim
14003 LTLIBOBJS!$LTLIBOBJS$ac_delim
14006 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
14008 elif $ac_last_try; then
14009 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14010 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14011 { (exit 1); exit 1; }; }
14013 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
14017 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14018 if test -n "$ac_eof"; then
14019 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
14020 ac_eof
=`expr $ac_eof + 1`
14023 cat >>$CONFIG_STATUS <<_ACEOF
14024 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14028 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14029 s/^/s,@/; s/!/@,|#_!!_#|/
14032 s/'"$ac_delim"'$/,g/; t
14034 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14035 ' >>$CONFIG_STATUS <conf$
$subs.
sed
14036 rm -f conf$
$subs.
sed
14037 cat >>$CONFIG_STATUS <<_ACEOF
14044 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14045 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14046 # trailing colons and then remove the whole line if VPATH becomes empty
14047 # (actually we leave an empty line to preserve line numbers).
14048 if test "x$srcdir" = x.
; then
14049 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14050 s/:*\$(srcdir):*/:/
14051 s/:*\${srcdir}:*/:/
14053 s/^\([^=]*=[ ]*\):*/\1/
14059 cat >>$CONFIG_STATUS <<\_ACEOF
14060 fi # test -n "$CONFIG_FILES"
14063 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
14066 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14068 case $ac_mode$ac_tag in
14070 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14071 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14072 { (exit 1); exit 1; }; };;
14073 :[FH
]-) ac_tag
=-:-;;
14074 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14091 -) ac_f
="$tmp/stdin";;
14092 *) # Look for the file first in the build tree, then in the source tree
14093 # (if the path is not absolute). The absolute path cannot be DOS-style,
14094 # because $ac_f cannot contain `:'.
14098 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14100 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14101 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14102 { (exit 1); exit 1; }; };;
14104 ac_file_inputs
="$ac_file_inputs $ac_f"
14107 # Let's still pretend it is `configure' which instantiates (i.e., don't
14108 # use $as_me), people would be surprised to read:
14109 # /* config.h. Generated by config.status. */
14110 configure_input
="Generated from "`IFS=:
14111 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14112 if test x
"$ac_file" != x-
; then
14113 configure_input
="$ac_file. $configure_input"
14114 { echo "$as_me:$LINENO: creating $ac_file" >&5
14115 echo "$as_me: creating $ac_file" >&6;}
14119 *:-:* |
*:-) cat >"$tmp/stdin";;
14124 ac_dir
=`$as_dirname -- "$ac_file" ||
14125 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14126 X"$ac_file" : 'X\(//\)[^/]' \| \
14127 X"$ac_file" : 'X\(//\)$' \| \
14128 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14134 /^X\(\/\/\)[^/].*/{
14149 -*) as_dir
=.
/$as_dir;;
14151 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14155 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14156 *) as_qdir
=$as_dir;;
14158 as_dirs
="'$as_qdir' $as_dirs"
14159 as_dir
=`$as_dirname -- "$as_dir" ||
14160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14161 X"$as_dir" : 'X\(//\)[^/]' \| \
14162 X"$as_dir" : 'X\(//\)$' \| \
14163 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14169 /^X\(\/\/\)[^/].*/{
14182 test -d "$as_dir" && break
14184 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14185 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14186 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14187 { (exit 1); exit 1; }; }; }
14191 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14193 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14194 # A ".." for each directory in $ac_dir_suffix.
14195 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14196 case $ac_top_builddir_sub in
14197 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14198 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14201 ac_abs_top_builddir
=$ac_pwd
14202 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14203 # for backward compatibility:
14204 ac_top_builddir
=$ac_top_build_prefix
14207 .
) # We are building in place.
14209 ac_top_srcdir
=$ac_top_builddir_sub
14210 ac_abs_top_srcdir
=$ac_pwd ;;
14211 [\\/]* | ?
:[\\/]* ) # Absolute name.
14212 ac_srcdir
=$srcdir$ac_dir_suffix;
14213 ac_top_srcdir
=$srcdir
14214 ac_abs_top_srcdir
=$srcdir ;;
14215 *) # Relative name.
14216 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14217 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14218 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14220 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14230 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14231 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14235 cat >>$CONFIG_STATUS <<\_ACEOF
14236 # If the template does not know about datarootdir, expand it.
14237 # FIXME: This hack should be removed a few years after 2.60.
14238 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14240 case `sed -n '/datarootdir/ {
14249 ' $ac_file_inputs` in
14250 *datarootdir
*) ac_datarootdir_seen
=yes;;
14251 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14252 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14253 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14255 cat >>$CONFIG_STATUS <<_ACEOF
14256 ac_datarootdir_hack='
14257 s&@datadir@&$datadir&g
14258 s&@docdir@&$docdir&g
14259 s&@infodir@&$infodir&g
14260 s&@localedir@&$localedir&g
14261 s&@mandir@&$mandir&g
14262 s&\\\${datarootdir}&$datarootdir&g' ;;
14266 # Neutralize VPATH when `$srcdir' = `.'.
14267 # Shell code in configure.ac might set extrasub.
14268 # FIXME: do we really want to maintain this feature?
14269 cat >>$CONFIG_STATUS <<_ACEOF
14273 cat >>$CONFIG_STATUS <<\_ACEOF
14275 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14276 s
&@configure_input@
&$configure_input&;t t
14277 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14278 s
&@srcdir@
&$ac_srcdir&;t t
14279 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14280 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14281 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14282 s
&@builddir@
&$ac_builddir&;t t
14283 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14284 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14285 s
&@INSTALL@
&$ac_INSTALL&;t t
14286 $ac_datarootdir_hack
14287 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
14289 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14290 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14291 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14292 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14293 which seems to be undefined. Please make sure it is defined." >&5
14294 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14295 which seems to be undefined. Please make sure it is defined." >&2;}
14299 -) cat "$tmp/out"; rm -f "$tmp/out";;
14300 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14309 # Transform confdefs.h into a sed script `conftest.defines', that
14310 # substitutes the proper values into config.h.in to produce config.h.
14311 rm -f conftest.defines conftest.
tail
14312 # First, append a space to every undef/define line, to ease matching.
14313 echo 's/$/ /' >conftest.defines
14314 # Then, protect against being on the right side of a sed subst, or in
14315 # an unquoted here document, in config.status. If some macros were
14316 # called several times there might be several #defines for the same
14317 # symbol, which is useless. But do not sort them, since the last
14318 # AC_DEFINE must be honored.
14319 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
14320 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14321 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14322 # PARAMS is the parameter list in the macro definition--in most cases, it's
14323 # just an empty string.
14324 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14325 ac_dB
='\\)[ (].*,\\1define\\2'
14333 s/^[ ]*#[ ]*define[ ][ ]*//
14338 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14339 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14340 ' >>conftest.defines
14342 # Remove the space that was appended to ease matching.
14343 # Then replace #undef with comments. This is necessary, for
14344 # example, in the case of _POSIX_SOURCE, which is predefined and required
14345 # on some systems where configure will not decide to define it.
14346 # (The regexp can be short, since the line contains either #define or #undef.)
14348 s,^[ #]*u.*,/* & */,' >>conftest.defines
14350 # Break up conftest.defines:
14351 ac_max_sed_lines
=50
14353 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14354 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14355 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14357 ac_in
='$ac_file_inputs'
14358 ac_out
='"$tmp/out1"'
14359 ac_nxt
='"$tmp/out2"'
14363 # Write a here document:
14364 cat >>$CONFIG_STATUS <<_ACEOF
14365 # First, check the format of the line:
14366 cat >"\$tmp/defines.sed" <<\\CEOF
14367 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14368 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14372 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
14374 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14375 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
14376 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14377 grep . conftest.
tail >/dev
/null ||
break
14378 rm -f conftest.defines
14379 mv conftest.
tail conftest.defines
14381 rm -f conftest.defines conftest.
tail
14383 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14384 cat >>$CONFIG_STATUS <<\_ACEOF
14385 if test x
"$ac_file" != x-
; then
14386 echo "/* $configure_input */" >"$tmp/config.h"
14387 cat "$ac_result" >>"$tmp/config.h"
14388 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14389 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14390 echo "$as_me: $ac_file is unchanged" >&6;}
14393 mv "$tmp/config.h" $ac_file
14396 echo "/* $configure_input */"
14400 # Compute $ac_file's index in $config_headers.
14402 for _am_header
in $config_headers :; do
14403 case $_am_header in
14404 $ac_file |
$ac_file:* )
14407 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14410 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
14411 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14412 X$ac_file : 'X\(//\)[^/]' \| \
14413 X$ac_file : 'X\(//\)$' \| \
14414 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
14416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14420 /^X\(\/\/\)[^/].*/{
14432 s/.*/./; q'`/stamp-h
$_am_stamp_count
14435 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14436 echo "$as_me: executing $ac_file commands" >&6;}
14441 case $ac_file$ac_mode in
14442 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14443 # Strip MF so we end up with the name of the file.
14444 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14445 # Check whether this is an Automake generated Makefile or not.
14446 # We used to match only the files named `Makefile.in', but
14447 # some people rename them; so instead we look at the file content.
14448 # Grep'ing the first line is not enough: some people post-process
14449 # each Makefile.in and add a new line on top of each file to say so.
14450 # So let's grep whole file.
14451 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14452 dirpart
=`$as_dirname -- "$mf" ||
14453 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14454 X"$mf" : 'X\(//\)[^/]' \| \
14455 X"$mf" : 'X\(//\)$' \| \
14456 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14462 /^X\(\/\/\)[^/].*/{
14478 # Extract the definition of DEPDIR, am__include, and am__quote
14479 # from the Makefile without running `make'.
14480 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14481 test -z "$DEPDIR" && continue
14482 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14483 test -z "am__include" && continue
14484 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14485 # When using ansi2knr, U may be empty or an underscore; expand it
14486 U
=`sed -n 's/^U = //p' < "$mf"`
14487 # Find all dependency output files, they are included files with
14488 # $(DEPDIR) in their names. We invoke sed twice because it is the
14489 # simplest approach to changing $(DEPDIR) to its actual value in the
14491 for file in `sed -n "
14492 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14493 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14494 # Make sure the directory exists.
14495 test -f "$dirpart/$file" && continue
14496 fdir
=`$as_dirname -- "$file" ||
14497 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14498 X"$file" : 'X\(//\)[^/]' \| \
14499 X"$file" : 'X\(//\)$' \| \
14500 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14506 /^X\(\/\/\)[^/].*/{
14519 { as_dir
=$dirpart/$fdir
14521 -*) as_dir
=.
/$as_dir;;
14523 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14527 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14528 *) as_qdir
=$as_dir;;
14530 as_dirs
="'$as_qdir' $as_dirs"
14531 as_dir
=`$as_dirname -- "$as_dir" ||
14532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14533 X"$as_dir" : 'X\(//\)[^/]' \| \
14534 X"$as_dir" : 'X\(//\)$' \| \
14535 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14541 /^X\(\/\/\)[^/].*/{
14554 test -d "$as_dir" && break
14556 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14557 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14558 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14559 { (exit 1); exit 1; }; }; }
14560 # echo "creating $dirpart/$file"
14561 echo '# dummy' > "$dirpart/$file"
14567 # See if we are running on zsh, and set the options which allow our
14568 # commands through without removal of \ escapes.
14569 if test -n "${ZSH_VERSION+set}" ; then
14570 setopt NO_GLOB_SUBST
14573 cfgfile
="${ofile}T"
14574 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14577 cat <<_LT_EOF >> "$cfgfile"
14580 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14581 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14582 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14583 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14585 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14586 # 2006, 2007, 2008 Free Software Foundation, Inc.
14587 # Written by Gordon Matzigkeit, 1996
14589 # This file is part of GNU Libtool.
14591 # GNU Libtool is free software; you can redistribute it and/or
14592 # modify it under the terms of the GNU General Public License as
14593 # published by the Free Software Foundation; either version 2 of
14594 # the License, or (at your option) any later version.
14596 # As a special exception to the GNU General Public License,
14597 # if you distribute this file as part of a program or library that
14598 # is built using GNU Libtool, you may include this file under the
14599 # same distribution terms that you use for the rest of that program.
14601 # GNU Libtool is distributed in the hope that it will be useful,
14602 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14603 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14604 # GNU General Public License for more details.
14606 # You should have received a copy of the GNU General Public License
14607 # along with GNU Libtool; see the file COPYING. If not, a copy
14608 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14609 # obtained by writing to the Free Software Foundation, Inc.,
14610 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14613 # The names of the tagged configurations supported by this script.
14616 # ### BEGIN LIBTOOL CONFIG
14618 # Whether or not to build static libraries.
14619 build_old_libs=$enable_static
14621 # Which release of libtool.m4 was used?
14622 macro_version=$macro_version
14623 macro_revision=$macro_revision
14625 # Whether or not to build shared libraries.
14626 build_libtool_libs=$enable_shared
14628 # What type of objects to build.
14631 # Whether or not to optimize for fast installation.
14632 fast_install=$enable_fast_install
14635 host_alias=$host_alias
14639 # The build system.
14640 build_alias=$build_alias
14644 # A sed program that does not truncate output.
14647 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14648 Xsed="\$SED -e 1s/^X//"
14650 # A grep program that handles long lines.
14656 # A literal string matcher.
14659 # A BSD- or MS-compatible name lister.
14662 # Whether we need soft or hard links.
14665 # What is the maximum length of a command?
14666 max_cmd_len=$max_cmd_len
14668 # Object file suffix (normally "o").
14671 # Executable file suffix (normally "").
14674 # whether the shell understands "unset".
14677 # turn spaces into newlines.
14680 # turn newlines into spaces.
14683 # How to create reloadable object files.
14684 reload_flag=$lt_reload_flag
14685 reload_cmds=$lt_reload_cmds
14687 # Method to check whether dependent libraries are shared objects.
14688 deplibs_check_method=$lt_deplibs_check_method
14690 # Command to use when deplibs_check_method == "file_magic".
14691 file_magic_cmd=$lt_file_magic_cmd
14695 AR_FLAGS=$lt_AR_FLAGS
14697 # A symbol stripping program.
14700 # Commands used to install an old-style archive.
14702 old_postinstall_cmds=$lt_old_postinstall_cmds
14703 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14708 # LTCC compiler flags.
14709 LTCFLAGS=$lt_CFLAGS
14711 # Take the output of nm and produce a listing of raw symbols and C names.
14712 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14714 # Transform the output of nm in a proper C declaration.
14715 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14717 # Transform the output of nm in a C name address pair.
14718 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14720 # Transform the output of nm in a C name address pair when lib prefix is needed.
14721 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14723 # The name of the directory that contains temporary libtool files.
14726 # Shell to use when invoking shell scripts.
14729 # An echo program that does not interpret backslashes.
14732 # Used to examine libraries when file_magic_cmd begins with "file".
14733 MAGIC_CMD=$MAGIC_CMD
14735 # Must we lock files when doing compilation?
14736 need_locks=$lt_need_locks
14738 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14739 DSYMUTIL=$lt_DSYMUTIL
14741 # Tool to change global to local symbols on Mac OS X.
14744 # Tool to manipulate fat objects and archives on Mac OS X.
14747 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14750 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14751 OTOOL64=$lt_OTOOL64
14753 # Old archive suffix (normally "a").
14756 # Shared library suffix (normally ".so").
14757 shrext_cmds=$lt_shrext_cmds
14759 # The commands to extract the exported symbol list from a shared archive.
14760 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14762 # Variables whose values should be saved in libtool wrapper scripts and
14763 # restored at link time.
14764 variables_saved_for_relink=$lt_variables_saved_for_relink
14766 # Do we need the "lib" prefix for modules?
14767 need_lib_prefix=$need_lib_prefix
14769 # Do we need a version for libraries?
14770 need_version=$need_version
14772 # Library versioning type.
14773 version_type=$version_type
14775 # Shared library runtime path variable.
14776 runpath_var=$runpath_var
14778 # Shared library path variable.
14779 shlibpath_var=$shlibpath_var
14781 # Is shlibpath searched before the hard-coded library search path?
14782 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14784 # Format of library name prefix.
14785 libname_spec=$lt_libname_spec
14787 # List of archive names. First name is the real one, the rest are links.
14788 # The last name is the one that the linker finds with -lNAME
14789 library_names_spec=$lt_library_names_spec
14791 # The coded name of the library, if different from the real name.
14792 soname_spec=$lt_soname_spec
14794 # Command to use after installation of a shared archive.
14795 postinstall_cmds=$lt_postinstall_cmds
14797 # Command to use after uninstallation of a shared archive.
14798 postuninstall_cmds=$lt_postuninstall_cmds
14800 # Commands used to finish a libtool library installation in a directory.
14801 finish_cmds=$lt_finish_cmds
14803 # As "finish_cmds", except a single script fragment to be evaled but
14805 finish_eval=$lt_finish_eval
14807 # Whether we should hardcode library paths into libraries.
14808 hardcode_into_libs=$hardcode_into_libs
14810 # Compile-time system search path for libraries.
14811 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14813 # Run-time system search path for libraries.
14814 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14816 # Whether dlopen is supported.
14817 dlopen_support=$enable_dlopen
14819 # Whether dlopen of programs is supported.
14820 dlopen_self=$enable_dlopen_self
14822 # Whether dlopen of statically linked programs is supported.
14823 dlopen_self_static=$enable_dlopen_self_static
14825 # Commands to strip libraries.
14826 old_striplib=$lt_old_striplib
14827 striplib=$lt_striplib
14830 # The linker used to build libraries.
14833 # Commands used to build an old-style archive.
14834 old_archive_cmds=$lt_old_archive_cmds
14836 # A language specific compiler.
14839 # Is the compiler the GNU compiler?
14842 # Compiler flag to turn off builtin functions.
14843 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14845 # How to pass a linker flag through the compiler.
14846 wl=$lt_lt_prog_compiler_wl
14848 # Additional compiler flags for building library objects.
14849 pic_flag=$lt_lt_prog_compiler_pic
14851 # Compiler flag to prevent dynamic linking.
14852 link_static_flag=$lt_lt_prog_compiler_static
14854 # Does compiler simultaneously support -c and -o options?
14855 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14857 # Whether or not to add -lc for building shared libraries.
14858 build_libtool_need_lc=$archive_cmds_need_lc
14860 # Whether or not to disallow shared libs when runtime libs are static.
14861 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14863 # Compiler flag to allow reflexive dlopens.
14864 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14866 # Compiler flag to generate shared objects directly from archives.
14867 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14869 # Whether the compiler copes with passing no objects directly.
14870 compiler_needs_object=$lt_compiler_needs_object
14872 # Create an old-style archive from a shared archive.
14873 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14875 # Create a temporary old-style archive to link instead of a shared archive.
14876 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14878 # Commands used to build a shared archive.
14879 archive_cmds=$lt_archive_cmds
14880 archive_expsym_cmds=$lt_archive_expsym_cmds
14882 # Commands used to build a loadable module if different from building
14883 # a shared archive.
14884 module_cmds=$lt_module_cmds
14885 module_expsym_cmds=$lt_module_expsym_cmds
14887 # Whether we are building with GNU ld or not.
14888 with_gnu_ld=$lt_with_gnu_ld
14890 # Flag that allows shared libraries with undefined symbols to be built.
14891 allow_undefined_flag=$lt_allow_undefined_flag
14893 # Flag that enforces no undefined symbols.
14894 no_undefined_flag=$lt_no_undefined_flag
14896 # Flag to hardcode \$libdir into a binary during linking.
14897 # This must work even if \$libdir does not exist
14898 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14900 # If ld is used when linking, flag to hardcode \$libdir into a binary
14901 # during linking. This must work even if \$libdir does not exist.
14902 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14904 # Whether we need a single "-rpath" flag with a separated argument.
14905 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14907 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14908 # DIR into the resulting binary.
14909 hardcode_direct=$hardcode_direct
14911 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14912 # DIR into the resulting binary and the resulting library dependency is
14913 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14914 # library is relocated.
14915 hardcode_direct_absolute=$hardcode_direct_absolute
14917 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14918 # into the resulting binary.
14919 hardcode_minus_L=$hardcode_minus_L
14921 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14922 # into the resulting binary.
14923 hardcode_shlibpath_var=$hardcode_shlibpath_var
14925 # Set to "yes" if building a shared library automatically hardcodes DIR
14926 # into the library and all subsequent libraries and executables linked
14928 hardcode_automatic=$hardcode_automatic
14930 # Set to yes if linker adds runtime paths of dependent libraries
14931 # to runtime path list.
14932 inherit_rpath=$inherit_rpath
14934 # Whether libtool must link a program against all its dependency libraries.
14935 link_all_deplibs=$link_all_deplibs
14937 # Fix the shell variable \$srcfile for the compiler.
14938 fix_srcfile_path=$lt_fix_srcfile_path
14940 # Set to "yes" if exported symbols are required.
14941 always_export_symbols=$always_export_symbols
14943 # The commands to list exported symbols.
14944 export_symbols_cmds=$lt_export_symbols_cmds
14946 # Symbols that should not be listed in the preloaded symbols.
14947 exclude_expsyms=$lt_exclude_expsyms
14949 # Symbols that must always be exported.
14950 include_expsyms=$lt_include_expsyms
14952 # Commands necessary for linking programs (against libraries) with templates.
14953 prelink_cmds=$lt_prelink_cmds
14955 # Specify filename containing input files.
14956 file_list_spec=$lt_file_list_spec
14958 # How to hardcode a shared library path into an executable.
14959 hardcode_action=$hardcode_action
14961 # ### END LIBTOOL CONFIG
14967 cat <<\_LT_EOF
>> "$cfgfile"
14968 # AIX sometimes has problems with the GCC collect2 program. For some
14969 # reason, if we set the COLLECT_NAMES environment variable, the problems
14970 # vanish in a puff of smoke.
14971 if test "X${COLLECT_NAMES+set}" != Xset
; then
14973 export COLLECT_NAMES
14980 ltmain
="$ac_aux_dir/ltmain.sh"
14983 # We use sed instead of cat because bash on DJGPP gets confused if
14984 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14985 # text mode, it properly converts lines to CR/LF. This bash problem
14986 # is reportedly fixed, but why not run on old versions too?
14987 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14988 ||
(rm -f "$cfgfile"; exit 1)
14992 cat << \_LT_EOF
>> "$cfgfile"
14994 # func_dirname file append nondir_replacement
14995 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14996 # otherwise set result to NONDIR_REPLACEMENT.
15000 */*) func_dirname_result
="${1%/*}${2}" ;;
15001 * ) func_dirname_result
="${3}" ;;
15005 # func_basename file
15008 func_basename_result
="${1##*/}"
15011 # func_dirname_and_basename file append nondir_replacement
15012 # perform func_basename and func_dirname in a single function
15014 # dirname: Compute the dirname of FILE. If nonempty,
15015 # add APPEND to the result, otherwise set result
15016 # to NONDIR_REPLACEMENT.
15017 # value returned in "$func_dirname_result"
15018 # basename: Compute filename of FILE.
15019 # value retuned in "$func_basename_result"
15020 # Implementation must be kept synchronized with func_dirname
15021 # and func_basename. For efficiency, we do not delegate to
15022 # those functions but instead duplicate the functionality here.
15023 func_dirname_and_basename
()
15026 */*) func_dirname_result
="${1%/*}${2}" ;;
15027 * ) func_dirname_result
="${3}" ;;
15029 func_basename_result
="${1##*/}"
15032 # func_stripname prefix suffix name
15033 # strip PREFIX and SUFFIX off of NAME.
15034 # PREFIX and SUFFIX must not contain globbing or regex special
15035 # characters, hashes, percent signs, but SUFFIX may contain a leading
15036 # dot (in which case that matches only a dot).
15039 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15040 # positional parameters, so assign one to ordinary parameter first.
15041 func_stripname_result
=${3}
15042 func_stripname_result
=${func_stripname_result#"${1}"}
15043 func_stripname_result
=${func_stripname_result%"${2}"}
15049 func_opt_split_opt
=${1%%=*}
15050 func_opt_split_arg
=${1#*=}
15057 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15058 *) func_lo2o_result
=${1} ;;
15062 # func_xform libobj-or-source
15065 func_xform_result
=${1%.*}.lo
15068 # func_arith arithmetic-term...
15071 func_arith_result
=$
(( $
* ))
15075 # STRING may not start with a hyphen.
15078 func_len_result
=${#1}
15083 *) # Bourne compatible functions.
15084 cat << \_LT_EOF
>> "$cfgfile"
15086 # func_dirname file append nondir_replacement
15087 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15088 # otherwise set result to NONDIR_REPLACEMENT.
15091 # Extract subdirectory from the argument.
15092 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15093 if test "X$func_dirname_result" = "X${1}"; then
15094 func_dirname_result
="${3}"
15096 func_dirname_result
="$func_dirname_result${2}"
15100 # func_basename file
15103 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15107 # func_stripname prefix suffix name
15108 # strip PREFIX and SUFFIX off of NAME.
15109 # PREFIX and SUFFIX must not contain globbing or regex special
15110 # characters, hashes, percent signs, but SUFFIX may contain a leading
15111 # dot (in which case that matches only a dot).
15112 # func_strip_suffix prefix name
15116 .
*) func_stripname_result
=`$ECHO "X${3}" \
15117 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15118 *) func_stripname_result
=`$ECHO "X${3}" \
15119 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15124 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15125 my_sed_long_arg
='1s/^-[^=]*=//'
15130 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15131 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15137 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15140 # func_xform libobj-or-source
15143 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15146 # func_arith arithmetic-term...
15149 func_arith_result
=`expr "$@"`
15153 # STRING may not start with a hyphen.
15156 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15162 case $lt_shell_append in
15164 cat << \_LT_EOF
>> "$cfgfile"
15166 # func_append var value
15167 # Append VALUE to the end of shell variable VAR.
15175 cat << \_LT_EOF
>> "$cfgfile"
15177 # func_append var value
15178 # Append VALUE to the end of shell variable VAR.
15189 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15190 ||
(rm -f "$cfgfile"; exit 1)
15192 mv -f "$cfgfile" "$ofile" ||
15193 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15202 { (exit 0); exit 0; }
15204 chmod +x
$CONFIG_STATUS
15205 ac_clean_files
=$ac_clean_files_save
15208 # configure is writing to config.log, and then calls config.status.
15209 # config.status does its own redirection, appending to config.log.
15210 # Unfortunately, on DOS this fails, as config.log is still kept open
15211 # by configure, so config.status won't be able to write to it; its
15212 # output is simply discarded. So we exec the FD to /dev/null,
15213 # effectively closing config.log, so it can be properly (re)opened and
15214 # appended to by config.status. When coming back to configure, we
15215 # need to make the FD available again.
15216 if test "$no_create" != yes; then
15218 ac_config_status_args
=
15219 test "$silent" = yes &&
15220 ac_config_status_args
="$ac_config_status_args --quiet"
15222 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15224 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15225 # would make configure fail if this is the last instruction.
15226 $ac_cs_success ||
{ (exit 1); exit 1; }