2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
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.
703 ac_unique_file
="gprof.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
749 MAINTAINER_MODE_FALSE
803 INSTALL_STRIP_PROGRAM
864 program_transform_name
877 enable_option_checking
878 enable_dependency_tracking
887 enable_maintainer_mode
889 enable_build_warnings
891 ac_precious_vars
='build_alias
902 # Initialize some variables set by options.
904 ac_init_version
=false
905 ac_unrecognized_opts
=
907 # The variables have the same names as the options, with
908 # dashes changed to underlines.
916 program_transform_name
=s
,x
,x
,
924 # Installation directory options.
925 # These are left unexpanded so users can "make install exec_prefix=/foo"
926 # and all the variables that are supposed to be based on exec_prefix
927 # by default will actually change.
928 # Use braces instead of parens because sh, perl, etc. also accept them.
929 # (The list follows the same order as the GNU Coding Standards.)
930 bindir
='${exec_prefix}/bin'
931 sbindir
='${exec_prefix}/sbin'
932 libexecdir
='${exec_prefix}/libexec'
933 datarootdir
='${prefix}/share'
934 datadir
='${datarootdir}'
935 sysconfdir
='${prefix}/etc'
936 sharedstatedir
='${prefix}/com'
937 localstatedir
='${prefix}/var'
938 includedir
='${prefix}/include'
939 oldincludedir
='/usr/include'
940 docdir
='${datarootdir}/doc/${PACKAGE}'
941 infodir
='${datarootdir}/info'
946 libdir
='${exec_prefix}/lib'
947 localedir
='${datarootdir}/locale'
948 mandir
='${datarootdir}/man'
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\
$ac_option
962 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
974 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
977 -build |
--build |
--buil |
--bui |
--bu)
978 ac_prev
=build_alias
;;
979 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
980 build_alias
=$ac_optarg ;;
982 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
983 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
984 ac_prev
=cache_file
;;
985 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
986 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
987 cache_file
=$ac_optarg ;;
990 cache_file
=config.cache
;;
992 -datadir |
--datadir |
--datadi |
--datad)
994 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
995 datadir
=$ac_optarg ;;
997 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
998 |
--dataroo |
--dataro |
--datar)
999 ac_prev
=datarootdir
;;
1000 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1001 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1002 datarootdir
=$ac_optarg ;;
1004 -disable-* |
--disable-*)
1005 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1008 as_fn_error
"invalid feature name: $ac_useropt"
1009 ac_useropt_orig
=$ac_useropt
1010 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1013 "enable_
$ac_useropt"
1015 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1016 ac_unrecognized_sep
=', ';;
1018 eval enable_
$ac_useropt=no
;;
1020 -docdir |
--docdir |
--docdi |
--doc |
--do)
1022 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1023 docdir
=$ac_optarg ;;
1025 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1027 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1028 dvidir
=$ac_optarg ;;
1030 -enable-* |
--enable-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error
"invalid feature name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1039 "enable_
$ac_useropt"
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval enable_
$ac_useropt=\
$ac_optarg ;;
1046 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1047 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1048 |
--exec |
--exe |
--ex)
1049 ac_prev
=exec_prefix
;;
1050 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1051 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1052 |
--exec=* |
--exe=* |
--ex=*)
1053 exec_prefix
=$ac_optarg ;;
1055 -gas |
--gas |
--ga |
--g)
1056 # Obsolete; use --with-gas.
1059 -help |
--help |
--hel |
--he |
-h)
1060 ac_init_help
=long
;;
1061 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1062 ac_init_help
=recursive
;;
1063 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1064 ac_init_help
=short
;;
1066 -host |
--host |
--hos |
--ho)
1067 ac_prev
=host_alias
;;
1068 -host=* |
--host=* |
--hos=* |
--ho=*)
1069 host_alias
=$ac_optarg ;;
1071 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1073 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1075 htmldir
=$ac_optarg ;;
1077 -includedir |
--includedir |
--includedi |
--included |
--include \
1078 |
--includ |
--inclu |
--incl |
--inc)
1079 ac_prev
=includedir
;;
1080 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1081 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1082 includedir
=$ac_optarg ;;
1084 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1086 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1087 infodir
=$ac_optarg ;;
1089 -libdir |
--libdir |
--libdi |
--libd)
1091 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1092 libdir
=$ac_optarg ;;
1094 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1095 |
--libexe |
--libex |
--libe)
1096 ac_prev
=libexecdir
;;
1097 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1098 |
--libexe=* |
--libex=* |
--libe=*)
1099 libexecdir
=$ac_optarg ;;
1101 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1102 ac_prev
=localedir
;;
1103 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1104 localedir
=$ac_optarg ;;
1106 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1107 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1108 ac_prev
=localstatedir
;;
1109 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1110 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1111 localstatedir
=$ac_optarg ;;
1113 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1115 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1116 mandir
=$ac_optarg ;;
1118 -nfp |
--nfp |
--nf)
1119 # Obsolete; use --without-fp.
1122 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1123 |
--no-cr |
--no-c |
-n)
1126 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1127 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1130 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1131 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1132 |
--oldin |
--oldi |
--old |
--ol |
--o)
1133 ac_prev
=oldincludedir
;;
1134 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1135 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1136 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1137 oldincludedir
=$ac_optarg ;;
1139 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1141 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1142 prefix
=$ac_optarg ;;
1144 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1145 |
--program-pre |
--program-pr |
--program-p)
1146 ac_prev
=program_prefix
;;
1147 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1148 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1149 program_prefix
=$ac_optarg ;;
1151 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1152 |
--program-suf |
--program-su |
--program-s)
1153 ac_prev
=program_suffix
;;
1154 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1155 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1156 program_suffix
=$ac_optarg ;;
1158 -program-transform-name |
--program-transform-name \
1159 |
--program-transform-nam |
--program-transform-na \
1160 |
--program-transform-n |
--program-transform- \
1161 |
--program-transform |
--program-transfor \
1162 |
--program-transfo |
--program-transf \
1163 |
--program-trans |
--program-tran \
1164 |
--progr-tra |
--program-tr |
--program-t)
1165 ac_prev
=program_transform_name
;;
1166 -program-transform-name=* |
--program-transform-name=* \
1167 |
--program-transform-nam=* |
--program-transform-na=* \
1168 |
--program-transform-n=* |
--program-transform-=* \
1169 |
--program-transform=* |
--program-transfor=* \
1170 |
--program-transfo=* |
--program-transf=* \
1171 |
--program-trans=* |
--program-tran=* \
1172 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1173 program_transform_name
=$ac_optarg ;;
1175 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1177 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1178 pdfdir
=$ac_optarg ;;
1180 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1182 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1185 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1186 |
-silent |
--silent |
--silen |
--sile |
--sil)
1189 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1191 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1193 sbindir
=$ac_optarg ;;
1195 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1196 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1197 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1199 ac_prev
=sharedstatedir
;;
1200 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1201 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1202 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1204 sharedstatedir
=$ac_optarg ;;
1206 -site |
--site |
--sit)
1208 -site=* |
--site=* |
--sit=*)
1211 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1213 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1214 srcdir
=$ac_optarg ;;
1216 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1217 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1218 ac_prev
=sysconfdir
;;
1219 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1220 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1221 sysconfdir
=$ac_optarg ;;
1223 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1224 ac_prev
=target_alias
;;
1225 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1226 target_alias
=$ac_optarg ;;
1228 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1231 -version |
--version |
--versio |
--versi |
--vers |
-V)
1232 ac_init_version
=: ;;
1235 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1238 as_fn_error
"invalid package name: $ac_useropt"
1239 ac_useropt_orig
=$ac_useropt
1240 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1246 ac_unrecognized_sep
=', ';;
1248 eval with_
$ac_useropt=\
$ac_optarg ;;
1250 -without-* |
--without-*)
1251 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252 # Reject names that are not valid shell variable names.
1253 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1254 as_fn_error
"invalid package name: $ac_useropt"
1255 ac_useropt_orig
=$ac_useropt
1256 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257 case $ac_user_opts in
1261 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1262 ac_unrecognized_sep
=', ';;
1264 eval with_
$ac_useropt=no
;;
1267 # Obsolete; use --with-x.
1270 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1271 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1272 ac_prev
=x_includes
;;
1273 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1274 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1275 x_includes
=$ac_optarg ;;
1277 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1278 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1279 ac_prev
=x_libraries
;;
1280 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1281 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1282 x_libraries
=$ac_optarg ;;
1284 -*) as_fn_error
"unrecognized option: \`$ac_option'
1285 Try \`$0 --help' for more information."
1289 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1290 # Reject names that are not valid shell variable names.
1291 case $ac_envvar in #(
1292 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1293 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1295 eval $ac_envvar=\
$ac_optarg
1296 export $ac_envvar ;;
1299 # FIXME: should be removed in autoconf 3.0.
1300 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1301 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1302 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1303 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1309 if test -n "$ac_prev"; then
1310 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1311 as_fn_error
"missing argument to $ac_option"
1314 if test -n "$ac_unrecognized_opts"; then
1315 case $enable_option_checking in
1317 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1318 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1322 # Check all directory arguments for consistency.
1323 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1324 datadir sysconfdir sharedstatedir localstatedir includedir \
1325 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1326 libdir localedir mandir
1328 eval ac_val
=\$
$ac_var
1329 # Remove trailing slashes.
1332 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1333 eval $ac_var=\
$ac_val;;
1335 # Be sure to have absolute directory names.
1337 [\\/$
]* | ?
:[\\/]* ) continue;;
1338 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1340 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1343 # There might be people who depend on the old broken behavior: `$host'
1344 # used to hold the argument of --host etc.
1345 # FIXME: To remove some day.
1348 target
=$target_alias
1350 # FIXME: To remove some day.
1351 if test "x$host_alias" != x
; then
1352 if test "x$build_alias" = x
; then
1353 cross_compiling
=maybe
1354 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1355 If a cross compiler is detected then cross compile mode will be used." >&2
1356 elif test "x$build_alias" != "x$host_alias"; then
1362 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1364 test "$silent" = yes && exec 6>/dev
/null
1367 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1368 ac_ls_di
=`ls -di .` &&
1369 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1370 as_fn_error
"working directory cannot be determined"
1371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1372 as_fn_error
"pwd does not report name of working directory"
1375 # Find the source files, if location was not specified.
1376 if test -z "$srcdir"; then
1377 ac_srcdir_defaulted
=yes
1378 # Try the directory containing this script, then the parent directory.
1379 ac_confdir
=`$as_dirname -- "$as_myself" ||
1380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1381 X"$as_myself" : 'X\(//\)[^/]' \| \
1382 X"$as_myself" : 'X\(//\)$' \| \
1383 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1384 $as_echo X"$as_myself" |
1385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1407 ac_srcdir_defaulted
=no
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1410 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1411 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1413 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 # When building in place, set srcdir=.
1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
1421 # Remove unnecessary trailing slashes from srcdir.
1422 # Double slashes in file names in object file debugging info
1423 # mess up M-x gdb in Emacs.
1425 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 for ac_var
in $ac_precious_vars; do
1428 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1429 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1430 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1431 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1435 # Report the --help message.
1437 if test "$ac_init_help" = "long"; then
1438 # Omit some internal or obsolete options to make the list less imposing.
1439 # This message is too long to be a string in the A/UX 3.1 sh.
1441 \`configure' configures this package to adapt to many kinds of systems.
1443 Usage: $0 [OPTION]... [VAR=VALUE]...
1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446 VAR=VALUE. See below for descriptions of some of the useful variables.
1448 Defaults for the options are specified in brackets.
1451 -h, --help display this help and exit
1452 --help=short display options specific to this package
1453 --help=recursive display the short help of all the included packages
1454 -V, --version display version information and exit
1455 -q, --quiet, --silent do not print \`checking...' messages
1456 --cache-file=FILE cache test results in FILE [disabled]
1457 -C, --config-cache alias for \`--cache-file=config.cache'
1458 -n, --no-create do not create output files
1459 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1461 Installation directories:
1462 --prefix=PREFIX install architecture-independent files in PREFIX
1463 [$ac_default_prefix]
1464 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1467 By default, \`make install' will install all the files in
1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470 for instance \`--prefix=\$HOME'.
1472 For better control, use the options below.
1474 Fine tuning of the installation directories:
1475 --bindir=DIR user executables [EPREFIX/bin]
1476 --sbindir=DIR system admin executables [EPREFIX/sbin]
1477 --libexecdir=DIR program executables [EPREFIX/libexec]
1478 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1479 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1480 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1481 --libdir=DIR object code libraries [EPREFIX/lib]
1482 --includedir=DIR C header files [PREFIX/include]
1483 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1484 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1485 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1486 --infodir=DIR info documentation [DATAROOTDIR/info]
1487 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1488 --mandir=DIR man documentation [DATAROOTDIR/man]
1489 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1490 --htmldir=DIR html documentation [DOCDIR]
1491 --dvidir=DIR dvi documentation [DOCDIR]
1492 --pdfdir=DIR pdf documentation [DOCDIR]
1493 --psdir=DIR ps documentation [DOCDIR]
1499 --program-prefix=PREFIX prepend PREFIX to installed program names
1500 --program-suffix=SUFFIX append SUFFIX to installed program names
1501 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1504 --build=BUILD configure
for building on BUILD
[guessed
]
1505 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1506 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1510 if test -n "$ac_init_help"; then
1515 --disable-option-checking ignore unrecognized
--enable/--with options
1516 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1517 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1518 --disable-dependency-tracking speeds up one-time build
1519 --enable-dependency-tracking do not reject slow dependency extractors
1520 --disable-largefile omit support
for large files
1521 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1522 --enable-static[=PKGS
] build static libraries
[default
=yes]
1523 --enable-fast-install[=PKGS
]
1524 optimize
for fast installation
[default
=yes]
1525 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1526 --disable-nls do not use Native Language Support
1527 --enable-maintainer-mode enable make rules and dependencies not useful
1528 (and sometimes confusing
) to the casual installer
1529 --enable-werror treat compile warnings as errors
1530 --enable-build-warnings enable build-time compiler warnings
1533 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1534 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1535 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1537 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1539 Some influential environment variables
:
1540 CC C compiler
command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1543 nonstandard directory
<lib dir
>
1544 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1545 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1546 you have headers
in a nonstandard directory
<include dir
>
1549 Use these variables to override the choices made by
`configure' or to help
1550 it to find libraries and programs with nonstandard names/locations.
1552 Report bugs to the package provider.
1557 if test "$ac_init_help" = "recursive"; then
1558 # If there are subdirs, report their specific --help.
1559 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1560 test -d "$ac_dir" ||
1561 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1566 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1568 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1569 # A ".." for each directory in $ac_dir_suffix.
1570 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1571 case $ac_top_builddir_sub in
1572 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1573 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1576 ac_abs_top_builddir=$ac_pwd
1577 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1578 # for backward compatibility:
1579 ac_top_builddir=$ac_top_build_prefix
1582 .) # We are building in place.
1584 ac_top_srcdir=$ac_top_builddir_sub
1585 ac_abs_top_srcdir=$ac_pwd ;;
1586 [\\/]* | ?:[\\/]* ) # Absolute name.
1587 ac_srcdir=$srcdir$ac_dir_suffix;
1588 ac_top_srcdir=$srcdir
1589 ac_abs_top_srcdir=$srcdir ;;
1591 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1592 ac_top_srcdir=$ac_top_build_prefix$srcdir
1593 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1595 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1597 cd "$ac_dir" || { ac_status=$?; continue; }
1598 # Check for guested configure.
1599 if test -f "$ac_srcdir/configure.gnu"; then
1601 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1602 elif test -f "$ac_srcdir/configure"; then
1604 $SHELL "$ac_srcdir/configure" --help=recursive
1606 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1608 cd "$ac_pwd" || { ac_status=$?; break; }
1612 test -n "$ac_init_help" && exit $ac_status
1613 if $ac_init_version; then
1616 generated by GNU Autoconf 2.64
1618 Copyright (C) 2009 Free Software Foundation, Inc.
1619 This configure script is free software; the Free Software Foundation
1620 gives unlimited permission to copy, distribute and modify it.
1625 ## ------------------------ ##
1626 ## Autoconf initialization. ##
1627 ## ------------------------ ##
1629 # ac_fn_c_try_compile LINENO
1630 # --------------------------
1631 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1632 ac_fn_c_try_compile ()
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 rm -f conftest.$ac_objext
1636 if { { ac_try="$ac_compile"
1638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1639 *) ac_try_echo
=$ac_try;;
1641 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_compile") 2>conftest.err
1645 if test -s conftest.err
; then
1646 grep -v '^ *+' conftest.err
>conftest.er1
1647 cat conftest.er1
>&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && {
1652 test -z "$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1654 } && test -s conftest.
$ac_objext; then :
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.
$ac_ext >&5
1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1665 } # ac_fn_c_try_compile
1667 # ac_fn_c_try_link LINENO
1668 # -----------------------
1669 # Try to link conftest.$ac_ext, and return whether this succeeded.
1672 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1673 rm -f conftest.
$ac_objext conftest
$ac_exeext
1674 if { { ac_try
="$ac_link"
1676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_link") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest$ac_exeext && {
1693 test "$cross_compiling" = yes ||
1694 $as_test_x conftest$ac_exeext
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1703 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1704 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1705 # interfere with the next link command; also delete a directory that is
1706 # left behind by Apple's compiler. We do this before executing the actions.
1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711 } # ac_fn_c_try_link
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { { ac_try="$ac_cpp conftest.$ac_ext"
1721 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1722 *) ac_try_echo
=$ac_try;;
1724 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1728 if test -s conftest.err
; then
1729 grep -v '^ *+' conftest.err
>conftest.er1
1730 cat conftest.er1
>&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } >/dev
/null
&& {
1735 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.
$ac_ext >&5
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1750 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1751 # -------------------------------------------------------
1752 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1753 # the include files in INCLUDES and setting the cache variable VAR
1755 ac_fn_c_check_header_mongrel
()
1757 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1758 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1760 $as_echo_n "checking for $2... " >&6; }
1761 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762 $as_echo_n "(cached) " >&6
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766 $as_echo "$ac_res" >&6; }
1768 # Is the header compilable?
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1770 $as_echo_n "checking $2 usability... " >&6; }
1771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1772 /* end confdefs.h. */
1776 if ac_fn_c_try_compile
"$LINENO"; then :
1777 ac_header_compiler
=yes
1779 ac_header_compiler
=no
1781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1783 $as_echo "$ac_header_compiler" >&6; }
1785 # Is the header present?
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1787 $as_echo_n "checking $2 presence... " >&6; }
1788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1792 if ac_fn_c_try_cpp
"$LINENO"; then :
1793 ac_header_preproc
=yes
1795 ac_header_preproc
=no
1797 rm -f conftest.err conftest.
$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1799 $as_echo "$ac_header_preproc" >&6; }
1801 # So? What about this header?
1802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1805 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1811 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1813 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1815 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1817 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1825 $as_echo_n "(cached) " >&6
1827 eval "$3=\$ac_header_compiler"
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1835 } # ac_fn_c_check_header_mongrel
1837 # ac_fn_c_try_run LINENO
1838 # ----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1840 # that executables *can* be run.
1843 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1844 if { { ac_try
="$ac_link"
1846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>&5
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1855 { { case "(($ac_try" in
1856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1857 *) ac_try_echo
=$ac_try;;
1859 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861 (eval "$ac_try") 2>&5
1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test $ac_status = 0; }; }; then :
1867 $as_echo "$as_me: program exited with status $ac_status" >&5
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.
$ac_ext >&5
1871 ac_retval
=$ac_status
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1879 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1880 # -------------------------------------------------------
1881 # Tests whether HEADER exists and can be compiled using the include files in
1882 # INCLUDES, setting the cache variable VAR accordingly.
1883 ac_fn_c_check_header_compile
()
1885 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1889 $as_echo_n "(cached) " >&6
1891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h. */
1896 if ac_fn_c_try_compile
"$LINENO"; then :
1901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905 $as_echo "$ac_res" >&6; }
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1908 } # ac_fn_c_check_header_compile
1910 # ac_fn_c_check_func LINENO FUNC VAR
1911 # ----------------------------------
1912 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1913 ac_fn_c_check_func
()
1915 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919 $as_echo_n "(cached) " >&6
1921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1925 #define $2 innocuous_$2
1927 /* System header to define __stub macros and hopefully few prototypes,
1928 which can conflict with char $2 (); below.
1929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930 <limits.h> exists even on freestanding compilers. */
1933 # include <limits.h>
1935 # include <assert.h>
1940 /* Override any GCC internal prototype to avoid an error.
1941 Use char because int might match the return type of a GCC
1942 builtin and then its argument prototype would still apply. */
1947 /* The GNU C library defines this for functions which it implements
1948 to always fail with ENOSYS. Some functions are actually named
1949 something starting with __ and the normal name is an alias. */
1950 #if defined __stub_$2 || defined __stub___$2
1962 if ac_fn_c_try_link
"$LINENO"; then :
1967 rm -f core conftest.err conftest.
$ac_objext \
1968 conftest
$ac_exeext conftest.
$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1975 } # ac_fn_c_check_func
1976 cat >config.log
<<_ACEOF
1977 This file contains any messages produced by compilers while
1978 running configure, to aid debugging if configure makes a mistake.
1980 It was created by $as_me, which was
1981 generated by GNU Autoconf 2.64. Invocation command line was
1993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1994 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1995 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1996 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1997 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2000 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2002 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2003 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2005 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2006 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2007 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2008 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir
=.
2017 $as_echo "PATH: $as_dir"
2033 # Keep a trace of the command line.
2034 # Strip out --no-create and --no-recursion so they do not pile up.
2035 # Strip out --silent because we don't want to record it for future runs.
2036 # Also quote any args containing shell meta-characters.
2037 # Make two passes to allow for proper duplicate-argument suppression.
2041 ac_must_keep_next
=false
2047 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2049 |
-silent |
--silent |
--silen |
--sile |
--sil)
2052 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2055 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2057 as_fn_append ac_configure_args1
" '$ac_arg'"
2058 if test $ac_must_keep_next = true
; then
2059 ac_must_keep_next
=false
# Got value, back to normal.
2062 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2063 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2064 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2065 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2066 case "$ac_configure_args0 " in
2067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2070 -* ) ac_must_keep_next
=true
;;
2073 as_fn_append ac_configure_args
" '$ac_arg'"
2078 { ac_configure_args0
=; unset ac_configure_args0
;}
2079 { ac_configure_args1
=; unset ac_configure_args1
;}
2081 # When interrupted or exit'd, cleanup temporary files, and complete
2082 # config.log. We remove comments because anyway the quotes in there
2083 # would cause problems or look ugly.
2084 # WARNING: Use '\'' to represent an apostrophe within the trap.
2085 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2086 trap 'exit_status=$?
2087 # Save into config.log some information that might help in debugging.
2092 ## ---------------- ##
2093 ## Cache variables. ##
2094 ## ---------------- ##
2097 # The following way of writing the cache mishandles newlines in values,
2099 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2100 eval ac_val=\$$ac_var
2104 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2108 _ | IFS | as_nl) ;; #(
2109 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2110 *) { eval $ac_var=; unset $ac_var;} ;;
2115 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2116 *${as_nl}ac_space=\ *)
2118 "s/'\''/'\''\\\\'\'''\''/g;
2119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2122 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2130 ## ----------------- ##
2131 ## Output variables. ##
2132 ## ----------------- ##
2135 for ac_var in $ac_subst_vars
2137 eval ac_val=\$$ac_var
2139 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2141 $as_echo "$ac_var='\''$ac_val'\''"
2145 if test -n "$ac_subst_files"; then
2147 ## ------------------- ##
2148 ## File substitutions. ##
2149 ## ------------------- ##
2152 for ac_var
in $ac_subst_files
2154 eval ac_val
=\$
$ac_var
2156 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2158 $as_echo "$ac_var='\''$ac_val'\''"
2163 if test -s confdefs.h; then
2173 test "$ac_signal" != 0 &&
2174 $as_echo "$as_me: caught signal $ac_signal"
2175 $as_echo "$as_me: exit $exit_status"
2177 rm -f core *.core core.conftest.* &&
2178 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2181 for ac_signal
in 1 2 13 15; do
2182 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2187 rm -f -r conftest
* confdefs.h
2189 $as_echo "/* confdefs.h */" > confdefs.h
2191 # Predefined preprocessor variables.
2193 cat >>confdefs.h
<<_ACEOF
2194 #define PACKAGE_NAME "$PACKAGE_NAME"
2197 cat >>confdefs.h
<<_ACEOF
2198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2201 cat >>confdefs.h
<<_ACEOF
2202 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2205 cat >>confdefs.h
<<_ACEOF
2206 #define PACKAGE_STRING "$PACKAGE_STRING"
2209 cat >>confdefs.h
<<_ACEOF
2210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2213 cat >>confdefs.h
<<_ACEOF
2214 #define PACKAGE_URL "$PACKAGE_URL"
2218 # Let the site file select an alternate cache file if it wants to.
2219 # Prefer an explicitly selected file to automatically selected ones.
2222 if test -n "$CONFIG_SITE"; then
2223 ac_site_file1
=$CONFIG_SITE
2224 elif test "x$prefix" != xNONE
; then
2225 ac_site_file1
=$prefix/share
/config.site
2226 ac_site_file2
=$prefix/etc
/config.site
2228 ac_site_file1
=$ac_default_prefix/share
/config.site
2229 ac_site_file2
=$ac_default_prefix/etc
/config.site
2231 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2233 test "x$ac_site_file" = xNONE
&& continue
2234 if test -r "$ac_site_file"; then
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2236 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2237 sed 's/^/| /' "$ac_site_file" >&5
2242 if test -r "$cache_file"; then
2243 # Some versions of bash will fail to source /dev/null (special
2244 # files actually), so we avoid doing that.
2245 if test -f "$cache_file"; then
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2247 $as_echo "$as_me: loading cache $cache_file" >&6;}
2249 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2250 *) .
"./$cache_file";;
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2255 $as_echo "$as_me: creating cache $cache_file" >&6;}
2259 # Check that the precious variables saved in the cache have kept the same
2261 ac_cache_corrupted
=false
2262 for ac_var
in $ac_precious_vars; do
2263 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2264 eval ac_new_set
=\
$ac_env_${ac_var}_set
2265 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2266 eval ac_new_val
=\
$ac_env_${ac_var}_value
2267 case $ac_old_set,$ac_new_set in
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271 ac_cache_corrupted
=: ;;
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2274 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2275 ac_cache_corrupted
=: ;;
2278 if test "x$ac_old_val" != "x$ac_new_val"; then
2279 # differences in whitespace do not lead to failure.
2280 ac_old_val_w
=`echo x $ac_old_val`
2281 ac_new_val_w
=`echo x $ac_new_val`
2282 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2284 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2285 ac_cache_corrupted
=:
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2288 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2289 eval $ac_var=\
$ac_old_val
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2292 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2294 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2297 # Pass precious variables to config.status.
2298 if test "$ac_new_set" = set; then
2300 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2301 *) ac_arg
=$ac_var=$ac_new_val ;;
2303 case " $ac_configure_args " in
2304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2305 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2309 if $ac_cache_corrupted; then
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2313 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2316 ## -------------------- ##
2317 ## Main body of script. ##
2318 ## -------------------- ##
2321 ac_cpp
='$CPP $CPPFLAGS'
2322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2333 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2334 for ac_t
in install-sh
install.sh shtool
; do
2335 if test -f "$ac_dir/$ac_t"; then
2337 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2342 if test -z "$ac_aux_dir"; then
2343 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2346 # These three variables are undocumented and unsupported,
2347 # and are intended to be withdrawn in a future Autoconf release.
2348 # They can cause serious problems if a builder's source tree is in a directory
2349 # whose full name contains unusual characters.
2350 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2351 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2352 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2355 # Make sure we can run config.sub.
2356 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2357 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2360 $as_echo_n "checking build system type... " >&6; }
2361 if test "${ac_cv_build+set}" = set; then :
2362 $as_echo_n "(cached) " >&6
2364 ac_build_alias
=$build_alias
2365 test "x$ac_build_alias" = x
&&
2366 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2367 test "x$ac_build_alias" = x
&&
2368 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2369 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2370 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2374 $as_echo "$ac_cv_build" >&6; }
2375 case $ac_cv_build in
2377 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2380 ac_save_IFS
=$IFS; IFS
='-'
2386 # Remember, the first character of IFS is used to create $*,
2387 # except with old shells:
2390 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2394 $as_echo_n "checking host system type... " >&6; }
2395 if test "${ac_cv_host+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 if test "x$host_alias" = x
; then
2399 ac_cv_host
=$ac_cv_build
2401 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2402 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2407 $as_echo "$ac_cv_host" >&6; }
2410 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2413 ac_save_IFS
=$IFS; IFS
='-'
2419 # Remember, the first character of IFS is used to create $*,
2420 # except with old shells:
2423 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2427 $as_echo_n "checking target system type... " >&6; }
2428 if test "${ac_cv_target+set}" = set; then :
2429 $as_echo_n "(cached) " >&6
2431 if test "x$target_alias" = x
; then
2432 ac_cv_target
=$ac_cv_host
2434 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2435 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2440 $as_echo "$ac_cv_target" >&6; }
2441 case $ac_cv_target in
2443 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2445 target
=$ac_cv_target
2446 ac_save_IFS
=$IFS; IFS
='-'
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2456 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2459 # The aliases save the names the user supplied, while $host etc.
2460 # will get canonicalized.
2461 test -n "$target_alias" &&
2462 test "$program_prefix$program_suffix$program_transform_name" = \
2464 program_prefix
=${target_alias}-
2466 ac_cpp
='$CPP $CPPFLAGS'
2467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2470 if test -n "$ac_tool_prefix"; then
2471 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2472 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2474 $as_echo_n "checking for $ac_word... " >&6; }
2475 if test "${ac_cv_prog_CC+set}" = set; then :
2476 $as_echo_n "(cached) " >&6
2478 if test -n "$CC"; then
2479 ac_cv_prog_CC
="$CC" # Let the user override the test.
2481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2485 test -z "$as_dir" && as_dir
=.
2486 for ac_exec_ext
in '' $ac_executable_extensions; do
2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2499 if test -n "$CC"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2501 $as_echo "$CC" >&6; }
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2504 $as_echo "no" >&6; }
2509 if test -z "$ac_cv_prog_CC"; then
2511 # Extract the first word of "gcc", so it can be a program name with args.
2512 set dummy gcc
; ac_word
=$2
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2514 $as_echo_n "checking for $ac_word... " >&6; }
2515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2516 $as_echo_n "(cached) " >&6
2518 if test -n "$ac_ct_CC"; then
2519 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 for ac_exec_ext
in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_ac_ct_CC
="gcc"
2529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2539 if test -n "$ac_ct_CC"; then
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2541 $as_echo "$ac_ct_CC" >&6; }
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2544 $as_echo "no" >&6; }
2547 if test "x$ac_ct_CC" = x
; then
2550 case $cross_compiling:$ac_tool_warned in
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2554 ac_tool_warned
=yes ;;
2562 if test -z "$CC"; then
2563 if test -n "$ac_tool_prefix"; then
2564 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2565 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if test "${ac_cv_prog_CC+set}" = set; then :
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$CC"; then
2572 ac_cv_prog_CC
="$CC" # Let the user override the test.
2574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir
=.
2579 for ac_exec_ext
in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 if test -n "$CC"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2594 $as_echo "$CC" >&6; }
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2603 if test -z "$CC"; then
2604 # Extract the first word of "cc", so it can be a program name with args.
2605 set dummy cc
; ac_word
=$2
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2607 $as_echo_n "checking for $ac_word... " >&6; }
2608 if test "${ac_cv_prog_CC+set}" = set; then :
2609 $as_echo_n "(cached) " >&6
2611 if test -n "$CC"; then
2612 ac_cv_prog_CC
="$CC" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2622 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2623 ac_prog_rejected
=yes
2627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2634 if test $ac_prog_rejected = yes; then
2635 # We found a bogon in the path, so make sure we never use it.
2636 set dummy
$ac_cv_prog_CC
2638 if test $# != 0; then
2639 # We chose a different compiler from the bogus one.
2640 # However, it has the same basename, so the bogon will be chosen
2641 # first if we set CC to just the basename; use the full file name.
2643 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2649 if test -n "$CC"; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2651 $as_echo "$CC" >&6; }
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2659 if test -z "$CC"; then
2660 if test -n "$ac_tool_prefix"; then
2661 for ac_prog
in cl.exe
2663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2664 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 $as_echo_n "checking for $ac_word... " >&6; }
2667 if test "${ac_cv_prog_CC+set}" = set; then :
2668 $as_echo_n "(cached) " >&6
2670 if test -n "$CC"; then
2671 ac_cv_prog_CC
="$CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test -n "$CC"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2693 $as_echo "$CC" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2700 test -n "$CC" && break
2703 if test -z "$CC"; then
2705 for ac_prog
in cl.exe
2707 # Extract the first word of "$ac_prog", so it can be a program name with args.
2708 set dummy
$ac_prog; ac_word
=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$ac_ct_CC"; then
2715 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_ac_ct_CC
="$ac_prog"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2735 if test -n "$ac_ct_CC"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2737 $as_echo "$ac_ct_CC" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2744 test -n "$ac_ct_CC" && break
2747 if test "x$ac_ct_CC" = x
; then
2750 case $cross_compiling:$ac_tool_warned in
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2754 ac_tool_warned
=yes ;;
2763 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2765 as_fn_error
"no acceptable C compiler found in \$PATH
2766 See \`config.log' for more details." "$LINENO" 5; }
2768 # Provide some information about the compiler.
2769 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2772 for ac_option
in --version -v -V -qversion; do
2773 { { ac_try
="$ac_compiler $ac_option >&5"
2775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2779 $as_echo "$ac_try_echo"; } >&5
2780 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2782 if test -s conftest.err; then
2784 ... rest of stderr output deleted ...
2785 10q' conftest.err >conftest.er1
2786 cat conftest.er1 >&5
2787 rm -f conftest.er1 conftest.err
2789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2790 test $ac_status = 0; }
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2804 ac_clean_files_save=$ac_clean_files
2805 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2806 # Try to create an executable without -o first, disregard a.out.
2807 # It will help us diagnose broken compilers, and finding out an intuition
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2810 $as_echo_n "checking for C compiler default output file name... " >&6; }
2811 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2813 # The possible output files:
2814 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2817 for ac_file in $ac_files
2820 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2821 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2826 if { { ac_try="$ac_link_default"
2828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2829 *) ac_try_echo
=$ac_try;;
2831 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_link_default") 2>&5
2835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2836 test $ac_status = 0; }; then :
2837 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2838 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2839 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2840 # so that the user can short-circuit this test for compilers unknown to
2842 for ac_file
in $ac_files ''
2844 test -f "$ac_file" ||
continue
2846 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2849 # We found the default executable, but exeext='' is most
2853 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2855 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2857 # We set ac_cv_exeext here because the later test for it is not
2858 # safe: cross compilers may not add the suffix if given an `-o'
2859 # argument, so we may need to know it at that point already.
2860 # Even if this section looks crufty: it has the advantage of
2867 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2873 $as_echo "$ac_file" >&6; }
2874 if test -z "$ac_file"; then :
2875 $as_echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.
$ac_ext >&5
2878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2880 { as_fn_set_status
77
2881 as_fn_error
"C compiler cannot create executables
2882 See \`config.log' for more details." "$LINENO" 5; }; }
2884 ac_exeext
=$ac_cv_exeext
2886 # Check that the compiler produces executables we can run. If not, either
2887 # the compiler is broken, or we cross compile.
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2889 $as_echo_n "checking whether the C compiler works... " >&6; }
2890 # If not cross compiling, check that we can run a simple program.
2891 if test "$cross_compiling" != yes; then
2892 if { ac_try
='./$ac_file'
2893 { { case "(($ac_try" in
2894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2898 $as_echo "$ac_try_echo"; } >&5
2899 (eval "$ac_try") 2>&5
2901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2902 test $ac_status = 0; }; }; then
2905 if test "$cross_compiling" = maybe; then
2908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2910 as_fn_error "cannot run C compiled programs.
2911 If you meant to cross compile
, use \
`--host'.
2912 See \`config.log
' for more details." "$LINENO" 5; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2917 $as_echo "yes" >&6; }
2919 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2920 ac_clean_files=$ac_clean_files_save
2921 # Check that the compiler produces executables we can run. If not, either
2922 # the compiler is broken, or we cross compile.
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2924 $as_echo_n "checking whether we are cross compiling... " >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2926 $as_echo "$cross_compiling" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2929 $as_echo_n "checking for suffix of executables... " >&6; }
2930 if { { ac_try="$ac_link"
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_link") 2>&5
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; }; then :
2941 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2942 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2943 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2945 for ac_file
in conftest.exe conftest conftest.
*; do
2946 test -f "$ac_file" ||
continue
2948 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2949 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2957 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2958 See \`config.log' for more details." "$LINENO" 5; }
2960 rm -f conftest
$ac_cv_exeext
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2962 $as_echo "$ac_cv_exeext" >&6; }
2964 rm -f conftest.
$ac_ext
2965 EXEEXT
=$ac_cv_exeext
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2968 $as_echo_n "checking for suffix of object files... " >&6; }
2969 if test "${ac_cv_objext+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h. */
2983 rm -f conftest.o conftest.obj
2984 if { { ac_try
="$ac_compile"
2986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2987 *) ac_try_echo=$ac_try;;
2989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990 $as_echo "$ac_try_echo"; } >&5
2991 (eval "$ac_compile") 2>&5
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }; then :
2995 for ac_file in conftest.o conftest.obj conftest.*; do
2996 test -f "$ac_file" || continue;
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2999 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3004 $as_echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3009 as_fn_error "cannot compute suffix of object files
: cannot compile
3010 See \
`config.log' for more details." "$LINENO" 5; }
3012 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3015 $as_echo "$ac_cv_objext" >&6; }
3016 OBJEXT=$ac_cv_objext
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3019 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3020 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3021 $as_echo_n "(cached) " >&6
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3037 if ac_fn_c_try_compile "$LINENO"; then :
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3047 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3048 if test $ac_compiler_gnu = yes; then
3053 ac_test_CFLAGS=${CFLAGS+set}
3054 ac_save_CFLAGS=$CFLAGS
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3056 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3057 if test "${ac_cv_prog_cc_g+set}" = set; then :
3058 $as_echo_n "(cached) " >&6
3060 ac_save_c_werror_flag=$ac_c_werror_flag
3061 ac_c_werror_flag=yes
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3075 if ac_fn_c_try_compile "$LINENO"; then :
3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3080 /* end confdefs.h. */
3090 if ac_fn_c_try_compile "$LINENO"; then :
3093 ac_c_werror_flag=$ac_save_c_werror_flag
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3106 if ac_fn_c_try_compile "$LINENO"; then :
3109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114 ac_c_werror_flag=$ac_save_c_werror_flag
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3117 $as_echo "$ac_cv_prog_cc_g" >&6; }
3118 if test "$ac_test_CFLAGS" = set; then
3119 CFLAGS=$ac_save_CFLAGS
3120 elif test $ac_cv_prog_cc_g = yes; then
3121 if test "$GCC" = yes; then
3127 if test "$GCC" = yes; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3134 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3135 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3136 $as_echo_n "(cached) " >&6
3138 ac_cv_prog_cc_c89=no
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3144 #include <sys/types.h>
3145 #include <sys/stat.h>
3146 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3147 struct buf { int x; };
3148 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3149 static char *e (p, i)
3155 static char *f (char * (*g) (char **, int), char **p, ...)
3160 s = g (p, va_arg (v,int));
3165 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3166 function prototypes and stuff, but not '\xHH' hex character constants.
3167 These don't provoke an error unfortunately, instead are silently treated
3168 as 'x'. The following induces an error, until -std is added to get
3169 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3170 array size at least. It's necessary to write '\x00'==0 to get something
3171 that's true only with -std. */
3172 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3174 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3175 inside strings and character constants. */
3177 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3179 int test (int i, double x);
3180 struct s1 {int (*f) (int a);};
3181 struct s2 {int (*f) (double a);};
3182 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3188 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3193 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3194 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3196 CC="$ac_save_CC $ac_arg"
3197 if ac_fn_c_try_compile "$LINENO"; then :
3198 ac_cv_prog_cc_c89=$ac_arg
3200 rm -f core conftest.err conftest.$ac_objext
3201 test "x$ac_cv_prog_cc_c89" != "xno" && break
3203 rm -f conftest.$ac_ext
3208 case "x$ac_cv_prog_cc_c89" in
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3211 $as_echo "none needed" >&6; } ;;
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3214 $as_echo "unsupported" >&6; } ;;
3216 CC="$CC $ac_cv_prog_cc_c89"
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3218 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3220 if test "x$ac_cv_prog_cc_c89" != xno; then :
3225 ac_cpp='$CPP $CPPFLAGS'
3226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3232 $as_echo_n "checking for library containing strerror... " >&6; }
3233 if test "${ac_cv_search_strerror+set}" = set; then :
3234 $as_echo_n "(cached) " >&6
3236 ac_func_search_save_LIBS=$LIBS
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3240 /* Override any GCC internal prototype to avoid an error.
3241 Use char because int might match the return type of a GCC
3242 builtin and then its argument prototype would still apply. */
3255 for ac_lib in '' cposix; do
3256 if test -z "$ac_lib"; then
3257 ac_res="none required"
3260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3262 if ac_fn_c_try_link "$LINENO"; then :
3263 ac_cv_search_strerror=$ac_res
3265 rm -f core conftest.err conftest.$ac_objext \
3267 if test "${ac_cv_search_strerror+set}" = set; then :
3271 if test "${ac_cv_search_strerror+set}" = set; then :
3274 ac_cv_search_strerror=no
3277 LIBS=$ac_func_search_save_LIBS
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3280 $as_echo "$ac_cv_search_strerror" >&6; }
3281 ac_res=$ac_cv_search_strerror
3282 if test "$ac_res" != no; then :
3283 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3288 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/..
/bfd
/configure.
in`
3289 am__api_version='1.11'
3291 # Find a good install program. We prefer a C program (faster),
3292 # so one script is as good as another. But avoid the broken or
3293 # incompatible versions:
3294 # SysV /etc/install, /usr/sbin/install
3295 # SunOS /usr/etc/install
3296 # IRIX /sbin/install
3298 # AmigaOS /C/install, which installs bootblocks on floppy discs
3299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3302 # OS/2's system install, which has a completely different semantic
3303 # ./install, which can be erroneously created by make from ./install.sh.
3304 # Reject install programs that cannot install multiple files.
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3306 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3307 if test -z "$INSTALL"; then
3308 if test "${ac_cv_path_install+set}" = set; then :
3309 $as_echo_n "(cached) " >&6
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir=.
3316 # Account for people who put trailing slashes in PATH elements.
3317 case $as_dir/ in #((
3318 ./ | .// | /[cC]/* | \
3319 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3320 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3323 # OSF1 and SCO ODT 3.0 have their own names for install.
3324 # Don't use installbsd from OSF since it installs stuff as root
3326 for ac_prog in ginstall scoinst install; do
3327 for ac_exec_ext in '' $ac_executable_extensions; do
3328 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3329 if test $ac_prog = install &&
3330 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3331 # AIX install. It has an incompatible calling convention.
3333 elif test $ac_prog = install &&
3334 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3335 # program-specific install script used by HP pwplus--don't use.
3338 rm -rf conftest.one conftest.two conftest.dir
3339 echo one > conftest.one
3340 echo two > conftest.two
3342 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3343 test -s conftest.one && test -s conftest.two &&
3344 test -s conftest.dir/conftest.one &&
3345 test -s conftest.dir/conftest.two
3347 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3360 rm -rf conftest.one conftest.two conftest.dir
3363 if test "${ac_cv_path_install+set}" = set; then
3364 INSTALL=$ac_cv_path_install
3366 # As a last resort, use the slow shell script. Don't cache a
3367 # value for INSTALL within a source directory, because that will
3368 # break other packages using the cache if that directory is
3369 # removed, or if the value is a relative name.
3370 INSTALL=$ac_install_sh
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3374 $as_echo "$INSTALL" >&6; }
3376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3377 # It thinks the first close brace ends the variable substitution.
3378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3382 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3385 $as_echo_n "checking whether build environment is sane... " >&6; }
3388 echo timestamp > conftest.file
3389 # Reject unsafe characters in $srcdir or the absolute working directory
3390 # name. Accept space and tab only in the latter.
3394 *[\\\"\#\$\&\'\`$am_lf]*)
3395 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3398 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3399 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3402 # Do `set' in a subshell so we don't clobber the current shell's
3403 # arguments. Must try -L first in case configure is actually a
3404 # symlink; some systems play weird games with the mod time of symlinks
3405 # (eg FreeBSD returns the mod time of the symlink's containing
3408 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3409 if test "$*" = "X"; then
3411 set X
`ls -t "$srcdir/configure" conftest.file`
3414 if test "$*" != "X $srcdir/configure conftest.file" \
3415 && test "$*" != "X conftest.file $srcdir/configure"; then
3417 # If neither matched, then we have a broken ls. This can happen
3418 # if, for instance, CONFIG_SHELL is bash and it inherits a
3419 # broken ls alias from the environment. This has actually
3420 # happened. Such a system could not be considered "sane".
3421 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3422 alias in your environment" "$LINENO" 5
3425 test "$2" = conftest.
file
3431 as_fn_error
"newly created file is older than distributed files!
3432 Check your system clock" "$LINENO" 5
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3435 $as_echo "yes" >&6; }
3436 test "$program_prefix" != NONE
&&
3437 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3438 # Use a double $ so make ignores it.
3439 test "$program_suffix" != NONE
&&
3440 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3441 # Double any \ or $.
3442 # By default was `s,x,x', remove it if useless.
3443 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3444 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3446 # expand $ac_aux_dir to an absolute path
3447 am_aux_dir
=`cd $ac_aux_dir && pwd`
3449 if test x
"${MISSING+set}" != xset
; then
3452 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3454 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3457 # Use eval to expand $SHELL
3458 if eval "$MISSING --run true"; then
3459 am_missing_run
="$MISSING --run "
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3463 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3466 if test x
"${install_sh}" != xset
; then
3469 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3471 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3475 # Installed binaries are usually stripped using `strip' when the user
3476 # run `make install-strip'. However `strip' might not be the right
3477 # tool to use in cross-compilation environments, therefore Automake
3478 # will honor the `STRIP' environment variable to overrule this program.
3479 if test "$cross_compiling" != no
; then
3480 if test -n "$ac_tool_prefix"; then
3481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3482 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if test "${ac_cv_prog_STRIP+set}" = set; then :
3486 $as_echo_n "(cached) " >&6
3488 if test -n "$STRIP"; then
3489 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3495 test -z "$as_dir" && as_dir
=.
3496 for ac_exec_ext
in '' $ac_executable_extensions; do
3497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3498 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 STRIP
=$ac_cv_prog_STRIP
3509 if test -n "$STRIP"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3511 $as_echo "$STRIP" >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3519 if test -z "$ac_cv_prog_STRIP"; then
3521 # Extract the first word of "strip", so it can be a program name with args.
3522 set dummy strip
; ac_word
=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3526 $as_echo_n "(cached) " >&6
3528 if test -n "$ac_ct_STRIP"; then
3529 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir
=.
3536 for ac_exec_ext
in '' $ac_executable_extensions; do
3537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538 ac_cv_prog_ac_ct_STRIP
="strip"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3549 if test -n "$ac_ct_STRIP"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3551 $as_echo "$ac_ct_STRIP" >&6; }
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3557 if test "x$ac_ct_STRIP" = x
; then
3560 case $cross_compiling:$ac_tool_warned in
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564 ac_tool_warned
=yes ;;
3569 STRIP
="$ac_cv_prog_STRIP"
3573 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3576 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3577 if test -z "$MKDIR_P"; then
3578 if test "${ac_cv_path_mkdir+set}" = set; then :
3579 $as_echo_n "(cached) " >&6
3581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3582 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3585 test -z "$as_dir" && as_dir
=.
3586 for ac_prog
in mkdir gmkdir
; do
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3589 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3590 'mkdir (GNU coreutils) '* | \
3591 'mkdir (coreutils) '* | \
3592 'mkdir (fileutils) '4.1*)
3593 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3603 if test "${ac_cv_path_mkdir+set}" = set; then
3604 MKDIR_P
="$ac_cv_path_mkdir -p"
3606 # As a last resort, use the slow shell script. Don't cache a
3607 # value for MKDIR_P within a source directory, because that will
3608 # break other packages using the cache if that directory is
3609 # removed, or if the value is a relative name.
3610 test -d .
/--version && rmdir .
/--version
3611 MKDIR_P
="$ac_install_sh -d"
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3615 $as_echo "$MKDIR_P" >&6; }
3619 [\\/$
]* | ?
:[\\/]*) ;;
3620 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3623 for ac_prog
in gawk mawk nawk
awk
3625 # Extract the first word of "$ac_prog", so it can be a program name with args.
3626 set dummy
$ac_prog; ac_word
=$2
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3628 $as_echo_n "checking for $ac_word... " >&6; }
3629 if test "${ac_cv_prog_AWK+set}" = set; then :
3630 $as_echo_n "(cached) " >&6
3632 if test -n "$AWK"; then
3633 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3639 test -z "$as_dir" && as_dir
=.
3640 for ac_exec_ext
in '' $ac_executable_extensions; do
3641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3642 ac_cv_prog_AWK
="$ac_prog"
3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 if test -n "$AWK"; then
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3655 $as_echo "$AWK" >&6; }
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3658 $as_echo "no" >&6; }
3662 test -n "$AWK" && break
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3666 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3668 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3669 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3670 $as_echo_n "(cached) " >&6
3672 cat >conftest.
make <<\_ACEOF
3675 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3677 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3678 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3680 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3682 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3686 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3688 $as_echo "yes" >&6; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3693 SET_MAKE
="MAKE=${MAKE-make}"
3696 rm -rf .tst
2>/dev
/null
3697 mkdir .tst
2>/dev
/null
3698 if test -d .tst
; then
3703 rmdir .tst
2>/dev
/null
3705 DEPDIR
="${am__leading_dot}deps"
3707 ac_config_commands
="$ac_config_commands depfiles"
3710 am_make
=${MAKE-make}
3711 cat > confinc
<< 'END'
3713 @
echo this is the am__doit target
3716 # If we don't find an include directive, just comment out the code.
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3718 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3722 # First try GNU make style include.
3723 echo "include confinc" > confmf
3724 # Ignore all kinds of additional output from `make'.
3725 case `$am_make -s -f confmf 2> /dev/null` in #(
3726 *the\ am__doit\ target
*)
3732 # Now try BSD make style include.
3733 if test "$am__include" = "#"; then
3734 echo '.include "confinc"' > confmf
3735 case `$am_make -s -f confmf 2> /dev/null` in #(
3736 *the\ am__doit\ target
*)
3737 am__include
=.include
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3746 $as_echo "$_am_result" >&6; }
3747 rm -f confinc confmf
3749 # Check whether --enable-dependency-tracking was given.
3750 if test "${enable_dependency_tracking+set}" = set; then :
3751 enableval
=$enable_dependency_tracking;
3754 if test "x$enable_dependency_tracking" != xno
; then
3755 am_depcomp
="$ac_aux_dir/depcomp"
3758 if test "x$enable_dependency_tracking" != xno; then
3767 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3768 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3769 # is not polluted with repeated "-I."
3770 am__isrc
=' -I$(srcdir)'
3771 # test to see if srcdir already configured
3772 if test -f $srcdir/config.status
; then
3773 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3777 # test whether we have cygpath
3778 if test -z "$CYGPATH_W"; then
3779 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3780 CYGPATH_W
='cygpath -w'
3787 # Define the identity of the package.
3789 VERSION
=${BFD_VERSION}
3792 cat >>confdefs.h
<<_ACEOF
3793 #define PACKAGE "$PACKAGE"
3797 cat >>confdefs.h
<<_ACEOF
3798 #define VERSION "$VERSION"
3801 # Some tools Automake needs.
3803 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3806 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3809 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3812 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3815 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3817 # We need awk for the "check" target. The system "awk" is bad on
3819 # Always define AMTAR for backward compatibility.
3821 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3823 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3828 depcc
="$CC" am_compiler_list
=
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3831 $as_echo_n "checking dependency style of $depcc... " >&6; }
3832 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3833 $as_echo_n "(cached) " >&6
3835 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3836 # We make a subdir and do the tests there. Otherwise we can end up
3837 # making bogus files that we don't know about and never remove. For
3838 # instance it was reported that on HP-UX the gcc test will end up
3839 # making a dummy file named `D' -- because `-MD' means `put the output
3842 # Copy depcomp to subdir because otherwise we won't find it if we're
3843 # using a relative directory.
3844 cp "$am_depcomp" conftest.dir
3846 # We will build objects and dependencies in a subdirectory because
3847 # it helps to detect inapplicable dependency modes. For instance
3848 # both Tru64's cc and ICC support -MD to output dependencies as a
3849 # side effect of compilation, but ICC will put the dependencies in
3850 # the current directory while Tru64 will put them in the object
3854 am_cv_CC_dependencies_compiler_type
=none
3855 if test "$am_compiler_list" = ""; then
3856 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3859 case " $depcc " in #(
3860 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3863 for depmode
in $am_compiler_list; do
3864 # Setup a source with many dependencies, because some compilers
3865 # like to wrap large dependency lists on column 80 (with \), and
3866 # we should not choose a depcomp mode which is confused by this.
3868 # We need to recreate these files for each test, as the compiler may
3869 # overwrite some of them when testing with obscure command lines.
3870 # This happens at least with the AIX C compiler.
3872 for i
in 1 2 3 4 5 6; do
3873 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3874 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3875 # Solaris 8's {/usr,}/bin/sh.
3876 touch sub
/conftst
$i.h
3878 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3880 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3881 # mode. It turns out that the SunPro C++ compiler does not properly
3882 # handle `-M -o', and we need to detect this. Also, some Intel
3883 # versions had trouble with output in subdirs
3884 am__obj
=sub
/conftest.
${OBJEXT-o}
3885 am__minus_obj
="-o $am__obj"
3888 # This depmode causes a compiler race in universal mode.
3889 test "$am__universal" = false ||
continue
3892 # after this tag, mechanisms are not by side-effect, so they'll
3893 # only be used when explicitly requested
3894 if test "x$enable_dependency_tracking" = xyes
; then
3900 msvisualcpp | msvcmsys
)
3901 # This compiler won't grok `-c -o', but also, the minuso test has
3902 # not run yet. These depmodes are late enough in the game, and
3903 # so weak that their functioning should not be impacted.
3904 am__obj
=conftest.
${OBJEXT-o}
3909 if depmode
=$depmode \
3910 source=sub
/conftest.c object
=$am__obj \
3911 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3912 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3913 >/dev
/null
2>conftest.err
&&
3914 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3915 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3916 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3917 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3918 # icc doesn't choke on unknown options, it will just issue warnings
3919 # or remarks (even with -Werror). So we grep stderr for any message
3920 # that says an option was ignored or not supported.
3921 # When given -MP, icc 7.0 and 7.1 complain thusly:
3922 # icc: Command line warning: ignoring option '-M'; no argument required
3923 # The diagnosis changed in icc 8.0:
3924 # icc: Command line remark: option '-MP' not supported
3925 if (grep 'ignoring option' conftest.err ||
3926 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3927 am_cv_CC_dependencies_compiler_type
=$depmode
3936 am_cv_CC_dependencies_compiler_type
=none
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3941 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3942 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3945 test "x$enable_dependency_tracking" != xno \
3946 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3948 am__fastdepCC_FALSE
='#'
3950 am__fastdepCC_TRUE
='#'
3951 am__fastdepCC_FALSE
=
3957 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
3961 ac_cpp
='$CPP $CPPFLAGS'
3962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3965 if test -n "$ac_tool_prefix"; then
3966 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3967 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if test "${ac_cv_prog_CC+set}" = set; then :
3971 $as_echo_n "(cached) " >&6
3973 if test -n "$CC"; then
3974 ac_cv_prog_CC
="$CC" # Let the user override the test.
3976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3980 test -z "$as_dir" && as_dir
=.
3981 for ac_exec_ext
in '' $ac_executable_extensions; do
3982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3983 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994 if test -n "$CC"; then
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3996 $as_echo "$CC" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4004 if test -z "$ac_cv_prog_CC"; then
4006 # Extract the first word of "gcc", so it can be a program name with args.
4007 set dummy gcc
; ac_word
=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4011 $as_echo_n "(cached) " >&6
4013 if test -n "$ac_ct_CC"; then
4014 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4020 test -z "$as_dir" && as_dir
=.
4021 for ac_exec_ext
in '' $ac_executable_extensions; do
4022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023 ac_cv_prog_ac_ct_CC
="gcc"
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4034 if test -n "$ac_ct_CC"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4036 $as_echo "$ac_ct_CC" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4042 if test "x$ac_ct_CC" = x
; then
4045 case $cross_compiling:$ac_tool_warned in
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4049 ac_tool_warned
=yes ;;
4057 if test -z "$CC"; then
4058 if test -n "$ac_tool_prefix"; then
4059 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4060 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062 $as_echo_n "checking for $ac_word... " >&6; }
4063 if test "${ac_cv_prog_CC+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 if test -n "$CC"; then
4067 ac_cv_prog_CC
="$CC" # Let the user override the test.
4069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir
=.
4074 for ac_exec_ext
in '' $ac_executable_extensions; do
4075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4076 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 if test -n "$CC"; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4089 $as_echo "$CC" >&6; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 $as_echo "no" >&6; }
4098 if test -z "$CC"; then
4099 # Extract the first word of "cc", so it can be a program name with args.
4100 set dummy cc
; ac_word
=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if test "${ac_cv_prog_CC+set}" = set; then :
4104 $as_echo_n "(cached) " >&6
4106 if test -n "$CC"; then
4107 ac_cv_prog_CC
="$CC" # Let the user override the test.
4110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir
=.
4115 for ac_exec_ext
in '' $ac_executable_extensions; do
4116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4117 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4118 ac_prog_rejected
=yes
4122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 if test $ac_prog_rejected = yes; then
4130 # We found a bogon in the path, so make sure we never use it.
4131 set dummy
$ac_cv_prog_CC
4133 if test $# != 0; then
4134 # We chose a different compiler from the bogus one.
4135 # However, it has the same basename, so the bogon will be chosen
4136 # first if we set CC to just the basename; use the full file name.
4138 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4144 if test -n "$CC"; then
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4146 $as_echo "$CC" >&6; }
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149 $as_echo "no" >&6; }
4154 if test -z "$CC"; then
4155 if test -n "$ac_tool_prefix"; then
4156 for ac_prog
in cl.exe
4158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if test "${ac_cv_prog_CC+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4165 if test -n "$CC"; then
4166 ac_cv_prog_CC
="$CC" # Let the user override the test.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 if test -n "$CC"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4188 $as_echo "$CC" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4195 test -n "$CC" && break
4198 if test -z "$CC"; then
4200 for ac_prog
in cl.exe
4202 # Extract the first word of "$ac_prog", so it can be a program name with args.
4203 set dummy
$ac_prog; ac_word
=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$ac_ct_CC"; then
4210 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 for ac_exec_ext
in '' $ac_executable_extensions; do
4218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4219 ac_cv_prog_ac_ct_CC
="$ac_prog"
4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4230 if test -n "$ac_ct_CC"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4232 $as_echo "$ac_ct_CC" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4239 test -n "$ac_ct_CC" && break
4242 if test "x$ac_ct_CC" = x
; then
4245 case $cross_compiling:$ac_tool_warned in
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4249 ac_tool_warned
=yes ;;
4258 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 as_fn_error
"no acceptable C compiler found in \$PATH
4261 See \`config.log' for more details." "$LINENO" 5; }
4263 # Provide some information about the compiler.
4264 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4267 for ac_option
in --version -v -V -qversion; do
4268 { { ac_try
="$ac_compiler $ac_option >&5"
4270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4274 $as_echo "$ac_try_echo"; } >&5
4275 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4277 if test -s conftest.err; then
4279 ... rest of stderr output deleted ...
4280 10q' conftest.err >conftest.er1
4281 cat conftest.er1 >&5
4282 rm -f conftest.er1 conftest.err
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4289 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4290 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4291 $as_echo_n "(cached) " >&6
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h. */
4307 if ac_fn_c_try_compile "$LINENO"; then :
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4313 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4317 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4318 if test $ac_compiler_gnu = yes; then
4323 ac_test_CFLAGS=${CFLAGS+set}
4324 ac_save_CFLAGS=$CFLAGS
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4326 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4327 if test "${ac_cv_prog_cc_g+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4330 ac_save_c_werror_flag=$ac_c_werror_flag
4331 ac_c_werror_flag=yes
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4345 if ac_fn_c_try_compile "$LINENO"; then :
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4360 if ac_fn_c_try_compile "$LINENO"; then :
4363 ac_c_werror_flag=$ac_save_c_werror_flag
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4376 if ac_fn_c_try_compile "$LINENO"; then :
4379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 ac_c_werror_flag=$ac_save_c_werror_flag
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4387 $as_echo "$ac_cv_prog_cc_g" >&6; }
4388 if test "$ac_test_CFLAGS" = set; then
4389 CFLAGS=$ac_save_CFLAGS
4390 elif test $ac_cv_prog_cc_g = yes; then
4391 if test "$GCC" = yes; then
4397 if test "$GCC" = yes; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4404 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4405 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4408 ac_cv_prog_cc_c89=no
4410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411 /* end confdefs.h. */
4414 #include <sys/types.h>
4415 #include <sys/stat.h>
4416 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4417 struct buf { int x; };
4418 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4419 static char *e (p, i)
4425 static char *f (char * (*g) (char **, int), char **p, ...)
4430 s = g (p, va_arg (v,int));
4435 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4436 function prototypes and stuff, but not '\xHH' hex character constants.
4437 These don't provoke an error unfortunately, instead are silently treated
4438 as 'x'. The following induces an error, until -std is added to get
4439 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4440 array size at least. It's necessary to write '\x00'==0 to get something
4441 that's true only with -std. */
4442 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4444 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4445 inside strings and character constants. */
4447 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4449 int test (int i, double x);
4450 struct s1 {int (*f) (int a);};
4451 struct s2 {int (*f) (double a);};
4452 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4458 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4463 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4464 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4466 CC="$ac_save_CC $ac_arg"
4467 if ac_fn_c_try_compile "$LINENO"; then :
4468 ac_cv_prog_cc_c89=$ac_arg
4470 rm -f core conftest.err conftest.$ac_objext
4471 test "x$ac_cv_prog_cc_c89" != "xno" && break
4473 rm -f conftest.$ac_ext
4478 case "x$ac_cv_prog_cc_c89" in
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4481 $as_echo "none needed" >&6; } ;;
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4484 $as_echo "unsupported" >&6; } ;;
4486 CC="$CC $ac_cv_prog_cc_c89"
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4488 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4490 if test "x$ac_cv_prog_cc_c89" != xno; then :
4495 ac_cpp='$CPP $CPPFLAGS'
4496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4501 ac_cpp='$CPP $CPPFLAGS'
4502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4506 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4507 # On Suns, sometimes $CPP names a directory.
4508 if test -n "$CPP" && test -d "$CPP"; then
4511 if test -z "$CPP"; then
4512 if test "${ac_cv_prog_CPP+set}" = set; then :
4513 $as_echo_n "(cached) " >&6
4515 # Double quotes because CPP needs to be expanded
4516 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4519 for ac_c_preproc_warn_flag in '' yes
4521 # Use a header file that comes with gcc, so configuring glibc
4522 # with a fresh cross-compiler works.
4523 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4524 # <limits.h> exists even on freestanding compilers.
4525 # On the NeXT, cc -E runs the code through the compiler's parser,
4526 # not just through cpp. "Syntax error" is here to catch this case.
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4530 # include <limits.h>
4532 # include <assert.h>
4536 if ac_fn_c_try_cpp "$LINENO"; then :
4539 # Broken: fails on valid input.
4542 rm -f conftest.err conftest.$ac_ext
4544 # OK, works on sane cases. Now check whether nonexistent headers
4545 # can be detected and how.
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4548 #include <ac_nonexistent.h>
4550 if ac_fn_c_try_cpp "$LINENO"; then :
4551 # Broken: success on invalid input.
4554 # Passes both tests.
4558 rm -f conftest.err conftest.$ac_ext
4561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4562 rm -f conftest.err conftest.
$ac_ext
4563 if $ac_preproc_ok; then :
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4576 $as_echo "$CPP" >&6; }
4578 for ac_c_preproc_warn_flag
in '' yes
4580 # Use a header file that comes with gcc, so configuring glibc
4581 # with a fresh cross-compiler works.
4582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4583 # <limits.h> exists even on freestanding compilers.
4584 # On the NeXT, cc -E runs the code through the compiler's parser,
4585 # not just through cpp. "Syntax error" is here to catch this case.
4586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4589 # include <limits.h>
4591 # include <assert.h>
4595 if ac_fn_c_try_cpp
"$LINENO"; then :
4598 # Broken: fails on valid input.
4601 rm -f conftest.err conftest.
$ac_ext
4603 # OK, works on sane cases. Now check whether nonexistent headers
4604 # can be detected and how.
4605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4607 #include <ac_nonexistent.h>
4609 if ac_fn_c_try_cpp
"$LINENO"; then :
4610 # Broken: success on invalid input.
4613 # Passes both tests.
4617 rm -f conftest.err conftest.
$ac_ext
4620 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4621 rm -f conftest.err conftest.
$ac_ext
4622 if $ac_preproc_ok; then :
4625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4627 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4628 See \`config.log' for more details." "$LINENO" 5; }
4632 ac_cpp
='$CPP $CPPFLAGS'
4633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4639 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4640 if test "${ac_cv_path_GREP+set}" = set; then :
4641 $as_echo_n "(cached) " >&6
4643 if test -z "$GREP"; then
4644 ac_path_GREP_found
=false
4645 # Loop through the user's path and test for each of PROGNAME-LIST
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_prog
in grep ggrep
; do
4652 for ac_exec_ext
in '' $ac_executable_extensions; do
4653 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4654 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4655 # Check for GNU ac_path_GREP and select it if it is found.
4656 # Check for GNU $ac_path_GREP
4657 case `"$ac_path_GREP" --version 2>&1` in
4659 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4662 $as_echo_n 0123456789 >"conftest.in"
4665 cat "conftest.in" "conftest.in" >"conftest.tmp"
4666 mv "conftest.tmp" "conftest.in"
4667 cp "conftest.in" "conftest.nl"
4668 $as_echo 'GREP' >> "conftest.nl"
4669 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4670 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4671 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4672 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4673 # Best one so far, save it but keep looking for a better one
4674 ac_cv_path_GREP
="$ac_path_GREP"
4675 ac_path_GREP_max
=$ac_count
4677 # 10*(2^10) chars as input seems more than enough
4678 test $ac_count -gt 10 && break
4680 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4683 $ac_path_GREP_found && break 3
4688 if test -z "$ac_cv_path_GREP"; then
4689 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4692 ac_cv_path_GREP
=$GREP
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4697 $as_echo "$ac_cv_path_GREP" >&6; }
4698 GREP
="$ac_cv_path_GREP"
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4702 $as_echo_n "checking for egrep... " >&6; }
4703 if test "${ac_cv_path_EGREP+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4707 then ac_cv_path_EGREP
="$GREP -E"
4709 if test -z "$EGREP"; then
4710 ac_path_EGREP_found
=false
4711 # Loop through the user's path and test for each of PROGNAME-LIST
4712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4713 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4716 test -z "$as_dir" && as_dir
=.
4717 for ac_prog
in egrep; do
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4720 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4721 # Check for GNU ac_path_EGREP and select it if it is found.
4722 # Check for GNU $ac_path_EGREP
4723 case `"$ac_path_EGREP" --version 2>&1` in
4725 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4728 $as_echo_n 0123456789 >"conftest.in"
4731 cat "conftest.in" "conftest.in" >"conftest.tmp"
4732 mv "conftest.tmp" "conftest.in"
4733 cp "conftest.in" "conftest.nl"
4734 $as_echo 'EGREP' >> "conftest.nl"
4735 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4736 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4737 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4738 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4739 # Best one so far, save it but keep looking for a better one
4740 ac_cv_path_EGREP
="$ac_path_EGREP"
4741 ac_path_EGREP_max
=$ac_count
4743 # 10*(2^10) chars as input seems more than enough
4744 test $ac_count -gt 10 && break
4746 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4749 $ac_path_EGREP_found && break 3
4754 if test -z "$ac_cv_path_EGREP"; then
4755 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4758 ac_cv_path_EGREP
=$EGREP
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4764 $as_echo "$ac_cv_path_EGREP" >&6; }
4765 EGREP
="$ac_cv_path_EGREP"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4769 $as_echo_n "checking for ANSI C header files... " >&6; }
4770 if test "${ac_cv_header_stdc+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4788 if ac_fn_c_try_compile
"$LINENO"; then :
4789 ac_cv_header_stdc
=yes
4791 ac_cv_header_stdc
=no
4793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4795 if test $ac_cv_header_stdc = yes; then
4796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4803 $EGREP "memchr" >/dev
/null
2>&1; then :
4806 ac_cv_header_stdc
=no
4812 if test $ac_cv_header_stdc = yes; then
4813 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4820 $EGREP "free" >/dev
/null
2>&1; then :
4823 ac_cv_header_stdc
=no
4829 if test $ac_cv_header_stdc = yes; then
4830 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4831 if test "$cross_compiling" = yes; then :
4834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4838 #if ((' ' & 0x0FF) == 0x020)
4839 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4840 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4842 # define ISLOWER(c) \
4843 (('a' <= (c) && (c) <= 'i') \
4844 || ('j' <= (c) && (c) <= 'r') \
4845 || ('s' <= (c) && (c) <= 'z'))
4846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4854 for (i = 0; i < 256; i++)
4855 if (XOR (islower (i), ISLOWER (i))
4856 || toupper (i) != TOUPPER (i))
4861 if ac_fn_c_try_run
"$LINENO"; then :
4864 ac_cv_header_stdc
=no
4866 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4867 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4873 $as_echo "$ac_cv_header_stdc" >&6; }
4874 if test $ac_cv_header_stdc = yes; then
4876 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4881 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4882 inttypes.h stdint.h unistd.h
4884 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4885 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4887 eval as_val
=\$
$as_ac_Header
4888 if test "x$as_val" = x
""yes; then :
4889 cat >>confdefs.h
<<_ACEOF
4890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4899 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4900 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4907 if test "$MINIX" = yes; then
4909 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4912 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4915 $as_echo "#define _MINIX 1" >>confdefs.h
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4921 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4922 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4928 # define __EXTENSIONS__ 1
4929 $ac_includes_default
4938 if ac_fn_c_try_compile
"$LINENO"; then :
4939 ac_cv_safe_to_define___extensions__
=yes
4941 ac_cv_safe_to_define___extensions__
=no
4943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4946 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4947 test $ac_cv_safe_to_define___extensions__ = yes &&
4948 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4950 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4952 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4954 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4956 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4961 # Check whether --enable-largefile was given.
4962 if test "${enable_largefile+set}" = set; then :
4963 enableval
=$enable_largefile;
4966 if test "$enable_largefile" != no
; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4969 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4970 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 ac_cv_sys_largefile_CC
=no
4974 if test "$GCC" != yes; then
4977 # IRIX 6.2 and later do not support large files by default,
4978 # so use the C compiler's -n32 option if that helps.
4979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4981 #include <sys/types.h>
4982 /* Check that off_t can represent 2**63 - 1 correctly.
4983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4984 since some C++ compilers masquerading as C compilers
4985 incorrectly reject 9223372036854775807. */
4986 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4988 && LARGE_OFF_T % 2147483647 == 1)
4998 if ac_fn_c_try_compile
"$LINENO"; then :
5001 rm -f core conftest.err conftest.
$ac_objext
5003 if ac_fn_c_try_compile
"$LINENO"; then :
5004 ac_cv_sys_largefile_CC
=' -n32'; break
5006 rm -f core conftest.err conftest.
$ac_objext
5010 rm -f conftest.
$ac_ext
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5014 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5015 if test "$ac_cv_sys_largefile_CC" != no
; then
5016 CC
=$CC$ac_cv_sys_largefile_CC
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5020 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5021 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5022 $as_echo_n "(cached) " >&6
5025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <sys/types.h>
5028 /* Check that off_t can represent 2**63 - 1 correctly.
5029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5030 since some C++ compilers masquerading as C compilers
5031 incorrectly reject 9223372036854775807. */
5032 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5034 && LARGE_OFF_T % 2147483647 == 1)
5044 if ac_fn_c_try_compile
"$LINENO"; then :
5045 ac_cv_sys_file_offset_bits
=no
; break
5047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5050 #define _FILE_OFFSET_BITS 64
5051 #include <sys/types.h>
5052 /* Check that off_t can represent 2**63 - 1 correctly.
5053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5054 since some C++ compilers masquerading as C compilers
5055 incorrectly reject 9223372036854775807. */
5056 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5058 && LARGE_OFF_T % 2147483647 == 1)
5068 if ac_fn_c_try_compile
"$LINENO"; then :
5069 ac_cv_sys_file_offset_bits
=64; break
5071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5072 ac_cv_sys_file_offset_bits
=unknown
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5077 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5078 case $ac_cv_sys_file_offset_bits in #(
5081 cat >>confdefs.h
<<_ACEOF
5082 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5087 if test $ac_cv_sys_file_offset_bits = unknown
; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5089 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5090 if test "${ac_cv_sys_large_files+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5096 #include <sys/types.h>
5097 /* Check that off_t can represent 2**63 - 1 correctly.
5098 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5099 since some C++ compilers masquerading as C compilers
5100 incorrectly reject 9223372036854775807. */
5101 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5102 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5103 && LARGE_OFF_T % 2147483647 == 1)
5113 if ac_fn_c_try_compile
"$LINENO"; then :
5114 ac_cv_sys_large_files
=no
; break
5116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5119 #define _LARGE_FILES 1
5120 #include <sys/types.h>
5121 /* Check that off_t can represent 2**63 - 1 correctly.
5122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5123 since some C++ compilers masquerading as C compilers
5124 incorrectly reject 9223372036854775807. */
5125 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5127 && LARGE_OFF_T % 2147483647 == 1)
5137 if ac_fn_c_try_compile
"$LINENO"; then :
5138 ac_cv_sys_large_files
=1; break
5140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5141 ac_cv_sys_large_files
=unknown
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5146 $as_echo "$ac_cv_sys_large_files" >&6; }
5147 case $ac_cv_sys_large_files in #(
5150 cat >>confdefs.h
<<_ACEOF
5151 #define _LARGE_FILES $ac_cv_sys_large_files
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5164 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5169 macro_version
='2.2.6'
5170 macro_revision
='1.3012'
5184 ltmain
="$ac_aux_dir/ltmain.sh"
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5187 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5188 if test "${ac_cv_path_SED+set}" = set; then :
5189 $as_echo_n "(cached) " >&6
5191 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5192 for ac_i
in 1 2 3 4 5 6 7; do
5193 ac_script
="$ac_script$as_nl$ac_script"
5195 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5196 { ac_script
=; unset ac_script
;}
5197 if test -z "$SED"; then
5198 ac_path_SED_found
=false
5199 # Loop through the user's path and test for each of PROGNAME-LIST
5200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5204 test -z "$as_dir" && as_dir
=.
5205 for ac_prog
in sed gsed
; do
5206 for ac_exec_ext
in '' $ac_executable_extensions; do
5207 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5208 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5209 # Check for GNU ac_path_SED and select it if it is found.
5210 # Check for GNU $ac_path_SED
5211 case `"$ac_path_SED" --version 2>&1` in
5213 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5216 $as_echo_n 0123456789 >"conftest.in"
5219 cat "conftest.in" "conftest.in" >"conftest.tmp"
5220 mv "conftest.tmp" "conftest.in"
5221 cp "conftest.in" "conftest.nl"
5222 $as_echo '' >> "conftest.nl"
5223 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5224 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5225 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5226 if test $ac_count -gt ${ac_path_SED_max-0}; then
5227 # Best one so far, save it but keep looking for a better one
5228 ac_cv_path_SED
="$ac_path_SED"
5229 ac_path_SED_max
=$ac_count
5231 # 10*(2^10) chars as input seems more than enough
5232 test $ac_count -gt 10 && break
5234 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5237 $ac_path_SED_found && break 3
5242 if test -z "$ac_cv_path_SED"; then
5243 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5251 $as_echo "$ac_cv_path_SED" >&6; }
5252 SED
="$ac_cv_path_SED"
5255 test -z "$SED" && SED
=sed
5256 Xsed
="$SED -e 1s/^X//"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5269 $as_echo_n "checking for fgrep... " >&6; }
5270 if test "${ac_cv_path_FGREP+set}" = set; then :
5271 $as_echo_n "(cached) " >&6
5273 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5274 then ac_cv_path_FGREP
="$GREP -F"
5276 if test -z "$FGREP"; then
5277 ac_path_FGREP_found
=false
5278 # Loop through the user's path and test for each of PROGNAME-LIST
5279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5283 test -z "$as_dir" && as_dir
=.
5284 for ac_prog
in fgrep
; do
5285 for ac_exec_ext
in '' $ac_executable_extensions; do
5286 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5287 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5288 # Check for GNU ac_path_FGREP and select it if it is found.
5289 # Check for GNU $ac_path_FGREP
5290 case `"$ac_path_FGREP" --version 2>&1` in
5292 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5295 $as_echo_n 0123456789 >"conftest.in"
5298 cat "conftest.in" "conftest.in" >"conftest.tmp"
5299 mv "conftest.tmp" "conftest.in"
5300 cp "conftest.in" "conftest.nl"
5301 $as_echo 'FGREP' >> "conftest.nl"
5302 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5303 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5304 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5305 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5306 # Best one so far, save it but keep looking for a better one
5307 ac_cv_path_FGREP
="$ac_path_FGREP"
5308 ac_path_FGREP_max
=$ac_count
5310 # 10*(2^10) chars as input seems more than enough
5311 test $ac_count -gt 10 && break
5313 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5316 $ac_path_FGREP_found && break 3
5321 if test -z "$ac_cv_path_FGREP"; then
5322 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5325 ac_cv_path_FGREP
=$FGREP
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5331 $as_echo "$ac_cv_path_FGREP" >&6; }
5332 FGREP
="$ac_cv_path_FGREP"
5335 test -z "$GREP" && GREP
=grep
5355 # Check whether --with-gnu-ld was given.
5356 if test "${with_gnu_ld+set}" = set; then :
5357 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5363 if test "$GCC" = yes; then
5364 # Check if gcc -print-prog-name=ld gives a path.
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5366 $as_echo_n "checking for ld used by $CC... " >&6; }
5369 # gcc leaves a trailing carriage return which upsets mingw
5370 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5372 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5375 # Accept absolute paths.
5377 re_direlt
='/[^/][^/]*/\.\./'
5378 # Canonicalize the pathname of ld
5379 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5380 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5381 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5383 test -z "$LD" && LD
="$ac_prog"
5386 # If it fails, then pretend we aren't using GCC.
5390 # If it is relative, then search for the first ld in PATH.
5394 elif test "$with_gnu_ld" = yes; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5396 $as_echo_n "checking for GNU ld... " >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5399 $as_echo_n "checking for non-GNU ld... " >&6; }
5401 if test "${lt_cv_path_LD+set}" = set; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -z "$LD"; then
5405 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5406 for ac_dir
in $PATH; do
5408 test -z "$ac_dir" && ac_dir
=.
5409 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5410 lt_cv_path_LD
="$ac_dir/$ac_prog"
5411 # Check to see if the program is GNU ld. I'd rather use --version,
5412 # but apparently some variants of GNU ld only accept -v.
5413 # Break only if it was the GNU/non-GNU ld that we prefer.
5414 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5415 *GNU
* |
*'with BFD'*)
5416 test "$with_gnu_ld" != no
&& break
5419 test "$with_gnu_ld" != yes && break
5426 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5431 if test -n "$LD"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5433 $as_echo "$LD" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5438 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5440 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5441 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5445 case `$LD -v 2>&1 </dev/null` in
5446 *GNU
* |
*'with BFD'*)
5447 lt_cv_prog_gnu_ld
=yes
5450 lt_cv_prog_gnu_ld
=no
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5455 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5456 with_gnu_ld
=$lt_cv_prog_gnu_ld
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5467 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5468 if test "${lt_cv_path_NM+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5471 if test -n "$NM"; then
5472 # Let the user override the test.
5475 lt_nm_to_check
="${ac_tool_prefix}nm"
5476 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5477 lt_nm_to_check
="$lt_nm_to_check nm"
5479 for lt_tmp_nm
in $lt_nm_to_check; do
5480 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5481 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5483 test -z "$ac_dir" && ac_dir
=.
5484 tmp_nm
="$ac_dir/$lt_tmp_nm"
5485 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5486 # Check to see if the nm accepts a BSD-compat flag.
5487 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5488 # nm: unknown option "B" ignored
5489 # Tru64's nm complains that /dev/null is an invalid object file
5490 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5491 */dev
/null
* |
*'Invalid file or object type'*)
5492 lt_cv_path_NM
="$tmp_nm -B"
5496 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5498 lt_cv_path_NM
="$tmp_nm -p"
5502 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5503 continue # so that we can try to find one that supports BSD flags
5512 : ${lt_cv_path_NM=no}
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5516 $as_echo "$lt_cv_path_NM" >&6; }
5517 if test "$lt_cv_path_NM" != "no"; then
5520 # Didn't find any BSD compatible name lister, look for dumpbin.
5521 if test -n "$ac_tool_prefix"; then
5522 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5525 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5529 $as_echo_n "(cached) " >&6
5531 if test -n "$DUMPBIN"; then
5532 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir
=.
5539 for ac_exec_ext
in '' $ac_executable_extensions; do
5540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551 DUMPBIN
=$ac_cv_prog_DUMPBIN
5552 if test -n "$DUMPBIN"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5554 $as_echo "$DUMPBIN" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5561 test -n "$DUMPBIN" && break
5564 if test -z "$DUMPBIN"; then
5565 ac_ct_DUMPBIN
=$DUMPBIN
5566 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5568 # Extract the first word of "$ac_prog", so it can be a program name with args.
5569 set dummy
$ac_prog; ac_word
=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5573 $as_echo_n "(cached) " >&6
5575 if test -n "$ac_ct_DUMPBIN"; then
5576 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5582 test -z "$as_dir" && as_dir
=.
5583 for ac_exec_ext
in '' $ac_executable_extensions; do
5584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5596 if test -n "$ac_ct_DUMPBIN"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5598 $as_echo "$ac_ct_DUMPBIN" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5605 test -n "$ac_ct_DUMPBIN" && break
5608 if test "x$ac_ct_DUMPBIN" = x
; then
5611 case $cross_compiling:$ac_tool_warned in
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5615 ac_tool_warned
=yes ;;
5617 DUMPBIN
=$ac_ct_DUMPBIN
5622 if test "$DUMPBIN" != ":"; then
5626 test -z "$NM" && NM
=nm
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5634 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5635 if test "${lt_cv_nm_interface+set}" = set; then :
5636 $as_echo_n "(cached) " >&6
5638 lt_cv_nm_interface
="BSD nm"
5639 echo "int some_variable = 0;" > conftest.
$ac_ext
5640 (eval echo "\"\$as_me:5640: $ac_compile\"" >&5)
5641 (eval "$ac_compile" 2>conftest.err
)
5642 cat conftest.err
>&5
5643 (eval echo "\"\$as_me:5643: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5644 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5645 cat conftest.err
>&5
5646 (eval echo "\"\$as_me:5646: output\"" >&5)
5647 cat conftest.out
>&5
5648 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5649 lt_cv_nm_interface
="MS dumpbin"
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5654 $as_echo "$lt_cv_nm_interface" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5657 $as_echo_n "checking whether ln -s works... " >&6; }
5659 if test "$LN_S" = "ln -s"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5661 $as_echo "yes" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5664 $as_echo "no, using $LN_S" >&6; }
5667 # find the maximum length of command line arguments
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5669 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5670 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5671 $as_echo_n "(cached) " >&6
5678 # On DJGPP, this test can blow up pretty badly due to problems in libc
5679 # (any single argument exceeding 2000 bytes causes a buffer overrun
5680 # during glob expansion). Even if it were fixed, the result of this
5681 # check would be larger than it should be.
5682 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5686 # Under GNU Hurd, this test is not required because there is
5687 # no limit to the length of command line arguments.
5688 # Libtool will interpret -1 as no limit whatsoever
5689 lt_cv_sys_max_cmd_len
=-1;
5692 cygwin
* | mingw
* | cegcc
*)
5693 # On Win9x/ME, this test blows up -- it succeeds, but takes
5694 # about 5 minutes as the teststring grows exponentially.
5695 # Worse, since 9x/ME are not pre-emptively multitasking,
5696 # you end up with a "frozen" computer, even though with patience
5697 # the test eventually succeeds (with a max line length of 256k).
5698 # Instead, let's just punt: use the minimum linelength reported by
5699 # all of the supported platforms: 8192 (on NT/2K/XP).
5700 lt_cv_sys_max_cmd_len
=8192;
5704 # On AmigaOS with pdksh, this test takes hours, literally.
5705 # So we just punt and use a minimum line length of 8192.
5706 lt_cv_sys_max_cmd_len
=8192;
5709 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5710 # This has been around since 386BSD, at least. Likely further.
5711 if test -x /sbin
/sysctl
; then
5712 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5713 elif test -x /usr
/sbin
/sysctl
; then
5714 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5716 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5718 # And add a safety zone
5719 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5720 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5724 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5725 lt_cv_sys_max_cmd_len
=196608
5729 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5730 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5731 # nice to cause kernel panics so lets avoid the loop below.
5732 # First set a reasonable default.
5733 lt_cv_sys_max_cmd_len
=16384
5735 if test -x /sbin
/sysconfig
; then
5736 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5737 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5742 lt_cv_sys_max_cmd_len
=102400
5744 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5745 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5746 if test -n "$kargmax"; then
5747 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5749 lt_cv_sys_max_cmd_len
=32768
5753 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5754 if test -n "$lt_cv_sys_max_cmd_len"; then
5755 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5756 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5758 # Make teststring a little bigger before we do anything with it.
5759 # a 1K string should be a reasonable start.
5760 for i
in 1 2 3 4 5 6 7 8 ; do
5761 teststring
=$teststring$teststring
5763 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5764 # If test is not a shell built-in, we'll probably end up computing a
5765 # maximum length that is only half of the actual maximum length, but
5767 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5768 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5769 test $i != 17 # 1/2 MB should be enough
5772 teststring
=$teststring$teststring
5774 # Only check the string length outside the loop.
5775 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5777 # Add a significant safety factor because C++ compilers can tack on
5778 # massive amounts of additional arguments before passing them to the
5779 # linker. It appears as though 1/2 is a usable value.
5780 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5787 if test -n $lt_cv_sys_max_cmd_len ; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5789 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5792 $as_echo "none" >&6; }
5794 max_cmd_len
=$lt_cv_sys_max_cmd_len
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5806 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5807 # Try some XSI features
5810 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5812 && eval 'test $(( 1 + 1 )) -eq 2 \
5813 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5816 $as_echo "$xsi_shell" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5820 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5822 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5824 && lt_shell_append=yes
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5826 $as_echo "$lt_shell_append" >&6; }
5829 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5839 # test EBCDIC or ASCII
5840 case `echo X|tr X '\101'` in
5841 A) # ASCII based system
5842 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5843 lt_SP2NL='tr \040 \012'
5844 lt_NL2SP='tr \015\012 \040\040'
5846 *) # EBCDIC based system
5847 lt_SP2NL='tr \100 \n'
5848 lt_NL2SP='tr \r\n \100\100'
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5861 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5862 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5863 $as_echo_n "(cached
) " >&6
5865 lt_cv_ld_reload_flag='-r'
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5868 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5869 reload_flag=$lt_cv_ld_reload_flag
5870 case $reload_flag in
5872 *) reload_flag=" $reload_flag" ;;
5874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5877 if test "$GCC" = yes; then
5878 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5880 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5893 if test -n "$ac_tool_prefix"; then
5894 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5895 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5897 $as_echo_n "checking
for $ac_word...
" >&6; }
5898 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5899 $as_echo_n "(cached
) " >&6
5901 if test -n "$OBJDUMP"; then
5902 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5921 OBJDUMP=$ac_cv_prog_OBJDUMP
5922 if test -n "$OBJDUMP"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5924 $as_echo "$OBJDUMP" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5927 $as_echo "no
" >&6; }
5932 if test -z "$ac_cv_prog_OBJDUMP"; then
5933 ac_ct_OBJDUMP=$OBJDUMP
5934 # Extract the first word of "objdump
", so it can be a program name with args.
5935 set dummy objdump; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5937 $as_echo_n "checking
for $ac_word...
" >&6; }
5938 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5939 $as_echo_n "(cached
) " >&6
5941 if test -n "$ac_ct_OBJDUMP"; then
5942 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5961 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5962 if test -n "$ac_ct_OBJDUMP"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5964 $as_echo "$ac_ct_OBJDUMP" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5967 $as_echo "no
" >&6; }
5970 if test "x
$ac_ct_OBJDUMP" = x; then
5973 case $cross_compiling:$ac_tool_warned in
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5976 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5977 ac_tool_warned=yes ;;
5979 OBJDUMP=$ac_ct_OBJDUMP
5982 OBJDUMP="$ac_cv_prog_OBJDUMP"
5985 test -z "$OBJDUMP" && OBJDUMP=objdump
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5996 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5997 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5998 $as_echo_n "(cached
) " >&6
6000 lt_cv_file_magic_cmd='$MAGIC_CMD'
6001 lt_cv_file_magic_test_file=
6002 lt_cv_deplibs_check_method='unknown'
6003 # Need to set the preceding variable on all platforms that support
6004 # interlibrary dependencies.
6005 # 'none' -- dependencies not supported.
6006 # `unknown' -- same as none, but documents that we really don't know.
6007 # 'pass_all' -- all dependencies passed with no checks.
6008 # 'test_compile' -- check by making test program.
6009 # 'file_magic [[regex]]' -- check by looking for files in library path
6010 # which responds to the $file_magic_cmd with a given extended regex.
6011 # If you have `file' or equivalent on your system and you're not sure
6012 # whether `pass_all' will *always* work, you probably want this one.
6016 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_deplibs_check_method=pass_all
6024 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6025 lt_cv_file_magic_cmd='/usr/bin/file -L'
6026 lt_cv_file_magic_test_file=/shlib/libc.so
6030 # func_win32_libid is a shell function defined in ltmain.sh
6031 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6032 lt_cv_file_magic_cmd='func_win32_libid'
6036 # Base MSYS/MinGW do not provide the 'file' command needed by
6037 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6038 # unless we find 'file', for example because we are cross-compiling.
6039 if ( file / ) >/dev/null 2>&1; then
6040 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6041 lt_cv_file_magic_cmd='func_win32_libid'
6043 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6044 lt_cv_file_magic_cmd='$OBJDUMP -f'
6049 # use the weaker test based on 'objdump'. See mingw*.
6050 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6051 lt_cv_file_magic_cmd='$OBJDUMP -f'
6054 darwin* | rhapsody*)
6055 lt_cv_deplibs_check_method=pass_all
6058 freebsd* | dragonfly*)
6059 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6062 # Not sure whether the presence of OpenBSD here was a mistake.
6063 # Let's accept both of them until this is cleared up.
6064 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6065 lt_cv_file_magic_cmd=/usr/bin/file
6066 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6070 lt_cv_deplibs_check_method=pass_all
6075 lt_cv_deplibs_check_method=pass_all
6078 hpux10.20* | hpux11*)
6079 lt_cv_file_magic_cmd=/usr/bin/file
6082 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6083 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6086 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]'
6087 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6090 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6091 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6097 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6098 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6101 irix5* | irix6* | nonstopux*)
6103 *-32|*"-32 ") libmagic=32-bit;;
6104 *-n32|*"-n32 ") libmagic=N32;;
6105 *-64|*"-64 ") libmagic=64-bit;;
6106 *) libmagic=never-match;;
6108 lt_cv_deplibs_check_method=pass_all
6111 # This must be Linux ELF.
6112 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6113 lt_cv_deplibs_check_method=pass_all
6117 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6118 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6120 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6125 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6126 lt_cv_file_magic_cmd=/usr/bin/file
6127 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6131 lt_cv_deplibs_check_method=pass_all
6135 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6136 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6138 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6142 osf3* | osf4* | osf5*)
6143 lt_cv_deplibs_check_method=pass_all
6147 lt_cv_deplibs_check_method=pass_all
6151 lt_cv_deplibs_check_method=pass_all
6154 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6155 lt_cv_deplibs_check_method=pass_all
6159 case $host_vendor in
6161 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]'
6162 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6165 lt_cv_deplibs_check_method=pass_all
6168 lt_cv_file_magic_cmd='/bin/file'
6169 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6172 lt_cv_file_magic_cmd='/bin/file'
6173 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6174 lt_cv_file_magic_test_file=/lib/libc.so
6177 lt_cv_deplibs_check_method=pass_all
6180 lt_cv_deplibs_check_method=pass_all
6186 lt_cv_deplibs_check_method=pass_all
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6192 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6193 file_magic_cmd=$lt_cv_file_magic_cmd
6194 deplibs_check_method=$lt_cv_deplibs_check_method
6195 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6208 if test -n "$ac_tool_prefix"; then
6209 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6210 set dummy ${ac_tool_prefix}ar; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6212 $as_echo_n "checking
for $ac_word...
" >&6; }
6213 if test "${ac_cv_prog_AR+set}" = set; then :
6214 $as_echo_n "(cached
) " >&6
6216 if test -n "$AR"; then
6217 ac_cv_prog_AR="$AR" # Let the user override the test.
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_AR="${ac_tool_prefix}ar"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6237 if test -n "$AR"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6239 $as_echo "$AR" >&6; }
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6242 $as_echo "no
" >&6; }
6247 if test -z "$ac_cv_prog_AR"; then
6249 # Extract the first word of "ar", so it can be a program name with args.
6250 set dummy ar; ac_word=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6252 $as_echo_n "checking
for $ac_word...
" >&6; }
6253 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6254 $as_echo_n "(cached
) " >&6
6256 if test -n "$ac_ct_AR"; then
6257 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6266 ac_cv_prog_ac_ct_AR="ar"
6267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6276 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6277 if test -n "$ac_ct_AR"; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6279 $as_echo "$ac_ct_AR" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6282 $as_echo "no
" >&6; }
6285 if test "x
$ac_ct_AR" = x; then
6288 case $cross_compiling:$ac_tool_warned in
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6291 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6292 ac_tool_warned=yes ;;
6300 test -z "$AR" && AR=ar
6301 test -z "$AR_FLAGS" && AR_FLAGS=cru
6313 if test -n "$ac_tool_prefix"; then
6314 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6315 set dummy ${ac_tool_prefix}strip; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6317 $as_echo_n "checking
for $ac_word...
" >&6; }
6318 if test "${ac_cv_prog_STRIP+set}" = set; then :
6319 $as_echo_n "(cached
) " >&6
6321 if test -n "$STRIP"; then
6322 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6341 STRIP=$ac_cv_prog_STRIP
6342 if test -n "$STRIP"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6344 $as_echo "$STRIP" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6347 $as_echo "no
" >&6; }
6352 if test -z "$ac_cv_prog_STRIP"; then
6354 # Extract the first word of "strip
", so it can be a program name with args.
6355 set dummy strip; ac_word=$2
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6357 $as_echo_n "checking
for $ac_word...
" >&6; }
6358 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6359 $as_echo_n "(cached
) " >&6
6361 if test -n "$ac_ct_STRIP"; then
6362 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6371 ac_cv_prog_ac_ct_STRIP="strip
"
6372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6381 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6382 if test -n "$ac_ct_STRIP"; then
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6384 $as_echo "$ac_ct_STRIP" >&6; }
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6387 $as_echo "no
" >&6; }
6390 if test "x
$ac_ct_STRIP" = x; then
6393 case $cross_compiling:$ac_tool_warned in
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6396 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6397 ac_tool_warned=yes ;;
6402 STRIP="$ac_cv_prog_STRIP"
6405 test -z "$STRIP" && STRIP=:
6412 if test -n "$ac_tool_prefix"; then
6413 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6414 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6416 $as_echo_n "checking
for $ac_word...
" >&6; }
6417 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6418 $as_echo_n "(cached
) " >&6
6420 if test -n "$RANLIB"; then
6421 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6430 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6440 RANLIB=$ac_cv_prog_RANLIB
6441 if test -n "$RANLIB"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6443 $as_echo "$RANLIB" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6446 $as_echo "no
" >&6; }
6451 if test -z "$ac_cv_prog_RANLIB"; then
6452 ac_ct_RANLIB=$RANLIB
6453 # Extract the first word of "ranlib
", so it can be a program name with args.
6454 set dummy ranlib; ac_word=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6456 $as_echo_n "checking
for $ac_word...
" >&6; }
6457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6458 $as_echo_n "(cached
) " >&6
6460 if test -n "$ac_ct_RANLIB"; then
6461 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6467 test -z "$as_dir" && as_dir=.
6468 for ac_exec_ext in '' $ac_executable_extensions; do
6469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6470 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6480 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6481 if test -n "$ac_ct_RANLIB"; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6483 $as_echo "$ac_ct_RANLIB" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6486 $as_echo "no
" >&6; }
6489 if test "x
$ac_ct_RANLIB" = x; then
6492 case $cross_compiling:$ac_tool_warned in
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6495 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6496 ac_tool_warned=yes ;;
6498 RANLIB=$ac_ct_RANLIB
6501 RANLIB="$ac_cv_prog_RANLIB"
6504 test -z "$RANLIB" && RANLIB=:
6511 # Determine commands to create old-style static archives.
6512 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6513 old_postinstall_cmds='chmod 644 $oldlib'
6514 old_postuninstall_cmds=
6516 if test -n "$RANLIB"; then
6519 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6522 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6525 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6561 # If no C compiler was specified, use CC.
6564 # If no C compiler flags were specified, use CFLAGS.
6565 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6567 # Allow CC to be a program name with arguments.
6571 # Check for command to grab the raw symbol name followed by C symbol from nm.
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6573 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6574 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6575 $as_echo_n "(cached
) " >&6
6578 # These are sane defaults that work on at least a few old systems.
6579 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6581 # Character class describing NM global symbol codes.
6582 symcode='[BCDEGRST]'
6584 # Regexp to match symbols that can be accessed directly from C.
6585 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6587 # Define system-specific variables.
6592 cygwin* | mingw* | pw32* | cegcc*)
6593 symcode='[ABCDGISTW]'
6596 if test "$host_cpu" = ia64; then
6597 symcode='[ABCDEGRST]'
6601 symcode='[BCDEGRST]'
6604 symcode='[BCDEGQRST]'
6615 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6623 # If we're using GNU nm, then use its standard symbol codes.
6624 case `$NM -V 2>&1` in
6625 *GNU* | *'with BFD'*)
6626 symcode='[ABCDGIRSTW]' ;;
6629 # Transform an extracted symbol line into a proper C declaration.
6630 # Some systems (esp. on ia64) link data and code symbols differently,
6631 # so use this general approach.
6632 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6634 # Transform an extracted symbol line into symbol name and symbol address
6635 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6636 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'"
6638 # Handle CRLF in mingw tool chain
6642 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6646 # Try without a prefix underscore, then with it.
6647 for ac_symprfx in "" "_
"; do
6649 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6650 symxfrm="\\1 $ac_symprfx\\2 \\2"
6652 # Write the raw and C identifiers.
6653 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6654 # Fake it for dumpbin and say T for any non-static function
6655 # and D for any global variable.
6656 # Also find C++ and __fastcall symbols from MSVC++,
6657 # which start with @ or ?.
6658 lt_cv_sys_global_symbol_pipe="$AWK '"\
6659 " {last_section=section; section=\$ 3};"\
6660 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6661 " \$ 0!~/External *\|/{next};"\
6662 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6663 " {if(hide[section]) next};"\
6664 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6665 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6666 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6667 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6668 " ' prfx
=^
$ac_symprfx"
6670 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6673 # Check to see that the pipe works correctly.
6677 cat > conftest.$ac_ext <<_LT_EOF
6682 void nm_test_func(void);
6683 void nm_test_func(void){}
6687 int main(){nm_test_var='a';nm_test_func();return(0);}
6690 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6691 (eval $ac_compile) 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6694 test $ac_status = 0; }; then
6695 # Now try to grab the symbols.
6697 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6698 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6700 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6701 test $ac_status = 0; } && test -s "$nlist"; then
6702 # Try sorting and uniquifying the output.
6703 if sort "$nlist" | uniq > "$nlist"T; then
6704 mv -f "$nlist"T "$nlist"
6709 # Make sure that we snagged all the symbols we need.
6710 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6711 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6712 cat <<_LT_EOF > conftest.$ac_ext
6718 # Now generate the symbol file.
6719 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6721 cat <<_LT_EOF >> conftest.$ac_ext
6723 /* The mapping between symbol names and symbols. */
6728 lt__PROGRAM__LTX_preloaded_symbols[] =
6730 { "@PROGRAM@
", (void *) 0 },
6732 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6733 cat <<\_LT_EOF >> conftest.$ac_ext
6737 /* This works around a problem in FreeBSD linker */
6738 #ifdef FREEBSD_WORKAROUND
6739 static const void *lt_preloaded_setup() {
6740 return lt__PROGRAM__LTX_preloaded_symbols;
6748 # Now try linking the two files.
6749 mv conftest.$ac_objext conftstm.$ac_objext
6750 lt_save_LIBS="$LIBS"
6751 lt_save_CFLAGS="$CFLAGS"
6752 LIBS="conftstm.
$ac_objext"
6753 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6754 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6755 (eval $ac_link) 2>&5
6757 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6758 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6761 LIBS="$lt_save_LIBS"
6762 CFLAGS="$lt_save_CFLAGS"
6764 echo "cannot
find nm_test_func
in $nlist" >&5
6767 echo "cannot
find nm_test_var
in $nlist" >&5
6770 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6773 echo "$progname: failed program was
:" >&5
6774 cat conftest.$ac_ext >&5
6776 rm -rf conftest* conftst*
6778 # Do not use the global_symbol_pipe unless it works.
6779 if test "$pipe_works" = yes; then
6782 lt_cv_sys_global_symbol_pipe=
6788 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6789 lt_cv_sys_global_symbol_to_cdecl=
6791 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6793 $as_echo "failed
" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6796 $as_echo "ok
" >&6; }
6820 # Check whether --enable-libtool-lock was given.
6821 if test "${enable_libtool_lock+set}" = set; then :
6822 enableval=$enable_libtool_lock;
6825 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6827 # Some flags need to be propagated to the compiler or linker for good
6831 # Find out which ABI we are using.
6832 echo 'int i;' > conftest.$ac_ext
6833 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6834 (eval $ac_compile) 2>&5
6836 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6837 test $ac_status = 0; }; then
6838 case `/usr/bin/file conftest.$ac_objext` in
6850 # Find out which ABI we are using.
6851 echo '#line 6851 "configure
"' > conftest.$ac_ext
6852 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6853 (eval $ac_compile) 2>&5
6855 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6856 test $ac_status = 0; }; then
6857 if test "$lt_cv_prog_gnu_ld" = yes; then
6858 case `/usr/bin/file conftest.$ac_objext` in
6860 LD="${LD-ld} -melf32bsmip"
6863 LD="${LD-ld} -melf32bmipn32"
6866 LD="${LD-ld} -melf64bmip"
6870 case `/usr/bin/file conftest.$ac_objext` in
6886 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6887 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6888 # Find out which ABI we are using.
6889 echo 'int i;' > conftest.$ac_ext
6890 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6891 (eval $ac_compile) 2>&5
6893 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6894 test $ac_status = 0; }; then
6895 case `/usr/bin/file conftest.o` in
6898 x86_64-*kfreebsd*-gnu)
6899 LD="${LD-ld} -m elf_i386_fbsd
"
6902 LD="${LD-ld} -m elf_i386
"
6904 ppc64-*linux*|powerpc64-*linux*)
6905 LD="${LD-ld} -m elf32ppclinux
"
6908 LD="${LD-ld} -m elf_s390
"
6911 LD="${LD-ld} -m elf32_sparc
"
6917 x86_64-*kfreebsd*-gnu)
6918 LD="${LD-ld} -m elf_x86_64_fbsd
"
6921 LD="${LD-ld} -m elf_x86_64
"
6923 ppc*-*linux*|powerpc*-*linux*)
6924 LD="${LD-ld} -m elf64ppc
"
6926 s390*-*linux*|s390*-*tpf*)
6927 LD="${LD-ld} -m elf64_s390
"
6930 LD="${LD-ld} -m elf64_sparc
"
6940 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6941 SAVE_CFLAGS="$CFLAGS"
6942 CFLAGS="$CFLAGS -belf"
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6944 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6945 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6946 $as_echo_n "(cached
) " >&6
6949 ac_cpp='$CPP $CPPFLAGS'
6950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6955 /* end confdefs.h. */
6965 if ac_fn_c_try_link "$LINENO"; then :
6966 lt_cv_cc_needs_belf=yes
6968 lt_cv_cc_needs_belf=no
6970 rm -f core conftest.err conftest.$ac_objext \
6971 conftest$ac_exeext conftest.$ac_ext
6973 ac_cpp='$CPP $CPPFLAGS'
6974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6980 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6981 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6982 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6983 CFLAGS="$SAVE_CFLAGS"
6987 # Find out which ABI we are using.
6988 echo 'int i;' > conftest.$ac_ext
6989 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6990 (eval $ac_compile) 2>&5
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6993 test $ac_status = 0; }; then
6994 case `/usr/bin/file conftest.o` in
6996 case $lt_cv_prog_gnu_ld in
6997 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6999 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7011 need_locks="$enable_libtool_lock"
7015 rhapsody* | darwin*)
7016 if test -n "$ac_tool_prefix"; then
7017 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7018 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7020 $as_echo_n "checking
for $ac_word...
" >&6; }
7021 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7022 $as_echo_n "(cached
) " >&6
7024 if test -n "$DSYMUTIL"; then
7025 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7044 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7045 if test -n "$DSYMUTIL"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7047 $as_echo "$DSYMUTIL" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7050 $as_echo "no
" >&6; }
7055 if test -z "$ac_cv_prog_DSYMUTIL"; then
7056 ac_ct_DSYMUTIL=$DSYMUTIL
7057 # Extract the first word of "dsymutil
", so it can be a program name with args.
7058 set dummy dsymutil; ac_word=$2
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7060 $as_echo_n "checking
for $ac_word...
" >&6; }
7061 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7062 $as_echo_n "(cached
) " >&6
7064 if test -n "$ac_ct_DSYMUTIL"; then
7065 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 test -z "$as_dir" && as_dir=.
7072 for ac_exec_ext in '' $ac_executable_extensions; do
7073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7074 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7084 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7085 if test -n "$ac_ct_DSYMUTIL"; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7087 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7090 $as_echo "no
" >&6; }
7093 if test "x
$ac_ct_DSYMUTIL" = x; then
7096 case $cross_compiling:$ac_tool_warned in
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7099 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7100 ac_tool_warned=yes ;;
7102 DSYMUTIL=$ac_ct_DSYMUTIL
7105 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7108 if test -n "$ac_tool_prefix"; then
7109 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7110 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7112 $as_echo_n "checking
for $ac_word...
" >&6; }
7113 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7114 $as_echo_n "(cached
) " >&6
7116 if test -n "$NMEDIT"; then
7117 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir=.
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7136 NMEDIT=$ac_cv_prog_NMEDIT
7137 if test -n "$NMEDIT"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7139 $as_echo "$NMEDIT" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7142 $as_echo "no
" >&6; }
7147 if test -z "$ac_cv_prog_NMEDIT"; then
7148 ac_ct_NMEDIT=$NMEDIT
7149 # Extract the first word of "nmedit
", so it can be a program name with args.
7150 set dummy nmedit; ac_word=$2
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7152 $as_echo_n "checking
for $ac_word...
" >&6; }
7153 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7154 $as_echo_n "(cached
) " >&6
7156 if test -n "$ac_ct_NMEDIT"; then
7157 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7163 test -z "$as_dir" && as_dir=.
7164 for ac_exec_ext in '' $ac_executable_extensions; do
7165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7166 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7176 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7177 if test -n "$ac_ct_NMEDIT"; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7179 $as_echo "$ac_ct_NMEDIT" >&6; }
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7182 $as_echo "no
" >&6; }
7185 if test "x
$ac_ct_NMEDIT" = x; then
7188 case $cross_compiling:$ac_tool_warned in
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7191 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7192 ac_tool_warned=yes ;;
7194 NMEDIT=$ac_ct_NMEDIT
7197 NMEDIT="$ac_cv_prog_NMEDIT"
7200 if test -n "$ac_tool_prefix"; then
7201 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7202 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7204 $as_echo_n "checking
for $ac_word...
" >&6; }
7205 if test "${ac_cv_prog_LIPO+set}" = set; then :
7206 $as_echo_n "(cached
) " >&6
7208 if test -n "$LIPO"; then
7209 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 test -z "$as_dir" && as_dir=.
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7228 LIPO=$ac_cv_prog_LIPO
7229 if test -n "$LIPO"; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7231 $as_echo "$LIPO" >&6; }
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7234 $as_echo "no
" >&6; }
7239 if test -z "$ac_cv_prog_LIPO"; then
7241 # Extract the first word of "lipo
", so it can be a program name with args.
7242 set dummy lipo; ac_word=$2
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7244 $as_echo_n "checking
for $ac_word...
" >&6; }
7245 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7246 $as_echo_n "(cached
) " >&6
7248 if test -n "$ac_ct_LIPO"; then
7249 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 test -z "$as_dir" && as_dir=.
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7258 ac_cv_prog_ac_ct_LIPO="lipo
"
7259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7268 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7269 if test -n "$ac_ct_LIPO"; then
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7271 $as_echo "$ac_ct_LIPO" >&6; }
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7274 $as_echo "no
" >&6; }
7277 if test "x
$ac_ct_LIPO" = x; then
7280 case $cross_compiling:$ac_tool_warned in
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7283 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7284 ac_tool_warned=yes ;;
7289 LIPO="$ac_cv_prog_LIPO"
7292 if test -n "$ac_tool_prefix"; then
7293 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7294 set dummy ${ac_tool_prefix}otool; ac_word=$2
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7296 $as_echo_n "checking
for $ac_word...
" >&6; }
7297 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7298 $as_echo_n "(cached
) " >&6
7300 if test -n "$OTOOL"; then
7301 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 test -z "$as_dir" && as_dir=.
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7320 OTOOL=$ac_cv_prog_OTOOL
7321 if test -n "$OTOOL"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7323 $as_echo "$OTOOL" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7326 $as_echo "no
" >&6; }
7331 if test -z "$ac_cv_prog_OTOOL"; then
7333 # Extract the first word of "otool
", so it can be a program name with args.
7334 set dummy otool; ac_word=$2
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7336 $as_echo_n "checking
for $ac_word...
" >&6; }
7337 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7338 $as_echo_n "(cached
) " >&6
7340 if test -n "$ac_ct_OTOOL"; then
7341 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 test -z "$as_dir" && as_dir=.
7348 for ac_exec_ext in '' $ac_executable_extensions; do
7349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7350 ac_cv_prog_ac_ct_OTOOL="otool
"
7351 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7360 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7361 if test -n "$ac_ct_OTOOL"; then
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7363 $as_echo "$ac_ct_OTOOL" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7366 $as_echo "no
" >&6; }
7369 if test "x
$ac_ct_OTOOL" = x; then
7372 case $cross_compiling:$ac_tool_warned in
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7375 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7376 ac_tool_warned=yes ;;
7381 OTOOL="$ac_cv_prog_OTOOL"
7384 if test -n "$ac_tool_prefix"; then
7385 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7386 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7388 $as_echo_n "checking
for $ac_word...
" >&6; }
7389 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7390 $as_echo_n "(cached
) " >&6
7392 if test -n "$OTOOL64"; then
7393 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 test -z "$as_dir" && as_dir=.
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7402 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7412 OTOOL64=$ac_cv_prog_OTOOL64
7413 if test -n "$OTOOL64"; then
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7415 $as_echo "$OTOOL64" >&6; }
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7418 $as_echo "no
" >&6; }
7423 if test -z "$ac_cv_prog_OTOOL64"; then
7424 ac_ct_OTOOL64=$OTOOL64
7425 # Extract the first word of "otool64
", so it can be a program name with args.
7426 set dummy otool64; ac_word=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7428 $as_echo_n "checking
for $ac_word...
" >&6; }
7429 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7430 $as_echo_n "(cached
) " >&6
7432 if test -n "$ac_ct_OTOOL64"; then
7433 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir=.
7440 for ac_exec_ext in '' $ac_executable_extensions; do
7441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7442 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7452 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7453 if test -n "$ac_ct_OTOOL64"; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7455 $as_echo "$ac_ct_OTOOL64" >&6; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7458 $as_echo "no
" >&6; }
7461 if test "x
$ac_ct_OTOOL64" = x; then
7464 case $cross_compiling:$ac_tool_warned in
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7467 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7468 ac_tool_warned=yes ;;
7470 OTOOL64=$ac_ct_OTOOL64
7473 OTOOL64="$ac_cv_prog_OTOOL64"
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7503 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7504 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7505 $as_echo_n "(cached
) " >&6
7507 lt_cv_apple_cc_single_mod=no
7508 if test -z "${LT_MULTI_MODULE}"; then
7509 # By default we will add the -single_module flag. You can override
7510 # by either setting the environment variable LT_MULTI_MODULE
7511 # non-empty at configure time, or by adding -multi_module to the
7513 rm -rf libconftest.dylib*
7514 echo "int foo
(void
){return 1;}" > conftest.c
7515 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7516 -dynamiclib -Wl,-single_module conftest.c
" >&5
7517 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7518 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7520 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7521 lt_cv_apple_cc_single_mod=yes
7523 cat conftest.err >&5
7525 rm -rf libconftest.dylib*
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7530 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7532 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7533 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7534 $as_echo_n "(cached
) " >&6
7536 lt_cv_ld_exported_symbols_list=no
7537 save_LDFLAGS=$LDFLAGS
7538 echo "_main
" > conftest.sym
7539 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7551 if ac_fn_c_try_link "$LINENO"; then :
7552 lt_cv_ld_exported_symbols_list=yes
7554 lt_cv_ld_exported_symbols_list=no
7556 rm -f core conftest.err conftest.$ac_objext \
7557 conftest$ac_exeext conftest.$ac_ext
7558 LDFLAGS="$save_LDFLAGS"
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7562 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7564 rhapsody* | darwin1.[012])
7565 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7567 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7568 darwin*) # darwin 5.x on
7569 # if running on 10.5 or later, the deployment target defaults
7570 # to the OS version, if on x86, and 10.4, the deployment
7571 # target defaults to 10.4. Don't you love it?
7572 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7573 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7574 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7576 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7578 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7582 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7583 _lt_dar_single_mod='$single_module'
7585 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7586 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7588 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7590 if test "$DSYMUTIL" != ":"; then
7591 _lt_dsymutil='~$DSYMUTIL $lib || :'
7598 for ac_header in dlfcn.h
7600 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7602 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7603 cat >>confdefs.h <<_ACEOF
7604 #define HAVE_DLFCN_H 1
7623 # Check whether --enable-shared was given.
7624 if test "${enable_shared+set}" = set; then :
7625 enableval=$enable_shared; p=${PACKAGE-default}
7627 yes) enable_shared=yes ;;
7628 no) enable_shared=no ;;
7631 # Look at the argument we got. We use all the common list separators.
7632 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7633 for pkg in $enableval; do
7635 if test "X
$pkg" = "X
$p"; then
7654 # Check whether --enable-static was given.
7655 if test "${enable_static+set}" = set; then :
7656 enableval=$enable_static; p=${PACKAGE-default}
7658 yes) enable_static=yes ;;
7659 no) enable_static=no ;;
7662 # Look at the argument we got. We use all the common list separators.
7663 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7664 for pkg in $enableval; do
7666 if test "X
$pkg" = "X
$p"; then
7686 # Check whether --with-pic was given.
7687 if test "${with_pic+set}" = set; then :
7688 withval=$with_pic; pic_mode="$withval"
7694 test -z "$pic_mode" && pic_mode=default
7702 # Check whether --enable-fast-install was given.
7703 if test "${enable_fast_install+set}" = set; then :
7704 enableval=$enable_fast_install; p=${PACKAGE-default}
7706 yes) enable_fast_install=yes ;;
7707 no) enable_fast_install=no ;;
7709 enable_fast_install=no
7710 # Look at the argument we got. We use all the common list separators.
7711 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7712 for pkg in $enableval; do
7714 if test "X
$pkg" = "X
$p"; then
7715 enable_fast_install=yes
7722 enable_fast_install=yes
7735 # This can be used to rebuild libtool when needed
7736 LIBTOOL_DEPS="$ltmain"
7738 # Always use our own libtool.
7739 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7765 test -z "$LN_S" && LN_S="ln -s"
7780 if test -n "${ZSH_VERSION+set}" ; then
7781 setopt NO_GLOB_SUBST
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7785 $as_echo_n "checking
for objdir...
" >&6; }
7786 if test "${lt_cv_objdir+set}" = set; then :
7787 $as_echo_n "(cached
) " >&6
7789 rm -f .libs 2>/dev/null
7790 mkdir .libs 2>/dev/null
7791 if test -d .libs; then
7794 # MS-DOS does not allow filenames that begin with a dot.
7797 rmdir .libs 2>/dev/null
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7800 $as_echo "$lt_cv_objdir" >&6; }
7801 objdir=$lt_cv_objdir
7807 cat >>confdefs.h <<_ACEOF
7808 #define LT_OBJDIR "$lt_cv_objdir/"
7829 # AIX sometimes has problems with the GCC collect2 program. For some
7830 # reason, if we set the COLLECT_NAMES environment variable, the problems
7831 # vanish in a puff of smoke.
7832 if test "X
${COLLECT_NAMES+set}" != Xset; then
7834 export COLLECT_NAMES
7839 # Sed substitution that helps us do robust quoting. It backslashifies
7840 # metacharacters that are still active within double-quoted strings.
7841 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7843 # Same as above, but do not quote variable references.
7844 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7846 # Sed substitution to delay expansion of an escaped shell variable in a
7847 # double_quote_subst'ed string.
7848 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7850 # Sed substitution to delay expansion of an escaped single quote.
7851 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7853 # Sed substitution to avoid accidental globbing in evaled expressions
7854 no_glob_subst
='s/\*/\\\*/g'
7858 can_build_shared
=yes
7860 # All known linkers require a `.a' archive for static linking (except MSVC,
7861 # which needs '.lib').
7864 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7867 old_CFLAGS
="$CFLAGS"
7869 # Set sane defaults for various variables
7870 test -z "$CC" && CC
=cc
7871 test -z "$LTCC" && LTCC
=$CC
7872 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7873 test -z "$LD" && LD
=ld
7874 test -z "$ac_objext" && ac_objext
=o
7876 for cc_temp
in $compiler""; do
7878 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7879 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7884 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7887 # Only perform the check for file, if the check method requires it
7888 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7889 case $deplibs_check_method in
7891 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7893 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7894 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7895 $as_echo_n "(cached) " >&6
7899 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7902 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7903 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7904 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7905 for ac_dir
in $ac_dummy; do
7907 test -z "$ac_dir" && ac_dir
=.
7908 if test -f $ac_dir/${ac_tool_prefix}file; then
7909 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7910 if test -n "$file_magic_test_file"; then
7911 case $deplibs_check_method in
7913 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7914 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7915 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7916 $EGREP "$file_magic_regex" > /dev
/null
; then
7921 *** Warning: the command libtool uses to detect shared libraries,
7922 *** $file_magic_cmd, produces output that libtool cannot recognize.
7923 *** The result is that libtool may fail to recognize shared libraries
7924 *** as such. This will affect the creation of libtool libraries that
7925 *** depend on shared libraries, but programs linked with such libtool
7926 *** libraries will work regardless of this problem. Nevertheless, you
7927 *** may want to report the problem to your system manager and/or to
7928 *** bug-libtool@gnu.org
7938 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7943 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7944 if test -n "$MAGIC_CMD"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7946 $as_echo "$MAGIC_CMD" >&6; }
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7956 if test -z "$lt_cv_path_MAGIC_CMD"; then
7957 if test -n "$ac_tool_prefix"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7959 $as_echo_n "checking for file... " >&6; }
7960 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7961 $as_echo_n "(cached) " >&6
7965 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7968 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7969 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7970 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7971 for ac_dir
in $ac_dummy; do
7973 test -z "$ac_dir" && ac_dir
=.
7974 if test -f $ac_dir/file; then
7975 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7976 if test -n "$file_magic_test_file"; then
7977 case $deplibs_check_method in
7979 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7980 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7981 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7982 $EGREP "$file_magic_regex" > /dev
/null
; then
7987 *** Warning: the command libtool uses to detect shared libraries,
7988 *** $file_magic_cmd, produces output that libtool cannot recognize.
7989 *** The result is that libtool may fail to recognize shared libraries
7990 *** as such. This will affect the creation of libtool libraries that
7991 *** depend on shared libraries, but programs linked with such libtool
7992 *** libraries will work regardless of this problem. Nevertheless, you
7993 *** may want to report the problem to your system manager and/or to
7994 *** bug-libtool@gnu.org
8004 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8009 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8010 if test -n "$MAGIC_CMD"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8012 $as_echo "$MAGIC_CMD" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8028 # Use C for the default configuration in the libtool script
8032 ac_cpp
='$CPP $CPPFLAGS'
8033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8038 # Source file extension for C test sources.
8041 # Object file extension for compiled C test sources.
8045 # Code to be used in simple compile tests
8046 lt_simple_compile_test_code
="int some_variable = 0;"
8048 # Code to be used in simple link tests
8049 lt_simple_link_test_code
='int main(){return(0);}'
8057 # If no C compiler was specified, use CC.
8060 # If no C compiler flags were specified, use CFLAGS.
8061 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8063 # Allow CC to be a program name with arguments.
8066 # Save the default compiler, since it gets overwritten when the other
8067 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8068 compiler_DEFAULT
=$CC
8070 # save warnings/boilerplate of simple test code
8071 ac_outfile
=conftest.
$ac_objext
8072 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8073 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8074 _lt_compiler_boilerplate
=`cat conftest.err`
8077 ac_outfile
=conftest.
$ac_objext
8078 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8079 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8080 _lt_linker_boilerplate
=`cat conftest.err`
8085 ## There is no encapsulation within the following macros, do not change
8086 ## the running order or otherwise move them around unless you know exactly
8087 ## what you are doing...
8088 if test -n "$compiler"; then
8090 lt_prog_compiler_no_builtin_flag
=
8092 if test "$GCC" = yes; then
8093 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8096 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8097 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8098 $as_echo_n "(cached) " >&6
8100 lt_cv_prog_compiler_rtti_exceptions
=no
8101 ac_outfile
=conftest.
$ac_objext
8102 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8103 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8104 # Insert the option either (1) after the last *FLAGS variable, or
8105 # (2) before a word containing "conftest.", or (3) at the end.
8106 # Note that $ac_compile itself does not contain backslashes and begins
8107 # with a dollar sign (not a hyphen), so the echo should work correctly.
8108 # The option is referenced via a variable to avoid confusing sed.
8109 lt_compile
=`echo "$ac_compile" | $SED \
8110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8112 -e 's:$: $lt_compiler_flag:'`
8113 (eval echo "\"\$as_me:8113: $lt_compile\"" >&5)
8114 (eval "$lt_compile" 2>conftest.err
)
8116 cat conftest.err
>&5
8117 echo "$as_me:8117: \$? = $ac_status" >&5
8118 if (exit $ac_status) && test -s "$ac_outfile"; then
8119 # The compiler can only warn and ignore the option if not recognized
8120 # So say no if there are warnings other than the usual output.
8121 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8122 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8123 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8124 lt_cv_prog_compiler_rtti_exceptions
=yes
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8131 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8133 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8134 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8146 lt_prog_compiler_wl
=
8147 lt_prog_compiler_pic
=
8148 lt_prog_compiler_static
=
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8151 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8153 if test "$GCC" = yes; then
8154 lt_prog_compiler_wl
='-Wl,'
8155 lt_prog_compiler_static
='-static'
8159 # All AIX code is PIC.
8160 if test "$host_cpu" = ia64
; then
8161 # AIX 5 now supports IA64 processor
8162 lt_prog_compiler_static
='-Bstatic'
8169 # see comment about AmigaOS4 .so support
8170 lt_prog_compiler_pic
='-fPIC'
8173 # FIXME: we need at least 68020 code to build shared libraries, but
8174 # adding the `-m68020' flag to GCC prevents building anything better,
8176 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8181 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8182 # PIC is the default for these OSes.
8185 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8186 # This hack is so that the source file can tell whether it is being
8187 # built for inclusion in a dll (and should export symbols for example).
8188 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8189 # (--disable-auto-import) libraries
8190 lt_prog_compiler_pic
='-DDLL_EXPORT'
8193 darwin
* | rhapsody
*)
8194 # PIC is the default on this platform
8195 # Common symbols not allowed in MH_DYLIB files
8196 lt_prog_compiler_pic
='-fno-common'
8200 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8201 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8202 # sets the default TLS model and affects inlining.
8208 lt_prog_compiler_pic
='-fPIC'
8214 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8215 # Instead, we relocate shared libraries at runtime.
8219 # Just because we use GCC doesn't mean we suddenly get shared libraries
8220 # on systems that don't support them.
8221 lt_prog_compiler_can_build_shared
=no
8226 # QNX uses GNU C++, but need to define -shared option too, otherwise
8228 lt_prog_compiler_pic
='-fPIC -shared'
8232 if test -d /usr
/nec
; then
8233 lt_prog_compiler_pic
=-Kconform_pic
8238 lt_prog_compiler_pic
='-fPIC'
8242 # PORTME Check for flag to pass linker flags through the system compiler.
8245 lt_prog_compiler_wl
='-Wl,'
8246 if test "$host_cpu" = ia64
; then
8247 # AIX 5 now supports IA64 processor
8248 lt_prog_compiler_static
='-Bstatic'
8250 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8254 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8255 # This hack is so that the source file can tell whether it is being
8256 # built for inclusion in a dll (and should export symbols for example).
8257 lt_prog_compiler_pic
='-DDLL_EXPORT'
8260 hpux9
* | hpux10
* | hpux11
*)
8261 lt_prog_compiler_wl
='-Wl,'
8262 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8269 lt_prog_compiler_pic
='+Z'
8272 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8273 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8276 irix5
* | irix6
* | nonstopux
*)
8277 lt_prog_compiler_wl
='-Wl,'
8278 # PIC (with -KPIC) is the default.
8279 lt_prog_compiler_static
='-non_shared'
8282 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8283 case $cc_basename in
8284 # old Intel for x86_64 which still supported -KPIC.
8286 lt_prog_compiler_wl
='-Wl,'
8287 lt_prog_compiler_pic
='-KPIC'
8288 lt_prog_compiler_static
='-static'
8290 # icc used to be incompatible with GCC.
8291 # ICC 10 doesn't accept -KPIC any more.
8293 lt_prog_compiler_wl
='-Wl,'
8294 lt_prog_compiler_pic
='-fPIC'
8295 lt_prog_compiler_static
='-static'
8297 # Lahey Fortran 8.1.
8299 lt_prog_compiler_wl
='-Wl,'
8300 lt_prog_compiler_pic
='--shared'
8301 lt_prog_compiler_static
='--static'
8303 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8304 # Portland Group compilers (*not* the Pentium gcc compiler,
8305 # which looks to be a dead project)
8306 lt_prog_compiler_wl
='-Wl,'
8307 lt_prog_compiler_pic
='-fpic'
8308 lt_prog_compiler_static
='-Bstatic'
8311 lt_prog_compiler_wl
='-Wl,'
8312 # All Alpha code is PIC.
8313 lt_prog_compiler_static
='-non_shared'
8316 # IBM XL C 8.0/Fortran 10.1 on PPC
8317 lt_prog_compiler_wl
='-Wl,'
8318 lt_prog_compiler_pic
='-qpic'
8319 lt_prog_compiler_static
='-qstaticlink'
8322 case `$CC -V 2>&1 | sed 5q` in
8325 lt_prog_compiler_pic
='-KPIC'
8326 lt_prog_compiler_static
='-Bstatic'
8327 lt_prog_compiler_wl
='-Wl,'
8330 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8331 lt_prog_compiler_pic
='-KPIC'
8332 lt_prog_compiler_static
='-Bstatic'
8333 lt_prog_compiler_wl
=''
8341 lt_prog_compiler_pic
='-KPIC'
8342 lt_prog_compiler_static
='-Bstatic'
8346 # QNX uses GNU C++, but need to define -shared option too, otherwise
8348 lt_prog_compiler_pic
='-fPIC -shared'
8351 osf3
* | osf4
* | osf5
*)
8352 lt_prog_compiler_wl
='-Wl,'
8353 # All OSF/1 code is PIC.
8354 lt_prog_compiler_static
='-non_shared'
8358 lt_prog_compiler_static
='-non_shared'
8362 lt_prog_compiler_pic
='-KPIC'
8363 lt_prog_compiler_static
='-Bstatic'
8364 case $cc_basename in
8366 lt_prog_compiler_wl
='-Qoption ld ';;
8368 lt_prog_compiler_wl
='-Wl,';;
8373 lt_prog_compiler_wl
='-Qoption ld '
8374 lt_prog_compiler_pic
='-PIC'
8375 lt_prog_compiler_static
='-Bstatic'
8378 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8379 lt_prog_compiler_wl
='-Wl,'
8380 lt_prog_compiler_pic
='-KPIC'
8381 lt_prog_compiler_static
='-Bstatic'
8385 if test -d /usr
/nec
;then
8386 lt_prog_compiler_pic
='-Kconform_pic'
8387 lt_prog_compiler_static
='-Bstatic'
8391 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8392 lt_prog_compiler_wl
='-Wl,'
8393 lt_prog_compiler_pic
='-KPIC'
8394 lt_prog_compiler_static
='-Bstatic'
8398 lt_prog_compiler_wl
='-Wl,'
8399 lt_prog_compiler_can_build_shared
=no
8403 lt_prog_compiler_pic
='-pic'
8404 lt_prog_compiler_static
='-Bstatic'
8408 lt_prog_compiler_can_build_shared
=no
8414 # For platforms which do not support PIC, -DPIC is meaningless:
8416 lt_prog_compiler_pic
=
8419 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8423 $as_echo "$lt_prog_compiler_pic" >&6; }
8431 # Check to make sure the PIC flag actually works.
8433 if test -n "$lt_prog_compiler_pic"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8435 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8436 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8437 $as_echo_n "(cached) " >&6
8439 lt_cv_prog_compiler_pic_works
=no
8440 ac_outfile
=conftest.
$ac_objext
8441 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8442 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8443 # Insert the option either (1) after the last *FLAGS variable, or
8444 # (2) before a word containing "conftest.", or (3) at the end.
8445 # Note that $ac_compile itself does not contain backslashes and begins
8446 # with a dollar sign (not a hyphen), so the echo should work correctly.
8447 # The option is referenced via a variable to avoid confusing sed.
8448 lt_compile
=`echo "$ac_compile" | $SED \
8449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8451 -e 's:$: $lt_compiler_flag:'`
8452 (eval echo "\"\$as_me:8452: $lt_compile\"" >&5)
8453 (eval "$lt_compile" 2>conftest.err
)
8455 cat conftest.err
>&5
8456 echo "$as_me:8456: \$? = $ac_status" >&5
8457 if (exit $ac_status) && test -s "$ac_outfile"; then
8458 # The compiler can only warn and ignore the option if not recognized
8459 # So say no if there are warnings other than the usual output.
8460 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8461 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8462 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8463 lt_cv_prog_compiler_pic_works
=yes
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8470 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8472 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8473 case $lt_prog_compiler_pic in
8475 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8478 lt_prog_compiler_pic
=
8479 lt_prog_compiler_can_build_shared
=no
8490 # Check to make sure the static flag actually works.
8492 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8494 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8495 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8496 $as_echo_n "(cached) " >&6
8498 lt_cv_prog_compiler_static_works
=no
8499 save_LDFLAGS
="$LDFLAGS"
8500 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8501 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8502 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8503 # The linker can only warn and ignore the option if not recognized
8504 # So say no if there are warnings
8505 if test -s conftest.err
; then
8506 # Append any errors to the config.log.
8507 cat conftest.err
1>&5
8508 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8509 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8510 if diff conftest.exp conftest.er2
>/dev
/null
; then
8511 lt_cv_prog_compiler_static_works
=yes
8514 lt_cv_prog_compiler_static_works
=yes
8518 LDFLAGS
="$save_LDFLAGS"
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8522 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8524 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8527 lt_prog_compiler_static
=
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8537 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8538 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8539 $as_echo_n "(cached) " >&6
8541 lt_cv_prog_compiler_c_o
=no
8542 $RM -r conftest
2>/dev
/null
8546 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8548 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8549 # Insert the option either (1) after the last *FLAGS variable, or
8550 # (2) before a word containing "conftest.", or (3) at the end.
8551 # Note that $ac_compile itself does not contain backslashes and begins
8552 # with a dollar sign (not a hyphen), so the echo should work correctly.
8553 lt_compile
=`echo "$ac_compile" | $SED \
8554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8556 -e 's:$: $lt_compiler_flag:'`
8557 (eval echo "\"\$as_me:8557: $lt_compile\"" >&5)
8558 (eval "$lt_compile" 2>out
/conftest.err
)
8560 cat out
/conftest.err
>&5
8561 echo "$as_me:8561: \$? = $ac_status" >&5
8562 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8564 # The compiler can only warn and ignore the option if not recognized
8565 # So say no if there are warnings
8566 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8567 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8568 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8569 lt_cv_prog_compiler_c_o
=yes
8574 # SGI C++ compiler will create directory out/ii_files/ for
8575 # template instantiation
8576 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8577 $RM out
/* && rmdir out
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8584 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8592 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8593 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8594 $as_echo_n "(cached) " >&6
8596 lt_cv_prog_compiler_c_o
=no
8597 $RM -r conftest
2>/dev
/null
8601 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8603 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8604 # Insert the option either (1) after the last *FLAGS variable, or
8605 # (2) before a word containing "conftest.", or (3) at the end.
8606 # Note that $ac_compile itself does not contain backslashes and begins
8607 # with a dollar sign (not a hyphen), so the echo should work correctly.
8608 lt_compile
=`echo "$ac_compile" | $SED \
8609 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8610 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8611 -e 's:$: $lt_compiler_flag:'`
8612 (eval echo "\"\$as_me:8612: $lt_compile\"" >&5)
8613 (eval "$lt_compile" 2>out
/conftest.err
)
8615 cat out
/conftest.err
>&5
8616 echo "$as_me:8616: \$? = $ac_status" >&5
8617 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8619 # The compiler can only warn and ignore the option if not recognized
8620 # So say no if there are warnings
8621 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8622 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8623 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8624 lt_cv_prog_compiler_c_o
=yes
8629 # SGI C++ compiler will create directory out/ii_files/ for
8630 # template instantiation
8631 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8632 $RM out
/* && rmdir out
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8639 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8644 hard_links
="nottested"
8645 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8646 # do not overwrite the value of need_locks provided by the user
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8648 $as_echo_n "checking if we can lock with hard links... " >&6; }
8651 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8653 ln conftest.a conftest.b
2>&5 || hard_links
=no
8654 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8656 $as_echo "$hard_links" >&6; }
8657 if test "$hard_links" = no
; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8659 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8672 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8675 allow_undefined_flag
=
8676 always_export_symbols
=no
8678 archive_expsym_cmds
=
8679 compiler_needs_object
=no
8680 enable_shared_with_static_runtimes
=no
8681 export_dynamic_flag_spec
=
8682 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8683 hardcode_automatic
=no
8685 hardcode_direct_absolute
=no
8686 hardcode_libdir_flag_spec
=
8687 hardcode_libdir_flag_spec_ld
=
8688 hardcode_libdir_separator
=
8690 hardcode_shlibpath_var
=unsupported
8692 link_all_deplibs
=unknown
8695 old_archive_from_new_cmds
=
8696 old_archive_from_expsyms_cmds
=
8697 thread_safe_flag_spec
=
8698 whole_archive_flag_spec
=
8699 # include_expsyms should be a list of space-separated symbols to be *always*
8700 # included in the symbol list
8702 # exclude_expsyms can be an extended regexp of symbols to exclude
8703 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8704 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8705 # as well as any symbol that contains `d'.
8706 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8707 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8708 # platforms (ab)use it in PIC code, but their linkers get confused if
8709 # the symbol is explicitly referenced. Since portable code cannot
8710 # rely on this symbol name, it's probably fine to never include it in
8711 # preloaded symbol tables.
8712 # Exclude shared library initialization/finalization symbols.
8713 extract_expsyms_cmds
=
8716 cygwin
* | mingw
* | pw32
* | cegcc
*)
8717 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8718 # When not using gcc, we currently assume that we are using
8719 # Microsoft Visual C++.
8720 if test "$GCC" != yes; then
8725 # we just hope/assume this is gcc and not c89 (= MSVC++)
8734 if test "$with_gnu_ld" = yes; then
8735 # If archive_cmds runs LD, not CC, wlarc should be empty
8738 # Set some defaults for GNU ld with shared library support. These
8739 # are reset later if shared libraries are not supported. Putting them
8740 # here allows them to be overridden if necessary.
8741 runpath_var
=LD_RUN_PATH
8742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8743 export_dynamic_flag_spec
='${wl}--export-dynamic'
8744 # ancient GNU ld didn't support --whole-archive et. al.
8745 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8746 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8748 whole_archive_flag_spec
=
8750 supports_anon_versioning
=no
8751 case `$LD -v 2>&1` in
8752 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8753 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8754 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8755 *\
2.11.
*) ;; # other 2.11 versions
8756 *) supports_anon_versioning
=yes ;;
8759 # See if GNU ld supports shared libraries.
8762 # On AIX/PPC, the GNU linker is very broken
8763 if test "$host_cpu" != ia64
; then
8767 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8768 *** to be unable to reliably create shared libraries on AIX.
8769 *** Therefore, libtool is disabling shared libraries support. If you
8770 *** really care for shared libraries, you may want to modify your PATH
8771 *** so that a non-GNU linker is found, and then restart.
8780 # see comment about AmigaOS4 .so support
8781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8782 archive_expsym_cmds
=''
8785 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)'
8786 hardcode_libdir_flag_spec
='-L$libdir'
8787 hardcode_minus_L
=yes
8793 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8794 allow_undefined_flag
=unsupported
8795 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8796 # support --undefined. This deserves some investigation. FIXME
8797 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8803 cygwin
* | mingw
* | pw32
* | cegcc
*)
8804 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8805 # as there is no search path for DLLs.
8806 hardcode_libdir_flag_spec
='-L$libdir'
8807 allow_undefined_flag
=unsupported
8808 always_export_symbols
=no
8809 enable_shared_with_static_runtimes
=yes
8810 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8812 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8813 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8814 # If the export-symbols file already is a .def file (1st line
8815 # is EXPORTS), use it as is; otherwise, prepend...
8816 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8817 cp $export_symbols $output_objdir/$soname.def;
8819 echo EXPORTS > $output_objdir/$soname.def;
8820 cat $export_symbols >> $output_objdir/$soname.def;
8822 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8830 hardcode_shlibpath_var
=no
8831 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8832 export_dynamic_flag_spec
='${wl}-E'
8833 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8834 # Instead, shared libraries are loaded at an image base (0x10000000 by
8835 # default) and relocated if they conflict, which is a slow very memory
8836 # consuming and fragmenting process. To avoid this, we pick a random,
8837 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8838 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8839 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8840 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'
8843 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8845 if test "$host_os" = linux-dietlibc
; then
8846 case $cc_basename in
8847 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8850 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8851 && test "$tmp_diet" = no
8854 tmp_sharedflag
='-shared'
8855 case $cc_basename,$host_cpu in
8856 pgcc
*) # Portland Group C compiler
8857 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'
8858 tmp_addflag
=' $pic_flag'
8860 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8861 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'
8862 tmp_addflag
=' $pic_flag -Mnomain' ;;
8863 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8864 tmp_addflag
=' -i_dynamic' ;;
8865 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8866 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8867 ifc
* | ifort
*) # Intel Fortran compiler
8868 tmp_addflag
=' -nofor_main' ;;
8869 lf95
*) # Lahey Fortran 8.1
8870 whole_archive_flag_spec
=
8871 tmp_sharedflag
='--shared' ;;
8872 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8873 tmp_sharedflag
='-qmkshrobj'
8876 case `$CC -V 2>&1 | sed 5q` in
8877 *Sun\ C
*) # Sun C 5.9
8878 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'
8879 compiler_needs_object
=yes
8880 tmp_sharedflag
='-G' ;;
8881 *Sun\ F
*) # Sun Fortran 8.3
8882 tmp_sharedflag
='-G' ;;
8884 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8886 if test "x$supports_anon_versioning" = xyes
; then
8887 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8888 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8889 echo "local: *; };" >> $output_objdir/$libname.ver~
8890 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8893 case $cc_basename in
8895 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8896 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8897 hardcode_libdir_flag_spec
=
8898 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8899 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8900 if test "x$supports_anon_versioning" = xyes
; then
8901 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8902 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8903 echo "local: *; };" >> $output_objdir/$libname.ver~
8904 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8914 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8915 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8918 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8919 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8924 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8928 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8929 *** create shared libraries on Solaris systems. Therefore, libtool
8930 *** is disabling shared libraries support. We urge you to upgrade GNU
8931 *** binutils to release 2.9.1 or newer. Another option is to modify
8932 *** your PATH or compiler configuration so that the native linker is
8933 *** used, and then restart.
8936 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8937 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8938 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8944 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8945 case `$LD -v 2>&1` in
8946 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8950 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8951 *** reliably create shared libraries on SCO systems. Therefore, libtool
8952 *** is disabling shared libraries support. We urge you to upgrade GNU
8953 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8954 *** your PATH or compiler configuration so that the native linker is
8955 *** used, and then restart.
8960 # For security reasons, it is highly recommended that you always
8961 # use absolute paths for naming shared libraries, and exclude the
8962 # DT_RUNPATH tag from executables and libraries. But doing so
8963 # requires that you compile everything twice, which is a pain.
8964 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8965 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8966 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8967 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8976 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8979 hardcode_shlibpath_var
=no
8983 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8984 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8985 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8992 if test "$ld_shlibs" = no
; then
8994 hardcode_libdir_flag_spec
=
8995 export_dynamic_flag_spec
=
8996 whole_archive_flag_spec
=
8999 # PORTME fill in a description of your system's linker (not GNU ld)
9002 allow_undefined_flag
=unsupported
9003 always_export_symbols
=yes
9004 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'
9005 # Note: this linker hardcodes the directories in LIBPATH if there
9006 # are no directories specified by -L.
9007 hardcode_minus_L
=yes
9008 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9009 # Neither direct hardcoding nor static linking is supported with a
9011 hardcode_direct
=unsupported
9016 if test "$host_cpu" = ia64
; then
9017 # On IA64, the linker does run time linking by default, so we don't
9018 # have to do anything special.
9019 aix_use_runtimelinking
=no
9020 exp_sym_flag
='-Bexport'
9023 # If we're using GNU nm, then we don't want the "-C" option.
9024 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9025 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9026 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'
9028 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'
9030 aix_use_runtimelinking
=no
9032 # Test if we are trying to use run time linking or normal
9033 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9034 # need to do runtime linking.
9035 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9036 for ld_flag
in $LDFLAGS; do
9037 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9038 aix_use_runtimelinking
=yes
9045 exp_sym_flag
='-bexport'
9046 no_entry_flag
='-bnoentry'
9049 # When large executables or shared objects are built, AIX ld can
9050 # have problems creating the table of contents. If linking a library
9051 # or program results in "error TOC overflow" add -mminimal-toc to
9052 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9053 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9057 hardcode_direct_absolute
=yes
9058 hardcode_libdir_separator
=':'
9059 link_all_deplibs
=yes
9060 file_list_spec
='${wl}-f,'
9062 if test "$GCC" = yes; then
9063 case $host_os in aix4.
[012]|aix4.
[012].
*)
9064 # We only want to do this on AIX 4.2 and lower, the check
9065 # below for broken collect2 doesn't work under 4.3+
9066 collect2name
=`${CC} -print-prog-name=collect2`
9067 if test -f "$collect2name" &&
9068 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9070 # We have reworked collect2
9073 # We have old collect2
9074 hardcode_direct
=unsupported
9075 # It fails to find uninstalled libraries when the uninstalled
9076 # path is not listed in the libpath. Setting hardcode_minus_L
9077 # to unsupported forces relinking
9078 hardcode_minus_L
=yes
9079 hardcode_libdir_flag_spec
='-L$libdir'
9080 hardcode_libdir_separator
=
9084 shared_flag
='-shared'
9085 if test "$aix_use_runtimelinking" = yes; then
9086 shared_flag
="$shared_flag "'${wl}-G'
9090 if test "$host_cpu" = ia64
; then
9091 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9092 # chokes on -Wl,-G. The following line is correct:
9095 if test "$aix_use_runtimelinking" = yes; then
9096 shared_flag
='${wl}-G'
9098 shared_flag
='${wl}-bM:SRE'
9103 export_dynamic_flag_spec
='${wl}-bexpall'
9104 # It seems that -bexpall does not export symbols beginning with
9105 # underscore (_), so it is better to generate a list of symbols to export.
9106 always_export_symbols
=yes
9107 if test "$aix_use_runtimelinking" = yes; then
9108 # Warning - without using the other runtime loading flags (-brtl),
9109 # -berok will link without error, but may produce a broken library.
9110 allow_undefined_flag
='-berok'
9111 # Determine the default libpath from the value encoded in an
9113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9124 if ac_fn_c_try_link
"$LINENO"; then :
9126 lt_aix_libpath_sed
='
9127 /Import File Strings/,/^$/ {
9133 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9134 # Check for a 64-bit object if we didn't find anything.
9135 if test -z "$aix_libpath"; then
9136 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9139 rm -f core conftest.err conftest.
$ac_objext \
9140 conftest
$ac_exeext conftest.
$ac_ext
9141 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9143 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9144 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"
9146 if test "$host_cpu" = ia64
; then
9147 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9148 allow_undefined_flag
="-z nodefs"
9149 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"
9151 # Determine the default libpath from the value encoded in an
9153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9164 if ac_fn_c_try_link
"$LINENO"; then :
9166 lt_aix_libpath_sed
='
9167 /Import File Strings/,/^$/ {
9173 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9174 # Check for a 64-bit object if we didn't find anything.
9175 if test -z "$aix_libpath"; then
9176 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9179 rm -f core conftest.err conftest.
$ac_objext \
9180 conftest
$ac_exeext conftest.
$ac_ext
9181 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9183 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9184 # Warning - without using the other run time loading flags,
9185 # -berok will link without error, but may produce a broken library.
9186 no_undefined_flag
=' ${wl}-bernotok'
9187 allow_undefined_flag
=' ${wl}-berok'
9188 # Exported symbols can be pulled into shared objects from archives
9189 whole_archive_flag_spec
='$convenience'
9190 archive_cmds_need_lc
=yes
9191 # This is similar to how AIX traditionally builds its shared libraries.
9192 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'
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds
=''
9205 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)'
9206 hardcode_libdir_flag_spec
='-L$libdir'
9207 hardcode_minus_L
=yes
9213 export_dynamic_flag_spec
=-rdynamic
9216 cygwin
* | mingw
* | pw32
* | cegcc
*)
9217 # When not using gcc, we currently assume that we are using
9218 # Microsoft Visual C++.
9219 # hardcode_libdir_flag_spec is actually meaningless, as there is
9220 # no search path for DLLs.
9221 hardcode_libdir_flag_spec
=' '
9222 allow_undefined_flag
=unsupported
9223 # Tell ltmain to make .lib files, not .a files.
9225 # Tell ltmain to make .dll files, not .so files.
9227 # FIXME: Setting linknames here is a bad hack.
9228 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9229 # The linker will automatically build a .lib file if we build a DLL.
9230 old_archive_from_new_cmds
='true'
9231 # FIXME: Should let the user specify the lib program.
9232 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9233 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9234 enable_shared_with_static_runtimes
=yes
9237 darwin
* | rhapsody
*)
9240 archive_cmds_need_lc
=no
9242 hardcode_automatic
=yes
9243 hardcode_shlibpath_var
=unsupported
9244 whole_archive_flag_spec
=''
9245 link_all_deplibs
=yes
9246 allow_undefined_flag
="$_lt_dar_allow_undefined"
9247 case $cc_basename in
9248 ifort
*) _lt_dar_can_shared
=yes ;;
9249 *) _lt_dar_can_shared
=$GCC ;;
9251 if test "$_lt_dar_can_shared" = "yes"; then
9252 output_verbose_link_cmd
=echo
9253 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9254 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9255 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}"
9256 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}"
9265 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9266 hardcode_libdir_flag_spec
='-L$libdir'
9267 hardcode_shlibpath_var
=no
9274 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9275 # support. Future versions do this automatically, but an explicit c++rt0.o
9276 # does not break anything, and helps significantly (at the cost of a little
9279 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9280 hardcode_libdir_flag_spec
='-R$libdir'
9282 hardcode_shlibpath_var
=no
9285 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9287 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9289 hardcode_minus_L
=yes
9290 hardcode_shlibpath_var
=no
9293 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9294 freebsd
* | dragonfly
*)
9295 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9296 hardcode_libdir_flag_spec
='-R$libdir'
9298 hardcode_shlibpath_var
=no
9302 if test "$GCC" = yes; then
9303 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'
9305 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'
9307 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9308 hardcode_libdir_separator
=:
9311 # hardcode_minus_L: Not really in the search PATH,
9312 # but as the default location of the library.
9313 hardcode_minus_L
=yes
9314 export_dynamic_flag_spec
='${wl}-E'
9318 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9319 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9321 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9323 if test "$with_gnu_ld" = no
; then
9324 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9325 hardcode_libdir_flag_spec_ld
='+b $libdir'
9326 hardcode_libdir_separator
=:
9328 hardcode_direct_absolute
=yes
9329 export_dynamic_flag_spec
='${wl}-E'
9330 # hardcode_minus_L: Not really in the search PATH,
9331 # but as the default location of the library.
9332 hardcode_minus_L
=yes
9337 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9340 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9343 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9346 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9352 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9355 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9358 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9362 if test "$with_gnu_ld" = no
; then
9363 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9364 hardcode_libdir_separator
=:
9369 hardcode_shlibpath_var
=no
9373 hardcode_direct_absolute
=yes
9374 export_dynamic_flag_spec
='${wl}-E'
9376 # hardcode_minus_L: Not really in the search PATH,
9377 # but as the default location of the library.
9378 hardcode_minus_L
=yes
9384 irix5
* | irix6
* | nonstopux
*)
9385 if test "$GCC" = yes; then
9386 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'
9387 # Try to use the -exported_symbol ld option, if it does not
9388 # work, assume that -exports_file does not work either and
9389 # implicitly export all symbols.
9390 save_LDFLAGS
="$LDFLAGS"
9391 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9396 if ac_fn_c_try_link
"$LINENO"; then :
9397 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'
9400 rm -f core conftest.err conftest.
$ac_objext \
9401 conftest
$ac_exeext conftest.
$ac_ext
9402 LDFLAGS
="$save_LDFLAGS"
9404 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'
9405 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'
9407 archive_cmds_need_lc
='no'
9408 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9409 hardcode_libdir_separator
=:
9411 link_all_deplibs
=yes
9415 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9416 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9418 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9420 hardcode_libdir_flag_spec
='-R$libdir'
9422 hardcode_shlibpath_var
=no
9426 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9428 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9429 hardcode_libdir_separator
=:
9430 hardcode_shlibpath_var
=no
9437 if test -f /usr
/libexec
/ld.so
; then
9439 hardcode_shlibpath_var
=no
9440 hardcode_direct_absolute
=yes
9441 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9442 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9443 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9444 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9445 export_dynamic_flag_spec
='${wl}-E'
9448 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9449 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9450 hardcode_libdir_flag_spec
='-R$libdir'
9453 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9454 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9464 hardcode_libdir_flag_spec
='-L$libdir'
9465 hardcode_minus_L
=yes
9466 allow_undefined_flag
=unsupported
9467 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'
9468 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9472 if test "$GCC" = yes; then
9473 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9474 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'
9476 allow_undefined_flag
=' -expect_unresolved \*'
9477 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'
9479 archive_cmds_need_lc
='no'
9480 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9481 hardcode_libdir_separator
=:
9484 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9485 if test "$GCC" = yes; then
9486 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9487 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'
9488 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9490 allow_undefined_flag
=' -expect_unresolved \*'
9491 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'
9492 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~
9493 $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'
9495 # Both c and cxx compiler support -rpath directly
9496 hardcode_libdir_flag_spec
='-rpath $libdir'
9498 archive_cmds_need_lc
='no'
9499 hardcode_libdir_separator
=:
9503 no_undefined_flag
=' -z defs'
9504 if test "$GCC" = yes; then
9506 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9507 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9508 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9510 case `$CC -V 2>&1` in
9513 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9514 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9515 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9519 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9521 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9525 hardcode_libdir_flag_spec
='-R$libdir'
9526 hardcode_shlibpath_var
=no
9528 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9530 # The compiler driver will combine and reorder linker options,
9531 # but understands `-z linker_flag'. GCC discards it without `$wl',
9532 # but is careful enough not to reorder.
9533 # Supported since Solaris 2.6 (maybe 2.5.1?)
9534 if test "$GCC" = yes; then
9535 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9537 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9541 link_all_deplibs
=yes
9545 if test "x$host_vendor" = xsequent
; then
9546 # Use $CC to link under sequent, because it throws in some extra .o
9547 # files that make .init and .fini sections work.
9548 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9550 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9552 hardcode_libdir_flag_spec
='-L$libdir'
9554 hardcode_minus_L
=yes
9555 hardcode_shlibpath_var
=no
9559 case $host_vendor in
9561 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9562 hardcode_direct
=yes # is this really true???
9565 ## LD is ld it makes a PLAMLIB
9566 ## CC just makes a GrossModule.
9567 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9568 reload_cmds
='$CC -r -o $output$reload_objs'
9572 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9573 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9576 runpath_var
='LD_RUN_PATH'
9577 hardcode_shlibpath_var
=no
9581 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9582 hardcode_shlibpath_var
=no
9583 export_dynamic_flag_spec
='-Bexport'
9587 if test -d /usr
/nec
; then
9588 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9589 hardcode_shlibpath_var
=no
9590 runpath_var
=LD_RUN_PATH
9591 hardcode_runpath_var
=yes
9596 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9597 no_undefined_flag
='${wl}-z,text'
9598 archive_cmds_need_lc
=no
9599 hardcode_shlibpath_var
=no
9600 runpath_var
='LD_RUN_PATH'
9602 if test "$GCC" = yes; then
9603 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9604 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9606 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9607 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 sysv5
* | sco3.2v5
* | sco5v6
*)
9612 # Note: We can NOT use -z defs as we might desire, because we do not
9613 # link with -lc, and that would cause any symbols used from libc to
9614 # always be unresolved, which means just about no library would
9615 # ever link correctly. If we're not using GNU ld we use -z text
9616 # though, which does catch some bad symbols but isn't as heavy-handed
9618 no_undefined_flag
='${wl}-z,text'
9619 allow_undefined_flag
='${wl}-z,nodefs'
9620 archive_cmds_need_lc
=no
9621 hardcode_shlibpath_var
=no
9622 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9623 hardcode_libdir_separator
=':'
9624 link_all_deplibs
=yes
9625 export_dynamic_flag_spec
='${wl}-Bexport'
9626 runpath_var
='LD_RUN_PATH'
9628 if test "$GCC" = yes; then
9629 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9630 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9632 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9633 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9639 hardcode_libdir_flag_spec
='-L$libdir'
9640 hardcode_shlibpath_var
=no
9648 if test x
$host_vendor = xsni
; then
9650 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9651 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9658 $as_echo "$ld_shlibs" >&6; }
9659 test "$ld_shlibs" = no
&& can_build_shared
=no
9661 with_gnu_ld
=$with_gnu_ld
9678 # Do we need to explicitly link libc?
9680 case "x$archive_cmds_need_lc" in
9682 # Assume -lc should be added
9683 archive_cmds_need_lc
=yes
9685 if test "$enable_shared" = yes && test "$GCC" = yes; then
9686 case $archive_cmds in
9688 # FIXME: we may have to deal with multi-command sequences.
9691 # Test whether the compiler implicitly links with -lc since on some
9692 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9693 # to ld, don't add -lc before -lgcc.
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9695 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9696 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9697 $as_echo_n "(cached) " >&6
9700 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9703 (eval $ac_compile) 2>&5
9705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9706 test $ac_status = 0; } 2>conftest.err
; then
9709 libobjs
=conftest.
$ac_objext
9711 wl
=$lt_prog_compiler_wl
9712 pic_flag
=$lt_prog_compiler_pic
9718 lt_save_allow_undefined_flag
=$allow_undefined_flag
9719 allow_undefined_flag
=
9720 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9721 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9724 test $ac_status = 0; }
9726 lt_cv_archive_cmds_need_lc
=no
9728 lt_cv_archive_cmds_need_lc
=yes
9730 allow_undefined_flag
=$lt_save_allow_undefined_flag
9732 cat conftest.err
1>&5
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9738 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9739 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9903 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9905 if test "$GCC" = yes; then
9907 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9908 *) lt_awk_arg
="/^libraries:/" ;;
9910 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9911 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9912 # if the path contains ";" then we assume it to be the separator
9913 # otherwise default to the standard path separator (i.e. ":") - it is
9914 # assumed that no part of a normal pathname contains ";" but that should
9915 # okay in the real world where ";" in dirpaths is itself problematic.
9916 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9918 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9920 # Ok, now we have the path, separated by spaces, we can step through it
9921 # and add multilib dir if necessary.
9922 lt_tmp_lt_search_path_spec
=
9923 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9924 for lt_sys_path
in $lt_search_path_spec; do
9925 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9926 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9928 test -d "$lt_sys_path" && \
9929 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9932 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9933 BEGIN {RS=" "; FS="/|\n";} {
9936 for (lt_i = NF; lt_i > 0; lt_i--) {
9937 if ($lt_i != "" && $lt_i != ".") {
9938 if ($lt_i == "..") {
9941 if (lt_count == 0) {
9942 lt_foo="/" $lt_i lt_foo;
9949 if (lt_foo != "") { lt_freq[lt_foo]++; }
9950 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9952 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9954 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9957 libname_spec
='lib$name'
9965 shlibpath_overrides_runpath
=unknown
9967 dynamic_linker
="$host_os ld.so"
9968 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9969 need_lib_prefix
=unknown
9970 hardcode_into_libs
=no
9972 # when you set need_version to no, make sure it does not cause -set_version
9973 # flags to be left without arguments
9974 need_version
=unknown
9979 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9980 shlibpath_var
=LIBPATH
9982 # AIX 3 has no versioning support, so we append a major version to the name.
9983 soname_spec
='${libname}${release}${shared_ext}$major'
9990 hardcode_into_libs
=yes
9991 if test "$host_cpu" = ia64
; then
9992 # AIX 5 supports IA64
9993 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9994 shlibpath_var
=LD_LIBRARY_PATH
9996 # With GCC up to 2.95.x, collect2 would create an import file
9997 # for dependence libraries. The import file would start with
9998 # the line `#! .'. This would cause the generated library to
9999 # depend on `.', always an invalid library. This was fixed in
10000 # development snapshots of GCC prior to 3.0.
10002 aix4 | aix4.
[01] | aix4.
[01].
*)
10003 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10005 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10008 can_build_shared
=no
10012 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10013 # soname into executable. Probably we can add versioning support to
10014 # collect2, so additional links can be useful in future.
10015 if test "$aix_use_runtimelinking" = yes; then
10016 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10017 # instead of lib<name>.a to let people know that these are not
10018 # typical AIX shared libraries.
10019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10021 # We preserve .a as extension for shared libraries through AIX4.2
10022 # and later when we are not doing run time linking.
10023 library_names_spec
='${libname}${release}.a $libname.a'
10024 soname_spec
='${libname}${release}${shared_ext}$major'
10026 shlibpath_var
=LIBPATH
10033 # Since July 2007 AmigaOS4 officially supports .so libraries.
10034 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10038 library_names_spec
='$libname.ixlibrary $libname.a'
10039 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10040 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'
10046 library_names_spec
='${libname}${shared_ext}'
10047 dynamic_linker
="$host_os ld.so"
10048 shlibpath_var
=LIBRARY_PATH
10054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10055 soname_spec
='${libname}${release}${shared_ext}$major'
10056 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10057 shlibpath_var
=LD_LIBRARY_PATH
10058 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10059 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10060 # the default ld.so.conf also contains /usr/contrib/lib and
10061 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10062 # libtool to hard-code these into programs
10065 cygwin
* | mingw
* | pw32
* | cegcc
*)
10066 version_type
=windows
10071 case $GCC,$host_os in
10072 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10073 library_names_spec
='$libname.dll.a'
10074 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10075 postinstall_cmds
='base_file=`basename \${file}`~
10076 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10077 dldir=$destdir/`dirname \$dlpath`~
10078 test -d \$dldir || mkdir -p \$dldir~
10079 $install_prog $dir/$dlname \$dldir/$dlname~
10080 chmod a+x \$dldir/$dlname~
10081 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10082 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10084 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10085 dlpath=$dir/\$dldll~
10087 shlibpath_overrides_runpath
=yes
10091 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10092 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10093 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10096 # MinGW DLLs use traditional 'lib' prefix
10097 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10098 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10099 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10100 # It is most probably a Windows format PATH printed by
10101 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10102 # path with ; separators, and with drive letters. We can handle the
10103 # drive letters (cygwin fileutils understands them), so leave them,
10104 # especially as we might pass files found there to a mingw objdump,
10105 # which wouldn't understand a cygwinified path. Ahh.
10106 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10108 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10112 # pw32 DLLs use 'pw' prefix rather than 'lib'
10113 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10119 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10122 dynamic_linker
='Win32 ld.exe'
10123 # FIXME: first we should search . and the directory the executable is in
10127 darwin
* | rhapsody
*)
10128 dynamic_linker
="$host_os dyld"
10129 version_type
=darwin
10132 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10133 soname_spec
='${libname}${release}${major}$shared_ext'
10134 shlibpath_overrides_runpath
=yes
10135 shlibpath_var
=DYLD_LIBRARY_PATH
10136 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10138 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10139 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10147 soname_spec
='${libname}${release}${shared_ext}$major'
10148 shlibpath_var
=LD_LIBRARY_PATH
10155 freebsd
* | dragonfly
*)
10156 # DragonFly does not have aout. When/if they implement a new
10157 # versioning mechanism, adjust this.
10158 if test -x /usr
/bin
/objformat
; then
10159 objformat
=`/usr/bin/objformat`
10162 freebsd
[123]*) objformat
=aout
;;
10163 *) objformat
=elf
;;
10166 version_type
=freebsd-
$objformat
10167 case $version_type in
10169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10174 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10178 shlibpath_var
=LD_LIBRARY_PATH
10181 shlibpath_overrides_runpath
=yes
10183 freebsd3.
[01]* | freebsdelf3.
[01]*)
10184 shlibpath_overrides_runpath
=yes
10185 hardcode_into_libs
=yes
10187 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10188 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10189 shlibpath_overrides_runpath
=no
10190 hardcode_into_libs
=yes
10192 *) # from 4.6 on, and DragonFly
10193 shlibpath_overrides_runpath
=yes
10194 hardcode_into_libs
=yes
10203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10204 soname_spec
='${libname}${release}${shared_ext}$major'
10205 shlibpath_var
=LD_LIBRARY_PATH
10206 hardcode_into_libs
=yes
10209 hpux9
* | hpux10
* | hpux11
*)
10210 # Give a soname corresponding to the major version so that dld.sl refuses to
10211 # link against other versions.
10218 hardcode_into_libs
=yes
10219 dynamic_linker
="$host_os dld.so"
10220 shlibpath_var
=LD_LIBRARY_PATH
10221 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 soname_spec
='${libname}${release}${shared_ext}$major'
10224 if test "X$HPUX_IA64_MODE" = X32
; then
10225 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10227 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10229 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10233 hardcode_into_libs
=yes
10234 dynamic_linker
="$host_os dld.sl"
10235 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10236 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10238 soname_spec
='${libname}${release}${shared_ext}$major'
10239 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10240 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10244 dynamic_linker
="$host_os dld.sl"
10245 shlibpath_var
=SHLIB_PATH
10246 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10248 soname_spec
='${libname}${release}${shared_ext}$major'
10251 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10252 postinstall_cmds
='chmod 555 $lib'
10259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10260 soname_spec
='${libname}${release}${shared_ext}$major'
10261 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10262 shlibpath_var
=LD_LIBRARY_PATH
10263 shlibpath_overrides_runpath
=no
10264 hardcode_into_libs
=yes
10267 irix5
* | irix6
* | nonstopux
*)
10269 nonstopux
*) version_type
=nonstopux
;;
10271 if test "$lt_cv_prog_gnu_ld" = yes; then
10279 soname_spec
='${libname}${release}${shared_ext}$major'
10280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10282 irix5
* | nonstopux
*)
10283 libsuff
= shlibsuff
=
10286 case $LD in # libtool.m4 will add one of these switches to LD
10287 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10288 libsuff
= shlibsuff
= libmagic
=32-bit;;
10289 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10290 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10291 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10292 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10293 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10297 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10298 shlibpath_overrides_runpath
=no
10299 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10300 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10301 hardcode_into_libs
=yes
10304 # No shared lib support for Linux oldld, aout, or coff.
10305 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10309 # This must be Linux ELF.
10310 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10315 soname_spec
='${libname}${release}${shared_ext}$major'
10316 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10317 shlibpath_var
=LD_LIBRARY_PATH
10318 shlibpath_overrides_runpath
=no
10320 # Some binutils ld are patched to set DT_RUNPATH
10321 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10322 $as_echo_n "(cached) " >&6
10324 lt_cv_shlibpath_overrides_runpath
=no
10325 save_LDFLAGS
=$LDFLAGS
10326 save_libdir
=$libdir
10327 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10328 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10340 if ac_fn_c_try_link
"$LINENO"; then :
10341 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10342 lt_cv_shlibpath_overrides_runpath
=yes
10345 rm -f core conftest.err conftest.
$ac_objext \
10346 conftest
$ac_exeext conftest.
$ac_ext
10347 LDFLAGS
=$save_LDFLAGS
10348 libdir
=$save_libdir
10352 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10354 # This implies no fast_install, which is unacceptable.
10355 # Some rework will be needed to allow for fast_install
10356 # before this can be enabled.
10357 hardcode_into_libs
=yes
10359 # Append ld.so.conf contents to the search path
10360 if test -f /etc
/ld.so.conf
; then
10361 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' ' '`
10362 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10365 # We used to test for /lib/ld.so.1 and disable shared libraries on
10366 # powerpc, because MkLinux only supported shared libraries with the
10367 # GNU dynamic linker. Since this was broken with cross compilers,
10368 # most powerpc-linux boxes support dynamic linking these days and
10369 # people can always --disable-shared, the test was removed, and we
10370 # assume the GNU/Linux dynamic linker is in use.
10371 dynamic_linker
='GNU/Linux ld.so'
10378 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10380 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10381 dynamic_linker
='NetBSD (a.out) ld.so'
10383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10384 soname_spec
='${libname}${release}${shared_ext}$major'
10385 dynamic_linker
='NetBSD ld.elf_so'
10387 shlibpath_var
=LD_LIBRARY_PATH
10388 shlibpath_overrides_runpath
=yes
10389 hardcode_into_libs
=yes
10394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10395 shlibpath_var
=LD_LIBRARY_PATH
10396 shlibpath_overrides_runpath
=yes
10403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10404 soname_spec
='${libname}${release}${shared_ext}$major'
10405 shlibpath_var
=LD_LIBRARY_PATH
10406 shlibpath_overrides_runpath
=no
10407 hardcode_into_libs
=yes
10408 dynamic_linker
='ldqnx.so'
10413 sys_lib_dlsearch_path_spec
="/usr/lib"
10415 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10417 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10418 *) need_version
=no
;;
10420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10421 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10422 shlibpath_var
=LD_LIBRARY_PATH
10423 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10425 openbsd2.
[89] | openbsd2.
[89].
*)
10426 shlibpath_overrides_runpath
=no
10429 shlibpath_overrides_runpath
=yes
10433 shlibpath_overrides_runpath
=yes
10438 libname_spec
='$name'
10441 library_names_spec
='$libname${shared_ext} $libname.a'
10442 dynamic_linker
='OS/2 ld.exe'
10443 shlibpath_var
=LIBPATH
10446 osf3
* | osf4
* | osf5
*)
10450 soname_spec
='${libname}${release}${shared_ext}$major'
10451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 shlibpath_var
=LD_LIBRARY_PATH
10453 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10454 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466 soname_spec
='${libname}${release}${shared_ext}$major'
10467 shlibpath_var
=LD_LIBRARY_PATH
10468 shlibpath_overrides_runpath
=yes
10469 hardcode_into_libs
=yes
10470 # ldd complains unless libraries are executable
10471 postinstall_cmds
='chmod +x $lib'
10476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10477 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10478 shlibpath_var
=LD_LIBRARY_PATH
10479 shlibpath_overrides_runpath
=yes
10480 if test "$with_gnu_ld" = yes; then
10488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10489 soname_spec
='${libname}${release}${shared_ext}$major'
10490 shlibpath_var
=LD_LIBRARY_PATH
10491 case $host_vendor in
10493 shlibpath_overrides_runpath
=no
10495 runpath_var
=LD_RUN_PATH
10503 shlibpath_overrides_runpath
=no
10504 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10510 if test -d /usr
/nec
;then
10512 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10513 soname_spec
='$libname${shared_ext}.$major'
10514 shlibpath_var
=LD_LIBRARY_PATH
10518 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10519 version_type
=freebsd-elf
10522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10523 soname_spec
='${libname}${release}${shared_ext}$major'
10524 shlibpath_var
=LD_LIBRARY_PATH
10525 shlibpath_overrides_runpath
=yes
10526 hardcode_into_libs
=yes
10527 if test "$with_gnu_ld" = yes; then
10528 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10530 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10533 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10537 sys_lib_dlsearch_path_spec
='/usr/lib'
10541 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10546 shlibpath_var
=LD_LIBRARY_PATH
10547 shlibpath_overrides_runpath
=no
10548 hardcode_into_libs
=yes
10553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec
='${libname}${release}${shared_ext}$major'
10555 shlibpath_var
=LD_LIBRARY_PATH
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10563 $as_echo "$dynamic_linker" >&6; }
10564 test "$dynamic_linker" = no
&& can_build_shared
=no
10566 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10567 if test "$GCC" = yes; then
10568 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10571 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10572 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10574 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10575 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10665 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10667 if test -n "$hardcode_libdir_flag_spec" ||
10668 test -n "$runpath_var" ||
10669 test "X$hardcode_automatic" = "Xyes" ; then
10671 # We can hardcode non-existent directories.
10672 if test "$hardcode_direct" != no
&&
10673 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10674 # have to relink, otherwise we might link with an installed library
10675 # when we should be linking with a yet-to-be-installed one
10676 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10677 test "$hardcode_minus_L" != no
; then
10678 # Linking always hardcodes the temporary library directory.
10679 hardcode_action
=relink
10681 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10682 hardcode_action
=immediate
10685 # We cannot hardcode anything, or else we can only hardcode existing
10687 hardcode_action
=unsupported
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10690 $as_echo "$hardcode_action" >&6; }
10692 if test "$hardcode_action" = relink ||
10693 test "$inherit_rpath" = yes; then
10694 # Fast installation is not supported
10695 enable_fast_install
=no
10696 elif test "$shlibpath_overrides_runpath" = yes ||
10697 test "$enable_shared" = no
; then
10698 # Fast installation is not necessary
10699 enable_fast_install
=needless
10707 if test "x$enable_dlopen" != xyes
; then
10708 enable_dlopen
=unknown
10709 enable_dlopen_self
=unknown
10710 enable_dlopen_self_static
=unknown
10717 lt_cv_dlopen
="load_add_on"
10719 lt_cv_dlopen_self
=yes
10722 mingw
* | pw32
* | cegcc
*)
10723 lt_cv_dlopen
="LoadLibrary"
10728 lt_cv_dlopen
="dlopen"
10733 # if libdl is installed we need to link against it
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10735 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10736 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10737 $as_echo_n "(cached) " >&6
10739 ac_check_lib_save_LIBS
=$LIBS
10741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10759 if ac_fn_c_try_link
"$LINENO"; then :
10760 ac_cv_lib_dl_dlopen
=yes
10762 ac_cv_lib_dl_dlopen
=no
10764 rm -f core conftest.err conftest.
$ac_objext \
10765 conftest
$ac_exeext conftest.
$ac_ext
10766 LIBS
=$ac_check_lib_save_LIBS
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10769 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10770 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10771 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10774 lt_cv_dlopen
="dyld"
10776 lt_cv_dlopen_self
=yes
10783 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10784 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10785 lt_cv_dlopen
="shl_load"
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10788 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10789 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10790 $as_echo_n "(cached) " >&6
10792 ac_check_lib_save_LIBS
=$LIBS
10794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10807 return shl_load ();
10812 if ac_fn_c_try_link
"$LINENO"; then :
10813 ac_cv_lib_dld_shl_load
=yes
10815 ac_cv_lib_dld_shl_load
=no
10817 rm -f core conftest.err conftest.
$ac_objext \
10818 conftest
$ac_exeext conftest.
$ac_ext
10819 LIBS
=$ac_check_lib_save_LIBS
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10822 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10823 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10824 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10826 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10827 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10828 lt_cv_dlopen
="dlopen"
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10831 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10832 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10833 $as_echo_n "(cached) " >&6
10835 ac_check_lib_save_LIBS
=$LIBS
10837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10855 if ac_fn_c_try_link
"$LINENO"; then :
10856 ac_cv_lib_dl_dlopen
=yes
10858 ac_cv_lib_dl_dlopen
=no
10860 rm -f core conftest.err conftest.
$ac_objext \
10861 conftest
$ac_exeext conftest.
$ac_ext
10862 LIBS
=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10865 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10866 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10867 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10870 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10871 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10872 $as_echo_n "(cached) " >&6
10874 ac_check_lib_save_LIBS
=$LIBS
10875 LIBS
="-lsvld $LIBS"
10876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10894 if ac_fn_c_try_link
"$LINENO"; then :
10895 ac_cv_lib_svld_dlopen
=yes
10897 ac_cv_lib_svld_dlopen
=no
10899 rm -f core conftest.err conftest.
$ac_objext \
10900 conftest
$ac_exeext conftest.
$ac_ext
10901 LIBS
=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10904 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10905 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10906 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10909 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10910 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10911 $as_echo_n "(cached) " >&6
10913 ac_check_lib_save_LIBS
=$LIBS
10915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10918 /* Override any GCC internal prototype to avoid an error.
10919 Use char because int might match the return type of a GCC
10920 builtin and then its argument prototype would still apply. */
10928 return dld_link ();
10933 if ac_fn_c_try_link
"$LINENO"; then :
10934 ac_cv_lib_dld_dld_link
=yes
10936 ac_cv_lib_dld_dld_link
=no
10938 rm -f core conftest.err conftest.
$ac_objext \
10939 conftest
$ac_exeext conftest.
$ac_ext
10940 LIBS
=$ac_check_lib_save_LIBS
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10943 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10944 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10945 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10966 if test "x$lt_cv_dlopen" != xno
; then
10972 case $lt_cv_dlopen in
10974 save_CPPFLAGS
="$CPPFLAGS"
10975 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10977 save_LDFLAGS
="$LDFLAGS"
10978 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10981 LIBS
="$lt_cv_dlopen_libs $LIBS"
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10984 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10985 if test "${lt_cv_dlopen_self+set}" = set; then :
10986 $as_echo_n "(cached) " >&6
10988 if test "$cross_compiling" = yes; then :
10989 lt_cv_dlopen_self
=cross
10991 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10992 lt_status
=$lt_dlunknown
10993 cat > conftest.
$ac_ext <<_LT_EOF
10994 #line 10994 "configure"
10995 #include "confdefs.h"
11004 # define LT_DLGLOBAL RTLD_GLOBAL
11007 # define LT_DLGLOBAL DL_GLOBAL
11009 # define LT_DLGLOBAL 0
11013 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11014 find out it does not work in some platform. */
11015 #ifndef LT_DLLAZY_OR_NOW
11017 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11020 # define LT_DLLAZY_OR_NOW DL_LAZY
11023 # define LT_DLLAZY_OR_NOW RTLD_NOW
11026 # define LT_DLLAZY_OR_NOW DL_NOW
11028 # define LT_DLLAZY_OR_NOW 0
11035 void fnord() { int i=42;}
11038 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11039 int status = $lt_dlunknown;
11043 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11044 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11045 /* dlclose (self); */
11053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11054 (eval $ac_link) 2>&5
11056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11057 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11058 (.
/conftest
; exit; ) >&5 2>/dev
/null
11060 case x
$lt_status in
11061 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11062 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11063 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11066 # compilation failed
11067 lt_cv_dlopen_self
=no
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11075 $as_echo "$lt_cv_dlopen_self" >&6; }
11077 if test "x$lt_cv_dlopen_self" = xyes
; then
11078 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11080 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11081 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11082 $as_echo_n "(cached) " >&6
11084 if test "$cross_compiling" = yes; then :
11085 lt_cv_dlopen_self_static
=cross
11087 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11088 lt_status
=$lt_dlunknown
11089 cat > conftest.
$ac_ext <<_LT_EOF
11090 #line 11090 "configure"
11091 #include "confdefs.h"
11100 # define LT_DLGLOBAL RTLD_GLOBAL
11103 # define LT_DLGLOBAL DL_GLOBAL
11105 # define LT_DLGLOBAL 0
11109 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11110 find out it does not work in some platform. */
11111 #ifndef LT_DLLAZY_OR_NOW
11113 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11116 # define LT_DLLAZY_OR_NOW DL_LAZY
11119 # define LT_DLLAZY_OR_NOW RTLD_NOW
11122 # define LT_DLLAZY_OR_NOW DL_NOW
11124 # define LT_DLLAZY_OR_NOW 0
11131 void fnord() { int i=42;}
11134 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11135 int status = $lt_dlunknown;
11139 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11140 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11141 /* dlclose (self); */
11149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11150 (eval $ac_link) 2>&5
11152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11153 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11154 (.
/conftest
; exit; ) >&5 2>/dev
/null
11156 case x
$lt_status in
11157 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11158 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11159 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11162 # compilation failed
11163 lt_cv_dlopen_self_static
=no
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11171 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11174 CPPFLAGS
="$save_CPPFLAGS"
11175 LDFLAGS
="$save_LDFLAGS"
11180 case $lt_cv_dlopen_self in
11181 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11182 *) enable_dlopen_self
=unknown
;;
11185 case $lt_cv_dlopen_self_static in
11186 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11187 *) enable_dlopen_self_static
=unknown
;;
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11210 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11211 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11212 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11213 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11215 $as_echo "yes" >&6; }
11217 # FIXME - insert some real tests, host_os isn't really good enough
11220 if test -n "$STRIP" ; then
11221 striplib
="$STRIP -x"
11222 old_striplib
="$STRIP -S"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11224 $as_echo "yes" >&6; }
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11227 $as_echo "no" >&6; }
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11232 $as_echo "no" >&6; }
11248 # Report which library types will actually be built
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11250 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11252 $as_echo "$can_build_shared" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11255 $as_echo_n "checking whether to build shared libraries... " >&6; }
11256 test "$can_build_shared" = "no" && enable_shared
=no
11258 # On AIX, shared libraries and static libraries use the same namespace, and
11259 # are all built from PIC.
11262 test "$enable_shared" = yes && enable_static
=no
11263 if test -n "$RANLIB"; then
11264 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11265 postinstall_cmds
='$RANLIB $lib'
11270 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11271 test "$enable_shared" = yes && enable_static
=no
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11276 $as_echo "$enable_shared" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11279 $as_echo_n "checking whether to build static libraries... " >&6; }
11280 # Make sure either enable_shared or enable_static is yes.
11281 test "$enable_shared" = yes || enable_static
=yes
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11283 $as_echo "$enable_static" >&6; }
11290 ac_cpp
='$CPP $CPPFLAGS'
11291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11309 ac_config_commands
="$ac_config_commands libtool"
11314 # Only expand once:
11318 for ac_func
in setmode
11320 ac_fn_c_check_func
"$LINENO" "setmode" "ac_cv_func_setmode"
11321 if test "x$ac_cv_func_setmode" = x
""yes; then :
11322 cat >>confdefs.h
<<_ACEOF
11323 #define HAVE_SETMODE 1
11330 ALL_LINGUAS
="fr tr sv es id da pt_BR de vi rw ga ms fi nl"
11331 # If we haven't got the data from the intl directory,
11332 # assume NLS is disabled.
11341 if test -f ..
/intl
/config.intl
; then
11342 . ..
/intl
/config.intl
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11345 $as_echo_n "checking whether NLS is requested... " >&6; }
11346 if test x
"$USE_NLS" != xyes
; then
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11348 $as_echo "no" >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11351 $as_echo "yes" >&6; }
11353 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11357 $as_echo_n "checking for catalogs to be installed... " >&6; }
11358 # Look for .po and .gmo files in the source directory.
11361 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11362 # If there aren't any .gmo files the shell will give us the
11363 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11365 case "$cat" in *\
**)
11368 # The quadruple backslash is collapsed to a double backslash
11369 # by the backticks, then collapsed again by the double quotes,
11370 # leaving us with one backslash in the sed expression (right
11371 # before the dot that mustn't act as a wildcard).
11372 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11373 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11374 # The user is allowed to set LINGUAS to a list of languages to
11375 # install catalogs for. If it's empty that means "all of them."
11376 if test "x$LINGUAS" = x
; then
11377 CATALOGS
="$CATALOGS $cat"
11378 XLINGUAS
="$XLINGUAS $lang"
11380 case "$LINGUAS" in *$lang*)
11381 CATALOGS
="$CATALOGS $cat"
11382 XLINGUAS
="$XLINGUAS $lang"
11387 LINGUAS
="$XLINGUAS"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11389 $as_echo "$LINGUAS" >&6; }
11403 if test -n "$ac_aux_dir"; then
11404 case "$ac_aux_dir" in
11405 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11406 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11409 if test -z "$MKINSTALLDIRS"; then
11410 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11416 $as_echo_n "checking whether NLS is requested... " >&6; }
11417 # Check whether --enable-nls was given.
11418 if test "${enable_nls+set}" = set; then :
11419 enableval
=$enable_nls; USE_NLS
=$enableval
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11425 $as_echo "$USE_NLS" >&6; }
11432 # Prepare PATH_SEPARATOR.
11433 # The user is always right.
11434 if test "${PATH_SEPARATOR+set}" != set; then
11435 echo "#! /bin/sh" >conf$$.sh
11436 echo "exit 0" >>conf$$.sh
11438 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11446 # Find out how to test for executable files. Don't use a zero-byte file,
11447 # as systems may use methods other than mode bits to determine executability.
11448 cat >conf$$.
file <<_ASEOF
11452 chmod +x conf$$.
file
11453 if test -x conf$$.
file >/dev
/null
2>&1; then
11454 ac_executable_p
="test -x"
11456 ac_executable_p
="test -f"
11460 # Extract the first word of "msgfmt", so it can be a program name with args.
11461 set dummy msgfmt
; ac_word
=$2
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11463 $as_echo_n "checking for $ac_word... " >&6; }
11464 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11465 $as_echo_n "(cached) " >&6
11469 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11472 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11473 for ac_dir
in $PATH; do
11475 test -z "$ac_dir" && ac_dir
=.
11476 for ac_exec_ext
in '' $ac_executable_extensions; do
11477 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11478 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11479 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11480 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11487 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11491 MSGFMT
="$ac_cv_path_MSGFMT"
11492 if test "$MSGFMT" != ":"; then
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11494 $as_echo "$MSGFMT" >&6; }
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11500 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11501 set dummy gmsgfmt
; ac_word
=$2
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11503 $as_echo_n "checking for $ac_word... " >&6; }
11504 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11505 $as_echo_n "(cached) " >&6
11509 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11513 for as_dir
in $PATH
11516 test -z "$as_dir" && as_dir
=.
11517 for ac_exec_ext
in '' $ac_executable_extensions; do
11518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11519 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11527 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11531 GMSGFMT
=$ac_cv_path_GMSGFMT
11532 if test -n "$GMSGFMT"; then
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11534 $as_echo "$GMSGFMT" >&6; }
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537 $as_echo "no" >&6; }
11543 # Prepare PATH_SEPARATOR.
11544 # The user is always right.
11545 if test "${PATH_SEPARATOR+set}" != set; then
11546 echo "#! /bin/sh" >conf$$.sh
11547 echo "exit 0" >>conf$$.sh
11549 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11557 # Find out how to test for executable files. Don't use a zero-byte file,
11558 # as systems may use methods other than mode bits to determine executability.
11559 cat >conf$$.
file <<_ASEOF
11563 chmod +x conf$$.
file
11564 if test -x conf$$.
file >/dev
/null
2>&1; then
11565 ac_executable_p
="test -x"
11567 ac_executable_p
="test -f"
11571 # Extract the first word of "xgettext", so it can be a program name with args.
11572 set dummy xgettext
; ac_word
=$2
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11574 $as_echo_n "checking for $ac_word... " >&6; }
11575 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11576 $as_echo_n "(cached) " >&6
11578 case "$XGETTEXT" in
11580 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11583 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11584 for ac_dir
in $PATH; do
11586 test -z "$ac_dir" && ac_dir
=.
11587 for ac_exec_ext
in '' $ac_executable_extensions; do
11588 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11589 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11590 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11591 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11598 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11602 XGETTEXT
="$ac_cv_path_XGETTEXT"
11603 if test "$XGETTEXT" != ":"; then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11605 $as_echo "$XGETTEXT" >&6; }
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11608 $as_echo "no" >&6; }
11614 # Prepare PATH_SEPARATOR.
11615 # The user is always right.
11616 if test "${PATH_SEPARATOR+set}" != set; then
11617 echo "#! /bin/sh" >conf$$.sh
11618 echo "exit 0" >>conf$$.sh
11620 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11628 # Find out how to test for executable files. Don't use a zero-byte file,
11629 # as systems may use methods other than mode bits to determine executability.
11630 cat >conf$$.
file <<_ASEOF
11634 chmod +x conf$$.
file
11635 if test -x conf$$.
file >/dev
/null
2>&1; then
11636 ac_executable_p
="test -x"
11638 ac_executable_p
="test -f"
11642 # Extract the first word of "msgmerge", so it can be a program name with args.
11643 set dummy msgmerge
; ac_word
=$2
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11645 $as_echo_n "checking for $ac_word... " >&6; }
11646 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11647 $as_echo_n "(cached) " >&6
11649 case "$MSGMERGE" in
11651 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11654 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11655 for ac_dir
in $PATH; do
11657 test -z "$ac_dir" && ac_dir
=.
11658 for ac_exec_ext
in '' $ac_executable_extensions; do
11659 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11660 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11661 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11668 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11672 MSGMERGE
="$ac_cv_path_MSGMERGE"
11673 if test "$MSGMERGE" != ":"; then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11675 $as_echo "$MSGMERGE" >&6; }
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678 $as_echo "no" >&6; }
11682 if test "$GMSGFMT" != ":"; then
11683 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11684 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11687 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11689 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11694 if test "$XGETTEXT" != ":"; then
11695 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11696 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11700 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11706 ac_config_commands
="$ac_config_commands default-1"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11712 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11713 # Check whether --enable-maintainer-mode was given.
11714 if test "${enable_maintainer_mode+set}" = set; then :
11715 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
11717 USE_MAINTAINER_MODE
=no
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11721 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11722 if test $USE_MAINTAINER_MODE = yes; then
11723 MAINTAINER_MODE_TRUE
=
11724 MAINTAINER_MODE_FALSE
='#'
11726 MAINTAINER_MODE_TRUE
='#'
11727 MAINTAINER_MODE_FALSE
=
11730 MAINT
=$MAINTAINER_MODE_TRUE
11734 GENINSRC_NEVER_TRUE
=
11735 GENINSRC_NEVER_FALSE
='#'
11737 GENINSRC_NEVER_TRUE
='#'
11738 GENINSRC_NEVER_FALSE
=
11743 for ac_header
in sys
/gmon_out.h
11745 ac_fn_c_check_header_mongrel
"$LINENO" "sys/gmon_out.h" "ac_cv_header_sys_gmon_out_h" "$ac_includes_default"
11746 if test "x$ac_cv_header_sys_gmon_out_h" = x
""yes; then :
11747 cat >>confdefs.h
<<_ACEOF
11748 #define HAVE_SYS_GMON_OUT_H 1
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
11757 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
11758 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then :
11759 $as_echo_n "(cached) " >&6
11761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11762 /* end confdefs.h. */
11763 #include <unistd.h>
11767 extern int getopt (int, char *const*, const char *);
11772 if ac_fn_c_try_compile
"$LINENO"; then :
11773 gprof_cv_decl_getopt_unistd_h
=yes
11775 gprof_cv_decl_getopt_unistd_h
=no
11777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_decl_getopt_unistd_h" >&5
11781 $as_echo "$gprof_cv_decl_getopt_unistd_h" >&6; }
11782 if test $gprof_cv_decl_getopt_unistd_h = yes; then
11784 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
11788 # Some systems have fabs only in -lm, not in -lc.
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
11790 $as_echo_n "checking for library containing fabs... " >&6; }
11791 if test "${ac_cv_search_fabs+set}" = set; then :
11792 $as_echo_n "(cached) " >&6
11794 ac_func_search_save_LIBS
=$LIBS
11795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11813 for ac_lib
in '' m
; do
11814 if test -z "$ac_lib"; then
11815 ac_res
="none required"
11818 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11820 if ac_fn_c_try_link
"$LINENO"; then :
11821 ac_cv_search_fabs
=$ac_res
11823 rm -f core conftest.err conftest.
$ac_objext \
11825 if test "${ac_cv_search_fabs+set}" = set; then :
11829 if test "${ac_cv_search_fabs+set}" = set; then :
11832 ac_cv_search_fabs
=no
11834 rm conftest.
$ac_ext
11835 LIBS
=$ac_func_search_save_LIBS
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
11838 $as_echo "$ac_cv_search_fabs" >&6; }
11839 ac_res
=$ac_cv_search_fabs
11840 if test "$ac_res" != no
; then :
11841 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11847 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11849 # Check whether --enable-werror was given.
11850 if test "${enable_werror+set}" = set; then :
11851 enableval
=$enable_werror; case "${enableval}" in
11852 yes | y
) ERROR_ON_WARNING
="yes" ;;
11853 no | n
) ERROR_ON_WARNING
="no" ;;
11854 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11859 # Enable -Wno-format by default when using gcc on mingw
11862 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11863 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
11869 # Enable -Werror by default when using gcc
11870 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11871 ERROR_ON_WARNING
=yes
11875 if test "${ERROR_ON_WARNING}" = yes ; then
11876 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
11877 NO_WERROR
="-Wno-error"
11880 if test "${GCC}" = yes ; then
11881 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
11884 # Check whether --enable-build-warnings was given.
11885 if test "${enable_build_warnings+set}" = set; then :
11886 enableval
=$enable_build_warnings; case "${enableval}" in
11887 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
11888 no
) if test "${GCC}" = yes ; then
11891 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11892 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
11893 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
11894 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
11895 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11900 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
11901 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11913 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
11915 cat >confcache
<<\_ACEOF
11916 # This file is a shell script that caches the results of configure
11917 # tests run on this system so they can be shared between configure
11918 # scripts and configure runs, see configure's option --config-cache.
11919 # It is not useful on other systems. If it contains results you don't
11920 # want to keep, you may remove or edit it.
11922 # config.status only pays attention to the cache file if you give it
11923 # the --recheck option to rerun configure.
11925 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11926 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11927 # following values.
11931 # The following way of writing the cache mishandles newlines in values,
11932 # but we know of no workaround that is simple, portable, and efficient.
11933 # So, we kill variables containing newlines.
11934 # Ultrix sh set writes to stderr and can't be redirected directly,
11935 # and sets the high bit in the cache file unless we assign to the vars.
11937 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11938 eval ac_val
=\$
$ac_var
11942 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11946 _ | IFS | as_nl
) ;; #(
11947 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11948 *) { eval $ac_var=; unset $ac_var;} ;;
11954 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11955 *${as_nl}ac_space
=\
*)
11956 # `set' does not quote correctly, so add quotes: double-quote
11957 # substitution turns \\\\ into \\, and sed turns \\ into \.
11960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11963 # `set' quotes correctly as required by POSIX, so do not add quotes.
11964 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11973 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11975 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11977 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11978 if test -w "$cache_file"; then
11979 test "x$cache_file" != "x/dev/null" &&
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11981 $as_echo "$as_me: updating cache $cache_file" >&6;}
11982 cat confcache
>$cache_file
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11985 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11990 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11991 # Let make expand exec_prefix.
11992 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11994 DEFS
=-DHAVE_CONFIG_H
11998 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11999 # 1. Remove the extension, and $U if already installed.
12000 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12001 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12002 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12003 # will be set to the directory where LIBOBJS objects are built.
12004 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12005 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12007 LIBOBJS
=$ac_libobjs
12009 LTLIBOBJS
=$ac_ltlibobjs
12012 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12013 as_fn_error
"conditional \"AMDEP\" was never defined.
12014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12016 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12017 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
12018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12020 if test -n "$EXEEXT"; then
12022 am__EXEEXT_FALSE
='#'
12024 am__EXEEXT_TRUE
='#'
12028 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12029 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
12030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12032 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12033 as_fn_error
"conditional \"GENINSRC_NEVER\" was never defined.
12034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12037 : ${CONFIG_STATUS=./config.status}
12039 ac_clean_files_save
=$ac_clean_files
12040 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12042 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12044 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12046 # Generated by $as_me.
12047 # Run this file to recreate the current configuration.
12048 # Compiler output produced by configure, useful for debugging
12049 # configure, is in config.log if it exists.
12052 ac_cs_recheck=false
12055 SHELL=\${CONFIG_SHELL-$SHELL}
12058 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12059 ## -------------------- ##
12060 ## M4sh Initialization. ##
12061 ## -------------------- ##
12063 # Be more Bourne compatible
12064 DUALCASE
=1; export DUALCASE
# for MKS sh
12065 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12068 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12069 # is contrary to our usage. Disable this feature.
12070 alias -g '${1+"$@"}'='"$@"'
12071 setopt NO_GLOB_SUBST
12073 case `(set -o) 2>/dev/null` in #(
12085 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12086 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12088 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12089 # Prefer a ksh shell builtin over an external printf program on Solaris,
12090 # but without wasting forks for bash or zsh.
12091 if test -z "$BASH_VERSION$ZSH_VERSION" \
12092 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12093 as_echo='print
-r --'
12094 as_echo_n='print
-rn --'
12095 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12096 as_echo='printf %s
\n'
12097 as_echo_n='printf %s
'
12099 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12100 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12101 as_echo_n='/usr
/ucb
/echo -n'
12103 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12104 as_echo_n_body='eval
12108 expr "X$arg" : "X\\(.*\\)$as_nl";
12109 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12111 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12113 export as_echo_n_body
12114 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12116 export as_echo_body
12117 as_echo='sh
-c $as_echo_body as_echo
'
12120 # The user is always right.
12121 if test "${PATH_SEPARATOR+set}" != set; then
12123 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12124 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12131 # We need space, tab and new line, in precisely that order. Quoting is
12132 # there to prevent editors from complaining about space-tab.
12133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12134 # splitting by setting IFS to empty value.)
12137 # Find who we are. Look in the path if we contain no directory separator.
12139 *[\\/]* ) as_myself=$0 ;;
12140 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12141 for as_dir in $PATH
12144 test -z "$as_dir" && as_dir=.
12145 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12151 # We did not find ourselves, most probably we were run as `sh COMMAND'
12152 # in which case we are not to be found in the path.
12153 if test "x$as_myself" = x
; then
12156 if test ! -f "$as_myself"; then
12157 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12161 # Unset variables that we do not need and which cause bugs (e.g. in
12162 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12163 # suppresses any "Segmentation fault" message there. '((' could
12164 # trigger a bug in pdksh 5.2.14.
12165 for as_var
in BASH_ENV ENV MAIL MAILPATH
12166 do eval test x\
${$as_var+set} = xset \
12167 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12180 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12183 # as_fn_error ERROR [LINENO LOG_FD]
12184 # ---------------------------------
12185 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12186 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12187 # script with status $?, using 1 if that was 0.
12190 as_status
=$?
; test $as_status -eq 0 && as_status
=1
12192 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12193 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12195 $as_echo "$as_me: error: $1" >&2
12196 as_fn_exit
$as_status
12200 # as_fn_set_status STATUS
12201 # -----------------------
12202 # Set $? to STATUS, without forking.
12203 as_fn_set_status
()
12206 } # as_fn_set_status
12208 # as_fn_exit STATUS
12209 # -----------------
12210 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12214 as_fn_set_status
$1
12220 # Portably unset VAR.
12223 { eval $1=; unset $1;}
12225 as_unset
=as_fn_unset
12226 # as_fn_append VAR VALUE
12227 # ----------------------
12228 # Append the text in VALUE to the end of the definition contained in VAR. Take
12229 # advantage of any shell optimizations that allow amortized linear growth over
12230 # repeated appends, instead of the typical quadratic growth present in naive
12232 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12233 eval 'as_fn_append ()
12244 # as_fn_arith ARG...
12245 # ------------------
12246 # Perform arithmetic evaluation on the ARGs, and store the result in the
12247 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12248 # must be portable across $(()) and expr.
12249 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12250 eval 'as_fn_arith ()
12257 as_val
=`expr "$@" || test $? -eq 1`
12262 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12263 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12269 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12270 as_basename
=basename
12275 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12281 as_me
=`$as_basename -- "$0" ||
12282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12283 X"$0" : 'X\(//\)$' \| \
12284 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12286 sed '/^.*\/\([^/][^/]*\)\/*$/{
12300 # Avoid depending upon Character Ranges.
12301 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12302 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12303 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12304 as_cr_digits
='0123456789'
12305 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12307 ECHO_C
= ECHO_N
= ECHO_T
=
12308 case `echo -n x` in #(((((
12310 case `echo 'xy\c'` in
12311 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12313 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12320 rm -f conf$$ conf$$.exe conf$$.
file
12321 if test -d conf$$.dir
; then
12322 rm -f conf$$.dir
/conf$$.
file
12325 mkdir conf$$.dir
2>/dev
/null
12327 if (echo >conf$$.
file) 2>/dev
/null
; then
12328 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12330 # ... but there are two gotchas:
12331 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12332 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12333 # In both cases, we have to default to `cp -p'.
12334 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12336 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12344 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12345 rmdir conf$$.dir
2>/dev
/null
12350 # Create "$as_dir" as a directory, including parents if necessary.
12355 -*) as_dir
=.
/$as_dir;;
12357 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12361 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12362 *) as_qdir
=$as_dir;;
12364 as_dirs
="'$as_qdir' $as_dirs"
12365 as_dir
=`$as_dirname -- "$as_dir" ||
12366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12367 X"$as_dir" : 'X\(//\)[^/]' \| \
12368 X"$as_dir" : 'X\(//\)$' \| \
12369 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12370 $as_echo X"$as_dir" |
12371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12375 /^X\(\/\/\)[^/].*/{
12388 test -d "$as_dir" && break
12390 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12391 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12395 if mkdir
-p .
2>/dev
/null
; then
12396 as_mkdir_p
='mkdir -p "$as_dir"'
12398 test -d .
/-p && rmdir .
/-p
12402 if test -x / >/dev
/null
2>&1; then
12403 as_test_x
='test -x'
12405 if ls -dL / >/dev
/null
2>&1; then
12412 if test -d "$1"; then
12418 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12419 ???[sx]*):;;*)false;;esac;fi
12423 as_executable_p
=$as_test_x
12425 # Sed expression to map a string onto a valid CPP name.
12426 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12428 # Sed expression to map a string onto a valid variable name.
12429 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12433 ## ----------------------------------- ##
12434 ## Main body of $CONFIG_STATUS script. ##
12435 ## ----------------------------------- ##
12437 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12440 # Save the log message, to keep $0 and so on meaningful, and to
12441 # report actual input values of CONFIG_FILES etc. instead of their
12442 # values after options handling.
12444 This file was extended by $as_me, which was
12445 generated by GNU Autoconf 2.64. Invocation command line was
12447 CONFIG_FILES = $CONFIG_FILES
12448 CONFIG_HEADERS = $CONFIG_HEADERS
12449 CONFIG_LINKS = $CONFIG_LINKS
12450 CONFIG_COMMANDS = $CONFIG_COMMANDS
12453 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12458 case $ac_config_files in *"
12459 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12462 case $ac_config_headers in *"
12463 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12468 # Files that config.status was made for.
12469 config_files="$ac_config_files"
12470 config_headers="$ac_config_headers"
12471 config_commands="$ac_config_commands"
12475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12477 \`$as_me' instantiates files and other configuration actions
12478 from templates according to the current configuration. Unless the files
12479 and actions are specified as TAGs, all are instantiated by default.
12481 Usage: $0 [OPTION]... [TAG]...
12483 -h, --help print this help, then exit
12484 -V, --version print version number and configuration settings, then exit
12485 -q, --quiet, --silent
12486 do not print progress messages
12487 -d, --debug don't remove temporary files
12488 --recheck update $as_me by reconfiguring in the same conditions
12489 --file=FILE[:TEMPLATE]
12490 instantiate the configuration file FILE
12491 --header=FILE[:TEMPLATE]
12492 instantiate the configuration header FILE
12494 Configuration files:
12497 Configuration headers:
12500 Configuration commands:
12503 Report bugs to the package provider."
12506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12509 configured by $0, generated by GNU Autoconf 2.64,
12510 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12512 Copyright (C) 2009 Free Software Foundation, Inc.
12513 This config.status script is free software; the Free Software Foundation
12514 gives unlimited permission to copy, distribute and modify it."
12521 test -n "\$AWK" || AWK=awk
12524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12525 # The default lists apply if the user does not specify any file.
12531 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12532 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12543 # Handling of the options.
12544 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12546 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12547 $as_echo "$ac_cs_version"; exit ;;
12548 --debug |
--debu |
--deb |
--de |
--d |
-d )
12550 --file |
--fil |
--fi |
--f )
12553 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12555 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12556 ac_need_defaults
=false
;;
12557 --header |
--heade |
--head |
--hea )
12560 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12562 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12563 ac_need_defaults
=false
;;
12565 # Conflict between --help and --header
12566 as_fn_error
"ambiguous option: \`$1'
12567 Try \`$0 --help' for more information.";;
12568 --help |
--hel |
-h )
12569 $as_echo "$ac_cs_usage"; exit ;;
12570 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12571 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12574 # This is an error.
12575 -*) as_fn_error
"unrecognized option: \`$1'
12576 Try \`$0 --help' for more information." ;;
12578 *) as_fn_append ac_config_targets
" $1"
12579 ac_need_defaults
=false
;;
12585 ac_configure_extra_args
=
12587 if $ac_cs_silent; then
12589 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12594 if \$ac_cs_recheck; then
12595 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12597 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12598 CONFIG_SHELL='$SHELL'
12599 export CONFIG_SHELL
12604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12608 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12609 ## Running $as_me. ##
12615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12619 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12622 # The HP-UX ksh and POSIX shell print the target directory to stdout
12623 # if CDPATH is set.
12624 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12626 sed_quote_subst='$sed_quote_subst'
12627 double_quote_subst='$double_quote_subst'
12628 delay_variable_subst='$delay_variable_subst'
12629 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12630 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12631 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12632 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12633 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12634 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12635 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12636 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12637 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12638 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12639 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12640 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12641 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12642 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12643 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12644 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12645 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12646 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12647 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12648 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12649 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12650 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12651 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12652 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12653 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12654 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12655 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12656 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12657 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12658 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12659 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12660 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12661 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12662 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12663 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12664 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12665 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12666 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12667 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12668 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12669 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12670 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12671 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12672 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12673 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"`'
12674 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"`'
12675 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12676 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12677 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12678 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12679 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12680 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12681 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12682 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12683 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12684 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12685 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12686 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12687 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12688 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12689 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12690 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12691 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12692 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12693 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12694 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12695 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12696 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12697 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12698 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12699 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12700 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12701 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12702 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12703 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12704 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12705 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12706 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12707 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12708 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12709 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12710 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12711 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12712 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12713 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12714 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12715 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12716 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12717 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12718 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12719 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12720 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12721 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12722 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12723 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12724 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12725 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12726 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12727 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12728 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12729 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12730 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12731 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12732 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12733 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12734 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12735 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12736 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12737 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12738 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12739 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12740 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12741 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12742 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12743 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12744 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12745 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12746 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
12749 LTCFLAGS='$LTCFLAGS'
12750 compiler='$compiler_DEFAULT'
12752 # Quote evaled strings.
12764 deplibs_check_method \
12773 lt_cv_sys_global_symbol_pipe \
12774 lt_cv_sys_global_symbol_to_cdecl \
12775 lt_cv_sys_global_symbol_to_c_name_address \
12776 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12779 lt_prog_compiler_no_builtin_flag \
12780 lt_prog_compiler_wl \
12781 lt_prog_compiler_pic \
12782 lt_prog_compiler_static \
12783 lt_cv_prog_compiler_c_o \
12791 export_dynamic_flag_spec \
12792 whole_archive_flag_spec \
12793 compiler_needs_object \
12795 allow_undefined_flag \
12796 no_undefined_flag \
12797 hardcode_libdir_flag_spec \
12798 hardcode_libdir_flag_spec_ld \
12799 hardcode_libdir_separator \
12804 variables_saved_for_relink \
12806 library_names_spec \
12811 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12812 *[\\\\\\\`\\"\\\$]*)
12813 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12816 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12821 # Double-quote double-evaled strings.
12822 for var in reload_cmds \
12823 old_postinstall_cmds \
12824 old_postuninstall_cmds \
12826 extract_expsyms_cmds \
12827 old_archive_from_new_cmds \
12828 old_archive_from_expsyms_cmds \
12830 archive_expsym_cmds \
12832 module_expsym_cmds \
12833 export_symbols_cmds \
12836 postuninstall_cmds \
12838 sys_lib_search_path_spec \
12839 sys_lib_dlsearch_path_spec; do
12840 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12841 *[\\\\\\\`\\"\\\$]*)
12842 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12845 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12850 # Fix-up fallback echo if it was mangled by the above quoting rules.
12852 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12856 ac_aux_dir='$ac_aux_dir'
12857 xsi_shell='$xsi_shell'
12858 lt_shell_append='$lt_shell_append'
12860 # See if we are running on zsh, and set the options which allow our
12861 # commands through without removal of \ escapes INIT.
12862 if test -n "\${ZSH_VERSION+set}" ; then
12863 setopt NO_GLOB_SUBST
12869 TIMESTAMP='$TIMESTAMP'
12875 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12876 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12878 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12879 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12880 LINGUAS="${LINGUAS-%UNSET%}"
12885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12887 # Handling of arguments.
12888 for ac_config_target
in $ac_config_targets
12890 case $ac_config_target in
12891 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12892 "gconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
12893 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
12894 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12895 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12896 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12898 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12903 # If the user did not use the arguments to specify the items to instantiate,
12904 # then the envvar interface is used. Set only those that are not.
12905 # We use the long form for the default assignment because of an extremely
12906 # bizarre bug on SunOS 4.1.3.
12907 if $ac_need_defaults; then
12908 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12909 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12913 # Have a temporary directory for convenience. Make it in the build tree
12914 # simply because there is no reason against having it here, and in addition,
12915 # creating and moving files from /tmp can sometimes cause problems.
12916 # Hook for its removal unless debugging.
12917 # Note that there is a small window in which the directory will not be cleaned:
12918 # after its creation but before its name has been assigned to `$tmp'.
12922 trap 'exit_status=$?
12923 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12925 trap 'as_fn_exit 1' 1 2 13 15
12927 # Create a (secure) tmp directory for tmp files.
12930 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12931 test -n "$tmp" && test -d "$tmp"
12934 tmp
=.
/conf$$
-$RANDOM
12935 (umask 077 && mkdir
"$tmp")
12936 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12938 # Set up the scripts for CONFIG_FILES section.
12939 # No need to generate them if there are no CONFIG_FILES.
12940 # This happens for instance with `./config.status config.h'.
12941 if test -n "$CONFIG_FILES"; then
12944 ac_cr
=`echo X | tr X '\015'`
12945 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12946 # But we know of no other shell where ac_cr would be empty at this
12947 # point, so we can use a bashism as a fallback.
12948 if test "x$ac_cr" = x
; then
12949 eval ac_cr
=\$
\'\\r
\'
12951 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12952 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12955 ac_cs_awk_cr
=$ac_cr
12958 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12963 echo "cat >conf$$subs.awk <<_ACEOF" &&
12964 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12966 } >conf$$subs.sh ||
12967 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12968 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12970 for ac_last_try in false false false false false :; do
12971 . ./conf$$subs.sh ||
12972 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12974 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12975 if test $ac_delim_n = $ac_delim_num; then
12977 elif $ac_last_try; then
12978 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12980 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12983 rm -f conf$$subs.sh
12985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12986 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12990 s/^/S["/; s
/!.
*/"]=/
13000 s/\(.\{148\}\).*/\1/
13002 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13007 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13014 s/\(.\{148\}\).*/\1/
13016 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13020 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13025 ' <conf$$subs.awk | sed '
13030 ' >>$CONFIG_STATUS || ac_write_fail=1
13031 rm -f conf$$subs.awk
13032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13034 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13035 for (key in S) S_is_set[key] = 1
13041 nfields = split(line, field, "@
")
13043 len = length(field[1])
13044 for (i = 2; i < nfields; i++) {
13046 keylen = length(key)
13047 if (S_is_set[key]) {
13049 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13050 len += length(value) + length(field[++i])
13061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13062 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13063 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13066 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13067 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
13070 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13071 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13072 # trailing colons and then remove the whole line if VPATH becomes empty
13073 # (actually we leave an empty line to preserve line numbers).
13074 if test "x
$srcdir" = x.; then
13075 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13076 s/:*\$(srcdir):*/:/
13077 s/:*\${srcdir}:*/:/
13079 s/^\([^=]*=[ ]*\):*/\1/
13085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13086 fi # test -n "$CONFIG_FILES"
13088 # Set up the scripts for CONFIG_HEADERS section.
13089 # No need to generate them if there are no CONFIG_HEADERS.
13090 # This happens for instance with `./config.status Makefile'.
13091 if test -n "$CONFIG_HEADERS"; then
13092 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13096 # Transform confdefs.h into an awk script `defines.awk', embedded as
13097 # here-document in config.status, that substitutes the proper values into
13098 # config.h.in to produce config.h.
13100 # Create a delimiter string that does not exist in confdefs.h, to ease
13101 # handling of long lines.
13103 for ac_last_try in false false :; do
13104 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13105 if test -z "$ac_t"; then
13107 elif $ac_last_try; then
13108 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
13110 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13114 # For the awk script, D is an array of macro values keyed by name,
13115 # likewise P contains macro parameters if any. Preserve backslash
13116 # newline sequences.
13118 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13120 s/.\{148\}/&'"$ac_delim"'/g
13123 s/^[ ]*#[ ]*define[ ][ ]*/ /
13130 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13132 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13136 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13137 D["\
1"]=" \
3\\\\\\n
"\\/p
13139 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13144 s/.\{148\}/&'"$ac_delim"'/g
13149 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13152 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13154 ' <confdefs.h | sed '
13155 s/'"$ac_delim"'/"\\\
13156 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13159 for (key in D) D_is_set[key] = 1
13162 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13164 split(line, arg, " ")
13165 if (arg[1] == "#") {
13169 defundef
= substr
(arg
[1], 2)
13172 split(mac1
, mac2
, "(") #)
13174 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13175 if (D_is_set
[macro
]) {
13176 # Preserve the white space surrounding the "#".
13177 print prefix
"define", macro P
[macro
] D
[macro
]
13180 # Replace #undef with comments. This is necessary, for example,
13181 # in the case of _POSIX_SOURCE, which is predefined and required
13182 # on some systems where configure will not decide to define it.
13183 if (defundef
== "undef") {
13184 print
"/*", prefix defundef
, macro
, "*/"
13192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13193 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
13194 fi # test -n "$CONFIG_HEADERS"
13197 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13202 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13204 case $ac_mode$ac_tag in
13206 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13207 :[FH
]-) ac_tag
=-:-;;
13208 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13225 -) ac_f
="$tmp/stdin";;
13226 *) # Look for the file first in the build tree, then in the source tree
13227 # (if the path is not absolute). The absolute path cannot be DOS-style,
13228 # because $ac_f cannot contain `:'.
13232 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13234 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
13236 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13237 as_fn_append ac_file_inputs
" '$ac_f'"
13240 # Let's still pretend it is `configure' which instantiates (i.e., don't
13241 # use $as_me), people would be surprised to read:
13242 # /* config.h. Generated by config.status. */
13243 configure_input
='Generated from '`
13244 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13246 if test x
"$ac_file" != x-
; then
13247 configure_input
="$ac_file. $configure_input"
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13249 $as_echo "$as_me: creating $ac_file" >&6;}
13251 # Neutralize special characters interpreted by sed in replacement strings.
13252 case $configure_input in #(
13253 *\
&* |
*\|
* |
*\\* )
13254 ac_sed_conf_input
=`$as_echo "$configure_input" |
13255 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13256 *) ac_sed_conf_input
=$configure_input;;
13260 *:-:* |
*:-) cat >"$tmp/stdin" \
13261 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
13266 ac_dir
=`$as_dirname -- "$ac_file" ||
13267 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13268 X"$ac_file" : 'X\(//\)[^/]' \| \
13269 X"$ac_file" : 'X\(//\)$' \| \
13270 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13271 $as_echo X"$ac_file" |
13272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13276 /^X\(\/\/\)[^/].*/{
13289 as_dir
="$ac_dir"; as_fn_mkdir_p
13293 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13295 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13296 # A ".." for each directory in $ac_dir_suffix.
13297 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13298 case $ac_top_builddir_sub in
13299 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13300 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13303 ac_abs_top_builddir
=$ac_pwd
13304 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13305 # for backward compatibility:
13306 ac_top_builddir
=$ac_top_build_prefix
13309 .
) # We are building in place.
13311 ac_top_srcdir
=$ac_top_builddir_sub
13312 ac_abs_top_srcdir
=$ac_pwd ;;
13313 [\\/]* | ?
:[\\/]* ) # Absolute name.
13314 ac_srcdir
=$srcdir$ac_dir_suffix;
13315 ac_top_srcdir
=$srcdir
13316 ac_abs_top_srcdir
=$srcdir ;;
13317 *) # Relative name.
13318 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13319 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13320 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13322 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13332 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13333 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13335 ac_MKDIR_P
=$MKDIR_P
13337 [\\/$
]* | ?
:[\\/]* ) ;;
13338 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13343 # If the template does not know about datarootdir, expand it.
13344 # FIXME: This hack should be removed a few years after 2.60.
13345 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13356 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13357 *datarootdir
*) ac_datarootdir_seen
=yes;;
13358 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13360 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13363 ac_datarootdir_hack='
13364 s&@datadir@&$datadir&g
13365 s&@docdir@&$docdir&g
13366 s&@infodir@&$infodir&g
13367 s&@localedir@&$localedir&g
13368 s&@mandir@&$mandir&g
13369 s&\\\${datarootdir}&$datarootdir&g' ;;
13373 # Neutralize VPATH when `$srcdir' = `.'.
13374 # Shell code in configure.ac might set extrasub.
13375 # FIXME: do we really want to maintain this feature?
13376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13377 ac_sed_extra="$ac_vpsub
13380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13382 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13383 s|@configure_input@|
$ac_sed_conf_input|
;t t
13384 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13385 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13386 s
&@srcdir@
&$ac_srcdir&;t t
13387 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13388 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13389 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13390 s
&@builddir@
&$ac_builddir&;t t
13391 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13392 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13393 s
&@INSTALL@
&$ac_INSTALL&;t t
13394 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13395 $ac_datarootdir_hack
13397 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13398 || as_fn_error "could not create
$ac_file" "$LINENO" 5
13400 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13401 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13402 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13404 which seems to be undefined. Please make sure it is defined." >&5
13405 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13406 which seems to be undefined. Please make sure it is defined." >&2;}
13410 -) cat "$tmp/out" && rm -f "$tmp/out";;
13411 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13413 || as_fn_error "could not create $ac_file" "$LINENO" 5
13419 if test x"$ac_file" != x-; then
13421 $as_echo "/* $configure_input */" \
13422 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13423 } >"$tmp/config.h" \
13424 || as_fn_error "could not create $ac_file" "$LINENO" 5
13425 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13427 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13430 mv "$tmp/config.h" "$ac_file" \
13431 || as_fn_error "could not create $ac_file" "$LINENO" 5
13434 $as_echo "/* $configure_input */" \
13435 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13436 || as_fn_error "could not create -" "$LINENO" 5
13438 # Compute "$ac_file"'s index
in $config_headers.
13441 for _am_header
in $config_headers :; do
13442 case $_am_header in
13443 $_am_arg |
$_am_arg:* )
13446 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13449 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13450 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13451 X"$_am_arg" : 'X\(//\)[^/]' \| \
13452 X"$_am_arg" : 'X\(//\)$' \| \
13453 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13454 $as_echo X"$_am_arg" |
13455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13459 /^X\(\/\/\)[^/].*/{
13471 s/.*/./; q'`/stamp-h
$_am_stamp_count
13474 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13475 $as_echo "$as_me: executing $ac_file commands" >&6;}
13480 case $ac_file$ac_mode in
13481 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13482 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13483 # are listed without --file. Let's play safe and only enable the eval
13484 # if we detect the quoting.
13485 case $CONFIG_FILES in
13486 *\'*) eval set x
"$CONFIG_FILES" ;;
13487 *) set x
$CONFIG_FILES ;;
13492 # Strip MF so we end up with the name of the file.
13493 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13494 # Check whether this is an Automake generated Makefile or not.
13495 # We used to match only the files named `Makefile.in', but
13496 # some people rename them; so instead we look at the file content.
13497 # Grep'ing the first line is not enough: some people post-process
13498 # each Makefile.in and add a new line on top of each file to say so.
13499 # Grep'ing the whole file is not good either: AIX grep has a line
13500 # limit of 2048, but all sed's we know have understand at least 4000.
13501 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13502 dirpart
=`$as_dirname -- "$mf" ||
13503 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13504 X"$mf" : 'X\(//\)[^/]' \| \
13505 X"$mf" : 'X\(//\)$' \| \
13506 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13512 /^X\(\/\/\)[^/].*/{
13528 # Extract the definition of DEPDIR, am__include, and am__quote
13529 # from the Makefile without running `make'.
13530 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13531 test -z "$DEPDIR" && continue
13532 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13533 test -z "am__include" && continue
13534 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13535 # When using ansi2knr, U may be empty or an underscore; expand it
13536 U
=`sed -n 's/^U = //p' < "$mf"`
13537 # Find all dependency output files, they are included files with
13538 # $(DEPDIR) in their names. We invoke sed twice because it is the
13539 # simplest approach to changing $(DEPDIR) to its actual value in the
13541 for file in `sed -n "
13542 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13543 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13544 # Make sure the directory exists.
13545 test -f "$dirpart/$file" && continue
13546 fdir
=`$as_dirname -- "$file" ||
13547 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13548 X"$file" : 'X\(//\)[^/]' \| \
13549 X"$file" : 'X\(//\)$' \| \
13550 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13551 $as_echo X"$file" |
13552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13556 /^X\(\/\/\)[^/].*/{
13569 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13570 # echo "creating $dirpart/$file"
13571 echo '# dummy' > "$dirpart/$file"
13578 # See if we are running on zsh, and set the options which allow our
13579 # commands through without removal of \ escapes.
13580 if test -n "${ZSH_VERSION+set}" ; then
13581 setopt NO_GLOB_SUBST
13584 cfgfile
="${ofile}T"
13585 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13588 cat <<_LT_EOF >> "$cfgfile"
13591 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13592 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13593 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13594 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13596 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13597 # 2006, 2007, 2008 Free Software Foundation, Inc.
13598 # Written by Gordon Matzigkeit, 1996
13600 # This file is part of GNU Libtool.
13602 # GNU Libtool is free software; you can redistribute it and/or
13603 # modify it under the terms of the GNU General Public License as
13604 # published by the Free Software Foundation; either version 2 of
13605 # the License, or (at your option) any later version.
13607 # As a special exception to the GNU General Public License,
13608 # if you distribute this file as part of a program or library that
13609 # is built using GNU Libtool, you may include this file under the
13610 # same distribution terms that you use for the rest of that program.
13612 # GNU Libtool is distributed in the hope that it will be useful,
13613 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13614 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13615 # GNU General Public License for more details.
13617 # You should have received a copy of the GNU General Public License
13618 # along with GNU Libtool; see the file COPYING. If not, a copy
13619 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13620 # obtained by writing to the Free Software Foundation, Inc.,
13621 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13624 # The names of the tagged configurations supported by this script.
13627 # ### BEGIN LIBTOOL CONFIG
13629 # Which release of libtool.m4 was used?
13630 macro_version=$macro_version
13631 macro_revision=$macro_revision
13633 # Whether or not to build shared libraries.
13634 build_libtool_libs=$enable_shared
13636 # Whether or not to build static libraries.
13637 build_old_libs=$enable_static
13639 # What type of objects to build.
13642 # Whether or not to optimize for fast installation.
13643 fast_install=$enable_fast_install
13646 host_alias=$host_alias
13650 # The build system.
13651 build_alias=$build_alias
13655 # A sed program that does not truncate output.
13658 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13659 Xsed="\$SED -e 1s/^X//"
13661 # A grep program that handles long lines.
13667 # A literal string matcher.
13670 # A BSD- or MS-compatible name lister.
13673 # Whether we need soft or hard links.
13676 # What is the maximum length of a command?
13677 max_cmd_len=$max_cmd_len
13679 # Object file suffix (normally "o").
13682 # Executable file suffix (normally "").
13685 # whether the shell understands "unset".
13688 # turn spaces into newlines.
13691 # turn newlines into spaces.
13694 # How to create reloadable object files.
13695 reload_flag=$lt_reload_flag
13696 reload_cmds=$lt_reload_cmds
13698 # An object symbol dumper.
13699 OBJDUMP=$lt_OBJDUMP
13701 # Method to check whether dependent libraries are shared objects.
13702 deplibs_check_method=$lt_deplibs_check_method
13704 # Command to use when deplibs_check_method == "file_magic".
13705 file_magic_cmd=$lt_file_magic_cmd
13709 AR_FLAGS=$lt_AR_FLAGS
13711 # A symbol stripping program.
13714 # Commands used to install an old-style archive.
13716 old_postinstall_cmds=$lt_old_postinstall_cmds
13717 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13722 # LTCC compiler flags.
13723 LTCFLAGS=$lt_CFLAGS
13725 # Take the output of nm and produce a listing of raw symbols and C names.
13726 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13728 # Transform the output of nm in a proper C declaration.
13729 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13731 # Transform the output of nm in a C name address pair.
13732 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13734 # Transform the output of nm in a C name address pair when lib prefix is needed.
13735 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13737 # The name of the directory that contains temporary libtool files.
13740 # Shell to use when invoking shell scripts.
13743 # An echo program that does not interpret backslashes.
13746 # Used to examine libraries when file_magic_cmd begins with "file".
13747 MAGIC_CMD=$MAGIC_CMD
13749 # Must we lock files when doing compilation?
13750 need_locks=$lt_need_locks
13752 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13753 DSYMUTIL=$lt_DSYMUTIL
13755 # Tool to change global to local symbols on Mac OS X.
13758 # Tool to manipulate fat objects and archives on Mac OS X.
13761 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13764 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13765 OTOOL64=$lt_OTOOL64
13767 # Old archive suffix (normally "a").
13770 # Shared library suffix (normally ".so").
13771 shrext_cmds=$lt_shrext_cmds
13773 # The commands to extract the exported symbol list from a shared archive.
13774 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13776 # Variables whose values should be saved in libtool wrapper scripts and
13777 # restored at link time.
13778 variables_saved_for_relink=$lt_variables_saved_for_relink
13780 # Do we need the "lib" prefix for modules?
13781 need_lib_prefix=$need_lib_prefix
13783 # Do we need a version for libraries?
13784 need_version=$need_version
13786 # Library versioning type.
13787 version_type=$version_type
13789 # Shared library runtime path variable.
13790 runpath_var=$runpath_var
13792 # Shared library path variable.
13793 shlibpath_var=$shlibpath_var
13795 # Is shlibpath searched before the hard-coded library search path?
13796 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13798 # Format of library name prefix.
13799 libname_spec=$lt_libname_spec
13801 # List of archive names. First name is the real one, the rest are links.
13802 # The last name is the one that the linker finds with -lNAME
13803 library_names_spec=$lt_library_names_spec
13805 # The coded name of the library, if different from the real name.
13806 soname_spec=$lt_soname_spec
13808 # Command to use after installation of a shared archive.
13809 postinstall_cmds=$lt_postinstall_cmds
13811 # Command to use after uninstallation of a shared archive.
13812 postuninstall_cmds=$lt_postuninstall_cmds
13814 # Commands used to finish a libtool library installation in a directory.
13815 finish_cmds=$lt_finish_cmds
13817 # As "finish_cmds", except a single script fragment to be evaled but
13819 finish_eval=$lt_finish_eval
13821 # Whether we should hardcode library paths into libraries.
13822 hardcode_into_libs=$hardcode_into_libs
13824 # Compile-time system search path for libraries.
13825 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13827 # Run-time system search path for libraries.
13828 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13830 # Whether dlopen is supported.
13831 dlopen_support=$enable_dlopen
13833 # Whether dlopen of programs is supported.
13834 dlopen_self=$enable_dlopen_self
13836 # Whether dlopen of statically linked programs is supported.
13837 dlopen_self_static=$enable_dlopen_self_static
13839 # Commands to strip libraries.
13840 old_striplib=$lt_old_striplib
13841 striplib=$lt_striplib
13844 # The linker used to build libraries.
13847 # Commands used to build an old-style archive.
13848 old_archive_cmds=$lt_old_archive_cmds
13850 # A language specific compiler.
13853 # Is the compiler the GNU compiler?
13856 # Compiler flag to turn off builtin functions.
13857 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13859 # How to pass a linker flag through the compiler.
13860 wl=$lt_lt_prog_compiler_wl
13862 # Additional compiler flags for building library objects.
13863 pic_flag=$lt_lt_prog_compiler_pic
13865 # Compiler flag to prevent dynamic linking.
13866 link_static_flag=$lt_lt_prog_compiler_static
13868 # Does compiler simultaneously support -c and -o options?
13869 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13871 # Whether or not to add -lc for building shared libraries.
13872 build_libtool_need_lc=$archive_cmds_need_lc
13874 # Whether or not to disallow shared libs when runtime libs are static.
13875 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13877 # Compiler flag to allow reflexive dlopens.
13878 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13880 # Compiler flag to generate shared objects directly from archives.
13881 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13883 # Whether the compiler copes with passing no objects directly.
13884 compiler_needs_object=$lt_compiler_needs_object
13886 # Create an old-style archive from a shared archive.
13887 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13889 # Create a temporary old-style archive to link instead of a shared archive.
13890 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13892 # Commands used to build a shared archive.
13893 archive_cmds=$lt_archive_cmds
13894 archive_expsym_cmds=$lt_archive_expsym_cmds
13896 # Commands used to build a loadable module if different from building
13897 # a shared archive.
13898 module_cmds=$lt_module_cmds
13899 module_expsym_cmds=$lt_module_expsym_cmds
13901 # Whether we are building with GNU ld or not.
13902 with_gnu_ld=$lt_with_gnu_ld
13904 # Flag that allows shared libraries with undefined symbols to be built.
13905 allow_undefined_flag=$lt_allow_undefined_flag
13907 # Flag that enforces no undefined symbols.
13908 no_undefined_flag=$lt_no_undefined_flag
13910 # Flag to hardcode \$libdir into a binary during linking.
13911 # This must work even if \$libdir does not exist
13912 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13914 # If ld is used when linking, flag to hardcode \$libdir into a binary
13915 # during linking. This must work even if \$libdir does not exist.
13916 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13918 # Whether we need a single "-rpath" flag with a separated argument.
13919 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13921 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13922 # DIR into the resulting binary.
13923 hardcode_direct=$hardcode_direct
13925 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13926 # DIR into the resulting binary and the resulting library dependency is
13927 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13928 # library is relocated.
13929 hardcode_direct_absolute=$hardcode_direct_absolute
13931 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13932 # into the resulting binary.
13933 hardcode_minus_L=$hardcode_minus_L
13935 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13936 # into the resulting binary.
13937 hardcode_shlibpath_var=$hardcode_shlibpath_var
13939 # Set to "yes" if building a shared library automatically hardcodes DIR
13940 # into the library and all subsequent libraries and executables linked
13942 hardcode_automatic=$hardcode_automatic
13944 # Set to yes if linker adds runtime paths of dependent libraries
13945 # to runtime path list.
13946 inherit_rpath=$inherit_rpath
13948 # Whether libtool must link a program against all its dependency libraries.
13949 link_all_deplibs=$link_all_deplibs
13951 # Fix the shell variable \$srcfile for the compiler.
13952 fix_srcfile_path=$lt_fix_srcfile_path
13954 # Set to "yes" if exported symbols are required.
13955 always_export_symbols=$always_export_symbols
13957 # The commands to list exported symbols.
13958 export_symbols_cmds=$lt_export_symbols_cmds
13960 # Symbols that should not be listed in the preloaded symbols.
13961 exclude_expsyms=$lt_exclude_expsyms
13963 # Symbols that must always be exported.
13964 include_expsyms=$lt_include_expsyms
13966 # Commands necessary for linking programs (against libraries) with templates.
13967 prelink_cmds=$lt_prelink_cmds
13969 # Specify filename containing input files.
13970 file_list_spec=$lt_file_list_spec
13972 # How to hardcode a shared library path into an executable.
13973 hardcode_action=$hardcode_action
13975 # ### END LIBTOOL CONFIG
13981 cat <<\_LT_EOF
>> "$cfgfile"
13982 # AIX sometimes has problems with the GCC collect2 program. For some
13983 # reason, if we set the COLLECT_NAMES environment variable, the problems
13984 # vanish in a puff of smoke.
13985 if test "X${COLLECT_NAMES+set}" != Xset
; then
13987 export COLLECT_NAMES
13994 ltmain
="$ac_aux_dir/ltmain.sh"
13997 # We use sed instead of cat because bash on DJGPP gets confused if
13998 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13999 # text mode, it properly converts lines to CR/LF. This bash problem
14000 # is reportedly fixed, but why not run on old versions too?
14001 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14002 ||
(rm -f "$cfgfile"; exit 1)
14006 cat << \_LT_EOF
>> "$cfgfile"
14008 # func_dirname file append nondir_replacement
14009 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14010 # otherwise set result to NONDIR_REPLACEMENT.
14014 */*) func_dirname_result
="${1%/*}${2}" ;;
14015 * ) func_dirname_result
="${3}" ;;
14019 # func_basename file
14022 func_basename_result
="${1##*/}"
14025 # func_dirname_and_basename file append nondir_replacement
14026 # perform func_basename and func_dirname in a single function
14028 # dirname: Compute the dirname of FILE. If nonempty,
14029 # add APPEND to the result, otherwise set result
14030 # to NONDIR_REPLACEMENT.
14031 # value returned in "$func_dirname_result"
14032 # basename: Compute filename of FILE.
14033 # value retuned in "$func_basename_result"
14034 # Implementation must be kept synchronized with func_dirname
14035 # and func_basename. For efficiency, we do not delegate to
14036 # those functions but instead duplicate the functionality here.
14037 func_dirname_and_basename
()
14040 */*) func_dirname_result
="${1%/*}${2}" ;;
14041 * ) func_dirname_result
="${3}" ;;
14043 func_basename_result
="${1##*/}"
14046 # func_stripname prefix suffix name
14047 # strip PREFIX and SUFFIX off of NAME.
14048 # PREFIX and SUFFIX must not contain globbing or regex special
14049 # characters, hashes, percent signs, but SUFFIX may contain a leading
14050 # dot (in which case that matches only a dot).
14053 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14054 # positional parameters, so assign one to ordinary parameter first.
14055 func_stripname_result
=${3}
14056 func_stripname_result
=${func_stripname_result#"${1}"}
14057 func_stripname_result
=${func_stripname_result%"${2}"}
14063 func_opt_split_opt
=${1%%=*}
14064 func_opt_split_arg
=${1#*=}
14071 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
14072 *) func_lo2o_result
=${1} ;;
14076 # func_xform libobj-or-source
14079 func_xform_result
=${1%.*}.lo
14082 # func_arith arithmetic-term...
14085 func_arith_result
=$
(( $
* ))
14089 # STRING may not start with a hyphen.
14092 func_len_result
=${#1}
14097 *) # Bourne compatible functions.
14098 cat << \_LT_EOF
>> "$cfgfile"
14100 # func_dirname file append nondir_replacement
14101 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14102 # otherwise set result to NONDIR_REPLACEMENT.
14105 # Extract subdirectory from the argument.
14106 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14107 if test "X$func_dirname_result" = "X${1}"; then
14108 func_dirname_result
="${3}"
14110 func_dirname_result
="$func_dirname_result${2}"
14114 # func_basename file
14117 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
14121 # func_stripname prefix suffix name
14122 # strip PREFIX and SUFFIX off of NAME.
14123 # PREFIX and SUFFIX must not contain globbing or regex special
14124 # characters, hashes, percent signs, but SUFFIX may contain a leading
14125 # dot (in which case that matches only a dot).
14126 # func_strip_suffix prefix name
14130 .
*) func_stripname_result
=`$ECHO "X${3}" \
14131 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14132 *) func_stripname_result
=`$ECHO "X${3}" \
14133 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14138 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
14139 my_sed_long_arg
='1s/^-[^=]*=//'
14144 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14145 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14151 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14154 # func_xform libobj-or-source
14157 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14160 # func_arith arithmetic-term...
14163 func_arith_result
=`expr "$@"`
14167 # STRING may not start with a hyphen.
14170 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14176 case $lt_shell_append in
14178 cat << \_LT_EOF
>> "$cfgfile"
14180 # func_append var value
14181 # Append VALUE to the end of shell variable VAR.
14189 cat << \_LT_EOF
>> "$cfgfile"
14191 # func_append var value
14192 # Append VALUE to the end of shell variable VAR.
14203 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14204 ||
(rm -f "$cfgfile"; exit 1)
14206 mv -f "$cfgfile" "$ofile" ||
14207 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14212 for ac_file
in $CONFIG_FILES; do
14213 # Support "outfile[:infile[:infile...]]"
14215 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14217 # PO directories have a Makefile.in generated from Makefile.in.in.
14218 case "$ac_file" in */Makefile.
in)
14219 # Adjust a relative srcdir.
14220 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14221 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
14222 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14223 # In autoconf-2.13 it is called $ac_given_srcdir.
14224 # In autoconf-2.50 it is called $srcdir.
14225 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
14226 case "$ac_given_srcdir" in
14227 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
14228 /*) top_srcdir
="$ac_given_srcdir" ;;
14229 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14231 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14232 rm -f "$ac_dir/POTFILES"
14233 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
14234 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14235 POMAKEFILEDEPS
="POTFILES.in"
14236 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14237 # on $ac_dir but don't depend on user-specified configuration
14239 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14240 # The LINGUAS file contains the set of available languages.
14241 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14242 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
14244 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14245 # Hide the ALL_LINGUAS assigment from automake.
14246 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14247 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
14249 # The set of available languages was given in configure.in.
14250 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14252 case "$ac_given_srcdir" in
14254 *) srcdirpre
='$(srcdir)/' ;;
14260 for lang
in $ALL_LINGUAS; do
14261 POFILES
="$POFILES $srcdirpre$lang.po"
14262 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
14263 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
14264 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
14266 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14267 # environment variable.
14269 if test -n "$ALL_LINGUAS"; then
14270 for presentlang
in $ALL_LINGUAS; do
14272 if test "%UNSET%" != "$LINGUAS"; then
14273 desiredlanguages
="$LINGUAS"
14275 desiredlanguages
="$ALL_LINGUAS"
14277 for desiredlang
in $desiredlanguages; do
14278 # Use the presentlang catalog if desiredlang is
14279 # a. equal to presentlang, or
14280 # b. a variant of presentlang (because in this case,
14281 # presentlang can be used as a fallback for messages
14282 # which are not translated in the desiredlang catalog).
14283 case "$desiredlang" in
14284 "$presentlang"*) useit
=yes;;
14287 if test $useit = yes; then
14288 INST_LINGUAS
="$INST_LINGUAS $presentlang"
14293 if test -n "$INST_LINGUAS"; then
14294 for lang
in $INST_LINGUAS; do
14295 CATALOGS
="$CATALOGS $lang.gmo"
14298 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
14299 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
14300 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
14301 if test -f "$f"; then
14303 *.orig |
*.bak |
*~
) ;;
14304 *) cat "$f" >> "$ac_dir/Makefile" ;;
14319 ac_clean_files
=$ac_clean_files_save
14321 test $ac_write_fail = 0 ||
14322 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14325 # configure is writing to config.log, and then calls config.status.
14326 # config.status does its own redirection, appending to config.log.
14327 # Unfortunately, on DOS this fails, as config.log is still kept open
14328 # by configure, so config.status won't be able to write to it; its
14329 # output is simply discarded. So we exec the FD to /dev/null,
14330 # effectively closing config.log, so it can be properly (re)opened and
14331 # appended to by config.status. When coming back to configure, we
14332 # need to make the FD available again.
14333 if test "$no_create" != yes; then
14335 ac_config_status_args
=
14336 test "$silent" = yes &&
14337 ac_config_status_args
="$ac_config_status_args --quiet"
14339 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14341 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14342 # would make configure fail if this is the last instruction.
14343 $ac_cs_success || as_fn_exit $?
14345 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14347 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}