2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libmudflap 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (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 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 # Check that we are running under the correct shell.
529 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Remove one level of quotation (which was required for Make).
534 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539 if test "X$1" = X--no-reexec
; then
540 # Discard the --no-reexec flag, and continue.
542 elif test "X$1" = X--fallback-echo
; then
543 # Avoid inline document here, it may be left over
545 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546 # Yippee, $ECHO works!
549 # Restart under the correct shell.
550 exec $SHELL "$0" --no-reexec ${1+"$@"}
553 if test "X$1" = X--fallback-echo
; then
554 # used as fallback echo
562 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
566 if test -z "$lt_ECHO"; then
567 if test "X${echo_test_string+set}" != Xset
; then
568 # find a string as large as possible, as long as the shell can cope with it
569 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
572 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
579 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581 test "X$echo_testing_string" = "X$echo_test_string"; then
584 # The Solaris, AIX, and Digital Unix default echo programs unquote
585 # backslashes. This makes it impossible to quote backslashes using
586 # echo "$something" | sed 's/\\/\\\\/g'
588 # So, first we look for a working echo in the user's PATH.
590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
591 for dir
in $PATH /usr
/ucb
; do
593 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
594 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596 test "X$echo_testing_string" = "X$echo_test_string"; then
603 if test "X$ECHO" = Xecho
; then
604 # We didn't find a better echo, so look for alternatives.
605 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
608 # This shell has a builtin print -r that does the trick.
610 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
611 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
612 # If we have ksh, try running configure again with it.
613 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
614 export ORIGINAL_CONFIG_SHELL
615 CONFIG_SHELL
=/bin
/ksh
617 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623 test "X$echo_testing_string" = "X$echo_test_string"; then
626 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627 test "X$echo_testing_string" = 'X\t' &&
628 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
632 SHELL
="$CONFIG_SHELL"
634 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
635 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636 test "X$echo_testing_string" = 'X\t' &&
637 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638 test "X$echo_testing_string" = "X$echo_test_string"; then
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
641 # maybe with a smaller string...
644 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
652 if test "$prev" != 'sed 50q "$0"'; then
653 echo_test_string
=`eval $prev`
654 export echo_test_string
655 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 # Oops. We lost completely, so just stick with echo.
666 # Copy echo and quote the copy suitably for passing to libtool from
667 # the Makefile, instead of quoting the original, which is used later.
669 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 exec 7<&0 </dev
/null
6>&1
679 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680 # so uname gets run too.
681 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
686 ac_default_prefix
=/usr
/local
688 ac_config_libobj_dir
=.
695 # Identity of this package.
696 PACKAGE_NAME
='libmudflap'
697 PACKAGE_TARNAME
='libmudflap'
698 PACKAGE_VERSION
='1.0'
699 PACKAGE_STRING
='libmudflap 1.0'
703 ac_unique_file
="mf-runtime.c"
704 # Factoring default headers for most tests.
705 ac_includes_default
="\
707 #ifdef HAVE_SYS_TYPES_H
708 # include <sys/types.h>
710 #ifdef HAVE_SYS_STAT_H
711 # include <sys/stat.h>
717 # ifdef HAVE_STDLIB_H
722 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727 #ifdef HAVE_STRINGS_H
728 # include <strings.h>
730 #ifdef HAVE_INTTYPES_H
731 # include <inttypes.h>
740 ac_subst_vars
='am__EXEEXT_FALSE
792 MAINTAINER_MODE_FALSE
802 INSTALL_STRIP_PROGRAM
857 program_transform_name
870 enable_option_checking
871 enable_version_specific_runtime_libs
872 enable_maintainer_mode
874 enable_dependency_tracking
883 ac_precious_vars
='build_alias
890 # Initialize some variables set by options.
892 ac_init_version
=false
893 ac_unrecognized_opts
=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir |
--docdir |
--docdi |
--doc |
--do)
1010 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1015 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* |
--enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1035 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1036 |
--exec |
--exe |
--ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1039 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1040 |
--exec=* |
--exe=* |
--ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas |
--gas |
--ga |
--g)
1044 # Obsolete; use --with-gas.
1047 -help |
--help |
--hel |
--he |
-h)
1048 ac_init_help
=long
;;
1049 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1052 ac_init_help
=short
;;
1054 -host |
--host |
--hos |
--ho)
1055 ac_prev
=host_alias
;;
1056 -host=* |
--host=* |
--hos=* |
--ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1061 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir |
--includedir |
--includedi |
--included |
--include \
1066 |
--includ |
--inclu |
--incl |
--inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1069 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1074 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir |
--libdir |
--libdi |
--libd)
1079 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1083 |
--libexe |
--libex |
--libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1086 |
--libexe=* |
--libex=* |
--libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1095 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1098 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1103 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp |
--nfp |
--nf)
1107 # Obsolete; use --without-fp.
1110 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1111 |
--no-cr |
--no-c |
-n)
1114 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1115 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1118 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1119 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1120 |
--oldin |
--oldi |
--old |
--ol |
--o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1123 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1124 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1129 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1133 |
--program-pre |
--program-pr |
--program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1136 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1140 |
--program-suf |
--program-su |
--program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1143 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name |
--program-transform-name \
1147 |
--program-transform-nam |
--program-transform-na \
1148 |
--program-transform-n |
--program-transform- \
1149 |
--program-transform |
--program-transfor \
1150 |
--program-transfo |
--program-transf \
1151 |
--program-trans |
--program-tran \
1152 |
--progr-tra |
--program-tr |
--program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* |
--program-transform-name=* \
1155 |
--program-transform-nam=* |
--program-transform-na=* \
1156 |
--program-transform-n=* |
--program-transform-=* \
1157 |
--program-transform=* |
--program-transfor=* \
1158 |
--program-transfo=* |
--program-transf=* \
1159 |
--program-trans=* |
--program-tran=* \
1160 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1165 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1170 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1174 |
-silent |
--silent |
--silen |
--sile |
--sil)
1177 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1179 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1184 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1185 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1189 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1190 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site |
--site |
--sit)
1196 -site=* |
--site=* |
--sit=*)
1199 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1201 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1205 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1208 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1212 ac_prev
=target_alias
;;
1213 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1219 -version |
--version |
--versio |
--versi |
--vers |
-V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* |
--without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1259 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1262 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1266 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1269 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) as_fn_error
"unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information."
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1281 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error
"missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1328 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1343 If a cross compiler is detected then cross compile mode will be used." >&2
1344 elif test "x$build_alias" != "x$host_alias"; then
1350 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1352 test "$silent" = yes && exec 6>/dev
/null
1355 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1356 ac_ls_di
=`ls -di .` &&
1357 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1358 as_fn_error
"working directory cannot be determined"
1359 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1360 as_fn_error
"pwd does not report name of working directory"
1363 # Find the source files, if location was not specified.
1364 if test -z "$srcdir"; then
1365 ac_srcdir_defaulted
=yes
1366 # Try the directory containing this script, then the parent directory.
1367 ac_confdir
=`$as_dirname -- "$as_myself" ||
1368 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1369 X"$as_myself" : 'X\(//\)[^/]' \| \
1370 X"$as_myself" : 'X\(//\)$' \| \
1371 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1372 $as_echo X"$as_myself" |
1373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 if test ! -r "$srcdir/$ac_unique_file"; then
1395 ac_srcdir_defaulted
=no
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1398 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1399 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1401 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1403 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1405 # When building in place, set srcdir=.
1406 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 # Remove unnecessary trailing slashes from srcdir.
1410 # Double slashes in file names in object file debugging info
1411 # mess up M-x gdb in Emacs.
1413 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1415 for ac_var
in $ac_precious_vars; do
1416 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1417 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1418 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1419 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1423 # Report the --help message.
1425 if test "$ac_init_help" = "long"; then
1426 # Omit some internal or obsolete options to make the list less imposing.
1427 # This message is too long to be a string in the A/UX 3.1 sh.
1429 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
1431 Usage: $0 [OPTION]... [VAR=VALUE]...
1433 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1434 VAR=VALUE. See below for descriptions of some of the useful variables.
1436 Defaults for the options are specified in brackets.
1439 -h, --help display this help and exit
1440 --help=short display options specific to this package
1441 --help=recursive display the short help of all the included packages
1442 -V, --version display version information and exit
1443 -q, --quiet, --silent do not print \`checking...' messages
1444 --cache-file=FILE cache test results in FILE [disabled]
1445 -C, --config-cache alias for \`--cache-file=config.cache'
1446 -n, --no-create do not create output files
1447 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1449 Installation directories:
1450 --prefix=PREFIX install architecture-independent files in PREFIX
1451 [$ac_default_prefix]
1452 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 By default, \`make install' will install all the files in
1456 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1457 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1458 for instance \`--prefix=\$HOME'.
1460 For better control, use the options below.
1462 Fine tuning of the installation directories:
1463 --bindir=DIR user executables [EPREFIX/bin]
1464 --sbindir=DIR system admin executables [EPREFIX/sbin]
1465 --libexecdir=DIR program executables [EPREFIX/libexec]
1466 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1467 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1468 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1469 --libdir=DIR object code libraries [EPREFIX/lib]
1470 --includedir=DIR C header files [PREFIX/include]
1471 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1472 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1473 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1474 --infodir=DIR info documentation [DATAROOTDIR/info]
1475 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1476 --mandir=DIR man documentation [DATAROOTDIR/man]
1477 --docdir=DIR documentation root [DATAROOTDIR/doc/libmudflap]
1478 --htmldir=DIR html documentation [DOCDIR]
1479 --dvidir=DIR dvi documentation [DOCDIR]
1480 --pdfdir=DIR pdf documentation [DOCDIR]
1481 --psdir=DIR ps documentation [DOCDIR]
1487 --program-prefix=PREFIX prepend PREFIX to installed program names
1488 --program-suffix=SUFFIX append SUFFIX to installed program names
1489 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1492 --build=BUILD configure
for building on BUILD
[guessed
]
1493 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1494 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1498 if test -n "$ac_init_help"; then
1499 case $ac_init_help in
1500 short | recursive
) echo "Configuration of libmudflap 1.0:";;
1505 --disable-option-checking ignore unrecognized
--enable/--with options
1506 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1507 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1508 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1509 --enable-maintainer-mode enable make rules and dependencies not useful
1510 (and sometimes confusing
) to the casual installer
1511 --enable-multilib build many library versions
(default
)
1512 --disable-dependency-tracking speeds up one-time build
1513 --enable-dependency-tracking do not reject slow dependency extractors
1514 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1515 --enable-static[=PKGS
] build static libraries
[default
=yes]
1516 --enable-fast-install[=PKGS
]
1517 optimize
for fast installation
[default
=yes]
1518 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1519 --enable-tls Use thread-local storage
[default
=yes]
1522 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1523 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1524 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1526 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1528 Some influential environment variables
:
1529 CC C compiler
command
1530 CFLAGS C compiler flags
1531 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1532 nonstandard directory
<lib dir
>
1533 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1534 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1535 you have headers
in a nonstandard directory
<include dir
>
1538 Use these variables to override the choices made by
`configure' or to help
1539 it to find libraries and programs with nonstandard names/locations.
1541 Report bugs to the package provider.
1546 if test "$ac_init_help" = "recursive"; then
1547 # If there are subdirs, report their specific --help.
1548 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549 test -d "$ac_dir" ||
1550 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1555 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1558 # A ".." for each directory in $ac_dir_suffix.
1559 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1560 case $ac_top_builddir_sub in
1561 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1565 ac_abs_top_builddir=$ac_pwd
1566 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1567 # for backward compatibility:
1568 ac_top_builddir=$ac_top_build_prefix
1571 .) # We are building in place.
1573 ac_top_srcdir=$ac_top_builddir_sub
1574 ac_abs_top_srcdir=$ac_pwd ;;
1575 [\\/]* | ?:[\\/]* ) # Absolute name.
1576 ac_srcdir=$srcdir$ac_dir_suffix;
1577 ac_top_srcdir=$srcdir
1578 ac_abs_top_srcdir=$srcdir ;;
1580 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1581 ac_top_srcdir=$ac_top_build_prefix$srcdir
1582 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586 cd "$ac_dir" || { ac_status=$?; continue; }
1587 # Check for guested configure.
1588 if test -f "$ac_srcdir/configure.gnu"; then
1590 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1591 elif test -f "$ac_srcdir/configure"; then
1593 $SHELL "$ac_srcdir/configure" --help=recursive
1595 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597 cd "$ac_pwd" || { ac_status=$?; break; }
1601 test -n "$ac_init_help" && exit $ac_status
1602 if $ac_init_version; then
1604 libmudflap configure 1.0
1605 generated by GNU Autoconf 2.64
1607 Copyright (C) 2009 Free Software Foundation, Inc.
1608 This configure script is free software; the Free Software Foundation
1609 gives unlimited permission to copy, distribute and modify it.
1614 ## ------------------------ ##
1615 ## Autoconf initialization. ##
1616 ## ------------------------ ##
1618 # ac_fn_c_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_c_try_compile ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 rm -f conftest.$ac_objext
1625 if { { ac_try="$ac_compile"
1627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1628 *) ac_try_echo
=$ac_try;;
1630 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1634 if test -s conftest.err
; then
1635 grep -v '^ *+' conftest.err
>conftest.er1
1636 cat conftest.er1
>&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_c_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.
$ac_objext; then :
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.
$ac_ext >&5
1651 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1654 } # ac_fn_c_try_compile
1656 # ac_fn_c_try_cpp LINENO
1657 # ----------------------
1658 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1661 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1662 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1671 if test -s conftest.err; then
1672 grep -v '^ *+' conftest.err >conftest.er1
1673 cat conftest.er1 >&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } >/dev/null && {
1678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1679 test ! -s conftest.err
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1688 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1694 # -------------------------------------------------------
1695 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1696 # the include files in INCLUDES and setting the cache variable VAR
1698 ac_fn_c_check_header_mongrel ()
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1705 $as_echo_n "(cached) " >&6
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1709 $as_echo "$ac_res" >&6; }
1711 # Is the header compilable?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1713 $as_echo_n "checking $2 usability... " >&6; }
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1719 if ac_fn_c_try_compile "$LINENO"; then :
1720 ac_header_compiler=yes
1722 ac_header_compiler=no
1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1726 $as_echo "$ac_header_compiler" >&6; }
1728 # Is the header present?
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1730 $as_echo_n "checking $2 presence... " >&6; }
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h. */
1735 if ac_fn_c_try_cpp "$LINENO"; then :
1736 ac_header_preproc=yes
1738 ac_header_preproc=no
1740 rm -f conftest.err conftest.$ac_ext
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1742 $as_echo "$ac_header_preproc" >&6; }
1744 # So? What about this header?
1745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1748 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1750 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1754 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1756 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1758 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1760 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1762 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768 $as_echo_n "(cached) " >&6
1770 eval "$3=\$ac_header_compiler"
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1776 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1778 } # ac_fn_c_check_header_mongrel
1780 # ac_fn_c_try_run LINENO
1781 # ----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1783 # that executables *can* be run.
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 if { { ac_try="$ac_link"
1789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1790 *) ac_try_echo
=$ac_try;;
1792 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>&5
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1798 { { case "(($ac_try" in
1799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_try") 2>&5
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; }; }; then :
1810 $as_echo "$as_me: program exited with status $ac_status" >&5
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1814 ac_retval=$ac_status
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1823 # -------------------------------------------------------
1824 # Tests whether HEADER exists and can be compiled using the include files in
1825 # INCLUDES, setting the cache variable VAR accordingly.
1826 ac_fn_c_check_header_compile ()
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830 $as_echo_n "checking for $2... " >&6; }
1831 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1832 $as_echo_n "(cached) " >&6
1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1839 if ac_fn_c_try_compile "$LINENO"; then :
1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 } # ac_fn_c_check_header_compile
1853 # ac_fn_c_try_link LINENO
1854 # -----------------------
1855 # Try to link conftest.$ac_ext, and return whether this succeeded.
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 rm -f conftest.$ac_objext conftest$ac_exeext
1860 if { { ac_try="$ac_link"
1862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1863 *) ac_try_echo
=$ac_try;;
1865 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_link") 2>conftest.err
1869 if test -s conftest.err
; then
1870 grep -v '^ *+' conftest.err
>conftest.er1
1871 cat conftest.er1
>&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_c_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest
$ac_exeext && {
1879 test "$cross_compiling" = yes ||
1880 $as_test_x conftest
$ac_exeext
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.
$ac_ext >&5
1889 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1890 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1891 # interfere with the next link command; also delete a directory that is
1892 # left behind by Apple's compiler. We do this before executing the actions.
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1897 } # ac_fn_c_try_link
1899 # ac_fn_c_check_func LINENO FUNC VAR
1900 # ----------------------------------
1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1902 ac_fn_c_check_func
()
1904 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1908 $as_echo_n "(cached) " >&6
1910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1912 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1914 #define $2 innocuous_$2
1916 /* System header to define __stub macros and hopefully few prototypes,
1917 which can conflict with char $2 (); below.
1918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1919 <limits.h> exists even on freestanding compilers. */
1922 # include <limits.h>
1924 # include <assert.h>
1929 /* Override any GCC internal prototype to avoid an error.
1930 Use char because int might match the return type of a GCC
1931 builtin and then its argument prototype would still apply. */
1936 /* The GNU C library defines this for functions which it implements
1937 to always fail with ENOSYS. Some functions are actually named
1938 something starting with __ and the normal name is an alias. */
1939 #if defined __stub_$2 || defined __stub___$2
1951 if ac_fn_c_try_link
"$LINENO"; then :
1956 rm -f core conftest.err conftest.
$ac_objext \
1957 conftest
$ac_exeext conftest.
$ac_ext
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1964 } # ac_fn_c_check_func
1965 cat >config.log
<<_ACEOF
1966 This file contains any messages produced by compilers while
1967 running configure, to aid debugging if configure makes a mistake.
1969 It was created by libmudflap $as_me 1.0, which was
1970 generated by GNU Autoconf 2.64. Invocation command line was
1982 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1983 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1984 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1985 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1986 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1988 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1989 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1991 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1992 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1993 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1994 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1995 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1996 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1997 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir
=.
2006 $as_echo "PATH: $as_dir"
2022 # Keep a trace of the command line.
2023 # Strip out --no-create and --no-recursion so they do not pile up.
2024 # Strip out --silent because we don't want to record it for future runs.
2025 # Also quote any args containing shell meta-characters.
2026 # Make two passes to allow for proper duplicate-argument suppression.
2030 ac_must_keep_next
=false
2036 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2037 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2038 |
-silent |
--silent |
--silen |
--sile |
--sil)
2041 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2044 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2046 as_fn_append ac_configure_args1
" '$ac_arg'"
2047 if test $ac_must_keep_next = true
; then
2048 ac_must_keep_next
=false
# Got value, back to normal.
2051 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2052 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2053 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2054 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2055 case "$ac_configure_args0 " in
2056 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2059 -* ) ac_must_keep_next
=true
;;
2062 as_fn_append ac_configure_args
" '$ac_arg'"
2067 { ac_configure_args0
=; unset ac_configure_args0
;}
2068 { ac_configure_args1
=; unset ac_configure_args1
;}
2070 # When interrupted or exit'd, cleanup temporary files, and complete
2071 # config.log. We remove comments because anyway the quotes in there
2072 # would cause problems or look ugly.
2073 # WARNING: Use '\'' to represent an apostrophe within the trap.
2074 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2075 trap 'exit_status=$?
2076 # Save into config.log some information that might help in debugging.
2081 ## ---------------- ##
2082 ## Cache variables. ##
2083 ## ---------------- ##
2086 # The following way of writing the cache mishandles newlines in values,
2088 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2089 eval ac_val=\$$ac_var
2093 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2094 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2097 _ | IFS | as_nl) ;; #(
2098 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2099 *) { eval $ac_var=; unset $ac_var;} ;;
2104 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2105 *${as_nl}ac_space=\ *)
2107 "s/'\''/'\''\\\\'\'''\''/g;
2108 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2111 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2119 ## ----------------- ##
2120 ## Output variables. ##
2121 ## ----------------- ##
2124 for ac_var in $ac_subst_vars
2126 eval ac_val=\$$ac_var
2128 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2130 $as_echo "$ac_var='\''$ac_val'\''"
2134 if test -n "$ac_subst_files"; then
2136 ## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##
2141 for ac_var
in $ac_subst_files
2143 eval ac_val
=\$
$ac_var
2145 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2147 $as_echo "$ac_var='\''$ac_val'\''"
2152 if test -s confdefs.h; then
2162 test "$ac_signal" != 0 &&
2163 $as_echo "$as_me: caught signal $ac_signal"
2164 $as_echo "$as_me: exit $exit_status"
2166 rm -f core *.core core.conftest.* &&
2167 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2170 for ac_signal
in 1 2 13 15; do
2171 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2176 rm -f -r conftest
* confdefs.h
2178 $as_echo "/* confdefs.h */" > confdefs.h
2180 # Predefined preprocessor variables.
2182 cat >>confdefs.h
<<_ACEOF
2183 #define PACKAGE_NAME "$PACKAGE_NAME"
2186 cat >>confdefs.h
<<_ACEOF
2187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2190 cat >>confdefs.h
<<_ACEOF
2191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2194 cat >>confdefs.h
<<_ACEOF
2195 #define PACKAGE_STRING "$PACKAGE_STRING"
2198 cat >>confdefs.h
<<_ACEOF
2199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2202 cat >>confdefs.h
<<_ACEOF
2203 #define PACKAGE_URL "$PACKAGE_URL"
2207 # Let the site file select an alternate cache file if it wants to.
2208 # Prefer an explicitly selected file to automatically selected ones.
2211 if test -n "$CONFIG_SITE"; then
2212 ac_site_file1
=$CONFIG_SITE
2213 elif test "x$prefix" != xNONE
; then
2214 ac_site_file1
=$prefix/share
/config.site
2215 ac_site_file2
=$prefix/etc
/config.site
2217 ac_site_file1
=$ac_default_prefix/share
/config.site
2218 ac_site_file2
=$ac_default_prefix/etc
/config.site
2220 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2222 test "x$ac_site_file" = xNONE
&& continue
2223 if test -r "$ac_site_file"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2225 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2226 sed 's/^/| /' "$ac_site_file" >&5
2231 if test -r "$cache_file"; then
2232 # Some versions of bash will fail to source /dev/null (special
2233 # files actually), so we avoid doing that.
2234 if test -f "$cache_file"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2236 $as_echo "$as_me: loading cache $cache_file" >&6;}
2238 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2239 *) .
"./$cache_file";;
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2244 $as_echo "$as_me: creating cache $cache_file" >&6;}
2248 # Check that the precious variables saved in the cache have kept the same
2250 ac_cache_corrupted
=false
2251 for ac_var
in $ac_precious_vars; do
2252 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2253 eval ac_new_set
=\
$ac_env_${ac_var}_set
2254 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2255 eval ac_new_val
=\
$ac_env_${ac_var}_value
2256 case $ac_old_set,$ac_new_set in
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2259 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2260 ac_cache_corrupted
=: ;;
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2263 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2264 ac_cache_corrupted
=: ;;
2267 if test "x$ac_old_val" != "x$ac_new_val"; then
2268 # differences in whitespace do not lead to failure.
2269 ac_old_val_w
=`echo x $ac_old_val`
2270 ac_new_val_w
=`echo x $ac_new_val`
2271 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2273 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2274 ac_cache_corrupted
=:
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2277 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2278 eval $ac_var=\
$ac_old_val
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2281 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2283 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2286 # Pass precious variables to config.status.
2287 if test "$ac_new_set" = set; then
2289 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2290 *) ac_arg
=$ac_var=$ac_new_val ;;
2292 case " $ac_configure_args " in
2293 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2294 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2298 if $ac_cache_corrupted; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2302 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2303 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2305 ## -------------------- ##
2306 ## Main body of script. ##
2307 ## -------------------- ##
2310 ac_cpp
='$CPP $CPPFLAGS'
2311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2321 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2322 for ac_t
in install-sh
install.sh shtool
; do
2323 if test -f "$ac_dir/$ac_t"; then
2325 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2330 if test -z "$ac_aux_dir"; then
2331 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2334 # These three variables are undocumented and unsupported,
2335 # and are intended to be withdrawn in a future Autoconf release.
2336 # They can cause serious problems if a builder's source tree is in a directory
2337 # whose full name contains unusual characters.
2338 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2339 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2340 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2343 # Make sure we can run config.sub.
2344 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2345 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2348 $as_echo_n "checking build system type... " >&6; }
2349 if test "${ac_cv_build+set}" = set; then :
2350 $as_echo_n "(cached) " >&6
2352 ac_build_alias
=$build_alias
2353 test "x$ac_build_alias" = x
&&
2354 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2355 test "x$ac_build_alias" = x
&&
2356 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2357 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2358 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2362 $as_echo "$ac_cv_build" >&6; }
2363 case $ac_cv_build in
2365 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2368 ac_save_IFS
=$IFS; IFS
='-'
2374 # Remember, the first character of IFS is used to create $*,
2375 # except with old shells:
2378 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2382 $as_echo_n "checking host system type... " >&6; }
2383 if test "${ac_cv_host+set}" = set; then :
2384 $as_echo_n "(cached) " >&6
2386 if test "x$host_alias" = x
; then
2387 ac_cv_host
=$ac_cv_build
2389 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2390 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2395 $as_echo "$ac_cv_host" >&6; }
2398 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2401 ac_save_IFS
=$IFS; IFS
='-'
2407 # Remember, the first character of IFS is used to create $*,
2408 # except with old shells:
2411 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2415 $as_echo_n "checking target system type... " >&6; }
2416 if test "${ac_cv_target+set}" = set; then :
2417 $as_echo_n "(cached) " >&6
2419 if test "x$target_alias" = x
; then
2420 ac_cv_target
=$ac_cv_host
2422 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2423 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2428 $as_echo "$ac_cv_target" >&6; }
2429 case $ac_cv_target in
2431 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2433 target
=$ac_cv_target
2434 ac_save_IFS
=$IFS; IFS
='-'
2440 # Remember, the first character of IFS is used to create $*,
2441 # except with old shells:
2444 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2447 # The aliases save the names the user supplied, while $host etc.
2448 # will get canonicalized.
2449 test -n "$target_alias" &&
2450 test "$program_prefix$program_suffix$program_transform_name" = \
2452 program_prefix
=${target_alias}-
2454 case ${build_alias} in
2455 "") build_noncanonical
=${build} ;;
2456 *) build_noncanonical
=${build_alias} ;;
2459 case ${host_alias} in
2460 "") host_noncanonical
=${build_noncanonical} ;;
2461 *) host_noncanonical
=${host_alias} ;;
2464 case ${target_alias} in
2465 "") target_noncanonical
=${host_noncanonical} ;;
2466 *) target_noncanonical
=${target_alias} ;;
2472 am__api_version
='1.11'
2474 # Find a good install program. We prefer a C program (faster),
2475 # so one script is as good as another. But avoid the broken or
2476 # incompatible versions:
2477 # SysV /etc/install, /usr/sbin/install
2478 # SunOS /usr/etc/install
2479 # IRIX /sbin/install
2481 # AmigaOS /C/install, which installs bootblocks on floppy discs
2482 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2483 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2484 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2485 # OS/2's system install, which has a completely different semantic
2486 # ./install, which can be erroneously created by make from ./install.sh.
2487 # Reject install programs that cannot install multiple files.
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2489 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2490 if test -z "$INSTALL"; then
2491 if test "${ac_cv_path_install+set}" = set; then :
2492 $as_echo_n "(cached) " >&6
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 # Account for people who put trailing slashes in PATH elements.
2500 case $as_dir/ in #((
2501 .
/ | .
// |
/[cC
]/* | \
2502 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2503 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2506 # OSF1 and SCO ODT 3.0 have their own names for install.
2507 # Don't use installbsd from OSF since it installs stuff as root
2509 for ac_prog
in ginstall scoinst
install; do
2510 for ac_exec_ext
in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2512 if test $ac_prog = install &&
2513 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2514 # AIX install. It has an incompatible calling convention.
2516 elif test $ac_prog = install &&
2517 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2518 # program-specific install script used by HP pwplus--don't use.
2521 rm -rf conftest.one conftest.two conftest.dir
2522 echo one
> conftest.one
2523 echo two
> conftest.two
2525 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2526 test -s conftest.one
&& test -s conftest.two
&&
2527 test -s conftest.dir
/conftest.one
&&
2528 test -s conftest.dir
/conftest.two
2530 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2543 rm -rf conftest.one conftest.two conftest.dir
2546 if test "${ac_cv_path_install+set}" = set; then
2547 INSTALL
=$ac_cv_path_install
2549 # As a last resort, use the slow shell script. Don't cache a
2550 # value for INSTALL within a source directory, because that will
2551 # break other packages using the cache if that directory is
2552 # removed, or if the value is a relative name.
2553 INSTALL
=$ac_install_sh
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2557 $as_echo "$INSTALL" >&6; }
2559 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2560 # It thinks the first close brace ends the variable substitution.
2561 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2563 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2565 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2568 $as_echo_n "checking whether build environment is sane... " >&6; }
2571 echo timestamp
> conftest.
file
2572 # Reject unsafe characters in $srcdir or the absolute working directory
2573 # name. Accept space and tab only in the latter.
2577 *[\\\"\
#\$\&\'\`$am_lf]*)
2578 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2581 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2582 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2585 # Do `set' in a subshell so we don't clobber the current shell's
2586 # arguments. Must try -L first in case configure is actually a
2587 # symlink; some systems play weird games with the mod time of symlinks
2588 # (eg FreeBSD returns the mod time of the symlink's containing
2591 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2592 if test "$*" = "X"; then
2594 set X
`ls -t "$srcdir/configure" conftest.file`
2597 if test "$*" != "X $srcdir/configure conftest.file" \
2598 && test "$*" != "X conftest.file $srcdir/configure"; then
2600 # If neither matched, then we have a broken ls. This can happen
2601 # if, for instance, CONFIG_SHELL is bash and it inherits a
2602 # broken ls alias from the environment. This has actually
2603 # happened. Such a system could not be considered "sane".
2604 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2605 alias in your environment" "$LINENO" 5
2608 test "$2" = conftest.
file
2614 as_fn_error
"newly created file is older than distributed files!
2615 Check your system clock" "$LINENO" 5
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2618 $as_echo "yes" >&6; }
2619 test "$program_prefix" != NONE
&&
2620 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2621 # Use a double $ so make ignores it.
2622 test "$program_suffix" != NONE
&&
2623 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2624 # Double any \ or $.
2625 # By default was `s,x,x', remove it if useless.
2626 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2627 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2629 # expand $ac_aux_dir to an absolute path
2630 am_aux_dir
=`cd $ac_aux_dir && pwd`
2632 if test x
"${MISSING+set}" != xset
; then
2635 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2637 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2640 # Use eval to expand $SHELL
2641 if eval "$MISSING --run true"; then
2642 am_missing_run
="$MISSING --run "
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2646 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2649 if test x
"${install_sh}" != xset
; then
2652 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2654 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2658 # Installed binaries are usually stripped using `strip' when the user
2659 # run `make install-strip'. However `strip' might not be the right
2660 # tool to use in cross-compilation environments, therefore Automake
2661 # will honor the `STRIP' environment variable to overrule this program.
2662 if test "$cross_compiling" != no
; then
2663 if test -n "$ac_tool_prefix"; then
2664 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2665 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667 $as_echo_n "checking for $ac_word... " >&6; }
2668 if test "${ac_cv_prog_STRIP+set}" = set; then :
2669 $as_echo_n "(cached) " >&6
2671 if test -n "$STRIP"; then
2672 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir
=.
2679 for ac_exec_ext
in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 STRIP
=$ac_cv_prog_STRIP
2692 if test -n "$STRIP"; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2694 $as_echo "$STRIP" >&6; }
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697 $as_echo "no" >&6; }
2702 if test -z "$ac_cv_prog_STRIP"; then
2704 # Extract the first word of "strip", so it can be a program name with args.
2705 set dummy strip
; ac_word
=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$ac_ct_STRIP"; then
2712 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir
=.
2719 for ac_exec_ext
in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 ac_cv_prog_ac_ct_STRIP
="strip"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2732 if test -n "$ac_ct_STRIP"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2734 $as_echo "$ac_ct_STRIP" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2740 if test "x$ac_ct_STRIP" = x
; then
2743 case $cross_compiling:$ac_tool_warned in
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2747 ac_tool_warned
=yes ;;
2752 STRIP
="$ac_cv_prog_STRIP"
2756 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2759 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2760 if test -z "$MKDIR_P"; then
2761 if test "${ac_cv_path_mkdir+set}" = set; then :
2762 $as_echo_n "(cached) " >&6
2764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2765 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2768 test -z "$as_dir" && as_dir
=.
2769 for ac_prog
in mkdir gmkdir
; do
2770 for ac_exec_ext
in '' $ac_executable_extensions; do
2771 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2772 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2773 'mkdir (GNU coreutils) '* | \
2774 'mkdir (coreutils) '* | \
2775 'mkdir (fileutils) '4.1*)
2776 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2786 if test "${ac_cv_path_mkdir+set}" = set; then
2787 MKDIR_P
="$ac_cv_path_mkdir -p"
2789 # As a last resort, use the slow shell script. Don't cache a
2790 # value for MKDIR_P within a source directory, because that will
2791 # break other packages using the cache if that directory is
2792 # removed, or if the value is a relative name.
2793 test -d .
/--version && rmdir .
/--version
2794 MKDIR_P
="$ac_install_sh -d"
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2798 $as_echo "$MKDIR_P" >&6; }
2802 [\\/$
]* | ?
:[\\/]*) ;;
2803 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2806 for ac_prog
in gawk mawk nawk
awk
2808 # Extract the first word of "$ac_prog", so it can be a program name with args.
2809 set dummy
$ac_prog; ac_word
=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if test "${ac_cv_prog_AWK+set}" = set; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$AWK"; then
2816 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir
=.
2823 for ac_exec_ext
in '' $ac_executable_extensions; do
2824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2825 ac_cv_prog_AWK
="$ac_prog"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 if test -n "$AWK"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2838 $as_echo "$AWK" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2845 test -n "$AWK" && break
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2849 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2851 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2852 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2853 $as_echo_n "(cached) " >&6
2855 cat >conftest.
make <<\_ACEOF
2858 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2860 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2861 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2863 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2865 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2869 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2871 $as_echo "yes" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2876 SET_MAKE
="MAKE=${MAKE-make}"
2879 rm -rf .tst
2>/dev
/null
2880 mkdir .tst
2>/dev
/null
2881 if test -d .tst
; then
2886 rmdir .tst
2>/dev
/null
2888 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2889 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2890 # is not polluted with repeated "-I."
2891 am__isrc
=' -I$(srcdir)'
2892 # test to see if srcdir already configured
2893 if test -f $srcdir/config.status
; then
2894 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2898 # test whether we have cygpath
2899 if test -z "$CYGPATH_W"; then
2900 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2901 CYGPATH_W
='cygpath -w'
2908 # Define the identity of the package.
2909 PACKAGE
='libmudflap'
2913 cat >>confdefs.h
<<_ACEOF
2914 #define PACKAGE "$PACKAGE"
2918 cat >>confdefs.h
<<_ACEOF
2919 #define VERSION "$VERSION"
2922 # Some tools Automake needs.
2924 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2927 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2930 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2933 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2936 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2938 # We need awk for the "check" target. The system "awk" is bad on
2940 # Always define AMTAR for backward compatibility.
2942 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2944 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2952 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2953 # Check whether --enable-version-specific-runtime-libs was given.
2954 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2955 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2956 yes) version_specific_libs
=yes ;;
2957 no
) version_specific_libs
=no
;;
2958 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2961 version_specific_libs
=no
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2965 $as_echo "$version_specific_libs" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2969 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2970 # Check whether --enable-maintainer-mode was given.
2971 if test "${enable_maintainer_mode+set}" = set; then :
2972 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2974 USE_MAINTAINER_MODE
=no
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2978 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2979 if test $USE_MAINTAINER_MODE = yes; then
2980 MAINTAINER_MODE_TRUE
=
2981 MAINTAINER_MODE_FALSE
='#'
2983 MAINTAINER_MODE_TRUE
='#'
2984 MAINTAINER_MODE_FALSE
=
2987 MAINT
=$MAINTAINER_MODE_TRUE
2992 # Default to --enable-multilib
2993 # Check whether --enable-multilib was given.
2994 if test "${enable_multilib+set}" = set; then :
2995 enableval
=$enable_multilib; case "$enableval" in
2996 yes) multilib
=yes ;;
2998 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3005 # We may get other options which we leave undocumented:
3006 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3007 # See config-ml.in if you want the gory details.
3009 if test "$srcdir" = "."; then
3010 if test "$with_target_subdir" != "."; then
3011 multi_basedir
="$srcdir/$with_multisrctop../.."
3013 multi_basedir
="$srcdir/$with_multisrctop.."
3016 multi_basedir
="$srcdir/.."
3020 # Even if the default multilib is not a cross compilation,
3021 # it may be that some of the other multilibs are.
3022 if test $cross_compiling = no
&& test $multilib = yes \
3023 && test "x${with_multisubdir}" != x
; then
3024 cross_compiling
=maybe
3027 ac_config_commands
="$ac_config_commands default-1"
3030 target_alias
=${target_alias-$host_alias}
3033 ac_config_headers
="$ac_config_headers config.h"
3037 ac_cpp
='$CPP $CPPFLAGS'
3038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3042 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3043 # We must force CC to /not/ be precious variables; otherwise
3044 # the wrong, non-multilib-adjusted value will be used in multilibs.
3045 # As a side effect, we have to subst CFLAGS ourselves.
3050 ac_cpp
='$CPP $CPPFLAGS'
3051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3056 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if test "${ac_cv_prog_CC+set}" = set; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$CC"; then
3063 ac_cv_prog_CC
="$CC" # Let the user override the test.
3065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir
=.
3070 for ac_exec_ext
in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test -n "$CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3085 $as_echo "$CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3093 if test -z "$ac_cv_prog_CC"; then
3095 # Extract the first word of "gcc", so it can be a program name with args.
3096 set dummy gcc
; ac_word
=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$ac_ct_CC"; then
3103 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir
=.
3110 for ac_exec_ext
in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_ac_ct_CC
="gcc"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3123 if test -n "$ac_ct_CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3125 $as_echo "$ac_ct_CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3131 if test "x$ac_ct_CC" = x
; then
3134 case $cross_compiling:$ac_tool_warned in
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3138 ac_tool_warned
=yes ;;
3146 if test -z "$CC"; then
3147 if test -n "$ac_tool_prefix"; then
3148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3149 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151 $as_echo_n "checking for $ac_word... " >&6; }
3152 if test "${ac_cv_prog_CC+set}" = set; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -n "$CC"; then
3156 ac_cv_prog_CC
="$CC" # Let the user override the test.
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_exec_ext
in '' $ac_executable_extensions; do
3164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3165 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 if test -n "$CC"; then
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3178 $as_echo "$CC" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181 $as_echo "no" >&6; }
3187 if test -z "$CC"; then
3188 # Extract the first word of "cc", so it can be a program name with args.
3189 set dummy cc
; ac_word
=$2
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3191 $as_echo_n "checking for $ac_word... " >&6; }
3192 if test "${ac_cv_prog_CC+set}" = set; then :
3193 $as_echo_n "(cached) " >&6
3195 if test -n "$CC"; then
3196 ac_cv_prog_CC
="$CC" # Let the user override the test.
3199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3203 test -z "$as_dir" && as_dir
=.
3204 for ac_exec_ext
in '' $ac_executable_extensions; do
3205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3207 ac_prog_rejected
=yes
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 if test $ac_prog_rejected = yes; then
3219 # We found a bogon in the path, so make sure we never use it.
3220 set dummy
$ac_cv_prog_CC
3222 if test $# != 0; then
3223 # We chose a different compiler from the bogus one.
3224 # However, it has the same basename, so the bogon will be chosen
3225 # first if we set CC to just the basename; use the full file name.
3227 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3233 if test -n "$CC"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3235 $as_echo "$CC" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3243 if test -z "$CC"; then
3244 if test -n "$ac_tool_prefix"; then
3245 for ac_prog
in cl.exe
3247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3248 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3250 $as_echo_n "checking for $ac_word... " >&6; }
3251 if test "${ac_cv_prog_CC+set}" = set; then :
3252 $as_echo_n "(cached) " >&6
3254 if test -n "$CC"; then
3255 ac_cv_prog_CC
="$CC" # Let the user override the test.
3257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3261 test -z "$as_dir" && as_dir
=.
3262 for ac_exec_ext
in '' $ac_executable_extensions; do
3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3264 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 if test -n "$CC"; then
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3277 $as_echo "$CC" >&6; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3284 test -n "$CC" && break
3287 if test -z "$CC"; then
3289 for ac_prog
in cl.exe
3291 # Extract the first word of "$ac_prog", so it can be a program name with args.
3292 set dummy
$ac_prog; ac_word
=$2
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3294 $as_echo_n "checking for $ac_word... " >&6; }
3295 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3296 $as_echo_n "(cached) " >&6
3298 if test -n "$ac_ct_CC"; then
3299 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3305 test -z "$as_dir" && as_dir
=.
3306 for ac_exec_ext
in '' $ac_executable_extensions; do
3307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3308 ac_cv_prog_ac_ct_CC
="$ac_prog"
3309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3319 if test -n "$ac_ct_CC"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3321 $as_echo "$ac_ct_CC" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3328 test -n "$ac_ct_CC" && break
3331 if test "x$ac_ct_CC" = x
; then
3334 case $cross_compiling:$ac_tool_warned in
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3338 ac_tool_warned
=yes ;;
3347 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error
"no acceptable C compiler found in \$PATH
3350 See \`config.log' for more details." "$LINENO" 5; }
3352 # Provide some information about the compiler.
3353 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3356 for ac_option
in --version -v -V -qversion; do
3357 { { ac_try
="$ac_compiler $ac_option >&5"
3359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363 $as_echo "$ac_try_echo"; } >&5
3364 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3366 if test -s conftest.err; then
3368 ... rest of stderr output deleted ...
3369 10q' conftest.err >conftest.er1
3370 cat conftest.er1 >&5
3371 rm -f conftest.er1 conftest.err
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3388 ac_clean_files_save=$ac_clean_files
3389 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3390 # Try to create an executable without -o first, disregard a.out.
3391 # It will help us diagnose broken compilers, and finding out an intuition
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3394 $as_echo_n "checking for C compiler default output file name... " >&6; }
3395 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3397 # The possible output files:
3398 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3401 for ac_file in $ac_files
3404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3410 if { { ac_try="$ac_link_default"
3412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3413 *) ac_try_echo
=$ac_try;;
3415 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_link_default") 2>&5
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; then :
3421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3424 # so that the user can short-circuit this test for compilers unknown to
3426 for ac_file
in $ac_files ''
3428 test -f "$ac_file" ||
continue
3430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3433 # We found the default executable, but exeext='' is most
3437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3439 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3441 # We set ac_cv_exeext here because the later test for it is not
3442 # safe: cross compilers may not add the suffix if given an `-o'
3443 # argument, so we may need to know it at that point already.
3444 # Even if this section looks crufty: it has the advantage of
3451 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3457 $as_echo "$ac_file" >&6; }
3458 if test -z "$ac_file"; then :
3459 $as_echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.
$ac_ext >&5
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 { as_fn_set_status
77
3465 as_fn_error
"C compiler cannot create executables
3466 See \`config.log' for more details." "$LINENO" 5; }; }
3468 ac_exeext
=$ac_cv_exeext
3470 # Check that the compiler produces executables we can run. If not, either
3471 # the compiler is broken, or we cross compile.
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3473 $as_echo_n "checking whether the C compiler works... " >&6; }
3474 # If not cross compiling, check that we can run a simple program.
3475 if test "$cross_compiling" != yes; then
3476 if { ac_try
='./$ac_file'
3477 { { case "(($ac_try" in
3478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_try") 2>&5
3485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486 test $ac_status = 0; }; }; then
3489 if test "$cross_compiling" = maybe; then
3492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3494 as_fn_error "cannot run C compiled programs.
3495 If you meant to cross compile
, use \
`--host'.
3496 See \`config.log
' for more details." "$LINENO" 5; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501 $as_echo "yes" >&6; }
3503 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3504 ac_clean_files=$ac_clean_files_save
3505 # Check that the compiler produces executables we can run. If not, either
3506 # the compiler is broken, or we cross compile.
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3508 $as_echo_n "checking whether we are cross compiling... " >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3510 $as_echo "$cross_compiling" >&6; }
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3513 $as_echo_n "checking for suffix of executables... " >&6; }
3514 if { { ac_try="$ac_link"
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521 (eval "$ac_link") 2>&5
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }; then :
3525 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3526 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3527 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3529 for ac_file
in conftest.exe conftest conftest.
*; do
3530 test -f "$ac_file" ||
continue
3532 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3533 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3542 See \`config.log' for more details." "$LINENO" 5; }
3544 rm -f conftest
$ac_cv_exeext
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3546 $as_echo "$ac_cv_exeext" >&6; }
3548 rm -f conftest.
$ac_ext
3549 EXEEXT
=$ac_cv_exeext
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3552 $as_echo_n "checking for suffix of object files... " >&6; }
3553 if test "${ac_cv_objext+set}" = set; then :
3554 $as_echo_n "(cached) " >&6
3556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3567 rm -f conftest.o conftest.obj
3568 if { { ac_try
="$ac_compile"
3570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575 (eval "$ac_compile") 2>&5
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }; then :
3579 for ac_file in conftest.o conftest.obj conftest.*; do
3580 test -f "$ac_file" || continue;
3582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3588 $as_echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593 as_fn_error "cannot compute suffix of object files
: cannot compile
3594 See \
`config.log' for more details." "$LINENO" 5; }
3596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3599 $as_echo "$ac_cv_objext" >&6; }
3600 OBJEXT=$ac_cv_objext
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3603 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3604 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3605 $as_echo_n "(cached) " >&6
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3621 if ac_fn_c_try_compile "$LINENO"; then :
3626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3627 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3631 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3632 if test $ac_compiler_gnu = yes; then
3637 ac_test_CFLAGS=${CFLAGS+set}
3638 ac_save_CFLAGS=$CFLAGS
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3640 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3641 if test "${ac_cv_prog_cc_g+set}" = set; then :
3642 $as_echo_n "(cached) " >&6
3644 ac_save_c_werror_flag=$ac_c_werror_flag
3645 ac_c_werror_flag=yes
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 if ac_fn_c_try_compile "$LINENO"; then :
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3674 if ac_fn_c_try_compile "$LINENO"; then :
3677 ac_c_werror_flag=$ac_save_c_werror_flag
3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h. */
3690 if ac_fn_c_try_compile "$LINENO"; then :
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3698 ac_c_werror_flag=$ac_save_c_werror_flag
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3701 $as_echo "$ac_cv_prog_cc_g" >&6; }
3702 if test "$ac_test_CFLAGS" = set; then
3703 CFLAGS=$ac_save_CFLAGS
3704 elif test $ac_cv_prog_cc_g = yes; then
3705 if test "$GCC" = yes; then
3711 if test "$GCC" = yes; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3718 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3719 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3720 $as_echo_n "(cached) " >&6
3722 ac_cv_prog_cc_c89=no
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3728 #include <sys/types.h>
3729 #include <sys/stat.h>
3730 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3731 struct buf { int x; };
3732 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3733 static char *e (p, i)
3739 static char *f (char * (*g) (char **, int), char **p, ...)
3744 s = g (p, va_arg (v,int));
3749 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3750 function prototypes and stuff, but not '\xHH' hex character constants.
3751 These don't provoke an error unfortunately, instead are silently treated
3752 as 'x'. The following induces an error, until -std is added to get
3753 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3754 array size at least. It's necessary to write '\x00'==0 to get something
3755 that's true only with -std. */
3756 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3758 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3759 inside strings and character constants. */
3761 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3763 int test (int i, double x);
3764 struct s1 {int (*f) (int a);};
3765 struct s2 {int (*f) (double a);};
3766 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3772 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3777 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3778 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3780 CC="$ac_save_CC $ac_arg"
3781 if ac_fn_c_try_compile "$LINENO"; then :
3782 ac_cv_prog_cc_c89=$ac_arg
3784 rm -f core conftest.err conftest.$ac_objext
3785 test "x$ac_cv_prog_cc_c89" != "xno" && break
3787 rm -f conftest.$ac_ext
3792 case "x$ac_cv_prog_cc_c89" in
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3795 $as_echo "none needed" >&6; } ;;
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3798 $as_echo "unsupported" >&6; } ;;
3800 CC="$CC $ac_cv_prog_cc_c89"
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3802 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3804 if test "x$ac_cv_prog_cc_c89" != xno; then :
3809 ac_cpp='$CPP $CPPFLAGS'
3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813 DEPDIR="${am__leading_dot}deps"
3815 ac_config_commands="$ac_config_commands depfiles"
3818 am_make=${MAKE-make}
3819 cat > confinc << 'END'
3821 @echo this is the am__doit target
3824 # If we don't find an include directive, just comment out the code.
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3826 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3830 # First try GNU make style include.
3831 echo "include confinc" > confmf
3832 # Ignore all kinds of additional output from `make'.
3833 case `$am_make -s -f confmf 2> /dev/null` in #(
3834 *the\ am__doit\ target*)
3840 # Now try BSD make style include.
3841 if test "$am__include" = "#"; then
3842 echo '.include
"confinc"' > confmf
3843 case `$am_make -s -f confmf 2> /dev/null` in #(
3844 *the\ am__doit\ target*)
3845 am__include=.include
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3854 $as_echo "$_am_result" >&6; }
3855 rm -f confinc confmf
3857 # Check whether --enable-dependency-tracking was given.
3858 if test "${enable_dependency_tracking+set}" = set; then :
3859 enableval=$enable_dependency_tracking;
3862 if test "x$enable_dependency_tracking" != xno; then
3863 am_depcomp="$ac_aux_dir/depcomp"
3866 if test "x$enable_dependency_tracking" != xno
; then
3876 depcc
="$CC" am_compiler_list
=
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3879 $as_echo_n "checking dependency style of $depcc... " >&6; }
3880 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3881 $as_echo_n "(cached) " >&6
3883 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3884 # We make a subdir and do the tests there. Otherwise we can end up
3885 # making bogus files that we don't know about and never remove. For
3886 # instance it was reported that on HP-UX the gcc test will end up
3887 # making a dummy file named `D' -- because `-MD' means `put the output
3890 # Copy depcomp to subdir because otherwise we won't find it if we're
3891 # using a relative directory.
3892 cp "$am_depcomp" conftest.dir
3894 # We will build objects and dependencies in a subdirectory because
3895 # it helps to detect inapplicable dependency modes. For instance
3896 # both Tru64's cc and ICC support -MD to output dependencies as a
3897 # side effect of compilation, but ICC will put the dependencies in
3898 # the current directory while Tru64 will put them in the object
3902 am_cv_CC_dependencies_compiler_type
=none
3903 if test "$am_compiler_list" = ""; then
3904 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3907 case " $depcc " in #(
3908 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3911 for depmode
in $am_compiler_list; do
3912 # Setup a source with many dependencies, because some compilers
3913 # like to wrap large dependency lists on column 80 (with \), and
3914 # we should not choose a depcomp mode which is confused by this.
3916 # We need to recreate these files for each test, as the compiler may
3917 # overwrite some of them when testing with obscure command lines.
3918 # This happens at least with the AIX C compiler.
3920 for i
in 1 2 3 4 5 6; do
3921 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3922 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3923 # Solaris 8's {/usr,}/bin/sh.
3924 touch sub
/conftst
$i.h
3926 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3928 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3929 # mode. It turns out that the SunPro C++ compiler does not properly
3930 # handle `-M -o', and we need to detect this. Also, some Intel
3931 # versions had trouble with output in subdirs
3932 am__obj
=sub
/conftest.
${OBJEXT-o}
3933 am__minus_obj
="-o $am__obj"
3936 # This depmode causes a compiler race in universal mode.
3937 test "$am__universal" = false ||
continue
3940 # after this tag, mechanisms are not by side-effect, so they'll
3941 # only be used when explicitly requested
3942 if test "x$enable_dependency_tracking" = xyes
; then
3948 msvisualcpp | msvcmsys
)
3949 # This compiler won't grok `-c -o', but also, the minuso test has
3950 # not run yet. These depmodes are late enough in the game, and
3951 # so weak that their functioning should not be impacted.
3952 am__obj
=conftest.
${OBJEXT-o}
3957 if depmode
=$depmode \
3958 source=sub
/conftest.c object
=$am__obj \
3959 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3960 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3961 >/dev
/null
2>conftest.err
&&
3962 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3963 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3964 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3965 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3966 # icc doesn't choke on unknown options, it will just issue warnings
3967 # or remarks (even with -Werror). So we grep stderr for any message
3968 # that says an option was ignored or not supported.
3969 # When given -MP, icc 7.0 and 7.1 complain thusly:
3970 # icc: Command line warning: ignoring option '-M'; no argument required
3971 # The diagnosis changed in icc 8.0:
3972 # icc: Command line remark: option '-MP' not supported
3973 if (grep 'ignoring option' conftest.err ||
3974 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3975 am_cv_CC_dependencies_compiler_type
=$depmode
3984 am_cv_CC_dependencies_compiler_type
=none
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3989 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3990 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3993 test "x$enable_dependency_tracking" != xno \
3994 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3996 am__fastdepCC_FALSE
='#'
3998 am__fastdepCC_TRUE
='#'
3999 am__fastdepCC_FALSE
=
4007 if test "x$GCC" != "xyes"; then
4008 as_fn_error
"libmudflap must be built with GCC" "$LINENO" 5
4011 ac_cpp
='$CPP $CPPFLAGS'
4012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4016 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4017 # On Suns, sometimes $CPP names a directory.
4018 if test -n "$CPP" && test -d "$CPP"; then
4021 if test -z "$CPP"; then
4022 if test "${ac_cv_prog_CPP+set}" = set; then :
4023 $as_echo_n "(cached) " >&6
4025 # Double quotes because CPP needs to be expanded
4026 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4029 for ac_c_preproc_warn_flag
in '' yes
4031 # Use a header file that comes with gcc, so configuring glibc
4032 # with a fresh cross-compiler works.
4033 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4034 # <limits.h> exists even on freestanding compilers.
4035 # On the NeXT, cc -E runs the code through the compiler's parser,
4036 # not just through cpp. "Syntax error" is here to catch this case.
4037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4040 # include <limits.h>
4042 # include <assert.h>
4046 if ac_fn_c_try_cpp
"$LINENO"; then :
4049 # Broken: fails on valid input.
4052 rm -f conftest.err conftest.
$ac_ext
4054 # OK, works on sane cases. Now check whether nonexistent headers
4055 # can be detected and how.
4056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4058 #include <ac_nonexistent.h>
4060 if ac_fn_c_try_cpp
"$LINENO"; then :
4061 # Broken: success on invalid input.
4064 # Passes both tests.
4068 rm -f conftest.err conftest.
$ac_ext
4071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4072 rm -f conftest.err conftest.
$ac_ext
4073 if $ac_preproc_ok; then :
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4086 $as_echo "$CPP" >&6; }
4088 for ac_c_preproc_warn_flag
in '' yes
4090 # Use a header file that comes with gcc, so configuring glibc
4091 # with a fresh cross-compiler works.
4092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4093 # <limits.h> exists even on freestanding compilers.
4094 # On the NeXT, cc -E runs the code through the compiler's parser,
4095 # not just through cpp. "Syntax error" is here to catch this case.
4096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4099 # include <limits.h>
4101 # include <assert.h>
4105 if ac_fn_c_try_cpp
"$LINENO"; then :
4108 # Broken: fails on valid input.
4111 rm -f conftest.err conftest.
$ac_ext
4113 # OK, works on sane cases. Now check whether nonexistent headers
4114 # can be detected and how.
4115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
4117 #include <ac_nonexistent.h>
4119 if ac_fn_c_try_cpp
"$LINENO"; then :
4120 # Broken: success on invalid input.
4123 # Passes both tests.
4127 rm -f conftest.err conftest.
$ac_ext
4130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4131 rm -f conftest.err conftest.
$ac_ext
4132 if $ac_preproc_ok; then :
4135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4137 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4138 See \`config.log' for more details." "$LINENO" 5; }
4142 ac_cpp
='$CPP $CPPFLAGS'
4143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4148 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
4149 # symbol interposition. We disable shared libraries for these.
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dlsym(RTLD_NEXT,...) is available" >&5
4151 $as_echo_n "checking whether dlsym(RTLD_NEXT,...) is available... " >&6; }
4153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4162 void *foo = dlsym (RTLD_NEXT, "exit");
4167 if ac_fn_c_try_compile
"$LINENO"; then :
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169 $as_echo "yes" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4179 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4180 if test "${ac_cv_path_GREP+set}" = set; then :
4181 $as_echo_n "(cached) " >&6
4183 if test -z "$GREP"; then
4184 ac_path_GREP_found
=false
4185 # Loop through the user's path and test for each of PROGNAME-LIST
4186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4187 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4190 test -z "$as_dir" && as_dir
=.
4191 for ac_prog
in grep ggrep
; do
4192 for ac_exec_ext
in '' $ac_executable_extensions; do
4193 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4194 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4195 # Check for GNU ac_path_GREP and select it if it is found.
4196 # Check for GNU $ac_path_GREP
4197 case `"$ac_path_GREP" --version 2>&1` in
4199 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4202 $as_echo_n 0123456789 >"conftest.in"
4205 cat "conftest.in" "conftest.in" >"conftest.tmp"
4206 mv "conftest.tmp" "conftest.in"
4207 cp "conftest.in" "conftest.nl"
4208 $as_echo 'GREP' >> "conftest.nl"
4209 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4210 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4211 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4212 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4213 # Best one so far, save it but keep looking for a better one
4214 ac_cv_path_GREP
="$ac_path_GREP"
4215 ac_path_GREP_max
=$ac_count
4217 # 10*(2^10) chars as input seems more than enough
4218 test $ac_count -gt 10 && break
4220 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4223 $ac_path_GREP_found && break 3
4228 if test -z "$ac_cv_path_GREP"; then
4229 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4232 ac_cv_path_GREP
=$GREP
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4237 $as_echo "$ac_cv_path_GREP" >&6; }
4238 GREP
="$ac_cv_path_GREP"
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4242 $as_echo_n "checking for egrep... " >&6; }
4243 if test "${ac_cv_path_EGREP+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4246 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4247 then ac_cv_path_EGREP
="$GREP -E"
4249 if test -z "$EGREP"; then
4250 ac_path_EGREP_found
=false
4251 # Loop through the user's path and test for each of PROGNAME-LIST
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4253 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_prog
in egrep; do
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4260 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4261 # Check for GNU ac_path_EGREP and select it if it is found.
4262 # Check for GNU $ac_path_EGREP
4263 case `"$ac_path_EGREP" --version 2>&1` in
4265 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4268 $as_echo_n 0123456789 >"conftest.in"
4271 cat "conftest.in" "conftest.in" >"conftest.tmp"
4272 mv "conftest.tmp" "conftest.in"
4273 cp "conftest.in" "conftest.nl"
4274 $as_echo 'EGREP' >> "conftest.nl"
4275 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4276 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4277 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4278 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4279 # Best one so far, save it but keep looking for a better one
4280 ac_cv_path_EGREP
="$ac_path_EGREP"
4281 ac_path_EGREP_max
=$ac_count
4283 # 10*(2^10) chars as input seems more than enough
4284 test $ac_count -gt 10 && break
4286 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4289 $ac_path_EGREP_found && break 3
4294 if test -z "$ac_cv_path_EGREP"; then
4295 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4298 ac_cv_path_EGREP
=$EGREP
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4304 $as_echo "$ac_cv_path_EGREP" >&6; }
4305 EGREP
="$ac_cv_path_EGREP"
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4309 $as_echo_n "checking for ANSI C header files... " >&6; }
4310 if test "${ac_cv_header_stdc+set}" = set; then :
4311 $as_echo_n "(cached) " >&6
4313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4328 if ac_fn_c_try_compile
"$LINENO"; then :
4329 ac_cv_header_stdc
=yes
4331 ac_cv_header_stdc
=no
4333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4335 if test $ac_cv_header_stdc = yes; then
4336 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4343 $EGREP "memchr" >/dev
/null
2>&1; then :
4346 ac_cv_header_stdc
=no
4352 if test $ac_cv_header_stdc = yes; then
4353 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4360 $EGREP "free" >/dev
/null
2>&1; then :
4363 ac_cv_header_stdc
=no
4369 if test $ac_cv_header_stdc = yes; then
4370 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4371 if test "$cross_compiling" = yes; then :
4374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4378 #if ((' ' & 0x0FF) == 0x020)
4379 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4380 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4382 # define ISLOWER(c) \
4383 (('a' <= (c) && (c) <= 'i') \
4384 || ('j' <= (c) && (c) <= 'r') \
4385 || ('s' <= (c) && (c) <= 'z'))
4386 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4389 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4394 for (i = 0; i < 256; i++)
4395 if (XOR (islower (i), ISLOWER (i))
4396 || toupper (i) != TOUPPER (i))
4401 if ac_fn_c_try_run
"$LINENO"; then :
4404 ac_cv_header_stdc
=no
4406 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4407 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4413 $as_echo "$ac_cv_header_stdc" >&6; }
4414 if test $ac_cv_header_stdc = yes; then
4416 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4420 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4421 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4422 inttypes.h stdint.h unistd.h
4424 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4425 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4427 eval as_val
=\$
$as_ac_Header
4428 if test "x$as_val" = x
""yes; then :
4429 cat >>confdefs.h
<<_ACEOF
4430 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4438 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
4439 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
4440 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
4442 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4443 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4444 eval as_val
=\$
$as_ac_Header
4445 if test "x$as_val" = x
""yes; then :
4446 cat >>confdefs.h
<<_ACEOF
4447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4455 for ac_func
in backtrace backtrace_symbols gettimeofday signal
4457 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4458 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4459 eval as_val
=\$
$as_ac_var
4460 if test "x$as_val" = x
""yes; then :
4461 cat >>confdefs.h
<<_ACEOF
4462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4468 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
4470 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4471 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4472 eval as_val
=\$
$as_ac_var
4473 if test "x$as_val" = x
""yes; then :
4474 cat >>confdefs.h
<<_ACEOF
4475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4481 for ac_func
in setbuf setbuffer setlinebuf setvbuf
4483 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4484 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4485 eval as_val
=\$
$as_ac_var
4486 if test "x$as_val" = x
""yes; then :
4487 cat >>confdefs.h
<<_ACEOF
4488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4494 for ac_func
in strnlen memrchr strncpy memmem sethostname
4496 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4497 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4498 eval as_val
=\$
$as_ac_var
4499 if test "x$as_val" = x
""yes; then :
4500 cat >>confdefs.h
<<_ACEOF
4501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4507 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4509 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4510 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4511 eval as_val
=\$
$as_ac_var
4512 if test "x$as_val" = x
""yes; then :
4513 cat >>confdefs.h
<<_ACEOF
4514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4520 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4522 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4523 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4524 eval as_val
=\$
$as_ac_var
4525 if test "x$as_val" = x
""yes; then :
4526 cat >>confdefs.h
<<_ACEOF
4527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4533 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4535 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4536 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4537 eval as_val
=\$
$as_ac_var
4538 if test "x$as_val" = x
""yes; then :
4539 cat >>confdefs.h
<<_ACEOF
4540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4546 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4548 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4549 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4550 eval as_val
=\$
$as_ac_var
4551 if test "x$as_val" = x
""yes; then :
4552 cat >>confdefs.h
<<_ACEOF
4553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4559 for ac_func
in getprotoent getprotobyname getprotobynumber
4561 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4562 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4563 eval as_val
=\$
$as_ac_var
4564 if test "x$as_val" = x
""yes; then :
4565 cat >>confdefs.h
<<_ACEOF
4566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4572 for ac_func
in getmntent setmntent addmntent
4574 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4575 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4576 eval as_val
=\$
$as_ac_var
4577 if test "x$as_val" = x
""yes; then :
4578 cat >>confdefs.h
<<_ACEOF
4579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4585 for ac_func
in inet_ntoa mmap munmap
4587 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4588 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4589 eval as_val
=\$
$as_ac_var
4590 if test "x$as_val" = x
""yes; then :
4591 cat >>confdefs.h
<<_ACEOF
4592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4598 for ac_func
in __libc_freeres
4600 ac_fn_c_check_func
"$LINENO" "__libc_freeres" "ac_cv_func___libc_freeres"
4601 if test "x$ac_cv_func___libc_freeres" = x
""yes; then :
4602 cat >>confdefs.h
<<_ACEOF
4603 #define HAVE___LIBC_FREERES 1
4610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4612 #include <sys/types.h>
4613 #include <sys/ipc.h>
4614 #include <sys/sem.h>
4623 if ac_fn_c_try_compile
"$LINENO"; then :
4628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4629 if test $mf_have_semun = 1
4632 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
4638 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
4639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4641 #define _POSIX_PII_SOCKET
4642 #include <sys/types.h>
4643 #include <sys/socket.h>
4652 if ac_fn_c_try_compile
"$LINENO"; then :
4654 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4657 $as_echo "yes" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4671 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4676 macro_version
='2.2.6'
4677 macro_revision
='1.3012'
4691 ltmain
="$ac_aux_dir/ltmain.sh"
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4694 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4695 if test "${ac_cv_path_SED+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4698 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4699 for ac_i
in 1 2 3 4 5 6 7; do
4700 ac_script
="$ac_script$as_nl$ac_script"
4702 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4703 { ac_script
=; unset ac_script
;}
4704 if test -z "$SED"; then
4705 ac_path_SED_found
=false
4706 # Loop through the user's path and test for each of PROGNAME-LIST
4707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir
=.
4712 for ac_prog
in sed gsed
; do
4713 for ac_exec_ext
in '' $ac_executable_extensions; do
4714 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4715 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4716 # Check for GNU ac_path_SED and select it if it is found.
4717 # Check for GNU $ac_path_SED
4718 case `"$ac_path_SED" --version 2>&1` in
4720 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4723 $as_echo_n 0123456789 >"conftest.in"
4726 cat "conftest.in" "conftest.in" >"conftest.tmp"
4727 mv "conftest.tmp" "conftest.in"
4728 cp "conftest.in" "conftest.nl"
4729 $as_echo '' >> "conftest.nl"
4730 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4731 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4732 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4733 if test $ac_count -gt ${ac_path_SED_max-0}; then
4734 # Best one so far, save it but keep looking for a better one
4735 ac_cv_path_SED
="$ac_path_SED"
4736 ac_path_SED_max
=$ac_count
4738 # 10*(2^10) chars as input seems more than enough
4739 test $ac_count -gt 10 && break
4741 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4744 $ac_path_SED_found && break 3
4749 if test -z "$ac_cv_path_SED"; then
4750 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4758 $as_echo "$ac_cv_path_SED" >&6; }
4759 SED
="$ac_cv_path_SED"
4762 test -z "$SED" && SED
=sed
4763 Xsed
="$SED -e 1s/^X//"
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4776 $as_echo_n "checking for fgrep... " >&6; }
4777 if test "${ac_cv_path_FGREP+set}" = set; then :
4778 $as_echo_n "(cached) " >&6
4780 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4781 then ac_cv_path_FGREP
="$GREP -F"
4783 if test -z "$FGREP"; then
4784 ac_path_FGREP_found
=false
4785 # Loop through the user's path and test for each of PROGNAME-LIST
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4787 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_prog
in fgrep
; do
4792 for ac_exec_ext
in '' $ac_executable_extensions; do
4793 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4794 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4795 # Check for GNU ac_path_FGREP and select it if it is found.
4796 # Check for GNU $ac_path_FGREP
4797 case `"$ac_path_FGREP" --version 2>&1` in
4799 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4802 $as_echo_n 0123456789 >"conftest.in"
4805 cat "conftest.in" "conftest.in" >"conftest.tmp"
4806 mv "conftest.tmp" "conftest.in"
4807 cp "conftest.in" "conftest.nl"
4808 $as_echo 'FGREP' >> "conftest.nl"
4809 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4810 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4811 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4812 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4813 # Best one so far, save it but keep looking for a better one
4814 ac_cv_path_FGREP
="$ac_path_FGREP"
4815 ac_path_FGREP_max
=$ac_count
4817 # 10*(2^10) chars as input seems more than enough
4818 test $ac_count -gt 10 && break
4820 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4823 $ac_path_FGREP_found && break 3
4828 if test -z "$ac_cv_path_FGREP"; then
4829 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4832 ac_cv_path_FGREP
=$FGREP
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4838 $as_echo "$ac_cv_path_FGREP" >&6; }
4839 FGREP
="$ac_cv_path_FGREP"
4842 test -z "$GREP" && GREP
=grep
4862 # Check whether --with-gnu-ld was given.
4863 if test "${with_gnu_ld+set}" = set; then :
4864 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4870 if test "$GCC" = yes; then
4871 # Check if gcc -print-prog-name=ld gives a path.
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4873 $as_echo_n "checking for ld used by $CC... " >&6; }
4876 # gcc leaves a trailing carriage return which upsets mingw
4877 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4879 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4882 # Accept absolute paths.
4884 re_direlt
='/[^/][^/]*/\.\./'
4885 # Canonicalize the pathname of ld
4886 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4887 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4888 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4890 test -z "$LD" && LD
="$ac_prog"
4893 # If it fails, then pretend we aren't using GCC.
4897 # If it is relative, then search for the first ld in PATH.
4901 elif test "$with_gnu_ld" = yes; then
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4903 $as_echo_n "checking for GNU ld... " >&6; }
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4906 $as_echo_n "checking for non-GNU ld... " >&6; }
4908 if test "${lt_cv_path_LD+set}" = set; then :
4909 $as_echo_n "(cached) " >&6
4911 if test -z "$LD"; then
4912 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4913 for ac_dir
in $PATH; do
4915 test -z "$ac_dir" && ac_dir
=.
4916 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4917 lt_cv_path_LD
="$ac_dir/$ac_prog"
4918 # Check to see if the program is GNU ld. I'd rather use --version,
4919 # but apparently some variants of GNU ld only accept -v.
4920 # Break only if it was the GNU/non-GNU ld that we prefer.
4921 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4922 *GNU
* |
*'with BFD'*)
4923 test "$with_gnu_ld" != no
&& break
4926 test "$with_gnu_ld" != yes && break
4933 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4938 if test -n "$LD"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4940 $as_echo "$LD" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4945 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4947 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4948 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4949 $as_echo_n "(cached) " >&6
4951 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4952 case `$LD -v 2>&1 </dev/null` in
4953 *GNU
* |
*'with BFD'*)
4954 lt_cv_prog_gnu_ld
=yes
4957 lt_cv_prog_gnu_ld
=no
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4962 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4963 with_gnu_ld
=$lt_cv_prog_gnu_ld
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4974 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4975 if test "${lt_cv_path_NM+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$NM"; then
4979 # Let the user override the test.
4982 lt_nm_to_check
="${ac_tool_prefix}nm"
4983 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4984 lt_nm_to_check
="$lt_nm_to_check nm"
4986 for lt_tmp_nm
in $lt_nm_to_check; do
4987 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4988 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4990 test -z "$ac_dir" && ac_dir
=.
4991 tmp_nm
="$ac_dir/$lt_tmp_nm"
4992 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4993 # Check to see if the nm accepts a BSD-compat flag.
4994 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4995 # nm: unknown option "B" ignored
4996 # Tru64's nm complains that /dev/null is an invalid object file
4997 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4998 */dev
/null
* |
*'Invalid file or object type'*)
4999 lt_cv_path_NM
="$tmp_nm -B"
5003 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5005 lt_cv_path_NM
="$tmp_nm -p"
5009 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5010 continue # so that we can try to find one that supports BSD flags
5019 : ${lt_cv_path_NM=no}
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5023 $as_echo "$lt_cv_path_NM" >&6; }
5024 if test "$lt_cv_path_NM" != "no"; then
5027 # Didn't find any BSD compatible name lister, look for dumpbin.
5028 if test -n "$ac_tool_prefix"; then
5029 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5032 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$DUMPBIN"; then
5039 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 DUMPBIN
=$ac_cv_prog_DUMPBIN
5059 if test -n "$DUMPBIN"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5061 $as_echo "$DUMPBIN" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 test -n "$DUMPBIN" && break
5071 if test -z "$DUMPBIN"; then
5072 ac_ct_DUMPBIN
=$DUMPBIN
5073 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5075 # Extract the first word of "$ac_prog", so it can be a program name with args.
5076 set dummy
$ac_prog; ac_word
=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5082 if test -n "$ac_ct_DUMPBIN"; then
5083 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5089 test -z "$as_dir" && as_dir
=.
5090 for ac_exec_ext
in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5103 if test -n "$ac_ct_DUMPBIN"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5105 $as_echo "$ac_ct_DUMPBIN" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5112 test -n "$ac_ct_DUMPBIN" && break
5115 if test "x$ac_ct_DUMPBIN" = x
; then
5118 case $cross_compiling:$ac_tool_warned in
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned
=yes ;;
5124 DUMPBIN
=$ac_ct_DUMPBIN
5129 if test "$DUMPBIN" != ":"; then
5133 test -z "$NM" && NM
=nm
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5141 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5142 if test "${lt_cv_nm_interface+set}" = set; then :
5143 $as_echo_n "(cached) " >&6
5145 lt_cv_nm_interface
="BSD nm"
5146 echo "int some_variable = 0;" > conftest.
$ac_ext
5147 (eval echo "\"\$as_me:5147: $ac_compile\"" >&5)
5148 (eval "$ac_compile" 2>conftest.err
)
5149 cat conftest.err
>&5
5150 (eval echo "\"\$as_me:5150: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5151 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5152 cat conftest.err
>&5
5153 (eval echo "\"\$as_me:5153: output\"" >&5)
5154 cat conftest.out
>&5
5155 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5156 lt_cv_nm_interface
="MS dumpbin"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5161 $as_echo "$lt_cv_nm_interface" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5164 $as_echo_n "checking whether ln -s works... " >&6; }
5166 if test "$LN_S" = "ln -s"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5168 $as_echo "yes" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5171 $as_echo "no, using $LN_S" >&6; }
5174 # find the maximum length of command line arguments
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5176 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5177 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5178 $as_echo_n "(cached) " >&6
5185 # On DJGPP, this test can blow up pretty badly due to problems in libc
5186 # (any single argument exceeding 2000 bytes causes a buffer overrun
5187 # during glob expansion). Even if it were fixed, the result of this
5188 # check would be larger than it should be.
5189 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5193 # Under GNU Hurd, this test is not required because there is
5194 # no limit to the length of command line arguments.
5195 # Libtool will interpret -1 as no limit whatsoever
5196 lt_cv_sys_max_cmd_len
=-1;
5199 cygwin
* | mingw
* | cegcc
*)
5200 # On Win9x/ME, this test blows up -- it succeeds, but takes
5201 # about 5 minutes as the teststring grows exponentially.
5202 # Worse, since 9x/ME are not pre-emptively multitasking,
5203 # you end up with a "frozen" computer, even though with patience
5204 # the test eventually succeeds (with a max line length of 256k).
5205 # Instead, let's just punt: use the minimum linelength reported by
5206 # all of the supported platforms: 8192 (on NT/2K/XP).
5207 lt_cv_sys_max_cmd_len
=8192;
5211 # On AmigaOS with pdksh, this test takes hours, literally.
5212 # So we just punt and use a minimum line length of 8192.
5213 lt_cv_sys_max_cmd_len
=8192;
5216 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5217 # This has been around since 386BSD, at least. Likely further.
5218 if test -x /sbin
/sysctl
; then
5219 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5220 elif test -x /usr
/sbin
/sysctl
; then
5221 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5223 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5225 # And add a safety zone
5226 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5227 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5231 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5232 lt_cv_sys_max_cmd_len
=196608
5236 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5237 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5238 # nice to cause kernel panics so lets avoid the loop below.
5239 # First set a reasonable default.
5240 lt_cv_sys_max_cmd_len
=16384
5242 if test -x /sbin
/sysconfig
; then
5243 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5244 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5249 lt_cv_sys_max_cmd_len
=102400
5251 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5252 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5253 if test -n "$kargmax"; then
5254 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5256 lt_cv_sys_max_cmd_len
=32768
5260 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5261 if test -n "$lt_cv_sys_max_cmd_len"; then
5262 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5263 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5265 # Make teststring a little bigger before we do anything with it.
5266 # a 1K string should be a reasonable start.
5267 for i
in 1 2 3 4 5 6 7 8 ; do
5268 teststring
=$teststring$teststring
5270 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5271 # If test is not a shell built-in, we'll probably end up computing a
5272 # maximum length that is only half of the actual maximum length, but
5274 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5275 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5276 test $i != 17 # 1/2 MB should be enough
5279 teststring
=$teststring$teststring
5281 # Only check the string length outside the loop.
5282 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5284 # Add a significant safety factor because C++ compilers can tack on
5285 # massive amounts of additional arguments before passing them to the
5286 # linker. It appears as though 1/2 is a usable value.
5287 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5294 if test -n $lt_cv_sys_max_cmd_len ; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5296 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5299 $as_echo "none" >&6; }
5301 max_cmd_len
=$lt_cv_sys_max_cmd_len
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5313 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5314 # Try some XSI features
5317 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5319 && eval 'test $(( 1 + 1 )) -eq 2 \
5320 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5323 $as_echo "$xsi_shell" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5327 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5329 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5331 && lt_shell_append=yes
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5333 $as_echo "$lt_shell_append" >&6; }
5336 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5346 # test EBCDIC or ASCII
5347 case `echo X|tr X '\101'` in
5348 A) # ASCII based system
5349 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5350 lt_SP2NL='tr \040 \012'
5351 lt_NL2SP='tr \015\012 \040\040'
5353 *) # EBCDIC based system
5354 lt_SP2NL='tr \100 \n'
5355 lt_NL2SP='tr \r\n \100\100'
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5368 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5369 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5370 $as_echo_n "(cached
) " >&6
5372 lt_cv_ld_reload_flag='-r'
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5375 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5376 reload_flag=$lt_cv_ld_reload_flag
5377 case $reload_flag in
5379 *) reload_flag=" $reload_flag" ;;
5381 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5384 if test "$GCC" = yes; then
5385 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5387 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5400 if test -n "$ac_tool_prefix"; then
5401 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5402 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5404 $as_echo_n "checking
for $ac_word...
" >&6; }
5405 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5406 $as_echo_n "(cached
) " >&6
5408 if test -n "$OBJDUMP"; then
5409 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5418 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5428 OBJDUMP=$ac_cv_prog_OBJDUMP
5429 if test -n "$OBJDUMP"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5431 $as_echo "$OBJDUMP" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5434 $as_echo "no
" >&6; }
5439 if test -z "$ac_cv_prog_OBJDUMP"; then
5440 ac_ct_OBJDUMP=$OBJDUMP
5441 # Extract the first word of "objdump
", so it can be a program name with args.
5442 set dummy objdump; ac_word=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5444 $as_echo_n "checking
for $ac_word...
" >&6; }
5445 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5446 $as_echo_n "(cached
) " >&6
5448 if test -n "$ac_ct_OBJDUMP"; then
5449 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir=.
5456 for ac_exec_ext in '' $ac_executable_extensions; do
5457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5458 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5468 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5469 if test -n "$ac_ct_OBJDUMP"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5471 $as_echo "$ac_ct_OBJDUMP" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5474 $as_echo "no
" >&6; }
5477 if test "x
$ac_ct_OBJDUMP" = x; then
5480 case $cross_compiling:$ac_tool_warned in
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5483 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5484 ac_tool_warned=yes ;;
5486 OBJDUMP=$ac_ct_OBJDUMP
5489 OBJDUMP="$ac_cv_prog_OBJDUMP"
5492 test -z "$OBJDUMP" && OBJDUMP=objdump
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5503 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5504 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5505 $as_echo_n "(cached
) " >&6
5507 lt_cv_file_magic_cmd='$MAGIC_CMD'
5508 lt_cv_file_magic_test_file=
5509 lt_cv_deplibs_check_method='unknown'
5510 # Need to set the preceding variable on all platforms that support
5511 # interlibrary dependencies.
5512 # 'none' -- dependencies not supported.
5513 # `unknown' -- same as none, but documents that we really don't know.
5514 # 'pass_all' -- all dependencies passed with no checks.
5515 # 'test_compile' -- check by making test program.
5516 # 'file_magic [[regex]]' -- check by looking for files in library path
5517 # which responds to the $file_magic_cmd with a given extended regex.
5518 # If you have `file' or equivalent on your system and you're not sure
5519 # whether `pass_all' will *always* work, you probably want this one.
5523 lt_cv_deplibs_check_method=pass_all
5527 lt_cv_deplibs_check_method=pass_all
5531 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5532 lt_cv_file_magic_cmd='/usr/bin/file -L'
5533 lt_cv_file_magic_test_file=/shlib/libc.so
5537 # func_win32_libid is a shell function defined in ltmain.sh
5538 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5539 lt_cv_file_magic_cmd='func_win32_libid'
5543 # Base MSYS/MinGW do not provide the 'file' command needed by
5544 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5545 # unless we find 'file', for example because we are cross-compiling.
5546 if ( file / ) >/dev/null 2>&1; then
5547 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5548 lt_cv_file_magic_cmd='func_win32_libid'
5550 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5551 lt_cv_file_magic_cmd='$OBJDUMP -f'
5556 # use the weaker test based on 'objdump'. See mingw*.
5557 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5558 lt_cv_file_magic_cmd='$OBJDUMP -f'
5561 darwin* | rhapsody*)
5562 lt_cv_deplibs_check_method=pass_all
5565 freebsd* | dragonfly*)
5566 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5569 # Not sure whether the presence of OpenBSD here was a mistake.
5570 # Let's accept both of them until this is cleared up.
5571 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5572 lt_cv_file_magic_cmd=/usr/bin/file
5573 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5577 lt_cv_deplibs_check_method=pass_all
5582 lt_cv_deplibs_check_method=pass_all
5585 hpux10.20* | hpux11*)
5586 lt_cv_file_magic_cmd=/usr/bin/file
5589 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5590 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5593 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]'
5594 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5597 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5598 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5604 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5605 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5608 irix5* | irix6* | nonstopux*)
5610 *-32|*"-32 ") libmagic=32-bit;;
5611 *-n32|*"-n32 ") libmagic=N32;;
5612 *-64|*"-64 ") libmagic=64-bit;;
5613 *) libmagic=never-match;;
5615 lt_cv_deplibs_check_method=pass_all
5618 # This must be Linux ELF.
5619 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5620 lt_cv_deplibs_check_method=pass_all
5624 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5625 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5627 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5633 lt_cv_file_magic_cmd=/usr/bin/file
5634 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5638 lt_cv_deplibs_check_method=pass_all
5642 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5643 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5645 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5649 osf3* | osf4* | osf5*)
5650 lt_cv_deplibs_check_method=pass_all
5654 lt_cv_deplibs_check_method=pass_all
5658 lt_cv_deplibs_check_method=pass_all
5661 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5662 lt_cv_deplibs_check_method=pass_all
5666 case $host_vendor in
5668 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]'
5669 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5672 lt_cv_deplibs_check_method=pass_all
5675 lt_cv_file_magic_cmd='/bin/file'
5676 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5679 lt_cv_file_magic_cmd='/bin/file'
5680 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5681 lt_cv_file_magic_test_file=/lib/libc.so
5684 lt_cv_deplibs_check_method=pass_all
5687 lt_cv_deplibs_check_method=pass_all
5693 lt_cv_deplibs_check_method=pass_all
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5699 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5700 file_magic_cmd=$lt_cv_file_magic_cmd
5701 deplibs_check_method=$lt_cv_deplibs_check_method
5702 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}ar; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5719 $as_echo_n "checking
for $ac_word...
" >&6; }
5720 if test "${ac_cv_prog_AR+set}" = set; then :
5721 $as_echo_n "(cached
) " >&6
5723 if test -n "$AR"; then
5724 ac_cv_prog_AR="$AR" # Let the user override the test.
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_AR="${ac_tool_prefix}ar"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5744 if test -n "$AR"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5746 $as_echo "$AR" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5749 $as_echo "no
" >&6; }
5754 if test -z "$ac_cv_prog_AR"; then
5756 # Extract the first word of "ar", so it can be a program name with args.
5757 set dummy ar; ac_word=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5759 $as_echo_n "checking
for $ac_word...
" >&6; }
5760 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5761 $as_echo_n "(cached
) " >&6
5763 if test -n "$ac_ct_AR"; then
5764 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_AR="ar"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5783 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5784 if test -n "$ac_ct_AR"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5786 $as_echo "$ac_ct_AR" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5789 $as_echo "no
" >&6; }
5792 if test "x
$ac_ct_AR" = x; then
5795 case $cross_compiling:$ac_tool_warned in
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5798 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5799 ac_tool_warned=yes ;;
5807 test -z "$AR" && AR=ar
5808 test -z "$AR_FLAGS" && AR_FLAGS=cru
5820 if test -n "$ac_tool_prefix"; then
5821 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5822 set dummy ${ac_tool_prefix}strip; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5824 $as_echo_n "checking
for $ac_word...
" >&6; }
5825 if test "${ac_cv_prog_STRIP+set}" = set; then :
5826 $as_echo_n "(cached
) " >&6
5828 if test -n "$STRIP"; then
5829 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5848 STRIP=$ac_cv_prog_STRIP
5849 if test -n "$STRIP"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5851 $as_echo "$STRIP" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5854 $as_echo "no
" >&6; }
5859 if test -z "$ac_cv_prog_STRIP"; then
5861 # Extract the first word of "strip
", so it can be a program name with args.
5862 set dummy strip; ac_word=$2
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5864 $as_echo_n "checking
for $ac_word...
" >&6; }
5865 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5866 $as_echo_n "(cached
) " >&6
5868 if test -n "$ac_ct_STRIP"; then
5869 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5878 ac_cv_prog_ac_ct_STRIP="strip
"
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5888 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5889 if test -n "$ac_ct_STRIP"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5891 $as_echo "$ac_ct_STRIP" >&6; }
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5894 $as_echo "no
" >&6; }
5897 if test "x
$ac_ct_STRIP" = x; then
5900 case $cross_compiling:$ac_tool_warned in
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5903 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5904 ac_tool_warned=yes ;;
5909 STRIP="$ac_cv_prog_STRIP"
5912 test -z "$STRIP" && STRIP=:
5919 if test -n "$ac_tool_prefix"; then
5920 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5923 $as_echo_n "checking
for $ac_word...
" >&6; }
5924 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5925 $as_echo_n "(cached
) " >&6
5927 if test -n "$RANLIB"; then
5928 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5937 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5947 RANLIB=$ac_cv_prog_RANLIB
5948 if test -n "$RANLIB"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5950 $as_echo "$RANLIB" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5953 $as_echo "no
" >&6; }
5958 if test -z "$ac_cv_prog_RANLIB"; then
5959 ac_ct_RANLIB=$RANLIB
5960 # Extract the first word of "ranlib
", so it can be a program name with args.
5961 set dummy ranlib; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5963 $as_echo_n "checking
for $ac_word...
" >&6; }
5964 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5965 $as_echo_n "(cached
) " >&6
5967 if test -n "$ac_ct_RANLIB"; then
5968 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5987 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5988 if test -n "$ac_ct_RANLIB"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5990 $as_echo "$ac_ct_RANLIB" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5993 $as_echo "no
" >&6; }
5996 if test "x
$ac_ct_RANLIB" = x; then
5999 case $cross_compiling:$ac_tool_warned in
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6002 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6003 ac_tool_warned=yes ;;
6005 RANLIB=$ac_ct_RANLIB
6008 RANLIB="$ac_cv_prog_RANLIB"
6011 test -z "$RANLIB" && RANLIB=:
6018 # Determine commands to create old-style static archives.
6019 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6020 old_postinstall_cmds='chmod 644 $oldlib'
6021 old_postuninstall_cmds=
6023 if test -n "$RANLIB"; then
6026 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6029 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6032 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6068 # If no C compiler was specified, use CC.
6071 # If no C compiler flags were specified, use CFLAGS.
6072 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6074 # Allow CC to be a program name with arguments.
6078 # Check for command to grab the raw symbol name followed by C symbol from nm.
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6080 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6081 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6082 $as_echo_n "(cached
) " >&6
6085 # These are sane defaults that work on at least a few old systems.
6086 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6088 # Character class describing NM global symbol codes.
6089 symcode='[BCDEGRST]'
6091 # Regexp to match symbols that can be accessed directly from C.
6092 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6094 # Define system-specific variables.
6099 cygwin* | mingw* | pw32* | cegcc*)
6100 symcode='[ABCDGISTW]'
6103 if test "$host_cpu" = ia64; then
6104 symcode='[ABCDEGRST]'
6108 symcode='[BCDEGRST]'
6111 symcode='[BCDEGQRST]'
6122 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6130 # If we're using GNU nm, then use its standard symbol codes.
6131 case `$NM -V 2>&1` in
6132 *GNU* | *'with BFD'*)
6133 symcode='[ABCDGIRSTW]' ;;
6136 # Transform an extracted symbol line into a proper C declaration.
6137 # Some systems (esp. on ia64) link data and code symbols differently,
6138 # so use this general approach.
6139 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6141 # Transform an extracted symbol line into symbol name and symbol address
6142 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6143 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'"
6145 # Handle CRLF in mingw tool chain
6149 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6153 # Try without a prefix underscore, then with it.
6154 for ac_symprfx in "" "_
"; do
6156 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6157 symxfrm="\\1 $ac_symprfx\\2 \\2"
6159 # Write the raw and C identifiers.
6160 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6161 # Fake it for dumpbin and say T for any non-static function
6162 # and D for any global variable.
6163 # Also find C++ and __fastcall symbols from MSVC++,
6164 # which start with @ or ?.
6165 lt_cv_sys_global_symbol_pipe="$AWK '"\
6166 " {last_section=section; section=\$ 3};"\
6167 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6168 " \$ 0!~/External *\|/{next};"\
6169 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6170 " {if(hide[section]) next};"\
6171 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6172 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6173 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6174 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6175 " ' prfx
=^
$ac_symprfx"
6177 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6180 # Check to see that the pipe works correctly.
6184 cat > conftest.$ac_ext <<_LT_EOF
6189 void nm_test_func(void);
6190 void nm_test_func(void){}
6194 int main(){nm_test_var='a';nm_test_func();return(0);}
6197 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6198 (eval $ac_compile) 2>&5
6200 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6201 test $ac_status = 0; }; then
6202 # Now try to grab the symbols.
6204 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6205 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6207 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6208 test $ac_status = 0; } && test -s "$nlist"; then
6209 # Try sorting and uniquifying the output.
6210 if sort "$nlist" | uniq > "$nlist"T; then
6211 mv -f "$nlist"T "$nlist"
6216 # Make sure that we snagged all the symbols we need.
6217 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6218 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6219 cat <<_LT_EOF > conftest.$ac_ext
6225 # Now generate the symbol file.
6226 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6228 cat <<_LT_EOF >> conftest.$ac_ext
6230 /* The mapping between symbol names and symbols. */
6235 lt__PROGRAM__LTX_preloaded_symbols[] =
6237 { "@PROGRAM@
", (void *) 0 },
6239 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6240 cat <<\_LT_EOF >> conftest.$ac_ext
6244 /* This works around a problem in FreeBSD linker */
6245 #ifdef FREEBSD_WORKAROUND
6246 static const void *lt_preloaded_setup() {
6247 return lt__PROGRAM__LTX_preloaded_symbols;
6255 # Now try linking the two files.
6256 mv conftest.$ac_objext conftstm.$ac_objext
6257 lt_save_LIBS="$LIBS"
6258 lt_save_CFLAGS="$CFLAGS"
6259 LIBS="conftstm.
$ac_objext"
6260 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6261 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6262 (eval $ac_link) 2>&5
6264 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6265 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6268 LIBS="$lt_save_LIBS"
6269 CFLAGS="$lt_save_CFLAGS"
6271 echo "cannot
find nm_test_func
in $nlist" >&5
6274 echo "cannot
find nm_test_var
in $nlist" >&5
6277 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6280 echo "$progname: failed program was
:" >&5
6281 cat conftest.$ac_ext >&5
6283 rm -rf conftest* conftst*
6285 # Do not use the global_symbol_pipe unless it works.
6286 if test "$pipe_works" = yes; then
6289 lt_cv_sys_global_symbol_pipe=
6295 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6296 lt_cv_sys_global_symbol_to_cdecl=
6298 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6300 $as_echo "failed
" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6303 $as_echo "ok
" >&6; }
6327 # Check whether --enable-libtool-lock was given.
6328 if test "${enable_libtool_lock+set}" = set; then :
6329 enableval=$enable_libtool_lock;
6332 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6334 # Some flags need to be propagated to the compiler or linker for good
6338 # Find out which ABI we are using.
6339 echo 'int i;' > conftest.$ac_ext
6340 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6341 (eval $ac_compile) 2>&5
6343 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6344 test $ac_status = 0; }; then
6345 case `/usr/bin/file conftest.$ac_objext` in
6357 # Find out which ABI we are using.
6358 echo '#line 6358 "configure
"' > conftest.$ac_ext
6359 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6360 (eval $ac_compile) 2>&5
6362 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6363 test $ac_status = 0; }; then
6364 if test "$lt_cv_prog_gnu_ld" = yes; then
6365 case `/usr/bin/file conftest.$ac_objext` in
6367 LD="${LD-ld} -melf32bsmip"
6370 LD="${LD-ld} -melf32bmipn32"
6373 LD="${LD-ld} -melf64bmip"
6377 case `/usr/bin/file conftest.$ac_objext` in
6393 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6394 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6395 # Find out which ABI we are using.
6396 echo 'int i;' > conftest.$ac_ext
6397 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6398 (eval $ac_compile) 2>&5
6400 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6401 test $ac_status = 0; }; then
6402 case `/usr/bin/file conftest.o` in
6405 x86_64-*kfreebsd*-gnu)
6406 LD="${LD-ld} -m elf_i386_fbsd
"
6409 LD="${LD-ld} -m elf_i386
"
6411 ppc64-*linux*|powerpc64-*linux*)
6412 LD="${LD-ld} -m elf32ppclinux
"
6415 LD="${LD-ld} -m elf_s390
"
6418 LD="${LD-ld} -m elf32_sparc
"
6424 x86_64-*kfreebsd*-gnu)
6425 LD="${LD-ld} -m elf_x86_64_fbsd
"
6428 LD="${LD-ld} -m elf_x86_64
"
6430 ppc*-*linux*|powerpc*-*linux*)
6431 LD="${LD-ld} -m elf64ppc
"
6433 s390*-*linux*|s390*-*tpf*)
6434 LD="${LD-ld} -m elf64_s390
"
6437 LD="${LD-ld} -m elf64_sparc
"
6447 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6448 SAVE_CFLAGS="$CFLAGS"
6449 CFLAGS="$CFLAGS -belf"
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6451 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6452 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6453 $as_echo_n "(cached
) " >&6
6456 ac_cpp='$CPP $CPPFLAGS'
6457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6472 if ac_fn_c_try_link "$LINENO"; then :
6473 lt_cv_cc_needs_belf=yes
6475 lt_cv_cc_needs_belf=no
6477 rm -f core conftest.err conftest.$ac_objext \
6478 conftest$ac_exeext conftest.$ac_ext
6480 ac_cpp='$CPP $CPPFLAGS'
6481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6487 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6488 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6489 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6490 CFLAGS="$SAVE_CFLAGS"
6494 # Find out which ABI we are using.
6495 echo 'int i;' > conftest.$ac_ext
6496 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6497 (eval $ac_compile) 2>&5
6499 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6500 test $ac_status = 0; }; then
6501 case `/usr/bin/file conftest.o` in
6503 case $lt_cv_prog_gnu_ld in
6504 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6506 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6518 need_locks="$enable_libtool_lock"
6522 rhapsody* | darwin*)
6523 if test -n "$ac_tool_prefix"; then
6524 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6527 $as_echo_n "checking
for $ac_word...
" >&6; }
6528 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6529 $as_echo_n "(cached
) " >&6
6531 if test -n "$DSYMUTIL"; then
6532 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 test -z "$as_dir" && as_dir=.
6539 for ac_exec_ext in '' $ac_executable_extensions; do
6540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6551 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6552 if test -n "$DSYMUTIL"; then
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6554 $as_echo "$DSYMUTIL" >&6; }
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6557 $as_echo "no
" >&6; }
6562 if test -z "$ac_cv_prog_DSYMUTIL"; then
6563 ac_ct_DSYMUTIL=$DSYMUTIL
6564 # Extract the first word of "dsymutil
", so it can be a program name with args.
6565 set dummy dsymutil; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6567 $as_echo_n "checking
for $ac_word...
" >&6; }
6568 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6569 $as_echo_n "(cached
) " >&6
6571 if test -n "$ac_ct_DSYMUTIL"; then
6572 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6591 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6592 if test -n "$ac_ct_DSYMUTIL"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6594 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6597 $as_echo "no
" >&6; }
6600 if test "x
$ac_ct_DSYMUTIL" = x; then
6603 case $cross_compiling:$ac_tool_warned in
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6606 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6607 ac_tool_warned=yes ;;
6609 DSYMUTIL=$ac_ct_DSYMUTIL
6612 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6619 $as_echo_n "checking
for $ac_word...
" >&6; }
6620 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6621 $as_echo_n "(cached
) " >&6
6623 if test -n "$NMEDIT"; then
6624 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6643 NMEDIT=$ac_cv_prog_NMEDIT
6644 if test -n "$NMEDIT"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6646 $as_echo "$NMEDIT" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6649 $as_echo "no
" >&6; }
6654 if test -z "$ac_cv_prog_NMEDIT"; then
6655 ac_ct_NMEDIT=$NMEDIT
6656 # Extract the first word of "nmedit
", so it can be a program name with args.
6657 set dummy nmedit; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6659 $as_echo_n "checking
for $ac_word...
" >&6; }
6660 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6661 $as_echo_n "(cached
) " >&6
6663 if test -n "$ac_ct_NMEDIT"; then
6664 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6683 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6684 if test -n "$ac_ct_NMEDIT"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6686 $as_echo "$ac_ct_NMEDIT" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6689 $as_echo "no
" >&6; }
6692 if test "x
$ac_ct_NMEDIT" = x; then
6695 case $cross_compiling:$ac_tool_warned in
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6698 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6699 ac_tool_warned=yes ;;
6701 NMEDIT=$ac_ct_NMEDIT
6704 NMEDIT="$ac_cv_prog_NMEDIT"
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6711 $as_echo_n "checking
for $ac_word...
" >&6; }
6712 if test "${ac_cv_prog_LIPO+set}" = set; then :
6713 $as_echo_n "(cached
) " >&6
6715 if test -n "$LIPO"; then
6716 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6735 LIPO=$ac_cv_prog_LIPO
6736 if test -n "$LIPO"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6738 $as_echo "$LIPO" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6741 $as_echo "no
" >&6; }
6746 if test -z "$ac_cv_prog_LIPO"; then
6748 # Extract the first word of "lipo
", so it can be a program name with args.
6749 set dummy lipo; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6751 $as_echo_n "checking
for $ac_word...
" >&6; }
6752 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6753 $as_echo_n "(cached
) " >&6
6755 if test -n "$ac_ct_LIPO"; then
6756 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6765 ac_cv_prog_ac_ct_LIPO="lipo
"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6776 if test -n "$ac_ct_LIPO"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6778 $as_echo "$ac_ct_LIPO" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6781 $as_echo "no
" >&6; }
6784 if test "x
$ac_ct_LIPO" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6790 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6791 ac_tool_warned=yes ;;
6796 LIPO="$ac_cv_prog_LIPO"
6799 if test -n "$ac_tool_prefix"; then
6800 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}otool; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6803 $as_echo_n "checking
for $ac_word...
" >&6; }
6804 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6805 $as_echo_n "(cached
) " >&6
6807 if test -n "$OTOOL"; then
6808 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 OTOOL=$ac_cv_prog_OTOOL
6828 if test -n "$OTOOL"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6830 $as_echo "$OTOOL" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6833 $as_echo "no
" >&6; }
6838 if test -z "$ac_cv_prog_OTOOL"; then
6840 # Extract the first word of "otool
", so it can be a program name with args.
6841 set dummy otool; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6843 $as_echo_n "checking
for $ac_word...
" >&6; }
6844 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6845 $as_echo_n "(cached
) " >&6
6847 if test -n "$ac_ct_OTOOL"; then
6848 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857 ac_cv_prog_ac_ct_OTOOL="otool
"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6867 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6868 if test -n "$ac_ct_OTOOL"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6870 $as_echo "$ac_ct_OTOOL" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6873 $as_echo "no
" >&6; }
6876 if test "x
$ac_ct_OTOOL" = x; then
6879 case $cross_compiling:$ac_tool_warned in
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6882 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6883 ac_tool_warned=yes ;;
6888 OTOOL="$ac_cv_prog_OTOOL"
6891 if test -n "$ac_tool_prefix"; then
6892 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6895 $as_echo_n "checking
for $ac_word...
" >&6; }
6896 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6897 $as_echo_n "(cached
) " >&6
6899 if test -n "$OTOOL64"; then
6900 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6919 OTOOL64=$ac_cv_prog_OTOOL64
6920 if test -n "$OTOOL64"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6922 $as_echo "$OTOOL64" >&6; }
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6925 $as_echo "no
" >&6; }
6930 if test -z "$ac_cv_prog_OTOOL64"; then
6931 ac_ct_OTOOL64=$OTOOL64
6932 # Extract the first word of "otool64
", so it can be a program name with args.
6933 set dummy otool64; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6935 $as_echo_n "checking
for $ac_word...
" >&6; }
6936 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6937 $as_echo_n "(cached
) " >&6
6939 if test -n "$ac_ct_OTOOL64"; then
6940 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir=.
6947 for ac_exec_ext in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6959 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6960 if test -n "$ac_ct_OTOOL64"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6962 $as_echo "$ac_ct_OTOOL64" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6965 $as_echo "no
" >&6; }
6968 if test "x
$ac_ct_OTOOL64" = x; then
6971 case $cross_compiling:$ac_tool_warned in
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6974 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6975 ac_tool_warned=yes ;;
6977 OTOOL64=$ac_ct_OTOOL64
6980 OTOOL64="$ac_cv_prog_OTOOL64"
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7010 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7011 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7012 $as_echo_n "(cached
) " >&6
7014 lt_cv_apple_cc_single_mod=no
7015 if test -z "${LT_MULTI_MODULE}"; then
7016 # By default we will add the -single_module flag. You can override
7017 # by either setting the environment variable LT_MULTI_MODULE
7018 # non-empty at configure time, or by adding -multi_module to the
7020 rm -rf libconftest.dylib*
7021 echo "int foo
(void
){return 1;}" > conftest.c
7022 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7023 -dynamiclib -Wl,-single_module conftest.c
" >&5
7024 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7025 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7027 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7028 lt_cv_apple_cc_single_mod=yes
7030 cat conftest.err >&5
7032 rm -rf libconftest.dylib*
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7037 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7039 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7040 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7041 $as_echo_n "(cached
) " >&6
7043 lt_cv_ld_exported_symbols_list=no
7044 save_LDFLAGS=$LDFLAGS
7045 echo "_main
" > conftest.sym
7046 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7058 if ac_fn_c_try_link "$LINENO"; then :
7059 lt_cv_ld_exported_symbols_list=yes
7061 lt_cv_ld_exported_symbols_list=no
7063 rm -f core conftest.err conftest.$ac_objext \
7064 conftest$ac_exeext conftest.$ac_ext
7065 LDFLAGS="$save_LDFLAGS"
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7069 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7071 rhapsody* | darwin1.[012])
7072 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7074 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7075 darwin*) # darwin 5.x on
7076 # if running on 10.5 or later, the deployment target defaults
7077 # to the OS version, if on x86, and 10.4, the deployment
7078 # target defaults to 10.4. Don't you love it?
7079 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7080 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7081 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7083 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7085 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7089 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7090 _lt_dar_single_mod='$single_module'
7092 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7093 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7095 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7097 if test "$DSYMUTIL" != ":"; then
7098 _lt_dsymutil='~$DSYMUTIL $lib || :'
7105 for ac_header in dlfcn.h
7107 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7109 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7110 cat >>confdefs.h <<_ACEOF
7111 #define HAVE_DLFCN_H 1
7128 # Check whether --enable-shared was given.
7129 if test "${enable_shared+set}" = set; then :
7130 enableval=$enable_shared; p=${PACKAGE-default}
7132 yes) enable_shared=yes ;;
7133 no) enable_shared=no ;;
7136 # Look at the argument we got. We use all the common list separators.
7137 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7138 for pkg in $enableval; do
7140 if test "X
$pkg" = "X
$p"; then
7159 # Check whether --enable-static was given.
7160 if test "${enable_static+set}" = set; then :
7161 enableval=$enable_static; p=${PACKAGE-default}
7163 yes) enable_static=yes ;;
7164 no) enable_static=no ;;
7167 # Look at the argument we got. We use all the common list separators.
7168 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7169 for pkg in $enableval; do
7171 if test "X
$pkg" = "X
$p"; then
7191 # Check whether --with-pic was given.
7192 if test "${with_pic+set}" = set; then :
7193 withval=$with_pic; pic_mode="$withval"
7199 test -z "$pic_mode" && pic_mode=default
7207 # Check whether --enable-fast-install was given.
7208 if test "${enable_fast_install+set}" = set; then :
7209 enableval=$enable_fast_install; p=${PACKAGE-default}
7211 yes) enable_fast_install=yes ;;
7212 no) enable_fast_install=no ;;
7214 enable_fast_install=no
7215 # Look at the argument we got. We use all the common list separators.
7216 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7217 for pkg in $enableval; do
7219 if test "X
$pkg" = "X
$p"; then
7220 enable_fast_install=yes
7227 enable_fast_install=yes
7240 # This can be used to rebuild libtool when needed
7241 LIBTOOL_DEPS="$ltmain"
7243 # Always use our own libtool.
7244 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7270 test -z "$LN_S" && LN_S="ln -s"
7285 if test -n "${ZSH_VERSION+set}" ; then
7286 setopt NO_GLOB_SUBST
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7290 $as_echo_n "checking
for objdir...
" >&6; }
7291 if test "${lt_cv_objdir+set}" = set; then :
7292 $as_echo_n "(cached
) " >&6
7294 rm -f .libs 2>/dev/null
7295 mkdir .libs 2>/dev/null
7296 if test -d .libs; then
7299 # MS-DOS does not allow filenames that begin with a dot.
7302 rmdir .libs 2>/dev/null
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7305 $as_echo "$lt_cv_objdir" >&6; }
7306 objdir=$lt_cv_objdir
7312 cat >>confdefs.h <<_ACEOF
7313 #define LT_OBJDIR "$lt_cv_objdir/"
7334 # AIX sometimes has problems with the GCC collect2 program. For some
7335 # reason, if we set the COLLECT_NAMES environment variable, the problems
7336 # vanish in a puff of smoke.
7337 if test "X
${COLLECT_NAMES+set}" != Xset; then
7339 export COLLECT_NAMES
7344 # Sed substitution that helps us do robust quoting. It backslashifies
7345 # metacharacters that are still active within double-quoted strings.
7346 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7348 # Same as above, but do not quote variable references.
7349 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7351 # Sed substitution to delay expansion of an escaped shell variable in a
7352 # double_quote_subst'ed string.
7353 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7355 # Sed substitution to delay expansion of an escaped single quote.
7356 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7358 # Sed substitution to avoid accidental globbing in evaled expressions
7359 no_glob_subst
='s/\*/\\\*/g'
7363 can_build_shared
=yes
7365 # All known linkers require a `.a' archive for static linking (except MSVC,
7366 # which needs '.lib').
7369 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7372 old_CFLAGS
="$CFLAGS"
7374 # Set sane defaults for various variables
7375 test -z "$CC" && CC
=cc
7376 test -z "$LTCC" && LTCC
=$CC
7377 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7378 test -z "$LD" && LD
=ld
7379 test -z "$ac_objext" && ac_objext
=o
7381 for cc_temp
in $compiler""; do
7383 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7384 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7389 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7392 # Only perform the check for file, if the check method requires it
7393 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7394 case $deplibs_check_method in
7396 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7398 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7399 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7400 $as_echo_n "(cached) " >&6
7404 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7407 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7408 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7409 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7410 for ac_dir
in $ac_dummy; do
7412 test -z "$ac_dir" && ac_dir
=.
7413 if test -f $ac_dir/${ac_tool_prefix}file; then
7414 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7415 if test -n "$file_magic_test_file"; then
7416 case $deplibs_check_method in
7418 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7419 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7420 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7421 $EGREP "$file_magic_regex" > /dev
/null
; then
7426 *** Warning: the command libtool uses to detect shared libraries,
7427 *** $file_magic_cmd, produces output that libtool cannot recognize.
7428 *** The result is that libtool may fail to recognize shared libraries
7429 *** as such. This will affect the creation of libtool libraries that
7430 *** depend on shared libraries, but programs linked with such libtool
7431 *** libraries will work regardless of this problem. Nevertheless, you
7432 *** may want to report the problem to your system manager and/or to
7433 *** bug-libtool@gnu.org
7443 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7448 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7449 if test -n "$MAGIC_CMD"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7451 $as_echo "$MAGIC_CMD" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7461 if test -z "$lt_cv_path_MAGIC_CMD"; then
7462 if test -n "$ac_tool_prefix"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7464 $as_echo_n "checking for file... " >&6; }
7465 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7466 $as_echo_n "(cached) " >&6
7470 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7473 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7474 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7475 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7476 for ac_dir
in $ac_dummy; do
7478 test -z "$ac_dir" && ac_dir
=.
7479 if test -f $ac_dir/file; then
7480 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7481 if test -n "$file_magic_test_file"; then
7482 case $deplibs_check_method in
7484 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7485 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7486 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7487 $EGREP "$file_magic_regex" > /dev
/null
; then
7492 *** Warning: the command libtool uses to detect shared libraries,
7493 *** $file_magic_cmd, produces output that libtool cannot recognize.
7494 *** The result is that libtool may fail to recognize shared libraries
7495 *** as such. This will affect the creation of libtool libraries that
7496 *** depend on shared libraries, but programs linked with such libtool
7497 *** libraries will work regardless of this problem. Nevertheless, you
7498 *** may want to report the problem to your system manager and/or to
7499 *** bug-libtool@gnu.org
7509 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7514 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7515 if test -n "$MAGIC_CMD"; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7517 $as_echo "$MAGIC_CMD" >&6; }
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7520 $as_echo "no" >&6; }
7533 # Use C for the default configuration in the libtool script
7537 ac_cpp
='$CPP $CPPFLAGS'
7538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7543 # Source file extension for C test sources.
7546 # Object file extension for compiled C test sources.
7550 # Code to be used in simple compile tests
7551 lt_simple_compile_test_code
="int some_variable = 0;"
7553 # Code to be used in simple link tests
7554 lt_simple_link_test_code
='int main(){return(0);}'
7562 # If no C compiler was specified, use CC.
7565 # If no C compiler flags were specified, use CFLAGS.
7566 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7568 # Allow CC to be a program name with arguments.
7571 # Save the default compiler, since it gets overwritten when the other
7572 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7573 compiler_DEFAULT
=$CC
7575 # save warnings/boilerplate of simple test code
7576 ac_outfile
=conftest.
$ac_objext
7577 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7578 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7579 _lt_compiler_boilerplate
=`cat conftest.err`
7582 ac_outfile
=conftest.
$ac_objext
7583 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7584 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7585 _lt_linker_boilerplate
=`cat conftest.err`
7590 ## There is no encapsulation within the following macros, do not change
7591 ## the running order or otherwise move them around unless you know exactly
7592 ## what you are doing...
7593 if test -n "$compiler"; then
7595 lt_prog_compiler_no_builtin_flag
=
7597 if test "$GCC" = yes; then
7598 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7601 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7602 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7603 $as_echo_n "(cached) " >&6
7605 lt_cv_prog_compiler_rtti_exceptions
=no
7606 ac_outfile
=conftest.
$ac_objext
7607 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7608 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7609 # Insert the option either (1) after the last *FLAGS variable, or
7610 # (2) before a word containing "conftest.", or (3) at the end.
7611 # Note that $ac_compile itself does not contain backslashes and begins
7612 # with a dollar sign (not a hyphen), so the echo should work correctly.
7613 # The option is referenced via a variable to avoid confusing sed.
7614 lt_compile
=`echo "$ac_compile" | $SED \
7615 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7616 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7617 -e 's:$: $lt_compiler_flag:'`
7618 (eval echo "\"\$as_me:7618: $lt_compile\"" >&5)
7619 (eval "$lt_compile" 2>conftest.err
)
7621 cat conftest.err
>&5
7622 echo "$as_me:7622: \$? = $ac_status" >&5
7623 if (exit $ac_status) && test -s "$ac_outfile"; then
7624 # The compiler can only warn and ignore the option if not recognized
7625 # So say no if there are warnings other than the usual output.
7626 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7627 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7628 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7629 lt_cv_prog_compiler_rtti_exceptions
=yes
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7636 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7638 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7639 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7651 lt_prog_compiler_wl
=
7652 lt_prog_compiler_pic
=
7653 lt_prog_compiler_static
=
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7656 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7658 if test "$GCC" = yes; then
7659 lt_prog_compiler_wl
='-Wl,'
7660 lt_prog_compiler_static
='-static'
7664 # All AIX code is PIC.
7665 if test "$host_cpu" = ia64
; then
7666 # AIX 5 now supports IA64 processor
7667 lt_prog_compiler_static
='-Bstatic'
7674 # see comment about AmigaOS4 .so support
7675 lt_prog_compiler_pic
='-fPIC'
7678 # FIXME: we need at least 68020 code to build shared libraries, but
7679 # adding the `-m68020' flag to GCC prevents building anything better,
7681 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7686 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7687 # PIC is the default for these OSes.
7690 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7691 # This hack is so that the source file can tell whether it is being
7692 # built for inclusion in a dll (and should export symbols for example).
7693 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7694 # (--disable-auto-import) libraries
7695 lt_prog_compiler_pic
='-DDLL_EXPORT'
7698 darwin
* | rhapsody
*)
7699 # PIC is the default on this platform
7700 # Common symbols not allowed in MH_DYLIB files
7701 lt_prog_compiler_pic
='-fno-common'
7705 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7706 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7707 # sets the default TLS model and affects inlining.
7713 lt_prog_compiler_pic
='-fPIC'
7719 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7720 # Instead, we relocate shared libraries at runtime.
7724 # Just because we use GCC doesn't mean we suddenly get shared libraries
7725 # on systems that don't support them.
7726 lt_prog_compiler_can_build_shared
=no
7731 # QNX uses GNU C++, but need to define -shared option too, otherwise
7733 lt_prog_compiler_pic
='-fPIC -shared'
7737 if test -d /usr
/nec
; then
7738 lt_prog_compiler_pic
=-Kconform_pic
7743 lt_prog_compiler_pic
='-fPIC'
7747 # PORTME Check for flag to pass linker flags through the system compiler.
7750 lt_prog_compiler_wl
='-Wl,'
7751 if test "$host_cpu" = ia64
; then
7752 # AIX 5 now supports IA64 processor
7753 lt_prog_compiler_static
='-Bstatic'
7755 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7759 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7760 # This hack is so that the source file can tell whether it is being
7761 # built for inclusion in a dll (and should export symbols for example).
7762 lt_prog_compiler_pic
='-DDLL_EXPORT'
7765 hpux9
* | hpux10
* | hpux11
*)
7766 lt_prog_compiler_wl
='-Wl,'
7767 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7774 lt_prog_compiler_pic
='+Z'
7777 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7778 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7781 irix5
* | irix6
* | nonstopux
*)
7782 lt_prog_compiler_wl
='-Wl,'
7783 # PIC (with -KPIC) is the default.
7784 lt_prog_compiler_static
='-non_shared'
7787 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7788 case $cc_basename in
7789 # old Intel for x86_64 which still supported -KPIC.
7791 lt_prog_compiler_wl
='-Wl,'
7792 lt_prog_compiler_pic
='-KPIC'
7793 lt_prog_compiler_static
='-static'
7795 # icc used to be incompatible with GCC.
7796 # ICC 10 doesn't accept -KPIC any more.
7798 lt_prog_compiler_wl
='-Wl,'
7799 lt_prog_compiler_pic
='-fPIC'
7800 lt_prog_compiler_static
='-static'
7802 # Lahey Fortran 8.1.
7804 lt_prog_compiler_wl
='-Wl,'
7805 lt_prog_compiler_pic
='--shared'
7806 lt_prog_compiler_static
='--static'
7808 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7809 # Portland Group compilers (*not* the Pentium gcc compiler,
7810 # which looks to be a dead project)
7811 lt_prog_compiler_wl
='-Wl,'
7812 lt_prog_compiler_pic
='-fpic'
7813 lt_prog_compiler_static
='-Bstatic'
7816 lt_prog_compiler_wl
='-Wl,'
7817 # All Alpha code is PIC.
7818 lt_prog_compiler_static
='-non_shared'
7821 # IBM XL C 8.0/Fortran 10.1 on PPC
7822 lt_prog_compiler_wl
='-Wl,'
7823 lt_prog_compiler_pic
='-qpic'
7824 lt_prog_compiler_static
='-qstaticlink'
7827 case `$CC -V 2>&1 | sed 5q` in
7830 lt_prog_compiler_pic
='-KPIC'
7831 lt_prog_compiler_static
='-Bstatic'
7832 lt_prog_compiler_wl
='-Wl,'
7835 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7836 lt_prog_compiler_pic
='-KPIC'
7837 lt_prog_compiler_static
='-Bstatic'
7838 lt_prog_compiler_wl
=''
7846 lt_prog_compiler_pic
='-KPIC'
7847 lt_prog_compiler_static
='-Bstatic'
7851 # QNX uses GNU C++, but need to define -shared option too, otherwise
7853 lt_prog_compiler_pic
='-fPIC -shared'
7856 osf3
* | osf4
* | osf5
*)
7857 lt_prog_compiler_wl
='-Wl,'
7858 # All OSF/1 code is PIC.
7859 lt_prog_compiler_static
='-non_shared'
7863 lt_prog_compiler_static
='-non_shared'
7867 lt_prog_compiler_pic
='-KPIC'
7868 lt_prog_compiler_static
='-Bstatic'
7869 case $cc_basename in
7871 lt_prog_compiler_wl
='-Qoption ld ';;
7873 lt_prog_compiler_wl
='-Wl,';;
7878 lt_prog_compiler_wl
='-Qoption ld '
7879 lt_prog_compiler_pic
='-PIC'
7880 lt_prog_compiler_static
='-Bstatic'
7883 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7884 lt_prog_compiler_wl
='-Wl,'
7885 lt_prog_compiler_pic
='-KPIC'
7886 lt_prog_compiler_static
='-Bstatic'
7890 if test -d /usr
/nec
;then
7891 lt_prog_compiler_pic
='-Kconform_pic'
7892 lt_prog_compiler_static
='-Bstatic'
7896 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7897 lt_prog_compiler_wl
='-Wl,'
7898 lt_prog_compiler_pic
='-KPIC'
7899 lt_prog_compiler_static
='-Bstatic'
7903 lt_prog_compiler_wl
='-Wl,'
7904 lt_prog_compiler_can_build_shared
=no
7908 lt_prog_compiler_pic
='-pic'
7909 lt_prog_compiler_static
='-Bstatic'
7913 lt_prog_compiler_can_build_shared
=no
7919 # For platforms which do not support PIC, -DPIC is meaningless:
7921 lt_prog_compiler_pic
=
7924 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7928 $as_echo "$lt_prog_compiler_pic" >&6; }
7936 # Check to make sure the PIC flag actually works.
7938 if test -n "$lt_prog_compiler_pic"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7940 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7941 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7942 $as_echo_n "(cached) " >&6
7944 lt_cv_prog_compiler_pic_works
=no
7945 ac_outfile
=conftest.
$ac_objext
7946 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7947 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7948 # Insert the option either (1) after the last *FLAGS variable, or
7949 # (2) before a word containing "conftest.", or (3) at the end.
7950 # Note that $ac_compile itself does not contain backslashes and begins
7951 # with a dollar sign (not a hyphen), so the echo should work correctly.
7952 # The option is referenced via a variable to avoid confusing sed.
7953 lt_compile
=`echo "$ac_compile" | $SED \
7954 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7956 -e 's:$: $lt_compiler_flag:'`
7957 (eval echo "\"\$as_me:7957: $lt_compile\"" >&5)
7958 (eval "$lt_compile" 2>conftest.err
)
7960 cat conftest.err
>&5
7961 echo "$as_me:7961: \$? = $ac_status" >&5
7962 if (exit $ac_status) && test -s "$ac_outfile"; then
7963 # The compiler can only warn and ignore the option if not recognized
7964 # So say no if there are warnings other than the usual output.
7965 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7966 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7967 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7968 lt_cv_prog_compiler_pic_works
=yes
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7975 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7977 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7978 case $lt_prog_compiler_pic in
7980 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7983 lt_prog_compiler_pic
=
7984 lt_prog_compiler_can_build_shared
=no
7995 # Check to make sure the static flag actually works.
7997 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7999 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8000 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8001 $as_echo_n "(cached) " >&6
8003 lt_cv_prog_compiler_static_works
=no
8004 save_LDFLAGS
="$LDFLAGS"
8005 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8006 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8007 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8008 # The linker can only warn and ignore the option if not recognized
8009 # So say no if there are warnings
8010 if test -s conftest.err
; then
8011 # Append any errors to the config.log.
8012 cat conftest.err
1>&5
8013 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8014 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8015 if diff conftest.exp conftest.er2
>/dev
/null
; then
8016 lt_cv_prog_compiler_static_works
=yes
8019 lt_cv_prog_compiler_static_works
=yes
8023 LDFLAGS
="$save_LDFLAGS"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8027 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8029 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8032 lt_prog_compiler_static
=
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8042 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8043 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8044 $as_echo_n "(cached) " >&6
8046 lt_cv_prog_compiler_c_o
=no
8047 $RM -r conftest
2>/dev
/null
8051 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8053 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8054 # Insert the option either (1) after the last *FLAGS variable, or
8055 # (2) before a word containing "conftest.", or (3) at the end.
8056 # Note that $ac_compile itself does not contain backslashes and begins
8057 # with a dollar sign (not a hyphen), so the echo should work correctly.
8058 lt_compile
=`echo "$ac_compile" | $SED \
8059 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8061 -e 's:$: $lt_compiler_flag:'`
8062 (eval echo "\"\$as_me:8062: $lt_compile\"" >&5)
8063 (eval "$lt_compile" 2>out
/conftest.err
)
8065 cat out
/conftest.err
>&5
8066 echo "$as_me:8066: \$? = $ac_status" >&5
8067 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8069 # The compiler can only warn and ignore the option if not recognized
8070 # So say no if there are warnings
8071 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8072 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8073 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8074 lt_cv_prog_compiler_c_o
=yes
8079 # SGI C++ compiler will create directory out/ii_files/ for
8080 # template instantiation
8081 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8082 $RM out
/* && rmdir out
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8089 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8097 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8098 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8099 $as_echo_n "(cached) " >&6
8101 lt_cv_prog_compiler_c_o
=no
8102 $RM -r conftest
2>/dev
/null
8106 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8108 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8109 # Insert the option either (1) after the last *FLAGS variable, or
8110 # (2) before a word containing "conftest.", or (3) at the end.
8111 # Note that $ac_compile itself does not contain backslashes and begins
8112 # with a dollar sign (not a hyphen), so the echo should work correctly.
8113 lt_compile
=`echo "$ac_compile" | $SED \
8114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8116 -e 's:$: $lt_compiler_flag:'`
8117 (eval echo "\"\$as_me:8117: $lt_compile\"" >&5)
8118 (eval "$lt_compile" 2>out
/conftest.err
)
8120 cat out
/conftest.err
>&5
8121 echo "$as_me:8121: \$? = $ac_status" >&5
8122 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8124 # The compiler can only warn and ignore the option if not recognized
8125 # So say no if there are warnings
8126 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8127 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8128 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8129 lt_cv_prog_compiler_c_o
=yes
8134 # SGI C++ compiler will create directory out/ii_files/ for
8135 # template instantiation
8136 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8137 $RM out
/* && rmdir out
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8144 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8149 hard_links
="nottested"
8150 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8151 # do not overwrite the value of need_locks provided by the user
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8153 $as_echo_n "checking if we can lock with hard links... " >&6; }
8156 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8158 ln conftest.a conftest.b
2>&5 || hard_links
=no
8159 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8161 $as_echo "$hard_links" >&6; }
8162 if test "$hard_links" = no
; then
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8164 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8177 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8180 allow_undefined_flag
=
8181 always_export_symbols
=no
8183 archive_expsym_cmds
=
8184 compiler_needs_object
=no
8185 enable_shared_with_static_runtimes
=no
8186 export_dynamic_flag_spec
=
8187 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8188 hardcode_automatic
=no
8190 hardcode_direct_absolute
=no
8191 hardcode_libdir_flag_spec
=
8192 hardcode_libdir_flag_spec_ld
=
8193 hardcode_libdir_separator
=
8195 hardcode_shlibpath_var
=unsupported
8197 link_all_deplibs
=unknown
8200 old_archive_from_new_cmds
=
8201 old_archive_from_expsyms_cmds
=
8202 thread_safe_flag_spec
=
8203 whole_archive_flag_spec
=
8204 # include_expsyms should be a list of space-separated symbols to be *always*
8205 # included in the symbol list
8207 # exclude_expsyms can be an extended regexp of symbols to exclude
8208 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8209 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8210 # as well as any symbol that contains `d'.
8211 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8212 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8213 # platforms (ab)use it in PIC code, but their linkers get confused if
8214 # the symbol is explicitly referenced. Since portable code cannot
8215 # rely on this symbol name, it's probably fine to never include it in
8216 # preloaded symbol tables.
8217 # Exclude shared library initialization/finalization symbols.
8218 extract_expsyms_cmds
=
8221 cygwin
* | mingw
* | pw32
* | cegcc
*)
8222 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8223 # When not using gcc, we currently assume that we are using
8224 # Microsoft Visual C++.
8225 if test "$GCC" != yes; then
8230 # we just hope/assume this is gcc and not c89 (= MSVC++)
8239 if test "$with_gnu_ld" = yes; then
8240 # If archive_cmds runs LD, not CC, wlarc should be empty
8243 # Set some defaults for GNU ld with shared library support. These
8244 # are reset later if shared libraries are not supported. Putting them
8245 # here allows them to be overridden if necessary.
8246 runpath_var
=LD_RUN_PATH
8247 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8248 export_dynamic_flag_spec
='${wl}--export-dynamic'
8249 # ancient GNU ld didn't support --whole-archive et. al.
8250 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8251 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8253 whole_archive_flag_spec
=
8255 supports_anon_versioning
=no
8256 case `$LD -v 2>&1` in
8257 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8258 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8259 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8260 *\
2.11.
*) ;; # other 2.11 versions
8261 *) supports_anon_versioning
=yes ;;
8264 # See if GNU ld supports shared libraries.
8267 # On AIX/PPC, the GNU linker is very broken
8268 if test "$host_cpu" != ia64
; then
8272 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8273 *** to be unable to reliably create shared libraries on AIX.
8274 *** Therefore, libtool is disabling shared libraries support. If you
8275 *** really care for shared libraries, you may want to modify your PATH
8276 *** so that a non-GNU linker is found, and then restart.
8285 # see comment about AmigaOS4 .so support
8286 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8287 archive_expsym_cmds
=''
8290 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)'
8291 hardcode_libdir_flag_spec
='-L$libdir'
8292 hardcode_minus_L
=yes
8298 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8299 allow_undefined_flag
=unsupported
8300 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8301 # support --undefined. This deserves some investigation. FIXME
8302 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8308 cygwin
* | mingw
* | pw32
* | cegcc
*)
8309 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8310 # as there is no search path for DLLs.
8311 hardcode_libdir_flag_spec
='-L$libdir'
8312 allow_undefined_flag
=unsupported
8313 always_export_symbols
=no
8314 enable_shared_with_static_runtimes
=yes
8315 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8317 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8318 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8319 # If the export-symbols file already is a .def file (1st line
8320 # is EXPORTS), use it as is; otherwise, prepend...
8321 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8322 cp $export_symbols $output_objdir/$soname.def;
8324 echo EXPORTS > $output_objdir/$soname.def;
8325 cat $export_symbols >> $output_objdir/$soname.def;
8327 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8335 hardcode_shlibpath_var
=no
8336 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8337 export_dynamic_flag_spec
='${wl}-E'
8338 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8339 # Instead, shared libraries are loaded at an image base (0x10000000 by
8340 # default) and relocated if they conflict, which is a slow very memory
8341 # consuming and fragmenting process. To avoid this, we pick a random,
8342 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8343 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8344 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8345 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'
8348 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8350 if test "$host_os" = linux-dietlibc
; then
8351 case $cc_basename in
8352 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8355 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8356 && test "$tmp_diet" = no
8359 tmp_sharedflag
='-shared'
8360 case $cc_basename,$host_cpu in
8361 pgcc
*) # Portland Group C compiler
8362 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'
8363 tmp_addflag
=' $pic_flag'
8365 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8366 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'
8367 tmp_addflag
=' $pic_flag -Mnomain' ;;
8368 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8369 tmp_addflag
=' -i_dynamic' ;;
8370 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8371 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8372 ifc
* | ifort
*) # Intel Fortran compiler
8373 tmp_addflag
=' -nofor_main' ;;
8374 lf95
*) # Lahey Fortran 8.1
8375 whole_archive_flag_spec
=
8376 tmp_sharedflag
='--shared' ;;
8377 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8378 tmp_sharedflag
='-qmkshrobj'
8381 case `$CC -V 2>&1 | sed 5q` in
8382 *Sun\ C
*) # Sun C 5.9
8383 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'
8384 compiler_needs_object
=yes
8385 tmp_sharedflag
='-G' ;;
8386 *Sun\ F
*) # Sun Fortran 8.3
8387 tmp_sharedflag
='-G' ;;
8389 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8391 if test "x$supports_anon_versioning" = xyes
; then
8392 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8393 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8394 echo "local: *; };" >> $output_objdir/$libname.ver~
8395 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8398 case $cc_basename in
8400 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8401 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8402 hardcode_libdir_flag_spec
=
8403 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8404 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8405 if test "x$supports_anon_versioning" = xyes
; then
8406 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8407 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8408 echo "local: *; };" >> $output_objdir/$libname.ver~
8409 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8419 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8420 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8423 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8424 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8429 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8433 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8434 *** create shared libraries on Solaris systems. Therefore, libtool
8435 *** is disabling shared libraries support. We urge you to upgrade GNU
8436 *** binutils to release 2.9.1 or newer. Another option is to modify
8437 *** your PATH or compiler configuration so that the native linker is
8438 *** used, and then restart.
8441 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8442 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8443 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8449 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8450 case `$LD -v 2>&1` in
8451 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8455 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8456 *** reliably create shared libraries on SCO systems. Therefore, libtool
8457 *** is disabling shared libraries support. We urge you to upgrade GNU
8458 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8459 *** your PATH or compiler configuration so that the native linker is
8460 *** used, and then restart.
8465 # For security reasons, it is highly recommended that you always
8466 # use absolute paths for naming shared libraries, and exclude the
8467 # DT_RUNPATH tag from executables and libraries. But doing so
8468 # requires that you compile everything twice, which is a pain.
8469 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8470 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8471 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8472 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8481 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8484 hardcode_shlibpath_var
=no
8488 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8489 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8490 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8497 if test "$ld_shlibs" = no
; then
8499 hardcode_libdir_flag_spec
=
8500 export_dynamic_flag_spec
=
8501 whole_archive_flag_spec
=
8504 # PORTME fill in a description of your system's linker (not GNU ld)
8507 allow_undefined_flag
=unsupported
8508 always_export_symbols
=yes
8509 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'
8510 # Note: this linker hardcodes the directories in LIBPATH if there
8511 # are no directories specified by -L.
8512 hardcode_minus_L
=yes
8513 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8514 # Neither direct hardcoding nor static linking is supported with a
8516 hardcode_direct
=unsupported
8521 if test "$host_cpu" = ia64
; then
8522 # On IA64, the linker does run time linking by default, so we don't
8523 # have to do anything special.
8524 aix_use_runtimelinking
=no
8525 exp_sym_flag
='-Bexport'
8528 # If we're using GNU nm, then we don't want the "-C" option.
8529 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8530 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8531 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'
8533 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'
8535 aix_use_runtimelinking
=no
8537 # Test if we are trying to use run time linking or normal
8538 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8539 # need to do runtime linking.
8540 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8541 for ld_flag
in $LDFLAGS; do
8542 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8543 aix_use_runtimelinking
=yes
8550 exp_sym_flag
='-bexport'
8551 no_entry_flag
='-bnoentry'
8554 # When large executables or shared objects are built, AIX ld can
8555 # have problems creating the table of contents. If linking a library
8556 # or program results in "error TOC overflow" add -mminimal-toc to
8557 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8558 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8562 hardcode_direct_absolute
=yes
8563 hardcode_libdir_separator
=':'
8564 link_all_deplibs
=yes
8565 file_list_spec
='${wl}-f,'
8567 if test "$GCC" = yes; then
8568 case $host_os in aix4.
[012]|aix4.
[012].
*)
8569 # We only want to do this on AIX 4.2 and lower, the check
8570 # below for broken collect2 doesn't work under 4.3+
8571 collect2name
=`${CC} -print-prog-name=collect2`
8572 if test -f "$collect2name" &&
8573 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8575 # We have reworked collect2
8578 # We have old collect2
8579 hardcode_direct
=unsupported
8580 # It fails to find uninstalled libraries when the uninstalled
8581 # path is not listed in the libpath. Setting hardcode_minus_L
8582 # to unsupported forces relinking
8583 hardcode_minus_L
=yes
8584 hardcode_libdir_flag_spec
='-L$libdir'
8585 hardcode_libdir_separator
=
8589 shared_flag
='-shared'
8590 if test "$aix_use_runtimelinking" = yes; then
8591 shared_flag
="$shared_flag "'${wl}-G'
8595 if test "$host_cpu" = ia64
; then
8596 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8597 # chokes on -Wl,-G. The following line is correct:
8600 if test "$aix_use_runtimelinking" = yes; then
8601 shared_flag
='${wl}-G'
8603 shared_flag
='${wl}-bM:SRE'
8608 export_dynamic_flag_spec
='${wl}-bexpall'
8609 # It seems that -bexpall does not export symbols beginning with
8610 # underscore (_), so it is better to generate a list of symbols to export.
8611 always_export_symbols
=yes
8612 if test "$aix_use_runtimelinking" = yes; then
8613 # Warning - without using the other runtime loading flags (-brtl),
8614 # -berok will link without error, but may produce a broken library.
8615 allow_undefined_flag
='-berok'
8616 # Determine the default libpath from the value encoded in an
8618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8629 if ac_fn_c_try_link
"$LINENO"; then :
8631 lt_aix_libpath_sed
='
8632 /Import File Strings/,/^$/ {
8638 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8639 # Check for a 64-bit object if we didn't find anything.
8640 if test -z "$aix_libpath"; then
8641 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8644 rm -f core conftest.err conftest.
$ac_objext \
8645 conftest
$ac_exeext conftest.
$ac_ext
8646 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8648 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8649 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"
8651 if test "$host_cpu" = ia64
; then
8652 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8653 allow_undefined_flag
="-z nodefs"
8654 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"
8656 # Determine the default libpath from the value encoded in an
8658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8659 /* end confdefs.h. */
8669 if ac_fn_c_try_link
"$LINENO"; then :
8671 lt_aix_libpath_sed
='
8672 /Import File Strings/,/^$/ {
8678 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8679 # Check for a 64-bit object if we didn't find anything.
8680 if test -z "$aix_libpath"; then
8681 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8684 rm -f core conftest.err conftest.
$ac_objext \
8685 conftest
$ac_exeext conftest.
$ac_ext
8686 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8688 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8689 # Warning - without using the other run time loading flags,
8690 # -berok will link without error, but may produce a broken library.
8691 no_undefined_flag
=' ${wl}-bernotok'
8692 allow_undefined_flag
=' ${wl}-berok'
8693 # Exported symbols can be pulled into shared objects from archives
8694 whole_archive_flag_spec
='$convenience'
8695 archive_cmds_need_lc
=yes
8696 # This is similar to how AIX traditionally builds its shared libraries.
8697 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'
8705 # see comment about AmigaOS4 .so support
8706 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8707 archive_expsym_cmds
=''
8710 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)'
8711 hardcode_libdir_flag_spec
='-L$libdir'
8712 hardcode_minus_L
=yes
8718 export_dynamic_flag_spec
=-rdynamic
8721 cygwin
* | mingw
* | pw32
* | cegcc
*)
8722 # When not using gcc, we currently assume that we are using
8723 # Microsoft Visual C++.
8724 # hardcode_libdir_flag_spec is actually meaningless, as there is
8725 # no search path for DLLs.
8726 hardcode_libdir_flag_spec
=' '
8727 allow_undefined_flag
=unsupported
8728 # Tell ltmain to make .lib files, not .a files.
8730 # Tell ltmain to make .dll files, not .so files.
8732 # FIXME: Setting linknames here is a bad hack.
8733 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8734 # The linker will automatically build a .lib file if we build a DLL.
8735 old_archive_from_new_cmds
='true'
8736 # FIXME: Should let the user specify the lib program.
8737 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8738 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8739 enable_shared_with_static_runtimes
=yes
8742 darwin
* | rhapsody
*)
8745 archive_cmds_need_lc
=no
8747 hardcode_automatic
=yes
8748 hardcode_shlibpath_var
=unsupported
8749 whole_archive_flag_spec
=''
8750 link_all_deplibs
=yes
8751 allow_undefined_flag
="$_lt_dar_allow_undefined"
8752 case $cc_basename in
8753 ifort
*) _lt_dar_can_shared
=yes ;;
8754 *) _lt_dar_can_shared
=$GCC ;;
8756 if test "$_lt_dar_can_shared" = "yes"; then
8757 output_verbose_link_cmd
=echo
8758 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8759 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8760 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}"
8761 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}"
8770 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771 hardcode_libdir_flag_spec
='-L$libdir'
8772 hardcode_shlibpath_var
=no
8779 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8780 # support. Future versions do this automatically, but an explicit c++rt0.o
8781 # does not break anything, and helps significantly (at the cost of a little
8784 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8785 hardcode_libdir_flag_spec
='-R$libdir'
8787 hardcode_shlibpath_var
=no
8790 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8792 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8794 hardcode_minus_L
=yes
8795 hardcode_shlibpath_var
=no
8798 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8799 freebsd
* | dragonfly
*)
8800 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8801 hardcode_libdir_flag_spec
='-R$libdir'
8803 hardcode_shlibpath_var
=no
8807 if test "$GCC" = yes; then
8808 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'
8810 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'
8812 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8813 hardcode_libdir_separator
=:
8816 # hardcode_minus_L: Not really in the search PATH,
8817 # but as the default location of the library.
8818 hardcode_minus_L
=yes
8819 export_dynamic_flag_spec
='${wl}-E'
8823 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8824 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8826 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8828 if test "$with_gnu_ld" = no
; then
8829 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8830 hardcode_libdir_flag_spec_ld
='+b $libdir'
8831 hardcode_libdir_separator
=:
8833 hardcode_direct_absolute
=yes
8834 export_dynamic_flag_spec
='${wl}-E'
8835 # hardcode_minus_L: Not really in the search PATH,
8836 # but as the default location of the library.
8837 hardcode_minus_L
=yes
8842 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8845 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8848 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8851 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8857 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8860 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8863 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8867 if test "$with_gnu_ld" = no
; then
8868 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8869 hardcode_libdir_separator
=:
8874 hardcode_shlibpath_var
=no
8878 hardcode_direct_absolute
=yes
8879 export_dynamic_flag_spec
='${wl}-E'
8881 # hardcode_minus_L: Not really in the search PATH,
8882 # but as the default location of the library.
8883 hardcode_minus_L
=yes
8889 irix5
* | irix6
* | nonstopux
*)
8890 if test "$GCC" = yes; then
8891 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'
8892 # Try to use the -exported_symbol ld option, if it does not
8893 # work, assume that -exports_file does not work either and
8894 # implicitly export all symbols.
8895 save_LDFLAGS
="$LDFLAGS"
8896 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8901 if ac_fn_c_try_link
"$LINENO"; then :
8902 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'
8905 rm -f core conftest.err conftest.
$ac_objext \
8906 conftest
$ac_exeext conftest.
$ac_ext
8907 LDFLAGS
="$save_LDFLAGS"
8909 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'
8910 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'
8912 archive_cmds_need_lc
='no'
8913 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8914 hardcode_libdir_separator
=:
8916 link_all_deplibs
=yes
8920 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8921 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8923 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8925 hardcode_libdir_flag_spec
='-R$libdir'
8927 hardcode_shlibpath_var
=no
8931 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8933 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8934 hardcode_libdir_separator
=:
8935 hardcode_shlibpath_var
=no
8942 if test -f /usr
/libexec
/ld.so
; then
8944 hardcode_shlibpath_var
=no
8945 hardcode_direct_absolute
=yes
8946 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8947 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8948 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8949 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8950 export_dynamic_flag_spec
='${wl}-E'
8953 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8954 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8955 hardcode_libdir_flag_spec
='-R$libdir'
8958 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8959 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8969 hardcode_libdir_flag_spec
='-L$libdir'
8970 hardcode_minus_L
=yes
8971 allow_undefined_flag
=unsupported
8972 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'
8973 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8977 if test "$GCC" = yes; then
8978 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8979 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'
8981 allow_undefined_flag
=' -expect_unresolved \*'
8982 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'
8984 archive_cmds_need_lc
='no'
8985 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8986 hardcode_libdir_separator
=:
8989 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8990 if test "$GCC" = yes; then
8991 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8992 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'
8993 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8995 allow_undefined_flag
=' -expect_unresolved \*'
8996 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'
8997 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~
8998 $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'
9000 # Both c and cxx compiler support -rpath directly
9001 hardcode_libdir_flag_spec
='-rpath $libdir'
9003 archive_cmds_need_lc
='no'
9004 hardcode_libdir_separator
=:
9008 no_undefined_flag
=' -z defs'
9009 if test "$GCC" = yes; then
9011 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9012 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9013 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9015 case `$CC -V 2>&1` in
9018 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9019 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9020 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9024 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9025 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9026 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9030 hardcode_libdir_flag_spec
='-R$libdir'
9031 hardcode_shlibpath_var
=no
9033 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9035 # The compiler driver will combine and reorder linker options,
9036 # but understands `-z linker_flag'. GCC discards it without `$wl',
9037 # but is careful enough not to reorder.
9038 # Supported since Solaris 2.6 (maybe 2.5.1?)
9039 if test "$GCC" = yes; then
9040 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9042 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9046 link_all_deplibs
=yes
9050 if test "x$host_vendor" = xsequent
; then
9051 # Use $CC to link under sequent, because it throws in some extra .o
9052 # files that make .init and .fini sections work.
9053 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9057 hardcode_libdir_flag_spec
='-L$libdir'
9059 hardcode_minus_L
=yes
9060 hardcode_shlibpath_var
=no
9064 case $host_vendor in
9066 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9067 hardcode_direct
=yes # is this really true???
9070 ## LD is ld it makes a PLAMLIB
9071 ## CC just makes a GrossModule.
9072 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9073 reload_cmds
='$CC -r -o $output$reload_objs'
9077 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9078 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9081 runpath_var
='LD_RUN_PATH'
9082 hardcode_shlibpath_var
=no
9086 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9087 hardcode_shlibpath_var
=no
9088 export_dynamic_flag_spec
='-Bexport'
9092 if test -d /usr
/nec
; then
9093 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9094 hardcode_shlibpath_var
=no
9095 runpath_var
=LD_RUN_PATH
9096 hardcode_runpath_var
=yes
9101 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9102 no_undefined_flag
='${wl}-z,text'
9103 archive_cmds_need_lc
=no
9104 hardcode_shlibpath_var
=no
9105 runpath_var
='LD_RUN_PATH'
9107 if test "$GCC" = yes; then
9108 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9109 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9111 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9112 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9116 sysv5
* | sco3.2v5
* | sco5v6
*)
9117 # Note: We can NOT use -z defs as we might desire, because we do not
9118 # link with -lc, and that would cause any symbols used from libc to
9119 # always be unresolved, which means just about no library would
9120 # ever link correctly. If we're not using GNU ld we use -z text
9121 # though, which does catch some bad symbols but isn't as heavy-handed
9123 no_undefined_flag
='${wl}-z,text'
9124 allow_undefined_flag
='${wl}-z,nodefs'
9125 archive_cmds_need_lc
=no
9126 hardcode_shlibpath_var
=no
9127 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9128 hardcode_libdir_separator
=':'
9129 link_all_deplibs
=yes
9130 export_dynamic_flag_spec
='${wl}-Bexport'
9131 runpath_var
='LD_RUN_PATH'
9133 if test "$GCC" = yes; then
9134 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9135 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9137 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9138 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9144 hardcode_libdir_flag_spec
='-L$libdir'
9145 hardcode_shlibpath_var
=no
9153 if test x
$host_vendor = xsni
; then
9155 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9156 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9163 $as_echo "$ld_shlibs" >&6; }
9164 test "$ld_shlibs" = no
&& can_build_shared
=no
9166 with_gnu_ld
=$with_gnu_ld
9183 # Do we need to explicitly link libc?
9185 case "x$archive_cmds_need_lc" in
9187 # Assume -lc should be added
9188 archive_cmds_need_lc
=yes
9190 if test "$enable_shared" = yes && test "$GCC" = yes; then
9191 case $archive_cmds in
9193 # FIXME: we may have to deal with multi-command sequences.
9196 # Test whether the compiler implicitly links with -lc since on some
9197 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9198 # to ld, don't add -lc before -lgcc.
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9200 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9201 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9202 $as_echo_n "(cached) " >&6
9205 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9208 (eval $ac_compile) 2>&5
9210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9211 test $ac_status = 0; } 2>conftest.err
; then
9214 libobjs
=conftest.
$ac_objext
9216 wl
=$lt_prog_compiler_wl
9217 pic_flag
=$lt_prog_compiler_pic
9223 lt_save_allow_undefined_flag
=$allow_undefined_flag
9224 allow_undefined_flag
=
9225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9226 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9229 test $ac_status = 0; }
9231 lt_cv_archive_cmds_need_lc
=no
9233 lt_cv_archive_cmds_need_lc
=yes
9235 allow_undefined_flag
=$lt_save_allow_undefined_flag
9237 cat conftest.err
1>&5
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9243 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9244 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9408 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9410 if test "$GCC" = yes; then
9412 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9413 *) lt_awk_arg
="/^libraries:/" ;;
9415 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9416 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9417 # if the path contains ";" then we assume it to be the separator
9418 # otherwise default to the standard path separator (i.e. ":") - it is
9419 # assumed that no part of a normal pathname contains ";" but that should
9420 # okay in the real world where ";" in dirpaths is itself problematic.
9421 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9423 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9425 # Ok, now we have the path, separated by spaces, we can step through it
9426 # and add multilib dir if necessary.
9427 lt_tmp_lt_search_path_spec
=
9428 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9429 for lt_sys_path
in $lt_search_path_spec; do
9430 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9431 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9433 test -d "$lt_sys_path" && \
9434 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9437 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9438 BEGIN {RS=" "; FS="/|\n";} {
9441 for (lt_i = NF; lt_i > 0; lt_i--) {
9442 if ($lt_i != "" && $lt_i != ".") {
9443 if ($lt_i == "..") {
9446 if (lt_count == 0) {
9447 lt_foo="/" $lt_i lt_foo;
9454 if (lt_foo != "") { lt_freq[lt_foo]++; }
9455 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9457 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9459 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9462 libname_spec
='lib$name'
9470 shlibpath_overrides_runpath
=unknown
9472 dynamic_linker
="$host_os ld.so"
9473 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9474 need_lib_prefix
=unknown
9475 hardcode_into_libs
=no
9477 # when you set need_version to no, make sure it does not cause -set_version
9478 # flags to be left without arguments
9479 need_version
=unknown
9484 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9485 shlibpath_var
=LIBPATH
9487 # AIX 3 has no versioning support, so we append a major version to the name.
9488 soname_spec
='${libname}${release}${shared_ext}$major'
9495 hardcode_into_libs
=yes
9496 if test "$host_cpu" = ia64
; then
9497 # AIX 5 supports IA64
9498 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9499 shlibpath_var
=LD_LIBRARY_PATH
9501 # With GCC up to 2.95.x, collect2 would create an import file
9502 # for dependence libraries. The import file would start with
9503 # the line `#! .'. This would cause the generated library to
9504 # depend on `.', always an invalid library. This was fixed in
9505 # development snapshots of GCC prior to 3.0.
9507 aix4 | aix4.
[01] | aix4.
[01].
*)
9508 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9510 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9517 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9518 # soname into executable. Probably we can add versioning support to
9519 # collect2, so additional links can be useful in future.
9520 if test "$aix_use_runtimelinking" = yes; then
9521 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9522 # instead of lib<name>.a to let people know that these are not
9523 # typical AIX shared libraries.
9524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9526 # We preserve .a as extension for shared libraries through AIX4.2
9527 # and later when we are not doing run time linking.
9528 library_names_spec
='${libname}${release}.a $libname.a'
9529 soname_spec
='${libname}${release}${shared_ext}$major'
9531 shlibpath_var
=LIBPATH
9538 # Since July 2007 AmigaOS4 officially supports .so libraries.
9539 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9543 library_names_spec
='$libname.ixlibrary $libname.a'
9544 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9545 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'
9551 library_names_spec
='${libname}${shared_ext}'
9552 dynamic_linker
="$host_os ld.so"
9553 shlibpath_var
=LIBRARY_PATH
9559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9560 soname_spec
='${libname}${release}${shared_ext}$major'
9561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9562 shlibpath_var
=LD_LIBRARY_PATH
9563 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9564 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9565 # the default ld.so.conf also contains /usr/contrib/lib and
9566 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9567 # libtool to hard-code these into programs
9570 cygwin
* | mingw
* | pw32
* | cegcc
*)
9571 version_type
=windows
9576 case $GCC,$host_os in
9577 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9578 library_names_spec
='$libname.dll.a'
9579 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9580 postinstall_cmds
='base_file=`basename \${file}`~
9581 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9582 dldir=$destdir/`dirname \$dlpath`~
9583 test -d \$dldir || mkdir -p \$dldir~
9584 $install_prog $dir/$dlname \$dldir/$dlname~
9585 chmod a+x \$dldir/$dlname~
9586 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9587 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9589 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9590 dlpath=$dir/\$dldll~
9592 shlibpath_overrides_runpath
=yes
9596 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9597 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9598 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9601 # MinGW DLLs use traditional 'lib' prefix
9602 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9603 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9604 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9605 # It is most probably a Windows format PATH printed by
9606 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9607 # path with ; separators, and with drive letters. We can handle the
9608 # drive letters (cygwin fileutils understands them), so leave them,
9609 # especially as we might pass files found there to a mingw objdump,
9610 # which wouldn't understand a cygwinified path. Ahh.
9611 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9613 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9617 # pw32 DLLs use 'pw' prefix rather than 'lib'
9618 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9624 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9627 dynamic_linker
='Win32 ld.exe'
9628 # FIXME: first we should search . and the directory the executable is in
9632 darwin
* | rhapsody
*)
9633 dynamic_linker
="$host_os dyld"
9637 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9638 soname_spec
='${libname}${release}${major}$shared_ext'
9639 shlibpath_overrides_runpath
=yes
9640 shlibpath_var
=DYLD_LIBRARY_PATH
9641 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9643 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9644 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9652 soname_spec
='${libname}${release}${shared_ext}$major'
9653 shlibpath_var
=LD_LIBRARY_PATH
9660 freebsd
* | dragonfly
*)
9661 # DragonFly does not have aout. When/if they implement a new
9662 # versioning mechanism, adjust this.
9663 if test -x /usr
/bin
/objformat
; then
9664 objformat
=`/usr/bin/objformat`
9667 freebsd
[123]*) objformat
=aout
;;
9671 version_type
=freebsd-
$objformat
9672 case $version_type in
9674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9679 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9683 shlibpath_var
=LD_LIBRARY_PATH
9686 shlibpath_overrides_runpath
=yes
9688 freebsd3.
[01]* | freebsdelf3.
[01]*)
9689 shlibpath_overrides_runpath
=yes
9690 hardcode_into_libs
=yes
9692 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9693 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9694 shlibpath_overrides_runpath
=no
9695 hardcode_into_libs
=yes
9697 *) # from 4.6 on, and DragonFly
9698 shlibpath_overrides_runpath
=yes
9699 hardcode_into_libs
=yes
9708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9709 soname_spec
='${libname}${release}${shared_ext}$major'
9710 shlibpath_var
=LD_LIBRARY_PATH
9711 hardcode_into_libs
=yes
9714 hpux9
* | hpux10
* | hpux11
*)
9715 # Give a soname corresponding to the major version so that dld.sl refuses to
9716 # link against other versions.
9723 hardcode_into_libs
=yes
9724 dynamic_linker
="$host_os dld.so"
9725 shlibpath_var
=LD_LIBRARY_PATH
9726 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9728 soname_spec
='${libname}${release}${shared_ext}$major'
9729 if test "X$HPUX_IA64_MODE" = X32
; then
9730 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9732 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9734 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9738 hardcode_into_libs
=yes
9739 dynamic_linker
="$host_os dld.sl"
9740 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9741 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743 soname_spec
='${libname}${release}${shared_ext}$major'
9744 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9745 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9749 dynamic_linker
="$host_os dld.sl"
9750 shlibpath_var
=SHLIB_PATH
9751 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9753 soname_spec
='${libname}${release}${shared_ext}$major'
9756 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9757 postinstall_cmds
='chmod 555 $lib'
9764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9765 soname_spec
='${libname}${release}${shared_ext}$major'
9766 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9767 shlibpath_var
=LD_LIBRARY_PATH
9768 shlibpath_overrides_runpath
=no
9769 hardcode_into_libs
=yes
9772 irix5
* | irix6
* | nonstopux
*)
9774 nonstopux
*) version_type
=nonstopux
;;
9776 if test "$lt_cv_prog_gnu_ld" = yes; then
9784 soname_spec
='${libname}${release}${shared_ext}$major'
9785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9787 irix5
* | nonstopux
*)
9791 case $LD in # libtool.m4 will add one of these switches to LD
9792 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9793 libsuff
= shlibsuff
= libmagic
=32-bit;;
9794 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9795 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9796 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9797 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9798 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9802 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9803 shlibpath_overrides_runpath
=no
9804 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9805 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9806 hardcode_into_libs
=yes
9809 # No shared lib support for Linux oldld, aout, or coff.
9810 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9814 # This must be Linux ELF.
9815 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9820 soname_spec
='${libname}${release}${shared_ext}$major'
9821 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9822 shlibpath_var
=LD_LIBRARY_PATH
9823 shlibpath_overrides_runpath
=no
9825 # Some binutils ld are patched to set DT_RUNPATH
9826 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9827 $as_echo_n "(cached) " >&6
9829 lt_cv_shlibpath_overrides_runpath
=no
9830 save_LDFLAGS
=$LDFLAGS
9832 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9833 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9845 if ac_fn_c_try_link
"$LINENO"; then :
9846 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9847 lt_cv_shlibpath_overrides_runpath
=yes
9850 rm -f core conftest.err conftest.
$ac_objext \
9851 conftest
$ac_exeext conftest.
$ac_ext
9852 LDFLAGS
=$save_LDFLAGS
9857 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
9859 # This implies no fast_install, which is unacceptable.
9860 # Some rework will be needed to allow for fast_install
9861 # before this can be enabled.
9862 hardcode_into_libs
=yes
9864 # Append ld.so.conf contents to the search path
9865 if test -f /etc
/ld.so.conf
; then
9866 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' ' '`
9867 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9870 # We used to test for /lib/ld.so.1 and disable shared libraries on
9871 # powerpc, because MkLinux only supported shared libraries with the
9872 # GNU dynamic linker. Since this was broken with cross compilers,
9873 # most powerpc-linux boxes support dynamic linking these days and
9874 # people can always --disable-shared, the test was removed, and we
9875 # assume the GNU/Linux dynamic linker is in use.
9876 dynamic_linker
='GNU/Linux ld.so'
9883 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9885 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9886 dynamic_linker
='NetBSD (a.out) ld.so'
9888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9889 soname_spec
='${libname}${release}${shared_ext}$major'
9890 dynamic_linker
='NetBSD ld.elf_so'
9892 shlibpath_var
=LD_LIBRARY_PATH
9893 shlibpath_overrides_runpath
=yes
9894 hardcode_into_libs
=yes
9899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900 shlibpath_var
=LD_LIBRARY_PATH
9901 shlibpath_overrides_runpath
=yes
9908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9909 soname_spec
='${libname}${release}${shared_ext}$major'
9910 shlibpath_var
=LD_LIBRARY_PATH
9911 shlibpath_overrides_runpath
=no
9912 hardcode_into_libs
=yes
9913 dynamic_linker
='ldqnx.so'
9918 sys_lib_dlsearch_path_spec
="/usr/lib"
9920 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9922 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9923 *) need_version
=no
;;
9925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9926 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9927 shlibpath_var
=LD_LIBRARY_PATH
9928 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9930 openbsd2.
[89] | openbsd2.
[89].
*)
9931 shlibpath_overrides_runpath
=no
9934 shlibpath_overrides_runpath
=yes
9938 shlibpath_overrides_runpath
=yes
9943 libname_spec
='$name'
9946 library_names_spec
='$libname${shared_ext} $libname.a'
9947 dynamic_linker
='OS/2 ld.exe'
9948 shlibpath_var
=LIBPATH
9951 osf3
* | osf4
* | osf5
*)
9955 soname_spec
='${libname}${release}${shared_ext}$major'
9956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9957 shlibpath_var
=LD_LIBRARY_PATH
9958 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9959 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9971 soname_spec
='${libname}${release}${shared_ext}$major'
9972 shlibpath_var
=LD_LIBRARY_PATH
9973 shlibpath_overrides_runpath
=yes
9974 hardcode_into_libs
=yes
9975 # ldd complains unless libraries are executable
9976 postinstall_cmds
='chmod +x $lib'
9981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9982 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9983 shlibpath_var
=LD_LIBRARY_PATH
9984 shlibpath_overrides_runpath
=yes
9985 if test "$with_gnu_ld" = yes; then
9993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9994 soname_spec
='${libname}${release}${shared_ext}$major'
9995 shlibpath_var
=LD_LIBRARY_PATH
9996 case $host_vendor in
9998 shlibpath_overrides_runpath
=no
10000 runpath_var
=LD_RUN_PATH
10008 shlibpath_overrides_runpath
=no
10009 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10015 if test -d /usr
/nec
;then
10017 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10018 soname_spec
='$libname${shared_ext}.$major'
10019 shlibpath_var
=LD_LIBRARY_PATH
10023 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10024 version_type
=freebsd-elf
10027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10028 soname_spec
='${libname}${release}${shared_ext}$major'
10029 shlibpath_var
=LD_LIBRARY_PATH
10030 shlibpath_overrides_runpath
=yes
10031 hardcode_into_libs
=yes
10032 if test "$with_gnu_ld" = yes; then
10033 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10035 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10038 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10042 sys_lib_dlsearch_path_spec
='/usr/lib'
10046 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10051 shlibpath_var
=LD_LIBRARY_PATH
10052 shlibpath_overrides_runpath
=no
10053 hardcode_into_libs
=yes
10058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10059 soname_spec
='${libname}${release}${shared_ext}$major'
10060 shlibpath_var
=LD_LIBRARY_PATH
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10068 $as_echo "$dynamic_linker" >&6; }
10069 test "$dynamic_linker" = no
&& can_build_shared
=no
10071 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10072 if test "$GCC" = yes; then
10073 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10076 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10077 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10079 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10080 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10170 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10172 if test -n "$hardcode_libdir_flag_spec" ||
10173 test -n "$runpath_var" ||
10174 test "X$hardcode_automatic" = "Xyes" ; then
10176 # We can hardcode non-existent directories.
10177 if test "$hardcode_direct" != no
&&
10178 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10179 # have to relink, otherwise we might link with an installed library
10180 # when we should be linking with a yet-to-be-installed one
10181 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10182 test "$hardcode_minus_L" != no
; then
10183 # Linking always hardcodes the temporary library directory.
10184 hardcode_action
=relink
10186 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10187 hardcode_action
=immediate
10190 # We cannot hardcode anything, or else we can only hardcode existing
10192 hardcode_action
=unsupported
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10195 $as_echo "$hardcode_action" >&6; }
10197 if test "$hardcode_action" = relink ||
10198 test "$inherit_rpath" = yes; then
10199 # Fast installation is not supported
10200 enable_fast_install
=no
10201 elif test "$shlibpath_overrides_runpath" = yes ||
10202 test "$enable_shared" = no
; then
10203 # Fast installation is not necessary
10204 enable_fast_install
=needless
10212 if test "x$enable_dlopen" != xyes
; then
10213 enable_dlopen
=unknown
10214 enable_dlopen_self
=unknown
10215 enable_dlopen_self_static
=unknown
10222 lt_cv_dlopen
="load_add_on"
10224 lt_cv_dlopen_self
=yes
10227 mingw
* | pw32
* | cegcc
*)
10228 lt_cv_dlopen
="LoadLibrary"
10233 lt_cv_dlopen
="dlopen"
10238 # if libdl is installed we need to link against it
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10240 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10241 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10242 $as_echo_n "(cached) " >&6
10244 ac_check_lib_save_LIBS
=$LIBS
10246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10264 if ac_fn_c_try_link
"$LINENO"; then :
10265 ac_cv_lib_dl_dlopen
=yes
10267 ac_cv_lib_dl_dlopen
=no
10269 rm -f core conftest.err conftest.
$ac_objext \
10270 conftest
$ac_exeext conftest.
$ac_ext
10271 LIBS
=$ac_check_lib_save_LIBS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10274 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10275 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10276 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10279 lt_cv_dlopen
="dyld"
10281 lt_cv_dlopen_self
=yes
10288 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10289 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10290 lt_cv_dlopen
="shl_load"
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10293 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10294 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10295 $as_echo_n "(cached) " >&6
10297 ac_check_lib_save_LIBS
=$LIBS
10299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10312 return shl_load ();
10317 if ac_fn_c_try_link
"$LINENO"; then :
10318 ac_cv_lib_dld_shl_load
=yes
10320 ac_cv_lib_dld_shl_load
=no
10322 rm -f core conftest.err conftest.
$ac_objext \
10323 conftest
$ac_exeext conftest.
$ac_ext
10324 LIBS
=$ac_check_lib_save_LIBS
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10327 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10328 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10329 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10331 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10332 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10333 lt_cv_dlopen
="dlopen"
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10338 $as_echo_n "(cached) " >&6
10340 ac_check_lib_save_LIBS
=$LIBS
10342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10345 /* Override any GCC internal prototype to avoid an error.
10346 Use char because int might match the return type of a GCC
10347 builtin and then its argument prototype would still apply. */
10360 if ac_fn_c_try_link
"$LINENO"; then :
10361 ac_cv_lib_dl_dlopen
=yes
10363 ac_cv_lib_dl_dlopen
=no
10365 rm -f core conftest.err conftest.
$ac_objext \
10366 conftest
$ac_exeext conftest.
$ac_ext
10367 LIBS
=$ac_check_lib_save_LIBS
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10371 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10372 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10375 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10376 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10377 $as_echo_n "(cached) " >&6
10379 ac_check_lib_save_LIBS
=$LIBS
10380 LIBS
="-lsvld $LIBS"
10381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10384 /* Override any GCC internal prototype to avoid an error.
10385 Use char because int might match the return type of a GCC
10386 builtin and then its argument prototype would still apply. */
10399 if ac_fn_c_try_link
"$LINENO"; then :
10400 ac_cv_lib_svld_dlopen
=yes
10402 ac_cv_lib_svld_dlopen
=no
10404 rm -f core conftest.err conftest.
$ac_objext \
10405 conftest
$ac_exeext conftest.
$ac_ext
10406 LIBS
=$ac_check_lib_save_LIBS
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10409 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10410 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10411 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10414 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10415 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10416 $as_echo_n "(cached) " >&6
10418 ac_check_lib_save_LIBS
=$LIBS
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10433 return dld_link ();
10438 if ac_fn_c_try_link
"$LINENO"; then :
10439 ac_cv_lib_dld_dld_link
=yes
10441 ac_cv_lib_dld_dld_link
=no
10443 rm -f core conftest.err conftest.
$ac_objext \
10444 conftest
$ac_exeext conftest.
$ac_ext
10445 LIBS
=$ac_check_lib_save_LIBS
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10448 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10449 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10450 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10471 if test "x$lt_cv_dlopen" != xno
; then
10477 case $lt_cv_dlopen in
10479 save_CPPFLAGS
="$CPPFLAGS"
10480 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10482 save_LDFLAGS
="$LDFLAGS"
10483 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10486 LIBS
="$lt_cv_dlopen_libs $LIBS"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10489 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10490 if test "${lt_cv_dlopen_self+set}" = set; then :
10491 $as_echo_n "(cached) " >&6
10493 if test "$cross_compiling" = yes; then :
10494 lt_cv_dlopen_self
=cross
10496 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10497 lt_status
=$lt_dlunknown
10498 cat > conftest.
$ac_ext <<_LT_EOF
10499 #line 10499 "configure"
10500 #include "confdefs.h"
10509 # define LT_DLGLOBAL RTLD_GLOBAL
10512 # define LT_DLGLOBAL DL_GLOBAL
10514 # define LT_DLGLOBAL 0
10518 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10519 find out it does not work in some platform. */
10520 #ifndef LT_DLLAZY_OR_NOW
10522 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10525 # define LT_DLLAZY_OR_NOW DL_LAZY
10528 # define LT_DLLAZY_OR_NOW RTLD_NOW
10531 # define LT_DLLAZY_OR_NOW DL_NOW
10533 # define LT_DLLAZY_OR_NOW 0
10540 void fnord() { int i=42;}
10543 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10544 int status = $lt_dlunknown;
10548 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10549 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10550 /* dlclose (self); */
10558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10559 (eval $ac_link) 2>&5
10561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10562 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10563 (.
/conftest
; exit; ) >&5 2>/dev
/null
10565 case x
$lt_status in
10566 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10567 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10568 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10571 # compilation failed
10572 lt_cv_dlopen_self
=no
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10580 $as_echo "$lt_cv_dlopen_self" >&6; }
10582 if test "x$lt_cv_dlopen_self" = xyes
; then
10583 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10585 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10586 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10587 $as_echo_n "(cached) " >&6
10589 if test "$cross_compiling" = yes; then :
10590 lt_cv_dlopen_self_static
=cross
10592 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10593 lt_status
=$lt_dlunknown
10594 cat > conftest.
$ac_ext <<_LT_EOF
10595 #line 10595 "configure"
10596 #include "confdefs.h"
10605 # define LT_DLGLOBAL RTLD_GLOBAL
10608 # define LT_DLGLOBAL DL_GLOBAL
10610 # define LT_DLGLOBAL 0
10614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10615 find out it does not work in some platform. */
10616 #ifndef LT_DLLAZY_OR_NOW
10618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10621 # define LT_DLLAZY_OR_NOW DL_LAZY
10624 # define LT_DLLAZY_OR_NOW RTLD_NOW
10627 # define LT_DLLAZY_OR_NOW DL_NOW
10629 # define LT_DLLAZY_OR_NOW 0
10636 void fnord() { int i=42;}
10639 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10640 int status = $lt_dlunknown;
10644 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10645 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10646 /* dlclose (self); */
10654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10655 (eval $ac_link) 2>&5
10657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10658 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10659 (.
/conftest
; exit; ) >&5 2>/dev
/null
10661 case x
$lt_status in
10662 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10663 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10664 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10667 # compilation failed
10668 lt_cv_dlopen_self_static
=no
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10676 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10679 CPPFLAGS
="$save_CPPFLAGS"
10680 LDFLAGS
="$save_LDFLAGS"
10685 case $lt_cv_dlopen_self in
10686 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10687 *) enable_dlopen_self
=unknown
;;
10690 case $lt_cv_dlopen_self_static in
10691 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10692 *) enable_dlopen_self_static
=unknown
;;
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10715 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10716 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10717 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10718 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10720 $as_echo "yes" >&6; }
10722 # FIXME - insert some real tests, host_os isn't really good enough
10725 if test -n "$STRIP" ; then
10726 striplib
="$STRIP -x"
10727 old_striplib
="$STRIP -S"
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10729 $as_echo "yes" >&6; }
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10732 $as_echo "no" >&6; }
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10737 $as_echo "no" >&6; }
10753 # Report which library types will actually be built
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10755 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10757 $as_echo "$can_build_shared" >&6; }
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10760 $as_echo_n "checking whether to build shared libraries... " >&6; }
10761 test "$can_build_shared" = "no" && enable_shared
=no
10763 # On AIX, shared libraries and static libraries use the same namespace, and
10764 # are all built from PIC.
10767 test "$enable_shared" = yes && enable_static
=no
10768 if test -n "$RANLIB"; then
10769 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10770 postinstall_cmds
='$RANLIB $lib'
10775 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10776 test "$enable_shared" = yes && enable_static
=no
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10781 $as_echo "$enable_shared" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10784 $as_echo_n "checking whether to build static libraries... " >&6; }
10785 # Make sure either enable_shared or enable_static is yes.
10786 test "$enable_shared" = yes || enable_static
=yes
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10788 $as_echo "$enable_static" >&6; }
10795 ac_cpp
='$CPP $CPPFLAGS'
10796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10814 ac_config_commands
="$ac_config_commands libtool"
10819 # Only expand once:
10825 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
10826 if test "x$ac_cv_header_stdint_h" = x
""yes; then :
10834 if test $MF_HAVE_STDINT_H = 1
10836 MF_HAVE_UINTPTR_T
=1
10838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10840 #include <sys/types.h>
10849 if ac_fn_c_try_compile
"$LINENO"; then :
10850 MF_HAVE_UINTPTR_T
=1
10852 MF_HAVE_UINTPTR_T
=0
10854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10860 # libmudflapth objects are built in this subdirectory
10864 for ac_header
in pthread.h
10866 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
10867 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
10868 cat >>confdefs.h
<<_ACEOF
10869 #define HAVE_PTHREAD_H 1
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
10878 $as_echo_n "checking for thread model used by GCC... " >&6; }
10879 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
10881 $as_echo "$target_thread_file" >&6; }
10883 # We only support posix threads, or no threads at all.
10885 case ${target_thread_file} in
10892 echo "${target_thread_file} is an unsupported thread package" 1>&2
10897 if test "x$posix_threads" != "x"; then
10899 LIBMUDFLAPTH_FALSE
='#'
10901 LIBMUDFLAPTH_TRUE
='#'
10902 LIBMUDFLAPTH_FALSE
=
10905 if test "x$posix_threads" != "x"
10907 build_libmudflapth
=1
10909 build_libmudflapth
=0
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
10914 $as_echo_n "checking for dlsym in -ldl... " >&6; }
10915 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
10916 $as_echo_n "(cached) " >&6
10918 ac_check_lib_save_LIBS
=$LIBS
10920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10938 if ac_fn_c_try_link
"$LINENO"; then :
10939 ac_cv_lib_dl_dlsym
=yes
10941 ac_cv_lib_dl_dlsym
=no
10943 rm -f core conftest.err conftest.
$ac_objext \
10944 conftest
$ac_exeext conftest.
$ac_ext
10945 LIBS
=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
10948 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
10949 if test "x$ac_cv_lib_dl_dlsym" = x
""yes; then :
10950 cat >>confdefs.h
<<_ACEOF
10951 #define HAVE_LIBDL 1
10959 # Calculate toolexeclibdir
10960 # Also toolexecdir, though it's only used in toolexeclibdir
10961 case ${version_specific_libs} in
10963 # Need the gcc compiler version to know where to install libraries
10964 # and header files if --enable-version-specific-runtime-libs option
10966 toolexecdir
='$(libdir)/gcc/$(target_alias)'
10967 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
10970 if test -n "$with_cross_host" &&
10971 test x
"$with_cross_host" != x
"no"; then
10972 # Install a library built with a cross compiler in tooldir, not libdir.
10973 toolexecdir
='$(exec_prefix)/$(target_alias)'
10974 toolexeclibdir
='$(toolexecdir)/lib'
10976 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
10977 toolexeclibdir
='$(libdir)'
10979 multi_os_directory
=`$CC -print-multi-os-directory`
10980 case $multi_os_directory in
10981 .
) ;; # Avoid trailing /.
10982 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
10989 includedir
=${toolexecdir}/include
10992 pthread_create_version
='""'
10993 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
10994 # NB: don't check for -lpthread here, because then it would be
10995 # added to LIBS. For the thread-unaware libmudflap.la, we don't
10998 # glibc-related hacks. dlsym() may pick the wrong version of
10999 # interposed functions like pthread_create on modern glibc.
11000 # We need to find the proper symbol version string, and use
11001 # the nonstandard dlvsym().
11002 for ac_func
in dlvsym
11004 ac_fn_c_check_func
"$LINENO" "dlvsym" "ac_cv_func_dlvsym"
11005 if test "x$ac_cv_func_dlvsym" = x
""yes; then :
11006 cat >>confdefs.h
<<_ACEOF
11007 #define HAVE_DLVSYM 1
11013 if test -n "$ac_tool_prefix"; then
11014 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
11015 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11017 $as_echo_n "checking for $ac_word... " >&6; }
11018 if test "${ac_cv_prog_NM+set}" = set; then :
11019 $as_echo_n "(cached) " >&6
11021 if test -n "$NM"; then
11022 ac_cv_prog_NM
="$NM" # Let the user override the test.
11024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11025 for as_dir
in $PATH
11028 test -z "$as_dir" && as_dir
=.
11029 for ac_exec_ext
in '' $ac_executable_extensions; do
11030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031 ac_cv_prog_NM
="${ac_tool_prefix}nm"
11032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11042 if test -n "$NM"; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
11044 $as_echo "$NM" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11047 $as_echo "no" >&6; }
11052 if test -z "$ac_cv_prog_NM"; then
11054 # Extract the first word of "nm", so it can be a program name with args.
11055 set dummy nm
; ac_word
=$2
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11057 $as_echo_n "checking for $ac_word... " >&6; }
11058 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
11059 $as_echo_n "(cached) " >&6
11061 if test -n "$ac_ct_NM"; then
11062 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
11064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11065 for as_dir
in $PATH
11068 test -z "$as_dir" && as_dir
=.
11069 for ac_exec_ext
in '' $ac_executable_extensions; do
11070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071 ac_cv_prog_ac_ct_NM
="nm"
11072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11081 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
11082 if test -n "$ac_ct_NM"; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
11084 $as_echo "$ac_ct_NM" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11087 $as_echo "no" >&6; }
11090 if test "x$ac_ct_NM" = x
; then
11093 case $cross_compiling:$ac_tool_warned in
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11097 ac_tool_warned
=yes ;;
11102 NM
="$ac_cv_prog_NM"
11105 if test "x$ac_cv_have_dlvsym" != "x"; then
11106 # Try compiling a simple pthreads program. Find the shared libraries it
11107 # ends up with. Then use "nm" on those libraries to extract the
11108 # default symbol versioning suffix ("@@"), if any. But that's tricky.
11109 # Rather, run nm on the resulting executable. Unfortunately, autoconf
11110 # doesn't appear to have a macro that builds a test executable for
11111 # subsequent analysis ... so we do it by hand here.
11112 cat >> conftest.c
<< EOF
11113 #include <pthread.h>
11114 int main () { void *p = (void *) & pthread_create; return (int) p; }
11117 LIBS
="$LIBS -lpthread"
11118 pthread_create_version
="\"\""
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pthread_create symbol version" >&5
11120 $as_echo_n "checking pthread_create symbol version... " >&6; }
11121 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
11122 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
11123 if test "x$version" != "x"; then
11124 pthread_create_version
="\"$version\""
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pthread_create_version" >&5
11128 $as_echo "$pthread_create_version" >&6; }
11133 cat >>confdefs.h
<<_ACEOF
11134 #define PTHREAD_CREATE_VERSION $pthread_create_version
11139 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
11140 # similarly to how libstdc++ does it
11141 ac_test_CFLAGS
="${CFLAGS+set}"
11142 ac_save_CFLAGS
="$CFLAGS"
11144 # Check for -ffunction-sections -fdata-sections
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
11146 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
11147 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
11148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11159 if ac_fn_c_try_compile
"$LINENO"; then :
11164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11165 if test "$ac_test_CFLAGS" = set; then
11166 CFLAGS
="$ac_save_CFLAGS"
11168 # this is the suspicious part
11171 if test x
"$ac_fdsections" = x
"yes"; then
11172 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
11175 $as_echo "$ac_fdsections" >&6; }
11179 # Check for the name of the symbol used for the entry point.
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the name of the symbol used for the entry point" >&5
11181 $as_echo_n "checking for the name of the symbol used for the entry point... " >&6; }
11182 if test "${mudflap_cv_entry_point+set}" = set; then :
11183 $as_echo_n "(cached) " >&6
11186 for name
in _start __start unknown
; do
11187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11189 extern char $name[];
11198 if ac_fn_c_try_link
"$LINENO"; then :
11201 rm -f core conftest.err conftest.
$ac_objext \
11202 conftest
$ac_exeext conftest.
$ac_ext
11204 mudflap_cv_entry_point
="$name"
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mudflap_cv_entry_point" >&5
11207 $as_echo "$mudflap_cv_entry_point" >&6; }
11208 if test "$mudflap_cv_entry_point" = unknown
; then
11209 as_fn_error
"none of the known symbol names works" "$LINENO" 5
11212 cat >>confdefs.h
<<_ACEOF
11213 #define ENTRY_POINT $mudflap_cv_entry_point
11218 if test ${multilib} = yes; then
11219 multilib_arg
="--enable-multilib"
11224 # See if we support thread-local storage.
11227 # Check whether --enable-tls was given.
11228 if test "${enable_tls+set}" = set; then :
11229 enableval
=$enable_tls;
11230 case "$enableval" in
11232 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
11241 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
11242 if test "${gcc_cv_have_tls+set}" = set; then :
11243 $as_echo_n "(cached) " >&6
11246 if test "$cross_compiling" = yes; then :
11247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11249 __thread int a; int b; int main() { return a = b; }
11251 if ac_fn_c_try_link
"$LINENO"; then :
11252 chktls_save_LDFLAGS
="$LDFLAGS"
11255 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
11258 chktls_save_CFLAGS
="$CFLAGS"
11259 CFLAGS
="-fPIC $CFLAGS"
11260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11262 int f() { return 0; }
11264 if ac_fn_c_try_link
"$LINENO"; then :
11265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11267 __thread int a; int b; int f() { return a = b; }
11269 if ac_fn_c_try_link
"$LINENO"; then :
11270 gcc_cv_have_tls
=yes
11274 rm -f core conftest.err conftest.
$ac_objext \
11275 conftest
$ac_exeext conftest.
$ac_ext
11277 gcc_cv_have_tls
=yes
11279 rm -f core conftest.err conftest.
$ac_objext \
11280 conftest
$ac_exeext conftest.
$ac_ext
11281 CFLAGS
="$chktls_save_CFLAGS"
11282 LDFLAGS
="$chktls_save_LDFLAGS"
11286 rm -f core conftest.err conftest.
$ac_objext \
11287 conftest
$ac_exeext conftest.
$ac_ext
11291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293 __thread int a; int b; int main() { return a = b; }
11295 if ac_fn_c_try_run
"$LINENO"; then :
11296 chktls_save_LDFLAGS
="$LDFLAGS"
11297 LDFLAGS
="-static $LDFLAGS"
11298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11300 int main() { return 0; }
11302 if ac_fn_c_try_link
"$LINENO"; then :
11303 if test "$cross_compiling" = yes; then :
11304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11306 as_fn_error
"cannot run test program while cross compiling
11307 See \`config.log' for more details." "$LINENO" 5; }
11309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11311 __thread int a; int b; int main() { return a = b; }
11313 if ac_fn_c_try_run
"$LINENO"; then :
11314 gcc_cv_have_tls
=yes
11318 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11319 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11323 gcc_cv_have_tls
=yes
11325 rm -f core conftest.err conftest.
$ac_objext \
11326 conftest
$ac_exeext conftest.
$ac_ext
11327 LDFLAGS
="$chktls_save_LDFLAGS"
11328 if test $gcc_cv_have_tls = yes; then
11329 chktls_save_CFLAGS
="$CFLAGS"
11330 thread_CFLAGS
=failed
11331 for flag
in '' '-pthread' '-lpthread'; do
11332 CFLAGS
="$flag $chktls_save_CFLAGS"
11333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11335 #include <pthread.h>
11336 void *g(void *d) { return NULL; }
11340 pthread_t t; pthread_create(&t,NULL,g,NULL);
11345 if ac_fn_c_try_link
"$LINENO"; then :
11346 thread_CFLAGS
="$flag"
11348 rm -f core conftest.err conftest.
$ac_objext \
11349 conftest
$ac_exeext conftest.
$ac_ext
11350 if test "X$thread_CFLAGS" != Xfailed
; then
11354 CFLAGS
="$chktls_save_CFLAGS"
11355 if test "X$thread_CFLAGS" != Xfailed
; then
11356 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
11357 if test "$cross_compiling" = yes; then :
11358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11360 as_fn_error
"cannot run test program while cross compiling
11361 See \`config.log' for more details." "$LINENO" 5; }
11363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11365 #include <pthread.h>
11367 static int *a_in_other_thread;
11369 thread_func (void *arg)
11371 a_in_other_thread = &a;
11378 void *thread_retval;
11379 int *a_in_main_thread;
11380 if (pthread_create (&thread, (pthread_attr_t *)0,
11381 thread_func, (void *)0))
11383 a_in_main_thread = &a;
11384 if (pthread_join (thread, &thread_retval))
11386 return (a_in_other_thread == a_in_main_thread);
11391 if ac_fn_c_try_run
"$LINENO"; then :
11392 gcc_cv_have_tls
=yes
11396 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11397 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11400 CFLAGS
="$chktls_save_CFLAGS"
11406 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11407 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
11412 $as_echo "$gcc_cv_have_tls" >&6; }
11413 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
11415 $as_echo "#define HAVE_TLS 1" >>confdefs.h
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
11420 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
11421 if test "${gcc_cv_use_emutls+set}" = set; then :
11422 $as_echo_n "(cached) " >&6
11425 gcc_cv_use_emutls
=no
11426 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
11427 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
11428 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11429 (eval $ac_try) 2>&5
11431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11432 test $ac_status = 0; }; }; then
11433 if grep __emutls_get_address conftest.s
> /dev
/null
; then
11434 gcc_cv_use_emutls
=yes
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
11441 $as_echo "$gcc_cv_use_emutls" >&6; }
11442 if test "$gcc_cv_use_emutls" = "yes" ; then
11444 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
11448 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
11450 cat >confcache
<<\_ACEOF
11451 # This file is a shell script that caches the results of configure
11452 # tests run on this system so they can be shared between configure
11453 # scripts and configure runs, see configure's option --config-cache.
11454 # It is not useful on other systems. If it contains results you don't
11455 # want to keep, you may remove or edit it.
11457 # config.status only pays attention to the cache file if you give it
11458 # the --recheck option to rerun configure.
11460 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11461 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11462 # following values.
11466 # The following way of writing the cache mishandles newlines in values,
11467 # but we know of no workaround that is simple, portable, and efficient.
11468 # So, we kill variables containing newlines.
11469 # Ultrix sh set writes to stderr and can't be redirected directly,
11470 # and sets the high bit in the cache file unless we assign to the vars.
11472 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11473 eval ac_val
=\$
$ac_var
11477 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11478 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11481 _ | IFS | as_nl
) ;; #(
11482 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11483 *) { eval $ac_var=; unset $ac_var;} ;;
11489 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11490 *${as_nl}ac_space
=\
*)
11491 # `set' does not quote correctly, so add quotes: double-quote
11492 # substitution turns \\\\ into \\, and sed turns \\ into \.
11495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11498 # `set' quotes correctly as required by POSIX, so do not add quotes.
11499 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11508 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11510 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11512 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11513 if test -w "$cache_file"; then
11514 test "x$cache_file" != "x/dev/null" &&
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11516 $as_echo "$as_me: updating cache $cache_file" >&6;}
11517 cat confcache
>$cache_file
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11520 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11525 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11526 # Let make expand exec_prefix.
11527 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11529 DEFS
=-DHAVE_CONFIG_H
11533 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11534 # 1. Remove the extension, and $U if already installed.
11535 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11536 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11537 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11538 # will be set to the directory where LIBOBJS objects are built.
11539 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11540 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11542 LIBOBJS
=$ac_libobjs
11544 LTLIBOBJS
=$ac_ltlibobjs
11547 if test -n "$EXEEXT"; then
11549 am__EXEEXT_FALSE
='#'
11551 am__EXEEXT_TRUE
='#'
11555 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11556 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11559 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11560 as_fn_error
"conditional \"AMDEP\" was never defined.
11561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11563 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11564 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11567 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
11568 as_fn_error
"conditional \"LIBMUDFLAPTH\" was never defined.
11569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11572 : ${CONFIG_STATUS=./config.status}
11574 ac_clean_files_save
=$ac_clean_files
11575 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11577 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11579 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11581 # Generated by $as_me.
11582 # Run this file to recreate the current configuration.
11583 # Compiler output produced by configure, useful for debugging
11584 # configure, is in config.log if it exists.
11587 ac_cs_recheck=false
11590 SHELL=\${CONFIG_SHELL-$SHELL}
11593 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11594 ## -------------------- ##
11595 ## M4sh Initialization. ##
11596 ## -------------------- ##
11598 # Be more Bourne compatible
11599 DUALCASE
=1; export DUALCASE
# for MKS sh
11600 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11603 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11604 # is contrary to our usage. Disable this feature.
11605 alias -g '${1+"$@"}'='"$@"'
11606 setopt NO_GLOB_SUBST
11608 case `(set -o) 2>/dev/null` in #(
11620 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11621 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11622 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11623 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11624 # Prefer a ksh shell builtin over an external printf program on Solaris,
11625 # but without wasting forks for bash or zsh.
11626 if test -z "$BASH_VERSION$ZSH_VERSION" \
11627 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11628 as_echo='print
-r --'
11629 as_echo_n='print
-rn --'
11630 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11631 as_echo='printf %s
\n'
11632 as_echo_n='printf %s
'
11634 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11635 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11636 as_echo_n='/usr
/ucb
/echo -n'
11638 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11639 as_echo_n_body='eval
11643 expr "X$arg" : "X\\(.*\\)$as_nl";
11644 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11646 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11648 export as_echo_n_body
11649 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11651 export as_echo_body
11652 as_echo='sh
-c $as_echo_body as_echo
'
11655 # The user is always right.
11656 if test "${PATH_SEPARATOR+set}" != set; then
11658 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11659 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11666 # We need space, tab and new line, in precisely that order. Quoting is
11667 # there to prevent editors from complaining about space-tab.
11668 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11669 # splitting by setting IFS to empty value.)
11672 # Find who we are. Look in the path if we contain no directory separator.
11674 *[\\/]* ) as_myself=$0 ;;
11675 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11676 for as_dir in $PATH
11679 test -z "$as_dir" && as_dir=.
11680 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11686 # We did not find ourselves, most probably we were run as `sh COMMAND'
11687 # in which case we are not to be found in the path.
11688 if test "x$as_myself" = x
; then
11691 if test ! -f "$as_myself"; then
11692 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11696 # Unset variables that we do not need and which cause bugs (e.g. in
11697 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11698 # suppresses any "Segmentation fault" message there. '((' could
11699 # trigger a bug in pdksh 5.2.14.
11700 for as_var
in BASH_ENV ENV MAIL MAILPATH
11701 do eval test x\
${$as_var+set} = xset \
11702 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11715 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11718 # as_fn_error ERROR [LINENO LOG_FD]
11719 # ---------------------------------
11720 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11721 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11722 # script with status $?, using 1 if that was 0.
11725 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11727 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11728 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11730 $as_echo "$as_me: error: $1" >&2
11731 as_fn_exit
$as_status
11735 # as_fn_set_status STATUS
11736 # -----------------------
11737 # Set $? to STATUS, without forking.
11738 as_fn_set_status
()
11741 } # as_fn_set_status
11743 # as_fn_exit STATUS
11744 # -----------------
11745 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11749 as_fn_set_status
$1
11755 # Portably unset VAR.
11758 { eval $1=; unset $1;}
11760 as_unset
=as_fn_unset
11761 # as_fn_append VAR VALUE
11762 # ----------------------
11763 # Append the text in VALUE to the end of the definition contained in VAR. Take
11764 # advantage of any shell optimizations that allow amortized linear growth over
11765 # repeated appends, instead of the typical quadratic growth present in naive
11767 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11768 eval 'as_fn_append ()
11779 # as_fn_arith ARG...
11780 # ------------------
11781 # Perform arithmetic evaluation on the ARGs, and store the result in the
11782 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11783 # must be portable across $(()) and expr.
11784 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11785 eval 'as_fn_arith ()
11792 as_val
=`expr "$@" || test $? -eq 1`
11797 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11798 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11804 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11805 as_basename
=basename
11810 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11816 as_me
=`$as_basename -- "$0" ||
11817 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11818 X"$0" : 'X\(//\)$' \| \
11819 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11821 sed '/^.*\/\([^/][^/]*\)\/*$/{
11835 # Avoid depending upon Character Ranges.
11836 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11837 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11838 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11839 as_cr_digits
='0123456789'
11840 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11842 ECHO_C
= ECHO_N
= ECHO_T
=
11843 case `echo -n x` in #(((((
11845 case `echo 'xy\c'` in
11846 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11848 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11855 rm -f conf$$ conf$$.exe conf$$.
file
11856 if test -d conf$$.dir
; then
11857 rm -f conf$$.dir
/conf$$.
file
11860 mkdir conf$$.dir
2>/dev
/null
11862 if (echo >conf$$.
file) 2>/dev
/null
; then
11863 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11865 # ... but there are two gotchas:
11866 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11867 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11868 # In both cases, we have to default to `cp -p'.
11869 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11871 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11879 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11880 rmdir conf$$.dir
2>/dev
/null
11885 # Create "$as_dir" as a directory, including parents if necessary.
11890 -*) as_dir
=.
/$as_dir;;
11892 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11896 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11897 *) as_qdir
=$as_dir;;
11899 as_dirs
="'$as_qdir' $as_dirs"
11900 as_dir
=`$as_dirname -- "$as_dir" ||
11901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11902 X"$as_dir" : 'X\(//\)[^/]' \| \
11903 X"$as_dir" : 'X\(//\)$' \| \
11904 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11905 $as_echo X"$as_dir" |
11906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11910 /^X\(\/\/\)[^/].*/{
11923 test -d "$as_dir" && break
11925 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11926 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11930 if mkdir
-p .
2>/dev
/null
; then
11931 as_mkdir_p
='mkdir -p "$as_dir"'
11933 test -d .
/-p && rmdir .
/-p
11937 if test -x / >/dev
/null
2>&1; then
11938 as_test_x
='test -x'
11940 if ls -dL / >/dev
/null
2>&1; then
11947 if test -d "$1"; then
11953 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11954 ???[sx]*):;;*)false;;esac;fi
11958 as_executable_p
=$as_test_x
11960 # Sed expression to map a string onto a valid CPP name.
11961 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11963 # Sed expression to map a string onto a valid variable name.
11964 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11968 ## ----------------------------------- ##
11969 ## Main body of $CONFIG_STATUS script. ##
11970 ## ----------------------------------- ##
11972 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11975 # Save the log message, to keep $0 and so on meaningful, and to
11976 # report actual input values of CONFIG_FILES etc. instead of their
11977 # values after options handling.
11979 This file was extended by libmudflap $as_me 1.0, which was
11980 generated by GNU Autoconf 2.64. Invocation command line was
11982 CONFIG_FILES = $CONFIG_FILES
11983 CONFIG_HEADERS = $CONFIG_HEADERS
11984 CONFIG_LINKS = $CONFIG_LINKS
11985 CONFIG_COMMANDS = $CONFIG_COMMANDS
11988 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11993 case $ac_config_files in *"
11994 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11997 case $ac_config_headers in *"
11998 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12003 # Files that config.status was made for.
12004 config_files="$ac_config_files"
12005 config_headers="$ac_config_headers"
12006 config_commands="$ac_config_commands"
12010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12012 \`$as_me' instantiates files and other configuration actions
12013 from templates according to the current configuration. Unless the files
12014 and actions are specified as TAGs, all are instantiated by default.
12016 Usage: $0 [OPTION]... [TAG]...
12018 -h, --help print this help, then exit
12019 -V, --version print version number and configuration settings, then exit
12020 -q, --quiet, --silent
12021 do not print progress messages
12022 -d, --debug don't remove temporary files
12023 --recheck update $as_me by reconfiguring in the same conditions
12024 --file=FILE[:TEMPLATE]
12025 instantiate the configuration file FILE
12026 --header=FILE[:TEMPLATE]
12027 instantiate the configuration header FILE
12029 Configuration files:
12032 Configuration headers:
12035 Configuration commands:
12038 Report bugs to the package provider."
12041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12043 libmudflap config.status 1.0
12044 configured by $0, generated by GNU Autoconf 2.64,
12045 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12047 Copyright (C) 2009 Free Software Foundation, Inc.
12048 This config.status script is free software; the Free Software Foundation
12049 gives unlimited permission to copy, distribute and modify it."
12056 test -n "\$AWK" || AWK=awk
12059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12060 # The default lists apply if the user does not specify any file.
12066 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12067 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12078 # Handling of the options.
12079 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12081 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12082 $as_echo "$ac_cs_version"; exit ;;
12083 --debug |
--debu |
--deb |
--de |
--d |
-d )
12085 --file |
--fil |
--fi |
--f )
12088 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12090 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12091 ac_need_defaults
=false
;;
12092 --header |
--heade |
--head |
--hea )
12095 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12097 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12098 ac_need_defaults
=false
;;
12100 # Conflict between --help and --header
12101 as_fn_error
"ambiguous option: \`$1'
12102 Try \`$0 --help' for more information.";;
12103 --help |
--hel |
-h )
12104 $as_echo "$ac_cs_usage"; exit ;;
12105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12106 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12109 # This is an error.
12110 -*) as_fn_error
"unrecognized option: \`$1'
12111 Try \`$0 --help' for more information." ;;
12113 *) as_fn_append ac_config_targets
" $1"
12114 ac_need_defaults
=false
;;
12120 ac_configure_extra_args
=
12122 if $ac_cs_silent; then
12124 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12129 if \$ac_cs_recheck; then
12130 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12132 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12133 CONFIG_SHELL='$SHELL'
12134 export CONFIG_SHELL
12139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12143 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12144 ## Running $as_me. ##
12150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12158 with_multisubdir="$with_multisubdir"
12159 with_multisrctop="$with_multisrctop"
12160 with_target_subdir="$with_target_subdir"
12161 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12162 multi_basedir="$multi_basedir"
12163 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12166 GFORTRAN="$GFORTRAN"
12168 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12171 # The HP-UX ksh and POSIX shell print the target directory to stdout
12172 # if CDPATH is set.
12173 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12175 sed_quote_subst='$sed_quote_subst'
12176 double_quote_subst='$double_quote_subst'
12177 delay_variable_subst='$delay_variable_subst'
12178 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12179 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12180 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12181 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12182 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12183 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12184 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12185 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12186 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12187 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12188 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12189 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12190 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12191 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12192 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12193 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12194 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12195 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12196 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12197 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12198 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12199 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12200 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12201 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12202 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12203 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12204 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12205 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12206 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12207 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12208 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12209 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12210 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12211 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12212 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12213 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12214 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12215 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12216 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12217 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12218 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12219 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12220 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12221 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12222 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"`'
12223 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"`'
12224 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12225 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12226 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12227 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12228 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12229 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12230 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12231 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12232 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12233 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12234 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12235 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12236 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12237 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12238 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12239 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12240 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12241 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12242 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12243 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12244 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12245 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12246 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12247 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12248 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12249 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12250 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12251 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12252 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12253 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12254 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12255 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12256 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12257 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12258 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12259 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12260 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12261 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12262 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12263 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12264 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12265 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12266 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12267 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12268 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12269 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12270 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12271 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12272 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12273 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12274 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12275 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12276 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12277 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12278 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12279 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12280 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12281 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12282 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12283 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12284 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12285 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12286 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12287 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12288 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12289 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12290 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12291 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12292 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12293 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12294 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12295 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12298 LTCFLAGS='$LTCFLAGS'
12299 compiler='$compiler_DEFAULT'
12301 # Quote evaled strings.
12313 deplibs_check_method \
12322 lt_cv_sys_global_symbol_pipe \
12323 lt_cv_sys_global_symbol_to_cdecl \
12324 lt_cv_sys_global_symbol_to_c_name_address \
12325 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12328 lt_prog_compiler_no_builtin_flag \
12329 lt_prog_compiler_wl \
12330 lt_prog_compiler_pic \
12331 lt_prog_compiler_static \
12332 lt_cv_prog_compiler_c_o \
12340 export_dynamic_flag_spec \
12341 whole_archive_flag_spec \
12342 compiler_needs_object \
12344 allow_undefined_flag \
12345 no_undefined_flag \
12346 hardcode_libdir_flag_spec \
12347 hardcode_libdir_flag_spec_ld \
12348 hardcode_libdir_separator \
12353 variables_saved_for_relink \
12355 library_names_spec \
12360 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12361 *[\\\\\\\`\\"\\\$]*)
12362 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12365 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12370 # Double-quote double-evaled strings.
12371 for var in reload_cmds \
12372 old_postinstall_cmds \
12373 old_postuninstall_cmds \
12375 extract_expsyms_cmds \
12376 old_archive_from_new_cmds \
12377 old_archive_from_expsyms_cmds \
12379 archive_expsym_cmds \
12381 module_expsym_cmds \
12382 export_symbols_cmds \
12385 postuninstall_cmds \
12387 sys_lib_search_path_spec \
12388 sys_lib_dlsearch_path_spec; do
12389 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12390 *[\\\\\\\`\\"\\\$]*)
12391 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12394 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12399 # Fix-up fallback echo if it was mangled by the above quoting rules.
12401 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12405 ac_aux_dir='$ac_aux_dir'
12406 xsi_shell='$xsi_shell'
12407 lt_shell_append='$lt_shell_append'
12409 # See if we are running on zsh, and set the options which allow our
12410 # commands through without removal of \ escapes INIT.
12411 if test -n "\${ZSH_VERSION+set}" ; then
12412 setopt NO_GLOB_SUBST
12418 TIMESTAMP='$TIMESTAMP'
12427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12429 # Handling of arguments.
12430 for ac_config_target
in $ac_config_targets
12432 case $ac_config_target in
12433 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12434 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12435 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12436 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12437 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12438 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
12439 "testsuite/mfconfig.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
12441 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12446 # If the user did not use the arguments to specify the items to instantiate,
12447 # then the envvar interface is used. Set only those that are not.
12448 # We use the long form for the default assignment because of an extremely
12449 # bizarre bug on SunOS 4.1.3.
12450 if $ac_need_defaults; then
12451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12453 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12456 # Have a temporary directory for convenience. Make it in the build tree
12457 # simply because there is no reason against having it here, and in addition,
12458 # creating and moving files from /tmp can sometimes cause problems.
12459 # Hook for its removal unless debugging.
12460 # Note that there is a small window in which the directory will not be cleaned:
12461 # after its creation but before its name has been assigned to `$tmp'.
12465 trap 'exit_status=$?
12466 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12468 trap 'as_fn_exit 1' 1 2 13 15
12470 # Create a (secure) tmp directory for tmp files.
12473 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12474 test -n "$tmp" && test -d "$tmp"
12477 tmp
=.
/conf$$
-$RANDOM
12478 (umask 077 && mkdir
"$tmp")
12479 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12481 # Set up the scripts for CONFIG_FILES section.
12482 # No need to generate them if there are no CONFIG_FILES.
12483 # This happens for instance with `./config.status config.h'.
12484 if test -n "$CONFIG_FILES"; then
12487 ac_cr
=`echo X | tr X '\015'`
12488 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12489 # But we know of no other shell where ac_cr would be empty at this
12490 # point, so we can use a bashism as a fallback.
12491 if test "x$ac_cr" = x
; then
12492 eval ac_cr
=\$
\'\\r
\'
12494 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12495 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12498 ac_cs_awk_cr
=$ac_cr
12501 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12506 echo "cat >conf$$subs.awk <<_ACEOF" &&
12507 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12509 } >conf$$subs.sh ||
12510 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12511 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12513 for ac_last_try in false false false false false :; do
12514 . ./conf$$subs.sh ||
12515 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12517 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12518 if test $ac_delim_n = $ac_delim_num; then
12520 elif $ac_last_try; then
12521 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12523 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12526 rm -f conf$$subs.sh
12528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12529 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12533 s/^/S["/; s
/!.
*/"]=/
12543 s/\(.\{148\}\).*/\1/
12545 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12550 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12557 s/\(.\{148\}\).*/\1/
12559 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12563 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12568 ' <conf$$subs.awk | sed '
12573 ' >>$CONFIG_STATUS || ac_write_fail=1
12574 rm -f conf$$subs.awk
12575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12577 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12578 for (key in S) S_is_set[key] = 1
12584 nfields = split(line, field, "@
")
12586 len = length(field[1])
12587 for (i = 2; i < nfields; i++) {
12589 keylen = length(key)
12590 if (S_is_set[key]) {
12592 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12593 len += length(value) + length(field[++i])
12604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12605 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12606 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12609 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12610 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12615 # trailing colons and then remove the whole line if VPATH becomes empty
12616 # (actually we leave an empty line to preserve line numbers).
12617 if test "x
$srcdir" = x.; then
12618 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12619 s/:*\$(srcdir):*/:/
12620 s/:*\${srcdir}:*/:/
12622 s/^\([^=]*=[ ]*\):*/\1/
12628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12629 fi # test -n "$CONFIG_FILES"
12631 # Set up the scripts for CONFIG_HEADERS section.
12632 # No need to generate them if there are no CONFIG_HEADERS.
12633 # This happens for instance with `./config.status Makefile'.
12634 if test -n "$CONFIG_HEADERS"; then
12635 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12639 # Transform confdefs.h into an awk script `defines.awk', embedded as
12640 # here-document in config.status, that substitutes the proper values into
12641 # config.h.in to produce config.h.
12643 # Create a delimiter string that does not exist in confdefs.h, to ease
12644 # handling of long lines.
12646 for ac_last_try in false false :; do
12647 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12648 if test -z "$ac_t"; then
12650 elif $ac_last_try; then
12651 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12653 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12657 # For the awk script, D is an array of macro values keyed by name,
12658 # likewise P contains macro parameters if any. Preserve backslash
12659 # newline sequences.
12661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12663 s/.\{148\}/&'"$ac_delim"'/g
12666 s/^[ ]*#[ ]*define[ ][ ]*/ /
12673 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12675 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12680 D["\
1"]=" \
3\\\\\\n
"\\/p
12682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12687 s/.\{148\}/&'"$ac_delim"'/g
12692 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12695 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12697 ' <confdefs.h | sed '
12698 s/'"$ac_delim"'/"\\\
12699 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12702 for (key in D) D_is_set[key] = 1
12705 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12707 split(line, arg, " ")
12708 if (arg[1] == "#") {
12712 defundef
= substr
(arg
[1], 2)
12715 split(mac1
, mac2
, "(") #)
12717 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12718 if (D_is_set
[macro
]) {
12719 # Preserve the white space surrounding the "#".
12720 print prefix
"define", macro P
[macro
] D
[macro
]
12723 # Replace #undef with comments. This is necessary, for example,
12724 # in the case of _POSIX_SOURCE, which is predefined and required
12725 # on some systems where configure will not decide to define it.
12726 if (defundef
== "undef") {
12727 print
"/*", prefix defundef
, macro
, "*/"
12735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12736 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12737 fi # test -n "$CONFIG_HEADERS"
12740 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12745 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12747 case $ac_mode$ac_tag in
12749 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12750 :[FH
]-) ac_tag
=-:-;;
12751 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12768 -) ac_f
="$tmp/stdin";;
12769 *) # Look for the file first in the build tree, then in the source tree
12770 # (if the path is not absolute). The absolute path cannot be DOS-style,
12771 # because $ac_f cannot contain `:'.
12775 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12777 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12779 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12780 as_fn_append ac_file_inputs
" '$ac_f'"
12783 # Let's still pretend it is `configure' which instantiates (i.e., don't
12784 # use $as_me), people would be surprised to read:
12785 # /* config.h. Generated by config.status. */
12786 configure_input
='Generated from '`
12787 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12789 if test x
"$ac_file" != x-
; then
12790 configure_input
="$ac_file. $configure_input"
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12792 $as_echo "$as_me: creating $ac_file" >&6;}
12794 # Neutralize special characters interpreted by sed in replacement strings.
12795 case $configure_input in #(
12796 *\
&* |
*\|
* |
*\\* )
12797 ac_sed_conf_input
=`$as_echo "$configure_input" |
12798 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12799 *) ac_sed_conf_input
=$configure_input;;
12803 *:-:* |
*:-) cat >"$tmp/stdin" \
12804 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12809 ac_dir
=`$as_dirname -- "$ac_file" ||
12810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12811 X"$ac_file" : 'X\(//\)[^/]' \| \
12812 X"$ac_file" : 'X\(//\)$' \| \
12813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12814 $as_echo X"$ac_file" |
12815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12819 /^X\(\/\/\)[^/].*/{
12832 as_dir
="$ac_dir"; as_fn_mkdir_p
12836 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12838 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12839 # A ".." for each directory in $ac_dir_suffix.
12840 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12841 case $ac_top_builddir_sub in
12842 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12843 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12846 ac_abs_top_builddir
=$ac_pwd
12847 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12848 # for backward compatibility:
12849 ac_top_builddir
=$ac_top_build_prefix
12852 .
) # We are building in place.
12854 ac_top_srcdir
=$ac_top_builddir_sub
12855 ac_abs_top_srcdir
=$ac_pwd ;;
12856 [\\/]* | ?
:[\\/]* ) # Absolute name.
12857 ac_srcdir
=$srcdir$ac_dir_suffix;
12858 ac_top_srcdir
=$srcdir
12859 ac_abs_top_srcdir
=$srcdir ;;
12860 *) # Relative name.
12861 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12862 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12863 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12865 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12875 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12876 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12878 ac_MKDIR_P
=$MKDIR_P
12880 [\\/$
]* | ?
:[\\/]* ) ;;
12881 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12886 # If the template does not know about datarootdir, expand it.
12887 # FIXME: This hack should be removed a few years after 2.60.
12888 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12899 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12900 *datarootdir
*) ac_datarootdir_seen
=yes;;
12901 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12903 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12906 ac_datarootdir_hack='
12907 s&@datadir@&$datadir&g
12908 s&@docdir@&$docdir&g
12909 s&@infodir@&$infodir&g
12910 s&@localedir@&$localedir&g
12911 s&@mandir@&$mandir&g
12912 s&\\\${datarootdir}&$datarootdir&g' ;;
12916 # Neutralize VPATH when `$srcdir' = `.'.
12917 # Shell code in configure.ac might set extrasub.
12918 # FIXME: do we really want to maintain this feature?
12919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12920 ac_sed_extra="$ac_vpsub
12923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12925 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12926 s|@configure_input@|
$ac_sed_conf_input|
;t t
12927 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12928 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12929 s
&@srcdir@
&$ac_srcdir&;t t
12930 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12931 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12932 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12933 s
&@builddir@
&$ac_builddir&;t t
12934 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12935 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12936 s
&@INSTALL@
&$ac_INSTALL&;t t
12937 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12938 $ac_datarootdir_hack
12940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12941 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12944 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12947 which seems to be undefined. Please make sure it is defined." >&5
12948 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12949 which seems to be undefined. Please make sure it is defined." >&2;}
12953 -) cat "$tmp/out" && rm -f "$tmp/out";;
12954 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12956 || as_fn_error "could not create $ac_file" "$LINENO" 5
12962 if test x"$ac_file" != x-; then
12964 $as_echo "/* $configure_input */" \
12965 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12966 } >"$tmp/config.h" \
12967 || as_fn_error "could not create $ac_file" "$LINENO" 5
12968 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12970 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12973 mv "$tmp/config.h" "$ac_file" \
12974 || as_fn_error "could not create $ac_file" "$LINENO" 5
12977 $as_echo "/* $configure_input */" \
12978 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12979 || as_fn_error "could not create -" "$LINENO" 5
12981 # Compute "$ac_file"'s index
in $config_headers.
12984 for _am_header
in $config_headers :; do
12985 case $_am_header in
12986 $_am_arg |
$_am_arg:* )
12989 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12992 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12993 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12994 X"$_am_arg" : 'X\(//\)[^/]' \| \
12995 X"$_am_arg" : 'X\(//\)$' \| \
12996 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12997 $as_echo X"$_am_arg" |
12998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13002 /^X\(\/\/\)[^/].*/{
13014 s/.*/./; q'`/stamp-h
$_am_stamp_count
13017 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13018 $as_echo "$as_me: executing $ac_file commands" >&6;}
13023 case $ac_file$ac_mode in
13025 # Only add multilib support code if we just rebuilt the top-level
13027 case " $CONFIG_FILES " in
13029 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
13032 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13033 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13034 # are listed without --file. Let's play safe and only enable the eval
13035 # if we detect the quoting.
13036 case $CONFIG_FILES in
13037 *\'*) eval set x
"$CONFIG_FILES" ;;
13038 *) set x
$CONFIG_FILES ;;
13043 # Strip MF so we end up with the name of the file.
13044 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13045 # Check whether this is an Automake generated Makefile or not.
13046 # We used to match only the files named `Makefile.in', but
13047 # some people rename them; so instead we look at the file content.
13048 # Grep'ing the first line is not enough: some people post-process
13049 # each Makefile.in and add a new line on top of each file to say so.
13050 # Grep'ing the whole file is not good either: AIX grep has a line
13051 # limit of 2048, but all sed's we know have understand at least 4000.
13052 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13053 dirpart
=`$as_dirname -- "$mf" ||
13054 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13055 X"$mf" : 'X\(//\)[^/]' \| \
13056 X"$mf" : 'X\(//\)$' \| \
13057 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13063 /^X\(\/\/\)[^/].*/{
13079 # Extract the definition of DEPDIR, am__include, and am__quote
13080 # from the Makefile without running `make'.
13081 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13082 test -z "$DEPDIR" && continue
13083 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13084 test -z "am__include" && continue
13085 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13086 # When using ansi2knr, U may be empty or an underscore; expand it
13087 U
=`sed -n 's/^U = //p' < "$mf"`
13088 # Find all dependency output files, they are included files with
13089 # $(DEPDIR) in their names. We invoke sed twice because it is the
13090 # simplest approach to changing $(DEPDIR) to its actual value in the
13092 for file in `sed -n "
13093 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13094 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13095 # Make sure the directory exists.
13096 test -f "$dirpart/$file" && continue
13097 fdir
=`$as_dirname -- "$file" ||
13098 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13099 X"$file" : 'X\(//\)[^/]' \| \
13100 X"$file" : 'X\(//\)$' \| \
13101 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13102 $as_echo X"$file" |
13103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13107 /^X\(\/\/\)[^/].*/{
13120 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13121 # echo "creating $dirpart/$file"
13122 echo '# dummy' > "$dirpart/$file"
13129 # See if we are running on zsh, and set the options which allow our
13130 # commands through without removal of \ escapes.
13131 if test -n "${ZSH_VERSION+set}" ; then
13132 setopt NO_GLOB_SUBST
13135 cfgfile
="${ofile}T"
13136 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13139 cat <<_LT_EOF >> "$cfgfile"
13142 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13143 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13144 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13145 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13147 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13148 # 2006, 2007, 2008 Free Software Foundation, Inc.
13149 # Written by Gordon Matzigkeit, 1996
13151 # This file is part of GNU Libtool.
13153 # GNU Libtool is free software; you can redistribute it and/or
13154 # modify it under the terms of the GNU General Public License as
13155 # published by the Free Software Foundation; either version 2 of
13156 # the License, or (at your option) any later version.
13158 # As a special exception to the GNU General Public License,
13159 # if you distribute this file as part of a program or library that
13160 # is built using GNU Libtool, you may include this file under the
13161 # same distribution terms that you use for the rest of that program.
13163 # GNU Libtool is distributed in the hope that it will be useful,
13164 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13165 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13166 # GNU General Public License for more details.
13168 # You should have received a copy of the GNU General Public License
13169 # along with GNU Libtool; see the file COPYING. If not, a copy
13170 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13171 # obtained by writing to the Free Software Foundation, Inc.,
13172 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13175 # The names of the tagged configurations supported by this script.
13178 # ### BEGIN LIBTOOL CONFIG
13180 # Which release of libtool.m4 was used?
13181 macro_version=$macro_version
13182 macro_revision=$macro_revision
13184 # Whether or not to build shared libraries.
13185 build_libtool_libs=$enable_shared
13187 # Whether or not to build static libraries.
13188 build_old_libs=$enable_static
13190 # What type of objects to build.
13193 # Whether or not to optimize for fast installation.
13194 fast_install=$enable_fast_install
13197 host_alias=$host_alias
13201 # The build system.
13202 build_alias=$build_alias
13206 # A sed program that does not truncate output.
13209 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13210 Xsed="\$SED -e 1s/^X//"
13212 # A grep program that handles long lines.
13218 # A literal string matcher.
13221 # A BSD- or MS-compatible name lister.
13224 # Whether we need soft or hard links.
13227 # What is the maximum length of a command?
13228 max_cmd_len=$max_cmd_len
13230 # Object file suffix (normally "o").
13233 # Executable file suffix (normally "").
13236 # whether the shell understands "unset".
13239 # turn spaces into newlines.
13242 # turn newlines into spaces.
13245 # How to create reloadable object files.
13246 reload_flag=$lt_reload_flag
13247 reload_cmds=$lt_reload_cmds
13249 # An object symbol dumper.
13250 OBJDUMP=$lt_OBJDUMP
13252 # Method to check whether dependent libraries are shared objects.
13253 deplibs_check_method=$lt_deplibs_check_method
13255 # Command to use when deplibs_check_method == "file_magic".
13256 file_magic_cmd=$lt_file_magic_cmd
13260 AR_FLAGS=$lt_AR_FLAGS
13262 # A symbol stripping program.
13265 # Commands used to install an old-style archive.
13267 old_postinstall_cmds=$lt_old_postinstall_cmds
13268 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13273 # LTCC compiler flags.
13274 LTCFLAGS=$lt_CFLAGS
13276 # Take the output of nm and produce a listing of raw symbols and C names.
13277 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13279 # Transform the output of nm in a proper C declaration.
13280 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13282 # Transform the output of nm in a C name address pair.
13283 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13285 # Transform the output of nm in a C name address pair when lib prefix is needed.
13286 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13288 # The name of the directory that contains temporary libtool files.
13291 # Shell to use when invoking shell scripts.
13294 # An echo program that does not interpret backslashes.
13297 # Used to examine libraries when file_magic_cmd begins with "file".
13298 MAGIC_CMD=$MAGIC_CMD
13300 # Must we lock files when doing compilation?
13301 need_locks=$lt_need_locks
13303 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13304 DSYMUTIL=$lt_DSYMUTIL
13306 # Tool to change global to local symbols on Mac OS X.
13309 # Tool to manipulate fat objects and archives on Mac OS X.
13312 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13315 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13316 OTOOL64=$lt_OTOOL64
13318 # Old archive suffix (normally "a").
13321 # Shared library suffix (normally ".so").
13322 shrext_cmds=$lt_shrext_cmds
13324 # The commands to extract the exported symbol list from a shared archive.
13325 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13327 # Variables whose values should be saved in libtool wrapper scripts and
13328 # restored at link time.
13329 variables_saved_for_relink=$lt_variables_saved_for_relink
13331 # Do we need the "lib" prefix for modules?
13332 need_lib_prefix=$need_lib_prefix
13334 # Do we need a version for libraries?
13335 need_version=$need_version
13337 # Library versioning type.
13338 version_type=$version_type
13340 # Shared library runtime path variable.
13341 runpath_var=$runpath_var
13343 # Shared library path variable.
13344 shlibpath_var=$shlibpath_var
13346 # Is shlibpath searched before the hard-coded library search path?
13347 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13349 # Format of library name prefix.
13350 libname_spec=$lt_libname_spec
13352 # List of archive names. First name is the real one, the rest are links.
13353 # The last name is the one that the linker finds with -lNAME
13354 library_names_spec=$lt_library_names_spec
13356 # The coded name of the library, if different from the real name.
13357 soname_spec=$lt_soname_spec
13359 # Command to use after installation of a shared archive.
13360 postinstall_cmds=$lt_postinstall_cmds
13362 # Command to use after uninstallation of a shared archive.
13363 postuninstall_cmds=$lt_postuninstall_cmds
13365 # Commands used to finish a libtool library installation in a directory.
13366 finish_cmds=$lt_finish_cmds
13368 # As "finish_cmds", except a single script fragment to be evaled but
13370 finish_eval=$lt_finish_eval
13372 # Whether we should hardcode library paths into libraries.
13373 hardcode_into_libs=$hardcode_into_libs
13375 # Compile-time system search path for libraries.
13376 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13378 # Run-time system search path for libraries.
13379 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13381 # Whether dlopen is supported.
13382 dlopen_support=$enable_dlopen
13384 # Whether dlopen of programs is supported.
13385 dlopen_self=$enable_dlopen_self
13387 # Whether dlopen of statically linked programs is supported.
13388 dlopen_self_static=$enable_dlopen_self_static
13390 # Commands to strip libraries.
13391 old_striplib=$lt_old_striplib
13392 striplib=$lt_striplib
13395 # The linker used to build libraries.
13398 # Commands used to build an old-style archive.
13399 old_archive_cmds=$lt_old_archive_cmds
13401 # A language specific compiler.
13404 # Is the compiler the GNU compiler?
13407 # Compiler flag to turn off builtin functions.
13408 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13410 # How to pass a linker flag through the compiler.
13411 wl=$lt_lt_prog_compiler_wl
13413 # Additional compiler flags for building library objects.
13414 pic_flag=$lt_lt_prog_compiler_pic
13416 # Compiler flag to prevent dynamic linking.
13417 link_static_flag=$lt_lt_prog_compiler_static
13419 # Does compiler simultaneously support -c and -o options?
13420 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13422 # Whether or not to add -lc for building shared libraries.
13423 build_libtool_need_lc=$archive_cmds_need_lc
13425 # Whether or not to disallow shared libs when runtime libs are static.
13426 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13428 # Compiler flag to allow reflexive dlopens.
13429 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13431 # Compiler flag to generate shared objects directly from archives.
13432 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13434 # Whether the compiler copes with passing no objects directly.
13435 compiler_needs_object=$lt_compiler_needs_object
13437 # Create an old-style archive from a shared archive.
13438 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13440 # Create a temporary old-style archive to link instead of a shared archive.
13441 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13443 # Commands used to build a shared archive.
13444 archive_cmds=$lt_archive_cmds
13445 archive_expsym_cmds=$lt_archive_expsym_cmds
13447 # Commands used to build a loadable module if different from building
13448 # a shared archive.
13449 module_cmds=$lt_module_cmds
13450 module_expsym_cmds=$lt_module_expsym_cmds
13452 # Whether we are building with GNU ld or not.
13453 with_gnu_ld=$lt_with_gnu_ld
13455 # Flag that allows shared libraries with undefined symbols to be built.
13456 allow_undefined_flag=$lt_allow_undefined_flag
13458 # Flag that enforces no undefined symbols.
13459 no_undefined_flag=$lt_no_undefined_flag
13461 # Flag to hardcode \$libdir into a binary during linking.
13462 # This must work even if \$libdir does not exist
13463 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13465 # If ld is used when linking, flag to hardcode \$libdir into a binary
13466 # during linking. This must work even if \$libdir does not exist.
13467 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13469 # Whether we need a single "-rpath" flag with a separated argument.
13470 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13472 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13473 # DIR into the resulting binary.
13474 hardcode_direct=$hardcode_direct
13476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13477 # DIR into the resulting binary and the resulting library dependency is
13478 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13479 # library is relocated.
13480 hardcode_direct_absolute=$hardcode_direct_absolute
13482 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13483 # into the resulting binary.
13484 hardcode_minus_L=$hardcode_minus_L
13486 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13487 # into the resulting binary.
13488 hardcode_shlibpath_var=$hardcode_shlibpath_var
13490 # Set to "yes" if building a shared library automatically hardcodes DIR
13491 # into the library and all subsequent libraries and executables linked
13493 hardcode_automatic=$hardcode_automatic
13495 # Set to yes if linker adds runtime paths of dependent libraries
13496 # to runtime path list.
13497 inherit_rpath=$inherit_rpath
13499 # Whether libtool must link a program against all its dependency libraries.
13500 link_all_deplibs=$link_all_deplibs
13502 # Fix the shell variable \$srcfile for the compiler.
13503 fix_srcfile_path=$lt_fix_srcfile_path
13505 # Set to "yes" if exported symbols are required.
13506 always_export_symbols=$always_export_symbols
13508 # The commands to list exported symbols.
13509 export_symbols_cmds=$lt_export_symbols_cmds
13511 # Symbols that should not be listed in the preloaded symbols.
13512 exclude_expsyms=$lt_exclude_expsyms
13514 # Symbols that must always be exported.
13515 include_expsyms=$lt_include_expsyms
13517 # Commands necessary for linking programs (against libraries) with templates.
13518 prelink_cmds=$lt_prelink_cmds
13520 # Specify filename containing input files.
13521 file_list_spec=$lt_file_list_spec
13523 # How to hardcode a shared library path into an executable.
13524 hardcode_action=$hardcode_action
13526 # ### END LIBTOOL CONFIG
13532 cat <<\_LT_EOF
>> "$cfgfile"
13533 # AIX sometimes has problems with the GCC collect2 program. For some
13534 # reason, if we set the COLLECT_NAMES environment variable, the problems
13535 # vanish in a puff of smoke.
13536 if test "X${COLLECT_NAMES+set}" != Xset
; then
13538 export COLLECT_NAMES
13545 ltmain
="$ac_aux_dir/ltmain.sh"
13548 # We use sed instead of cat because bash on DJGPP gets confused if
13549 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13550 # text mode, it properly converts lines to CR/LF. This bash problem
13551 # is reportedly fixed, but why not run on old versions too?
13552 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13553 ||
(rm -f "$cfgfile"; exit 1)
13557 cat << \_LT_EOF
>> "$cfgfile"
13559 # func_dirname file append nondir_replacement
13560 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13561 # otherwise set result to NONDIR_REPLACEMENT.
13565 */*) func_dirname_result
="${1%/*}${2}" ;;
13566 * ) func_dirname_result
="${3}" ;;
13570 # func_basename file
13573 func_basename_result
="${1##*/}"
13576 # func_dirname_and_basename file append nondir_replacement
13577 # perform func_basename and func_dirname in a single function
13579 # dirname: Compute the dirname of FILE. If nonempty,
13580 # add APPEND to the result, otherwise set result
13581 # to NONDIR_REPLACEMENT.
13582 # value returned in "$func_dirname_result"
13583 # basename: Compute filename of FILE.
13584 # value retuned in "$func_basename_result"
13585 # Implementation must be kept synchronized with func_dirname
13586 # and func_basename. For efficiency, we do not delegate to
13587 # those functions but instead duplicate the functionality here.
13588 func_dirname_and_basename
()
13591 */*) func_dirname_result
="${1%/*}${2}" ;;
13592 * ) func_dirname_result
="${3}" ;;
13594 func_basename_result
="${1##*/}"
13597 # func_stripname prefix suffix name
13598 # strip PREFIX and SUFFIX off of NAME.
13599 # PREFIX and SUFFIX must not contain globbing or regex special
13600 # characters, hashes, percent signs, but SUFFIX may contain a leading
13601 # dot (in which case that matches only a dot).
13604 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13605 # positional parameters, so assign one to ordinary parameter first.
13606 func_stripname_result
=${3}
13607 func_stripname_result
=${func_stripname_result#"${1}"}
13608 func_stripname_result
=${func_stripname_result%"${2}"}
13614 func_opt_split_opt
=${1%%=*}
13615 func_opt_split_arg
=${1#*=}
13622 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
13623 *) func_lo2o_result
=${1} ;;
13627 # func_xform libobj-or-source
13630 func_xform_result
=${1%.*}.lo
13633 # func_arith arithmetic-term...
13636 func_arith_result
=$
(( $
* ))
13640 # STRING may not start with a hyphen.
13643 func_len_result
=${#1}
13648 *) # Bourne compatible functions.
13649 cat << \_LT_EOF
>> "$cfgfile"
13651 # func_dirname file append nondir_replacement
13652 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
13653 # otherwise set result to NONDIR_REPLACEMENT.
13656 # Extract subdirectory from the argument.
13657 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13658 if test "X$func_dirname_result" = "X${1}"; then
13659 func_dirname_result
="${3}"
13661 func_dirname_result
="$func_dirname_result${2}"
13665 # func_basename file
13668 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
13672 # func_stripname prefix suffix name
13673 # strip PREFIX and SUFFIX off of NAME.
13674 # PREFIX and SUFFIX must not contain globbing or regex special
13675 # characters, hashes, percent signs, but SUFFIX may contain a leading
13676 # dot (in which case that matches only a dot).
13677 # func_strip_suffix prefix name
13681 .
*) func_stripname_result
=`$ECHO "X${3}" \
13682 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13683 *) func_stripname_result
=`$ECHO "X${3}" \
13684 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13689 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
13690 my_sed_long_arg
='1s/^-[^=]*=//'
13695 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13696 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13702 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13705 # func_xform libobj-or-source
13708 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13711 # func_arith arithmetic-term...
13714 func_arith_result
=`expr "$@"`
13718 # STRING may not start with a hyphen.
13721 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13727 case $lt_shell_append in
13729 cat << \_LT_EOF
>> "$cfgfile"
13731 # func_append var value
13732 # Append VALUE to the end of shell variable VAR.
13740 cat << \_LT_EOF
>> "$cfgfile"
13742 # func_append var value
13743 # Append VALUE to the end of shell variable VAR.
13754 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13755 ||
(rm -f "$cfgfile"; exit 1)
13757 mv -f "$cfgfile" "$ofile" ||
13758 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13769 ac_clean_files
=$ac_clean_files_save
13771 test $ac_write_fail = 0 ||
13772 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
13775 # configure is writing to config.log, and then calls config.status.
13776 # config.status does its own redirection, appending to config.log.
13777 # Unfortunately, on DOS this fails, as config.log is still kept open
13778 # by configure, so config.status won't be able to write to it; its
13779 # output is simply discarded. So we exec the FD to /dev/null,
13780 # effectively closing config.log, so it can be properly (re)opened and
13781 # appended to by config.status. When coming back to configure, we
13782 # need to make the FD available again.
13783 if test "$no_create" != yes; then
13785 ac_config_status_args
=
13786 test "$silent" = yes &&
13787 ac_config_status_args
="$ac_config_status_args --quiet"
13789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13792 # would make configure fail if this is the last instruction.
13793 $ac_cs_success || as_fn_exit $?
13795 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13797 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}