2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
638 for dir
in $PATH /usr
/ucb
; do
640 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho
; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL
=/bin
/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
679 SHELL
="$CONFIG_SHELL"
681 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string
=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev
/null
6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix
=/usr
/local
735 ac_config_libobj_dir
=.
741 SHELL
=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
750 ac_unique_file
="source/cloog.c"
751 # Factoring default headers for most tests.
752 ac_includes_default
="\
754 #ifdef HAVE_SYS_TYPES_H
755 # include <sys/types.h>
757 #ifdef HAVE_SYS_STAT_H
758 # include <sys/stat.h>
764 # ifdef HAVE_STDLIB_H
769 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774 #ifdef HAVE_STRINGS_H
775 # include <strings.h>
777 #ifdef HAVE_INTTYPES_H
778 # include <inttypes.h>
787 ac_subst_vars
='LTLIBOBJS
848 CLOOG_VERSION_REVISION
858 INSTALL_STRIP_PROGRAM
899 program_transform_name
911 enable_option_checking
912 enable_dependency_tracking
921 with_polylib_exec_prefix
922 with_polylib_builddir
929 ac_precious_vars
='build_alias
940 # Initialize some variables set by options.
942 ac_init_version
=false
943 ac_unrecognized_opts
=
945 # The variables have the same names as the options, with
946 # dashes changed to underlines.
954 program_transform_name
=s
,x
,x
,
962 # Installation directory options.
963 # These are left unexpanded so users can "make install exec_prefix=/foo"
964 # and all the variables that are supposed to be based on exec_prefix
965 # by default will actually change.
966 # Use braces instead of parens because sh, perl, etc. also accept them.
967 # (The list follows the same order as the GNU Coding Standards.)
968 bindir
='${exec_prefix}/bin'
969 sbindir
='${exec_prefix}/sbin'
970 libexecdir
='${exec_prefix}/libexec'
971 datarootdir
='${prefix}/share'
972 datadir
='${datarootdir}'
973 sysconfdir
='${prefix}/etc'
974 sharedstatedir
='${prefix}/com'
975 localstatedir
='${prefix}/var'
976 includedir
='${prefix}/include'
977 oldincludedir
='/usr/include'
978 docdir
='${datarootdir}/doc/${PACKAGE}'
979 infodir
='${datarootdir}/info'
984 libdir
='${exec_prefix}/lib'
985 localedir
='${datarootdir}/locale'
986 mandir
='${datarootdir}/man'
992 # If the previous option needs an argument, assign it.
993 if test -n "$ac_prev"; then
994 eval $ac_prev=\
$ac_option
1000 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1004 # Accept the important Cygnus configure options, so we can diagnose typos.
1006 case $ac_dashdash$ac_option in
1010 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1012 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1013 bindir
=$ac_optarg ;;
1015 -build |
--build |
--buil |
--bui |
--bu)
1016 ac_prev
=build_alias
;;
1017 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1018 build_alias
=$ac_optarg ;;
1020 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1021 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1022 ac_prev
=cache_file
;;
1023 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1024 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1025 cache_file
=$ac_optarg ;;
1027 --config-cache |
-C)
1028 cache_file
=config.cache
;;
1030 -datadir |
--datadir |
--datadi |
--datad)
1032 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1033 datadir
=$ac_optarg ;;
1035 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1036 |
--dataroo |
--dataro |
--datar)
1037 ac_prev
=datarootdir
;;
1038 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1039 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1040 datarootdir
=$ac_optarg ;;
1042 -disable-* |
--disable-*)
1043 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1046 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1047 { (exit 1); exit 1; }; }
1048 ac_useropt_orig
=$ac_useropt
1049 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1052 "enable_
$ac_useropt"
1054 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1055 ac_unrecognized_sep
=', ';;
1057 eval enable_
$ac_useropt=no
;;
1059 -docdir |
--docdir |
--docdi |
--doc |
--do)
1061 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1062 docdir
=$ac_optarg ;;
1064 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1066 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1067 dvidir
=$ac_optarg ;;
1069 -enable-* |
--enable-*)
1070 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1073 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1074 { (exit 1); exit 1; }; }
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "enable_
$ac_useropt"
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval enable_
$ac_useropt=\
$ac_optarg ;;
1086 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1087 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1088 |
--exec |
--exe |
--ex)
1089 ac_prev
=exec_prefix
;;
1090 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1091 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1092 |
--exec=* |
--exe=* |
--ex=*)
1093 exec_prefix
=$ac_optarg ;;
1095 -gas |
--gas |
--ga |
--g)
1096 # Obsolete; use --with-gas.
1099 -help |
--help |
--hel |
--he |
-h)
1100 ac_init_help
=long
;;
1101 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1102 ac_init_help
=recursive
;;
1103 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1104 ac_init_help
=short
;;
1106 -host |
--host |
--hos |
--ho)
1107 ac_prev
=host_alias
;;
1108 -host=* |
--host=* |
--hos=* |
--ho=*)
1109 host_alias
=$ac_optarg ;;
1111 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1113 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1115 htmldir
=$ac_optarg ;;
1117 -includedir |
--includedir |
--includedi |
--included |
--include \
1118 |
--includ |
--inclu |
--incl |
--inc)
1119 ac_prev
=includedir
;;
1120 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1121 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1122 includedir
=$ac_optarg ;;
1124 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1126 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1127 infodir
=$ac_optarg ;;
1129 -libdir |
--libdir |
--libdi |
--libd)
1131 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1132 libdir
=$ac_optarg ;;
1134 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1135 |
--libexe |
--libex |
--libe)
1136 ac_prev
=libexecdir
;;
1137 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1138 |
--libexe=* |
--libex=* |
--libe=*)
1139 libexecdir
=$ac_optarg ;;
1141 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1142 ac_prev
=localedir
;;
1143 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1144 localedir
=$ac_optarg ;;
1146 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1147 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1148 ac_prev
=localstatedir
;;
1149 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1150 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1151 localstatedir
=$ac_optarg ;;
1153 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1155 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1156 mandir
=$ac_optarg ;;
1158 -nfp |
--nfp |
--nf)
1159 # Obsolete; use --without-fp.
1162 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1163 |
--no-cr |
--no-c |
-n)
1166 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1167 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1170 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1171 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1172 |
--oldin |
--oldi |
--old |
--ol |
--o)
1173 ac_prev
=oldincludedir
;;
1174 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1175 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1176 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1177 oldincludedir
=$ac_optarg ;;
1179 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1181 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1182 prefix
=$ac_optarg ;;
1184 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1185 |
--program-pre |
--program-pr |
--program-p)
1186 ac_prev
=program_prefix
;;
1187 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1188 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1189 program_prefix
=$ac_optarg ;;
1191 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1192 |
--program-suf |
--program-su |
--program-s)
1193 ac_prev
=program_suffix
;;
1194 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1195 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1196 program_suffix
=$ac_optarg ;;
1198 -program-transform-name |
--program-transform-name \
1199 |
--program-transform-nam |
--program-transform-na \
1200 |
--program-transform-n |
--program-transform- \
1201 |
--program-transform |
--program-transfor \
1202 |
--program-transfo |
--program-transf \
1203 |
--program-trans |
--program-tran \
1204 |
--progr-tra |
--program-tr |
--program-t)
1205 ac_prev
=program_transform_name
;;
1206 -program-transform-name=* |
--program-transform-name=* \
1207 |
--program-transform-nam=* |
--program-transform-na=* \
1208 |
--program-transform-n=* |
--program-transform-=* \
1209 |
--program-transform=* |
--program-transfor=* \
1210 |
--program-transfo=* |
--program-transf=* \
1211 |
--program-trans=* |
--program-tran=* \
1212 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1213 program_transform_name
=$ac_optarg ;;
1215 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1217 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1218 pdfdir
=$ac_optarg ;;
1220 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1222 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1226 |
-silent |
--silent |
--silen |
--sile |
--sil)
1229 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1231 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1233 sbindir
=$ac_optarg ;;
1235 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1236 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1237 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1239 ac_prev
=sharedstatedir
;;
1240 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1241 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1242 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1244 sharedstatedir
=$ac_optarg ;;
1246 -site |
--site |
--sit)
1248 -site=* |
--site=* |
--sit=*)
1251 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1253 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1254 srcdir
=$ac_optarg ;;
1256 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1257 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1258 ac_prev
=sysconfdir
;;
1259 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1260 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1261 sysconfdir
=$ac_optarg ;;
1263 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1264 ac_prev
=target_alias
;;
1265 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1266 target_alias
=$ac_optarg ;;
1268 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1271 -version |
--version |
--versio |
--versi |
--vers |
-V)
1272 ac_init_version
=: ;;
1275 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1278 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1279 { (exit 1); exit 1; }; }
1280 ac_useropt_orig
=$ac_useropt
1281 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282 case $ac_user_opts in
1286 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1287 ac_unrecognized_sep
=', ';;
1289 eval with_
$ac_useropt=\
$ac_optarg ;;
1291 -without-* |
--without-*)
1292 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1295 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1296 { (exit 1); exit 1; }; }
1297 ac_useropt_orig
=$ac_useropt
1298 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1303 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1304 ac_unrecognized_sep
=', ';;
1306 eval with_
$ac_useropt=no
;;
1309 # Obsolete; use --with-x.
1312 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1313 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1314 ac_prev
=x_includes
;;
1315 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1316 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1317 x_includes
=$ac_optarg ;;
1319 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1320 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1321 ac_prev
=x_libraries
;;
1322 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1323 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1324 x_libraries
=$ac_optarg ;;
1326 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1327 Try \`$0 --help' for more information." >&2
1328 { (exit 1); exit 1; }; }
1332 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1333 # Reject names that are not valid shell variable names.
1334 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1335 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1336 { (exit 1); exit 1; }; }
1337 eval $ac_envvar=\
$ac_optarg
1338 export $ac_envvar ;;
1341 # FIXME: should be removed in autoconf 3.0.
1342 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1343 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1344 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1345 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1351 if test -n "$ac_prev"; then
1352 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1353 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1354 { (exit 1); exit 1; }; }
1357 if test -n "$ac_unrecognized_opts"; then
1358 case $enable_option_checking in
1360 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1361 { (exit 1); exit 1; }; } ;;
1362 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1366 # Check all directory arguments for consistency.
1367 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1368 datadir sysconfdir sharedstatedir localstatedir includedir \
1369 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1370 libdir localedir mandir
1372 eval ac_val
=\$
$ac_var
1373 # Remove trailing slashes.
1376 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1377 eval $ac_var=\
$ac_val;;
1379 # Be sure to have absolute directory names.
1381 [\\/$
]* | ?
:[\\/]* ) continue;;
1382 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1384 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1385 { (exit 1); exit 1; }; }
1388 # There might be people who depend on the old broken behavior: `$host'
1389 # used to hold the argument of --host etc.
1390 # FIXME: To remove some day.
1393 target
=$target_alias
1395 # FIXME: To remove some day.
1396 if test "x$host_alias" != x
; then
1397 if test "x$build_alias" = x
; then
1398 cross_compiling
=maybe
1399 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1400 If a cross compiler is detected then cross compile mode will be used." >&2
1401 elif test "x$build_alias" != "x$host_alias"; then
1407 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1409 test "$silent" = yes && exec 6>/dev
/null
1412 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1413 ac_ls_di
=`ls -di .` &&
1414 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1415 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1416 { (exit 1); exit 1; }; }
1417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1418 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1419 { (exit 1); exit 1; }; }
1422 # Find the source files, if location was not specified.
1423 if test -z "$srcdir"; then
1424 ac_srcdir_defaulted
=yes
1425 # Try the directory containing this script, then the parent directory.
1426 ac_confdir
=`$as_dirname -- "$as_myself" ||
1427 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1428 X"$as_myself" : 'X\(//\)[^/]' \| \
1429 X"$as_myself" : 'X\(//\)$' \| \
1430 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1431 $as_echo X"$as_myself" |
1432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1450 if test ! -r "$srcdir/$ac_unique_file"; then
1454 ac_srcdir_defaulted
=no
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1457 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1458 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1459 { (exit 1); exit 1; }; }
1461 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1463 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1464 { (exit 1); exit 1; }; }
1466 # When building in place, set srcdir=.
1467 if test "$ac_abs_confdir" = "$ac_pwd"; then
1470 # Remove unnecessary trailing slashes from srcdir.
1471 # Double slashes in file names in object file debugging info
1472 # mess up M-x gdb in Emacs.
1474 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1476 for ac_var
in $ac_precious_vars; do
1477 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1478 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1479 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1480 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1484 # Report the --help message.
1486 if test "$ac_init_help" = "long"; then
1487 # Omit some internal or obsolete options to make the list less imposing.
1488 # This message is too long to be a string in the A/UX 3.1 sh.
1490 \`configure' configures this package to adapt to many kinds of systems.
1492 Usage: $0 [OPTION]... [VAR=VALUE]...
1494 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1495 VAR=VALUE. See below for descriptions of some of the useful variables.
1497 Defaults for the options are specified in brackets.
1500 -h, --help display this help and exit
1501 --help=short display options specific to this package
1502 --help=recursive display the short help of all the included packages
1503 -V, --version display version information and exit
1504 -q, --quiet, --silent do not print \`checking...' messages
1505 --cache-file=FILE cache test results in FILE [disabled]
1506 -C, --config-cache alias for \`--cache-file=config.cache'
1507 -n, --no-create do not create output files
1508 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1510 Installation directories:
1511 --prefix=PREFIX install architecture-independent files in PREFIX
1512 [$ac_default_prefix]
1513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1516 By default, \`make install' will install all the files in
1517 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1518 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1519 for instance \`--prefix=\$HOME'.
1521 For better control, use the options below.
1523 Fine tuning of the installation directories:
1524 --bindir=DIR user executables [EPREFIX/bin]
1525 --sbindir=DIR system admin executables [EPREFIX/sbin]
1526 --libexecdir=DIR program executables [EPREFIX/libexec]
1527 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1528 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1529 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1530 --libdir=DIR object code libraries [EPREFIX/lib]
1531 --includedir=DIR C header files [PREFIX/include]
1532 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1533 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1534 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1535 --infodir=DIR info documentation [DATAROOTDIR/info]
1536 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1537 --mandir=DIR man documentation [DATAROOTDIR/man]
1538 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1539 --htmldir=DIR html documentation [DOCDIR]
1540 --dvidir=DIR dvi documentation [DOCDIR]
1541 --pdfdir=DIR pdf documentation [DOCDIR]
1542 --psdir=DIR ps documentation [DOCDIR]
1548 --program-prefix=PREFIX prepend PREFIX to installed program names
1549 --program-suffix=SUFFIX append SUFFIX to installed program names
1550 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1553 --build=BUILD configure
for building on BUILD
[guessed
]
1554 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1558 if test -n "$ac_init_help"; then
1563 --disable-option-checking ignore unrecognized
--enable/--with options
1564 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1565 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1566 --disable-dependency-tracking speeds up one-time build
1567 --enable-dependency-tracking do not reject slow dependency extractors
1568 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1569 --enable-static[=PKGS
] build static libraries
[default
=yes]
1570 --enable-fast-install[=PKGS
]
1571 optimize
for fast installation
[default
=yes]
1572 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1575 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1576 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1577 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1579 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1580 --with-ppl=DIR Prefix of Parma Polyhedral Library installation
1581 --with-polylib-prefix=DIR
1582 Prefix of PolyLib installation
1583 --with-polylib-exec-prefix=DIR
1584 Exec prefix of PolyLib installation
1585 --with-polylib-builddir=DIR
1586 Location of PolyLib builddir
1587 --with-bits=32|
64|gmp PolyLib library
type to use
1588 --with-gmp=DIR DIR where the gmp package is installed
1589 --with-gmp-include=DIR DIR where gmp.h is installed
1590 --with-gmp-library=DIR DIR where the gmp library is installed
1591 --with-host-libstdcxx=L Use linker arguments L to link with libstdc
++
1592 when linking with PPL
1594 Some influential environment variables
:
1595 CC C compiler
command
1596 CFLAGS C compiler flags
1597 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1598 nonstandard directory
<lib dir
>
1599 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1600 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1601 you have headers
in a nonstandard directory
<include dir
>
1604 Use these variables to override the choices made by
`configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1611 if test "$ac_init_help" = "recursive"; then
1612 # If there are subdirs, report their specific --help.
1613 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1614 test -d "$ac_dir" ||
1615 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1623 # A ".." for each directory in $ac_dir_suffix.
1624 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1625 case $ac_top_builddir_sub in
1626 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1630 ac_abs_top_builddir=$ac_pwd
1631 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1632 # for backward compatibility:
1633 ac_top_builddir=$ac_top_build_prefix
1636 .) # We are building in place.
1638 ac_top_srcdir=$ac_top_builddir_sub
1639 ac_abs_top_srcdir=$ac_pwd ;;
1640 [\\/]* | ?:[\\/]* ) # Absolute name.
1641 ac_srcdir=$srcdir$ac_dir_suffix;
1642 ac_top_srcdir=$srcdir
1643 ac_abs_top_srcdir=$srcdir ;;
1645 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646 ac_top_srcdir=$ac_top_build_prefix$srcdir
1647 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651 cd "$ac_dir" || { ac_status=$?; continue; }
1652 # Check for guested configure.
1653 if test -f "$ac_srcdir/configure.gnu"; then
1655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656 elif test -f "$ac_srcdir/configure"; then
1658 $SHELL "$ac_srcdir/configure" --help=recursive
1660 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 cd "$ac_pwd" || { ac_status=$?; break; }
1666 test -n "$ac_init_help" && exit $ac_status
1667 if $ac_init_version; then
1670 generated by GNU Autoconf 2.63
1672 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1673 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1679 cat >config.log <<_ACEOF
1680 This file contains any messages produced by compilers while
1681 running configure, to aid debugging if configure makes a mistake.
1683 It was created by $as_me, which was
1684 generated by GNU Autoconf 2.63. Invocation command line was
1696 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1697 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1698 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1699 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1700 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1702 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1703 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1705 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1706 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1707 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1708 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1709 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1710 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1711 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 test -z "$as_dir" && as_dir=.
1720 $as_echo "PATH: $as_dir"
1736 # Keep a trace of the command line.
1737 # Strip out --no-create and --no-recursion so they do not pile up.
1738 # Strip out --silent because we don't want to record it for future runs.
1739 # Also quote any args containing shell meta-characters.
1740 # Make two passes to allow for proper duplicate-argument suppression.
1744 ac_must_keep_next=false
1750 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1752 | -silent | --silent | --silen | --sile | --sil)
1755 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1758 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1760 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1761 if test $ac_must_keep_next = true; then
1762 ac_must_keep_next=false # Got value, back to normal.
1765 *=* | --config-cache | -C | -disable-* | --disable-* \
1766 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1767 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1768 | -with-* | --with-* | -without-* | --without-* | --x)
1769 case "$ac_configure_args0 " in
1770 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1773 -* ) ac_must_keep_next=true ;;
1776 ac_configure_args="$ac_configure_args '$ac_arg'"
1781 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1782 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1784 # When interrupted or exit'd, cleanup temporary files, and complete
1785 # config.log. We remove comments because anyway the quotes in there
1786 # would cause problems or look ugly.
1787 # WARNING: Use '\'' to represent an apostrophe within the trap.
1788 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1789 trap 'exit_status=$?
1790 # Save into config.log some information that might help in debugging.
1795 ## ---------------- ##
1796 ## Cache variables. ##
1797 ## ---------------- ##
1800 # The following way of writing the cache mishandles newlines in values,
1802 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1803 eval ac_val=\$$ac_var
1807 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1808 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1811 _ | IFS | as_nl) ;; #(
1812 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1813 *) $as_unset $ac_var ;;
1818 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1819 *${as_nl}ac_space=\ *)
1821 "s/'\''/'\''\\\\'\'''\''/g;
1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1833 ## ----------------- ##
1834 ## Output variables. ##
1835 ## ----------------- ##
1838 for ac_var in $ac_subst_vars
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 $as_echo "$ac_var='\''$ac_val'\''"
1848 if test -n "$ac_subst_files"; then
1850 ## ------------------- ##
1851 ## File substitutions. ##
1852 ## ------------------- ##
1855 for ac_var in $ac_subst_files
1857 eval ac_val=\$$ac_var
1859 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 $as_echo "$ac_var='\''$ac_val'\''"
1866 if test -s confdefs.h; then
1876 test "$ac_signal" != 0 &&
1877 $as_echo "$as_me: caught signal $ac_signal"
1878 $as_echo "$as_me: exit $exit_status"
1880 rm -f core *.core core.conftest.* &&
1881 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1884 for ac_signal in 1 2 13 15; do
1885 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1890 rm -f -r conftest* confdefs.h
1892 # Predefined preprocessor variables.
1894 cat >>confdefs.h <<_ACEOF
1895 #define PACKAGE_NAME "$PACKAGE_NAME"
1899 cat >>confdefs.h <<_ACEOF
1900 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904 cat >>confdefs.h <<_ACEOF
1905 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h <<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1914 cat >>confdefs.h <<_ACEOF
1915 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1919 # Let the site file select an alternate cache file if it wants to.
1920 # Prefer an explicitly selected file to automatically selected ones.
1923 if test -n "$CONFIG_SITE"; then
1924 ac_site_file1=$CONFIG_SITE
1925 elif test "x$prefix" != xNONE; then
1926 ac_site_file1=$prefix/share/config.site
1927 ac_site_file2=$prefix/etc/config.site
1929 ac_site_file1=$ac_default_prefix/share/config.site
1930 ac_site_file2=$ac_default_prefix/etc/config.site
1932 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1934 test "x$ac_site_file" = xNONE && continue
1935 if test -r "$ac_site_file"; then
1936 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1937 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1938 sed 's/^/| /' "$ac_site_file" >&5
1943 if test -r "$cache_file"; then
1944 # Some versions of bash will fail to source /dev/null (special
1945 # files actually), so we avoid doing that.
1946 if test -f "$cache_file"; then
1947 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1948 $as_echo "$as_me: loading cache $cache_file" >&6;}
1950 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1951 *) . "./$cache_file";;
1955 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1956 $as_echo "$as_me: creating cache $cache_file" >&6;}
1960 # Check that the precious variables saved in the cache have kept the same
1962 ac_cache_corrupted=false
1963 for ac_var in $ac_precious_vars; do
1964 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1965 eval ac_new_set=\$ac_env_${ac_var}_set
1966 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1967 eval ac_new_val=\$ac_env_${ac_var}_value
1968 case $ac_old_set,$ac_new_set in
1970 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1971 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1972 ac_cache_corrupted=: ;;
1974 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1975 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1976 ac_cache_corrupted=: ;;
1979 if test "x$ac_old_val" != "x$ac_new_val"; then
1980 # differences in whitespace do not lead to failure.
1981 ac_old_val_w=`echo x
$ac_old_val`
1982 ac_new_val_w=`echo x
$ac_new_val`
1983 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1984 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1985 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1986 ac_cache_corrupted=:
1988 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1989 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1990 eval $ac_var=\$ac_old_val
1992 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1993 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1994 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1995 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1998 # Pass precious variables to config.status.
1999 if test "$ac_new_set" = set; then
2001 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2002 *) ac_arg=$ac_var=$ac_new_val ;;
2004 case " $ac_configure_args " in
2005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2006 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2010 if $ac_cache_corrupted; then
2011 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2013 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2014 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2015 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2016 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2017 { (exit 1); exit 1; }; }
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 for ac_dir in autoconf "$srcdir"/autoconf; do
2045 if test -f "$ac_dir/install-sh
"; then
2047 ac_install_sh="$ac_aux_dir/install-sh
-c"
2049 elif test -f "$ac_dir/install.sh
"; then
2051 ac_install_sh="$ac_aux_dir/install.sh
-c"
2053 elif test -f "$ac_dir/shtool
"; then
2055 ac_install_sh="$ac_aux_dir/shtool
install -c"
2059 if test -z "$ac_aux_dir"; then
2060 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2061 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2062 { (exit 1); exit 1; }; }
2065 # These three variables are undocumented and unsupported,
2066 # and are intended to be withdrawn in a future Autoconf release.
2067 # They can cause serious problems if a builder's source tree is in a directory
2068 # whose full name contains unusual characters.
2069 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2070 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2071 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2075 am__api_version="1.9"
2076 # Find a good install program. We prefer a C program (faster),
2077 # so one script is as good as another. But avoid the broken or
2078 # incompatible versions:
2079 # SysV /etc/install, /usr/sbin/install
2080 # SunOS /usr/etc/install
2081 # IRIX /sbin/install
2083 # AmigaOS /C/install, which installs bootblocks on floppy discs
2084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2087 # OS/2's system install, which has a completely different semantic
2088 # ./install, which can be erroneously created by make from ./install.sh.
2089 # Reject install programs that cannot install multiple files.
2090 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2091 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2092 if test -z "$INSTALL"; then
2093 if test "${ac_cv_path_install+set}" = set; then
2094 $as_echo_n "(cached
) " >&6
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 # Account for people who put trailing slashes in PATH elements.
2103 ./ | .// | /cC/* | \
2104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2105 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2108 # OSF1 and SCO ODT 3.0 have their own names for install.
2109 # Don't use installbsd from OSF since it installs stuff as root
2111 for ac_prog in ginstall scoinst install; do
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2114 if test $ac_prog = install &&
2115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2116 # AIX install. It has an incompatible calling convention.
2118 elif test $ac_prog = install &&
2119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2120 # program-specific install script used by HP pwplus--don't use.
2123 rm -rf conftest.one conftest.two conftest.dir
2124 echo one > conftest.one
2125 echo two > conftest.two
2127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2128 test -s conftest.one && test -s conftest.two &&
2129 test -s conftest.dir/conftest.one &&
2130 test -s conftest.dir/conftest.two
2132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2145 rm -rf conftest.one conftest.two conftest.dir
2148 if test "${ac_cv_path_install+set}" = set; then
2149 INSTALL=$ac_cv_path_install
2151 # As a last resort, use the slow shell script. Don't cache a
2152 # value for INSTALL within a source directory, because that will
2153 # break other packages using the cache if that directory is
2154 # removed, or if the value is a relative name.
2155 INSTALL=$ac_install_sh
2158 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2159 $as_echo "$INSTALL" >&6; }
2161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2162 # It thinks the first close brace ends the variable substitution.
2163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2169 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2170 $as_echo_n "checking whether build environment is sane...
" >&6; }
2173 echo timestamp > conftest.file
2174 # Do `set' in a subshell so we don't clobber the current shell's
2175 # arguments. Must try -L first in case configure is actually a
2176 # symlink; some systems play weird games with the mod time of symlinks
2177 # (eg FreeBSD returns the mod time of the symlink's containing
2180 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2181 if test "$
*" = "X
"; then
2183 set X `ls -t $srcdir/configure conftest.file`
2186 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2187 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2189 # If neither matched, then we have a broken ls. This can happen
2190 # if, for instance, CONFIG_SHELL is bash and it inherits a
2191 # broken ls alias from the environment. This has actually
2192 # happened. Such a system could not be considered "sane
".
2193 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2194 alias in your environment
" >&5
2195 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2196 alias in your environment
" >&2;}
2197 { (exit 1); exit 1; }; }
2200 test "$2" = conftest.file
2206 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2207 Check your system
clock" >&5
2208 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2209 Check your system
clock" >&2;}
2210 { (exit 1); exit 1; }; }
2212 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2213 $as_echo "yes" >&6; }
2214 test "$program_prefix" != NONE &&
2215 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2216 # Use a double $ so make ignores it.
2217 test "$program_suffix" != NONE &&
2218 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2219 # Double any \ or $.
2220 # By default was `s,x,x', remove it if useless.
2221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2224 # expand $ac_aux_dir to an absolute path
2225 am_aux_dir=`cd $ac_aux_dir && pwd`
2227 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2228 # Use eval to expand $SHELL
2229 if eval "$MISSING --run true
"; then
2230 am_missing_run="$MISSING --run "
2233 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2234 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2237 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2238 # We used to keeping the `.' as first argument
, in order to
2239 # allow $(mkdir_p) to be used without argument. As in
2240 # $(mkdir_p) $(somedir)
2241 # where $(somedir) is conditionally defined. However this is wrong
2243 # 1. if the package is installed by a user who cannot write `.'
2244 # make install will fail,
2245 # 2. the above comment should most certainly read
2246 # $(mkdir_p) $(DESTDIR)$(somedir)
2247 # so it does not work when $(somedir) is undefined and
2248 # $(DESTDIR) is not.
2249 # To support the latter case, we have to write
2250 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2251 # so the `.' trick is pointless.
2252 mkdir_p
='mkdir -p --'
2254 # On NextStep and OpenStep, the `mkdir' command does not
2255 # recognize any option. It will interpret all options as
2256 # directories to create, and then abort because `.' already
2258 for d
in .
/-p .
/--version;
2260 test -d $d && rmdir $d
2262 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2263 if test -f "$ac_aux_dir/mkinstalldirs"; then
2264 mkdir_p
='$(mkinstalldirs)'
2266 mkdir_p
='$(install_sh) -d'
2270 for ac_prog
in gawk mawk nawk
awk
2272 # Extract the first word of "$ac_prog", so it can be a program name with args.
2273 set dummy
$ac_prog; ac_word
=$2
2274 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 $as_echo_n "checking for $ac_word... " >&6; }
2276 if test "${ac_cv_prog_AWK+set}" = set; then
2277 $as_echo_n "(cached) " >&6
2279 if test -n "$AWK"; then
2280 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir
=.
2287 for ac_exec_ext
in '' $ac_executable_extensions; do
2288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2289 ac_cv_prog_AWK
="$ac_prog"
2290 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 if test -n "$AWK"; then
2301 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2302 $as_echo "$AWK" >&6; }
2304 { $as_echo "$as_me:$LINENO: result: no" >&5
2305 $as_echo "no" >&6; }
2309 test -n "$AWK" && break
2312 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2313 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2315 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2316 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2317 $as_echo_n "(cached) " >&6
2319 cat >conftest.
make <<\_ACEOF
2322 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2325 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2327 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2329 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2333 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2334 { $as_echo "$as_me:$LINENO: result: yes" >&5
2335 $as_echo "yes" >&6; }
2338 { $as_echo "$as_me:$LINENO: result: no" >&5
2339 $as_echo "no" >&6; }
2340 SET_MAKE
="MAKE=${MAKE-make}"
2343 rm -rf .tst
2>/dev
/null
2344 mkdir .tst
2>/dev
/null
2345 if test -d .tst
; then
2350 rmdir .tst
2>/dev
/null
2352 # test to see if srcdir already configured
2353 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2354 test -f $srcdir/config.status
; then
2355 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2356 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2357 { (exit 1); exit 1; }; }
2360 # test whether we have cygpath
2361 if test -z "$CYGPATH_W"; then
2362 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2363 CYGPATH_W
='cygpath -w'
2370 # Define the identity of the package.
2375 cat >>confdefs.h
<<_ACEOF
2376 #define PACKAGE "$PACKAGE"
2380 cat >>confdefs.h
<<_ACEOF
2381 #define VERSION "$VERSION"
2384 # Some tools Automake needs.
2386 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2389 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2392 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2395 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2398 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2400 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2402 # Installed binaries are usually stripped using `strip' when the user
2403 # run `make install-strip'. However `strip' might not be the right
2404 # tool to use in cross-compilation environments, therefore Automake
2405 # will honor the `STRIP' environment variable to overrule this program.
2406 if test "$cross_compiling" != no
; then
2407 if test -n "$ac_tool_prefix"; then
2408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2409 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2410 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 $as_echo_n "checking for $ac_word... " >&6; }
2412 if test "${ac_cv_prog_STRIP+set}" = set; then
2413 $as_echo_n "(cached) " >&6
2415 if test -n "$STRIP"; then
2416 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir
=.
2423 for ac_exec_ext
in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2426 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2435 STRIP
=$ac_cv_prog_STRIP
2436 if test -n "$STRIP"; then
2437 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2438 $as_echo "$STRIP" >&6; }
2440 { $as_echo "$as_me:$LINENO: result: no" >&5
2441 $as_echo "no" >&6; }
2446 if test -z "$ac_cv_prog_STRIP"; then
2448 # Extract the first word of "strip", so it can be a program name with args.
2449 set dummy strip
; ac_word
=$2
2450 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2453 $as_echo_n "(cached) " >&6
2455 if test -n "$ac_ct_STRIP"; then
2456 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 for ac_exec_ext
in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_ac_ct_STRIP
="strip"
2466 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2476 if test -n "$ac_ct_STRIP"; then
2477 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2478 $as_echo "$ac_ct_STRIP" >&6; }
2480 { $as_echo "$as_me:$LINENO: result: no" >&5
2481 $as_echo "no" >&6; }
2484 if test "x$ac_ct_STRIP" = x
; then
2487 case $cross_compiling:$ac_tool_warned in
2489 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2491 ac_tool_warned
=yes ;;
2496 STRIP
="$ac_cv_prog_STRIP"
2500 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2502 # We need awk for the "check" target. The system "awk" is bad on
2504 # Always define AMTAR for backward compatibility.
2506 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2508 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2514 ac_config_headers
="$ac_config_headers include/cloog/cloog-config.h"
2521 # Version number machinery.
2522 if test -n "`expr $VERSION : '\([0-9]*\)\.[0-9]*\.[0-9]*'`"
2524 CLOOG_VERSION_MAJOR
=`expr $VERSION : '\([0-9]*\)\.[0-9]*\.[0-9]*'`
2525 CLOOG_VERSION_MINOR
=`expr $VERSION : '[0-9]*\.\([0-9]*\)\.[0-9]*'`
2526 CLOOG_VERSION_REVISION
=`expr $VERSION : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
2527 CLOOG_VERSION_BETA
=`expr $VERSION : '[0-9]*\.[0-9]*\.[0-9]*pre\([0-9]*\)'`
2529 CLOOG_VERSION_MAJOR
=`expr $VERSION : '\([0-9]*\)\.[0-9]*'`
2530 CLOOG_VERSION_MINOR
=`expr $VERSION : '[0-9]*\.\([0-9]*\)'`
2531 CLOOG_VERSION_REVISION
=0
2532 CLOOG_VERSION_BETA
=`expr $VERSION : '[0-9]*\.[0-9]*pre\([0-9]*\)'`
2534 if test -z "$CLOOG_VERSION_BETA"
2536 CLOOG_VERSION_BETA
=0
2546 ac_cpp
='$CPP $CPPFLAGS'
2547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2550 if test -n "$ac_tool_prefix"; then
2551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2552 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2553 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 $as_echo_n "checking for $ac_word... " >&6; }
2555 if test "${ac_cv_prog_CC+set}" = set; then
2556 $as_echo_n "(cached) " >&6
2558 if test -n "$CC"; then
2559 ac_cv_prog_CC
="$CC" # Let the user override the test.
2561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2565 test -z "$as_dir" && as_dir
=.
2566 for ac_exec_ext
in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2569 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 if test -n "$CC"; then
2580 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2581 $as_echo "$CC" >&6; }
2583 { $as_echo "$as_me:$LINENO: result: no" >&5
2584 $as_echo "no" >&6; }
2589 if test -z "$ac_cv_prog_CC"; then
2591 # Extract the first word of "gcc", so it can be a program name with args.
2592 set dummy gcc
; ac_word
=$2
2593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 $as_echo_n "checking for $ac_word... " >&6; }
2595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2596 $as_echo_n "(cached) " >&6
2598 if test -n "$ac_ct_CC"; then
2599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2605 test -z "$as_dir" && as_dir
=.
2606 for ac_exec_ext
in '' $ac_executable_extensions; do
2607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608 ac_cv_prog_ac_ct_CC
="gcc"
2609 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2619 if test -n "$ac_ct_CC"; then
2620 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2621 $as_echo "$ac_ct_CC" >&6; }
2623 { $as_echo "$as_me:$LINENO: result: no" >&5
2624 $as_echo "no" >&6; }
2627 if test "x$ac_ct_CC" = x
; then
2630 case $cross_compiling:$ac_tool_warned in
2632 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2634 ac_tool_warned
=yes ;;
2642 if test -z "$CC"; then
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2645 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2646 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if test "${ac_cv_prog_CC+set}" = set; then
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$CC"; then
2652 ac_cv_prog_CC
="$CC" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2662 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$CC"; then
2673 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2674 $as_echo "$CC" >&6; }
2676 { $as_echo "$as_me:$LINENO: result: no" >&5
2677 $as_echo "no" >&6; }
2683 if test -z "$CC"; then
2684 # Extract the first word of "cc", so it can be a program name with args.
2685 set dummy cc
; ac_word
=$2
2686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if test "${ac_cv_prog_CC+set}" = set; then
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$CC"; then
2692 ac_cv_prog_CC
="$CC" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2703 ac_prog_rejected
=yes
2707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test $ac_prog_rejected = yes; then
2715 # We found a bogon in the path, so make sure we never use it.
2716 set dummy
$ac_cv_prog_CC
2718 if test $# != 0; then
2719 # We chose a different compiler from the bogus one.
2720 # However, it has the same basename, so the bogon will be chosen
2721 # first if we set CC to just the basename; use the full file name.
2723 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2729 if test -n "$CC"; then
2730 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2731 $as_echo "$CC" >&6; }
2733 { $as_echo "$as_me:$LINENO: result: no" >&5
2734 $as_echo "no" >&6; }
2739 if test -z "$CC"; then
2740 if test -n "$ac_tool_prefix"; then
2741 for ac_prog
in cl.exe
2743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2744 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2745 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2746 $as_echo_n "checking for $ac_word... " >&6; }
2747 if test "${ac_cv_prog_CC+set}" = set; then
2748 $as_echo_n "(cached) " >&6
2750 if test -n "$CC"; then
2751 ac_cv_prog_CC
="$CC" # Let the user override the test.
2753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2757 test -z "$as_dir" && as_dir
=.
2758 for ac_exec_ext
in '' $ac_executable_extensions; do
2759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2760 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2761 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2771 if test -n "$CC"; then
2772 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2773 $as_echo "$CC" >&6; }
2775 { $as_echo "$as_me:$LINENO: result: no" >&5
2776 $as_echo "no" >&6; }
2780 test -n "$CC" && break
2783 if test -z "$CC"; then
2785 for ac_prog
in cl.exe
2787 # Extract the first word of "$ac_prog", so it can be a program name with args.
2788 set dummy
$ac_prog; ac_word
=$2
2789 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2790 $as_echo_n "checking for $ac_word... " >&6; }
2791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2792 $as_echo_n "(cached) " >&6
2794 if test -n "$ac_ct_CC"; then
2795 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir
=.
2802 for ac_exec_ext
in '' $ac_executable_extensions; do
2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804 ac_cv_prog_ac_ct_CC
="$ac_prog"
2805 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2815 if test -n "$ac_ct_CC"; then
2816 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2817 $as_echo "$ac_ct_CC" >&6; }
2819 { $as_echo "$as_me:$LINENO: result: no" >&5
2820 $as_echo "no" >&6; }
2824 test -n "$ac_ct_CC" && break
2827 if test "x$ac_ct_CC" = x
; then
2830 case $cross_compiling:$ac_tool_warned in
2832 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2834 ac_tool_warned
=yes ;;
2843 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2845 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2846 See \`config.log' for more details." >&5
2847 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2848 See \`config.log' for more details." >&2;}
2849 { (exit 1); exit 1; }; }; }
2851 # Provide some information about the compiler.
2852 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2855 { (ac_try
="$ac_compiler --version >&5"
2857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2861 $as_echo "$ac_try_echo") >&5
2862 (eval "$ac_compiler --version >&5") 2>&5
2864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2866 { (ac_try="$ac_compiler -v >&5"
2868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2869 *) ac_try_echo
=$ac_try;;
2871 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2872 $as_echo "$ac_try_echo") >&5
2873 (eval "$ac_compiler -v >&5") 2>&5
2875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }
2877 { (ac_try
="$ac_compiler -V >&5"
2879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2880 *) ac_try_echo=$ac_try;;
2882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2883 $as_echo "$ac_try_echo") >&5
2884 (eval "$ac_compiler -V >&5") 2>&5
2886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }
2889 cat >conftest.$ac_ext <<_ACEOF
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2904 ac_clean_files_save=$ac_clean_files
2905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2906 # Try to create an executable without -o first, disregard a.out.
2907 # It will help us diagnose broken compilers, and finding out an intuition
2909 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2910 $as_echo_n "checking for C compiler default output file name... " >&6; }
2911 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2913 # The possible output files:
2914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2917 for ac_file in $ac_files
2920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2926 if { (ac_try="$ac_link_default"
2928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2929 *) ac_try_echo
=$ac_try;;
2931 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2932 $as_echo "$ac_try_echo") >&5
2933 (eval "$ac_link_default") 2>&5
2935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; then
2937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2940 # so that the user can short-circuit this test for compilers unknown to
2942 for ac_file
in $ac_files ''
2944 test -f "$ac_file" ||
continue
2946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2949 # We found the default executable, but exeext='' is most
2953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2955 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2957 # We set ac_cv_exeext here because the later test for it is not
2958 # safe: cross compilers may not add the suffix if given an `-o'
2959 # argument, so we may need to know it at that point already.
2960 # Even if this section looks crufty: it has the advantage of
2967 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2973 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2974 $as_echo "$ac_file" >&6; }
2975 if test -z "$ac_file"; then
2976 $as_echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.
$ac_ext >&5
2979 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2981 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2982 See \`config.log' for more details." >&5
2983 $as_echo "$as_me: error: C compiler cannot create executables
2984 See \`config.log' for more details." >&2;}
2985 { (exit 77); exit 77; }; }; }
2988 ac_exeext
=$ac_cv_exeext
2990 # Check that the compiler produces executables we can run. If not, either
2991 # the compiler is broken, or we cross compile.
2992 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2993 $as_echo_n "checking whether the C compiler works... " >&6; }
2994 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2995 # If not cross compiling, check that we can run a simple program.
2996 if test "$cross_compiling" != yes; then
2997 if { ac_try
='./$ac_file'
2998 { (case "(($ac_try" in
2999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3000 *) ac_try_echo=$ac_try;;
3002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3003 $as_echo "$ac_try_echo") >&5
3004 (eval "$ac_try") 2>&5
3006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; }; then
3010 if test "$cross_compiling" = maybe; then
3013 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3016 If you meant to cross compile
, use \
`--host'.
3017 See \`config.log
' for more details." >&5
3018 $as_echo "$as_me: error: cannot run C compiled programs.
3019 If you meant to cross compile, use \`--host'.
3020 See \
`config.log' for more details." >&2;}
3021 { (exit 1); exit 1; }; }; }
3025 { $as_echo "$as_me:$LINENO: result: yes" >&5
3026 $as_echo "yes" >&6; }
3028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3029 ac_clean_files=$ac_clean_files_save
3030 # Check that the compiler produces executables we can run. If not, either
3031 # the compiler is broken, or we cross compile.
3032 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3033 $as_echo_n "checking whether we are cross compiling... " >&6; }
3034 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3035 $as_echo "$cross_compiling" >&6; }
3037 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3038 $as_echo_n "checking for suffix of executables... " >&6; }
3039 if { (ac_try="$ac_link"
3041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3042 *) ac_try_echo
=$ac_try;;
3044 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3045 $as_echo "$ac_try_echo") >&5
3046 (eval "$ac_link") 2>&5
3048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; then
3050 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3051 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3052 # work properly (i.e., refer to `conftest.exe'), while it won't with
3054 for ac_file
in conftest.exe conftest conftest.
*; do
3055 test -f "$ac_file" ||
continue
3057 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3058 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3064 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3067 See \`config.log' for more details." >&5
3068 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3069 See \`config.log' for more details." >&2;}
3070 { (exit 1); exit 1; }; }; }
3073 rm -f conftest
$ac_cv_exeext
3074 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3075 $as_echo "$ac_cv_exeext" >&6; }
3077 rm -f conftest.
$ac_ext
3078 EXEEXT
=$ac_cv_exeext
3080 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3081 $as_echo_n "checking for suffix of object files... " >&6; }
3082 if test "${ac_cv_objext+set}" = set; then
3083 $as_echo_n "(cached) " >&6
3085 cat >conftest.
$ac_ext <<_ACEOF
3088 cat confdefs.h
>>conftest.
$ac_ext
3089 cat >>conftest.
$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3100 rm -f conftest.o conftest.obj
3101 if { (ac_try
="$ac_compile"
3103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3107 $as_echo "$ac_try_echo") >&5
3108 (eval "$ac_compile") 2>&5
3110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }; then
3112 for ac_file in conftest.o conftest.obj conftest.*; do
3113 test -f "$ac_file" || continue;
3115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3116 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3121 $as_echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3124 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3127 See \
`config.log' for more details." >&5
3128 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3129 See \`config.log
' for more details." >&2;}
3130 { (exit 1); exit 1; }; }; }
3133 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3135 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3136 $as_echo "$ac_cv_objext" >&6; }
3137 OBJEXT=$ac_cv_objext
3139 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3140 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3141 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3142 $as_echo_n "(cached) " >&6
3144 cat >conftest.$ac_ext <<_ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3162 rm -f conftest.$ac_objext
3163 if { (ac_try="$ac_compile"
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3169 $as_echo "$ac_try_echo") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^
*+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3182 $as_echo "$as_me: failed program was:" >&5
3183 sed 's
/^
/|
/' conftest.$ac_ext >&5
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3192 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3193 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3194 if test $ac_compiler_gnu = yes; then
3199 ac_test_CFLAGS=${CFLAGS+set}
3200 ac_save_CFLAGS=$CFLAGS
3201 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3202 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3203 if test "${ac_cv_prog_cc_g+set}" = set; then
3204 $as_echo_n "(cached) " >&6
3206 ac_save_c_werror_flag=$ac_c_werror_flag
3207 ac_c_werror_flag=yes
3210 cat >conftest.$ac_ext <<_ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3232 $as_echo "$ac_try_echo") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3235 grep -v '^
*+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_c_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3245 $as_echo "$as_me: failed program was:" >&5
3246 sed 's
/^
/|
/' conftest.$ac_ext >&5
3249 cat >conftest.$ac_ext <<_ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3271 $as_echo "$ac_try_echo") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^
*+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_c_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3284 $as_echo "$as_me: failed program was:" >&5
3285 sed 's
/^
/|
/' conftest.$ac_ext >&5
3287 ac_c_werror_flag=$ac_save_c_werror_flag
3289 cat >conftest.$ac_ext <<_ACEOF
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3304 rm -f conftest.$ac_objext
3305 if { (ac_try="$ac_compile"
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3311 $as_echo "$ac_try_echo") >&5
3312 (eval "$ac_compile") 2>conftest.er1
3314 grep -v '^
*+' conftest.er1 >conftest.err
3316 cat conftest.err >&5
3317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } && {
3319 test -z "$ac_c_werror_flag" ||
3320 test ! -s conftest.err
3321 } && test -s conftest.$ac_objext; then
3324 $as_echo "$as_me: failed program was:" >&5
3325 sed 's
/^
/|
/' conftest.$ac_ext >&5
3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 ac_c_werror_flag=$ac_save_c_werror_flag
3339 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3340 $as_echo "$ac_cv_prog_cc_g" >&6; }
3341 if test "$ac_test_CFLAGS" = set; then
3342 CFLAGS=$ac_save_CFLAGS
3343 elif test $ac_cv_prog_cc_g = yes; then
3344 if test "$GCC" = yes; then
3350 if test "$GCC" = yes; then
3356 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3357 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3358 if test "${ac_cv_prog_cc_c89+set}" = set; then
3359 $as_echo_n "(cached) " >&6
3361 ac_cv_prog_cc_c89=no
3363 cat >conftest.$ac_ext <<_ACEOF
3366 cat confdefs.h >>conftest.$ac_ext
3367 cat >>conftest.$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3371 #include <sys/types.h>
3372 #include <sys/stat.h>
3373 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3374 struct buf
{ int x
; };
3375 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3376 static char
*e
(p
, i
)
3382 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3387 s
= g
(p
, va_arg
(v
,int
));
3392 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3393 function prototypes and stuff
, but not
'\xHH' hex character constants.
3394 These don
't provoke an error unfortunately, instead are silently treated
3395 as 'x
'. The following induces an error, until -std is added to get
3396 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3397 array size at least. It's necessary to
write '\x00'==0 to get something
3398 that
's true only with -std. */
3399 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3401 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3402 inside strings and character constants. */
3404 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3406 int test (int i, double x);
3407 struct s1 {int (*f) (int a);};
3408 struct s2 {int (*f) (double a);};
3409 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3415 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3420 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3421 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3423 CC="$ac_save_CC $ac_arg"
3424 rm -f conftest.$ac_objext
3425 if { (ac_try="$ac_compile"
3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428 *) ac_try_echo=$ac_try;;
3430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3431 $as_echo "$ac_try_echo") >&5
3432 (eval "$ac_compile") 2>conftest.er1
3434 grep -v '^
*+' conftest.er1 >conftest.err
3436 cat conftest.err >&5
3437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); } && {
3439 test -z "$ac_c_werror_flag" ||
3440 test ! -s conftest.err
3441 } && test -s conftest.$ac_objext; then
3442 ac_cv_prog_cc_c89=$ac_arg
3444 $as_echo "$as_me: failed program was:" >&5
3445 sed 's
/^
/|
/' conftest.$ac_ext >&5
3450 rm -f core conftest.err conftest.$ac_objext
3451 test "x$ac_cv_prog_cc_c89" != "xno" && break
3453 rm -f conftest.$ac_ext
3458 case "x$ac_cv_prog_cc_c89" in
3460 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3461 $as_echo "none needed" >&6; } ;;
3463 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3464 $as_echo "unsupported" >&6; } ;;
3466 CC="$CC $ac_cv_prog_cc_c89"
3467 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3468 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3473 ac_cpp='$CPP $CPPFLAGS'
3474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3475 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3477 DEPDIR="${am__leading_dot}deps"
3479 ac_config_commands="$ac_config_commands depfiles"
3482 am_make=${MAKE-make}
3483 cat > confinc << 'END
'
3488 # If we don't
find an include directive
, just comment out the code.
3489 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3490 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3494 # First try GNU make style include.
3495 echo "include confinc" > confmf
3496 # We grep out `Entering directory' and `Leaving directory'
3497 # messages which can occur if `w' ends up in MAKEFLAGS.
3498 # In particular we don't look at `^make:' because GNU make might
3499 # be invoked under some other name (usually "gmake"), in which
3500 # case it prints its new name instead of `make'.
3501 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3506 # Now try BSD make style include.
3507 if test "$am__include" = "#"; then
3508 echo '.include "confinc"' > confmf
3509 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3510 am__include
=.include
3517 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3518 $as_echo "$_am_result" >&6; }
3519 rm -f confinc confmf
3521 # Check whether --enable-dependency-tracking was given.
3522 if test "${enable_dependency_tracking+set}" = set; then
3523 enableval
=$enable_dependency_tracking;
3526 if test "x$enable_dependency_tracking" != xno
; then
3527 am_depcomp
="$ac_aux_dir/depcomp"
3532 if test "x$enable_dependency_tracking" != xno; then
3543 depcc
="$CC" am_compiler_list
=
3545 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3546 $as_echo_n "checking dependency style of $depcc... " >&6; }
3547 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3548 $as_echo_n "(cached) " >&6
3550 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3551 # We make a subdir and do the tests there. Otherwise we can end up
3552 # making bogus files that we don't know about and never remove. For
3553 # instance it was reported that on HP-UX the gcc test will end up
3554 # making a dummy file named `D' -- because `-MD' means `put the output
3557 # Copy depcomp to subdir because otherwise we won't find it if we're
3558 # using a relative directory.
3559 cp "$am_depcomp" conftest.dir
3561 # We will build objects and dependencies in a subdirectory because
3562 # it helps to detect inapplicable dependency modes. For instance
3563 # both Tru64's cc and ICC support -MD to output dependencies as a
3564 # side effect of compilation, but ICC will put the dependencies in
3565 # the current directory while Tru64 will put them in the object
3569 am_cv_CC_dependencies_compiler_type
=none
3570 if test "$am_compiler_list" = ""; then
3571 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3573 for depmode
in $am_compiler_list; do
3574 # Setup a source with many dependencies, because some compilers
3575 # like to wrap large dependency lists on column 80 (with \), and
3576 # we should not choose a depcomp mode which is confused by this.
3578 # We need to recreate these files for each test, as the compiler may
3579 # overwrite some of them when testing with obscure command lines.
3580 # This happens at least with the AIX C compiler.
3582 for i
in 1 2 3 4 5 6; do
3583 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3584 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3585 # Solaris 8's {/usr,}/bin/sh.
3586 touch sub
/conftst
$i.h
3588 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3592 # after this tag, mechanisms are not by side-effect, so they'll
3593 # only be used when explicitly requested
3594 if test "x$enable_dependency_tracking" = xyes
; then
3602 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3603 # mode. It turns out that the SunPro C++ compiler does not properly
3604 # handle `-M -o', and we need to detect this.
3605 if depmode
=$depmode \
3606 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3607 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3608 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3609 >/dev
/null
2>conftest.err
&&
3610 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3611 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3612 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3613 # icc doesn't choke on unknown options, it will just issue warnings
3614 # or remarks (even with -Werror). So we grep stderr for any message
3615 # that says an option was ignored or not supported.
3616 # When given -MP, icc 7.0 and 7.1 complain thusly:
3617 # icc: Command line warning: ignoring option '-M'; no argument required
3618 # The diagnosis changed in icc 8.0:
3619 # icc: Command line remark: option '-MP' not supported
3620 if (grep 'ignoring option' conftest.err ||
3621 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3622 am_cv_CC_dependencies_compiler_type
=$depmode
3631 am_cv_CC_dependencies_compiler_type
=none
3635 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3636 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3637 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3642 test "x$enable_dependency_tracking" != xno \
3643 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3645 am__fastdepCC_FALSE
='#'
3647 am__fastdepCC_TRUE
='#'
3648 am__fastdepCC_FALSE
=
3652 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3653 $as_echo_n "checking whether ln -s works... " >&6; }
3655 if test "$LN_S" = "ln -s"; then
3656 { $as_echo "$as_me:$LINENO: result: yes" >&5
3657 $as_echo "yes" >&6; }
3659 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3660 $as_echo "no, using $LN_S" >&6; }
3663 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3664 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3666 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3667 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3668 $as_echo_n "(cached) " >&6
3670 cat >conftest.
make <<\_ACEOF
3673 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3675 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3676 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3678 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3680 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3684 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3685 { $as_echo "$as_me:$LINENO: result: yes" >&5
3686 $as_echo "yes" >&6; }
3689 { $as_echo "$as_me:$LINENO: result: no" >&5
3690 $as_echo "no" >&6; }
3691 SET_MAKE
="MAKE=${MAKE-make}"
3694 # Extract the first word of "cd", so it can be a program name with args.
3695 set dummy
cd; ac_word
=$2
3696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if test "${ac_cv_prog_CD+set}" = set; then
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$CD"; then
3702 ac_cv_prog_CD
="$CD" # Let the user override the test.
3704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir
=.
3709 for ac_exec_ext
in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 if test -n "$CD"; then
3723 { $as_echo "$as_me:$LINENO: result: $CD" >&5
3724 $as_echo "$CD" >&6; }
3726 { $as_echo "$as_me:$LINENO: result: no" >&5
3727 $as_echo "no" >&6; }
3731 # Find a good install program. We prefer a C program (faster),
3732 # so one script is as good as another. But avoid the broken or
3733 # incompatible versions:
3734 # SysV /etc/install, /usr/sbin/install
3735 # SunOS /usr/etc/install
3736 # IRIX /sbin/install
3738 # AmigaOS /C/install, which installs bootblocks on floppy discs
3739 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3740 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3741 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3742 # OS/2's system install, which has a completely different semantic
3743 # ./install, which can be erroneously created by make from ./install.sh.
3744 # Reject install programs that cannot install multiple files.
3745 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3746 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3747 if test -z "$INSTALL"; then
3748 if test "${ac_cv_path_install+set}" = set; then
3749 $as_echo_n "(cached) " >&6
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir
=.
3756 # Account for people who put trailing slashes in PATH elements.
3758 .
/ | .
// |
/cC
/* | \
3759 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3760 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3763 # OSF1 and SCO ODT 3.0 have their own names for install.
3764 # Don't use installbsd from OSF since it installs stuff as root
3766 for ac_prog
in ginstall scoinst
install; do
3767 for ac_exec_ext
in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3769 if test $ac_prog = install &&
3770 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3771 # AIX install. It has an incompatible calling convention.
3773 elif test $ac_prog = install &&
3774 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3775 # program-specific install script used by HP pwplus--don't use.
3778 rm -rf conftest.one conftest.two conftest.dir
3779 echo one
> conftest.one
3780 echo two
> conftest.two
3782 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3783 test -s conftest.one
&& test -s conftest.two
&&
3784 test -s conftest.dir
/conftest.one
&&
3785 test -s conftest.dir
/conftest.two
3787 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3800 rm -rf conftest.one conftest.two conftest.dir
3803 if test "${ac_cv_path_install+set}" = set; then
3804 INSTALL
=$ac_cv_path_install
3806 # As a last resort, use the slow shell script. Don't cache a
3807 # value for INSTALL within a source directory, because that will
3808 # break other packages using the cache if that directory is
3809 # removed, or if the value is a relative name.
3810 INSTALL
=$ac_install_sh
3813 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3814 $as_echo "$INSTALL" >&6; }
3816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3817 # It thinks the first close brace ends the variable substitution.
3818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3822 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3826 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3827 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3832 macro_version
='2.2.6'
3833 macro_revision
='1.3012'
3847 ltmain
="$ac_aux_dir/ltmain.sh"
3849 # Make sure we can run config.sub.
3850 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3851 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3852 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3853 { (exit 1); exit 1; }; }
3855 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3856 $as_echo_n "checking build system type... " >&6; }
3857 if test "${ac_cv_build+set}" = set; then
3858 $as_echo_n "(cached) " >&6
3860 ac_build_alias
=$build_alias
3861 test "x$ac_build_alias" = x
&&
3862 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3863 test "x$ac_build_alias" = x
&&
3864 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3865 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3866 { (exit 1); exit 1; }; }
3867 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3868 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3869 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3870 { (exit 1); exit 1; }; }
3873 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3874 $as_echo "$ac_cv_build" >&6; }
3875 case $ac_cv_build in
3877 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3878 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3879 { (exit 1); exit 1; }; };;
3882 ac_save_IFS
=$IFS; IFS
='-'
3888 # Remember, the first character of IFS is used to create $*,
3889 # except with old shells:
3892 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3895 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3896 $as_echo_n "checking host system type... " >&6; }
3897 if test "${ac_cv_host+set}" = set; then
3898 $as_echo_n "(cached) " >&6
3900 if test "x$host_alias" = x
; then
3901 ac_cv_host
=$ac_cv_build
3903 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3904 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3905 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3906 { (exit 1); exit 1; }; }
3910 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3911 $as_echo "$ac_cv_host" >&6; }
3914 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3915 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3916 { (exit 1); exit 1; }; };;
3919 ac_save_IFS
=$IFS; IFS
='-'
3925 # Remember, the first character of IFS is used to create $*,
3926 # except with old shells:
3929 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3932 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3933 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3934 if test "${ac_cv_path_SED+set}" = set; then
3935 $as_echo_n "(cached) " >&6
3937 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3938 for ac_i
in 1 2 3 4 5 6 7; do
3939 ac_script
="$ac_script$as_nl$ac_script"
3941 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3942 $as_unset ac_script || ac_script
=
3943 if test -z "$SED"; then
3944 ac_path_SED_found
=false
3945 # Loop through the user's path and test for each of PROGNAME-LIST
3946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir
=.
3951 for ac_prog
in sed gsed
; do
3952 for ac_exec_ext
in '' $ac_executable_extensions; do
3953 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3954 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
3955 # Check for GNU ac_path_SED and select it if it is found.
3956 # Check for GNU $ac_path_SED
3957 case `"$ac_path_SED" --version 2>&1` in
3959 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3962 $as_echo_n 0123456789 >"conftest.in"
3965 cat "conftest.in" "conftest.in" >"conftest.tmp"
3966 mv "conftest.tmp" "conftest.in"
3967 cp "conftest.in" "conftest.nl"
3968 $as_echo '' >> "conftest.nl"
3969 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3970 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3971 ac_count
=`expr $ac_count + 1`
3972 if test $ac_count -gt ${ac_path_SED_max-0}; then
3973 # Best one so far, save it but keep looking for a better one
3974 ac_cv_path_SED
="$ac_path_SED"
3975 ac_path_SED_max
=$ac_count
3977 # 10*(2^10) chars as input seems more than enough
3978 test $ac_count -gt 10 && break
3980 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3983 $ac_path_SED_found && break 3
3988 if test -z "$ac_cv_path_SED"; then
3989 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3990 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3991 { (exit 1); exit 1; }; }
3998 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3999 $as_echo "$ac_cv_path_SED" >&6; }
4000 SED
="$ac_cv_path_SED"
4003 test -z "$SED" && SED
=sed
4004 Xsed
="$SED -e 1s/^X//"
4016 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4017 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4018 if test "${ac_cv_path_GREP+set}" = set; then
4019 $as_echo_n "(cached) " >&6
4021 if test -z "$GREP"; then
4022 ac_path_GREP_found
=false
4023 # Loop through the user's path and test for each of PROGNAME-LIST
4024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4025 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4028 test -z "$as_dir" && as_dir
=.
4029 for ac_prog
in grep ggrep
; do
4030 for ac_exec_ext
in '' $ac_executable_extensions; do
4031 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4032 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4033 # Check for GNU ac_path_GREP and select it if it is found.
4034 # Check for GNU $ac_path_GREP
4035 case `"$ac_path_GREP" --version 2>&1` in
4037 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4040 $as_echo_n 0123456789 >"conftest.in"
4043 cat "conftest.in" "conftest.in" >"conftest.tmp"
4044 mv "conftest.tmp" "conftest.in"
4045 cp "conftest.in" "conftest.nl"
4046 $as_echo 'GREP' >> "conftest.nl"
4047 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4048 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4049 ac_count
=`expr $ac_count + 1`
4050 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4051 # Best one so far, save it but keep looking for a better one
4052 ac_cv_path_GREP
="$ac_path_GREP"
4053 ac_path_GREP_max
=$ac_count
4055 # 10*(2^10) chars as input seems more than enough
4056 test $ac_count -gt 10 && break
4058 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4061 $ac_path_GREP_found && break 3
4066 if test -z "$ac_cv_path_GREP"; then
4067 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4068 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4069 { (exit 1); exit 1; }; }
4072 ac_cv_path_GREP
=$GREP
4076 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4077 $as_echo "$ac_cv_path_GREP" >&6; }
4078 GREP
="$ac_cv_path_GREP"
4081 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4082 $as_echo_n "checking for egrep... " >&6; }
4083 if test "${ac_cv_path_EGREP+set}" = set; then
4084 $as_echo_n "(cached) " >&6
4086 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4087 then ac_cv_path_EGREP
="$GREP -E"
4089 if test -z "$EGREP"; then
4090 ac_path_EGREP_found
=false
4091 # Loop through the user's path and test for each of PROGNAME-LIST
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4093 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_prog
in egrep; do
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4100 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4101 # Check for GNU ac_path_EGREP and select it if it is found.
4102 # Check for GNU $ac_path_EGREP
4103 case `"$ac_path_EGREP" --version 2>&1` in
4105 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4108 $as_echo_n 0123456789 >"conftest.in"
4111 cat "conftest.in" "conftest.in" >"conftest.tmp"
4112 mv "conftest.tmp" "conftest.in"
4113 cp "conftest.in" "conftest.nl"
4114 $as_echo 'EGREP' >> "conftest.nl"
4115 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4116 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4117 ac_count
=`expr $ac_count + 1`
4118 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4119 # Best one so far, save it but keep looking for a better one
4120 ac_cv_path_EGREP
="$ac_path_EGREP"
4121 ac_path_EGREP_max
=$ac_count
4123 # 10*(2^10) chars as input seems more than enough
4124 test $ac_count -gt 10 && break
4126 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4129 $ac_path_EGREP_found && break 3
4134 if test -z "$ac_cv_path_EGREP"; then
4135 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4136 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4137 { (exit 1); exit 1; }; }
4140 ac_cv_path_EGREP
=$EGREP
4145 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4146 $as_echo "$ac_cv_path_EGREP" >&6; }
4147 EGREP
="$ac_cv_path_EGREP"
4150 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4151 $as_echo_n "checking for fgrep... " >&6; }
4152 if test "${ac_cv_path_FGREP+set}" = set; then
4153 $as_echo_n "(cached) " >&6
4155 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4156 then ac_cv_path_FGREP
="$GREP -F"
4158 if test -z "$FGREP"; then
4159 ac_path_FGREP_found
=false
4160 # Loop through the user's path and test for each of PROGNAME-LIST
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4162 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_prog
in fgrep
; do
4167 for ac_exec_ext
in '' $ac_executable_extensions; do
4168 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4169 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4170 # Check for GNU ac_path_FGREP and select it if it is found.
4171 # Check for GNU $ac_path_FGREP
4172 case `"$ac_path_FGREP" --version 2>&1` in
4174 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4177 $as_echo_n 0123456789 >"conftest.in"
4180 cat "conftest.in" "conftest.in" >"conftest.tmp"
4181 mv "conftest.tmp" "conftest.in"
4182 cp "conftest.in" "conftest.nl"
4183 $as_echo 'FGREP' >> "conftest.nl"
4184 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4185 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4186 ac_count
=`expr $ac_count + 1`
4187 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4188 # Best one so far, save it but keep looking for a better one
4189 ac_cv_path_FGREP
="$ac_path_FGREP"
4190 ac_path_FGREP_max
=$ac_count
4192 # 10*(2^10) chars as input seems more than enough
4193 test $ac_count -gt 10 && break
4195 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4198 $ac_path_FGREP_found && break 3
4203 if test -z "$ac_cv_path_FGREP"; then
4204 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4205 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4206 { (exit 1); exit 1; }; }
4209 ac_cv_path_FGREP
=$FGREP
4214 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4215 $as_echo "$ac_cv_path_FGREP" >&6; }
4216 FGREP
="$ac_cv_path_FGREP"
4219 test -z "$GREP" && GREP
=grep
4239 # Check whether --with-gnu-ld was given.
4240 if test "${with_gnu_ld+set}" = set; then
4241 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4247 if test "$GCC" = yes; then
4248 # Check if gcc -print-prog-name=ld gives a path.
4249 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4250 $as_echo_n "checking for ld used by $CC... " >&6; }
4253 # gcc leaves a trailing carriage return which upsets mingw
4254 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4256 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4259 # Accept absolute paths.
4261 re_direlt
='/[^/][^/]*/\.\./'
4262 # Canonicalize the pathname of ld
4263 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4264 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4265 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4267 test -z "$LD" && LD
="$ac_prog"
4270 # If it fails, then pretend we aren't using GCC.
4274 # If it is relative, then search for the first ld in PATH.
4278 elif test "$with_gnu_ld" = yes; then
4279 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4280 $as_echo_n "checking for GNU ld... " >&6; }
4282 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4283 $as_echo_n "checking for non-GNU ld... " >&6; }
4285 if test "${lt_cv_path_LD+set}" = set; then
4286 $as_echo_n "(cached) " >&6
4288 if test -z "$LD"; then
4289 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4290 for ac_dir
in $PATH; do
4292 test -z "$ac_dir" && ac_dir
=.
4293 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4294 lt_cv_path_LD
="$ac_dir/$ac_prog"
4295 # Check to see if the program is GNU ld. I'd rather use --version,
4296 # but apparently some variants of GNU ld only accept -v.
4297 # Break only if it was the GNU/non-GNU ld that we prefer.
4298 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4299 *GNU
* |
*'with BFD'*)
4300 test "$with_gnu_ld" != no
&& break
4303 test "$with_gnu_ld" != yes && break
4310 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4315 if test -n "$LD"; then
4316 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4317 $as_echo "$LD" >&6; }
4319 { $as_echo "$as_me:$LINENO: result: no" >&5
4320 $as_echo "no" >&6; }
4322 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4323 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4324 { (exit 1); exit 1; }; }
4325 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4326 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4327 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4328 $as_echo_n "(cached) " >&6
4330 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4331 case `$LD -v 2>&1 </dev/null` in
4332 *GNU
* |
*'with BFD'*)
4333 lt_cv_prog_gnu_ld
=yes
4336 lt_cv_prog_gnu_ld
=no
4340 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4341 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4342 with_gnu_ld
=$lt_cv_prog_gnu_ld
4352 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4353 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4354 if test "${lt_cv_path_NM+set}" = set; then
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$NM"; then
4358 # Let the user override the test.
4361 lt_nm_to_check
="${ac_tool_prefix}nm"
4362 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4363 lt_nm_to_check
="$lt_nm_to_check nm"
4365 for lt_tmp_nm
in $lt_nm_to_check; do
4366 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4367 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4369 test -z "$ac_dir" && ac_dir
=.
4370 tmp_nm
="$ac_dir/$lt_tmp_nm"
4371 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4372 # Check to see if the nm accepts a BSD-compat flag.
4373 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4374 # nm: unknown option "B" ignored
4375 # Tru64's nm complains that /dev/null is an invalid object file
4376 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4377 */dev
/null
* |
*'Invalid file or object type'*)
4378 lt_cv_path_NM
="$tmp_nm -B"
4382 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4384 lt_cv_path_NM
="$tmp_nm -p"
4388 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4389 continue # so that we can try to find one that supports BSD flags
4398 : ${lt_cv_path_NM=no}
4401 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4402 $as_echo "$lt_cv_path_NM" >&6; }
4403 if test "$lt_cv_path_NM" != "no"; then
4406 # Didn't find any BSD compatible name lister, look for dumpbin.
4407 if test -n "$ac_tool_prefix"; then
4408 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4411 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4415 $as_echo_n "(cached) " >&6
4417 if test -n "$DUMPBIN"; then
4418 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4424 test -z "$as_dir" && as_dir
=.
4425 for ac_exec_ext
in '' $ac_executable_extensions; do
4426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4427 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 DUMPBIN
=$ac_cv_prog_DUMPBIN
4438 if test -n "$DUMPBIN"; then
4439 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4440 $as_echo "$DUMPBIN" >&6; }
4442 { $as_echo "$as_me:$LINENO: result: no" >&5
4443 $as_echo "no" >&6; }
4447 test -n "$DUMPBIN" && break
4450 if test -z "$DUMPBIN"; then
4451 ac_ct_DUMPBIN
=$DUMPBIN
4452 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4454 # Extract the first word of "$ac_prog", so it can be a program name with args.
4455 set dummy
$ac_prog; ac_word
=$2
4456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$ac_ct_DUMPBIN"; then
4462 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4471 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4482 if test -n "$ac_ct_DUMPBIN"; then
4483 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4484 $as_echo "$ac_ct_DUMPBIN" >&6; }
4486 { $as_echo "$as_me:$LINENO: result: no" >&5
4487 $as_echo "no" >&6; }
4491 test -n "$ac_ct_DUMPBIN" && break
4494 if test "x$ac_ct_DUMPBIN" = x
; then
4497 case $cross_compiling:$ac_tool_warned in
4499 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned
=yes ;;
4503 DUMPBIN
=$ac_ct_DUMPBIN
4508 if test "$DUMPBIN" != ":"; then
4512 test -z "$NM" && NM
=nm
4519 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4520 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4521 if test "${lt_cv_nm_interface+set}" = set; then
4522 $as_echo_n "(cached) " >&6
4524 lt_cv_nm_interface
="BSD nm"
4525 echo "int some_variable = 0;" > conftest.
$ac_ext
4526 (eval echo "\"\$as_me:4526: $ac_compile\"" >&5)
4527 (eval "$ac_compile" 2>conftest.err
)
4528 cat conftest.err
>&5
4529 (eval echo "\"\$as_me:4529: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4530 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4531 cat conftest.err
>&5
4532 (eval echo "\"\$as_me:4532: output\"" >&5)
4533 cat conftest.out
>&5
4534 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4535 lt_cv_nm_interface
="MS dumpbin"
4539 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4540 $as_echo "$lt_cv_nm_interface" >&6; }
4542 # find the maximum length of command line arguments
4543 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4544 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4545 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4546 $as_echo_n "(cached) " >&6
4553 # On DJGPP, this test can blow up pretty badly due to problems in libc
4554 # (any single argument exceeding 2000 bytes causes a buffer overrun
4555 # during glob expansion). Even if it were fixed, the result of this
4556 # check would be larger than it should be.
4557 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4561 # Under GNU Hurd, this test is not required because there is
4562 # no limit to the length of command line arguments.
4563 # Libtool will interpret -1 as no limit whatsoever
4564 lt_cv_sys_max_cmd_len
=-1;
4567 cygwin
* | mingw
* | cegcc
*)
4568 # On Win9x/ME, this test blows up -- it succeeds, but takes
4569 # about 5 minutes as the teststring grows exponentially.
4570 # Worse, since 9x/ME are not pre-emptively multitasking,
4571 # you end up with a "frozen" computer, even though with patience
4572 # the test eventually succeeds (with a max line length of 256k).
4573 # Instead, let's just punt: use the minimum linelength reported by
4574 # all of the supported platforms: 8192 (on NT/2K/XP).
4575 lt_cv_sys_max_cmd_len
=8192;
4579 # On AmigaOS with pdksh, this test takes hours, literally.
4580 # So we just punt and use a minimum line length of 8192.
4581 lt_cv_sys_max_cmd_len
=8192;
4584 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4585 # This has been around since 386BSD, at least. Likely further.
4586 if test -x /sbin
/sysctl
; then
4587 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4588 elif test -x /usr
/sbin
/sysctl
; then
4589 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4591 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4593 # And add a safety zone
4594 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4595 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4599 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4600 lt_cv_sys_max_cmd_len
=196608
4604 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4605 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4606 # nice to cause kernel panics so lets avoid the loop below.
4607 # First set a reasonable default.
4608 lt_cv_sys_max_cmd_len
=16384
4610 if test -x /sbin
/sysconfig
; then
4611 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4612 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4617 lt_cv_sys_max_cmd_len
=102400
4619 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4620 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4621 if test -n "$kargmax"; then
4622 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4624 lt_cv_sys_max_cmd_len
=32768
4628 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4629 if test -n "$lt_cv_sys_max_cmd_len"; then
4630 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4631 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4633 # Make teststring a little bigger before we do anything with it.
4634 # a 1K string should be a reasonable start.
4635 for i
in 1 2 3 4 5 6 7 8 ; do
4636 teststring
=$teststring$teststring
4638 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4639 # If test is not a shell built-in, we'll probably end up computing a
4640 # maximum length that is only half of the actual maximum length, but
4642 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4643 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4644 test $i != 17 # 1/2 MB should be enough
4647 teststring
=$teststring$teststring
4649 # Only check the string length outside the loop.
4650 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4652 # Add a significant safety factor because C++ compilers can tack on
4653 # massive amounts of additional arguments before passing them to the
4654 # linker. It appears as though 1/2 is a usable value.
4655 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4662 if test -n $lt_cv_sys_max_cmd_len ; then
4663 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4664 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4666 { $as_echo "$as_me:$LINENO: result: none" >&5
4667 $as_echo "none" >&6; }
4669 max_cmd_len
=$lt_cv_sys_max_cmd_len
4680 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4681 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4682 # Try some XSI features
4685 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4687 && eval 'test $(( 1 + 1 )) -eq 2 \
4688 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4690 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4691 $as_echo "$xsi_shell" >&6; }
4694 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4695 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4697 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4699 && lt_shell_append=yes
4700 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4701 $as_echo "$lt_shell_append" >&6; }
4704 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4714 # test EBCDIC or ASCII
4715 case `echo X|tr X '\101'` in
4716 A) # ASCII based system
4717 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4718 lt_SP2NL='tr \040 \012'
4719 lt_NL2SP='tr \015\012 \040\040'
4721 *) # EBCDIC based system
4722 lt_SP2NL='tr \100 \n'
4723 lt_NL2SP='tr \r\n \100\100'
4735 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4736 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4737 if test "${lt_cv_ld_reload_flag+set}" = set; then
4738 $as_echo_n "(cached
) " >&6
4740 lt_cv_ld_reload_flag='-r'
4742 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4743 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4744 reload_flag=$lt_cv_ld_reload_flag
4745 case $reload_flag in
4747 *) reload_flag=" $reload_flag" ;;
4749 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4752 if test "$GCC" = yes; then
4753 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4755 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4768 if test -n "$ac_tool_prefix"; then
4769 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4770 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4771 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4772 $as_echo_n "checking
for $ac_word...
" >&6; }
4773 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4774 $as_echo_n "(cached
) " >&6
4776 if test -n "$OBJDUMP"; then
4777 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4787 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4796 OBJDUMP=$ac_cv_prog_OBJDUMP
4797 if test -n "$OBJDUMP"; then
4798 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4799 $as_echo "$OBJDUMP" >&6; }
4801 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4802 $as_echo "no
" >&6; }
4807 if test -z "$ac_cv_prog_OBJDUMP"; then
4808 ac_ct_OBJDUMP=$OBJDUMP
4809 # Extract the first word of "objdump
", so it can be a program name with args.
4810 set dummy objdump; ac_word=$2
4811 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
4812 $as_echo_n "checking
for $ac_word...
" >&6; }
4813 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4814 $as_echo_n "(cached
) " >&6
4816 if test -n "$ac_ct_OBJDUMP"; then
4817 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir=.
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4827 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4836 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4837 if test -n "$ac_ct_OBJDUMP"; then
4838 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4839 $as_echo "$ac_ct_OBJDUMP" >&6; }
4841 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4842 $as_echo "no
" >&6; }
4845 if test "x
$ac_ct_OBJDUMP" = x; then
4848 case $cross_compiling:$ac_tool_warned in
4850 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4851 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4852 ac_tool_warned=yes ;;
4854 OBJDUMP=$ac_ct_OBJDUMP
4857 OBJDUMP="$ac_cv_prog_OBJDUMP"
4860 test -z "$OBJDUMP" && OBJDUMP=objdump
4870 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4871 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4872 if test "${lt_cv_deplibs_check_method+set}" = set; then
4873 $as_echo_n "(cached
) " >&6
4875 lt_cv_file_magic_cmd='$MAGIC_CMD'
4876 lt_cv_file_magic_test_file=
4877 lt_cv_deplibs_check_method='unknown'
4878 # Need to set the preceding variable on all platforms that support
4879 # interlibrary dependencies.
4880 # 'none' -- dependencies not supported.
4881 # `unknown' -- same as none, but documents that we really don't know.
4882 # 'pass_all' -- all dependencies passed with no checks.
4883 # 'test_compile' -- check by making test program.
4884 # 'file_magic [[regex]]' -- check by looking for files in library path
4885 # which responds to the $file_magic_cmd with a given extended regex.
4886 # If you have `file' or equivalent on your system and you're not sure
4887 # whether `pass_all' will *always* work, you probably want this one.
4891 lt_cv_deplibs_check_method=pass_all
4895 lt_cv_deplibs_check_method=pass_all
4899 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4900 lt_cv_file_magic_cmd='/usr/bin/file -L'
4901 lt_cv_file_magic_test_file=/shlib/libc.so
4905 # func_win32_libid is a shell function defined in ltmain.sh
4906 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4907 lt_cv_file_magic_cmd='func_win32_libid'
4911 # Base MSYS/MinGW do not provide the 'file' command needed by
4912 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4913 # unless we find 'file', for example because we are cross-compiling.
4914 if ( file / ) >/dev/null 2>&1; then
4915 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4916 lt_cv_file_magic_cmd='func_win32_libid'
4918 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4919 lt_cv_file_magic_cmd='$OBJDUMP -f'
4924 # use the weaker test based on 'objdump'. See mingw*.
4925 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4926 lt_cv_file_magic_cmd='$OBJDUMP -f'
4929 darwin* | rhapsody*)
4930 lt_cv_deplibs_check_method=pass_all
4933 freebsd* | dragonfly*)
4934 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4937 # Not sure whether the presence of OpenBSD here was a mistake.
4938 # Let's accept both of them until this is cleared up.
4939 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4940 lt_cv_file_magic_cmd=/usr/bin/file
4941 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4945 lt_cv_deplibs_check_method=pass_all
4950 lt_cv_deplibs_check_method=pass_all
4953 hpux10.20* | hpux11*)
4954 lt_cv_file_magic_cmd=/usr/bin/file
4957 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4958 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4961 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]'
4962 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4965 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4966 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4972 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4973 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4976 irix5* | irix6* | nonstopux*)
4978 *-32|*"-32 ") libmagic=32-bit;;
4979 *-n32|*"-n32 ") libmagic=N32;;
4980 *-64|*"-64 ") libmagic=64-bit;;
4981 *) libmagic=never-match;;
4983 lt_cv_deplibs_check_method=pass_all
4986 # This must be Linux ELF.
4987 linux* | k*bsd*-gnu)
4988 lt_cv_deplibs_check_method=pass_all
4991 netbsd* | netbsdelf*-gnu)
4992 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4993 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4995 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5001 lt_cv_file_magic_cmd=/usr/bin/file
5002 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5006 lt_cv_deplibs_check_method=pass_all
5010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5011 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5013 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5017 osf3* | osf4* | osf5*)
5018 lt_cv_deplibs_check_method=pass_all
5022 lt_cv_deplibs_check_method=pass_all
5026 lt_cv_deplibs_check_method=pass_all
5029 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5030 lt_cv_deplibs_check_method=pass_all
5034 case $host_vendor in
5036 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]'
5037 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5040 lt_cv_deplibs_check_method=pass_all
5043 lt_cv_file_magic_cmd='/bin/file'
5044 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5047 lt_cv_file_magic_cmd='/bin/file'
5048 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5049 lt_cv_file_magic_test_file=/lib/libc.so
5052 lt_cv_deplibs_check_method=pass_all
5055 lt_cv_deplibs_check_method=pass_all
5061 lt_cv_deplibs_check_method=pass_all
5066 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
5067 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5068 file_magic_cmd=$lt_cv_file_magic_cmd
5069 deplibs_check_method=$lt_cv_deplibs_check_method
5070 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5083 if test -n "$ac_tool_prefix"; then
5084 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5085 set dummy ${ac_tool_prefix}ar; ac_word=$2
5086 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5087 $as_echo_n "checking
for $ac_word...
" >&6; }
5088 if test "${ac_cv_prog_AR+set}" = set; then
5089 $as_echo_n "(cached
) " >&6
5091 if test -n "$AR"; then
5092 ac_cv_prog_AR="$AR" # Let the user override the test.
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir=.
5099 for ac_exec_ext in '' $ac_executable_extensions; do
5100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5101 ac_cv_prog_AR="${ac_tool_prefix}ar"
5102 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5112 if test -n "$AR"; then
5113 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
5114 $as_echo "$AR" >&6; }
5116 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5117 $as_echo "no
" >&6; }
5122 if test -z "$ac_cv_prog_AR"; then
5124 # Extract the first word of "ar", so it can be a program name with args.
5125 set dummy ar; ac_word=$2
5126 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5127 $as_echo_n "checking
for $ac_word...
" >&6; }
5128 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5129 $as_echo_n "(cached
) " >&6
5131 if test -n "$ac_ct_AR"; then
5132 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir=.
5139 for ac_exec_ext in '' $ac_executable_extensions; do
5140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5141 ac_cv_prog_ac_ct_AR="ar"
5142 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5151 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5152 if test -n "$ac_ct_AR"; then
5153 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5154 $as_echo "$ac_ct_AR" >&6; }
5156 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5157 $as_echo "no
" >&6; }
5160 if test "x
$ac_ct_AR" = x; then
5163 case $cross_compiling:$ac_tool_warned in
5165 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5166 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5167 ac_tool_warned=yes ;;
5175 test -z "$AR" && AR=ar
5176 test -z "$AR_FLAGS" && AR_FLAGS=cru
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}strip; ac_word=$2
5191 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5192 $as_echo_n "checking
for $ac_word...
" >&6; }
5193 if test "${ac_cv_prog_STRIP+set}" = set; then
5194 $as_echo_n "(cached
) " >&6
5196 if test -n "$STRIP"; then
5197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5207 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5216 STRIP=$ac_cv_prog_STRIP
5217 if test -n "$STRIP"; then
5218 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
5219 $as_echo "$STRIP" >&6; }
5221 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5222 $as_echo "no
" >&6; }
5227 if test -z "$ac_cv_prog_STRIP"; then
5229 # Extract the first word of "strip
", so it can be a program name with args.
5230 set dummy strip; ac_word=$2
5231 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5232 $as_echo_n "checking
for $ac_word...
" >&6; }
5233 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5234 $as_echo_n "(cached
) " >&6
5236 if test -n "$ac_ct_STRIP"; then
5237 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 test -z "$as_dir" && as_dir=.
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5246 ac_cv_prog_ac_ct_STRIP="strip
"
5247 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5256 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5257 if test -n "$ac_ct_STRIP"; then
5258 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5259 $as_echo "$ac_ct_STRIP" >&6; }
5261 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5262 $as_echo "no
" >&6; }
5265 if test "x
$ac_ct_STRIP" = x; then
5268 case $cross_compiling:$ac_tool_warned in
5270 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5271 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5272 ac_tool_warned=yes ;;
5277 STRIP="$ac_cv_prog_STRIP"
5280 test -z "$STRIP" && STRIP=:
5287 if test -n "$ac_tool_prefix"; then
5288 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5289 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5290 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5291 $as_echo_n "checking
for $ac_word...
" >&6; }
5292 if test "${ac_cv_prog_RANLIB+set}" = set; then
5293 $as_echo_n "(cached
) " >&6
5295 if test -n "$RANLIB"; then
5296 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 test -z "$as_dir" && as_dir=.
5303 for ac_exec_ext in '' $ac_executable_extensions; do
5304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5305 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5306 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5315 RANLIB=$ac_cv_prog_RANLIB
5316 if test -n "$RANLIB"; then
5317 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
5318 $as_echo "$RANLIB" >&6; }
5320 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5321 $as_echo "no
" >&6; }
5326 if test -z "$ac_cv_prog_RANLIB"; then
5327 ac_ct_RANLIB=$RANLIB
5328 # Extract the first word of "ranlib
", so it can be a program name with args.
5329 set dummy ranlib; ac_word=$2
5330 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5331 $as_echo_n "checking
for $ac_word...
" >&6; }
5332 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5333 $as_echo_n "(cached
) " >&6
5335 if test -n "$ac_ct_RANLIB"; then
5336 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5345 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5346 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5355 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5356 if test -n "$ac_ct_RANLIB"; then
5357 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5358 $as_echo "$ac_ct_RANLIB" >&6; }
5360 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5361 $as_echo "no
" >&6; }
5364 if test "x
$ac_ct_RANLIB" = x; then
5367 case $cross_compiling:$ac_tool_warned in
5369 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5370 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5371 ac_tool_warned=yes ;;
5373 RANLIB=$ac_ct_RANLIB
5376 RANLIB="$ac_cv_prog_RANLIB"
5379 test -z "$RANLIB" && RANLIB=:
5386 # Determine commands to create old-style static archives.
5387 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5388 old_postinstall_cmds='chmod 644 $oldlib'
5389 old_postuninstall_cmds=
5391 if test -n "$RANLIB"; then
5394 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5397 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5400 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5436 # If no C compiler was specified, use CC.
5439 # If no C compiler flags were specified, use CFLAGS.
5440 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5442 # Allow CC to be a program name with arguments.
5446 # Check for command to grab the raw symbol name followed by C symbol from nm.
5447 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5448 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5449 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5450 $as_echo_n "(cached
) " >&6
5453 # These are sane defaults that work on at least a few old systems.
5454 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5456 # Character class describing NM global symbol codes.
5457 symcode='[BCDEGRST]'
5459 # Regexp to match symbols that can be accessed directly from C.
5460 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5462 # Define system-specific variables.
5467 cygwin* | mingw* | pw32* | cegcc*)
5468 symcode='[ABCDGISTW]'
5471 if test "$host_cpu" = ia64; then
5472 symcode='[ABCDEGRST]'
5476 symcode='[BCDEGRST]'
5479 symcode='[BCDEGQRST]'
5490 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5498 # If we're using GNU nm, then use its standard symbol codes.
5499 case `$NM -V 2>&1` in
5500 *GNU* | *'with BFD'*)
5501 symcode='[ABCDGIRSTW]' ;;
5504 # Transform an extracted symbol line into a proper C declaration.
5505 # Some systems (esp. on ia64) link data and code symbols differently,
5506 # so use this general approach.
5507 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5509 # Transform an extracted symbol line into symbol name and symbol address
5510 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5511 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'"
5513 # Handle CRLF in mingw tool chain
5517 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5521 # Try without a prefix underscore, then with it.
5522 for ac_symprfx in "" "_
"; do
5524 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5525 symxfrm="\\1 $ac_symprfx\\2 \\2"
5527 # Write the raw and C identifiers.
5528 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5529 # Fake it for dumpbin and say T for any non-static function
5530 # and D for any global variable.
5531 # Also find C++ and __fastcall symbols from MSVC++,
5532 # which start with @ or ?.
5533 lt_cv_sys_global_symbol_pipe="$AWK '"\
5534 " {last_section=section; section=\$ 3};"\
5535 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5536 " \$ 0!~/External *\|/{next};"\
5537 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5538 " {if(hide[section]) next};"\
5539 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5540 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5541 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5542 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5543 " ' prfx
=^
$ac_symprfx"
5545 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5548 # Check to see that the pipe works correctly.
5552 cat > conftest.$ac_ext <<_LT_EOF
5557 void nm_test_func(void);
5558 void nm_test_func(void){}
5562 int main(){nm_test_var='a';nm_test_func();return(0);}
5565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5566 (eval $ac_compile) 2>&5
5568 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5569 (exit $ac_status); }; then
5570 # Now try to grab the symbols.
5572 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5573 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5575 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5576 (exit $ac_status); } && test -s "$nlist"; then
5577 # Try sorting and uniquifying the output.
5578 if sort "$nlist" | uniq > "$nlist"T; then
5579 mv -f "$nlist"T "$nlist"
5584 # Make sure that we snagged all the symbols we need.
5585 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5586 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5587 cat <<_LT_EOF > conftest.$ac_ext
5593 # Now generate the symbol file.
5594 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5596 cat <<_LT_EOF >> conftest.$ac_ext
5598 /* The mapping between symbol names and symbols. */
5603 lt__PROGRAM__LTX_preloaded_symbols[] =
5605 { "@PROGRAM@
", (void *) 0 },
5607 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5608 cat <<\_LT_EOF >> conftest.$ac_ext
5612 /* This works around a problem in FreeBSD linker */
5613 #ifdef FREEBSD_WORKAROUND
5614 static const void *lt_preloaded_setup() {
5615 return lt__PROGRAM__LTX_preloaded_symbols;
5623 # Now try linking the two files.
5624 mv conftest.$ac_objext conftstm.$ac_objext
5625 lt_save_LIBS="$LIBS"
5626 lt_save_CFLAGS="$CFLAGS"
5627 LIBS="conftstm.
$ac_objext"
5628 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5630 (eval $ac_link) 2>&5
5632 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5633 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5636 LIBS="$lt_save_LIBS"
5637 CFLAGS="$lt_save_CFLAGS"
5639 echo "cannot
find nm_test_func
in $nlist" >&5
5642 echo "cannot
find nm_test_var
in $nlist" >&5
5645 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5648 echo "$progname: failed program was
:" >&5
5649 cat conftest.$ac_ext >&5
5651 rm -rf conftest* conftst*
5653 # Do not use the global_symbol_pipe unless it works.
5654 if test "$pipe_works" = yes; then
5657 lt_cv_sys_global_symbol_pipe=
5663 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5664 lt_cv_sys_global_symbol_to_cdecl=
5666 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5667 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
5668 $as_echo "failed
" >&6; }
5670 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
5671 $as_echo "ok
" >&6; }
5696 # Check whether --enable-libtool-lock was given.
5697 if test "${enable_libtool_lock+set}" = set; then
5698 enableval=$enable_libtool_lock;
5701 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5703 # Some flags need to be propagated to the compiler or linker for good
5707 # Find out which ABI we are using.
5708 echo 'int i;' > conftest.$ac_ext
5709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5710 (eval $ac_compile) 2>&5
5712 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5713 (exit $ac_status); }; then
5714 case `/usr/bin/file conftest.$ac_objext` in
5726 # Find out which ABI we are using.
5727 echo '#line 5727 "configure
"' > conftest.$ac_ext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5729 (eval $ac_compile) 2>&5
5731 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5732 (exit $ac_status); }; then
5733 if test "$lt_cv_prog_gnu_ld" = yes; then
5734 case `/usr/bin/file conftest.$ac_objext` in
5736 LD="${LD-ld} -melf32bsmip"
5739 LD="${LD-ld} -melf32bmipn32"
5742 LD="${LD-ld} -melf64bmip"
5746 case `/usr/bin/file conftest.$ac_objext` in
5762 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5763 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5764 # Find out which ABI we are using.
5765 echo 'int i;' > conftest.$ac_ext
5766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5767 (eval $ac_compile) 2>&5
5769 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5770 (exit $ac_status); }; then
5771 case `/usr/bin/file conftest.o` in
5774 x86_64-*kfreebsd*-gnu)
5775 LD="${LD-ld} -m elf_i386_fbsd
"
5778 LD="${LD-ld} -m elf_i386
"
5780 ppc64-*linux*|powerpc64-*linux*)
5781 LD="${LD-ld} -m elf32ppclinux
"
5784 LD="${LD-ld} -m elf_s390
"
5787 LD="${LD-ld} -m elf32_sparc
"
5793 x86_64-*kfreebsd*-gnu)
5794 LD="${LD-ld} -m elf_x86_64_fbsd
"
5797 LD="${LD-ld} -m elf_x86_64
"
5799 ppc*-*linux*|powerpc*-*linux*)
5800 LD="${LD-ld} -m elf64ppc
"
5802 s390*-*linux*|s390*-*tpf*)
5803 LD="${LD-ld} -m elf64_s390
"
5806 LD="${LD-ld} -m elf64_sparc
"
5816 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5817 SAVE_CFLAGS="$CFLAGS"
5818 CFLAGS="$CFLAGS -belf"
5819 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5820 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5821 if test "${lt_cv_cc_needs_belf+set}" = set; then
5822 $as_echo_n "(cached
) " >&6
5825 ac_cpp='$CPP $CPPFLAGS'
5826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5830 cat >conftest.$ac_ext <<_ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5845 rm -f conftest.$ac_objext conftest$ac_exeext
5846 if { (ac_try="$ac_link"
5848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5849 *) ac_try_echo=$ac_try;;
5851 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
5852 $as_echo "$ac_try_echo") >&5
5853 (eval "$ac_link") 2>conftest.er1
5855 grep -v '^ *+' conftest.er1 >conftest.err
5857 cat conftest.err >&5
5858 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5859 (exit $ac_status); } && {
5860 test -z "$ac_c_werror_flag" ||
5861 test ! -s conftest.err
5862 } && test -s conftest$ac_exeext && {
5863 test "$cross_compiling" = yes ||
5864 $as_test_x conftest$ac_exeext
5866 lt_cv_cc_needs_belf=yes
5868 $as_echo "$as_me: failed program was
:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5871 lt_cv_cc_needs_belf=no
5874 rm -rf conftest.dSYM
5875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5876 conftest$ac_exeext conftest.$ac_ext
5878 ac_cpp='$CPP $CPPFLAGS'
5879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5884 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5885 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5886 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5887 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5888 CFLAGS="$SAVE_CFLAGS"
5892 # Find out which ABI we are using.
5893 echo 'int i;' > conftest.$ac_ext
5894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5895 (eval $ac_compile) 2>&5
5897 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5898 (exit $ac_status); }; then
5899 case `/usr/bin/file conftest.o` in
5901 case $lt_cv_prog_gnu_ld in
5902 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5904 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5916 need_locks="$enable_libtool_lock"
5920 rhapsody* | darwin*)
5921 if test -n "$ac_tool_prefix"; then
5922 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5923 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5924 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5925 $as_echo_n "checking
for $ac_word...
" >&6; }
5926 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5927 $as_echo_n "(cached
) " >&6
5929 if test -n "$DSYMUTIL"; then
5930 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5939 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5940 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5949 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5950 if test -n "$DSYMUTIL"; then
5951 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5952 $as_echo "$DSYMUTIL" >&6; }
5954 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5955 $as_echo "no
" >&6; }
5960 if test -z "$ac_cv_prog_DSYMUTIL"; then
5961 ac_ct_DSYMUTIL=$DSYMUTIL
5962 # Extract the first word of "dsymutil
", so it can be a program name with args.
5963 set dummy dsymutil; ac_word=$2
5964 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
5965 $as_echo_n "checking
for $ac_word...
" >&6; }
5966 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5967 $as_echo_n "(cached
) " >&6
5969 if test -n "$ac_ct_DSYMUTIL"; then
5970 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5979 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5980 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5989 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5990 if test -n "$ac_ct_DSYMUTIL"; then
5991 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5992 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5994 { $as_echo "$as_me:$LINENO: result
: no
" >&5
5995 $as_echo "no
" >&6; }
5998 if test "x
$ac_ct_DSYMUTIL" = x; then
6001 case $cross_compiling:$ac_tool_warned in
6003 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6004 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6005 ac_tool_warned=yes ;;
6007 DSYMUTIL=$ac_ct_DSYMUTIL
6010 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6013 if test -n "$ac_tool_prefix"; then
6014 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6015 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6016 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6017 $as_echo_n "checking
for $ac_word...
" >&6; }
6018 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6019 $as_echo_n "(cached
) " >&6
6021 if test -n "$NMEDIT"; then
6022 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 test -z "$as_dir" && as_dir=.
6029 for ac_exec_ext in '' $ac_executable_extensions; do
6030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6032 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6041 NMEDIT=$ac_cv_prog_NMEDIT
6042 if test -n "$NMEDIT"; then
6043 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
6044 $as_echo "$NMEDIT" >&6; }
6046 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6047 $as_echo "no
" >&6; }
6052 if test -z "$ac_cv_prog_NMEDIT"; then
6053 ac_ct_NMEDIT=$NMEDIT
6054 # Extract the first word of "nmedit
", so it can be a program name with args.
6055 set dummy nmedit; ac_word=$2
6056 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6057 $as_echo_n "checking
for $ac_word...
" >&6; }
6058 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6059 $as_echo_n "(cached
) " >&6
6061 if test -n "$ac_ct_NMEDIT"; then
6062 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6071 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6072 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6081 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6082 if test -n "$ac_ct_NMEDIT"; then
6083 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
6084 $as_echo "$ac_ct_NMEDIT" >&6; }
6086 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6087 $as_echo "no
" >&6; }
6090 if test "x
$ac_ct_NMEDIT" = x; then
6093 case $cross_compiling:$ac_tool_warned in
6095 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6096 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6097 ac_tool_warned=yes ;;
6099 NMEDIT=$ac_ct_NMEDIT
6102 NMEDIT="$ac_cv_prog_NMEDIT"
6105 if test -n "$ac_tool_prefix"; then
6106 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6107 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6108 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6109 $as_echo_n "checking
for $ac_word...
" >&6; }
6110 if test "${ac_cv_prog_LIPO+set}" = set; then
6111 $as_echo_n "(cached
) " >&6
6113 if test -n "$LIPO"; then
6114 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6123 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6124 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6133 LIPO=$ac_cv_prog_LIPO
6134 if test -n "$LIPO"; then
6135 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
6136 $as_echo "$LIPO" >&6; }
6138 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6139 $as_echo "no
" >&6; }
6144 if test -z "$ac_cv_prog_LIPO"; then
6146 # Extract the first word of "lipo
", so it can be a program name with args.
6147 set dummy lipo; ac_word=$2
6148 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6149 $as_echo_n "checking
for $ac_word...
" >&6; }
6150 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6151 $as_echo_n "(cached
) " >&6
6153 if test -n "$ac_ct_LIPO"; then
6154 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6163 ac_cv_prog_ac_ct_LIPO="lipo
"
6164 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6173 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6174 if test -n "$ac_ct_LIPO"; then
6175 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
6176 $as_echo "$ac_ct_LIPO" >&6; }
6178 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6179 $as_echo "no
" >&6; }
6182 if test "x
$ac_ct_LIPO" = x; then
6185 case $cross_compiling:$ac_tool_warned in
6187 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6188 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6189 ac_tool_warned=yes ;;
6194 LIPO="$ac_cv_prog_LIPO"
6197 if test -n "$ac_tool_prefix"; then
6198 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6199 set dummy ${ac_tool_prefix}otool; ac_word=$2
6200 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6201 $as_echo_n "checking
for $ac_word...
" >&6; }
6202 if test "${ac_cv_prog_OTOOL+set}" = set; then
6203 $as_echo_n "(cached
) " >&6
6205 if test -n "$OTOOL"; then
6206 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6215 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6216 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6225 OTOOL=$ac_cv_prog_OTOOL
6226 if test -n "$OTOOL"; then
6227 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
6228 $as_echo "$OTOOL" >&6; }
6230 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6231 $as_echo "no
" >&6; }
6236 if test -z "$ac_cv_prog_OTOOL"; then
6238 # Extract the first word of "otool
", so it can be a program name with args.
6239 set dummy otool; ac_word=$2
6240 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6241 $as_echo_n "checking
for $ac_word...
" >&6; }
6242 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6243 $as_echo_n "(cached
) " >&6
6245 if test -n "$ac_ct_OTOOL"; then
6246 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_ac_ct_OTOOL="otool
"
6256 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6265 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6266 if test -n "$ac_ct_OTOOL"; then
6267 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
6268 $as_echo "$ac_ct_OTOOL" >&6; }
6270 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6271 $as_echo "no
" >&6; }
6274 if test "x
$ac_ct_OTOOL" = x; then
6277 case $cross_compiling:$ac_tool_warned in
6279 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6280 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6281 ac_tool_warned=yes ;;
6286 OTOOL="$ac_cv_prog_OTOOL"
6289 if test -n "$ac_tool_prefix"; then
6290 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6291 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6292 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6293 $as_echo_n "checking
for $ac_word...
" >&6; }
6294 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6295 $as_echo_n "(cached
) " >&6
6297 if test -n "$OTOOL64"; then
6298 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6307 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6308 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6317 OTOOL64=$ac_cv_prog_OTOOL64
6318 if test -n "$OTOOL64"; then
6319 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6320 $as_echo "$OTOOL64" >&6; }
6322 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6323 $as_echo "no
" >&6; }
6328 if test -z "$ac_cv_prog_OTOOL64"; then
6329 ac_ct_OTOOL64=$OTOOL64
6330 # Extract the first word of "otool64
", so it can be a program name with args.
6331 set dummy otool64; ac_word=$2
6332 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6333 $as_echo_n "checking
for $ac_word...
" >&6; }
6334 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6335 $as_echo_n "(cached
) " >&6
6337 if test -n "$ac_ct_OTOOL64"; then
6338 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6348 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6357 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6358 if test -n "$ac_ct_OTOOL64"; then
6359 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6360 $as_echo "$ac_ct_OTOOL64" >&6; }
6362 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6363 $as_echo "no
" >&6; }
6366 if test "x
$ac_ct_OTOOL64" = x; then
6369 case $cross_compiling:$ac_tool_warned in
6371 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6372 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6373 ac_tool_warned=yes ;;
6375 OTOOL64=$ac_ct_OTOOL64
6378 OTOOL64="$ac_cv_prog_OTOOL64"
6407 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6408 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6409 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6410 $as_echo_n "(cached
) " >&6
6412 lt_cv_apple_cc_single_mod=no
6413 if test -z "${LT_MULTI_MODULE}"; then
6414 # By default we will add the -single_module flag. You can override
6415 # by either setting the environment variable LT_MULTI_MODULE
6416 # non-empty at configure time, or by adding -multi_module to the
6418 rm -rf libconftest.dylib*
6419 echo "int foo
(void
){return 1;}" > conftest.c
6420 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6421 -dynamiclib -Wl,-single_module conftest.c
" >&5
6422 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6423 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6425 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6426 lt_cv_apple_cc_single_mod=yes
6428 cat conftest.err >&5
6430 rm -rf libconftest.dylib*
6434 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6435 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6436 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6437 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6438 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6439 $as_echo_n "(cached
) " >&6
6441 lt_cv_ld_exported_symbols_list=no
6442 save_LDFLAGS=$LDFLAGS
6443 echo "_main
" > conftest.sym
6444 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6445 cat >conftest.$ac_ext <<_ACEOF
6448 cat confdefs.h >>conftest.$ac_ext
6449 cat >>conftest.$ac_ext <<_ACEOF
6450 /* end confdefs.h. */
6460 rm -f conftest.$ac_objext conftest$ac_exeext
6461 if { (ac_try="$ac_link"
6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6464 *) ac_try_echo=$ac_try;;
6466 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6467 $as_echo "$ac_try_echo") >&5
6468 (eval "$ac_link") 2>conftest.er1
6470 grep -v '^ *+' conftest.er1 >conftest.err
6472 cat conftest.err >&5
6473 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6474 (exit $ac_status); } && {
6475 test -z "$ac_c_werror_flag" ||
6476 test ! -s conftest.err
6477 } && test -s conftest$ac_exeext && {
6478 test "$cross_compiling" = yes ||
6479 $as_test_x conftest$ac_exeext
6481 lt_cv_ld_exported_symbols_list=yes
6483 $as_echo "$as_me: failed program was
:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6486 lt_cv_ld_exported_symbols_list=no
6489 rm -rf conftest.dSYM
6490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6491 conftest$ac_exeext conftest.$ac_ext
6492 LDFLAGS="$save_LDFLAGS"
6495 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6496 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6498 rhapsody* | darwin1.[012])
6499 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6501 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6502 darwin*) # darwin 5.x on
6503 # if running on 10.5 or later, the deployment target defaults
6504 # to the OS version, if on x86, and 10.4, the deployment
6505 # target defaults to 10.4. Don't you love it?
6506 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6507 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6508 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6510 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6512 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6516 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6517 _lt_dar_single_mod='$single_module'
6519 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6520 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6522 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6524 if test "$DSYMUTIL" != ":"; then
6525 _lt_dsymutil='~$DSYMUTIL $lib || :'
6533 ac_cpp='$CPP $CPPFLAGS'
6534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6537 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6538 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6539 # On Suns, sometimes $CPP names a directory.
6540 if test -n "$CPP" && test -d "$CPP"; then
6543 if test -z "$CPP"; then
6544 if test "${ac_cv_prog_CPP+set}" = set; then
6545 $as_echo_n "(cached
) " >&6
6547 # Double quotes because CPP needs to be expanded
6548 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6551 for ac_c_preproc_warn_flag in '' yes
6553 # Use a header file that comes with gcc, so configuring glibc
6554 # with a fresh cross-compiler works.
6555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6556 # <limits.h> exists even on freestanding compilers.
6557 # On the NeXT, cc -E runs the code through the compiler's parser,
6558 # not just through cpp. "Syntax error
" is here to catch this case.
6559 cat >conftest.$ac_ext <<_ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6566 # include <limits.h>
6568 # include <assert.h>
6572 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6575 *) ac_try_echo=$ac_try;;
6577 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6578 $as_echo "$ac_try_echo") >&5
6579 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6581 grep -v '^ *+' conftest.er1 >conftest.err
6583 cat conftest.err >&5
6584 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6585 (exit $ac_status); } >/dev/null && {
6586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6587 test ! -s conftest.err
6591 $as_echo "$as_me: failed program was
:" >&5
6592 sed 's/^/| /' conftest.$ac_ext >&5
6594 # Broken: fails on valid input.
6598 rm -f conftest.err conftest.$ac_ext
6600 # OK, works on sane cases. Now check whether nonexistent headers
6601 # can be detected and how.
6602 cat >conftest.$ac_ext <<_ACEOF
6605 cat confdefs.h >>conftest.$ac_ext
6606 cat >>conftest.$ac_ext <<_ACEOF
6607 /* end confdefs.h. */
6608 #include <ac_nonexistent.h>
6610 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6615 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6616 $as_echo "$ac_try_echo") >&5
6617 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6619 grep -v '^ *+' conftest.er1 >conftest.err
6621 cat conftest.err >&5
6622 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6623 (exit $ac_status); } >/dev/null && {
6624 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6625 test ! -s conftest.err
6627 # Broken: success on invalid input.
6630 $as_echo "$as_me: failed program was
:" >&5
6631 sed 's/^/| /' conftest.$ac_ext >&5
6633 # Passes both tests.
6638 rm -f conftest.err conftest.$ac_ext
6641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6642 rm -f conftest.err conftest.$ac_ext
6643 if $ac_preproc_ok; then
6655 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
6656 $as_echo "$CPP" >&6; }
6658 for ac_c_preproc_warn_flag in '' yes
6660 # Use a header file that comes with gcc, so configuring glibc
6661 # with a fresh cross-compiler works.
6662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6663 # <limits.h> exists even on freestanding compilers.
6664 # On the NeXT, cc -E runs the code through the compiler's parser,
6665 # not just through cpp. "Syntax error
" is here to catch this case.
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6673 # include <limits.h>
6675 # include <assert.h>
6679 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6682 *) ac_try_echo=$ac_try;;
6684 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6685 $as_echo "$ac_try_echo") >&5
6686 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6688 grep -v '^ *+' conftest.er1 >conftest.err
6690 cat conftest.err >&5
6691 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6692 (exit $ac_status); } >/dev/null && {
6693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6694 test ! -s conftest.err
6698 $as_echo "$as_me: failed program was
:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5
6701 # Broken: fails on valid input.
6705 rm -f conftest.err conftest.$ac_ext
6707 # OK, works on sane cases. Now check whether nonexistent headers
6708 # can be detected and how.
6709 cat >conftest.$ac_ext <<_ACEOF
6712 cat confdefs.h >>conftest.$ac_ext
6713 cat >>conftest.$ac_ext <<_ACEOF
6714 /* end confdefs.h. */
6715 #include <ac_nonexistent.h>
6717 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6720 *) ac_try_echo=$ac_try;;
6722 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6723 $as_echo "$ac_try_echo") >&5
6724 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6726 grep -v '^ *+' conftest.er1 >conftest.err
6728 cat conftest.err >&5
6729 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6730 (exit $ac_status); } >/dev/null && {
6731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6732 test ! -s conftest.err
6734 # Broken: success on invalid input.
6737 $as_echo "$as_me: failed program was
:" >&5
6738 sed 's/^/| /' conftest.$ac_ext >&5
6740 # Passes both tests.
6745 rm -f conftest.err conftest.$ac_ext
6748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6749 rm -f conftest.err conftest.$ac_ext
6750 if $ac_preproc_ok; then
6753 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6755 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6756 See \`config.log' for more details.
" >&5
6757 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6758 See \
`config.log' for more details." >&2;}
6759 { (exit 1); exit 1; }; }; }
6763 ac_cpp='$CPP $CPPFLAGS'
6764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6769 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6770 $as_echo_n "checking for ANSI C header files... " >&6; }
6771 if test "${ac_cv_header_stdc+set}" = set; then
6772 $as_echo_n "(cached) " >&6
6774 cat >conftest.$ac_ext <<_ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6793 rm -f conftest.$ac_objext
6794 if { (ac_try="$ac_compile"
6796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6797 *) ac_try_echo
=$ac_try;;
6799 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6800 $as_echo "$ac_try_echo") >&5
6801 (eval "$ac_compile") 2>conftest.er1
6803 grep -v '^ *+' conftest.er1
>conftest.err
6805 cat conftest.err
>&5
6806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } && {
6808 test -z "$ac_c_werror_flag" ||
6809 test ! -s conftest.err
6810 } && test -s conftest.
$ac_objext; then
6811 ac_cv_header_stdc
=yes
6813 $as_echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.
$ac_ext >&5
6816 ac_cv_header_stdc
=no
6819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6821 if test $ac_cv_header_stdc = yes; then
6822 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6823 cat >conftest.
$ac_ext <<_ACEOF
6826 cat confdefs.h
>>conftest.
$ac_ext
6827 cat >>conftest.
$ac_ext <<_ACEOF
6828 /* end confdefs.h. */
6832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6833 $EGREP "memchr" >/dev
/null
2>&1; then
6836 ac_cv_header_stdc
=no
6842 if test $ac_cv_header_stdc = yes; then
6843 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6844 cat >conftest.
$ac_ext <<_ACEOF
6847 cat confdefs.h
>>conftest.
$ac_ext
6848 cat >>conftest.
$ac_ext <<_ACEOF
6849 /* end confdefs.h. */
6853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6854 $EGREP "free" >/dev
/null
2>&1; then
6857 ac_cv_header_stdc
=no
6863 if test $ac_cv_header_stdc = yes; then
6864 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6865 if test "$cross_compiling" = yes; then
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6876 #if ((' ' & 0x0FF) == 0x020)
6877 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6878 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6880 # define ISLOWER(c) \
6881 (('a' <= (c) && (c) <= 'i') \
6882 || ('j' <= (c) && (c) <= 'r') \
6883 || ('s' <= (c) && (c) <= 'z'))
6884 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6887 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6892 for (i = 0; i < 256; i++)
6893 if (XOR (islower (i), ISLOWER (i))
6894 || toupper (i) != TOUPPER (i))
6899 rm -f conftest
$ac_exeext
6900 if { (ac_try
="$ac_link"
6902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6903 *) ac_try_echo=$ac_try;;
6905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6906 $as_echo "$ac_try_echo") >&5
6907 (eval "$ac_link") 2>&5
6909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6911 { (case "(($ac_try" in
6912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6913 *) ac_try_echo
=$ac_try;;
6915 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6916 $as_echo "$ac_try_echo") >&5
6917 (eval "$ac_try") 2>&5
6919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; }; then
6923 $as_echo "$as_me: program exited with status $ac_status" >&5
6924 $as_echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.
$ac_ext >&5
6928 ac_cv_header_stdc
=no
6930 rm -rf conftest.dSYM
6931 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6937 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6938 $as_echo "$ac_cv_header_stdc" >&6; }
6939 if test $ac_cv_header_stdc = yes; then
6941 cat >>confdefs.h
<<\_ACEOF
6942 #define STDC_HEADERS 1
6947 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6957 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6958 inttypes.h stdint.h unistd.h
6960 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6962 $as_echo_n "checking for $ac_header... " >&6; }
6963 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6964 $as_echo_n "(cached) " >&6
6966 cat >conftest.
$ac_ext <<_ACEOF
6969 cat confdefs.h
>>conftest.
$ac_ext
6970 cat >>conftest.
$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6972 $ac_includes_default
6974 #include <$ac_header>
6976 rm -f conftest.
$ac_objext
6977 if { (ac_try
="$ac_compile"
6979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6980 *) ac_try_echo=$ac_try;;
6982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6983 $as_echo "$ac_try_echo") >&5
6984 (eval "$ac_compile") 2>conftest.er1
6986 grep -v '^ *+' conftest.er1 >conftest.err
6988 cat conftest.err >&5
6989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } && {
6991 test -z "$ac_c_werror_flag" ||
6992 test ! -s conftest.err
6993 } && test -s conftest.$ac_objext; then
6994 eval "$as_ac_Header=yes"
6996 $as_echo "$as_me: failed program was:" >&5
6997 sed 's/^/| /' conftest.$ac_ext >&5
6999 eval "$as_ac_Header=no"
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7004 ac_res=`eval 'as_val=${'$as_ac_Header'}
7005 $as_echo "$as_val"'`
7006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7007 $as_echo "$ac_res" >&6; }
7008 as_val=`eval 'as_val=${'$as_ac_Header'}
7009 $as_echo "$as_val"'`
7010 if test "x$as_val" = x""yes; then
7011 cat >>confdefs.h <<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7021 for ac_header in dlfcn.h
7023 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7024 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7025 $as_echo_n "checking for $ac_header... " >&6; }
7026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7027 $as_echo_n "(cached) " >&6
7029 cat >conftest.$ac_ext <<_ACEOF
7032 cat confdefs.h >>conftest.$ac_ext
7033 cat >>conftest.$ac_ext <<_ACEOF
7034 /* end confdefs.h. */
7035 $ac_includes_default
7037 #include <$ac_header>
7039 rm -f conftest.$ac_objext
7040 if { (ac_try="$ac_compile"
7042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7043 *) ac_try_echo
=$ac_try;;
7045 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7046 $as_echo "$ac_try_echo") >&5
7047 (eval "$ac_compile") 2>conftest.er1
7049 grep -v '^ *+' conftest.er1
>conftest.err
7051 cat conftest.err
>&5
7052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } && {
7054 test -z "$ac_c_werror_flag" ||
7055 test ! -s conftest.err
7056 } && test -s conftest.
$ac_objext; then
7057 eval "$as_ac_Header=yes"
7059 $as_echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.
$ac_ext >&5
7062 eval "$as_ac_Header=no"
7065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7067 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7068 $as_echo "$as_val"'`
7069 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7070 $as_echo "$ac_res" >&6; }
7071 as_val
=`eval 'as_val=${'$as_ac_Header'}
7072 $as_echo "$as_val"'`
7073 if test "x$as_val" = x
""yes; then
7074 cat >>confdefs.h
<<_ACEOF
7075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7094 # Check whether --enable-shared was given.
7095 if test "${enable_shared+set}" = set; then
7096 enableval
=$enable_shared; p
=${PACKAGE-default}
7098 yes) enable_shared
=yes ;;
7099 no
) enable_shared
=no
;;
7102 # Look at the argument we got. We use all the common list separators.
7103 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7104 for pkg
in $enableval; do
7106 if test "X$pkg" = "X$p"; then
7125 # Check whether --enable-static was given.
7126 if test "${enable_static+set}" = set; then
7127 enableval
=$enable_static; p
=${PACKAGE-default}
7129 yes) enable_static
=yes ;;
7130 no
) enable_static
=no
;;
7133 # Look at the argument we got. We use all the common list separators.
7134 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7135 for pkg
in $enableval; do
7137 if test "X$pkg" = "X$p"; then
7157 # Check whether --with-pic was given.
7158 if test "${with_pic+set}" = set; then
7159 withval
=$with_pic; pic_mode
="$withval"
7165 test -z "$pic_mode" && pic_mode
=default
7173 # Check whether --enable-fast-install was given.
7174 if test "${enable_fast_install+set}" = set; then
7175 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7177 yes) enable_fast_install
=yes ;;
7178 no
) enable_fast_install
=no
;;
7180 enable_fast_install
=no
7181 # Look at the argument we got. We use all the common list separators.
7182 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7183 for pkg
in $enableval; do
7185 if test "X$pkg" = "X$p"; then
7186 enable_fast_install
=yes
7193 enable_fast_install
=yes
7206 # This can be used to rebuild libtool when needed
7207 LIBTOOL_DEPS
="$ltmain"
7209 # Always use our own libtool.
7210 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7236 test -z "$LN_S" && LN_S
="ln -s"
7251 if test -n "${ZSH_VERSION+set}" ; then
7252 setopt NO_GLOB_SUBST
7255 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7256 $as_echo_n "checking for objdir... " >&6; }
7257 if test "${lt_cv_objdir+set}" = set; then
7258 $as_echo_n "(cached) " >&6
7260 rm -f .libs
2>/dev
/null
7261 mkdir .libs
2>/dev
/null
7262 if test -d .libs
; then
7265 # MS-DOS does not allow filenames that begin with a dot.
7268 rmdir .libs
2>/dev
/null
7270 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7271 $as_echo "$lt_cv_objdir" >&6; }
7272 objdir
=$lt_cv_objdir
7278 cat >>confdefs.h
<<_ACEOF
7279 #define LT_OBJDIR "$lt_cv_objdir/"
7300 # AIX sometimes has problems with the GCC collect2 program. For some
7301 # reason, if we set the COLLECT_NAMES environment variable, the problems
7302 # vanish in a puff of smoke.
7303 if test "X${COLLECT_NAMES+set}" != Xset
; then
7305 export COLLECT_NAMES
7310 # Sed substitution that helps us do robust quoting. It backslashifies
7311 # metacharacters that are still active within double-quoted strings.
7312 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7314 # Same as above, but do not quote variable references.
7315 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7317 # Sed substitution to delay expansion of an escaped shell variable in a
7318 # double_quote_subst'ed string.
7319 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7321 # Sed substitution to delay expansion of an escaped single quote.
7322 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7324 # Sed substitution to avoid accidental globbing in evaled expressions
7325 no_glob_subst
='s/\*/\\\*/g'
7329 can_build_shared
=yes
7331 # All known linkers require a `.a' archive for static linking (except MSVC,
7332 # which needs '.lib').
7335 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7338 old_CFLAGS
="$CFLAGS"
7340 # Set sane defaults for various variables
7341 test -z "$CC" && CC
=cc
7342 test -z "$LTCC" && LTCC
=$CC
7343 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7344 test -z "$LD" && LD
=ld
7345 test -z "$ac_objext" && ac_objext
=o
7347 for cc_temp
in $compiler""; do
7349 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7350 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7355 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7358 # Only perform the check for file, if the check method requires it
7359 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7360 case $deplibs_check_method in
7362 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7363 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7364 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7365 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7366 $as_echo_n "(cached) " >&6
7370 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7373 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7374 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7375 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7376 for ac_dir
in $ac_dummy; do
7378 test -z "$ac_dir" && ac_dir
=.
7379 if test -f $ac_dir/${ac_tool_prefix}file; then
7380 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7381 if test -n "$file_magic_test_file"; then
7382 case $deplibs_check_method in
7384 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7385 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7386 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7387 $EGREP "$file_magic_regex" > /dev
/null
; then
7392 *** Warning: the command libtool uses to detect shared libraries,
7393 *** $file_magic_cmd, produces output that libtool cannot recognize.
7394 *** The result is that libtool may fail to recognize shared libraries
7395 *** as such. This will affect the creation of libtool libraries that
7396 *** depend on shared libraries, but programs linked with such libtool
7397 *** libraries will work regardless of this problem. Nevertheless, you
7398 *** may want to report the problem to your system manager and/or to
7399 *** bug-libtool@gnu.org
7409 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7414 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7415 if test -n "$MAGIC_CMD"; then
7416 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7417 $as_echo "$MAGIC_CMD" >&6; }
7419 { $as_echo "$as_me:$LINENO: result: no" >&5
7420 $as_echo "no" >&6; }
7427 if test -z "$lt_cv_path_MAGIC_CMD"; then
7428 if test -n "$ac_tool_prefix"; then
7429 { $as_echo "$as_me:$LINENO: checking for file" >&5
7430 $as_echo_n "checking for file... " >&6; }
7431 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7432 $as_echo_n "(cached) " >&6
7436 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7439 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7440 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7441 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7442 for ac_dir
in $ac_dummy; do
7444 test -z "$ac_dir" && ac_dir
=.
7445 if test -f $ac_dir/file; then
7446 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7447 if test -n "$file_magic_test_file"; then
7448 case $deplibs_check_method in
7450 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7451 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7452 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7453 $EGREP "$file_magic_regex" > /dev
/null
; then
7458 *** Warning: the command libtool uses to detect shared libraries,
7459 *** $file_magic_cmd, produces output that libtool cannot recognize.
7460 *** The result is that libtool may fail to recognize shared libraries
7461 *** as such. This will affect the creation of libtool libraries that
7462 *** depend on shared libraries, but programs linked with such libtool
7463 *** libraries will work regardless of this problem. Nevertheless, you
7464 *** may want to report the problem to your system manager and/or to
7465 *** bug-libtool@gnu.org
7475 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7480 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7481 if test -n "$MAGIC_CMD"; then
7482 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7483 $as_echo "$MAGIC_CMD" >&6; }
7485 { $as_echo "$as_me:$LINENO: result: no" >&5
7486 $as_echo "no" >&6; }
7499 # Use C for the default configuration in the libtool script
7503 ac_cpp
='$CPP $CPPFLAGS'
7504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7509 # Source file extension for C test sources.
7512 # Object file extension for compiled C test sources.
7516 # Code to be used in simple compile tests
7517 lt_simple_compile_test_code
="int some_variable = 0;"
7519 # Code to be used in simple link tests
7520 lt_simple_link_test_code
='int main(){return(0);}'
7528 # If no C compiler was specified, use CC.
7531 # If no C compiler flags were specified, use CFLAGS.
7532 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7534 # Allow CC to be a program name with arguments.
7537 # Save the default compiler, since it gets overwritten when the other
7538 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7539 compiler_DEFAULT
=$CC
7541 # save warnings/boilerplate of simple test code
7542 ac_outfile
=conftest.
$ac_objext
7543 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7544 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7545 _lt_compiler_boilerplate
=`cat conftest.err`
7548 ac_outfile
=conftest.
$ac_objext
7549 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7550 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7551 _lt_linker_boilerplate
=`cat conftest.err`
7555 if test -n "$compiler"; then
7557 lt_prog_compiler_no_builtin_flag
=
7559 if test "$GCC" = yes; then
7560 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7562 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7563 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7564 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7565 $as_echo_n "(cached) " >&6
7567 lt_cv_prog_compiler_rtti_exceptions
=no
7568 ac_outfile
=conftest.
$ac_objext
7569 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7570 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7571 # Insert the option either (1) after the last *FLAGS variable, or
7572 # (2) before a word containing "conftest.", or (3) at the end.
7573 # Note that $ac_compile itself does not contain backslashes and begins
7574 # with a dollar sign (not a hyphen), so the echo should work correctly.
7575 # The option is referenced via a variable to avoid confusing sed.
7576 lt_compile
=`echo "$ac_compile" | $SED \
7577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7579 -e 's:$: $lt_compiler_flag:'`
7580 (eval echo "\"\$as_me:7580: $lt_compile\"" >&5)
7581 (eval "$lt_compile" 2>conftest.err
)
7583 cat conftest.err
>&5
7584 echo "$as_me:7584: \$? = $ac_status" >&5
7585 if (exit $ac_status) && test -s "$ac_outfile"; then
7586 # The compiler can only warn and ignore the option if not recognized
7587 # So say no if there are warnings other than the usual output.
7588 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7589 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7590 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7591 lt_cv_prog_compiler_rtti_exceptions
=yes
7597 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7598 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7600 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7601 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7613 lt_prog_compiler_wl
=
7614 lt_prog_compiler_pic
=
7615 lt_prog_compiler_static
=
7617 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7618 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7620 if test "$GCC" = yes; then
7621 lt_prog_compiler_wl
='-Wl,'
7622 lt_prog_compiler_static
='-static'
7626 # All AIX code is PIC.
7627 if test "$host_cpu" = ia64
; then
7628 # AIX 5 now supports IA64 processor
7629 lt_prog_compiler_static
='-Bstatic'
7636 # see comment about AmigaOS4 .so support
7637 lt_prog_compiler_pic
='-fPIC'
7640 # FIXME: we need at least 68020 code to build shared libraries, but
7641 # adding the `-m68020' flag to GCC prevents building anything better,
7643 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7648 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7649 # PIC is the default for these OSes.
7652 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7653 # This hack is so that the source file can tell whether it is being
7654 # built for inclusion in a dll (and should export symbols for example).
7655 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7656 # (--disable-auto-import) libraries
7657 lt_prog_compiler_pic
='-DDLL_EXPORT'
7660 darwin
* | rhapsody
*)
7661 # PIC is the default on this platform
7662 # Common symbols not allowed in MH_DYLIB files
7663 lt_prog_compiler_pic
='-fno-common'
7667 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7668 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7669 # sets the default TLS model and affects inlining.
7675 lt_prog_compiler_pic
='-fPIC'
7681 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7682 # Instead, we relocate shared libraries at runtime.
7686 # Just because we use GCC doesn't mean we suddenly get shared libraries
7687 # on systems that don't support them.
7688 lt_prog_compiler_can_build_shared
=no
7693 # QNX uses GNU C++, but need to define -shared option too, otherwise
7695 lt_prog_compiler_pic
='-fPIC -shared'
7699 if test -d /usr
/nec
; then
7700 lt_prog_compiler_pic
=-Kconform_pic
7705 lt_prog_compiler_pic
='-fPIC'
7709 # PORTME Check for flag to pass linker flags through the system compiler.
7712 lt_prog_compiler_wl
='-Wl,'
7713 if test "$host_cpu" = ia64
; then
7714 # AIX 5 now supports IA64 processor
7715 lt_prog_compiler_static
='-Bstatic'
7717 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7721 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7722 # This hack is so that the source file can tell whether it is being
7723 # built for inclusion in a dll (and should export symbols for example).
7724 lt_prog_compiler_pic
='-DDLL_EXPORT'
7727 hpux9
* | hpux10
* | hpux11
*)
7728 lt_prog_compiler_wl
='-Wl,'
7729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7736 lt_prog_compiler_pic
='+Z'
7739 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7740 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7743 irix5
* | irix6
* | nonstopux
*)
7744 lt_prog_compiler_wl
='-Wl,'
7745 # PIC (with -KPIC) is the default.
7746 lt_prog_compiler_static
='-non_shared'
7749 linux
* | k
*bsd
*-gnu)
7750 case $cc_basename in
7751 # old Intel for x86_64 which still supported -KPIC.
7753 lt_prog_compiler_wl
='-Wl,'
7754 lt_prog_compiler_pic
='-KPIC'
7755 lt_prog_compiler_static
='-static'
7757 # icc used to be incompatible with GCC.
7758 # ICC 10 doesn't accept -KPIC any more.
7760 lt_prog_compiler_wl
='-Wl,'
7761 lt_prog_compiler_pic
='-fPIC'
7762 lt_prog_compiler_static
='-static'
7764 # Lahey Fortran 8.1.
7766 lt_prog_compiler_wl
='-Wl,'
7767 lt_prog_compiler_pic
='--shared'
7768 lt_prog_compiler_static
='--static'
7770 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7771 # Portland Group compilers (*not* the Pentium gcc compiler,
7772 # which looks to be a dead project)
7773 lt_prog_compiler_wl
='-Wl,'
7774 lt_prog_compiler_pic
='-fpic'
7775 lt_prog_compiler_static
='-Bstatic'
7778 lt_prog_compiler_wl
='-Wl,'
7779 # All Alpha code is PIC.
7780 lt_prog_compiler_static
='-non_shared'
7783 # IBM XL C 8.0/Fortran 10.1 on PPC
7784 lt_prog_compiler_wl
='-Wl,'
7785 lt_prog_compiler_pic
='-qpic'
7786 lt_prog_compiler_static
='-qstaticlink'
7789 case `$CC -V 2>&1 | sed 5q` in
7792 lt_prog_compiler_pic
='-KPIC'
7793 lt_prog_compiler_static
='-Bstatic'
7794 lt_prog_compiler_wl
='-Wl,'
7797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7798 lt_prog_compiler_pic
='-KPIC'
7799 lt_prog_compiler_static
='-Bstatic'
7800 lt_prog_compiler_wl
=''
7808 lt_prog_compiler_pic
='-KPIC'
7809 lt_prog_compiler_static
='-Bstatic'
7813 # QNX uses GNU C++, but need to define -shared option too, otherwise
7815 lt_prog_compiler_pic
='-fPIC -shared'
7818 osf3
* | osf4
* | osf5
*)
7819 lt_prog_compiler_wl
='-Wl,'
7820 # All OSF/1 code is PIC.
7821 lt_prog_compiler_static
='-non_shared'
7825 lt_prog_compiler_static
='-non_shared'
7829 lt_prog_compiler_pic
='-KPIC'
7830 lt_prog_compiler_static
='-Bstatic'
7831 case $cc_basename in
7833 lt_prog_compiler_wl
='-Qoption ld ';;
7835 lt_prog_compiler_wl
='-Wl,';;
7840 lt_prog_compiler_wl
='-Qoption ld '
7841 lt_prog_compiler_pic
='-PIC'
7842 lt_prog_compiler_static
='-Bstatic'
7845 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7846 lt_prog_compiler_wl
='-Wl,'
7847 lt_prog_compiler_pic
='-KPIC'
7848 lt_prog_compiler_static
='-Bstatic'
7852 if test -d /usr
/nec
;then
7853 lt_prog_compiler_pic
='-Kconform_pic'
7854 lt_prog_compiler_static
='-Bstatic'
7858 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7859 lt_prog_compiler_wl
='-Wl,'
7860 lt_prog_compiler_pic
='-KPIC'
7861 lt_prog_compiler_static
='-Bstatic'
7865 lt_prog_compiler_wl
='-Wl,'
7866 lt_prog_compiler_can_build_shared
=no
7870 lt_prog_compiler_pic
='-pic'
7871 lt_prog_compiler_static
='-Bstatic'
7875 lt_prog_compiler_can_build_shared
=no
7881 # For platforms which do not support PIC, -DPIC is meaningless:
7883 lt_prog_compiler_pic
=
7886 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7889 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7890 $as_echo "$lt_prog_compiler_pic" >&6; }
7898 # Check to make sure the PIC flag actually works.
7900 if test -n "$lt_prog_compiler_pic"; then
7901 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7902 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7903 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7904 $as_echo_n "(cached) " >&6
7906 lt_cv_prog_compiler_pic_works
=no
7907 ac_outfile
=conftest.
$ac_objext
7908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7909 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7910 # Insert the option either (1) after the last *FLAGS variable, or
7911 # (2) before a word containing "conftest.", or (3) at the end.
7912 # Note that $ac_compile itself does not contain backslashes and begins
7913 # with a dollar sign (not a hyphen), so the echo should work correctly.
7914 # The option is referenced via a variable to avoid confusing sed.
7915 lt_compile
=`echo "$ac_compile" | $SED \
7916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7918 -e 's:$: $lt_compiler_flag:'`
7919 (eval echo "\"\$as_me:7919: $lt_compile\"" >&5)
7920 (eval "$lt_compile" 2>conftest.err
)
7922 cat conftest.err
>&5
7923 echo "$as_me:7923: \$? = $ac_status" >&5
7924 if (exit $ac_status) && test -s "$ac_outfile"; then
7925 # The compiler can only warn and ignore the option if not recognized
7926 # So say no if there are warnings other than the usual output.
7927 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7928 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7929 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7930 lt_cv_prog_compiler_pic_works
=yes
7936 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7937 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7939 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7940 case $lt_prog_compiler_pic in
7942 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7945 lt_prog_compiler_pic
=
7946 lt_prog_compiler_can_build_shared
=no
7957 # Check to make sure the static flag actually works.
7959 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7960 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7961 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7962 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7963 $as_echo_n "(cached) " >&6
7965 lt_cv_prog_compiler_static_works
=no
7966 save_LDFLAGS
="$LDFLAGS"
7967 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7968 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7969 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7970 # The linker can only warn and ignore the option if not recognized
7971 # So say no if there are warnings
7972 if test -s conftest.err
; then
7973 # Append any errors to the config.log.
7974 cat conftest.err
1>&5
7975 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7976 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7977 if diff conftest.exp conftest.er2
>/dev
/null
; then
7978 lt_cv_prog_compiler_static_works
=yes
7981 lt_cv_prog_compiler_static_works
=yes
7985 LDFLAGS
="$save_LDFLAGS"
7988 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7989 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7991 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7994 lt_prog_compiler_static
=
8003 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8004 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8005 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8006 $as_echo_n "(cached) " >&6
8008 lt_cv_prog_compiler_c_o
=no
8009 $RM -r conftest
2>/dev
/null
8013 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8015 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8016 # Insert the option either (1) after the last *FLAGS variable, or
8017 # (2) before a word containing "conftest.", or (3) at the end.
8018 # Note that $ac_compile itself does not contain backslashes and begins
8019 # with a dollar sign (not a hyphen), so the echo should work correctly.
8020 lt_compile
=`echo "$ac_compile" | $SED \
8021 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8023 -e 's:$: $lt_compiler_flag:'`
8024 (eval echo "\"\$as_me:8024: $lt_compile\"" >&5)
8025 (eval "$lt_compile" 2>out
/conftest.err
)
8027 cat out
/conftest.err
>&5
8028 echo "$as_me:8028: \$? = $ac_status" >&5
8029 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8031 # The compiler can only warn and ignore the option if not recognized
8032 # So say no if there are warnings
8033 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8034 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8035 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8036 lt_cv_prog_compiler_c_o
=yes
8041 # SGI C++ compiler will create directory out/ii_files/ for
8042 # template instantiation
8043 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8044 $RM out
/* && rmdir out
8050 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8051 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8058 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8059 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8060 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8061 $as_echo_n "(cached) " >&6
8063 lt_cv_prog_compiler_c_o
=no
8064 $RM -r conftest
2>/dev
/null
8068 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8070 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8071 # Insert the option either (1) after the last *FLAGS variable, or
8072 # (2) before a word containing "conftest.", or (3) at the end.
8073 # Note that $ac_compile itself does not contain backslashes and begins
8074 # with a dollar sign (not a hyphen), so the echo should work correctly.
8075 lt_compile
=`echo "$ac_compile" | $SED \
8076 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8077 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8078 -e 's:$: $lt_compiler_flag:'`
8079 (eval echo "\"\$as_me:8079: $lt_compile\"" >&5)
8080 (eval "$lt_compile" 2>out
/conftest.err
)
8082 cat out
/conftest.err
>&5
8083 echo "$as_me:8083: \$? = $ac_status" >&5
8084 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8086 # The compiler can only warn and ignore the option if not recognized
8087 # So say no if there are warnings
8088 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8089 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8090 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8091 lt_cv_prog_compiler_c_o
=yes
8096 # SGI C++ compiler will create directory out/ii_files/ for
8097 # template instantiation
8098 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8099 $RM out
/* && rmdir out
8105 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8106 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8111 hard_links
="nottested"
8112 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8113 # do not overwrite the value of need_locks provided by the user
8114 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8115 $as_echo_n "checking if we can lock with hard links... " >&6; }
8118 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8120 ln conftest.a conftest.b
2>&5 || hard_links
=no
8121 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8122 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8123 $as_echo "$hard_links" >&6; }
8124 if test "$hard_links" = no
; then
8125 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8126 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8138 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8139 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8142 allow_undefined_flag
=
8143 always_export_symbols
=no
8145 archive_expsym_cmds
=
8146 compiler_needs_object
=no
8147 enable_shared_with_static_runtimes
=no
8148 export_dynamic_flag_spec
=
8149 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8150 hardcode_automatic
=no
8152 hardcode_direct_absolute
=no
8153 hardcode_libdir_flag_spec
=
8154 hardcode_libdir_flag_spec_ld
=
8155 hardcode_libdir_separator
=
8157 hardcode_shlibpath_var
=unsupported
8159 link_all_deplibs
=unknown
8162 old_archive_from_new_cmds
=
8163 old_archive_from_expsyms_cmds
=
8164 thread_safe_flag_spec
=
8165 whole_archive_flag_spec
=
8166 # include_expsyms should be a list of space-separated symbols to be *always*
8167 # included in the symbol list
8169 # exclude_expsyms can be an extended regexp of symbols to exclude
8170 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8171 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8172 # as well as any symbol that contains `d'.
8173 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8174 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8175 # platforms (ab)use it in PIC code, but their linkers get confused if
8176 # the symbol is explicitly referenced. Since portable code cannot
8177 # rely on this symbol name, it's probably fine to never include it in
8178 # preloaded symbol tables.
8179 # Exclude shared library initialization/finalization symbols.
8180 extract_expsyms_cmds
=
8183 cygwin
* | mingw
* | pw32
* | cegcc
*)
8184 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8185 # When not using gcc, we currently assume that we are using
8186 # Microsoft Visual C++.
8187 if test "$GCC" != yes; then
8192 # we just hope/assume this is gcc and not c89 (= MSVC++)
8201 if test "$with_gnu_ld" = yes; then
8202 # If archive_cmds runs LD, not CC, wlarc should be empty
8205 # Set some defaults for GNU ld with shared library support. These
8206 # are reset later if shared libraries are not supported. Putting them
8207 # here allows them to be overridden if necessary.
8208 runpath_var
=LD_RUN_PATH
8209 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8210 export_dynamic_flag_spec
='${wl}--export-dynamic'
8211 # ancient GNU ld didn't support --whole-archive et. al.
8212 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8213 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8215 whole_archive_flag_spec
=
8217 supports_anon_versioning
=no
8218 case `$LD -v 2>&1` in
8219 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8220 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8221 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8222 *\
2.11.
*) ;; # other 2.11 versions
8223 *) supports_anon_versioning
=yes ;;
8226 # See if GNU ld supports shared libraries.
8229 # On AIX/PPC, the GNU linker is very broken
8230 if test "$host_cpu" != ia64
; then
8234 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8235 *** to be unable to reliably create shared libraries on AIX.
8236 *** Therefore, libtool is disabling shared libraries support. If you
8237 *** really care for shared libraries, you may want to modify your PATH
8238 *** so that a non-GNU linker is found, and then restart.
8247 # see comment about AmigaOS4 .so support
8248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8249 archive_expsym_cmds
=''
8252 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)'
8253 hardcode_libdir_flag_spec
='-L$libdir'
8254 hardcode_minus_L
=yes
8260 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8261 allow_undefined_flag
=unsupported
8262 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8263 # support --undefined. This deserves some investigation. FIXME
8264 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8270 cygwin
* | mingw
* | pw32
* | cegcc
*)
8271 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8272 # as there is no search path for DLLs.
8273 hardcode_libdir_flag_spec
='-L$libdir'
8274 allow_undefined_flag
=unsupported
8275 always_export_symbols
=no
8276 enable_shared_with_static_runtimes
=yes
8277 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8279 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8280 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8281 # If the export-symbols file already is a .def file (1st line
8282 # is EXPORTS), use it as is; otherwise, prepend...
8283 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8284 cp $export_symbols $output_objdir/$soname.def;
8286 echo EXPORTS > $output_objdir/$soname.def;
8287 cat $export_symbols >> $output_objdir/$soname.def;
8289 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8297 hardcode_shlibpath_var
=no
8298 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8299 export_dynamic_flag_spec
='${wl}-E'
8300 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8301 # Instead, shared libraries are loaded at an image base (0x10000000 by
8302 # default) and relocated if they conflict, which is a slow very memory
8303 # consuming and fragmenting process. To avoid this, we pick a random,
8304 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8305 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8306 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8307 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'
8310 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8312 if test "$host_os" = linux-dietlibc
; then
8313 case $cc_basename in
8314 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8317 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8318 && test "$tmp_diet" = no
8321 tmp_sharedflag
='-shared'
8322 case $cc_basename,$host_cpu in
8323 pgcc
*) # Portland Group C compiler
8324 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'
8325 tmp_addflag
=' $pic_flag'
8327 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8328 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'
8329 tmp_addflag
=' $pic_flag -Mnomain' ;;
8330 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8331 tmp_addflag
=' -i_dynamic' ;;
8332 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8333 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8334 ifc
* | ifort
*) # Intel Fortran compiler
8335 tmp_addflag
=' -nofor_main' ;;
8336 lf95
*) # Lahey Fortran 8.1
8337 whole_archive_flag_spec
=
8338 tmp_sharedflag
='--shared' ;;
8339 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8340 tmp_sharedflag
='-qmkshrobj'
8343 case `$CC -V 2>&1 | sed 5q` in
8344 *Sun\ C
*) # Sun C 5.9
8345 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'
8346 compiler_needs_object
=yes
8347 tmp_sharedflag
='-G' ;;
8348 *Sun\ F
*) # Sun Fortran 8.3
8349 tmp_sharedflag
='-G' ;;
8351 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8353 if test "x$supports_anon_versioning" = xyes
; then
8354 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8355 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8356 echo "local: *; };" >> $output_objdir/$libname.ver~
8357 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8360 case $cc_basename in
8362 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8363 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8364 hardcode_libdir_flag_spec
=
8365 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8366 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8367 if test "x$supports_anon_versioning" = xyes
; then
8368 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8369 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8370 echo "local: *; };" >> $output_objdir/$libname.ver~
8371 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8380 netbsd
* | netbsdelf
*-gnu)
8381 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8382 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8385 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8386 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8391 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8395 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8396 *** create shared libraries on Solaris systems. Therefore, libtool
8397 *** is disabling shared libraries support. We urge you to upgrade GNU
8398 *** binutils to release 2.9.1 or newer. Another option is to modify
8399 *** your PATH or compiler configuration so that the native linker is
8400 *** used, and then restart.
8403 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8404 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8405 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8411 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8412 case `$LD -v 2>&1` in
8413 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8417 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8418 *** reliably create shared libraries on SCO systems. Therefore, libtool
8419 *** is disabling shared libraries support. We urge you to upgrade GNU
8420 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8421 *** your PATH or compiler configuration so that the native linker is
8422 *** used, and then restart.
8427 # For security reasons, it is highly recommended that you always
8428 # use absolute paths for naming shared libraries, and exclude the
8429 # DT_RUNPATH tag from executables and libraries. But doing so
8430 # requires that you compile everything twice, which is a pain.
8431 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8432 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8433 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8434 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8443 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8446 hardcode_shlibpath_var
=no
8450 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8451 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8452 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8459 if test "$ld_shlibs" = no
; then
8461 hardcode_libdir_flag_spec
=
8462 export_dynamic_flag_spec
=
8463 whole_archive_flag_spec
=
8466 # PORTME fill in a description of your system's linker (not GNU ld)
8469 allow_undefined_flag
=unsupported
8470 always_export_symbols
=yes
8471 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'
8472 # Note: this linker hardcodes the directories in LIBPATH if there
8473 # are no directories specified by -L.
8474 hardcode_minus_L
=yes
8475 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8476 # Neither direct hardcoding nor static linking is supported with a
8478 hardcode_direct
=unsupported
8483 if test "$host_cpu" = ia64
; then
8484 # On IA64, the linker does run time linking by default, so we don't
8485 # have to do anything special.
8486 aix_use_runtimelinking
=no
8487 exp_sym_flag
='-Bexport'
8490 # If we're using GNU nm, then we don't want the "-C" option.
8491 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8492 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8493 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'
8495 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'
8497 aix_use_runtimelinking
=no
8499 # Test if we are trying to use run time linking or normal
8500 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8501 # need to do runtime linking.
8502 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8503 for ld_flag
in $LDFLAGS; do
8504 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8505 aix_use_runtimelinking
=yes
8512 exp_sym_flag
='-bexport'
8513 no_entry_flag
='-bnoentry'
8516 # When large executables or shared objects are built, AIX ld can
8517 # have problems creating the table of contents. If linking a library
8518 # or program results in "error TOC overflow" add -mminimal-toc to
8519 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8520 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8524 hardcode_direct_absolute
=yes
8525 hardcode_libdir_separator
=':'
8526 link_all_deplibs
=yes
8527 file_list_spec
='${wl}-f,'
8529 if test "$GCC" = yes; then
8530 case $host_os in aix4.
[012]|aix4.
[012].
*)
8531 # We only want to do this on AIX 4.2 and lower, the check
8532 # below for broken collect2 doesn't work under 4.3+
8533 collect2name
=`${CC} -print-prog-name=collect2`
8534 if test -f "$collect2name" &&
8535 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8537 # We have reworked collect2
8540 # We have old collect2
8541 hardcode_direct
=unsupported
8542 # It fails to find uninstalled libraries when the uninstalled
8543 # path is not listed in the libpath. Setting hardcode_minus_L
8544 # to unsupported forces relinking
8545 hardcode_minus_L
=yes
8546 hardcode_libdir_flag_spec
='-L$libdir'
8547 hardcode_libdir_separator
=
8551 shared_flag
='-shared'
8552 if test "$aix_use_runtimelinking" = yes; then
8553 shared_flag
="$shared_flag "'${wl}-G'
8558 if test "$host_cpu" = ia64
; then
8559 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8560 # chokes on -Wl,-G. The following line is correct:
8563 if test "$aix_use_runtimelinking" = yes; then
8564 shared_flag
='${wl}-G'
8566 shared_flag
='${wl}-bM:SRE'
8571 export_dynamic_flag_spec
='${wl}-bexpall'
8572 # It seems that -bexpall does not export symbols beginning with
8573 # underscore (_), so it is better to generate a list of symbols to export.
8574 always_export_symbols
=yes
8575 if test "$aix_use_runtimelinking" = yes; then
8576 # Warning - without using the other runtime loading flags (-brtl),
8577 # -berok will link without error, but may produce a broken library.
8578 allow_undefined_flag
='-berok'
8579 # Determine the default libpath from the value encoded in an
8581 cat >conftest.
$ac_ext <<_ACEOF
8584 cat confdefs.h
>>conftest.
$ac_ext
8585 cat >>conftest.
$ac_ext <<_ACEOF
8586 /* end confdefs.h. */
8596 rm -f conftest.
$ac_objext conftest
$ac_exeext
8597 if { (ac_try
="$ac_link"
8599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8600 *) ac_try_echo=$ac_try;;
8602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8603 $as_echo "$ac_try_echo") >&5
8604 (eval "$ac_link") 2>conftest.er1
8606 grep -v '^ *+' conftest.er1 >conftest.err
8608 cat conftest.err >&5
8609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } && {
8611 test -z "$ac_c_werror_flag" ||
8612 test ! -s conftest.err
8613 } && test -s conftest$ac_exeext && {
8614 test "$cross_compiling" = yes ||
8615 $as_test_x conftest$ac_exeext
8618 lt_aix_libpath_sed='
8619 /Import File Strings/,/^$/ {
8625 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8626 # Check for a 64-bit object if we didn't find anything.
8627 if test -z "$aix_libpath"; then
8628 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8631 $as_echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8637 rm -rf conftest.dSYM
8638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8639 conftest$ac_exeext conftest.$ac_ext
8640 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8642 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8643 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"
8645 if test "$host_cpu" = ia64; then
8646 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8647 allow_undefined_flag="-z nodefs"
8648 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"
8650 # Determine the default libpath from the value encoded in an
8652 cat >conftest.$ac_ext <<_ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8667 rm -f conftest.$ac_objext conftest$ac_exeext
8668 if { (ac_try="$ac_link"
8670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8671 *) ac_try_echo
=$ac_try;;
8673 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8674 $as_echo "$ac_try_echo") >&5
8675 (eval "$ac_link") 2>conftest.er1
8677 grep -v '^ *+' conftest.er1
>conftest.err
8679 cat conftest.err
>&5
8680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } && {
8682 test -z "$ac_c_werror_flag" ||
8683 test ! -s conftest.err
8684 } && test -s conftest
$ac_exeext && {
8685 test "$cross_compiling" = yes ||
8686 $as_test_x conftest
$ac_exeext
8689 lt_aix_libpath_sed
='
8690 /Import File Strings/,/^$/ {
8696 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8697 # Check for a 64-bit object if we didn't find anything.
8698 if test -z "$aix_libpath"; then
8699 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8702 $as_echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.
$ac_ext >&5
8708 rm -rf conftest.dSYM
8709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8710 conftest
$ac_exeext conftest.
$ac_ext
8711 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8713 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8714 # Warning - without using the other run time loading flags,
8715 # -berok will link without error, but may produce a broken library.
8716 no_undefined_flag
=' ${wl}-bernotok'
8717 allow_undefined_flag
=' ${wl}-berok'
8718 # Exported symbols can be pulled into shared objects from archives
8719 whole_archive_flag_spec
='$convenience'
8720 archive_cmds_need_lc
=yes
8721 # This is similar to how AIX traditionally builds its shared libraries.
8722 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'
8730 # see comment about AmigaOS4 .so support
8731 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8732 archive_expsym_cmds
=''
8735 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)'
8736 hardcode_libdir_flag_spec
='-L$libdir'
8737 hardcode_minus_L
=yes
8743 export_dynamic_flag_spec
=-rdynamic
8746 cygwin
* | mingw
* | pw32
* | cegcc
*)
8747 # When not using gcc, we currently assume that we are using
8748 # Microsoft Visual C++.
8749 # hardcode_libdir_flag_spec is actually meaningless, as there is
8750 # no search path for DLLs.
8751 hardcode_libdir_flag_spec
=' '
8752 allow_undefined_flag
=unsupported
8753 # Tell ltmain to make .lib files, not .a files.
8755 # Tell ltmain to make .dll files, not .so files.
8757 # FIXME: Setting linknames here is a bad hack.
8758 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8759 # The linker will automatically build a .lib file if we build a DLL.
8760 old_archive_from_new_cmds
='true'
8761 # FIXME: Should let the user specify the lib program.
8762 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8763 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8764 enable_shared_with_static_runtimes
=yes
8767 darwin
* | rhapsody
*)
8770 archive_cmds_need_lc
=no
8772 hardcode_automatic
=yes
8773 hardcode_shlibpath_var
=unsupported
8774 whole_archive_flag_spec
=''
8775 link_all_deplibs
=yes
8776 allow_undefined_flag
="$_lt_dar_allow_undefined"
8777 case $cc_basename in
8778 ifort
*) _lt_dar_can_shared
=yes ;;
8779 *) _lt_dar_can_shared
=$GCC ;;
8781 if test "$_lt_dar_can_shared" = "yes"; then
8782 output_verbose_link_cmd
=echo
8783 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8784 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8785 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}"
8786 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}"
8795 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8796 hardcode_libdir_flag_spec
='-L$libdir'
8797 hardcode_shlibpath_var
=no
8804 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8805 # support. Future versions do this automatically, but an explicit c++rt0.o
8806 # does not break anything, and helps significantly (at the cost of a little
8809 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8810 hardcode_libdir_flag_spec
='-R$libdir'
8812 hardcode_shlibpath_var
=no
8815 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8817 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8819 hardcode_minus_L
=yes
8820 hardcode_shlibpath_var
=no
8823 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8824 freebsd
* | dragonfly
*)
8825 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8826 hardcode_libdir_flag_spec
='-R$libdir'
8828 hardcode_shlibpath_var
=no
8832 if test "$GCC" = yes; then
8833 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'
8835 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'
8837 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8838 hardcode_libdir_separator
=:
8841 # hardcode_minus_L: Not really in the search PATH,
8842 # but as the default location of the library.
8843 hardcode_minus_L
=yes
8844 export_dynamic_flag_spec
='${wl}-E'
8848 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8849 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8851 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8853 if test "$with_gnu_ld" = no
; then
8854 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8855 hardcode_libdir_flag_spec_ld
='+b $libdir'
8856 hardcode_libdir_separator
=:
8858 hardcode_direct_absolute
=yes
8859 export_dynamic_flag_spec
='${wl}-E'
8860 # hardcode_minus_L: Not really in the search PATH,
8861 # but as the default location of the library.
8862 hardcode_minus_L
=yes
8867 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8870 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8873 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8876 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8882 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8885 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8888 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8892 if test "$with_gnu_ld" = no
; then
8893 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8894 hardcode_libdir_separator
=:
8899 hardcode_shlibpath_var
=no
8903 hardcode_direct_absolute
=yes
8904 export_dynamic_flag_spec
='${wl}-E'
8906 # hardcode_minus_L: Not really in the search PATH,
8907 # but as the default location of the library.
8908 hardcode_minus_L
=yes
8914 irix5
* | irix6
* | nonstopux
*)
8915 if test "$GCC" = yes; then
8916 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'
8917 # Try to use the -exported_symbol ld option, if it does not
8918 # work, assume that -exports_file does not work either and
8919 # implicitly export all symbols.
8920 save_LDFLAGS
="$LDFLAGS"
8921 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8922 cat >conftest.
$ac_ext <<_ACEOF
8925 rm -f conftest.
$ac_objext conftest
$ac_exeext
8926 if { (ac_try
="$ac_link"
8928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8929 *) ac_try_echo=$ac_try;;
8931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8932 $as_echo "$ac_try_echo") >&5
8933 (eval "$ac_link") 2>conftest.er1
8935 grep -v '^ *+' conftest.er1 >conftest.err
8937 cat conftest.err >&5
8938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } && {
8940 test -z "$ac_c_werror_flag" ||
8941 test ! -s conftest.err
8942 } && test -s conftest$ac_exeext && {
8943 test "$cross_compiling" = yes ||
8944 $as_test_x conftest$ac_exeext
8946 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'
8949 $as_echo "$as_me: failed program was:" >&5
8950 sed 's/^/| /' conftest.$ac_ext >&5
8955 rm -rf conftest.dSYM
8956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8957 conftest$ac_exeext conftest.$ac_ext
8958 LDFLAGS="$save_LDFLAGS"
8960 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'
8961 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'
8963 archive_cmds_need_lc='no'
8964 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8965 hardcode_libdir_separator=:
8967 link_all_deplibs=yes
8970 netbsd* | netbsdelf*-gnu)
8971 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8972 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8974 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8976 hardcode_libdir_flag_spec='-R$libdir'
8978 hardcode_shlibpath_var=no
8982 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8985 hardcode_libdir_separator=:
8986 hardcode_shlibpath_var=no
8993 if test -f /usr/libexec/ld.so; then
8995 hardcode_shlibpath_var=no
8996 hardcode_direct_absolute=yes
8997 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8998 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9000 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9001 export_dynamic_flag_spec='${wl}-E'
9004 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9005 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9006 hardcode_libdir_flag_spec='-R$libdir'
9009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9010 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9020 hardcode_libdir_flag_spec='-L$libdir'
9021 hardcode_minus_L=yes
9022 allow_undefined_flag=unsupported
9023 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'
9024 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9028 if test "$GCC" = yes; then
9029 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9030 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'
9032 allow_undefined_flag=' -expect_unresolved \*'
9033 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'
9035 archive_cmds_need_lc='no'
9036 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9037 hardcode_libdir_separator=:
9040 osf4* | osf5*) # as osf3* with the addition of -msym flag
9041 if test "$GCC" = yes; then
9042 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9043 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'
9044 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046 allow_undefined_flag=' -expect_unresolved \*'
9047 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'
9048 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~
9049 $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'
9051 # Both c and cxx compiler support -rpath directly
9052 hardcode_libdir_flag_spec='-rpath $libdir'
9054 archive_cmds_need_lc='no'
9055 hardcode_libdir_separator=:
9059 no_undefined_flag=' -z defs'
9060 if test "$GCC" = yes; then
9062 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9063 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9064 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9066 case `$CC -V 2>&1` in
9069 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9070 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9071 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9075 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9077 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9081 hardcode_libdir_flag_spec='-R$libdir'
9082 hardcode_shlibpath_var=no
9084 solaris2.[0-5] | solaris2.[0-5].*) ;;
9086 # The compiler driver will combine and reorder linker options,
9087 # but understands `-z linker_flag
'. GCC discards it without `$wl',
9088 # but is careful enough not to reorder.
9089 # Supported since Solaris 2.6 (maybe 2.5.1?)
9090 if test "$GCC" = yes; then
9091 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9093 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9097 link_all_deplibs
=yes
9101 if test "x$host_vendor" = xsequent
; then
9102 # Use $CC to link under sequent, because it throws in some extra .o
9103 # files that make .init and .fini sections work.
9104 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9106 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9108 hardcode_libdir_flag_spec
='-L$libdir'
9110 hardcode_minus_L
=yes
9111 hardcode_shlibpath_var
=no
9115 case $host_vendor in
9117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9118 hardcode_direct
=yes # is this really true???
9121 ## LD is ld it makes a PLAMLIB
9122 ## CC just makes a GrossModule.
9123 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9124 reload_cmds
='$CC -r -o $output$reload_objs'
9128 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9129 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9132 runpath_var
='LD_RUN_PATH'
9133 hardcode_shlibpath_var
=no
9137 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9138 hardcode_shlibpath_var
=no
9139 export_dynamic_flag_spec
='-Bexport'
9143 if test -d /usr
/nec
; then
9144 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9145 hardcode_shlibpath_var
=no
9146 runpath_var
=LD_RUN_PATH
9147 hardcode_runpath_var
=yes
9152 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9153 no_undefined_flag
='${wl}-z,text'
9154 archive_cmds_need_lc
=no
9155 hardcode_shlibpath_var
=no
9156 runpath_var
='LD_RUN_PATH'
9158 if test "$GCC" = yes; then
9159 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9160 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9162 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9163 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9167 sysv5
* | sco3.2v5
* | sco5v6
*)
9168 # Note: We can NOT use -z defs as we might desire, because we do not
9169 # link with -lc, and that would cause any symbols used from libc to
9170 # always be unresolved, which means just about no library would
9171 # ever link correctly. If we're not using GNU ld we use -z text
9172 # though, which does catch some bad symbols but isn't as heavy-handed
9174 no_undefined_flag
='${wl}-z,text'
9175 allow_undefined_flag
='${wl}-z,nodefs'
9176 archive_cmds_need_lc
=no
9177 hardcode_shlibpath_var
=no
9178 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9179 hardcode_libdir_separator
=':'
9180 link_all_deplibs
=yes
9181 export_dynamic_flag_spec
='${wl}-Bexport'
9182 runpath_var
='LD_RUN_PATH'
9184 if test "$GCC" = yes; then
9185 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9186 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9189 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9195 hardcode_libdir_flag_spec
='-L$libdir'
9196 hardcode_shlibpath_var
=no
9204 if test x
$host_vendor = xsni
; then
9206 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9207 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9213 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9214 $as_echo "$ld_shlibs" >&6; }
9215 test "$ld_shlibs" = no
&& can_build_shared
=no
9217 with_gnu_ld
=$with_gnu_ld
9234 # Do we need to explicitly link libc?
9236 case "x$archive_cmds_need_lc" in
9238 # Assume -lc should be added
9239 archive_cmds_need_lc
=yes
9241 if test "$enable_shared" = yes && test "$GCC" = yes; then
9242 case $archive_cmds in
9244 # FIXME: we may have to deal with multi-command sequences.
9247 # Test whether the compiler implicitly links with -lc since on some
9248 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9249 # to ld, don't add -lc before -lgcc.
9250 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9251 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9253 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9256 (eval $ac_compile) 2>&5
9258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } 2>conftest.err
; then
9262 libobjs
=conftest.
$ac_objext
9264 wl
=$lt_prog_compiler_wl
9265 pic_flag
=$lt_prog_compiler_pic
9271 lt_save_allow_undefined_flag
=$allow_undefined_flag
9272 allow_undefined_flag
=
9273 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9274 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); }
9279 archive_cmds_need_lc
=no
9281 archive_cmds_need_lc
=yes
9283 allow_undefined_flag
=$lt_save_allow_undefined_flag
9285 cat conftest.err
1>&5
9288 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9289 $as_echo "$archive_cmds_need_lc" >&6; }
9452 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9453 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9455 if test "$GCC" = yes; then
9457 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9458 *) lt_awk_arg
="/^libraries:/" ;;
9460 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9461 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9462 # if the path contains ";" then we assume it to be the separator
9463 # otherwise default to the standard path separator (i.e. ":") - it is
9464 # assumed that no part of a normal pathname contains ";" but that should
9465 # okay in the real world where ";" in dirpaths is itself problematic.
9466 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9468 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9470 # Ok, now we have the path, separated by spaces, we can step through it
9471 # and add multilib dir if necessary.
9472 lt_tmp_lt_search_path_spec
=
9473 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9474 for lt_sys_path
in $lt_search_path_spec; do
9475 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9476 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9478 test -d "$lt_sys_path" && \
9479 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9482 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9483 BEGIN {RS=" "; FS="/|\n";} {
9486 for (lt_i = NF; lt_i > 0; lt_i--) {
9487 if ($lt_i != "" && $lt_i != ".") {
9488 if ($lt_i == "..") {
9491 if (lt_count == 0) {
9492 lt_foo="/" $lt_i lt_foo;
9499 if (lt_foo != "") { lt_freq[lt_foo]++; }
9500 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9502 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9504 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9507 libname_spec
='lib$name'
9515 shlibpath_overrides_runpath
=unknown
9517 dynamic_linker
="$host_os ld.so"
9518 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9519 need_lib_prefix
=unknown
9520 hardcode_into_libs
=no
9522 # when you set need_version to no, make sure it does not cause -set_version
9523 # flags to be left without arguments
9524 need_version
=unknown
9529 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9530 shlibpath_var
=LIBPATH
9532 # AIX 3 has no versioning support, so we append a major version to the name.
9533 soname_spec
='${libname}${release}${shared_ext}$major'
9540 hardcode_into_libs
=yes
9541 if test "$host_cpu" = ia64
; then
9542 # AIX 5 supports IA64
9543 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9544 shlibpath_var
=LD_LIBRARY_PATH
9546 # With GCC up to 2.95.x, collect2 would create an import file
9547 # for dependence libraries. The import file would start with
9548 # the line `#! .'. This would cause the generated library to
9549 # depend on `.', always an invalid library. This was fixed in
9550 # development snapshots of GCC prior to 3.0.
9552 aix4 | aix4.
[01] | aix4.
[01].
*)
9553 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9555 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9562 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9563 # soname into executable. Probably we can add versioning support to
9564 # collect2, so additional links can be useful in future.
9565 if test "$aix_use_runtimelinking" = yes; then
9566 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9567 # instead of lib<name>.a to let people know that these are not
9568 # typical AIX shared libraries.
9569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9571 # We preserve .a as extension for shared libraries through AIX4.2
9572 # and later when we are not doing run time linking.
9573 library_names_spec
='${libname}${release}.a $libname.a'
9574 soname_spec
='${libname}${release}${shared_ext}$major'
9576 shlibpath_var
=LIBPATH
9583 # Since July 2007 AmigaOS4 officially supports .so libraries.
9584 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9588 library_names_spec
='$libname.ixlibrary $libname.a'
9589 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9590 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'
9596 library_names_spec
='${libname}${shared_ext}'
9597 dynamic_linker
="$host_os ld.so"
9598 shlibpath_var
=LIBRARY_PATH
9604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9605 soname_spec
='${libname}${release}${shared_ext}$major'
9606 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9607 shlibpath_var
=LD_LIBRARY_PATH
9608 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9609 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9610 # the default ld.so.conf also contains /usr/contrib/lib and
9611 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9612 # libtool to hard-code these into programs
9615 cygwin
* | mingw
* | pw32
* | cegcc
*)
9616 version_type
=windows
9621 case $GCC,$host_os in
9622 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9623 library_names_spec
='$libname.dll.a'
9624 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9625 postinstall_cmds
='base_file=`basename \${file}`~
9626 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9627 dldir=$destdir/`dirname \$dlpath`~
9628 test -d \$dldir || mkdir -p \$dldir~
9629 $install_prog $dir/$dlname \$dldir/$dlname~
9630 chmod a+x \$dldir/$dlname~
9631 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9632 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9634 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9635 dlpath=$dir/\$dldll~
9637 shlibpath_overrides_runpath
=yes
9641 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9642 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9643 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9646 # MinGW DLLs use traditional 'lib' prefix
9647 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9648 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9649 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9650 # It is most probably a Windows format PATH printed by
9651 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9652 # path with ; separators, and with drive letters. We can handle the
9653 # drive letters (cygwin fileutils understands them), so leave them,
9654 # especially as we might pass files found there to a mingw objdump,
9655 # which wouldn't understand a cygwinified path. Ahh.
9656 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9658 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9662 # pw32 DLLs use 'pw' prefix rather than 'lib'
9663 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9669 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9672 dynamic_linker
='Win32 ld.exe'
9673 # FIXME: first we should search . and the directory the executable is in
9677 darwin
* | rhapsody
*)
9678 dynamic_linker
="$host_os dyld"
9682 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9683 soname_spec
='${libname}${release}${major}$shared_ext'
9684 shlibpath_overrides_runpath
=yes
9685 shlibpath_var
=DYLD_LIBRARY_PATH
9686 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9688 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9689 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9697 soname_spec
='${libname}${release}${shared_ext}$major'
9698 shlibpath_var
=LD_LIBRARY_PATH
9705 freebsd
* | dragonfly
*)
9706 # DragonFly does not have aout. When/if they implement a new
9707 # versioning mechanism, adjust this.
9708 if test -x /usr
/bin
/objformat
; then
9709 objformat
=`/usr/bin/objformat`
9712 freebsd
[123]*) objformat
=aout
;;
9716 version_type
=freebsd-
$objformat
9717 case $version_type in
9719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9724 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9728 shlibpath_var
=LD_LIBRARY_PATH
9731 shlibpath_overrides_runpath
=yes
9733 freebsd3.
[01]* | freebsdelf3.
[01]*)
9734 shlibpath_overrides_runpath
=yes
9735 hardcode_into_libs
=yes
9737 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9738 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9739 shlibpath_overrides_runpath
=no
9740 hardcode_into_libs
=yes
9742 *) # from 4.6 on, and DragonFly
9743 shlibpath_overrides_runpath
=yes
9744 hardcode_into_libs
=yes
9753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9754 soname_spec
='${libname}${release}${shared_ext}$major'
9755 shlibpath_var
=LD_LIBRARY_PATH
9756 hardcode_into_libs
=yes
9759 hpux9
* | hpux10
* | hpux11
*)
9760 # Give a soname corresponding to the major version so that dld.sl refuses to
9761 # link against other versions.
9768 hardcode_into_libs
=yes
9769 dynamic_linker
="$host_os dld.so"
9770 shlibpath_var
=LD_LIBRARY_PATH
9771 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9773 soname_spec
='${libname}${release}${shared_ext}$major'
9774 if test "X$HPUX_IA64_MODE" = X32
; then
9775 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9777 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9779 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9783 hardcode_into_libs
=yes
9784 dynamic_linker
="$host_os dld.sl"
9785 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9786 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9788 soname_spec
='${libname}${release}${shared_ext}$major'
9789 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9790 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9794 dynamic_linker
="$host_os dld.sl"
9795 shlibpath_var
=SHLIB_PATH
9796 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9798 soname_spec
='${libname}${release}${shared_ext}$major'
9801 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9802 postinstall_cmds
='chmod 555 $lib'
9809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9810 soname_spec
='${libname}${release}${shared_ext}$major'
9811 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9812 shlibpath_var
=LD_LIBRARY_PATH
9813 shlibpath_overrides_runpath
=no
9814 hardcode_into_libs
=yes
9817 irix5
* | irix6
* | nonstopux
*)
9819 nonstopux
*) version_type
=nonstopux
;;
9821 if test "$lt_cv_prog_gnu_ld" = yes; then
9829 soname_spec
='${libname}${release}${shared_ext}$major'
9830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9832 irix5
* | nonstopux
*)
9836 case $LD in # libtool.m4 will add one of these switches to LD
9837 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9838 libsuff
= shlibsuff
= libmagic
=32-bit;;
9839 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9840 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9841 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9842 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9843 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9847 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9848 shlibpath_overrides_runpath
=no
9849 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9850 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9851 hardcode_into_libs
=yes
9854 # No shared lib support for Linux oldld, aout, or coff.
9855 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9859 # This must be Linux ELF.
9860 linux
* | k
*bsd
*-gnu)
9864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9865 soname_spec
='${libname}${release}${shared_ext}$major'
9866 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9867 shlibpath_var
=LD_LIBRARY_PATH
9868 shlibpath_overrides_runpath
=no
9869 # Some binutils ld are patched to set DT_RUNPATH
9870 save_LDFLAGS
=$LDFLAGS
9872 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9873 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9874 cat >conftest.
$ac_ext <<_ACEOF
9877 cat confdefs.h
>>conftest.
$ac_ext
9878 cat >>conftest.
$ac_ext <<_ACEOF
9879 /* end confdefs.h. */
9889 rm -f conftest.
$ac_objext conftest
$ac_exeext
9890 if { (ac_try
="$ac_link"
9892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9893 *) ac_try_echo=$ac_try;;
9895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9896 $as_echo "$ac_try_echo") >&5
9897 (eval "$ac_link") 2>conftest.er1
9899 grep -v '^ *+' conftest.er1 >conftest.err
9901 cat conftest.err >&5
9902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 (exit $ac_status); } && {
9904 test -z "$ac_c_werror_flag" ||
9905 test ! -s conftest.err
9906 } && test -s conftest$ac_exeext && {
9907 test "$cross_compiling" = yes ||
9908 $as_test_x conftest$ac_exeext
9910 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9911 shlibpath_overrides_runpath=yes
9915 $as_echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.$ac_ext >&5
9921 rm -rf conftest.dSYM
9922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LDFLAGS=$save_LDFLAGS
9927 # This implies no fast_install, which is unacceptable.
9928 # Some rework will be needed to allow for fast_install
9929 # before this can be enabled.
9930 hardcode_into_libs=yes
9932 # Append ld.so.conf contents to the search path
9933 if test -f /etc/ld.so.conf; then
9934 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' ' '`
9935 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9938 # We used to test for /lib/ld.so.1 and disable shared libraries on
9939 # powerpc, because MkLinux only supported shared libraries with the
9940 # GNU dynamic linker. Since this was broken with cross compilers,
9941 # most powerpc-linux boxes support dynamic linking these days and
9942 # people can always --disable-shared, the test was removed, and we
9943 # assume the GNU/Linux dynamic linker is in use.
9944 dynamic_linker='GNU/Linux ld.so'
9951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9952 soname_spec='${libname}${release}${shared_ext}$major'
9953 shlibpath_var=LD_LIBRARY_PATH
9954 shlibpath_overrides_runpath=no
9955 hardcode_into_libs=yes
9956 dynamic_linker='NetBSD ld.elf_so'
9963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9966 dynamic_linker='NetBSD (a.out) ld.so'
9968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9969 soname_spec='${libname}${release}${shared_ext}$major'
9970 dynamic_linker='NetBSD ld.elf_so'
9972 shlibpath_var=LD_LIBRARY_PATH
9973 shlibpath_overrides_runpath=yes
9974 hardcode_into_libs=yes
9979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9980 shlibpath_var=LD_LIBRARY_PATH
9981 shlibpath_overrides_runpath=yes
9988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989 soname_spec='${libname}${release}${shared_ext}$major'
9990 shlibpath_var=LD_LIBRARY_PATH
9991 shlibpath_overrides_runpath=no
9992 hardcode_into_libs=yes
9993 dynamic_linker='ldqnx.so'
9998 sys_lib_dlsearch_path_spec="/usr/lib"
10000 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10002 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10003 *) need_version=no ;;
10005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10007 shlibpath_var=LD_LIBRARY_PATH
10008 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10010 openbsd2.[89] | openbsd2.[89].*)
10011 shlibpath_overrides_runpath=no
10014 shlibpath_overrides_runpath=yes
10018 shlibpath_overrides_runpath=yes
10023 libname_spec='$name'
10026 library_names_spec='$libname${shared_ext} $libname.a'
10027 dynamic_linker='OS/2 ld.exe'
10028 shlibpath_var=LIBPATH
10031 osf3* | osf4* | osf5*)
10035 soname_spec='${libname}${release}${shared_ext}$major'
10036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10037 shlibpath_var=LD_LIBRARY_PATH
10038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 soname_spec='${libname}${release}${shared_ext}$major'
10052 shlibpath_var=LD_LIBRARY_PATH
10053 shlibpath_overrides_runpath=yes
10054 hardcode_into_libs=yes
10055 # ldd complains unless libraries are executable
10056 postinstall_cmds='chmod +x $lib'
10061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10062 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10063 shlibpath_var=LD_LIBRARY_PATH
10064 shlibpath_overrides_runpath=yes
10065 if test "$with_gnu_ld" = yes; then
10073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10074 soname_spec='${libname}${release}${shared_ext}$major'
10075 shlibpath_var=LD_LIBRARY_PATH
10076 case $host_vendor in
10078 shlibpath_overrides_runpath=no
10080 runpath_var=LD_RUN_PATH
10088 shlibpath_overrides_runpath=no
10089 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10095 if test -d /usr/nec ;then
10097 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10098 soname_spec='$libname${shared_ext}.$major'
10099 shlibpath_var=LD_LIBRARY_PATH
10103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10104 version_type=freebsd-elf
10107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10108 soname_spec='${libname}${release}${shared_ext}$major'
10109 shlibpath_var=LD_LIBRARY_PATH
10110 shlibpath_overrides_runpath=yes
10111 hardcode_into_libs=yes
10112 if test "$with_gnu_ld" = yes; then
10113 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10115 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10118 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10122 sys_lib_dlsearch_path_spec='/usr/lib'
10126 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10131 shlibpath_var=LD_LIBRARY_PATH
10132 shlibpath_overrides_runpath=no
10133 hardcode_into_libs=yes
10138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10139 soname_spec='${libname}${release}${shared_ext}$major'
10140 shlibpath_var=LD_LIBRARY_PATH
10147 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10148 $as_echo "$dynamic_linker" >&6; }
10149 test "$dynamic_linker" = no && can_build_shared=no
10151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10152 if test "$GCC" = yes; then
10153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10156 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10157 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10159 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10160 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10249 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10250 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10252 if test -n "$hardcode_libdir_flag_spec" ||
10253 test -n "$runpath_var" ||
10254 test "X$hardcode_automatic" = "Xyes" ; then
10256 # We can hardcode non-existent directories.
10257 if test "$hardcode_direct" != no &&
10258 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10259 # have to relink, otherwise we might link with an installed library
10260 # when we should be linking with a yet-to-be-installed one
10261 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10262 test "$hardcode_minus_L" != no; then
10263 # Linking always hardcodes the temporary library directory.
10264 hardcode_action=relink
10266 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10267 hardcode_action=immediate
10270 # We cannot hardcode anything, or else we can only hardcode existing
10272 hardcode_action=unsupported
10274 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10275 $as_echo "$hardcode_action" >&6; }
10277 if test "$hardcode_action" = relink ||
10278 test "$inherit_rpath" = yes; then
10279 # Fast installation is not supported
10280 enable_fast_install=no
10281 elif test "$shlibpath_overrides_runpath" = yes ||
10282 test "$enable_shared" = no; then
10283 # Fast installation is not necessary
10284 enable_fast_install=needless
10292 if test "x$enable_dlopen" != xyes; then
10293 enable_dlopen=unknown
10294 enable_dlopen_self=unknown
10295 enable_dlopen_self_static=unknown
10302 lt_cv_dlopen="load_add_on"
10304 lt_cv_dlopen_self=yes
10307 mingw* | pw32* | cegcc*)
10308 lt_cv_dlopen="LoadLibrary"
10313 lt_cv_dlopen="dlopen"
10318 # if libdl is installed we need to link against it
10319 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10320 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10321 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10322 $as_echo_n "(cached) " >&6
10324 ac_check_lib_save_LIBS=$LIBS
10326 cat >conftest.$ac_ext <<_ACEOF
10329 cat confdefs.h >>conftest.$ac_ext
10330 cat >>conftest.$ac_ext <<_ACEOF
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10348 rm -f conftest.$ac_objext conftest$ac_exeext
10349 if { (ac_try="$ac_link"
10350 case "(($ac_try" in
10351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10352 *) ac_try_echo
=$ac_try;;
10354 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10355 $as_echo "$ac_try_echo") >&5
10356 (eval "$ac_link") 2>conftest.er1
10358 grep -v '^ *+' conftest.er1
>conftest.err
10360 cat conftest.err
>&5
10361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } && {
10363 test -z "$ac_c_werror_flag" ||
10364 test ! -s conftest.err
10365 } && test -s conftest
$ac_exeext && {
10366 test "$cross_compiling" = yes ||
10367 $as_test_x conftest
$ac_exeext
10369 ac_cv_lib_dl_dlopen
=yes
10371 $as_echo "$as_me: failed program was:" >&5
10372 sed 's/^/| /' conftest.
$ac_ext >&5
10374 ac_cv_lib_dl_dlopen
=no
10377 rm -rf conftest.dSYM
10378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10379 conftest
$ac_exeext conftest.
$ac_ext
10380 LIBS
=$ac_check_lib_save_LIBS
10382 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10383 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10384 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10385 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10388 lt_cv_dlopen
="dyld"
10390 lt_cv_dlopen_self
=yes
10397 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10398 $as_echo_n "checking for shl_load... " >&6; }
10399 if test "${ac_cv_func_shl_load+set}" = set; then
10400 $as_echo_n "(cached) " >&6
10402 cat >conftest.
$ac_ext <<_ACEOF
10405 cat confdefs.h
>>conftest.
$ac_ext
10406 cat >>conftest.
$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10410 #define shl_load innocuous_shl_load
10412 /* System header to define __stub macros and hopefully few prototypes,
10413 which can conflict with char shl_load (); below.
10414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10415 <limits.h> exists even on freestanding compilers. */
10418 # include <limits.h>
10420 # include <assert.h>
10425 /* Override any GCC internal prototype to avoid an error.
10426 Use char because int might match the return type of a GCC
10427 builtin and then its argument prototype would still apply. */
10432 /* The GNU C library defines this for functions which it implements
10433 to always fail with ENOSYS. Some functions are actually named
10434 something starting with __ and the normal name is an alias. */
10435 #if defined __stub_shl_load || defined __stub___shl_load
10442 return shl_load ();
10447 rm -f conftest.
$ac_objext conftest
$ac_exeext
10448 if { (ac_try
="$ac_link"
10449 case "(($ac_try" in
10450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10451 *) ac_try_echo=$ac_try;;
10453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10454 $as_echo "$ac_try_echo") >&5
10455 (eval "$ac_link") 2>conftest.er1
10457 grep -v '^ *+' conftest.er1 >conftest.err
10459 cat conftest.err >&5
10460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); } && {
10462 test -z "$ac_c_werror_flag" ||
10463 test ! -s conftest.err
10464 } && test -s conftest$ac_exeext && {
10465 test "$cross_compiling" = yes ||
10466 $as_test_x conftest$ac_exeext
10468 ac_cv_func_shl_load=yes
10470 $as_echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.$ac_ext >&5
10473 ac_cv_func_shl_load=no
10476 rm -rf conftest.dSYM
10477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10478 conftest$ac_exeext conftest.$ac_ext
10480 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10481 $as_echo "$ac_cv_func_shl_load" >&6; }
10482 if test "x$ac_cv_func_shl_load" = x""yes; then
10483 lt_cv_dlopen="shl_load"
10485 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10486 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10487 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10488 $as_echo_n "(cached) " >&6
10490 ac_check_lib_save_LIBS=$LIBS
10492 cat >conftest.$ac_ext <<_ACEOF
10495 cat confdefs.h >>conftest.$ac_ext
10496 cat >>conftest.$ac_ext <<_ACEOF
10497 /* end confdefs.h. */
10499 /* Override any GCC internal prototype to avoid an error.
10500 Use char because int might match the return type of a GCC
10501 builtin and then its argument prototype would still apply. */
10509 return shl_load ();
10514 rm -f conftest.$ac_objext conftest$ac_exeext
10515 if { (ac_try="$ac_link"
10516 case "(($ac_try" in
10517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10518 *) ac_try_echo
=$ac_try;;
10520 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10521 $as_echo "$ac_try_echo") >&5
10522 (eval "$ac_link") 2>conftest.er1
10524 grep -v '^ *+' conftest.er1
>conftest.err
10526 cat conftest.err
>&5
10527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } && {
10529 test -z "$ac_c_werror_flag" ||
10530 test ! -s conftest.err
10531 } && test -s conftest
$ac_exeext && {
10532 test "$cross_compiling" = yes ||
10533 $as_test_x conftest
$ac_exeext
10535 ac_cv_lib_dld_shl_load
=yes
10537 $as_echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.
$ac_ext >&5
10540 ac_cv_lib_dld_shl_load
=no
10543 rm -rf conftest.dSYM
10544 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10545 conftest
$ac_exeext conftest.
$ac_ext
10546 LIBS
=$ac_check_lib_save_LIBS
10548 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10549 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10550 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
10551 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10553 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10554 $as_echo_n "checking for dlopen... " >&6; }
10555 if test "${ac_cv_func_dlopen+set}" = set; then
10556 $as_echo_n "(cached) " >&6
10558 cat >conftest.
$ac_ext <<_ACEOF
10561 cat confdefs.h
>>conftest.
$ac_ext
10562 cat >>conftest.
$ac_ext <<_ACEOF
10563 /* end confdefs.h. */
10564 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10566 #define dlopen innocuous_dlopen
10568 /* System header to define __stub macros and hopefully few prototypes,
10569 which can conflict with char dlopen (); below.
10570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10571 <limits.h> exists even on freestanding compilers. */
10574 # include <limits.h>
10576 # include <assert.h>
10581 /* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10588 /* The GNU C library defines this for functions which it implements
10589 to always fail with ENOSYS. Some functions are actually named
10590 something starting with __ and the normal name is an alias. */
10591 #if defined __stub_dlopen || defined __stub___dlopen
10603 rm -f conftest.
$ac_objext conftest
$ac_exeext
10604 if { (ac_try
="$ac_link"
10605 case "(($ac_try" in
10606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10607 *) ac_try_echo=$ac_try;;
10609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10610 $as_echo "$ac_try_echo") >&5
10611 (eval "$ac_link") 2>conftest.er1
10613 grep -v '^ *+' conftest.er1 >conftest.err
10615 cat conftest.err >&5
10616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } && {
10618 test -z "$ac_c_werror_flag" ||
10619 test ! -s conftest.err
10620 } && test -s conftest$ac_exeext && {
10621 test "$cross_compiling" = yes ||
10622 $as_test_x conftest$ac_exeext
10624 ac_cv_func_dlopen=yes
10626 $as_echo "$as_me: failed program was:" >&5
10627 sed 's/^/| /' conftest.$ac_ext >&5
10629 ac_cv_func_dlopen=no
10632 rm -rf conftest.dSYM
10633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10634 conftest$ac_exeext conftest.$ac_ext
10636 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10637 $as_echo "$ac_cv_func_dlopen" >&6; }
10638 if test "x$ac_cv_func_dlopen" = x""yes; then
10639 lt_cv_dlopen="dlopen"
10641 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10642 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10643 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10644 $as_echo_n "(cached) " >&6
10646 ac_check_lib_save_LIBS=$LIBS
10648 cat >conftest.$ac_ext <<_ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10670 rm -f conftest.$ac_objext conftest$ac_exeext
10671 if { (ac_try="$ac_link"
10672 case "(($ac_try" in
10673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10674 *) ac_try_echo
=$ac_try;;
10676 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10677 $as_echo "$ac_try_echo") >&5
10678 (eval "$ac_link") 2>conftest.er1
10680 grep -v '^ *+' conftest.er1
>conftest.err
10682 cat conftest.err
>&5
10683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } && {
10685 test -z "$ac_c_werror_flag" ||
10686 test ! -s conftest.err
10687 } && test -s conftest
$ac_exeext && {
10688 test "$cross_compiling" = yes ||
10689 $as_test_x conftest
$ac_exeext
10691 ac_cv_lib_dl_dlopen
=yes
10693 $as_echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.
$ac_ext >&5
10696 ac_cv_lib_dl_dlopen
=no
10699 rm -rf conftest.dSYM
10700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10701 conftest
$ac_exeext conftest.
$ac_ext
10702 LIBS
=$ac_check_lib_save_LIBS
10704 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10705 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10706 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
10707 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10709 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10710 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10711 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10712 $as_echo_n "(cached) " >&6
10714 ac_check_lib_save_LIBS
=$LIBS
10715 LIBS
="-lsvld $LIBS"
10716 cat >conftest.
$ac_ext <<_ACEOF
10719 cat confdefs.h
>>conftest.
$ac_ext
10720 cat >>conftest.
$ac_ext <<_ACEOF
10721 /* end confdefs.h. */
10723 /* Override any GCC internal prototype to avoid an error.
10724 Use char because int might match the return type of a GCC
10725 builtin and then its argument prototype would still apply. */
10738 rm -f conftest.
$ac_objext conftest
$ac_exeext
10739 if { (ac_try
="$ac_link"
10740 case "(($ac_try" in
10741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10742 *) ac_try_echo=$ac_try;;
10744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10745 $as_echo "$ac_try_echo") >&5
10746 (eval "$ac_link") 2>conftest.er1
10748 grep -v '^ *+' conftest.er1 >conftest.err
10750 cat conftest.err >&5
10751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } && {
10753 test -z "$ac_c_werror_flag" ||
10754 test ! -s conftest.err
10755 } && test -s conftest$ac_exeext && {
10756 test "$cross_compiling" = yes ||
10757 $as_test_x conftest$ac_exeext
10759 ac_cv_lib_svld_dlopen=yes
10761 $as_echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.$ac_ext >&5
10764 ac_cv_lib_svld_dlopen=no
10767 rm -rf conftest.dSYM
10768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_lib_save_LIBS
10772 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10773 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10774 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10775 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10777 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10778 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10779 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10780 $as_echo_n "(cached) " >&6
10782 ac_check_lib_save_LIBS=$LIBS
10784 cat >conftest.$ac_ext <<_ACEOF
10787 cat confdefs.h >>conftest.$ac_ext
10788 cat >>conftest.$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10801 return dld_link ();
10806 rm -f conftest.$ac_objext conftest$ac_exeext
10807 if { (ac_try="$ac_link"
10808 case "(($ac_try" in
10809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10810 *) ac_try_echo
=$ac_try;;
10812 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10813 $as_echo "$ac_try_echo") >&5
10814 (eval "$ac_link") 2>conftest.er1
10816 grep -v '^ *+' conftest.er1
>conftest.err
10818 cat conftest.err
>&5
10819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); } && {
10821 test -z "$ac_c_werror_flag" ||
10822 test ! -s conftest.err
10823 } && test -s conftest
$ac_exeext && {
10824 test "$cross_compiling" = yes ||
10825 $as_test_x conftest
$ac_exeext
10827 ac_cv_lib_dld_dld_link
=yes
10829 $as_echo "$as_me: failed program was:" >&5
10830 sed 's/^/| /' conftest.
$ac_ext >&5
10832 ac_cv_lib_dld_dld_link
=no
10835 rm -rf conftest.dSYM
10836 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10837 conftest
$ac_exeext conftest.
$ac_ext
10838 LIBS
=$ac_check_lib_save_LIBS
10840 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10841 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10842 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
10843 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10864 if test "x$lt_cv_dlopen" != xno
; then
10870 case $lt_cv_dlopen in
10872 save_CPPFLAGS
="$CPPFLAGS"
10873 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10875 save_LDFLAGS
="$LDFLAGS"
10876 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10879 LIBS
="$lt_cv_dlopen_libs $LIBS"
10881 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10882 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10883 if test "${lt_cv_dlopen_self+set}" = set; then
10884 $as_echo_n "(cached) " >&6
10886 if test "$cross_compiling" = yes; then :
10887 lt_cv_dlopen_self
=cross
10889 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10890 lt_status
=$lt_dlunknown
10891 cat > conftest.
$ac_ext <<_LT_EOF
10892 #line 10892 "configure"
10893 #include "confdefs.h"
10902 # define LT_DLGLOBAL RTLD_GLOBAL
10905 # define LT_DLGLOBAL DL_GLOBAL
10907 # define LT_DLGLOBAL 0
10911 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10912 find out it does not work in some platform. */
10913 #ifndef LT_DLLAZY_OR_NOW
10915 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10918 # define LT_DLLAZY_OR_NOW DL_LAZY
10921 # define LT_DLLAZY_OR_NOW RTLD_NOW
10924 # define LT_DLLAZY_OR_NOW DL_NOW
10926 # define LT_DLLAZY_OR_NOW 0
10933 void fnord() { int i=42;}
10936 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10937 int status = $lt_dlunknown;
10941 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10942 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10943 /* dlclose (self); */
10951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10952 (eval $ac_link) 2>&5
10954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10956 (.
/conftest
; exit; ) >&5 2>/dev
/null
10958 case x
$lt_status in
10959 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10960 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10961 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10964 # compilation failed
10965 lt_cv_dlopen_self
=no
10972 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10973 $as_echo "$lt_cv_dlopen_self" >&6; }
10975 if test "x$lt_cv_dlopen_self" = xyes
; then
10976 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10977 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10978 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10979 if test "${lt_cv_dlopen_self_static+set}" = set; then
10980 $as_echo_n "(cached) " >&6
10982 if test "$cross_compiling" = yes; then :
10983 lt_cv_dlopen_self_static
=cross
10985 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10986 lt_status
=$lt_dlunknown
10987 cat > conftest.
$ac_ext <<_LT_EOF
10988 #line 10988 "configure"
10989 #include "confdefs.h"
10998 # define LT_DLGLOBAL RTLD_GLOBAL
11001 # define LT_DLGLOBAL DL_GLOBAL
11003 # define LT_DLGLOBAL 0
11007 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11008 find out it does not work in some platform. */
11009 #ifndef LT_DLLAZY_OR_NOW
11011 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11014 # define LT_DLLAZY_OR_NOW DL_LAZY
11017 # define LT_DLLAZY_OR_NOW RTLD_NOW
11020 # define LT_DLLAZY_OR_NOW DL_NOW
11022 # define LT_DLLAZY_OR_NOW 0
11029 void fnord() { int i=42;}
11032 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11033 int status = $lt_dlunknown;
11037 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11038 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11039 /* dlclose (self); */
11047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11048 (eval $ac_link) 2>&5
11050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11052 (.
/conftest
; exit; ) >&5 2>/dev
/null
11054 case x
$lt_status in
11055 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11056 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11057 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11060 # compilation failed
11061 lt_cv_dlopen_self_static
=no
11068 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11069 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11072 CPPFLAGS
="$save_CPPFLAGS"
11073 LDFLAGS
="$save_LDFLAGS"
11078 case $lt_cv_dlopen_self in
11079 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11080 *) enable_dlopen_self
=unknown
;;
11083 case $lt_cv_dlopen_self_static in
11084 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11085 *) enable_dlopen_self_static
=unknown
;;
11107 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11108 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11109 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11110 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11111 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11112 { $as_echo "$as_me:$LINENO: result: yes" >&5
11113 $as_echo "yes" >&6; }
11115 # FIXME - insert some real tests, host_os isn't really good enough
11118 if test -n "$STRIP" ; then
11119 striplib
="$STRIP -x"
11120 old_striplib
="$STRIP -S"
11121 { $as_echo "$as_me:$LINENO: result: yes" >&5
11122 $as_echo "yes" >&6; }
11124 { $as_echo "$as_me:$LINENO: result: no" >&5
11125 $as_echo "no" >&6; }
11129 { $as_echo "$as_me:$LINENO: result: no" >&5
11130 $as_echo "no" >&6; }
11146 # Report which library types will actually be built
11147 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11148 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11149 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11150 $as_echo "$can_build_shared" >&6; }
11152 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11153 $as_echo_n "checking whether to build shared libraries... " >&6; }
11154 test "$can_build_shared" = "no" && enable_shared
=no
11156 # On AIX, shared libraries and static libraries use the same namespace, and
11157 # are all built from PIC.
11160 test "$enable_shared" = yes && enable_static
=no
11161 if test -n "$RANLIB"; then
11162 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11163 postinstall_cmds
='$RANLIB $lib'
11168 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11169 test "$enable_shared" = yes && enable_static
=no
11173 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11174 $as_echo "$enable_shared" >&6; }
11176 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11177 $as_echo_n "checking whether to build static libraries... " >&6; }
11178 # Make sure either enable_shared or enable_static is yes.
11179 test "$enable_shared" = yes || enable_static
=yes
11180 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11181 $as_echo "$enable_static" >&6; }
11188 ac_cpp
='$CPP $CPPFLAGS'
11189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11207 ac_config_commands
="$ac_config_commands libtool"
11212 # Only expand once:
11217 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11218 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11219 if test "${ac_cv_c_const+set}" = set; then
11220 $as_echo_n "(cached) " >&6
11222 cat >conftest.
$ac_ext <<_ACEOF
11225 cat confdefs.h
>>conftest.
$ac_ext
11226 cat >>conftest.
$ac_ext <<_ACEOF
11227 /* end confdefs.h. */
11232 /* FIXME: Include the comments suggested by Paul. */
11233 #ifndef __cplusplus
11234 /* Ultrix mips cc rejects this. */
11235 typedef int charset[2];
11237 /* SunOS 4.1.1 cc rejects this. */
11238 char const *const *pcpcc;
11240 /* NEC SVR4.0.2 mips cc rejects this. */
11241 struct point {int x, y;};
11242 static struct point const zero = {0,0};
11243 /* AIX XL C 1.02.0.0 rejects this.
11244 It does not let you subtract one const X* pointer from another in
11245 an arm of an if-expression whose if-part is not a constant
11247 const char *g = "string";
11248 pcpcc = &g + (g ? g-g : 0);
11249 /* HPUX 7.0 cc rejects these. */
11251 ppc = (char**) pcpcc;
11252 pcpcc = (char const *const *) ppc;
11253 { /* SCO 3.2v4 cc rejects this. */
11255 char const *s = 0 ? (char *) 0 : (char const *) 0;
11260 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11261 int x[] = {25, 17};
11262 const int *foo = &x[0];
11265 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11266 typedef const int *iptr;
11270 { /* AIX XL C 1.02.0.0 rejects this saying
11271 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11272 struct s { int j; const int *ap[3]; };
11273 struct s *b; b->j = 5;
11275 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11276 const int foo = 10;
11277 if (!foo) return 0;
11279 return !cs[0] && !zero.x;
11286 rm -f conftest.
$ac_objext
11287 if { (ac_try
="$ac_compile"
11288 case "(($ac_try" in
11289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11290 *) ac_try_echo=$ac_try;;
11292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11293 $as_echo "$ac_try_echo") >&5
11294 (eval "$ac_compile") 2>conftest.er1
11296 grep -v '^ *+' conftest.er1 >conftest.err
11298 cat conftest.err >&5
11299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } && {
11301 test -z "$ac_c_werror_flag" ||
11302 test ! -s conftest.err
11303 } && test -s conftest.$ac_objext; then
11306 $as_echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.$ac_ext >&5
11312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11314 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11315 $as_echo "$ac_cv_c_const" >&6; }
11316 if test $ac_cv_c_const = no; then
11318 cat >>confdefs.h <<\_ACEOF
11324 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
11325 $as_echo_n "checking for size_t... " >&6; }
11326 if test "${ac_cv_type_size_t+set}" = set; then
11327 $as_echo_n "(cached) " >&6
11329 ac_cv_type_size_t=no
11330 cat >conftest.$ac_ext <<_ACEOF
11333 cat confdefs.h >>conftest.$ac_ext
11334 cat >>conftest.$ac_ext <<_ACEOF
11335 /* end confdefs.h. */
11336 $ac_includes_default
11340 if (sizeof (size_t))
11346 rm -f conftest.$ac_objext
11347 if { (ac_try="$ac_compile"
11348 case "(($ac_try" in
11349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11350 *) ac_try_echo
=$ac_try;;
11352 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11353 $as_echo "$ac_try_echo") >&5
11354 (eval "$ac_compile") 2>conftest.er1
11356 grep -v '^ *+' conftest.er1
>conftest.err
11358 cat conftest.err
>&5
11359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); } && {
11361 test -z "$ac_c_werror_flag" ||
11362 test ! -s conftest.err
11363 } && test -s conftest.
$ac_objext; then
11364 cat >conftest.
$ac_ext <<_ACEOF
11367 cat confdefs.h
>>conftest.
$ac_ext
11368 cat >>conftest.
$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11370 $ac_includes_default
11374 if (sizeof ((size_t)))
11380 rm -f conftest.
$ac_objext
11381 if { (ac_try
="$ac_compile"
11382 case "(($ac_try" in
11383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11387 $as_echo "$ac_try_echo") >&5
11388 (eval "$ac_compile") 2>conftest.er1
11390 grep -v '^ *+' conftest.er1 >conftest.err
11392 cat conftest.err >&5
11393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); } && {
11395 test -z "$ac_c_werror_flag" ||
11396 test ! -s conftest.err
11397 } && test -s conftest.$ac_objext; then
11400 $as_echo "$as_me: failed program was:" >&5
11401 sed 's/^/| /' conftest.$ac_ext >&5
11403 ac_cv_type_size_t=yes
11406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11408 $as_echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.$ac_ext >&5
11414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11416 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11417 $as_echo "$ac_cv_type_size_t" >&6; }
11418 if test "x$ac_cv_type_size_t" = x""yes; then
11422 cat >>confdefs.h <<_ACEOF
11423 #define size_t unsigned int
11431 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11432 $as_echo_n "checking for ANSI C header files... " >&6; }
11433 if test "${ac_cv_header_stdc+set}" = set; then
11434 $as_echo_n "(cached) " >&6
11436 cat >conftest.$ac_ext <<_ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 #include <stdlib.h>
11443 #include <stdarg.h>
11444 #include <string.h>
11455 rm -f conftest.$ac_objext
11456 if { (ac_try="$ac_compile"
11457 case "(($ac_try" in
11458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11459 *) ac_try_echo
=$ac_try;;
11461 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11462 $as_echo "$ac_try_echo") >&5
11463 (eval "$ac_compile") 2>conftest.er1
11465 grep -v '^ *+' conftest.er1
>conftest.err
11467 cat conftest.err
>&5
11468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); } && {
11470 test -z "$ac_c_werror_flag" ||
11471 test ! -s conftest.err
11472 } && test -s conftest.
$ac_objext; then
11473 ac_cv_header_stdc
=yes
11475 $as_echo "$as_me: failed program was:" >&5
11476 sed 's/^/| /' conftest.
$ac_ext >&5
11478 ac_cv_header_stdc
=no
11481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11483 if test $ac_cv_header_stdc = yes; then
11484 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11485 cat >conftest.
$ac_ext <<_ACEOF
11488 cat confdefs.h
>>conftest.
$ac_ext
11489 cat >>conftest.
$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11491 #include <string.h>
11494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11495 $EGREP "memchr" >/dev
/null
2>&1; then
11498 ac_cv_header_stdc
=no
11504 if test $ac_cv_header_stdc = yes; then
11505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11506 cat >conftest.
$ac_ext <<_ACEOF
11509 cat confdefs.h
>>conftest.
$ac_ext
11510 cat >>conftest.
$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11512 #include <stdlib.h>
11515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11516 $EGREP "free" >/dev
/null
2>&1; then
11519 ac_cv_header_stdc
=no
11525 if test $ac_cv_header_stdc = yes; then
11526 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11527 if test "$cross_compiling" = yes; then
11530 cat >conftest.
$ac_ext <<_ACEOF
11533 cat confdefs.h
>>conftest.
$ac_ext
11534 cat >>conftest.
$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11537 #include <stdlib.h>
11538 #if ((' ' & 0x0FF) == 0x020)
11539 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11540 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11542 # define ISLOWER(c) \
11543 (('a' <= (c) && (c) <= 'i') \
11544 || ('j' <= (c) && (c) <= 'r') \
11545 || ('s' <= (c) && (c) <= 'z'))
11546 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11549 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11554 for (i = 0; i < 256; i++)
11555 if (XOR (islower (i), ISLOWER (i))
11556 || toupper (i) != TOUPPER (i))
11561 rm -f conftest
$ac_exeext
11562 if { (ac_try
="$ac_link"
11563 case "(($ac_try" in
11564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11565 *) ac_try_echo=$ac_try;;
11567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11568 $as_echo "$ac_try_echo") >&5
11569 (eval "$ac_link") 2>&5
11571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11573 { (case "(($ac_try" in
11574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11575 *) ac_try_echo
=$ac_try;;
11577 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11578 $as_echo "$ac_try_echo") >&5
11579 (eval "$ac_try") 2>&5
11581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11585 $as_echo "$as_me: program exited with status $ac_status" >&5
11586 $as_echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.
$ac_ext >&5
11589 ( exit $ac_status )
11590 ac_cv_header_stdc
=no
11592 rm -rf conftest.dSYM
11593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11599 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11600 $as_echo "$ac_cv_header_stdc" >&6; }
11601 if test $ac_cv_header_stdc = yes; then
11603 cat >>confdefs.h
<<\_ACEOF
11604 #define STDC_HEADERS 1
11612 for ac_func
in strtol
11614 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11615 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11616 $as_echo_n "checking for $ac_func... " >&6; }
11617 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11618 $as_echo_n "(cached) " >&6
11620 cat >conftest.
$ac_ext <<_ACEOF
11623 cat confdefs.h
>>conftest.
$ac_ext
11624 cat >>conftest.
$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11628 #define $ac_func innocuous_$ac_func
11630 /* System header to define __stub macros and hopefully few prototypes,
11631 which can conflict with char $ac_func (); below.
11632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11633 <limits.h> exists even on freestanding compilers. */
11636 # include <limits.h>
11638 # include <assert.h>
11643 /* Override any GCC internal prototype to avoid an error.
11644 Use char because int might match the return type of a GCC
11645 builtin and then its argument prototype would still apply. */
11650 /* The GNU C library defines this for functions which it implements
11651 to always fail with ENOSYS. Some functions are actually named
11652 something starting with __ and the normal name is an alias. */
11653 #if defined __stub_$ac_func || defined __stub___$ac_func
11660 return $ac_func ();
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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11672 $as_echo "$ac_try_echo") >&5
11673 (eval "$ac_link") 2>conftest.er1
11675 grep -v '^ *+' conftest.er1 >conftest.err
11677 cat conftest.err >&5
11678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } && {
11680 test -z "$ac_c_werror_flag" ||
11681 test ! -s conftest.err
11682 } && test -s conftest$ac_exeext && {
11683 test "$cross_compiling" = yes ||
11684 $as_test_x conftest$ac_exeext
11686 eval "$as_ac_var=yes"
11688 $as_echo "$as_me: failed program was:" >&5
11689 sed 's/^/| /' conftest.$ac_ext >&5
11691 eval "$as_ac_var=no"
11694 rm -rf conftest.dSYM
11695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11696 conftest$ac_exeext conftest.$ac_ext
11698 ac_res=`eval 'as_val=${'$as_ac_var'}
11699 $as_echo "$as_val"'`
11700 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11701 $as_echo "$ac_res" >&6; }
11702 as_val=`eval 'as_val=${'$as_ac_var'}
11703 $as_echo "$as_val"'`
11704 if test "x$as_val" = x""yes; then
11705 cat >>confdefs.h <<_ACEOF
11706 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11713 if test "${ac_cv_header_sys_resource_h+set}" = set; then
11714 { $as_echo "$as_me:$LINENO: checking for sys/resource.h" >&5
11715 $as_echo_n "checking for sys/resource.h... " >&6; }
11716 if test "${ac_cv_header_sys_resource_h+set}" = set; then
11717 $as_echo_n "(cached) " >&6
11719 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
11720 $as_echo "$ac_cv_header_sys_resource_h" >&6; }
11722 # Is the header compilable?
11723 { $as_echo "$as_me:$LINENO: checking sys/resource.h usability" >&5
11724 $as_echo_n "checking sys/resource.h usability... " >&6; }
11725 cat >conftest.$ac_ext <<_ACEOF
11728 cat confdefs.h >>conftest.$ac_ext
11729 cat >>conftest.$ac_ext <<_ACEOF
11730 /* end confdefs.h. */
11731 $ac_includes_default
11732 #include <sys/resource.h>
11734 rm -f conftest.$ac_objext
11735 if { (ac_try="$ac_compile"
11736 case "(($ac_try" in
11737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11738 *) ac_try_echo
=$ac_try;;
11740 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11741 $as_echo "$ac_try_echo") >&5
11742 (eval "$ac_compile") 2>conftest.er1
11744 grep -v '^ *+' conftest.er1
>conftest.err
11746 cat conftest.err
>&5
11747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } && {
11749 test -z "$ac_c_werror_flag" ||
11750 test ! -s conftest.err
11751 } && test -s conftest.
$ac_objext; then
11752 ac_header_compiler
=yes
11754 $as_echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.
$ac_ext >&5
11757 ac_header_compiler
=no
11760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11761 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11762 $as_echo "$ac_header_compiler" >&6; }
11764 # Is the header present?
11765 { $as_echo "$as_me:$LINENO: checking sys/resource.h presence" >&5
11766 $as_echo_n "checking sys/resource.h presence... " >&6; }
11767 cat >conftest.
$ac_ext <<_ACEOF
11770 cat confdefs.h
>>conftest.
$ac_ext
11771 cat >>conftest.
$ac_ext <<_ACEOF
11772 /* end confdefs.h. */
11773 #include <sys/resource.h>
11775 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11776 case "(($ac_try" in
11777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11778 *) ac_try_echo=$ac_try;;
11780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11781 $as_echo "$ac_try_echo") >&5
11782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11784 grep -v '^ *+' conftest.er1 >conftest.err
11786 cat conftest.err >&5
11787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } >/dev/null && {
11789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11790 test ! -s conftest.err
11792 ac_header_preproc=yes
11794 $as_echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.$ac_ext >&5
11797 ac_header_preproc=no
11800 rm -f conftest.err conftest.$ac_ext
11801 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11802 $as_echo "$ac_header_preproc" >&6; }
11804 # So? What about this header?
11805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11807 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&5
11808 $as_echo "$as_me: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11809 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the compiler's result" >&5
11810 $as_echo "$as_me: WARNING: sys/resource.h: proceeding with the compiler's result" >&2;}
11811 ac_header_preproc=yes
11814 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: present but cannot be compiled" >&5
11815 $as_echo "$as_me: WARNING: sys/resource.h: present but cannot be compiled" >&2;}
11816 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: check for missing prerequisite headers?" >&5
11817 $as_echo "$as_me: WARNING: sys/resource.h: check for missing prerequisite headers?" >&2;}
11818 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: see the Autoconf documentation" >&5
11819 $as_echo "$as_me: WARNING: sys/resource.h: see the Autoconf documentation" >&2;}
11820 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&5
11821 $as_echo "$as_me: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&2;}
11822 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&5
11823 $as_echo "$as_me: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&2;}
11824 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&5
11825 $as_echo "$as_me: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&2;}
11829 { $as_echo "$as_me:$LINENO: checking for sys/resource.h" >&5
11830 $as_echo_n "checking for sys/resource.h... " >&6; }
11831 if test "${ac_cv_header_sys_resource_h+set}" = set; then
11832 $as_echo_n "(cached) " >&6
11834 ac_cv_header_sys_resource_h=$ac_header_preproc
11836 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
11837 $as_echo "$ac_cv_header_sys_resource_h" >&6; }
11840 if test "x$ac_cv_header_sys_resource_h" = x""yes; then
11842 cat >>confdefs.h <<\_ACEOF
11843 #define HAS_SYS_RESOURCE_H 1
11847 { $as_echo "$as_me:$LINENO: result: no" >&5
11848 $as_echo "no" >&6; }
11855 gmp_include_package="yes"
11856 gmp_library_package="yes"
11860 cat >>confdefs.h <<\_ACEOF
11861 #define LINEAR_VALUE_IS_MP 1
11867 # Check whether --with-ppl was given.
11868 if test "${with_ppl+set}" = set; then
11874 # Check whether --with-polylib_prefix was given.
11875 if test "${with_polylib_prefix+set}" = set; then
11876 withval=$with_polylib_prefix;
11880 # Check whether --with-polylib_exec_prefix was given.
11881 if test "${with_polylib_exec_prefix+set}" = set; then
11882 withval=$with_polylib_exec_prefix;
11886 # Check whether --with-polylib_builddir was given.
11887 if test "${with_polylib_builddir+set}" = set; then
11888 withval=$with_polylib_builddir;
11892 # Check whether --with-bits was given.
11893 if test "${with_bits+set}" = set; then
11894 withval=$with_bits; echo "polylib$withval"; BITS=$withval
11899 # Check whether --with-gmp was given.
11900 if test "${with_gmp+set}" = set; then
11901 withval=$with_gmp; echo "Package gmp : $withval" &&
11902 gmp_package=$withval &&
11903 GMP_INC=$gmp_package/include &&
11904 GMP_LIB=$gmp_package/lib &&
11910 # Check whether --with-gmp-include was given.
11911 if test "${with_gmp_include+set}" = set; then
11912 withval=$with_gmp_include; echo "Package gmp-include : $withval" &&
11913 gmp_include_package=$withval &&
11914 GMP_INC=$gmp_include_package &&
11920 # Check whether --with-gmp-library was given.
11921 if test "${with_gmp_library+set}" = set; then
11922 withval=$with_gmp_library; echo "Package gmp-library : $withval" &&
11923 gmp_library_package=$withval &&
11924 GMP_LIB=$gmp_library_package &&
11932 { $as_echo "$as_me:$LINENO: checking whether gmp works" >&5
11933 $as_echo_n "checking whether gmp works... " >&6; }
11934 if test "$gmp_package" = "no"; then
11935 echo "GMP package not defined"
11936 { $as_echo "$as_me:$LINENO: result: no" >&5
11937 $as_echo "no" >&6; }
11940 if test "$NEED_MP" = "no"; then
11941 echo "Mode normal GMP"
11942 TO_BUILD="$TO_BUILD MP"
11943 if test "${ac_cv_header_gmp_h+set}" = set; then
11944 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
11945 $as_echo_n "checking for gmp.h... " >&6; }
11946 if test "${ac_cv_header_gmp_h+set}" = set; then
11947 $as_echo_n "(cached) " >&6
11949 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
11950 $as_echo "$ac_cv_header_gmp_h" >&6; }
11952 # Is the header compilable?
11953 { $as_echo "$as_me:$LINENO: checking gmp.h usability" >&5
11954 $as_echo_n "checking gmp.h usability... " >&6; }
11955 cat >conftest.$ac_ext <<_ACEOF
11958 cat confdefs.h >>conftest.$ac_ext
11959 cat >>conftest.$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11961 $ac_includes_default
11964 rm -f conftest.$ac_objext
11965 if { (ac_try="$ac_compile"
11966 case "(($ac_try" in
11967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11968 *) ac_try_echo
=$ac_try;;
11970 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11971 $as_echo "$ac_try_echo") >&5
11972 (eval "$ac_compile") 2>conftest.er1
11974 grep -v '^ *+' conftest.er1
>conftest.err
11976 cat conftest.err
>&5
11977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); } && {
11979 test -z "$ac_c_werror_flag" ||
11980 test ! -s conftest.err
11981 } && test -s conftest.
$ac_objext; then
11982 ac_header_compiler
=yes
11984 $as_echo "$as_me: failed program was:" >&5
11985 sed 's/^/| /' conftest.
$ac_ext >&5
11987 ac_header_compiler
=no
11990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11991 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11992 $as_echo "$ac_header_compiler" >&6; }
11994 # Is the header present?
11995 { $as_echo "$as_me:$LINENO: checking gmp.h presence" >&5
11996 $as_echo_n "checking gmp.h presence... " >&6; }
11997 cat >conftest.
$ac_ext <<_ACEOF
12000 cat confdefs.h
>>conftest.
$ac_ext
12001 cat >>conftest.
$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12005 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12006 case "(($ac_try" in
12007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12008 *) ac_try_echo=$ac_try;;
12010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12011 $as_echo "$ac_try_echo") >&5
12012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12014 grep -v '^ *+' conftest.er1 >conftest.err
12016 cat conftest.err >&5
12017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } >/dev/null && {
12019 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12020 test ! -s conftest.err
12022 ac_header_preproc=yes
12024 $as_echo "$as_me: failed program was:" >&5
12025 sed 's/^/| /' conftest.$ac_ext >&5
12027 ac_header_preproc=no
12030 rm -f conftest.err conftest.$ac_ext
12031 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12032 $as_echo "$ac_header_preproc" >&6; }
12034 # So? What about this header?
12035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12037 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
12038 $as_echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12039 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
12040 $as_echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
12041 ac_header_preproc=yes
12044 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
12045 $as_echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
12046 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
12047 $as_echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
12048 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
12049 $as_echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
12050 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
12051 $as_echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
12052 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
12053 $as_echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
12054 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
12055 $as_echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
12059 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
12060 $as_echo_n "checking for gmp.h... " >&6; }
12061 if test "${ac_cv_header_gmp_h+set}" = set; then
12062 $as_echo_n "(cached) " >&6
12064 ac_cv_header_gmp_h=$ac_header_preproc
12066 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
12067 $as_echo "$ac_cv_header_gmp_h" >&6; }
12070 if test "x$ac_cv_header_gmp_h" = x""yes; then
12071 { $as_echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
12072 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
12073 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
12074 $as_echo_n "(cached) " >&6
12076 ac_check_lib_save_LIBS=$LIBS
12078 cat >conftest.$ac_ext <<_ACEOF
12081 cat confdefs.h >>conftest.$ac_ext
12082 cat >>conftest.$ac_ext <<_ACEOF
12083 /* end confdefs.h. */
12085 /* Override any GCC internal prototype to avoid an error.
12086 Use char because int might match the return type of a GCC
12087 builtin and then its argument prototype would still apply. */
12091 char __gmpz_init ();
12095 return __gmpz_init ();
12100 rm -f conftest.$ac_objext conftest$ac_exeext
12101 if { (ac_try="$ac_link"
12102 case "(($ac_try" in
12103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12104 *) ac_try_echo
=$ac_try;;
12106 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12107 $as_echo "$ac_try_echo") >&5
12108 (eval "$ac_link") 2>conftest.er1
12110 grep -v '^ *+' conftest.er1
>conftest.err
12112 cat conftest.err
>&5
12113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } && {
12115 test -z "$ac_c_werror_flag" ||
12116 test ! -s conftest.err
12117 } && test -s conftest
$ac_exeext && {
12118 test "$cross_compiling" = yes ||
12119 $as_test_x conftest
$ac_exeext
12121 ac_cv_lib_gmp___gmpz_init
=yes
12123 $as_echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.
$ac_ext >&5
12126 ac_cv_lib_gmp___gmpz_init
=no
12129 rm -rf conftest.dSYM
12130 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12131 conftest
$ac_exeext conftest.
$ac_ext
12132 LIBS
=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
12135 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
12136 if test "x$ac_cv_lib_gmp___gmpz_init" = x
""yes; then
12139 echo "Can't find gmp library." &&
12140 echo "MP version will not be builded." &&
12145 echo "Can't find gmp headers." &&
12146 echo "MP version will not be builded." &&
12153 if test "$gmp_package" != "yes" ; then
12154 echo "(GMP path has been set by user)"
12155 GMP_DIR
=$gmp_package
12156 CPPFLAGS
="-I$GMP_DIR/include $CPPFLAGS"
12157 LDFLAGS
="-L$GMP_DIR/lib $LDFLAGS"
12160 if test "$gmp_include_package" != "yes" ; then
12161 CPPFLAGS
="-I$GMP_INC $CPPFLAGS"
12164 if test "$gmp_library_package" != "yes" ; then
12165 LDFLAGS
="-L$GMP_LIB $LDFLAGS"
12168 if test "${ac_cv_header_gmp_h+set}" = set; then
12169 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
12170 $as_echo_n "checking for gmp.h... " >&6; }
12171 if test "${ac_cv_header_gmp_h+set}" = set; then
12172 $as_echo_n "(cached) " >&6
12174 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
12175 $as_echo "$ac_cv_header_gmp_h" >&6; }
12177 # Is the header compilable?
12178 { $as_echo "$as_me:$LINENO: checking gmp.h usability" >&5
12179 $as_echo_n "checking gmp.h usability... " >&6; }
12180 cat >conftest.
$ac_ext <<_ACEOF
12183 cat confdefs.h
>>conftest.
$ac_ext
12184 cat >>conftest.
$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 $ac_includes_default
12189 rm -f conftest.
$ac_objext
12190 if { (ac_try
="$ac_compile"
12191 case "(($ac_try" in
12192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12193 *) ac_try_echo=$ac_try;;
12195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12196 $as_echo "$ac_try_echo") >&5
12197 (eval "$ac_compile") 2>conftest.er1
12199 grep -v '^ *+' conftest.er1 >conftest.err
12201 cat conftest.err >&5
12202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } && {
12204 test -z "$ac_c_werror_flag" ||
12205 test ! -s conftest.err
12206 } && test -s conftest.$ac_objext; then
12207 ac_header_compiler=yes
12209 $as_echo "$as_me: failed program was:" >&5
12210 sed 's/^/| /' conftest.$ac_ext >&5
12212 ac_header_compiler=no
12215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12216 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12217 $as_echo "$ac_header_compiler" >&6; }
12219 # Is the header present?
12220 { $as_echo "$as_me:$LINENO: checking gmp.h presence" >&5
12221 $as_echo_n "checking gmp.h presence... " >&6; }
12222 cat >conftest.$ac_ext <<_ACEOF
12225 cat confdefs.h >>conftest.$ac_ext
12226 cat >>conftest.$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12230 if { (ac_try="$ac_cpp conftest.$ac_ext"
12231 case "(($ac_try" in
12232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12233 *) ac_try_echo
=$ac_try;;
12235 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12236 $as_echo "$ac_try_echo") >&5
12237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12239 grep -v '^ *+' conftest.er1
>conftest.err
12241 cat conftest.err
>&5
12242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } >/dev
/null
&& {
12244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12245 test ! -s conftest.err
12247 ac_header_preproc
=yes
12249 $as_echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.
$ac_ext >&5
12252 ac_header_preproc
=no
12255 rm -f conftest.err conftest.
$ac_ext
12256 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12257 $as_echo "$ac_header_preproc" >&6; }
12259 # So? What about this header?
12260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12262 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
12263 $as_echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12264 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
12265 $as_echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
12266 ac_header_preproc
=yes
12269 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
12270 $as_echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
12271 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
12272 $as_echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
12273 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
12274 $as_echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
12275 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
12276 $as_echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
12277 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
12278 $as_echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
12279 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
12280 $as_echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
12284 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
12285 $as_echo_n "checking for gmp.h... " >&6; }
12286 if test "${ac_cv_header_gmp_h+set}" = set; then
12287 $as_echo_n "(cached) " >&6
12289 ac_cv_header_gmp_h
=$ac_header_preproc
12291 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
12292 $as_echo "$ac_cv_header_gmp_h" >&6; }
12295 if test "x$ac_cv_header_gmp_h" = x
""yes; then
12298 { { $as_echo "$as_me:$LINENO: error: Can't find gmp headers." >&5
12299 $as_echo "$as_me: error: Can't find gmp headers." >&2;}
12300 { (exit 1); exit 1; }; }
12304 { $as_echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
12305 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
12306 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
12307 $as_echo_n "(cached) " >&6
12309 ac_check_lib_save_LIBS
=$LIBS
12311 cat >conftest.
$ac_ext <<_ACEOF
12314 cat confdefs.h
>>conftest.
$ac_ext
12315 cat >>conftest.
$ac_ext <<_ACEOF
12316 /* end confdefs.h. */
12318 /* Override any GCC internal prototype to avoid an error.
12319 Use char because int might match the return type of a GCC
12320 builtin and then its argument prototype would still apply. */
12324 char __gmpz_init ();
12328 return __gmpz_init ();
12333 rm -f conftest.
$ac_objext conftest
$ac_exeext
12334 if { (ac_try
="$ac_link"
12335 case "(($ac_try" in
12336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12337 *) ac_try_echo=$ac_try;;
12339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12340 $as_echo "$ac_try_echo") >&5
12341 (eval "$ac_link") 2>conftest.er1
12343 grep -v '^ *+' conftest.er1 >conftest.err
12345 cat conftest.err >&5
12346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); } && {
12348 test -z "$ac_c_werror_flag" ||
12349 test ! -s conftest.err
12350 } && test -s conftest$ac_exeext && {
12351 test "$cross_compiling" = yes ||
12352 $as_test_x conftest$ac_exeext
12354 ac_cv_lib_gmp___gmpz_init=yes
12356 $as_echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12359 ac_cv_lib_gmp___gmpz_init=no
12362 rm -rf conftest.dSYM
12363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12364 conftest$ac_exeext conftest.$ac_ext
12365 LIBS=$ac_check_lib_save_LIBS
12367 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
12368 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
12369 if test "x$ac_cv_lib_gmp___gmpz_init" = x""yes; then
12372 { { $as_echo "$as_me:$LINENO: error: Can't find gmp library." >&5
12373 $as_echo "$as_me: error: Can't find gmp library." >&2;}
12374 { (exit 1); exit 1; }; }
12378 { $as_echo "$as_me:$LINENO: result: yes" >&5
12379 $as_echo "yes" >&6; }
12396 if test "x$with_polylib_prefix" != "x" -a "x$with_polylib_exec_prefix" = "x"
12398 with_polylib_exec_prefix=$with_polylib_prefix
12400 if test "x$with_polylib_prefix" != "x" -a "x$with_polylib_builddir" != "x"; then
12401 { { $as_echo "$as_me:$LINENO: error: --with-polylib-prefix and --with-polylib-builddir are mutually exclusive" >&5
12402 $as_echo "$as_me: error: --with-polylib-prefix and --with-polylib-builddir are mutually exclusive" >&2;}
12403 { (exit 1); exit 1; }; }
12406 { $as_echo "$as_me:$LINENO: checking for location of PolyLib" >&5
12407 $as_echo_n "checking for location of PolyLib... " >&6; }
12408 if test "x$with_polylib_builddir" != "x"; then
12409 { $as_echo "$as_me:$LINENO: result: built in $with_polylib_builddir" >&5
12410 $as_echo "built in $with_polylib_builddir" >&6; }
12411 polylib_srcdir=`echo @srcdir@ |
$with_polylib_builddir/config.status
--file=-`
12412 { $as_echo "$as_me:$LINENO: PolyLib sources in $polylib_srcdir" >&5
12413 $as_echo "$as_me: PolyLib sources in $polylib_srcdir" >&6;}
12414 polylib_polylibs=`echo @polylibs@ |
$with_polylib_builddir/config.status
--file=-`
12415 { $as_echo "$as_me:$LINENO: Configured polylibs: $polylib_polylibs" >&5
12416 $as_echo "$as_me: Configured polylibs: $polylib_polylibs" >&6;}
12417 CPPFLAGS="-I$with_polylib_builddir/include -I$polylib_srcdir/include $CPPFLAGS"
12418 for BITS in $polylibs; do
12419 cl_cv_polylib=missing
12420 for PL in $polylib_polylibs; do
12421 if test "libpolylib$BITS.la" = $PL; then
12422 cl_cv_polylib="polylib$BITS"
12426 if test "$cl_cv_polylib" != "missing"; then
12427 LIBS="$with_polylib_builddir/lib$cl_cv_polylib.la $LIBS"
12432 if test "x$with_polylib_prefix" != "x"; then
12433 { $as_echo "$as_me:$LINENO: result: installed in $with_polylib_exec_prefix" >&5
12434 $as_echo "installed in $with_polylib_exec_prefix" >&6; }
12435 CPPFLAGS="-I$with_polylib_prefix/include $CPPFLAGS"
12436 LDFLAGS="-L$with_polylib_exec_prefix/lib $LDFLAGS"
12437 LD_LIBRARY_PATH="$with_polylib_exec_prefix/lib:$LD_LIBRARY_PATH"
12438 export LD_LIBRARY_PATH
12440 { $as_echo "$as_me:$LINENO: result: installed in standard location" >&5
12441 $as_echo "installed in standard location" >&6; }
12443 for BITS in $polylibs; do
12444 cl_cv_polylib="polylib$BITS"
12445 as_ac_Lib=`$as_echo "ac_cv_lib_$cl_cv_polylib''_PolyhedronTSort" |
$as_tr_sh`
12446 { $as_echo "$as_me:$LINENO: checking for PolyhedronTSort in -l$cl_cv_polylib" >&5
12447 $as_echo_n "checking for PolyhedronTSort in -l$cl_cv_polylib... " >&6; }
12448 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
12449 $as_echo_n "(cached) " >&6
12451 ac_check_lib_save_LIBS=$LIBS
12452 LIBS="-l$cl_cv_polylib $LIBS"
12453 cat >conftest.$ac_ext <<_ACEOF
12456 cat confdefs.h >>conftest.$ac_ext
12457 cat >>conftest.$ac_ext <<_ACEOF
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12466 char PolyhedronTSort ();
12470 return PolyhedronTSort ();
12475 rm -f conftest.$ac_objext conftest$ac_exeext
12476 if { (ac_try="$ac_link"
12477 case "(($ac_try" in
12478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12479 *) ac_try_echo
=$ac_try;;
12481 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12482 $as_echo "$ac_try_echo") >&5
12483 (eval "$ac_link") 2>conftest.er1
12485 grep -v '^ *+' conftest.er1
>conftest.err
12487 cat conftest.err
>&5
12488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } && {
12490 test -z "$ac_c_werror_flag" ||
12491 test ! -s conftest.err
12492 } && test -s conftest
$ac_exeext && {
12493 test "$cross_compiling" = yes ||
12494 $as_test_x conftest
$ac_exeext
12496 eval "$as_ac_Lib=yes"
12498 $as_echo "$as_me: failed program was:" >&5
12499 sed 's/^/| /' conftest.
$ac_ext >&5
12501 eval "$as_ac_Lib=no"
12504 rm -rf conftest.dSYM
12505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12506 conftest
$ac_exeext conftest.
$ac_ext
12507 LIBS
=$ac_check_lib_save_LIBS
12509 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
12510 $as_echo "$as_val"'`
12511 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12512 $as_echo "$ac_res" >&6; }
12513 as_val
=`eval 'as_val=${'$as_ac_Lib'}
12514 $as_echo "$as_val"'`
12515 if test "x$as_val" = x
""yes; then
12517 LIBS
="-l$cl_cv_polylib $LIBS"
12522 cl_cv_polylib
=missing
12525 if test "$cl_cv_polylib" = "missing"; then
12526 { $as_echo "$as_me:$LINENO: result: Can't find PolyLib." >&5
12527 $as_echo "Can't find PolyLib." >&6; }
12529 as_ac_Header
=`$as_echo "ac_cv_header_polylib/$cl_cv_polylib.h" | $as_tr_sh`
12530 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12531 { $as_echo "$as_me:$LINENO: checking for polylib/$cl_cv_polylib.h" >&5
12532 $as_echo_n "checking for polylib/$cl_cv_polylib.h... " >&6; }
12533 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12534 $as_echo_n "(cached) " >&6
12536 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12537 $as_echo "$as_val"'`
12538 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12539 $as_echo "$ac_res" >&6; }
12541 # Is the header compilable?
12542 { $as_echo "$as_me:$LINENO: checking polylib/$cl_cv_polylib.h usability" >&5
12543 $as_echo_n "checking polylib/$cl_cv_polylib.h usability... " >&6; }
12544 cat >conftest.
$ac_ext <<_ACEOF
12547 cat confdefs.h
>>conftest.
$ac_ext
12548 cat >>conftest.
$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12550 $ac_includes_default
12551 #include <polylib/$cl_cv_polylib.h>
12553 rm -f conftest.
$ac_objext
12554 if { (ac_try
="$ac_compile"
12555 case "(($ac_try" in
12556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12557 *) ac_try_echo=$ac_try;;
12559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12560 $as_echo "$ac_try_echo") >&5
12561 (eval "$ac_compile") 2>conftest.er1
12563 grep -v '^ *+' conftest.er1 >conftest.err
12565 cat conftest.err >&5
12566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); } && {
12568 test -z "$ac_c_werror_flag" ||
12569 test ! -s conftest.err
12570 } && test -s conftest.$ac_objext; then
12571 ac_header_compiler=yes
12573 $as_echo "$as_me: failed program was:" >&5
12574 sed 's/^/| /' conftest.$ac_ext >&5
12576 ac_header_compiler=no
12579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12580 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12581 $as_echo "$ac_header_compiler" >&6; }
12583 # Is the header present?
12584 { $as_echo "$as_me:$LINENO: checking polylib/$cl_cv_polylib.h presence" >&5
12585 $as_echo_n "checking polylib/$cl_cv_polylib.h presence... " >&6; }
12586 cat >conftest.$ac_ext <<_ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 #include <polylib/$cl_cv_polylib.h>
12594 if { (ac_try="$ac_cpp conftest.$ac_ext"
12595 case "(($ac_try" in
12596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12597 *) ac_try_echo
=$ac_try;;
12599 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12600 $as_echo "$ac_try_echo") >&5
12601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12603 grep -v '^ *+' conftest.er1
>conftest.err
12605 cat conftest.err
>&5
12606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); } >/dev
/null
&& {
12608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12609 test ! -s conftest.err
12611 ac_header_preproc
=yes
12613 $as_echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.
$ac_ext >&5
12616 ac_header_preproc
=no
12619 rm -f conftest.err conftest.
$ac_ext
12620 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12621 $as_echo "$ac_header_preproc" >&6; }
12623 # So? What about this header?
12624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12626 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: accepted by the compiler, rejected by the preprocessor!" >&5
12627 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12628 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: proceeding with the compiler's result" >&5
12629 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: proceeding with the compiler's result" >&2;}
12630 ac_header_preproc
=yes
12633 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: present but cannot be compiled" >&5
12634 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: present but cannot be compiled" >&2;}
12635 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: check for missing prerequisite headers?" >&5
12636 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: check for missing prerequisite headers?" >&2;}
12637 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: see the Autoconf documentation" >&5
12638 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: see the Autoconf documentation" >&2;}
12639 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: section \"Present But Cannot Be Compiled\"" >&5
12640 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: section \"Present But Cannot Be Compiled\"" >&2;}
12641 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: proceeding with the preprocessor's result" >&5
12642 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: proceeding with the preprocessor's result" >&2;}
12643 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: in the future, the compiler will take precedence" >&5
12644 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: in the future, the compiler will take precedence" >&2;}
12648 { $as_echo "$as_me:$LINENO: checking for polylib/$cl_cv_polylib.h" >&5
12649 $as_echo_n "checking for polylib/$cl_cv_polylib.h... " >&6; }
12650 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12651 $as_echo_n "(cached) " >&6
12653 eval "$as_ac_Header=\$ac_header_preproc"
12655 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12656 $as_echo "$as_val"'`
12657 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12658 $as_echo "$ac_res" >&6; }
12661 as_val
=`eval 'as_val=${'$as_ac_Header'}
12662 $as_echo "$as_val"'`
12663 if test "x$as_val" = x
""yes; then
12666 { { $as_echo "$as_me:$LINENO: error: Can't find PolyLib headers." >&5
12667 $as_echo "$as_me: error: Can't find PolyLib headers." >&2;}
12668 { (exit 1); exit 1; }; }
12675 if test -f $srcdir/.git
/HEAD
; then
12676 GIT_INDEX
="\$(top_srcdir)/.git/index"
12681 # The default back-end for polyhedral operations is PolyLib, unless
12682 # -with-ppl is used.
12684 POLYHEDRAL_BACKEND
=polylib
12686 ppl_major_version
=0
12687 ppl_minor_version
=10
12692 { $as_echo "$as_me:$LINENO: checking for Parma Polyhedral Library (PPL)" >&5
12693 $as_echo_n "checking for Parma Polyhedral Library (PPL)... " >&6; }
12694 if test "x$with_ppl" != "x" -a "x$with_ppl" != "xno"; then
12696 if test "x$with_polylib_prefix" != "x" -o "x$with_polylib_exec_prefix" != "x" -o "x$with_polylib_builddir" != "x"; then
12697 { { $as_echo "$as_me:$LINENO: error: --with-polylib and --with-ppl are mutually exclusive" >&5
12698 $as_echo "$as_me: error: --with-polylib and --with-ppl are mutually exclusive" >&2;}
12699 { (exit 1); exit 1; }; }
12702 if test "x$with_ppl" != "xyes" ; then
12703 ppl_prefix
=$with_ppl
12704 { $as_echo "$as_me:$LINENO: result: installed in $ppl_prefix" >&5
12705 $as_echo "installed in $ppl_prefix" >&6; }
12706 CPPFLAGS
="-I$ppl_prefix/include $CPPFLAGS"
12707 LDFLAGS
="-L$ppl_prefix/lib $LDFLAGS"
12708 LD_LIBRARY_PATH
="$ppl_prefix/lib:$LD_LIBRARY_PATH"
12709 export LD_LIBRARY_PATH
12711 { $as_echo "$as_me:$LINENO: result: installed at system prefix" >&5
12712 $as_echo "installed at system prefix" >&6; }
12714 POLYHEDRAL_BACKEND
=ppl
12716 if test "${ac_cv_header_ppl_c_h+set}" = set; then
12717 { $as_echo "$as_me:$LINENO: checking for ppl_c.h" >&5
12718 $as_echo_n "checking for ppl_c.h... " >&6; }
12719 if test "${ac_cv_header_ppl_c_h+set}" = set; then
12720 $as_echo_n "(cached) " >&6
12722 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ppl_c_h" >&5
12723 $as_echo "$ac_cv_header_ppl_c_h" >&6; }
12725 # Is the header compilable?
12726 { $as_echo "$as_me:$LINENO: checking ppl_c.h usability" >&5
12727 $as_echo_n "checking ppl_c.h usability... " >&6; }
12728 cat >conftest.
$ac_ext <<_ACEOF
12731 cat confdefs.h
>>conftest.
$ac_ext
12732 cat >>conftest.
$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12734 $ac_includes_default
12737 rm -f conftest.
$ac_objext
12738 if { (ac_try
="$ac_compile"
12739 case "(($ac_try" in
12740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12741 *) ac_try_echo=$ac_try;;
12743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12744 $as_echo "$ac_try_echo") >&5
12745 (eval "$ac_compile") 2>conftest.er1
12747 grep -v '^ *+' conftest.er1 >conftest.err
12749 cat conftest.err >&5
12750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } && {
12752 test -z "$ac_c_werror_flag" ||
12753 test ! -s conftest.err
12754 } && test -s conftest.$ac_objext; then
12755 ac_header_compiler=yes
12757 $as_echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 ac_header_compiler=no
12763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12764 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12765 $as_echo "$ac_header_compiler" >&6; }
12767 # Is the header present?
12768 { $as_echo "$as_me:$LINENO: checking ppl_c.h presence" >&5
12769 $as_echo_n "checking ppl_c.h presence... " >&6; }
12770 cat >conftest.$ac_ext <<_ACEOF
12773 cat confdefs.h >>conftest.$ac_ext
12774 cat >>conftest.$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12778 if { (ac_try="$ac_cpp conftest.$ac_ext"
12779 case "(($ac_try" in
12780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12781 *) ac_try_echo
=$ac_try;;
12783 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12784 $as_echo "$ac_try_echo") >&5
12785 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12787 grep -v '^ *+' conftest.er1
>conftest.err
12789 cat conftest.err
>&5
12790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); } >/dev
/null
&& {
12792 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12793 test ! -s conftest.err
12795 ac_header_preproc
=yes
12797 $as_echo "$as_me: failed program was:" >&5
12798 sed 's/^/| /' conftest.
$ac_ext >&5
12800 ac_header_preproc
=no
12803 rm -f conftest.err conftest.
$ac_ext
12804 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12805 $as_echo "$ac_header_preproc" >&6; }
12807 # So? What about this header?
12808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12810 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: accepted by the compiler, rejected by the preprocessor!" >&5
12811 $as_echo "$as_me: WARNING: ppl_c.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12812 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: proceeding with the compiler's result" >&5
12813 $as_echo "$as_me: WARNING: ppl_c.h: proceeding with the compiler's result" >&2;}
12814 ac_header_preproc
=yes
12817 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: present but cannot be compiled" >&5
12818 $as_echo "$as_me: WARNING: ppl_c.h: present but cannot be compiled" >&2;}
12819 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: check for missing prerequisite headers?" >&5
12820 $as_echo "$as_me: WARNING: ppl_c.h: check for missing prerequisite headers?" >&2;}
12821 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: see the Autoconf documentation" >&5
12822 $as_echo "$as_me: WARNING: ppl_c.h: see the Autoconf documentation" >&2;}
12823 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: section \"Present But Cannot Be Compiled\"" >&5
12824 $as_echo "$as_me: WARNING: ppl_c.h: section \"Present But Cannot Be Compiled\"" >&2;}
12825 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: proceeding with the preprocessor's result" >&5
12826 $as_echo "$as_me: WARNING: ppl_c.h: proceeding with the preprocessor's result" >&2;}
12827 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: in the future, the compiler will take precedence" >&5
12828 $as_echo "$as_me: WARNING: ppl_c.h: in the future, the compiler will take precedence" >&2;}
12832 { $as_echo "$as_me:$LINENO: checking for ppl_c.h" >&5
12833 $as_echo_n "checking for ppl_c.h... " >&6; }
12834 if test "${ac_cv_header_ppl_c_h+set}" = set; then
12835 $as_echo_n "(cached) " >&6
12837 ac_cv_header_ppl_c_h
=$ac_header_preproc
12839 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ppl_c_h" >&5
12840 $as_echo "$ac_cv_header_ppl_c_h" >&6; }
12843 if test "x$ac_cv_header_ppl_c_h" = x
""yes; then
12846 { { $as_echo "$as_me:$LINENO: error: Can't find PPL headers." >&5
12847 $as_echo "$as_me: error: Can't find PPL headers." >&2;}
12848 { (exit 1); exit 1; }; }
12853 { $as_echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
12854 $as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
12855 cat >conftest.
$ac_ext <<_ACEOF
12858 cat confdefs.h
>>conftest.
$ac_ext
12859 cat >>conftest.
$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12866 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
12874 rm -f conftest.
$ac_objext
12875 if { (ac_try
="$ac_compile"
12876 case "(($ac_try" in
12877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12878 *) ac_try_echo=$ac_try;;
12880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12881 $as_echo "$ac_try_echo") >&5
12882 (eval "$ac_compile") 2>conftest.er1
12884 grep -v '^ *+' conftest.er1 >conftest.err
12886 cat conftest.err >&5
12887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); } && {
12889 test -z "$ac_c_werror_flag" ||
12890 test ! -s conftest.err
12891 } && test -s conftest.$ac_objext; then
12892 { $as_echo "$as_me:$LINENO: result: yes" >&5
12893 $as_echo "yes" >&6; }
12895 $as_echo "$as_me: failed program was:" >&5
12896 sed 's/^/| /' conftest.$ac_ext >&5
12898 { { $as_echo "$as_me:$LINENO: error: Can't find correct version of PPL." >&5
12899 $as_echo "$as_me: error: Can't find correct version of PPL." >&2;}
12900 { (exit 1); exit 1; }; }
12903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12905 LIBS="$LIBS -lppl_c -lppl -lgmpxx"
12907 cat >>confdefs.h <<\_ACEOF
12908 #define CLOOG_PPL_BACKEND 1
12913 { $as_echo "$as_me:$LINENO: result: not using PPL" >&5
12914 $as_echo "not using PPL" >&6; }
12917 # Allow host libstdc++ to be specified for static linking with PPL.
12919 # Check whether --with-host-libstdcxx was given.
12920 if test "${with_host_libstdcxx+set}" = set; then
12921 withval=$with_host_libstdcxx;
12925 case $with_host_libstdcxx in
12926 no|yes) { { $as_echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
12927 $as_echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
12928 { (exit 1); exit 1; }; } ;;
12929 *) LIBS="$LIBS $with_host_libstdcxx" ;;
12945 ac_config_files="$ac_config_files Makefile test/Makefile include/cloog/cloog.h autoconf/Doxyfile"
12947 ac_config_files="$ac_config_files doc/Makefile"
12949 ac_config_files="$ac_config_files genversion.sh"
12951 ac_config_commands="$ac_config_commands version.h"
12953 ac_config_commands="$ac_config_commands doc/gitversion.texi"
12955 cat >confcache <<\_ACEOF
12956 # This file is a shell script that caches the results of configure
12957 # tests run on this system so they can be shared between configure
12958 # scripts and configure runs, see configure's option --config-cache.
12959 # It is not useful on other systems. If it contains results you don't
12960 # want to keep, you may remove or edit it.
12962 # config.status only pays attention to the cache file if you give it
12963 # the --recheck option to rerun configure.
12965 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12967 # following values.
12971 # The following way of writing the cache mishandles newlines in values,
12972 # but we know of no workaround that is simple, portable, and efficient.
12973 # So, we kill variables containing newlines.
12974 # Ultrix sh set writes to stderr and can't be redirected directly,
12975 # and sets the high bit in the cache file unless we assign to the vars.
12977 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12978 eval ac_val
=\$
$ac_var
12982 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12986 _ | IFS | as_nl
) ;; #(
12987 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12988 *) $as_unset $ac_var ;;
12994 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12995 *${as_nl}ac_space
=\
*)
12996 # `set' does not quote correctly, so add quotes (double-quote
12997 # substitution turns \\\\ into \\, and sed turns \\ into \).
13000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13003 # `set' quotes correctly as required by POSIX, so do not add quotes.
13004 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13013 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13015 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13017 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13018 if test -w "$cache_file"; then
13019 test "x$cache_file" != "x/dev/null" &&
13020 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13021 $as_echo "$as_me: updating cache $cache_file" >&6;}
13022 cat confcache
>$cache_file
13024 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13025 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13030 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13031 # Let make expand exec_prefix.
13032 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13034 DEFS
=-DHAVE_CONFIG_H
13038 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13039 # 1. Remove the extension, and $U if already installed.
13040 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13041 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13042 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13043 # will be set to the directory where LIBOBJS objects are built.
13044 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13045 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13047 LIBOBJS
=$ac_libobjs
13049 LTLIBOBJS
=$ac_ltlibobjs
13052 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13053 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13054 Usually this means the macro was only invoked conditionally." >&5
13055 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13056 Usually this means the macro was only invoked conditionally." >&2;}
13057 { (exit 1); exit 1; }; }
13059 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13060 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13061 Usually this means the macro was only invoked conditionally." >&5
13062 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13063 Usually this means the macro was only invoked conditionally." >&2;}
13064 { (exit 1); exit 1; }; }
13067 : ${CONFIG_STATUS=./config.status}
13069 ac_clean_files_save
=$ac_clean_files
13070 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13071 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13072 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13073 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13075 # Generated by $as_me.
13076 # Run this file to recreate the current configuration.
13077 # Compiler output produced by configure, useful for debugging
13078 # configure, is in config.log if it exists.
13081 ac_cs_recheck=false
13083 SHELL=\${CONFIG_SHELL-$SHELL}
13086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13087 ## --------------------- ##
13088 ## M4sh Initialization. ##
13089 ## --------------------- ##
13091 # Be more Bourne compatible
13092 DUALCASE
=1; export DUALCASE
# for MKS sh
13093 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13096 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13097 # is contrary to our usage. Disable this feature.
13098 alias -g '${1+"$@"}'='"$@"'
13099 setopt NO_GLOB_SUBST
13101 case `(set -o) 2>/dev/null` in
13102 *posix
*) set -o posix
;;
13111 # Avoid depending upon Character Ranges.
13112 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13113 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13114 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13115 as_cr_digits
='0123456789'
13116 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13121 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13122 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13123 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13125 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13126 as_echo='printf %s
\n'
13127 as_echo_n='printf %s
'
13129 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13130 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13131 as_echo_n='/usr
/ucb
/echo -n'
13133 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13134 as_echo_n_body='eval
13138 expr "X$arg" : "X\\(.*\\)$as_nl";
13139 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13141 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13143 export as_echo_n_body
13144 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13146 export as_echo_body
13147 as_echo='sh
-c $as_echo_body as_echo
'
13150 # The user is always right.
13151 if test "${PATH_SEPARATOR+set}" != set; then
13153 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13154 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13159 # Support unset when possible.
13160 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13168 # We need space, tab and new line, in precisely that order. Quoting is
13169 # there to prevent editors from complaining about space-tab.
13170 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13171 # splitting by setting IFS to empty value.)
13174 # Find who we are. Look in the path if we contain no directory separator.
13176 *[\\/]* ) as_myself=$0 ;;
13177 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13178 for as_dir in $PATH
13181 test -z "$as_dir" && as_dir=.
13182 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13188 # We did not find ourselves, most probably we were run as `sh COMMAND'
13189 # in which case we are not to be found in the path.
13190 if test "x$as_myself" = x
; then
13193 if test ! -f "$as_myself"; then
13194 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13195 { (exit 1); exit 1; }
13198 # Work around bugs in pre-3.0 UWIN ksh.
13199 for as_var
in ENV MAIL MAILPATH
13200 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13212 # Required to use basename.
13213 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13214 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13220 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13221 as_basename
=basename
13227 # Name of the executable.
13228 as_me
=`$as_basename -- "$0" ||
13229 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13230 X"$0" : 'X\(//\)$' \| \
13231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13233 sed '/^.*\/\([^/][^/]*\)\/*$/{
13252 as_lineno_1
=$LINENO
13253 as_lineno_2
=$LINENO
13254 test "x$as_lineno_1" != "x$as_lineno_2" &&
13255 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13257 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13258 # uniformly replaced by the line number. The first 'sed' inserts a
13259 # line-number line after each line using $LINENO; the second 'sed'
13260 # does the real work. The second script uses 'N' to pair each
13261 # line-number line with the line containing $LINENO, and appends
13262 # trailing '-' during substitution so that $LINENO is not a special
13263 # case at line end.
13264 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13265 # scripts with optimization help from Paolo Bonzini. Blame Lee
13266 # E. McMahon (1931-1989) for sed's syntax. :-)
13278 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13281 ' >$as_me.lineno
&&
13282 chmod +x
"$as_me.lineno" ||
13283 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13284 { (exit 1); exit 1; }; }
13286 # Don't try to exec as it changes $[0], causing all sort of problems
13287 # (the dirname of $[0] is not the place where we might find the
13288 # original and so on. Autoconf is especially sensitive to this).
13289 .
"./$as_me.lineno"
13290 # Exit status is that of the last command.
13295 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13301 ECHO_C
= ECHO_N
= ECHO_T
=
13302 case `echo -n x` in
13304 case `echo 'x\c'` in
13305 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13311 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13312 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13318 rm -f conf$$ conf$$.exe conf$$.
file
13319 if test -d conf$$.dir
; then
13320 rm -f conf$$.dir
/conf$$.
file
13323 mkdir conf$$.dir
2>/dev
/null
13325 if (echo >conf$$.
file) 2>/dev
/null
; then
13326 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13328 # ... but there are two gotchas:
13329 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13330 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13331 # In both cases, we have to default to `cp -p'.
13332 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13334 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13342 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13343 rmdir conf$$.dir
2>/dev
/null
13345 if mkdir
-p .
2>/dev
/null
; then
13348 test -d .
/-p && rmdir .
/-p
13352 if test -x / >/dev
/null
2>&1; then
13353 as_test_x
='test -x'
13355 if ls -dL / >/dev
/null
2>&1; then
13362 if test -d "$1"; then
13368 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13369 ???[sx]*):;;*)false;;esac;fi
13373 as_executable_p
=$as_test_x
13375 # Sed expression to map a string onto a valid CPP name.
13376 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13378 # Sed expression to map a string onto a valid variable name.
13379 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13384 # Save the log message, to keep $[0] and so on meaningful, and to
13385 # report actual input values of CONFIG_FILES etc. instead of their
13386 # values after options handling.
13388 This file was extended by $as_me, which was
13389 generated by GNU Autoconf 2.63. Invocation command line was
13391 CONFIG_FILES = $CONFIG_FILES
13392 CONFIG_HEADERS = $CONFIG_HEADERS
13393 CONFIG_LINKS = $CONFIG_LINKS
13394 CONFIG_COMMANDS = $CONFIG_COMMANDS
13397 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13402 case $ac_config_files in *"
13403 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13406 case $ac_config_headers in *"
13407 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13412 # Files that config.status was made for.
13413 config_files="$ac_config_files"
13414 config_headers="$ac_config_headers"
13415 config_commands="$ac_config_commands"
13419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13421 \`$as_me' instantiates files from templates according to the
13422 current configuration.
13424 Usage: $0 [OPTION]... [FILE]...
13426 -h, --help print this help, then exit
13427 -V, --version print version number and configuration settings, then exit
13428 -q, --quiet, --silent
13429 do not print progress messages
13430 -d, --debug don't remove temporary files
13431 --recheck update $as_me by reconfiguring in the same conditions
13432 --file=FILE[:TEMPLATE]
13433 instantiate the configuration file FILE
13434 --header=FILE[:TEMPLATE]
13435 instantiate the configuration header FILE
13437 Configuration files:
13440 Configuration headers:
13443 Configuration commands:
13446 Report bugs to <bug-autoconf@gnu.org>."
13449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13452 configured by $0, generated by GNU Autoconf 2.63,
13453 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13455 Copyright (C) 2008 Free Software Foundation, Inc.
13456 This config.status script is free software; the Free Software Foundation
13457 gives unlimited permission to copy, distribute and modify it."
13463 test -n "\$AWK" || AWK=awk
13466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13467 # The default lists apply if the user does not specify any file.
13473 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13474 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13485 # Handling of the options.
13486 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13488 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13489 $as_echo "$ac_cs_version"; exit ;;
13490 --debug |
--debu |
--deb |
--de |
--d |
-d )
13492 --file |
--fil |
--fi |
--f )
13495 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13497 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13498 ac_need_defaults
=false
;;
13499 --header |
--heade |
--head |
--hea )
13502 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13504 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13505 ac_need_defaults
=false
;;
13507 # Conflict between --help and --header
13508 { $as_echo "$as_me: error: ambiguous option: $1
13509 Try \`$0 --help' for more information." >&2
13510 { (exit 1); exit 1; }; };;
13511 --help |
--hel |
-h )
13512 $as_echo "$ac_cs_usage"; exit ;;
13513 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13514 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13517 # This is an error.
13518 -*) { $as_echo "$as_me: error: unrecognized option: $1
13519 Try \`$0 --help' for more information." >&2
13520 { (exit 1); exit 1; }; } ;;
13522 *) ac_config_targets
="$ac_config_targets $1"
13523 ac_need_defaults
=false
;;
13529 ac_configure_extra_args
=
13531 if $ac_cs_silent; then
13533 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13538 if \$ac_cs_recheck; then
13539 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13541 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13542 CONFIG_SHELL='$SHELL'
13543 export CONFIG_SHELL
13548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13552 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13553 ## Running $as_me. ##
13559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13563 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13566 # The HP-UX ksh and POSIX shell print the target directory to stdout
13567 # if CDPATH is set.
13568 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13570 sed_quote_subst='$sed_quote_subst'
13571 double_quote_subst='$double_quote_subst'
13572 delay_variable_subst='$delay_variable_subst'
13573 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13574 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13575 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13576 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13577 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13578 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13579 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13580 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13581 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13582 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13583 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13584 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13585 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13586 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13587 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13588 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13589 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13590 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13591 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13592 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13593 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13594 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13595 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13596 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13597 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13598 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13599 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13600 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13601 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13602 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13603 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13604 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13605 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13606 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13607 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13608 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13609 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13610 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13611 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13612 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13613 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13614 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13615 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13616 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13617 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"`'
13618 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"`'
13619 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13620 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13621 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13622 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13623 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13624 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13625 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13626 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13627 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13628 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13629 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13630 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13631 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13632 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13633 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13634 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13635 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13636 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13637 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13638 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13639 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13640 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13641 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13642 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13643 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13644 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13645 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13646 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13647 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13648 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13649 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13650 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13651 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13652 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13653 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13654 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13655 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13656 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13657 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13658 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13659 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13660 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13661 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13662 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13663 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13664 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13665 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13666 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13667 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13668 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13669 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13670 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13671 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13672 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13673 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13674 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13675 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13676 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13677 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13678 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13679 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13680 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13681 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13682 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13683 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13684 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13685 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13686 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13687 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13688 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13689 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13690 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13693 LTCFLAGS='$LTCFLAGS'
13694 compiler='$compiler_DEFAULT'
13696 # Quote evaled strings.
13708 deplibs_check_method \
13717 lt_cv_sys_global_symbol_pipe \
13718 lt_cv_sys_global_symbol_to_cdecl \
13719 lt_cv_sys_global_symbol_to_c_name_address \
13720 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13723 lt_prog_compiler_no_builtin_flag \
13724 lt_prog_compiler_wl \
13725 lt_prog_compiler_pic \
13726 lt_prog_compiler_static \
13727 lt_cv_prog_compiler_c_o \
13735 export_dynamic_flag_spec \
13736 whole_archive_flag_spec \
13737 compiler_needs_object \
13739 allow_undefined_flag \
13740 no_undefined_flag \
13741 hardcode_libdir_flag_spec \
13742 hardcode_libdir_flag_spec_ld \
13743 hardcode_libdir_separator \
13748 variables_saved_for_relink \
13750 library_names_spec \
13755 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13756 *[\\\\\\\`\\"\\\$]*)
13757 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13760 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13765 # Double-quote double-evaled strings.
13766 for var in reload_cmds \
13767 old_postinstall_cmds \
13768 old_postuninstall_cmds \
13770 extract_expsyms_cmds \
13771 old_archive_from_new_cmds \
13772 old_archive_from_expsyms_cmds \
13774 archive_expsym_cmds \
13776 module_expsym_cmds \
13777 export_symbols_cmds \
13780 postuninstall_cmds \
13782 sys_lib_search_path_spec \
13783 sys_lib_dlsearch_path_spec; do
13784 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13785 *[\\\\\\\`\\"\\\$]*)
13786 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13789 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13794 # Fix-up fallback echo if it was mangled by the above quoting rules.
13796 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13800 ac_aux_dir='$ac_aux_dir'
13801 xsi_shell='$xsi_shell'
13802 lt_shell_append='$lt_shell_append'
13804 # See if we are running on zsh, and set the options which allow our
13805 # commands through without removal of \ escapes INIT.
13806 if test -n "\${ZSH_VERSION+set}" ; then
13807 setopt NO_GLOB_SUBST
13813 TIMESTAMP='$TIMESTAMP'
13822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13824 # Handling of arguments.
13825 for ac_config_target
in $ac_config_targets
13827 case $ac_config_target in
13828 "include/cloog/cloog-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/cloog/cloog-config.h" ;;
13829 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13830 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13831 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13832 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
13833 "include/cloog/cloog.h") CONFIG_FILES
="$CONFIG_FILES include/cloog/cloog.h" ;;
13834 "autoconf/Doxyfile") CONFIG_FILES
="$CONFIG_FILES autoconf/Doxyfile" ;;
13835 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13836 "genversion.sh") CONFIG_FILES
="$CONFIG_FILES genversion.sh" ;;
13837 "version.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS version.h" ;;
13838 "doc/gitversion.texi") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/gitversion.texi" ;;
13840 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13841 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13842 { (exit 1); exit 1; }; };;
13847 # If the user did not use the arguments to specify the items to instantiate,
13848 # then the envvar interface is used. Set only those that are not.
13849 # We use the long form for the default assignment because of an extremely
13850 # bizarre bug on SunOS 4.1.3.
13851 if $ac_need_defaults; then
13852 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13853 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13854 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13857 # Have a temporary directory for convenience. Make it in the build tree
13858 # simply because there is no reason against having it here, and in addition,
13859 # creating and moving files from /tmp can sometimes cause problems.
13860 # Hook for its removal unless debugging.
13861 # Note that there is a small window in which the directory will not be cleaned:
13862 # after its creation but before its name has been assigned to `$tmp'.
13866 trap 'exit_status=$?
13867 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13869 trap '{ (exit 1); exit 1; }' 1 2 13 15
13871 # Create a (secure) tmp directory for tmp files.
13874 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13875 test -n "$tmp" && test -d "$tmp"
13878 tmp
=.
/conf$$
-$RANDOM
13879 (umask 077 && mkdir
"$tmp")
13882 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13883 { (exit 1); exit 1; }
13886 # Set up the scripts for CONFIG_FILES section.
13887 # No need to generate them if there are no CONFIG_FILES.
13888 # This happens for instance with `./config.status config.h'.
13889 if test -n "$CONFIG_FILES"; then
13893 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13894 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13897 ac_cs_awk_cr
=$ac_cr
13900 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13905 echo "cat >conf$$subs.awk <<_ACEOF" &&
13906 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13908 } >conf$$subs.sh ||
13909 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13910 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13911 { (exit 1); exit 1; }; }
13912 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13914 for ac_last_try in false false false false false :; do
13915 . ./conf$$subs.sh ||
13916 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13917 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13918 { (exit 1); exit 1; }; }
13920 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13921 if test $ac_delim_n = $ac_delim_num; then
13923 elif $ac_last_try; then
13924 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13925 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13926 { (exit 1); exit 1; }; }
13928 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13931 rm -f conf$$subs.sh
13933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13934 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13938 s/^/S["/; s
/!.
*/"]=/
13948 s/\(.\{148\}\).*/\1/
13950 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13955 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13962 s/\(.\{148\}\).*/\1/
13964 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13968 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13973 ' <conf$$subs.awk | sed '
13978 ' >>$CONFIG_STATUS || ac_write_fail=1
13979 rm -f conf$$subs.awk
13980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13982 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13983 for (key in S) S_is_set[key] = 1
13989 nfields = split(line, field, "@
")
13991 len = length(field[1])
13992 for (i = 2; i < nfields; i++) {
13994 keylen = length(key)
13995 if (S_is_set[key]) {
13997 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13998 len += length(value) + length(field[++i])
14009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14010 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14011 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14014 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14015 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14016 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14017 { (exit 1); exit 1; }; }
14020 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14021 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14022 # trailing colons and then remove the whole line if VPATH becomes empty
14023 # (actually we leave an empty line to preserve line numbers).
14024 if test "x
$srcdir" = x.; then
14025 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14026 s/:*\$(srcdir):*/:/
14027 s/:*\${srcdir}:*/:/
14029 s/^\([^=]*=[ ]*\):*/\1/
14035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14036 fi # test -n "$CONFIG_FILES"
14038 # Set up the scripts for CONFIG_HEADERS section.
14039 # No need to generate them if there are no CONFIG_HEADERS.
14040 # This happens for instance with `./config.status Makefile'.
14041 if test -n "$CONFIG_HEADERS"; then
14042 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14046 # Transform confdefs.h into an awk script `defines.awk', embedded as
14047 # here-document in config.status, that substitutes the proper values into
14048 # config.h.in to produce config.h.
14050 # Create a delimiter string that does not exist in confdefs.h, to ease
14051 # handling of long lines.
14053 for ac_last_try in false false :; do
14054 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14055 if test -z "$ac_t"; then
14057 elif $ac_last_try; then
14058 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14059 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14060 { (exit 1); exit 1; }; }
14062 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14066 # For the awk script, D is an array of macro values keyed by name,
14067 # likewise P contains macro parameters if any. Preserve backslash
14068 # newline sequences.
14070 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14072 s/.\{148\}/&'"$ac_delim"'/g
14075 s/^[ ]*#[ ]*define[ ][ ]*/ /
14082 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14084 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14088 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14089 D["\
1"]=" \
3\\\\\\n
"\\/p
14091 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14096 s/.\{148\}/&'"$ac_delim"'/g
14101 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14104 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14106 ' <confdefs.h | sed '
14107 s/'"$ac_delim"'/"\\\
14108 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14111 for (key in D) D_is_set[key] = 1
14114 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14116 split(line, arg, " ")
14117 if (arg[1] == "#") {
14121 defundef
= substr
(arg
[1], 2)
14124 split(mac1
, mac2
, "(") #)
14126 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14127 if (D_is_set
[macro
]) {
14128 # Preserve the white space surrounding the "#".
14129 print prefix
"define", macro P
[macro
] D
[macro
]
14132 # Replace #undef with comments. This is necessary, for example,
14133 # in the case of _POSIX_SOURCE, which is predefined and required
14134 # on some systems where configure will not decide to define it.
14135 if (defundef
== "undef") {
14136 print
"/*", prefix defundef
, macro
, "*/"
14144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14145 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14146 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14147 { (exit 1); exit 1; }; }
14148 fi # test -n "$CONFIG_HEADERS"
14151 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14156 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14158 case $ac_mode$ac_tag in
14160 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14161 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14162 { (exit 1); exit 1; }; };;
14163 :[FH
]-) ac_tag
=-:-;;
14164 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14181 -) ac_f
="$tmp/stdin";;
14182 *) # Look for the file first in the build tree, then in the source tree
14183 # (if the path is not absolute). The absolute path cannot be DOS-style,
14184 # because $ac_f cannot contain `:'.
14188 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14190 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14191 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14192 { (exit 1); exit 1; }; };;
14194 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14195 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14198 # Let's still pretend it is `configure' which instantiates (i.e., don't
14199 # use $as_me), people would be surprised to read:
14200 # /* config.h. Generated by config.status. */
14201 configure_input
='Generated from '`
14202 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14204 if test x
"$ac_file" != x-
; then
14205 configure_input
="$ac_file. $configure_input"
14206 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14207 $as_echo "$as_me: creating $ac_file" >&6;}
14209 # Neutralize special characters interpreted by sed in replacement strings.
14210 case $configure_input in #(
14211 *\
&* |
*\|
* |
*\\* )
14212 ac_sed_conf_input
=`$as_echo "$configure_input" |
14213 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14214 *) ac_sed_conf_input
=$configure_input;;
14218 *:-:* |
*:-) cat >"$tmp/stdin" \
14219 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14220 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14221 { (exit 1); exit 1; }; } ;;
14226 ac_dir
=`$as_dirname -- "$ac_file" ||
14227 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14228 X"$ac_file" : 'X\(//\)[^/]' \| \
14229 X"$ac_file" : 'X\(//\)$' \| \
14230 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14231 $as_echo X"$ac_file" |
14232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14236 /^X\(\/\/\)[^/].*/{
14251 -*) as_dir
=.
/$as_dir;;
14253 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14257 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14258 *) as_qdir
=$as_dir;;
14260 as_dirs
="'$as_qdir' $as_dirs"
14261 as_dir
=`$as_dirname -- "$as_dir" ||
14262 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14263 X"$as_dir" : 'X\(//\)[^/]' \| \
14264 X"$as_dir" : 'X\(//\)$' \| \
14265 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14266 $as_echo X"$as_dir" |
14267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14271 /^X\(\/\/\)[^/].*/{
14284 test -d "$as_dir" && break
14286 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14287 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14288 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14289 { (exit 1); exit 1; }; }; }
14293 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14295 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14296 # A ".." for each directory in $ac_dir_suffix.
14297 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14298 case $ac_top_builddir_sub in
14299 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14300 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14303 ac_abs_top_builddir
=$ac_pwd
14304 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14305 # for backward compatibility:
14306 ac_top_builddir
=$ac_top_build_prefix
14309 .
) # We are building in place.
14311 ac_top_srcdir
=$ac_top_builddir_sub
14312 ac_abs_top_srcdir
=$ac_pwd ;;
14313 [\\/]* | ?
:[\\/]* ) # Absolute name.
14314 ac_srcdir
=$srcdir$ac_dir_suffix;
14315 ac_top_srcdir
=$srcdir
14316 ac_abs_top_srcdir
=$srcdir ;;
14317 *) # Relative name.
14318 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14319 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14320 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14322 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14332 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14333 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14338 # If the template does not know about datarootdir, expand it.
14339 # FIXME: This hack should be removed a few years after 2.60.
14340 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14353 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14354 *datarootdir
*) ac_datarootdir_seen
=yes;;
14355 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14356 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14357 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14360 ac_datarootdir_hack='
14361 s&@datadir@&$datadir&g
14362 s&@docdir@&$docdir&g
14363 s&@infodir@&$infodir&g
14364 s&@localedir@&$localedir&g
14365 s&@mandir@&$mandir&g
14366 s&\\\${datarootdir}&$datarootdir&g' ;;
14370 # Neutralize VPATH when `$srcdir' = `.'.
14371 # Shell code in configure.ac might set extrasub.
14372 # FIXME: do we really want to maintain this feature?
14373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14374 ac_sed_extra="$ac_vpsub
14377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14379 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14380 s|@configure_input@|
$ac_sed_conf_input|
;t t
14381 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14382 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14383 s
&@srcdir@
&$ac_srcdir&;t t
14384 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14385 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14386 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14387 s
&@builddir@
&$ac_builddir&;t t
14388 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14389 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14390 s
&@INSTALL@
&$ac_INSTALL&;t t
14391 $ac_datarootdir_hack
14393 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14394 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14395 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14396 { (exit 1); exit 1; }; }
14398 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14399 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14400 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14401 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14402 which seems to be undefined. Please make sure it is defined." >&5
14403 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14404 which seems to be undefined. Please make sure it is defined." >&2;}
14408 -) cat "$tmp/out" && rm -f "$tmp/out";;
14409 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14411 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14412 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14413 { (exit 1); exit 1; }; }
14419 if test x"$ac_file" != x-; then
14421 $as_echo "/* $configure_input */" \
14422 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14423 } >"$tmp/config.h" \
14424 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14425 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14426 { (exit 1); exit 1; }; }
14427 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14428 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14429 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14432 mv "$tmp/config.h" "$ac_file" \
14433 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14434 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14435 { (exit 1); exit 1; }; }
14438 $as_echo "/* $configure_input */" \
14439 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14440 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14441 $as_echo "$as_me: error: could not create -" >&2;}
14442 { (exit 1); exit 1; }; }
14444 # Compute "$ac_file"'s index
in $config_headers.
14446 for _am_header
in $config_headers :; do
14447 case $_am_header in
14448 "$ac_file" |
"$ac_file":* )
14451 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14454 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
14455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14456 X"$ac_file" : 'X\(//\)[^/]' \| \
14457 X"$ac_file" : 'X\(//\)$' \| \
14458 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14459 $as_echo X"$ac_file" |
14460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14464 /^X\(\/\/\)[^/].*/{
14476 s/.*/./; q'`/stamp-h
$_am_stamp_count
14479 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14480 $as_echo "$as_me: executing $ac_file commands" >&6;}
14485 case $ac_file$ac_mode in
14486 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14487 # Strip MF so we end up with the name of the file.
14488 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14489 # Check whether this is an Automake generated Makefile or not.
14490 # We used to match only the files named `Makefile.in', but
14491 # some people rename them; so instead we look at the file content.
14492 # Grep'ing the first line is not enough: some people post-process
14493 # each Makefile.in and add a new line on top of each file to say so.
14494 # So let's grep whole file.
14495 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14496 dirpart
=`$as_dirname -- "$mf" ||
14497 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14498 X"$mf" : 'X\(//\)[^/]' \| \
14499 X"$mf" : 'X\(//\)$' \| \
14500 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14506 /^X\(\/\/\)[^/].*/{
14522 # Extract the definition of DEPDIR, am__include, and am__quote
14523 # from the Makefile without running `make'.
14524 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14525 test -z "$DEPDIR" && continue
14526 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14527 test -z "am__include" && continue
14528 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14529 # When using ansi2knr, U may be empty or an underscore; expand it
14530 U
=`sed -n 's/^U = //p' < "$mf"`
14531 # Find all dependency output files, they are included files with
14532 # $(DEPDIR) in their names. We invoke sed twice because it is the
14533 # simplest approach to changing $(DEPDIR) to its actual value in the
14535 for file in `sed -n "
14536 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14537 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14538 # Make sure the directory exists.
14539 test -f "$dirpart/$file" && continue
14540 fdir
=`$as_dirname -- "$file" ||
14541 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14542 X"$file" : 'X\(//\)[^/]' \| \
14543 X"$file" : 'X\(//\)$' \| \
14544 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14545 $as_echo X"$file" |
14546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14550 /^X\(\/\/\)[^/].*/{
14563 { as_dir
=$dirpart/$fdir
14565 -*) as_dir
=.
/$as_dir;;
14567 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14571 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14572 *) as_qdir
=$as_dir;;
14574 as_dirs
="'$as_qdir' $as_dirs"
14575 as_dir
=`$as_dirname -- "$as_dir" ||
14576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14577 X"$as_dir" : 'X\(//\)[^/]' \| \
14578 X"$as_dir" : 'X\(//\)$' \| \
14579 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14580 $as_echo X"$as_dir" |
14581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14585 /^X\(\/\/\)[^/].*/{
14598 test -d "$as_dir" && break
14600 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14601 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14602 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14603 { (exit 1); exit 1; }; }; }
14604 # echo "creating $dirpart/$file"
14605 echo '# dummy' > "$dirpart/$file"
14611 # See if we are running on zsh, and set the options which allow our
14612 # commands through without removal of \ escapes.
14613 if test -n "${ZSH_VERSION+set}" ; then
14614 setopt NO_GLOB_SUBST
14617 cfgfile
="${ofile}T"
14618 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14621 cat <<_LT_EOF >> "$cfgfile"
14624 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14625 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14626 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14627 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14629 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14630 # 2006, 2007, 2008 Free Software Foundation, Inc.
14631 # Written by Gordon Matzigkeit, 1996
14633 # This file is part of GNU Libtool.
14635 # GNU Libtool is free software; you can redistribute it and/or
14636 # modify it under the terms of the GNU General Public License as
14637 # published by the Free Software Foundation; either version 2 of
14638 # the License, or (at your option) any later version.
14640 # As a special exception to the GNU General Public License,
14641 # if you distribute this file as part of a program or library that
14642 # is built using GNU Libtool, you may include this file under the
14643 # same distribution terms that you use for the rest of that program.
14645 # GNU Libtool is distributed in the hope that it will be useful,
14646 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14647 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14648 # GNU General Public License for more details.
14650 # You should have received a copy of the GNU General Public License
14651 # along with GNU Libtool; see the file COPYING. If not, a copy
14652 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14653 # obtained by writing to the Free Software Foundation, Inc.,
14654 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14657 # The names of the tagged configurations supported by this script.
14660 # ### BEGIN LIBTOOL CONFIG
14662 # Which release of libtool.m4 was used?
14663 macro_version=$macro_version
14664 macro_revision=$macro_revision
14666 # Whether or not to build shared libraries.
14667 build_libtool_libs=$enable_shared
14669 # Whether or not to build static libraries.
14670 build_old_libs=$enable_static
14672 # What type of objects to build.
14675 # Whether or not to optimize for fast installation.
14676 fast_install=$enable_fast_install
14679 host_alias=$host_alias
14683 # The build system.
14684 build_alias=$build_alias
14688 # A sed program that does not truncate output.
14691 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14692 Xsed="\$SED -e 1s/^X//"
14694 # A grep program that handles long lines.
14700 # A literal string matcher.
14703 # A BSD- or MS-compatible name lister.
14706 # Whether we need soft or hard links.
14709 # What is the maximum length of a command?
14710 max_cmd_len=$max_cmd_len
14712 # Object file suffix (normally "o").
14715 # Executable file suffix (normally "").
14718 # whether the shell understands "unset".
14721 # turn spaces into newlines.
14724 # turn newlines into spaces.
14727 # How to create reloadable object files.
14728 reload_flag=$lt_reload_flag
14729 reload_cmds=$lt_reload_cmds
14731 # An object symbol dumper.
14732 OBJDUMP=$lt_OBJDUMP
14734 # Method to check whether dependent libraries are shared objects.
14735 deplibs_check_method=$lt_deplibs_check_method
14737 # Command to use when deplibs_check_method == "file_magic".
14738 file_magic_cmd=$lt_file_magic_cmd
14742 AR_FLAGS=$lt_AR_FLAGS
14744 # A symbol stripping program.
14747 # Commands used to install an old-style archive.
14749 old_postinstall_cmds=$lt_old_postinstall_cmds
14750 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14755 # LTCC compiler flags.
14756 LTCFLAGS=$lt_CFLAGS
14758 # Take the output of nm and produce a listing of raw symbols and C names.
14759 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14761 # Transform the output of nm in a proper C declaration.
14762 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14764 # Transform the output of nm in a C name address pair.
14765 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14767 # Transform the output of nm in a C name address pair when lib prefix is needed.
14768 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14770 # The name of the directory that contains temporary libtool files.
14773 # Shell to use when invoking shell scripts.
14776 # An echo program that does not interpret backslashes.
14779 # Used to examine libraries when file_magic_cmd begins with "file".
14780 MAGIC_CMD=$MAGIC_CMD
14782 # Must we lock files when doing compilation?
14783 need_locks=$lt_need_locks
14785 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14786 DSYMUTIL=$lt_DSYMUTIL
14788 # Tool to change global to local symbols on Mac OS X.
14791 # Tool to manipulate fat objects and archives on Mac OS X.
14794 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14797 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14798 OTOOL64=$lt_OTOOL64
14800 # Old archive suffix (normally "a").
14803 # Shared library suffix (normally ".so").
14804 shrext_cmds=$lt_shrext_cmds
14806 # The commands to extract the exported symbol list from a shared archive.
14807 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14809 # Variables whose values should be saved in libtool wrapper scripts and
14810 # restored at link time.
14811 variables_saved_for_relink=$lt_variables_saved_for_relink
14813 # Do we need the "lib" prefix for modules?
14814 need_lib_prefix=$need_lib_prefix
14816 # Do we need a version for libraries?
14817 need_version=$need_version
14819 # Library versioning type.
14820 version_type=$version_type
14822 # Shared library runtime path variable.
14823 runpath_var=$runpath_var
14825 # Shared library path variable.
14826 shlibpath_var=$shlibpath_var
14828 # Is shlibpath searched before the hard-coded library search path?
14829 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14831 # Format of library name prefix.
14832 libname_spec=$lt_libname_spec
14834 # List of archive names. First name is the real one, the rest are links.
14835 # The last name is the one that the linker finds with -lNAME
14836 library_names_spec=$lt_library_names_spec
14838 # The coded name of the library, if different from the real name.
14839 soname_spec=$lt_soname_spec
14841 # Command to use after installation of a shared archive.
14842 postinstall_cmds=$lt_postinstall_cmds
14844 # Command to use after uninstallation of a shared archive.
14845 postuninstall_cmds=$lt_postuninstall_cmds
14847 # Commands used to finish a libtool library installation in a directory.
14848 finish_cmds=$lt_finish_cmds
14850 # As "finish_cmds", except a single script fragment to be evaled but
14852 finish_eval=$lt_finish_eval
14854 # Whether we should hardcode library paths into libraries.
14855 hardcode_into_libs=$hardcode_into_libs
14857 # Compile-time system search path for libraries.
14858 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14860 # Run-time system search path for libraries.
14861 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14863 # Whether dlopen is supported.
14864 dlopen_support=$enable_dlopen
14866 # Whether dlopen of programs is supported.
14867 dlopen_self=$enable_dlopen_self
14869 # Whether dlopen of statically linked programs is supported.
14870 dlopen_self_static=$enable_dlopen_self_static
14872 # Commands to strip libraries.
14873 old_striplib=$lt_old_striplib
14874 striplib=$lt_striplib
14877 # The linker used to build libraries.
14880 # Commands used to build an old-style archive.
14881 old_archive_cmds=$lt_old_archive_cmds
14883 # A language specific compiler.
14886 # Is the compiler the GNU compiler?
14889 # Compiler flag to turn off builtin functions.
14890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14892 # How to pass a linker flag through the compiler.
14893 wl=$lt_lt_prog_compiler_wl
14895 # Additional compiler flags for building library objects.
14896 pic_flag=$lt_lt_prog_compiler_pic
14898 # Compiler flag to prevent dynamic linking.
14899 link_static_flag=$lt_lt_prog_compiler_static
14901 # Does compiler simultaneously support -c and -o options?
14902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14904 # Whether or not to add -lc for building shared libraries.
14905 build_libtool_need_lc=$archive_cmds_need_lc
14907 # Whether or not to disallow shared libs when runtime libs are static.
14908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14910 # Compiler flag to allow reflexive dlopens.
14911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14913 # Compiler flag to generate shared objects directly from archives.
14914 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14916 # Whether the compiler copes with passing no objects directly.
14917 compiler_needs_object=$lt_compiler_needs_object
14919 # Create an old-style archive from a shared archive.
14920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14922 # Create a temporary old-style archive to link instead of a shared archive.
14923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14925 # Commands used to build a shared archive.
14926 archive_cmds=$lt_archive_cmds
14927 archive_expsym_cmds=$lt_archive_expsym_cmds
14929 # Commands used to build a loadable module if different from building
14930 # a shared archive.
14931 module_cmds=$lt_module_cmds
14932 module_expsym_cmds=$lt_module_expsym_cmds
14934 # Whether we are building with GNU ld or not.
14935 with_gnu_ld=$lt_with_gnu_ld
14937 # Flag that allows shared libraries with undefined symbols to be built.
14938 allow_undefined_flag=$lt_allow_undefined_flag
14940 # Flag that enforces no undefined symbols.
14941 no_undefined_flag=$lt_no_undefined_flag
14943 # Flag to hardcode \$libdir into a binary during linking.
14944 # This must work even if \$libdir does not exist
14945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14947 # If ld is used when linking, flag to hardcode \$libdir into a binary
14948 # during linking. This must work even if \$libdir does not exist.
14949 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14951 # Whether we need a single "-rpath" flag with a separated argument.
14952 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14954 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14955 # DIR into the resulting binary.
14956 hardcode_direct=$hardcode_direct
14958 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14959 # DIR into the resulting binary and the resulting library dependency is
14960 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14961 # library is relocated.
14962 hardcode_direct_absolute=$hardcode_direct_absolute
14964 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14965 # into the resulting binary.
14966 hardcode_minus_L=$hardcode_minus_L
14968 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14969 # into the resulting binary.
14970 hardcode_shlibpath_var=$hardcode_shlibpath_var
14972 # Set to "yes" if building a shared library automatically hardcodes DIR
14973 # into the library and all subsequent libraries and executables linked
14975 hardcode_automatic=$hardcode_automatic
14977 # Set to yes if linker adds runtime paths of dependent libraries
14978 # to runtime path list.
14979 inherit_rpath=$inherit_rpath
14981 # Whether libtool must link a program against all its dependency libraries.
14982 link_all_deplibs=$link_all_deplibs
14984 # Fix the shell variable \$srcfile for the compiler.
14985 fix_srcfile_path=$lt_fix_srcfile_path
14987 # Set to "yes" if exported symbols are required.
14988 always_export_symbols=$always_export_symbols
14990 # The commands to list exported symbols.
14991 export_symbols_cmds=$lt_export_symbols_cmds
14993 # Symbols that should not be listed in the preloaded symbols.
14994 exclude_expsyms=$lt_exclude_expsyms
14996 # Symbols that must always be exported.
14997 include_expsyms=$lt_include_expsyms
14999 # Commands necessary for linking programs (against libraries) with templates.
15000 prelink_cmds=$lt_prelink_cmds
15002 # Specify filename containing input files.
15003 file_list_spec=$lt_file_list_spec
15005 # How to hardcode a shared library path into an executable.
15006 hardcode_action=$hardcode_action
15008 # ### END LIBTOOL CONFIG
15014 cat <<\_LT_EOF
>> "$cfgfile"
15015 # AIX sometimes has problems with the GCC collect2 program. For some
15016 # reason, if we set the COLLECT_NAMES environment variable, the problems
15017 # vanish in a puff of smoke.
15018 if test "X${COLLECT_NAMES+set}" != Xset
; then
15020 export COLLECT_NAMES
15027 ltmain
="$ac_aux_dir/ltmain.sh"
15030 # We use sed instead of cat because bash on DJGPP gets confused if
15031 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15032 # text mode, it properly converts lines to CR/LF. This bash problem
15033 # is reportedly fixed, but why not run on old versions too?
15034 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15035 ||
(rm -f "$cfgfile"; exit 1)
15039 cat << \_LT_EOF
>> "$cfgfile"
15041 # func_dirname file append nondir_replacement
15042 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15043 # otherwise set result to NONDIR_REPLACEMENT.
15047 */*) func_dirname_result
="${1%/*}${2}" ;;
15048 * ) func_dirname_result
="${3}" ;;
15052 # func_basename file
15055 func_basename_result
="${1##*/}"
15058 # func_dirname_and_basename file append nondir_replacement
15059 # perform func_basename and func_dirname in a single function
15061 # dirname: Compute the dirname of FILE. If nonempty,
15062 # add APPEND to the result, otherwise set result
15063 # to NONDIR_REPLACEMENT.
15064 # value returned in "$func_dirname_result"
15065 # basename: Compute filename of FILE.
15066 # value retuned in "$func_basename_result"
15067 # Implementation must be kept synchronized with func_dirname
15068 # and func_basename. For efficiency, we do not delegate to
15069 # those functions but instead duplicate the functionality here.
15070 func_dirname_and_basename
()
15073 */*) func_dirname_result
="${1%/*}${2}" ;;
15074 * ) func_dirname_result
="${3}" ;;
15076 func_basename_result
="${1##*/}"
15079 # func_stripname prefix suffix name
15080 # strip PREFIX and SUFFIX off of NAME.
15081 # PREFIX and SUFFIX must not contain globbing or regex special
15082 # characters, hashes, percent signs, but SUFFIX may contain a leading
15083 # dot (in which case that matches only a dot).
15086 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15087 # positional parameters, so assign one to ordinary parameter first.
15088 func_stripname_result
=${3}
15089 func_stripname_result
=${func_stripname_result#"${1}"}
15090 func_stripname_result
=${func_stripname_result%"${2}"}
15096 func_opt_split_opt
=${1%%=*}
15097 func_opt_split_arg
=${1#*=}
15104 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15105 *) func_lo2o_result
=${1} ;;
15109 # func_xform libobj-or-source
15112 func_xform_result
=${1%.*}.lo
15115 # func_arith arithmetic-term...
15118 func_arith_result
=$
(( $
* ))
15122 # STRING may not start with a hyphen.
15125 func_len_result
=${#1}
15130 *) # Bourne compatible functions.
15131 cat << \_LT_EOF
>> "$cfgfile"
15133 # func_dirname file append nondir_replacement
15134 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15135 # otherwise set result to NONDIR_REPLACEMENT.
15138 # Extract subdirectory from the argument.
15139 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15140 if test "X$func_dirname_result" = "X${1}"; then
15141 func_dirname_result
="${3}"
15143 func_dirname_result
="$func_dirname_result${2}"
15147 # func_basename file
15150 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15154 # func_stripname prefix suffix name
15155 # strip PREFIX and SUFFIX off of NAME.
15156 # PREFIX and SUFFIX must not contain globbing or regex special
15157 # characters, hashes, percent signs, but SUFFIX may contain a leading
15158 # dot (in which case that matches only a dot).
15159 # func_strip_suffix prefix name
15163 .
*) func_stripname_result
=`$ECHO "X${3}" \
15164 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15165 *) func_stripname_result
=`$ECHO "X${3}" \
15166 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15171 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15172 my_sed_long_arg
='1s/^-[^=]*=//'
15177 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15178 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15184 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15187 # func_xform libobj-or-source
15190 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15193 # func_arith arithmetic-term...
15196 func_arith_result
=`expr "$@"`
15200 # STRING may not start with a hyphen.
15203 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15209 case $lt_shell_append in
15211 cat << \_LT_EOF
>> "$cfgfile"
15213 # func_append var value
15214 # Append VALUE to the end of shell variable VAR.
15222 cat << \_LT_EOF
>> "$cfgfile"
15224 # func_append var value
15225 # Append VALUE to the end of shell variable VAR.
15236 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15237 ||
(rm -f "$cfgfile"; exit 1)
15239 mv -f "$cfgfile" "$ofile" ||
15240 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15244 "genversion.sh":F
) chmod +x genversion.sh
;;
15245 "version.h":C
) echo '#define CLOOG_HEAD "'`./genversion.sh`'"' > version.h
;;
15246 "doc/gitversion.texi":C
) echo '@set VERSION '`./genversion.sh`'' > doc
/gitversion.texi
;;
15252 { (exit 0); exit 0; }
15254 chmod +x
$CONFIG_STATUS
15255 ac_clean_files
=$ac_clean_files_save
15257 test $ac_write_fail = 0 ||
15258 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15259 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15260 { (exit 1); exit 1; }; }
15263 # configure is writing to config.log, and then calls config.status.
15264 # config.status does its own redirection, appending to config.log.
15265 # Unfortunately, on DOS this fails, as config.log is still kept open
15266 # by configure, so config.status won't be able to write to it; its
15267 # output is simply discarded. So we exec the FD to /dev/null,
15268 # effectively closing config.log, so it can be properly (re)opened and
15269 # appended to by config.status. When coming back to configure, we
15270 # need to make the FD available again.
15271 if test "$no_create" != yes; then
15273 ac_config_status_args
=
15274 test "$silent" = yes &&
15275 ac_config_status_args
="$ac_config_status_args --quiet"
15277 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15279 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15280 # would make configure fail if this is the last instruction.
15281 $ac_cs_success ||
{ (exit 1); exit 1; }
15283 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15284 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15285 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15290 echo " /*-----------------------------------------------*"
15291 echo " * CLooG configuration is OK *"
15292 echo " *-----------------------------------------------*/"
15293 echo "It appears that your system is OK to start CLooG compilation. You need"
15294 echo "now to type \"make\". After compilation, you should check CLooG by typing"
15295 echo "\"make check\". If no problem occur, you can type \"make uninstall\" if"
15296 echo "you are upgrading an old version. Lastly type \"make install\" to install"
15297 echo "CLooG on your system (log as root if necessary)."