2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libltdl 1.2.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: bug-libtool@gnu.org about your system, including any
233 $0: error possibly output before this message. Then install
234 $0: a modern shell, or manually run the script under such a
235 $0: shell if you do have one."
241 SHELL
=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE
= GREP_OPTIONS
=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir
=.
/$as_dir;;
286 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
290 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs
="'$as_qdir' $as_dirs"
294 as_dir
=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
320 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
355 as_val
=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status
=$?
; test $as_status -eq 0 && as_status
=1
369 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit
$as_status
376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
395 as_me
=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits
='0123456789'
419 as_cr_alnum
=$as_cr_Letters$as_cr_digits
422 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
423 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x
"$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C
= ECHO_N
= ECHO_T
=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
466 rm -f conf$$ conf$$.exe conf$$.
file
467 if test -d conf$$.dir
; then
468 rm -f conf$$.dir
/conf$$.
file
471 mkdir conf$$.dir
2>/dev
/null
473 if (echo >conf$$.
file) 2>/dev
/null
; then
474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
491 rmdir conf$$.dir
2>/dev
/null
493 if mkdir
-p .
2>/dev
/null
; then
494 as_mkdir_p
='mkdir -p "$as_dir"'
496 test -d .
/-p && rmdir .
/-p
500 if test -x / >/dev
/null
2>&1; then
503 if ls -dL / >/dev
/null
2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p
=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 # Check that we are running under the correct shell.
532 SHELL
=${CONFIG_SHELL-/bin/sh}
536 # Remove one level of quotation (which was required for Make).
537 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
542 if test "X$1" = X--no-reexec
; then
543 # Discard the --no-reexec flag, and continue.
545 elif test "X$1" = X--fallback-echo
; then
546 # Avoid inline document here, it may be left over
548 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
549 # Yippee, $echo works!
552 # Restart under the correct shell.
553 exec $SHELL "$0" --no-reexec ${1+"$@"}
556 if test "X$1" = X--fallback-echo
; then
557 # used as fallback echo
565 # The HP-UX ksh and POSIX shell print the target directory to stdout
567 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
569 if test -z "$ECHO"; then
570 if test "X${echo_test_string+set}" != Xset
; then
571 # find a string as large as possible, as long as the shell can cope with it
572 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
573 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
574 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
575 echo_test_string
="`eval $cmd`" &&
576 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
583 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
584 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
585 test "X$echo_testing_string" = "X$echo_test_string"; then
588 # The Solaris, AIX, and Digital Unix default echo programs unquote
589 # backslashes. This makes it impossible to quote backslashes using
590 # echo "$something" | sed 's/\\/\\\\/g'
592 # So, first we look for a working echo in the user's PATH.
594 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
595 for dir
in $PATH /usr
/ucb
; do
597 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
598 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
599 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
600 test "X$echo_testing_string" = "X$echo_test_string"; then
607 if test "X$echo" = Xecho
; then
608 # We didn't find a better echo, so look for alternatives.
609 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
610 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
611 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # This shell has a builtin print -r that does the trick.
614 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
615 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
616 # If we have ksh, try running configure again with it.
617 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
618 export ORIGINAL_CONFIG_SHELL
619 CONFIG_SHELL
=/bin
/ksh
621 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
625 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
626 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
627 test "X$echo_testing_string" = "X$echo_test_string"; then
630 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
631 test "X$echo_testing_string" = 'X\t' &&
632 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
636 SHELL
="$CONFIG_SHELL"
638 echo="$CONFIG_SHELL $0 --fallback-echo"
639 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640 test "X$echo_testing_string" = 'X\t' &&
641 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642 test "X$echo_testing_string" = "X$echo_test_string"; then
643 echo="$CONFIG_SHELL $0 --fallback-echo"
645 # maybe with a smaller string...
648 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
649 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
656 if test "$prev" != 'sed 50q "$0"'; then
657 echo_test_string
=`eval $prev`
658 export echo_test_string
659 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 # Oops. We lost completely, so just stick with echo.
670 # Copy echo and quote the copy suitably for passing to libtool from
671 # the Makefile, instead of quoting the original, which is used later.
673 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
674 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
680 exec 7<&0 </dev
/null
6>&1
683 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
684 # so uname gets run too.
685 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
690 ac_default_prefix
=/usr
/local
692 ac_config_libobj_dir
=.
699 # Identity of this package.
700 PACKAGE_NAME
='libltdl'
701 PACKAGE_TARNAME
='libltdl'
702 PACKAGE_VERSION
='1.2'
703 PACKAGE_STRING
='libltdl 1.2'
704 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
707 ac_unique_file
="ltdl.c"
708 # Factoring default headers for most tests.
709 ac_includes_default
="\
711 #ifdef HAVE_SYS_TYPES_H
712 # include <sys/types.h>
714 #ifdef HAVE_SYS_STAT_H
715 # include <sys/stat.h>
721 # ifdef HAVE_STDLIB_H
726 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
731 #ifdef HAVE_STRINGS_H
732 # include <strings.h>
734 #ifdef HAVE_INTTYPES_H
735 # include <inttypes.h>
744 ac_subst_vars
='am__EXEEXT_FALSE
749 CONVENIENCE_LTDL_FALSE
750 CONVENIENCE_LTDL_TRUE
798 INSTALL_STRIP_PROGRAM
815 MAINTAINER_MODE_FALSE
844 program_transform_name
857 enable_option_checking
858 enable_maintainer_mode
860 enable_dependency_tracking
870 ac_precious_vars
='build_alias
881 # Initialize some variables set by options.
883 ac_init_version
=false
884 ac_unrecognized_opts
=
886 # The variables have the same names as the options, with
887 # dashes changed to underlines.
895 program_transform_name
=s
,x
,x
,
903 # Installation directory options.
904 # These are left unexpanded so users can "make install exec_prefix=/foo"
905 # and all the variables that are supposed to be based on exec_prefix
906 # by default will actually change.
907 # Use braces instead of parens because sh, perl, etc. also accept them.
908 # (The list follows the same order as the GNU Coding Standards.)
909 bindir
='${exec_prefix}/bin'
910 sbindir
='${exec_prefix}/sbin'
911 libexecdir
='${exec_prefix}/libexec'
912 datarootdir
='${prefix}/share'
913 datadir
='${datarootdir}'
914 sysconfdir
='${prefix}/etc'
915 sharedstatedir
='${prefix}/com'
916 localstatedir
='${prefix}/var'
917 includedir
='${prefix}/include'
918 oldincludedir
='/usr/include'
919 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
920 infodir
='${datarootdir}/info'
925 libdir
='${exec_prefix}/lib'
926 localedir
='${datarootdir}/locale'
927 mandir
='${datarootdir}/man'
933 # If the previous option needs an argument, assign it.
934 if test -n "$ac_prev"; then
935 eval $ac_prev=\
$ac_option
941 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
945 # Accept the important Cygnus configure options, so we can diagnose typos.
947 case $ac_dashdash$ac_option in
951 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
953 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
956 -build |
--build |
--buil |
--bui |
--bu)
957 ac_prev
=build_alias
;;
958 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
959 build_alias
=$ac_optarg ;;
961 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
962 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
963 ac_prev
=cache_file
;;
964 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
965 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
966 cache_file
=$ac_optarg ;;
969 cache_file
=config.cache
;;
971 -datadir |
--datadir |
--datadi |
--datad)
973 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
974 datadir
=$ac_optarg ;;
976 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
977 |
--dataroo |
--dataro |
--datar)
978 ac_prev
=datarootdir
;;
979 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
980 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
981 datarootdir
=$ac_optarg ;;
983 -disable-* |
--disable-*)
984 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
985 # Reject names that are not valid shell variable names.
986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
987 as_fn_error
"invalid feature name: $ac_useropt"
988 ac_useropt_orig
=$ac_useropt
989 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
990 case $ac_user_opts in
994 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
995 ac_unrecognized_sep
=', ';;
997 eval enable_
$ac_useropt=no
;;
999 -docdir |
--docdir |
--docdi |
--doc |
--do)
1001 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1002 docdir
=$ac_optarg ;;
1004 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1006 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1007 dvidir
=$ac_optarg ;;
1009 -enable-* |
--enable-*)
1010 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1013 as_fn_error
"invalid feature name: $ac_useropt"
1014 ac_useropt_orig
=$ac_useropt
1015 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016 case $ac_user_opts in
1018 "enable_
$ac_useropt"
1020 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1021 ac_unrecognized_sep
=', ';;
1023 eval enable_
$ac_useropt=\
$ac_optarg ;;
1025 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1026 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1027 |
--exec |
--exe |
--ex)
1028 ac_prev
=exec_prefix
;;
1029 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1030 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1031 |
--exec=* |
--exe=* |
--ex=*)
1032 exec_prefix
=$ac_optarg ;;
1034 -gas |
--gas |
--ga |
--g)
1035 # Obsolete; use --with-gas.
1038 -help |
--help |
--hel |
--he |
-h)
1039 ac_init_help
=long
;;
1040 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1041 ac_init_help
=recursive
;;
1042 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1043 ac_init_help
=short
;;
1045 -host |
--host |
--hos |
--ho)
1046 ac_prev
=host_alias
;;
1047 -host=* |
--host=* |
--hos=* |
--ho=*)
1048 host_alias
=$ac_optarg ;;
1050 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1052 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1054 htmldir
=$ac_optarg ;;
1056 -includedir |
--includedir |
--includedi |
--included |
--include \
1057 |
--includ |
--inclu |
--incl |
--inc)
1058 ac_prev
=includedir
;;
1059 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1060 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1061 includedir
=$ac_optarg ;;
1063 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1065 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1066 infodir
=$ac_optarg ;;
1068 -libdir |
--libdir |
--libdi |
--libd)
1070 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1071 libdir
=$ac_optarg ;;
1073 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1074 |
--libexe |
--libex |
--libe)
1075 ac_prev
=libexecdir
;;
1076 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1077 |
--libexe=* |
--libex=* |
--libe=*)
1078 libexecdir
=$ac_optarg ;;
1080 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1081 ac_prev
=localedir
;;
1082 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1083 localedir
=$ac_optarg ;;
1085 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1086 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1087 ac_prev
=localstatedir
;;
1088 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1089 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1090 localstatedir
=$ac_optarg ;;
1092 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1094 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1095 mandir
=$ac_optarg ;;
1097 -nfp |
--nfp |
--nf)
1098 # Obsolete; use --without-fp.
1101 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1102 |
--no-cr |
--no-c |
-n)
1105 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1106 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1109 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1110 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1111 |
--oldin |
--oldi |
--old |
--ol |
--o)
1112 ac_prev
=oldincludedir
;;
1113 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1114 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1115 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1116 oldincludedir
=$ac_optarg ;;
1118 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1120 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1121 prefix
=$ac_optarg ;;
1123 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1124 |
--program-pre |
--program-pr |
--program-p)
1125 ac_prev
=program_prefix
;;
1126 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1127 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1128 program_prefix
=$ac_optarg ;;
1130 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1131 |
--program-suf |
--program-su |
--program-s)
1132 ac_prev
=program_suffix
;;
1133 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1134 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1135 program_suffix
=$ac_optarg ;;
1137 -program-transform-name |
--program-transform-name \
1138 |
--program-transform-nam |
--program-transform-na \
1139 |
--program-transform-n |
--program-transform- \
1140 |
--program-transform |
--program-transfor \
1141 |
--program-transfo |
--program-transf \
1142 |
--program-trans |
--program-tran \
1143 |
--progr-tra |
--program-tr |
--program-t)
1144 ac_prev
=program_transform_name
;;
1145 -program-transform-name=* |
--program-transform-name=* \
1146 |
--program-transform-nam=* |
--program-transform-na=* \
1147 |
--program-transform-n=* |
--program-transform-=* \
1148 |
--program-transform=* |
--program-transfor=* \
1149 |
--program-transfo=* |
--program-transf=* \
1150 |
--program-trans=* |
--program-tran=* \
1151 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1152 program_transform_name
=$ac_optarg ;;
1154 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1156 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1157 pdfdir
=$ac_optarg ;;
1159 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1161 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1165 |
-silent |
--silent |
--silen |
--sile |
--sil)
1168 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1170 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1172 sbindir
=$ac_optarg ;;
1174 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1175 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1176 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1178 ac_prev
=sharedstatedir
;;
1179 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1180 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1181 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1183 sharedstatedir
=$ac_optarg ;;
1185 -site |
--site |
--sit)
1187 -site=* |
--site=* |
--sit=*)
1190 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1192 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1193 srcdir
=$ac_optarg ;;
1195 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1196 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1197 ac_prev
=sysconfdir
;;
1198 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1199 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1200 sysconfdir
=$ac_optarg ;;
1202 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1203 ac_prev
=target_alias
;;
1204 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1205 target_alias
=$ac_optarg ;;
1207 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1210 -version |
--version |
--versio |
--versi |
--vers |
-V)
1211 ac_init_version
=: ;;
1214 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=\
$ac_optarg ;;
1229 -without-* |
--without-*)
1230 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1233 as_fn_error
"invalid package name: $ac_useropt"
1234 ac_useropt_orig
=$ac_useropt
1235 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1240 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1241 ac_unrecognized_sep
=', ';;
1243 eval with_
$ac_useropt=no
;;
1246 # Obsolete; use --with-x.
1249 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1250 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1251 ac_prev
=x_includes
;;
1252 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1253 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1254 x_includes
=$ac_optarg ;;
1256 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1257 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1258 ac_prev
=x_libraries
;;
1259 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1260 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1261 x_libraries
=$ac_optarg ;;
1263 -*) as_fn_error
"unrecognized option: \`$ac_option'
1264 Try \`$0 --help' for more information."
1268 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1269 # Reject names that are not valid shell variable names.
1270 case $ac_envvar in #(
1271 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1272 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1274 eval $ac_envvar=\
$ac_optarg
1275 export $ac_envvar ;;
1278 # FIXME: should be removed in autoconf 3.0.
1279 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1280 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1281 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1282 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1288 if test -n "$ac_prev"; then
1289 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1290 as_fn_error
"missing argument to $ac_option"
1293 if test -n "$ac_unrecognized_opts"; then
1294 case $enable_option_checking in
1296 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1297 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1301 # Check all directory arguments for consistency.
1302 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1303 datadir sysconfdir sharedstatedir localstatedir includedir \
1304 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1305 libdir localedir mandir
1307 eval ac_val
=\$
$ac_var
1308 # Remove trailing slashes.
1311 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1312 eval $ac_var=\
$ac_val;;
1314 # Be sure to have absolute directory names.
1316 [\\/$
]* | ?
:[\\/]* ) continue;;
1317 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1319 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1322 # There might be people who depend on the old broken behavior: `$host'
1323 # used to hold the argument of --host etc.
1324 # FIXME: To remove some day.
1327 target
=$target_alias
1329 # FIXME: To remove some day.
1330 if test "x$host_alias" != x
; then
1331 if test "x$build_alias" = x
; then
1332 cross_compiling
=maybe
1333 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1334 If a cross compiler is detected then cross compile mode will be used." >&2
1335 elif test "x$build_alias" != "x$host_alias"; then
1341 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1343 test "$silent" = yes && exec 6>/dev
/null
1346 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1347 ac_ls_di
=`ls -di .` &&
1348 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1349 as_fn_error
"working directory cannot be determined"
1350 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1351 as_fn_error
"pwd does not report name of working directory"
1354 # Find the source files, if location was not specified.
1355 if test -z "$srcdir"; then
1356 ac_srcdir_defaulted
=yes
1357 # Try the directory containing this script, then the parent directory.
1358 ac_confdir
=`$as_dirname -- "$as_myself" ||
1359 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1360 X"$as_myself" : 'X\(//\)[^/]' \| \
1361 X"$as_myself" : 'X\(//\)$' \| \
1362 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1363 $as_echo X"$as_myself" |
1364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382 if test ! -r "$srcdir/$ac_unique_file"; then
1386 ac_srcdir_defaulted
=no
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1389 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1390 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1392 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1394 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1396 # When building in place, set srcdir=.
1397 if test "$ac_abs_confdir" = "$ac_pwd"; then
1400 # Remove unnecessary trailing slashes from srcdir.
1401 # Double slashes in file names in object file debugging info
1402 # mess up M-x gdb in Emacs.
1404 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1406 for ac_var
in $ac_precious_vars; do
1407 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1408 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1409 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1410 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1414 # Report the --help message.
1416 if test "$ac_init_help" = "long"; then
1417 # Omit some internal or obsolete options to make the list less imposing.
1418 # This message is too long to be a string in the A/UX 3.1 sh.
1420 \`configure' configures libltdl 1.2 to adapt to many kinds of systems.
1422 Usage: $0 [OPTION]... [VAR=VALUE]...
1424 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1425 VAR=VALUE. See below for descriptions of some of the useful variables.
1427 Defaults for the options are specified in brackets.
1430 -h, --help display this help and exit
1431 --help=short display options specific to this package
1432 --help=recursive display the short help of all the included packages
1433 -V, --version display version information and exit
1434 -q, --quiet, --silent do not print \`checking...' messages
1435 --cache-file=FILE cache test results in FILE [disabled]
1436 -C, --config-cache alias for \`--cache-file=config.cache'
1437 -n, --no-create do not create output files
1438 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1440 Installation directories:
1441 --prefix=PREFIX install architecture-independent files in PREFIX
1442 [$ac_default_prefix]
1443 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1446 By default, \`make install' will install all the files in
1447 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1448 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1449 for instance \`--prefix=\$HOME'.
1451 For better control, use the options below.
1453 Fine tuning of the installation directories:
1454 --bindir=DIR user executables [EPREFIX/bin]
1455 --sbindir=DIR system admin executables [EPREFIX/sbin]
1456 --libexecdir=DIR program executables [EPREFIX/libexec]
1457 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1458 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1459 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1460 --libdir=DIR object code libraries [EPREFIX/lib]
1461 --includedir=DIR C header files [PREFIX/include]
1462 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1463 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1464 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1465 --infodir=DIR info documentation [DATAROOTDIR/info]
1466 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1467 --mandir=DIR man documentation [DATAROOTDIR/man]
1468 --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
1469 --htmldir=DIR html documentation [DOCDIR]
1470 --dvidir=DIR dvi documentation [DOCDIR]
1471 --pdfdir=DIR pdf documentation [DOCDIR]
1472 --psdir=DIR ps documentation [DOCDIR]
1478 --program-prefix=PREFIX prepend PREFIX to installed program names
1479 --program-suffix=SUFFIX append SUFFIX to installed program names
1480 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1483 --build=BUILD configure
for building on BUILD
[guessed
]
1484 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1488 if test -n "$ac_init_help"; then
1489 case $ac_init_help in
1490 short | recursive
) echo "Configuration of libltdl 1.2:";;
1495 --disable-option-checking ignore unrecognized
--enable/--with options
1496 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1497 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1498 --enable-maintainer-mode enable make rules and dependencies not useful
1499 (and sometimes confusing
) to the casual installer
1500 --enable-multilib build many library versions
(default
)
1501 --disable-dependency-tracking speeds up one-time build
1502 --enable-dependency-tracking do not reject slow dependency extractors
1503 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1504 --enable-static[=PKGS
] build static libraries
[default
=yes]
1505 --enable-fast-install[=PKGS
]
1506 optimize
for fast installation
[default
=yes]
1507 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1508 --enable-ltdl-install install libltdl
1511 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1512 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1513 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1514 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1516 --with-tags[=TAGS
] include additional configurations
[automatic
]
1518 Some influential environment variables
:
1519 CC C compiler
command
1520 CFLAGS C compiler flags
1521 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1522 nonstandard directory
<lib dir
>
1523 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1524 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1525 you have headers
in a nonstandard directory
<include dir
>
1528 Use these variables to override the choices made by
`configure' or to help
1529 it to find libraries and programs with nonstandard names/locations.
1531 Report bugs to <bug-libtool@gnu.org>.
1536 if test "$ac_init_help" = "recursive"; then
1537 # If there are subdirs, report their specific --help.
1538 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1539 test -d "$ac_dir" ||
1540 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1548 # A ".." for each directory in $ac_dir_suffix.
1549 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1550 case $ac_top_builddir_sub in
1551 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1555 ac_abs_top_builddir=$ac_pwd
1556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1557 # for backward compatibility:
1558 ac_top_builddir=$ac_top_build_prefix
1561 .) # We are building in place.
1563 ac_top_srcdir=$ac_top_builddir_sub
1564 ac_abs_top_srcdir=$ac_pwd ;;
1565 [\\/]* | ?:[\\/]* ) # Absolute name.
1566 ac_srcdir=$srcdir$ac_dir_suffix;
1567 ac_top_srcdir=$srcdir
1568 ac_abs_top_srcdir=$srcdir ;;
1570 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1571 ac_top_srcdir=$ac_top_build_prefix$srcdir
1572 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1576 cd "$ac_dir" || { ac_status=$?; continue; }
1577 # Check for guested configure.
1578 if test -f "$ac_srcdir/configure.gnu"; then
1580 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1581 elif test -f "$ac_srcdir/configure"; then
1583 $SHELL "$ac_srcdir/configure" --help=recursive
1585 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1587 cd "$ac_pwd" || { ac_status=$?; break; }
1591 test -n "$ac_init_help" && exit $ac_status
1592 if $ac_init_version; then
1594 libltdl configure 1.2
1595 generated by GNU Autoconf 2.64
1597 Copyright (C) 2009 Free Software Foundation, Inc.
1598 This configure script is free software; the Free Software Foundation
1599 gives unlimited permission to copy, distribute and modify it.
1604 ## ------------------------ ##
1605 ## Autoconf initialization. ##
1606 ## ------------------------ ##
1608 # ac_fn_c_try_compile LINENO
1609 # --------------------------
1610 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1611 ac_fn_c_try_compile ()
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 rm -f conftest.$ac_objext
1615 if { { ac_try="$ac_compile"
1617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1618 *) ac_try_echo
=$ac_try;;
1620 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1621 $as_echo "$ac_try_echo"; } >&5
1622 (eval "$ac_compile") 2>conftest.err
1624 if test -s conftest.err
; then
1625 grep -v '^ *+' conftest.err
>conftest.er1
1626 cat conftest.er1
>&5
1627 mv -f conftest.er1 conftest.err
1629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1630 test $ac_status = 0; } && {
1631 test -z "$ac_c_werror_flag" ||
1632 test ! -s conftest.err
1633 } && test -s conftest.
$ac_objext; then :
1636 $as_echo "$as_me: failed program was:" >&5
1637 sed 's/^/| /' conftest.
$ac_ext >&5
1641 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1644 } # ac_fn_c_try_compile
1646 # ac_fn_c_try_link LINENO
1647 # -----------------------
1648 # Try to link conftest.$ac_ext, and return whether this succeeded.
1651 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1652 rm -f conftest.
$ac_objext conftest
$ac_exeext
1653 if { { ac_try
="$ac_link"
1655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1656 *) ac_try_echo=$ac_try;;
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_link") 2>conftest.err
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1664 cat conftest.er1 >&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest$ac_exeext && {
1672 test "$cross_compiling" = yes ||
1673 $as_test_x conftest$ac_exeext
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1683 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1684 # interfere with the next link command; also delete a directory that is
1685 # left behind by Apple's compiler. We do this before executing the actions.
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690 } # ac_fn_c_try_link
1692 # ac_fn_c_try_cpp LINENO
1693 # ----------------------
1694 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_cpp conftest.$ac_ext"
1700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1707 if test -s conftest.err
; then
1708 grep -v '^ *+' conftest.err
>conftest.er1
1709 cat conftest.er1
>&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } >/dev
/null
&& {
1714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1729 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1730 # -------------------------------------------------------
1731 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1732 # the include files in INCLUDES and setting the cache variable VAR
1734 ac_fn_c_check_header_mongrel
()
1736 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1737 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1747 # Is the header compilable?
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1749 $as_echo_n "checking $2 usability... " >&6; }
1750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1755 if ac_fn_c_try_compile
"$LINENO"; then :
1756 ac_header_compiler
=yes
1758 ac_header_compiler
=no
1760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1762 $as_echo "$ac_header_compiler" >&6; }
1764 # Is the header present?
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1766 $as_echo_n "checking $2 presence... " >&6; }
1767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1771 if ac_fn_c_try_cpp
"$LINENO"; then :
1772 ac_header_preproc
=yes
1774 ac_header_preproc
=no
1776 rm -f conftest.err conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1778 $as_echo "$ac_header_preproc" >&6; }
1780 # So? What about this header?
1781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1784 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1786 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1790 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1792 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1794 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1796 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1798 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1800 ## ---------------------------------- ##
1801 ## Report this to bug-libtool@gnu.org ##
1802 ## ---------------------------------- ##
1804 ) |
sed "s/^/$as_me: WARNING: /" >&2
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808 $as_echo_n "checking for $2... " >&6; }
1809 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1810 $as_echo_n "(cached) " >&6
1812 eval "$3=\$ac_header_compiler"
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1820 } # ac_fn_c_check_header_mongrel
1822 # ac_fn_c_try_run LINENO
1823 # ----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1825 # that executables *can* be run.
1828 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1829 if { { ac_try
="$ac_link"
1831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>&5
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1840 { { case "(($ac_try" in
1841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_try") 2>&5
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; }; }; then :
1852 $as_echo "$as_me: program exited with status $ac_status" >&5
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1856 ac_retval
=$ac_status
1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1864 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1865 # -------------------------------------------------------
1866 # Tests whether HEADER exists and can be compiled using the include files in
1867 # INCLUDES, setting the cache variable VAR accordingly.
1868 ac_fn_c_check_header_compile
()
1870 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872 $as_echo_n "checking for $2... " >&6; }
1873 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1874 $as_echo_n "(cached) " >&6
1876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1881 if ac_fn_c_try_compile
"$LINENO"; then :
1886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1891 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1893 } # ac_fn_c_check_header_compile
1895 # ac_fn_c_check_func LINENO FUNC VAR
1896 # ----------------------------------
1897 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1898 ac_fn_c_check_func
()
1900 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1904 $as_echo_n "(cached) " >&6
1906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1908 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1910 #define $2 innocuous_$2
1912 /* System header to define __stub macros and hopefully few prototypes,
1913 which can conflict with char $2 (); below.
1914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1915 <limits.h> exists even on freestanding compilers. */
1918 # include <limits.h>
1920 # include <assert.h>
1925 /* Override any GCC internal prototype to avoid an error.
1926 Use char because int might match the return type of a GCC
1927 builtin and then its argument prototype would still apply. */
1932 /* The GNU C library defines this for functions which it implements
1933 to always fail with ENOSYS. Some functions are actually named
1934 something starting with __ and the normal name is an alias. */
1935 #if defined __stub_$2 || defined __stub___$2
1947 if ac_fn_c_try_link
"$LINENO"; then :
1952 rm -f core conftest.err conftest.
$ac_objext \
1953 conftest
$ac_exeext conftest.
$ac_ext
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1958 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1960 } # ac_fn_c_check_func
1962 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1963 # -------------------------------------------
1964 # Tests whether TYPE exists after having included INCLUDES, setting cache
1965 # variable VAR accordingly.
1966 ac_fn_c_check_type
()
1968 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970 $as_echo_n "checking for $2... " >&6; }
1971 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972 $as_echo_n "(cached) " >&6
1975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1987 if ac_fn_c_try_compile
"$LINENO"; then :
1988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
2000 if ac_fn_c_try_compile
"$LINENO"; then :
2005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2014 } # ac_fn_c_check_type
2015 cat >config.log
<<_ACEOF
2016 This file contains any messages produced by compilers while
2017 running configure, to aid debugging if configure makes a mistake.
2019 It was created by libltdl $as_me 1.2, which was
2020 generated by GNU Autoconf 2.64. Invocation command line was
2032 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2033 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2034 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2035 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2036 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2038 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2039 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2041 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2042 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2043 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2044 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2045 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2046 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2047 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir
=.
2056 $as_echo "PATH: $as_dir"
2072 # Keep a trace of the command line.
2073 # Strip out --no-create and --no-recursion so they do not pile up.
2074 # Strip out --silent because we don't want to record it for future runs.
2075 # Also quote any args containing shell meta-characters.
2076 # Make two passes to allow for proper duplicate-argument suppression.
2080 ac_must_keep_next
=false
2086 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2087 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2088 |
-silent |
--silent |
--silen |
--sile |
--sil)
2091 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2094 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2096 as_fn_append ac_configure_args1
" '$ac_arg'"
2097 if test $ac_must_keep_next = true
; then
2098 ac_must_keep_next
=false
# Got value, back to normal.
2101 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2102 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2103 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2104 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2105 case "$ac_configure_args0 " in
2106 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2109 -* ) ac_must_keep_next
=true
;;
2112 as_fn_append ac_configure_args
" '$ac_arg'"
2117 { ac_configure_args0
=; unset ac_configure_args0
;}
2118 { ac_configure_args1
=; unset ac_configure_args1
;}
2120 # When interrupted or exit'd, cleanup temporary files, and complete
2121 # config.log. We remove comments because anyway the quotes in there
2122 # would cause problems or look ugly.
2123 # WARNING: Use '\'' to represent an apostrophe within the trap.
2124 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2125 trap 'exit_status=$?
2126 # Save into config.log some information that might help in debugging.
2131 ## ---------------- ##
2132 ## Cache variables. ##
2133 ## ---------------- ##
2136 # The following way of writing the cache mishandles newlines in values,
2138 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2139 eval ac_val=\$$ac_var
2143 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2144 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2147 _ | IFS | as_nl) ;; #(
2148 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2149 *) { eval $ac_var=; unset $ac_var;} ;;
2154 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2155 *${as_nl}ac_space=\ *)
2157 "s/'\''/'\''\\\\'\'''\''/g;
2158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2169 ## ----------------- ##
2170 ## Output variables. ##
2171 ## ----------------- ##
2174 for ac_var in $ac_subst_vars
2176 eval ac_val=\$$ac_var
2178 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2180 $as_echo "$ac_var='\''$ac_val'\''"
2184 if test -n "$ac_subst_files"; then
2186 ## ------------------- ##
2187 ## File substitutions. ##
2188 ## ------------------- ##
2191 for ac_var
in $ac_subst_files
2193 eval ac_val
=\$
$ac_var
2195 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197 $as_echo "$ac_var='\''$ac_val'\''"
2202 if test -s confdefs.h; then
2212 test "$ac_signal" != 0 &&
2213 $as_echo "$as_me: caught signal $ac_signal"
2214 $as_echo "$as_me: exit $exit_status"
2216 rm -f core *.core core.conftest.* &&
2217 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2220 for ac_signal
in 1 2 13 15; do
2221 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2225 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2226 rm -f -r conftest
* confdefs.h
2228 $as_echo "/* confdefs.h */" > confdefs.h
2230 # Predefined preprocessor variables.
2232 cat >>confdefs.h
<<_ACEOF
2233 #define PACKAGE_NAME "$PACKAGE_NAME"
2236 cat >>confdefs.h
<<_ACEOF
2237 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2240 cat >>confdefs.h
<<_ACEOF
2241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2244 cat >>confdefs.h
<<_ACEOF
2245 #define PACKAGE_STRING "$PACKAGE_STRING"
2248 cat >>confdefs.h
<<_ACEOF
2249 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2252 cat >>confdefs.h
<<_ACEOF
2253 #define PACKAGE_URL "$PACKAGE_URL"
2257 # Let the site file select an alternate cache file if it wants to.
2258 # Prefer an explicitly selected file to automatically selected ones.
2261 if test -n "$CONFIG_SITE"; then
2262 ac_site_file1
=$CONFIG_SITE
2263 elif test "x$prefix" != xNONE
; then
2264 ac_site_file1
=$prefix/share
/config.site
2265 ac_site_file2
=$prefix/etc
/config.site
2267 ac_site_file1
=$ac_default_prefix/share
/config.site
2268 ac_site_file2
=$ac_default_prefix/etc
/config.site
2270 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2272 test "x$ac_site_file" = xNONE
&& continue
2273 if test -r "$ac_site_file"; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2275 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2276 sed 's/^/| /' "$ac_site_file" >&5
2281 if test -r "$cache_file"; then
2282 # Some versions of bash will fail to source /dev/null (special
2283 # files actually), so we avoid doing that.
2284 if test -f "$cache_file"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2286 $as_echo "$as_me: loading cache $cache_file" >&6;}
2288 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2289 *) .
"./$cache_file";;
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2294 $as_echo "$as_me: creating cache $cache_file" >&6;}
2298 # Check that the precious variables saved in the cache have kept the same
2300 ac_cache_corrupted
=false
2301 for ac_var
in $ac_precious_vars; do
2302 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2303 eval ac_new_set
=\
$ac_env_${ac_var}_set
2304 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2305 eval ac_new_val
=\
$ac_env_${ac_var}_value
2306 case $ac_old_set,$ac_new_set in
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2309 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2310 ac_cache_corrupted
=: ;;
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2313 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2314 ac_cache_corrupted
=: ;;
2317 if test "x$ac_old_val" != "x$ac_new_val"; then
2318 # differences in whitespace do not lead to failure.
2319 ac_old_val_w
=`echo x $ac_old_val`
2320 ac_new_val_w
=`echo x $ac_new_val`
2321 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2323 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2324 ac_cache_corrupted
=:
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2327 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2328 eval $ac_var=\
$ac_old_val
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2331 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2333 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2336 # Pass precious variables to config.status.
2337 if test "$ac_new_set" = set; then
2339 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2340 *) ac_arg
=$ac_var=$ac_new_val ;;
2342 case " $ac_configure_args " in
2343 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2344 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2348 if $ac_cache_corrupted; then
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2352 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2353 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2355 ## -------------------- ##
2356 ## Main body of script. ##
2357 ## -------------------- ##
2360 ac_cpp
='$CPP $CPPFLAGS'
2361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2371 ## GCJ LOCAL: gcc tree uses maintainer mode.
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2374 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2375 # Check whether --enable-maintainer-mode was given.
2376 if test "${enable_maintainer_mode+set}" = set; then :
2377 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2379 USE_MAINTAINER_MODE
=no
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2383 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2384 if test $USE_MAINTAINER_MODE = yes; then
2385 MAINTAINER_MODE_TRUE
=
2386 MAINTAINER_MODE_FALSE
='#'
2388 MAINTAINER_MODE_TRUE
='#'
2389 MAINTAINER_MODE_FALSE
=
2392 MAINT
=$MAINTAINER_MODE_TRUE
2396 # Default to --enable-multilib
2397 # Check whether --enable-multilib was given.
2398 if test "${enable_multilib+set}" = set; then :
2399 enableval
=$enable_multilib; case "$enableval" in
2400 yes) multilib
=yes ;;
2402 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2409 # We may get other options which we leave undocumented:
2410 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2411 # See config-ml.in if you want the gory details.
2413 if test "$srcdir" = "."; then
2414 if test "$with_target_subdir" != "."; then
2415 multi_basedir
="$srcdir/$with_multisrctop../../.."
2417 multi_basedir
="$srcdir/$with_multisrctop../.."
2420 multi_basedir
="$srcdir/../.."
2424 # Even if the default multilib is not a cross compilation,
2425 # it may be that some of the other multilibs are.
2426 if test $cross_compiling = no
&& test $multilib = yes \
2427 && test "x${with_multisubdir}" != x
; then
2428 cross_compiling
=maybe
2431 ac_config_commands
="$ac_config_commands default-1"
2434 ## ------------------------------- ##
2435 ## Libltdl specific configuration. ##
2436 ## ------------------------------- ##
2439 for ac_dir
in .
"$srcdir"/.
; do
2440 for ac_t
in install-sh
install.sh shtool
; do
2441 if test -f "$ac_dir/$ac_t"; then
2443 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2448 if test -z "$ac_aux_dir"; then
2449 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2452 # These three variables are undocumented and unsupported,
2453 # and are intended to be withdrawn in a future Autoconf release.
2454 # They can cause serious problems if a builder's source tree is in a directory
2455 # whose full name contains unusual characters.
2456 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2457 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2458 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2462 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
2463 if test -f ${srcdir}/ltmain.sh
; then
2464 # if libltdl is libtoolized, it is assumed to be stand-alone and
2465 # installed unless the command line overrides it (tested above)
2466 enable_ltdl_install
=yes
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** The top-level configure must select either" >&5
2469 $as_echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
2471 $as_echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
2472 as_fn_error
"*** Maybe you want to --enable-ltdl-install?" "$LINENO" 5
2477 ## ------------------------ ##
2478 ## Automake Initialisation. ##
2479 ## ------------------------ ##
2480 am__api_version
='1.11'
2482 # Find a good install program. We prefer a C program (faster),
2483 # so one script is as good as another. But avoid the broken or
2484 # incompatible versions:
2485 # SysV /etc/install, /usr/sbin/install
2486 # SunOS /usr/etc/install
2487 # IRIX /sbin/install
2489 # AmigaOS /C/install, which installs bootblocks on floppy discs
2490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2492 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2493 # OS/2's system install, which has a completely different semantic
2494 # ./install, which can be erroneously created by make from ./install.sh.
2495 # Reject install programs that cannot install multiple files.
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2497 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2498 if test -z "$INSTALL"; then
2499 if test "${ac_cv_path_install+set}" = set; then :
2500 $as_echo_n "(cached) " >&6
2502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir
=.
2507 # Account for people who put trailing slashes in PATH elements.
2508 case $as_dir/ in #((
2509 .
/ | .
// |
/[cC
]/* | \
2510 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2511 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2514 # OSF1 and SCO ODT 3.0 have their own names for install.
2515 # Don't use installbsd from OSF since it installs stuff as root
2517 for ac_prog
in ginstall scoinst
install; do
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2520 if test $ac_prog = install &&
2521 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2522 # AIX install. It has an incompatible calling convention.
2524 elif test $ac_prog = install &&
2525 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2526 # program-specific install script used by HP pwplus--don't use.
2529 rm -rf conftest.one conftest.two conftest.dir
2530 echo one
> conftest.one
2531 echo two
> conftest.two
2533 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2534 test -s conftest.one
&& test -s conftest.two
&&
2535 test -s conftest.dir
/conftest.one
&&
2536 test -s conftest.dir
/conftest.two
2538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2551 rm -rf conftest.one conftest.two conftest.dir
2554 if test "${ac_cv_path_install+set}" = set; then
2555 INSTALL
=$ac_cv_path_install
2557 # As a last resort, use the slow shell script. Don't cache a
2558 # value for INSTALL within a source directory, because that will
2559 # break other packages using the cache if that directory is
2560 # removed, or if the value is a relative name.
2561 INSTALL
=$ac_install_sh
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2565 $as_echo "$INSTALL" >&6; }
2567 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2568 # It thinks the first close brace ends the variable substitution.
2569 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2571 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2573 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2576 $as_echo_n "checking whether build environment is sane... " >&6; }
2579 echo timestamp
> conftest.
file
2580 # Reject unsafe characters in $srcdir or the absolute working directory
2581 # name. Accept space and tab only in the latter.
2585 *[\\\"\
#\$\&\'\`$am_lf]*)
2586 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2589 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2590 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2593 # Do `set' in a subshell so we don't clobber the current shell's
2594 # arguments. Must try -L first in case configure is actually a
2595 # symlink; some systems play weird games with the mod time of symlinks
2596 # (eg FreeBSD returns the mod time of the symlink's containing
2599 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2600 if test "$*" = "X"; then
2602 set X
`ls -t "$srcdir/configure" conftest.file`
2605 if test "$*" != "X $srcdir/configure conftest.file" \
2606 && test "$*" != "X conftest.file $srcdir/configure"; then
2608 # If neither matched, then we have a broken ls. This can happen
2609 # if, for instance, CONFIG_SHELL is bash and it inherits a
2610 # broken ls alias from the environment. This has actually
2611 # happened. Such a system could not be considered "sane".
2612 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2613 alias in your environment" "$LINENO" 5
2616 test "$2" = conftest.
file
2622 as_fn_error
"newly created file is older than distributed files!
2623 Check your system clock" "$LINENO" 5
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2626 $as_echo "yes" >&6; }
2627 test "$program_prefix" != NONE
&&
2628 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2629 # Use a double $ so make ignores it.
2630 test "$program_suffix" != NONE
&&
2631 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2632 # Double any \ or $.
2633 # By default was `s,x,x', remove it if useless.
2634 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2635 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2637 # expand $ac_aux_dir to an absolute path
2638 am_aux_dir
=`cd $ac_aux_dir && pwd`
2640 if test x
"${MISSING+set}" != xset
; then
2643 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2645 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2648 # Use eval to expand $SHELL
2649 if eval "$MISSING --run true"; then
2650 am_missing_run
="$MISSING --run "
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2654 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2657 if test x
"${install_sh}" != xset
; then
2660 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2662 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2666 # Installed binaries are usually stripped using `strip' when the user
2667 # run `make install-strip'. However `strip' might not be the right
2668 # tool to use in cross-compilation environments, therefore Automake
2669 # will honor the `STRIP' environment variable to overrule this program.
2670 if test "$cross_compiling" != no
; then
2671 if test -n "$ac_tool_prefix"; then
2672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2673 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if test "${ac_cv_prog_STRIP+set}" = set; then :
2677 $as_echo_n "(cached) " >&6
2679 if test -n "$STRIP"; then
2680 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir
=.
2687 for ac_exec_ext
in '' $ac_executable_extensions; do
2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 STRIP
=$ac_cv_prog_STRIP
2700 if test -n "$STRIP"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2702 $as_echo "$STRIP" >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2710 if test -z "$ac_cv_prog_STRIP"; then
2712 # Extract the first word of "strip", so it can be a program name with args.
2713 set dummy strip
; ac_word
=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2717 $as_echo_n "(cached) " >&6
2719 if test -n "$ac_ct_STRIP"; then
2720 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729 ac_cv_prog_ac_ct_STRIP
="strip"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2740 if test -n "$ac_ct_STRIP"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2742 $as_echo "$ac_ct_STRIP" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2748 if test "x$ac_ct_STRIP" = x
; then
2751 case $cross_compiling:$ac_tool_warned in
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2755 ac_tool_warned
=yes ;;
2760 STRIP
="$ac_cv_prog_STRIP"
2764 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2767 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2768 if test -z "$MKDIR_P"; then
2769 if test "${ac_cv_path_mkdir+set}" = set; then :
2770 $as_echo_n "(cached) " >&6
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2773 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_prog
in mkdir gmkdir
; do
2778 for ac_exec_ext
in '' $ac_executable_extensions; do
2779 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2780 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2781 'mkdir (GNU coreutils) '* | \
2782 'mkdir (coreutils) '* | \
2783 'mkdir (fileutils) '4.1*)
2784 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2794 if test "${ac_cv_path_mkdir+set}" = set; then
2795 MKDIR_P
="$ac_cv_path_mkdir -p"
2797 # As a last resort, use the slow shell script. Don't cache a
2798 # value for MKDIR_P within a source directory, because that will
2799 # break other packages using the cache if that directory is
2800 # removed, or if the value is a relative name.
2801 test -d .
/--version && rmdir .
/--version
2802 MKDIR_P
="$ac_install_sh -d"
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2806 $as_echo "$MKDIR_P" >&6; }
2810 [\\/$
]* | ?
:[\\/]*) ;;
2811 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2814 for ac_prog
in gawk mawk nawk
awk
2816 # Extract the first word of "$ac_prog", so it can be a program name with args.
2817 set dummy
$ac_prog; ac_word
=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if test "${ac_cv_prog_AWK+set}" = set; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$AWK"; then
2824 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_AWK
="$ac_prog"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 if test -n "$AWK"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2846 $as_echo "$AWK" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2853 test -n "$AWK" && break
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2857 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2859 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2861 $as_echo_n "(cached) " >&6
2863 cat >conftest.
make <<\_ACEOF
2866 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2868 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2871 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2873 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2877 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2884 SET_MAKE
="MAKE=${MAKE-make}"
2887 rm -rf .tst
2>/dev
/null
2888 mkdir .tst
2>/dev
/null
2889 if test -d .tst
; then
2894 rmdir .tst
2>/dev
/null
2896 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2897 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2898 # is not polluted with repeated "-I."
2899 am__isrc
=' -I$(srcdir)'
2900 # test to see if srcdir already configured
2901 if test -f $srcdir/config.status
; then
2902 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2906 # test whether we have cygpath
2907 if test -z "$CYGPATH_W"; then
2908 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2909 CYGPATH_W
='cygpath -w'
2916 # Define the identity of the package.
2921 # Some tools Automake needs.
2923 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2926 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2929 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2932 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2935 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2937 # We need awk for the "check" target. The system "awk" is bad on
2939 # Always define AMTAR for backward compatibility. Yes, it's still used
2940 # in the wild :-( We should find a proper way to deprecate it ...
2943 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2949 ac_config_headers
="$ac_config_headers config.h:config-h.in"
2953 ## ------------------ ##
2954 ## C compiler checks. ##
2955 ## ------------------ ##
2957 ac_cpp
='$CPP $CPPFLAGS'
2958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2961 if test -n "$ac_tool_prefix"; then
2962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2963 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if test "${ac_cv_prog_CC+set}" = set; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$CC"; then
2970 ac_cv_prog_CC
="$CC" # Let the user override the test.
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir
=.
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 if test -n "$CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2992 $as_echo "$CC" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
3000 if test -z "$ac_cv_prog_CC"; then
3002 # Extract the first word of "gcc", so it can be a program name with args.
3003 set dummy gcc
; ac_word
=$2
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3009 if test -n "$ac_ct_CC"; then
3010 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 for ac_exec_ext
in '' $ac_executable_extensions; do
3018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3019 ac_cv_prog_ac_ct_CC
="gcc"
3020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3030 if test -n "$ac_ct_CC"; then
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3032 $as_echo "$ac_ct_CC" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035 $as_echo "no" >&6; }
3038 if test "x$ac_ct_CC" = x
; then
3041 case $cross_compiling:$ac_tool_warned in
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045 ac_tool_warned
=yes ;;
3053 if test -z "$CC"; then
3054 if test -n "$ac_tool_prefix"; then
3055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3056 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058 $as_echo_n "checking for $ac_word... " >&6; }
3059 if test "${ac_cv_prog_CC+set}" = set; then :
3060 $as_echo_n "(cached) " >&6
3062 if test -n "$CC"; then
3063 ac_cv_prog_CC
="$CC" # Let the user override the test.
3065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 test -z "$as_dir" && as_dir
=.
3070 for ac_exec_ext
in '' $ac_executable_extensions; do
3071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3072 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test -n "$CC"; then
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3085 $as_echo "$CC" >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3094 if test -z "$CC"; then
3095 # Extract the first word of "cc", so it can be a program name with args.
3096 set dummy cc
; ac_word
=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if test "${ac_cv_prog_CC+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC
="$CC" # Let the user override the test.
3106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3114 ac_prog_rejected
=yes
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 if test $ac_prog_rejected = yes; then
3126 # We found a bogon in the path, so make sure we never use it.
3127 set dummy
$ac_cv_prog_CC
3129 if test $# != 0; then
3130 # We chose a different compiler from the bogus one.
3131 # However, it has the same basename, so the bogon will be chosen
3132 # first if we set CC to just the basename; use the full file name.
3134 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3150 if test -z "$CC"; then
3151 if test -n "$ac_tool_prefix"; then
3152 for ac_prog
in cl.exe
3154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3155 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if test "${ac_cv_prog_CC+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC
="$CC" # Let the user override the test.
3164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 test -z "$as_dir" && as_dir
=.
3169 for ac_exec_ext
in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 if test -n "$CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3184 $as_echo "$CC" >&6; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3191 test -n "$CC" && break
3194 if test -z "$CC"; then
3196 for ac_prog
in cl.exe
3198 # Extract the first word of "$ac_prog", so it can be a program name with args.
3199 set dummy
$ac_prog; ac_word
=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$ac_ct_CC"; then
3206 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir
=.
3213 for ac_exec_ext
in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 ac_cv_prog_ac_ct_CC
="$ac_prog"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3226 if test -n "$ac_ct_CC"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3228 $as_echo "$ac_ct_CC" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3235 test -n "$ac_ct_CC" && break
3238 if test "x$ac_ct_CC" = x
; then
3241 case $cross_compiling:$ac_tool_warned in
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3245 ac_tool_warned
=yes ;;
3254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error
"no acceptable C compiler found in \$PATH
3257 See \`config.log' for more details." "$LINENO" 5; }
3259 # Provide some information about the compiler.
3260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3263 for ac_option
in --version -v -V -qversion; do
3264 { { ac_try
="$ac_compiler $ac_option >&5"
3266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3273 if test -s conftest.err; then
3275 ... rest of stderr output deleted ...
3276 10q' conftest.err >conftest.er1
3277 cat conftest.er1 >&5
3278 rm -f conftest.er1 conftest.err
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 ac_clean_files_save=$ac_clean_files
3296 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3297 # Try to create an executable without -o first, disregard a.out.
3298 # It will help us diagnose broken compilers, and finding out an intuition
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3301 $as_echo_n "checking for C compiler default output file name... " >&6; }
3302 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3304 # The possible output files:
3305 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3308 for ac_file in $ac_files
3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3317 if { { ac_try="$ac_link_default"
3319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3320 *) ac_try_echo
=$ac_try;;
3322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_link_default") 2>&5
3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327 test $ac_status = 0; }; then :
3328 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3329 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3330 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3331 # so that the user can short-circuit this test for compilers unknown to
3333 for ac_file
in $ac_files ''
3335 test -f "$ac_file" ||
continue
3337 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3340 # We found the default executable, but exeext='' is most
3344 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3346 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3348 # We set ac_cv_exeext here because the later test for it is not
3349 # safe: cross compilers may not add the suffix if given an `-o'
3350 # argument, so we may need to know it at that point already.
3351 # Even if this section looks crufty: it has the advantage of
3358 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3364 $as_echo "$ac_file" >&6; }
3365 if test -z "$ac_file"; then :
3366 $as_echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.
$ac_ext >&5
3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371 { as_fn_set_status
77
3372 as_fn_error
"C compiler cannot create executables
3373 See \`config.log' for more details." "$LINENO" 5; }; }
3375 ac_exeext
=$ac_cv_exeext
3377 # Check that the compiler produces executables we can run. If not, either
3378 # the compiler is broken, or we cross compile.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3380 $as_echo_n "checking whether the C compiler works... " >&6; }
3381 # If not cross compiling, check that we can run a simple program.
3382 if test "$cross_compiling" != yes; then
3383 if { ac_try
='./$ac_file'
3384 { { case "(($ac_try" in
3385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_try") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; }; then
3396 if test "$cross_compiling" = maybe; then
3399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error "cannot run C compiled programs.
3402 If you meant to cross compile
, use \
`--host'.
3403 See \`config.log
' for more details." "$LINENO" 5; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3408 $as_echo "yes" >&6; }
3410 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3411 ac_clean_files=$ac_clean_files_save
3412 # Check that the compiler produces executables we can run. If not, either
3413 # the compiler is broken, or we cross compile.
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3415 $as_echo_n "checking whether we are cross compiling... " >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3417 $as_echo "$cross_compiling" >&6; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3420 $as_echo_n "checking for suffix of executables... " >&6; }
3421 if { { ac_try="$ac_link"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_link") 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; then :
3432 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3433 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3434 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3436 for ac_file
in conftest.exe conftest conftest.
*; do
3437 test -f "$ac_file" ||
continue
3439 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3440 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3448 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3449 See \`config.log' for more details." "$LINENO" 5; }
3451 rm -f conftest
$ac_cv_exeext
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3453 $as_echo "$ac_cv_exeext" >&6; }
3455 rm -f conftest.
$ac_ext
3456 EXEEXT
=$ac_cv_exeext
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3459 $as_echo_n "checking for suffix of object files... " >&6; }
3460 if test "${ac_cv_objext+set}" = set; then :
3461 $as_echo_n "(cached) " >&6
3463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3474 rm -f conftest.o conftest.obj
3475 if { { ac_try
="$ac_compile"
3477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3478 *) ac_try_echo=$ac_try;;
3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_compile") 2>&5
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 for ac_file in conftest.o conftest.obj conftest.*; do
3487 test -f "$ac_file" || continue;
3489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3490 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3495 $as_echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.$ac_ext >&5
3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 as_fn_error "cannot compute suffix of object files
: cannot compile
3501 See \
`config.log' for more details." "$LINENO" 5; }
3503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3506 $as_echo "$ac_cv_objext" >&6; }
3507 OBJEXT=$ac_cv_objext
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3510 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3511 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3528 if ac_fn_c_try_compile "$LINENO"; then :
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3538 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3539 if test $ac_compiler_gnu = yes; then
3544 ac_test_CFLAGS=${CFLAGS+set}
3545 ac_save_CFLAGS=$CFLAGS
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3547 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3548 if test "${ac_cv_prog_cc_g+set}" = set; then :
3549 $as_echo_n "(cached) " >&6
3551 ac_save_c_werror_flag=$ac_c_werror_flag
3552 ac_c_werror_flag=yes
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 if ac_fn_c_try_compile "$LINENO"; then :
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3581 if ac_fn_c_try_compile "$LINENO"; then :
3584 ac_c_werror_flag=$ac_save_c_werror_flag
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 if ac_fn_c_try_compile "$LINENO"; then :
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 ac_c_werror_flag=$ac_save_c_werror_flag
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3608 $as_echo "$ac_cv_prog_cc_g" >&6; }
3609 if test "$ac_test_CFLAGS" = set; then
3610 CFLAGS=$ac_save_CFLAGS
3611 elif test $ac_cv_prog_cc_g = yes; then
3612 if test "$GCC" = yes; then
3618 if test "$GCC" = yes; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3625 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3626 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3627 $as_echo_n "(cached) " >&6
3629 ac_cv_prog_cc_c89=no
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3635 #include <sys/types.h>
3636 #include <sys/stat.h>
3637 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3638 struct buf { int x; };
3639 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3640 static char *e (p, i)
3646 static char *f (char * (*g) (char **, int), char **p, ...)
3651 s = g (p, va_arg (v,int));
3656 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3657 function prototypes and stuff, but not '\xHH' hex character constants.
3658 These don't provoke an error unfortunately, instead are silently treated
3659 as 'x'. The following induces an error, until -std is added to get
3660 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3661 array size at least. It's necessary to write '\x00'==0 to get something
3662 that's true only with -std. */
3663 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3665 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3666 inside strings and character constants. */
3668 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3670 int test (int i, double x);
3671 struct s1 {int (*f) (int a);};
3672 struct s2 {int (*f) (double a);};
3673 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3679 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3684 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3685 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3687 CC="$ac_save_CC $ac_arg"
3688 if ac_fn_c_try_compile "$LINENO"; then :
3689 ac_cv_prog_cc_c89=$ac_arg
3691 rm -f core conftest.err conftest.$ac_objext
3692 test "x$ac_cv_prog_cc_c89" != "xno" && break
3694 rm -f conftest.$ac_ext
3699 case "x$ac_cv_prog_cc_c89" in
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3702 $as_echo "none needed" >&6; } ;;
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3705 $as_echo "unsupported" >&6; } ;;
3707 CC="$CC $ac_cv_prog_cc_c89"
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3709 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3711 if test "x$ac_cv_prog_cc_c89" != xno; then :
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720 DEPDIR="${am__leading_dot}deps"
3722 ac_config_commands="$ac_config_commands depfiles"
3725 am_make=${MAKE-make}
3726 cat > confinc << 'END'
3728 @echo this is the am__doit target
3731 # If we don't find an include directive, just comment out the code.
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3733 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3737 # First try GNU make style include.
3738 echo "include confinc" > confmf
3739 # Ignore all kinds of additional output from `make'.
3740 case `$am_make -s -f confmf 2> /dev/null` in #(
3741 *the\ am__doit\ target*)
3747 # Now try BSD make style include.
3748 if test "$am__include" = "#"; then
3749 echo '.include
"confinc"' > confmf
3750 case `$am_make -s -f confmf 2> /dev/null` in #(
3751 *the\ am__doit\ target*)
3752 am__include=.include
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3761 $as_echo "$_am_result" >&6; }
3762 rm -f confinc confmf
3764 # Check whether --enable-dependency-tracking was given.
3765 if test "${enable_dependency_tracking+set}" = set; then :
3766 enableval=$enable_dependency_tracking;
3769 if test "x$enable_dependency_tracking" != xno; then
3770 am_depcomp="$ac_aux_dir/depcomp"
3774 if test "x$enable_dependency_tracking" != xno
; then
3784 depcc
="$CC" am_compiler_list
=
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3787 $as_echo_n "checking dependency style of $depcc... " >&6; }
3788 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3792 # We make a subdir and do the tests there. Otherwise we can end up
3793 # making bogus files that we don't know about and never remove. For
3794 # instance it was reported that on HP-UX the gcc test will end up
3795 # making a dummy file named `D' -- because `-MD' means `put the output
3799 # Copy depcomp to subdir because otherwise we won't find it if we're
3800 # using a relative directory.
3801 cp "$am_depcomp" conftest.dir
3803 # We will build objects and dependencies in a subdirectory because
3804 # it helps to detect inapplicable dependency modes. For instance
3805 # both Tru64's cc and ICC support -MD to output dependencies as a
3806 # side effect of compilation, but ICC will put the dependencies in
3807 # the current directory while Tru64 will put them in the object
3811 am_cv_CC_dependencies_compiler_type
=none
3812 if test "$am_compiler_list" = ""; then
3813 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3816 case " $depcc " in #(
3817 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3820 for depmode
in $am_compiler_list; do
3821 # Setup a source with many dependencies, because some compilers
3822 # like to wrap large dependency lists on column 80 (with \), and
3823 # we should not choose a depcomp mode which is confused by this.
3825 # We need to recreate these files for each test, as the compiler may
3826 # overwrite some of them when testing with obscure command lines.
3827 # This happens at least with the AIX C compiler.
3829 for i
in 1 2 3 4 5 6; do
3830 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3831 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3832 # Solaris 8's {/usr,}/bin/sh.
3833 touch sub
/conftst
$i.h
3835 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3837 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3838 # mode. It turns out that the SunPro C++ compiler does not properly
3839 # handle `-M -o', and we need to detect this. Also, some Intel
3840 # versions had trouble with output in subdirs
3841 am__obj
=sub
/conftest.
${OBJEXT-o}
3842 am__minus_obj
="-o $am__obj"
3845 # This depmode causes a compiler race in universal mode.
3846 test "$am__universal" = false ||
continue
3849 # after this tag, mechanisms are not by side-effect, so they'll
3850 # only be used when explicitly requested
3851 if test "x$enable_dependency_tracking" = xyes
; then
3857 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3858 # This compiler won't grok `-c -o', but also, the minuso test has
3859 # not run yet. These depmodes are late enough in the game, and
3860 # so weak that their functioning should not be impacted.
3861 am__obj
=conftest.
${OBJEXT-o}
3866 if depmode
=$depmode \
3867 source=sub
/conftest.c object
=$am__obj \
3868 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3869 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3870 >/dev
/null
2>conftest.err
&&
3871 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3872 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3873 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3874 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3875 # icc doesn't choke on unknown options, it will just issue warnings
3876 # or remarks (even with -Werror). So we grep stderr for any message
3877 # that says an option was ignored or not supported.
3878 # When given -MP, icc 7.0 and 7.1 complain thusly:
3879 # icc: Command line warning: ignoring option '-M'; no argument required
3880 # The diagnosis changed in icc 8.0:
3881 # icc: Command line remark: option '-MP' not supported
3882 if (grep 'ignoring option' conftest.err ||
3883 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3884 am_cv_CC_dependencies_compiler_type
=$depmode
3893 am_cv_CC_dependencies_compiler_type
=none
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3898 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3899 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3902 test "x$enable_dependency_tracking" != xno \
3903 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3905 am__fastdepCC_FALSE
='#'
3907 am__fastdepCC_TRUE
='#'
3908 am__fastdepCC_FALSE
=
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3914 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3915 if test "${ac_cv_c_const+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3924 /* FIXME: Include the comments suggested by Paul. */
3926 /* Ultrix mips cc rejects this. */
3927 typedef int charset[2];
3929 /* SunOS 4.1.1 cc rejects this. */
3930 char const *const *pcpcc;
3932 /* NEC SVR4.0.2 mips cc rejects this. */
3933 struct point {int x, y;};
3934 static struct point const zero = {0,0};
3935 /* AIX XL C 1.02.0.0 rejects this.
3936 It does not let you subtract one const X* pointer from another in
3937 an arm of an if-expression whose if-part is not a constant
3939 const char *g = "string";
3940 pcpcc = &g + (g ? g-g : 0);
3941 /* HPUX 7.0 cc rejects these. */
3943 ppc = (char**) pcpcc;
3944 pcpcc = (char const *const *) ppc;
3945 { /* SCO 3.2v4 cc rejects this. */
3947 char const *s = 0 ? (char *) 0 : (char const *) 0;
3952 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3954 const int *foo = &x[0];
3957 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3958 typedef const int *iptr;
3962 { /* AIX XL C 1.02.0.0 rejects this saying
3963 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3964 struct s { int j; const int *ap[3]; };
3965 struct s *b; b->j = 5;
3967 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3971 return !cs[0] && !zero.x;
3978 if ac_fn_c_try_compile
"$LINENO"; then :
3983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3986 $as_echo "$ac_cv_c_const" >&6; }
3987 if test $ac_cv_c_const = no
; then
3989 $as_echo "#define const /**/" >>confdefs.h
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3994 $as_echo_n "checking for inline... " >&6; }
3995 if test "${ac_cv_c_inline+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3999 for ac_kw
in inline __inline__ __inline
; do
4000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4004 static $ac_kw foo_t static_foo () {return 0; }
4005 $ac_kw foo_t foo () {return 0; }
4009 if ac_fn_c_try_compile
"$LINENO"; then :
4010 ac_cv_c_inline
=$ac_kw
4012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4013 test "$ac_cv_c_inline" != no
&& break
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4018 $as_echo "$ac_cv_c_inline" >&6; }
4020 case $ac_cv_c_inline in
4023 case $ac_cv_c_inline in
4025 *) ac_val
=$ac_cv_c_inline;;
4027 cat >>confdefs.h
<<_ACEOF
4029 #define inline $ac_val
4037 ## ----------------------- ##
4038 ## Libtool initialisation. ##
4039 ## ----------------------- ##
4042 # Check whether --enable-shared was given.
4043 if test "${enable_shared+set}" = set; then :
4044 enableval
=$enable_shared; p
=${PACKAGE-default}
4046 yes) enable_shared
=yes ;;
4047 no
) enable_shared
=no
;;
4050 # Look at the argument we got. We use all the common list separators.
4051 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4052 for pkg
in $enableval; do
4054 if test "X$pkg" = "X$p"; then
4066 # Check whether --enable-static was given.
4067 if test "${enable_static+set}" = set; then :
4068 enableval
=$enable_static; p
=${PACKAGE-default}
4070 yes) enable_static
=yes ;;
4071 no
) enable_static
=no
;;
4074 # Look at the argument we got. We use all the common list separators.
4075 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4076 for pkg
in $enableval; do
4078 if test "X$pkg" = "X$p"; then
4090 # Check whether --enable-fast-install was given.
4091 if test "${enable_fast_install+set}" = set; then :
4092 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4094 yes) enable_fast_install
=yes ;;
4095 no
) enable_fast_install
=no
;;
4097 enable_fast_install
=no
4098 # Look at the argument we got. We use all the common list separators.
4099 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4100 for pkg
in $enableval; do
4102 if test "X$pkg" = "X$p"; then
4103 enable_fast_install
=yes
4110 enable_fast_install
=yes
4114 # Make sure we can run config.sub.
4115 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4116 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4119 $as_echo_n "checking build system type... " >&6; }
4120 if test "${ac_cv_build+set}" = set; then :
4121 $as_echo_n "(cached) " >&6
4123 ac_build_alias
=$build_alias
4124 test "x$ac_build_alias" = x
&&
4125 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4126 test "x$ac_build_alias" = x
&&
4127 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4128 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4129 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4133 $as_echo "$ac_cv_build" >&6; }
4134 case $ac_cv_build in
4136 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4139 ac_save_IFS
=$IFS; IFS
='-'
4145 # Remember, the first character of IFS is used to create $*,
4146 # except with old shells:
4149 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4153 $as_echo_n "checking host system type... " >&6; }
4154 if test "${ac_cv_host+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 if test "x$host_alias" = x
; then
4158 ac_cv_host
=$ac_cv_build
4160 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4161 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4166 $as_echo "$ac_cv_host" >&6; }
4169 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4172 ac_save_IFS
=$IFS; IFS
='-'
4178 # Remember, the first character of IFS is used to create $*,
4179 # except with old shells:
4182 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4186 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4187 if test "${lt_cv_path_SED+set}" = set; then :
4188 $as_echo_n "(cached) " >&6
4190 # Loop through the user's path and test for sed and gsed.
4191 # Then use that list of sed's as ones to test for truncation.
4192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4196 test -z "$as_dir" && as_dir
=.
4197 for lt_ac_prog
in sed gsed
; do
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4200 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4207 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4208 # along with /bin/sed that truncates output.
4209 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4210 test ! -f $lt_ac_sed && continue
4211 cat /dev
/null
> conftest.
in
4213 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4214 # Check for GNU sed and select it if it is found.
4215 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4216 lt_cv_path_SED
=$lt_ac_sed
4220 cat conftest.
in conftest.
in >conftest.tmp
4221 mv conftest.tmp conftest.
in
4222 cp conftest.
in conftest.
nl
4224 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4225 cmp -s conftest.out conftest.
nl ||
break
4226 # 10000 chars as input seems more than enough
4227 test $lt_ac_count -gt 10 && break
4228 lt_ac_count
=`expr $lt_ac_count + 1`
4229 if test $lt_ac_count -gt $lt_ac_max; then
4230 lt_ac_max
=$lt_ac_count
4231 lt_cv_path_SED
=$lt_ac_sed
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4240 $as_echo "$SED" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4243 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4244 if test "${ac_cv_path_GREP+set}" = set; then :
4245 $as_echo_n "(cached) " >&6
4247 if test -z "$GREP"; then
4248 ac_path_GREP_found
=false
4249 # Loop through the user's path and test for each of PROGNAME-LIST
4250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4251 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4254 test -z "$as_dir" && as_dir
=.
4255 for ac_prog
in grep ggrep
; do
4256 for ac_exec_ext
in '' $ac_executable_extensions; do
4257 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4258 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4259 # Check for GNU ac_path_GREP and select it if it is found.
4260 # Check for GNU $ac_path_GREP
4261 case `"$ac_path_GREP" --version 2>&1` in
4263 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4266 $as_echo_n 0123456789 >"conftest.in"
4269 cat "conftest.in" "conftest.in" >"conftest.tmp"
4270 mv "conftest.tmp" "conftest.in"
4271 cp "conftest.in" "conftest.nl"
4272 $as_echo 'GREP' >> "conftest.nl"
4273 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4274 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4275 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4276 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4277 # Best one so far, save it but keep looking for a better one
4278 ac_cv_path_GREP
="$ac_path_GREP"
4279 ac_path_GREP_max
=$ac_count
4281 # 10*(2^10) chars as input seems more than enough
4282 test $ac_count -gt 10 && break
4284 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4287 $ac_path_GREP_found && break 3
4292 if test -z "$ac_cv_path_GREP"; then
4293 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4296 ac_cv_path_GREP
=$GREP
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4301 $as_echo "$ac_cv_path_GREP" >&6; }
4302 GREP
="$ac_cv_path_GREP"
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4306 $as_echo_n "checking for egrep... " >&6; }
4307 if test "${ac_cv_path_EGREP+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4311 then ac_cv_path_EGREP
="$GREP -E"
4313 if test -z "$EGREP"; then
4314 ac_path_EGREP_found
=false
4315 # Loop through the user's path and test for each of PROGNAME-LIST
4316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4320 test -z "$as_dir" && as_dir
=.
4321 for ac_prog
in egrep; do
4322 for ac_exec_ext
in '' $ac_executable_extensions; do
4323 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4324 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4325 # Check for GNU ac_path_EGREP and select it if it is found.
4326 # Check for GNU $ac_path_EGREP
4327 case `"$ac_path_EGREP" --version 2>&1` in
4329 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4332 $as_echo_n 0123456789 >"conftest.in"
4335 cat "conftest.in" "conftest.in" >"conftest.tmp"
4336 mv "conftest.tmp" "conftest.in"
4337 cp "conftest.in" "conftest.nl"
4338 $as_echo 'EGREP' >> "conftest.nl"
4339 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4340 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4341 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4342 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4343 # Best one so far, save it but keep looking for a better one
4344 ac_cv_path_EGREP
="$ac_path_EGREP"
4345 ac_path_EGREP_max
=$ac_count
4347 # 10*(2^10) chars as input seems more than enough
4348 test $ac_count -gt 10 && break
4350 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4353 $ac_path_EGREP_found && break 3
4358 if test -z "$ac_cv_path_EGREP"; then
4359 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4362 ac_cv_path_EGREP
=$EGREP
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4368 $as_echo "$ac_cv_path_EGREP" >&6; }
4369 EGREP
="$ac_cv_path_EGREP"
4373 # Check whether --with-gnu-ld was given.
4374 if test "${with_gnu_ld+set}" = set; then :
4375 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4381 if test "$GCC" = yes; then
4382 # Check if gcc -print-prog-name=ld gives a path.
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4384 $as_echo_n "checking for ld used by $CC... " >&6; }
4387 # gcc leaves a trailing carriage return which upsets mingw
4388 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4390 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4393 # Accept absolute paths.
4395 re_direlt
='/[^/][^/]*/\.\./'
4396 # Canonicalize the pathname of ld
4397 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4398 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4399 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4401 test -z "$LD" && LD
="$ac_prog"
4404 # If it fails, then pretend we aren't using GCC.
4408 # If it is relative, then search for the first ld in PATH.
4412 elif test "$with_gnu_ld" = yes; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4414 $as_echo_n "checking for GNU ld... " >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4417 $as_echo_n "checking for non-GNU ld... " >&6; }
4419 if test "${lt_cv_path_LD+set}" = set; then :
4420 $as_echo_n "(cached) " >&6
4422 if test -z "$LD"; then
4423 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4424 for ac_dir
in $PATH; do
4426 test -z "$ac_dir" && ac_dir
=.
4427 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4428 lt_cv_path_LD
="$ac_dir/$ac_prog"
4429 # Check to see if the program is GNU ld. I'd rather use --version,
4430 # but apparently some GNU ld's only accept -v.
4431 # Break only if it was the GNU/non-GNU ld that we prefer.
4432 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4433 *GNU
* |
*'with BFD'*)
4434 test "$with_gnu_ld" != no
&& break
4437 test "$with_gnu_ld" != yes && break
4444 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4449 if test -n "$LD"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4451 $as_echo "$LD" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4456 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4458 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4459 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4460 $as_echo_n "(cached) " >&6
4462 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU
* |
*'with BFD'*)
4465 lt_cv_prog_gnu_ld
=yes
4468 lt_cv_prog_gnu_ld
=no
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4473 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4474 with_gnu_ld
=$lt_cv_prog_gnu_ld
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4478 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4479 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4482 lt_cv_ld_reload_flag
='-r'
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4485 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4486 reload_flag
=$lt_cv_ld_reload_flag
4487 case $reload_flag in
4489 *) reload_flag
=" $reload_flag" ;;
4491 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4494 if test "$GCC" = yes; then
4495 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4497 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
4503 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4504 if test "${lt_cv_path_NM+set}" = set; then :
4505 $as_echo_n "(cached) " >&6
4507 if test -n "$NM"; then
4508 # Let the user override the test.
4511 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4512 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4514 test -z "$ac_dir" && ac_dir
=.
4515 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
4516 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4517 # Check to see if the nm accepts a BSD-compat flag.
4518 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4519 # nm: unknown option "B" ignored
4520 # Tru64's nm complains that /dev/null is an invalid object file
4521 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4522 */dev
/null
* |
*'Invalid file or object type'*)
4523 lt_cv_path_NM
="$tmp_nm -B"
4527 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4529 lt_cv_path_NM
="$tmp_nm -p"
4533 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4534 continue # so that we can try to find one that supports BSD flags
4541 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4545 $as_echo "$lt_cv_path_NM" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4549 $as_echo_n "checking whether ln -s works... " >&6; }
4551 if test "$LN_S" = "ln -s"; then
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4553 $as_echo "yes" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4556 $as_echo "no, using $LN_S" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5
4560 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
4561 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4564 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4565 lt_cv_file_magic_test_file
=
4566 lt_cv_deplibs_check_method
='unknown'
4567 # Need to set the preceding variable on all platforms that support
4568 # interlibrary dependencies.
4569 # 'none' -- dependencies not supported.
4570 # `unknown' -- same as none, but documents that we really don't know.
4571 # 'pass_all' -- all dependencies passed with no checks.
4572 # 'test_compile' -- check by making test program.
4573 # 'file_magic [[regex]]' -- check by looking for files in library path
4574 # which responds to the $file_magic_cmd with a given extended regex.
4575 # If you have `file' or equivalent on your system and you're not sure
4576 # whether `pass_all' will *always* work, you probably want this one.
4580 lt_cv_deplibs_check_method
=pass_all
4584 lt_cv_deplibs_check_method
=pass_all
4588 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4589 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4590 lt_cv_file_magic_test_file
=/shlib
/libc.so
4594 # func_win32_libid is a shell function defined in ltmain.sh
4595 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4596 lt_cv_file_magic_cmd
='func_win32_libid'
4600 # Base MSYS/MinGW do not provide the 'file' command needed by
4601 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4602 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4603 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4606 darwin
* | rhapsody
*)
4607 lt_cv_deplibs_check_method
=pass_all
4610 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4611 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4614 # Not sure whether the presence of OpenBSD here was a mistake.
4615 # Let's accept both of them until this is cleared up.
4616 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4617 lt_cv_file_magic_cmd
=/usr
/bin
/file
4618 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4622 lt_cv_deplibs_check_method
=pass_all
4627 lt_cv_deplibs_check_method
=pass_all
4630 hpux10.20
* | hpux11
*)
4631 lt_cv_file_magic_cmd
=/usr
/bin
/file
4634 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4635 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4638 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]'
4639 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4642 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4643 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4648 irix5
* | irix6
* | nonstopux
*)
4650 *-32|
*"-32 ") libmagic
=32-bit;;
4651 *-n32|
*"-n32 ") libmagic
=N32
;;
4652 *-64|
*"-64 ") libmagic
=64-bit;;
4653 *) libmagic
=never-match
;;
4655 lt_cv_deplibs_check_method
=pass_all
4658 # This must be Linux ELF.
4660 lt_cv_deplibs_check_method
=pass_all
4664 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4665 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4667 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4672 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4673 lt_cv_file_magic_cmd
=/usr
/bin
/file
4674 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4678 lt_cv_deplibs_check_method
=unknown
4682 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4683 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4685 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4689 osf3
* | osf4
* | osf5
*)
4690 lt_cv_deplibs_check_method
=pass_all
4694 lt_cv_deplibs_check_method
=pass_all
4698 lt_cv_deplibs_check_method
=pass_all
4701 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4702 case $host_vendor in
4704 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]'
4705 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4708 lt_cv_deplibs_check_method
=pass_all
4711 lt_cv_file_magic_cmd
='/bin/file'
4712 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4715 lt_cv_file_magic_cmd
='/bin/file'
4716 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4717 lt_cv_file_magic_test_file
=/lib
/libc.so
4720 lt_cv_deplibs_check_method
=pass_all
4725 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4726 lt_cv_deplibs_check_method
=pass_all
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4732 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4733 file_magic_cmd
=$lt_cv_file_magic_cmd
4734 deplibs_check_method
=$lt_cv_deplibs_check_method
4735 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4740 # If no C compiler was specified, use CC.
4743 # Allow CC to be a program name with arguments.
4746 # Check whether --enable-libtool-lock was given.
4747 if test "${enable_libtool_lock+set}" = set; then :
4748 enableval
=$enable_libtool_lock;
4751 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4753 # Some flags need to be propagated to the compiler or linker for good
4757 # Find out which ABI we are using.
4758 echo 'int i;' > conftest.
$ac_ext
4759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4760 (eval $ac_compile) 2>&5
4762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4763 test $ac_status = 0; }; then
4764 case `/usr/bin/file conftest.$ac_objext` in
4776 # Find out which ABI we are using.
4777 echo '#line 4777 "configure"' > conftest.
$ac_ext
4778 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4779 (eval $ac_compile) 2>&5
4781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4782 test $ac_status = 0; }; then
4783 if test "$lt_cv_prog_gnu_ld" = yes; then
4784 case `/usr/bin/file conftest.$ac_objext` in
4786 LD
="${LD-ld} -melf32bsmip"
4789 LD
="${LD-ld} -melf32bmipn32"
4792 LD
="${LD-ld} -melf64bmip"
4796 case `/usr/bin/file conftest.$ac_objext` in
4812 x86_64-
*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4813 # Find out which ABI we are using.
4814 echo 'int i;' > conftest.
$ac_ext
4815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4816 (eval $ac_compile) 2>&5
4818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4819 test $ac_status = 0; }; then
4820 case "`/usr/bin/file conftest.o`" in
4824 LD
="${LD-ld} -m elf_i386"
4826 powerpc64le-
*linux
*)
4827 LD
="${LD-ld} -m elf32lppclinux"
4830 LD
="${LD-ld} -m elf32ppclinux"
4833 LD
="${LD-ld} -m elf_s390"
4836 LD
="${LD-ld} -m elf32_sparc"
4843 LD
="${LD-ld} -m elf_x86_64"
4846 LD
="${LD-ld} -m elf64lppc"
4849 LD
="${LD-ld} -m elf64ppc"
4852 LD
="${LD-ld} -m elf64_s390"
4855 LD
="${LD-ld} -m elf64_sparc"
4865 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4866 SAVE_CFLAGS
="$CFLAGS"
4867 CFLAGS
="$CFLAGS -belf"
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
4869 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4870 if test "${lt_cv_cc_needs_belf+set}" = set; then :
4871 $as_echo_n "(cached) " >&6
4874 ac_cpp
='$CPP $CPPFLAGS'
4875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4890 if ac_fn_c_try_link
"$LINENO"; then :
4891 lt_cv_cc_needs_belf
=yes
4893 lt_cv_cc_needs_belf
=no
4895 rm -f core conftest.err conftest.
$ac_objext \
4896 conftest
$ac_exeext conftest.
$ac_ext
4898 ac_cpp
='$CPP $CPPFLAGS'
4899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
4905 $as_echo "$lt_cv_cc_needs_belf" >&6; }
4906 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4907 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4908 CFLAGS
="$SAVE_CFLAGS"
4911 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
4912 if test -n "$ac_tool_prefix"; then
4913 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4914 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4918 $as_echo_n "(cached) " >&6
4920 if test -n "$DLLTOOL"; then
4921 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir
=.
4928 for ac_exec_ext
in '' $ac_executable_extensions; do
4929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 DLLTOOL
=$ac_cv_prog_DLLTOOL
4941 if test -n "$DLLTOOL"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4943 $as_echo "$DLLTOOL" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4951 if test -z "$ac_cv_prog_DLLTOOL"; then
4952 ac_ct_DLLTOOL
=$DLLTOOL
4953 # Extract the first word of "dlltool", so it can be a program name with args.
4954 set dummy dlltool
; ac_word
=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4958 $as_echo_n "(cached) " >&6
4960 if test -n "$ac_ct_DLLTOOL"; then
4961 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir
=.
4968 for ac_exec_ext
in '' $ac_executable_extensions; do
4969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4970 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4981 if test -n "$ac_ct_DLLTOOL"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4983 $as_echo "$ac_ct_DLLTOOL" >&6; }
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4989 if test "x$ac_ct_DLLTOOL" = x
; then
4992 case $cross_compiling:$ac_tool_warned in
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4996 ac_tool_warned
=yes ;;
4998 DLLTOOL
=$ac_ct_DLLTOOL
5001 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5004 if test -n "$ac_tool_prefix"; then
5005 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5006 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if test "${ac_cv_prog_AS+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5012 if test -n "$AS"; then
5013 ac_cv_prog_AS
="$AS" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022 ac_cv_prog_AS
="${ac_tool_prefix}as"
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 if test -n "$AS"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5035 $as_echo "$AS" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5043 if test -z "$ac_cv_prog_AS"; then
5045 # Extract the first word of "as", so it can be a program name with args.
5046 set dummy as
; ac_word
=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$ac_ct_AS"; then
5053 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_exec_ext
in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_ac_ct_AS
="as"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5073 if test -n "$ac_ct_AS"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5075 $as_echo "$ac_ct_AS" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5081 if test "x$ac_ct_AS" = x
; then
5084 case $cross_compiling:$ac_tool_warned in
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5088 ac_tool_warned
=yes ;;
5096 if test -n "$ac_tool_prefix"; then
5097 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5098 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5100 $as_echo_n "checking for $ac_word... " >&6; }
5101 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5102 $as_echo_n "(cached) " >&6
5104 if test -n "$OBJDUMP"; then
5105 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5111 test -z "$as_dir" && as_dir
=.
5112 for ac_exec_ext
in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 OBJDUMP
=$ac_cv_prog_OBJDUMP
5125 if test -n "$OBJDUMP"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5127 $as_echo "$OBJDUMP" >&6; }
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5130 $as_echo "no" >&6; }
5135 if test -z "$ac_cv_prog_OBJDUMP"; then
5136 ac_ct_OBJDUMP
=$OBJDUMP
5137 # Extract the first word of "objdump", so it can be a program name with args.
5138 set dummy objdump
; ac_word
=$2
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 $as_echo_n "checking for $ac_word... " >&6; }
5141 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5142 $as_echo_n "(cached) " >&6
5144 if test -n "$ac_ct_OBJDUMP"; then
5145 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5151 test -z "$as_dir" && as_dir
=.
5152 for ac_exec_ext
in '' $ac_executable_extensions; do
5153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5154 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5165 if test -n "$ac_ct_OBJDUMP"; then
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5167 $as_echo "$ac_ct_OBJDUMP" >&6; }
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5173 if test "x$ac_ct_OBJDUMP" = x
; then
5176 case $cross_compiling:$ac_tool_warned in
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5180 ac_tool_warned
=yes ;;
5182 OBJDUMP
=$ac_ct_OBJDUMP
5185 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5192 need_locks
="$enable_libtool_lock"
5196 ac_cpp
='$CPP $CPPFLAGS'
5197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5201 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5202 # On Suns, sometimes $CPP names a directory.
5203 if test -n "$CPP" && test -d "$CPP"; then
5206 if test -z "$CPP"; then
5207 if test "${ac_cv_prog_CPP+set}" = set; then :
5208 $as_echo_n "(cached) " >&6
5210 # Double quotes because CPP needs to be expanded
5211 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5214 for ac_c_preproc_warn_flag
in '' yes
5216 # Use a header file that comes with gcc, so configuring glibc
5217 # with a fresh cross-compiler works.
5218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 # <limits.h> exists even on freestanding compilers.
5220 # On the NeXT, cc -E runs the code through the compiler's parser,
5221 # not just through cpp. "Syntax error" is here to catch this case.
5222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5225 # include <limits.h>
5227 # include <assert.h>
5231 if ac_fn_c_try_cpp
"$LINENO"; then :
5234 # Broken: fails on valid input.
5237 rm -f conftest.err conftest.
$ac_ext
5239 # OK, works on sane cases. Now check whether nonexistent headers
5240 # can be detected and how.
5241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5242 /* end confdefs.h. */
5243 #include <ac_nonexistent.h>
5245 if ac_fn_c_try_cpp
"$LINENO"; then :
5246 # Broken: success on invalid input.
5249 # Passes both tests.
5253 rm -f conftest.err conftest.
$ac_ext
5256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5257 rm -f conftest.err conftest.
$ac_ext
5258 if $ac_preproc_ok; then :
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5271 $as_echo "$CPP" >&6; }
5273 for ac_c_preproc_warn_flag
in '' yes
5275 # Use a header file that comes with gcc, so configuring glibc
5276 # with a fresh cross-compiler works.
5277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5278 # <limits.h> exists even on freestanding compilers.
5279 # On the NeXT, cc -E runs the code through the compiler's parser,
5280 # not just through cpp. "Syntax error" is here to catch this case.
5281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5284 # include <limits.h>
5286 # include <assert.h>
5290 if ac_fn_c_try_cpp
"$LINENO"; then :
5293 # Broken: fails on valid input.
5296 rm -f conftest.err conftest.
$ac_ext
5298 # OK, works on sane cases. Now check whether nonexistent headers
5299 # can be detected and how.
5300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5302 #include <ac_nonexistent.h>
5304 if ac_fn_c_try_cpp
"$LINENO"; then :
5305 # Broken: success on invalid input.
5308 # Passes both tests.
5312 rm -f conftest.err conftest.
$ac_ext
5315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5316 rm -f conftest.err conftest.
$ac_ext
5317 if $ac_preproc_ok; then :
5320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5322 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5323 See \`config.log' for more details." "$LINENO" 5; }
5327 ac_cpp
='$CPP $CPPFLAGS'
5328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5334 $as_echo_n "checking for ANSI C header files... " >&6; }
5335 if test "${ac_cv_header_stdc+set}" = set; then :
5336 $as_echo_n "(cached) " >&6
5338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5353 if ac_fn_c_try_compile
"$LINENO"; then :
5354 ac_cv_header_stdc
=yes
5356 ac_cv_header_stdc
=no
5358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5360 if test $ac_cv_header_stdc = yes; then
5361 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5368 $EGREP "memchr" >/dev
/null
2>&1; then :
5371 ac_cv_header_stdc
=no
5377 if test $ac_cv_header_stdc = yes; then
5378 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5385 $EGREP "free" >/dev
/null
2>&1; then :
5388 ac_cv_header_stdc
=no
5394 if test $ac_cv_header_stdc = yes; then
5395 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5396 if test "$cross_compiling" = yes; then :
5399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5400 /* end confdefs.h. */
5403 #if ((' ' & 0x0FF) == 0x020)
5404 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5405 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5407 # define ISLOWER(c) \
5408 (('a' <= (c) && (c) <= 'i') \
5409 || ('j' <= (c) && (c) <= 'r') \
5410 || ('s' <= (c) && (c) <= 'z'))
5411 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5414 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5419 for (i = 0; i < 256; i++)
5420 if (XOR (islower (i), ISLOWER (i))
5421 || toupper (i) != TOUPPER (i))
5426 if ac_fn_c_try_run
"$LINENO"; then :
5429 ac_cv_header_stdc
=no
5431 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5432 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5438 $as_echo "$ac_cv_header_stdc" >&6; }
5439 if test $ac_cv_header_stdc = yes; then
5441 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5445 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5446 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5447 inttypes.h stdint.h unistd.h
5449 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5450 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5452 eval as_val
=\$
$as_ac_Header
5453 if test "x$as_val" = x
""yes; then :
5454 cat >>confdefs.h
<<_ACEOF
5455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5463 for ac_header
in dlfcn.h
5465 ac_fn_c_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5466 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
5467 cat >>confdefs.h
<<_ACEOF
5468 #define HAVE_DLFCN_H 1
5476 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5478 # find the maximum length of command line arguments
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5480 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5481 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5482 $as_echo_n "(cached) " >&6
5489 # On DJGPP, this test can blow up pretty badly due to problems in libc
5490 # (any single argument exceeding 2000 bytes causes a buffer overrun
5491 # during glob expansion). Even if it were fixed, the result of this
5492 # check would be larger than it should be.
5493 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5497 # Under GNU Hurd, this test is not required because there is
5498 # no limit to the length of command line arguments.
5499 # Libtool will interpret -1 as no limit whatsoever
5500 lt_cv_sys_max_cmd_len
=-1;
5504 # On Win9x/ME, this test blows up -- it succeeds, but takes
5505 # about 5 minutes as the teststring grows exponentially.
5506 # Worse, since 9x/ME are not pre-emptively multitasking,
5507 # you end up with a "frozen" computer, even though with patience
5508 # the test eventually succeeds (with a max line length of 256k).
5509 # Instead, let's just punt: use the minimum linelength reported by
5510 # all of the supported platforms: 8192 (on NT/2K/XP).
5511 lt_cv_sys_max_cmd_len
=8192;
5515 # On AmigaOS with pdksh, this test takes hours, literally.
5516 # So we just punt and use a minimum line length of 8192.
5517 lt_cv_sys_max_cmd_len
=8192;
5520 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5521 # This has been around since 386BSD, at least. Likely further.
5522 if test -x /sbin
/sysctl
; then
5523 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5524 elif test -x /usr
/sbin
/sysctl
; then
5525 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5527 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
5529 # And add a safety zone
5530 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5531 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5534 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5535 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5536 # nice to cause kernel panics so lets avoid the loop below.
5537 # First set a reasonable default.
5538 lt_cv_sys_max_cmd_len
=16384
5540 if test -x /sbin
/sysconfig
; then
5541 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5542 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5547 # If test is not a shell built-in, we'll probably end up computing a
5548 # maximum length that is only half of the actual maximum length, but
5550 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5551 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5552 = "XX$teststring") >/dev
/null
2>&1 &&
5553 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5554 lt_cv_sys_max_cmd_len
=$new_result &&
5555 test $i != 17 # 1/2 MB should be enough
5558 teststring
=$teststring$teststring
5561 # Add a significant safety factor because C++ compilers can tack on massive
5562 # amounts of additional arguments before passing them to the linker.
5563 # It appears as though 1/2 is a usable value.
5564 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5570 if test -n $lt_cv_sys_max_cmd_len ; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5572 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5575 $as_echo "none" >&6; }
5581 # Check for command to grab the raw symbol name followed by C symbol from nm.
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5583 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5584 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5585 $as_echo_n "(cached) " >&6
5588 # These are sane defaults that work on at least a few old systems.
5589 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5591 # Character class describing NM global symbol codes.
5592 symcode
='[BCDEGRST]'
5594 # Regexp to match symbols that can be accessed directly from C.
5595 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5597 # Transform an extracted symbol line into a proper C declaration
5598 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5600 # Transform an extracted symbol line into symbol name and symbol address
5601 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5603 # Define system-specific variables.
5608 cygwin
* | mingw
* | pw32
*)
5609 symcode
='[ABCDGISTW]'
5611 hpux
*) # Its linker distinguishes data from code symbols
5612 if test "$host_cpu" = ia64
; then
5613 symcode
='[ABCDEGRST]'
5615 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5616 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5619 if test "$host_cpu" = ia64
; then
5620 symcode
='[ABCDGIRSTW]'
5621 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5622 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5626 symcode
='[BCDEGRST]'
5629 symcode
='[BCDEGQRST]'
5639 # Handle CRLF in mingw tool chain
5643 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5647 # If we're using GNU nm, then use its standard symbol codes.
5648 case `$NM -V 2>&1` in
5649 *GNU
* |
*'with BFD'*)
5650 symcode
='[ABCDGIRSTW]' ;;
5653 # Try without a prefix undercore, then with it.
5654 for ac_symprfx
in "" "_"; do
5656 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5657 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5659 # Write the raw and C identifiers.
5660 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5662 # Check to see that the pipe works correctly.
5666 cat > conftest.
$ac_ext <<EOF
5671 void nm_test_func(){}
5675 int main(){nm_test_var='a';nm_test_func();return(0);}
5678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5679 (eval $ac_compile) 2>&5
5681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5682 test $ac_status = 0; }; then
5683 # Now try to grab the symbols.
5685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5686 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5689 test $ac_status = 0; } && test -s "$nlist"; then
5690 # Try sorting and uniquifying the output.
5691 if sort "$nlist" |
uniq > "$nlist"T
; then
5692 mv -f "$nlist"T
"$nlist"
5697 # Make sure that we snagged all the symbols we need.
5698 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5699 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5700 cat <<EOF > conftest.$ac_ext
5706 # Now generate the symbol file.
5707 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5709 cat <<EOF >> conftest.$ac_ext
5710 #if defined (__STDC__) && __STDC__
5711 # define lt_ptr_t void *
5713 # define lt_ptr_t char *
5717 /* The mapping between symbol names and symbols. */
5722 lt_preloaded_symbols[] =
5725 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5726 cat <<\EOF
>> conftest.
$ac_ext
5734 # Now try linking the two files.
5735 mv conftest.
$ac_objext conftstm.
$ac_objext
5736 lt_save_LIBS
="$LIBS"
5737 lt_save_CFLAGS
="$CFLAGS"
5738 LIBS
="conftstm.$ac_objext"
5739 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5741 (eval $ac_link) 2>&5
5743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5744 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5747 LIBS
="$lt_save_LIBS"
5748 CFLAGS
="$lt_save_CFLAGS"
5750 echo "cannot find nm_test_func in $nlist" >&5
5753 echo "cannot find nm_test_var in $nlist" >&5
5756 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5759 echo "$progname: failed program was:" >&5
5760 cat conftest.
$ac_ext >&5
5762 rm -f conftest
* conftst
*
5764 # Do not use the global_symbol_pipe unless it works.
5765 if test "$pipe_works" = yes; then
5768 lt_cv_sys_global_symbol_pipe
=
5774 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5775 lt_cv_sys_global_symbol_to_cdecl
=
5777 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5779 $as_echo "failed" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5782 $as_echo "ok" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5786 $as_echo_n "checking for objdir... " >&6; }
5787 if test "${lt_cv_objdir+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5790 rm -f .libs
2>/dev
/null
5791 mkdir .libs
2>/dev
/null
5792 if test -d .libs
; then
5795 # MS-DOS does not allow filenames that begin with a dot.
5798 rmdir .libs
2>/dev
/null
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5801 $as_echo "$lt_cv_objdir" >&6; }
5802 objdir
=$lt_cv_objdir
5810 # AIX sometimes has problems with the GCC collect2 program. For some
5811 # reason, if we set the COLLECT_NAMES environment variable, the problems
5812 # vanish in a puff of smoke.
5813 if test "X${COLLECT_NAMES+set}" != Xset
; then
5815 export COLLECT_NAMES
5820 # Sed substitution that helps us do robust quoting. It backslashifies
5821 # metacharacters that are still active within double-quoted strings.
5822 Xsed
='sed -e 1s/^X//'
5823 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5825 # Same as above, but do not quote variable references.
5826 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5828 # Sed substitution to delay expansion of an escaped shell variable in a
5829 # double_quote_subst'ed string.
5830 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5832 # Sed substitution to avoid accidental globbing in evaled expressions
5833 no_glob_subst
='s/\*/\\\*/g'
5839 default_ofile
=libtool
5840 can_build_shared
=yes
5842 # All known linkers require a `.a' archive for static linking (except M$VC,
5843 # which needs '.lib').
5845 ltmain
="$ac_aux_dir/ltmain.sh"
5846 ofile
="$default_ofile"
5847 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5849 if test -n "$ac_tool_prefix"; then
5850 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5851 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if test "${ac_cv_prog_AR+set}" = set; then :
5855 $as_echo_n "(cached) " >&6
5857 if test -n "$AR"; then
5858 ac_cv_prog_AR
="$AR" # Let the user override the test.
5860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir
=.
5865 for ac_exec_ext
in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 if test -n "$AR"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5880 $as_echo "$AR" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5888 if test -z "$ac_cv_prog_AR"; then
5890 # Extract the first word of "ar", so it can be a program name with args.
5891 set dummy
ar; ac_word
=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5897 if test -n "$ac_ct_AR"; then
5898 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir
=.
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_ac_ct_AR
="ar"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5918 if test -n "$ac_ct_AR"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5920 $as_echo "$ac_ct_AR" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5926 if test "x$ac_ct_AR" = x
; then
5929 case $cross_compiling:$ac_tool_warned in
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5933 ac_tool_warned
=yes ;;
5941 if test -n "$ac_tool_prefix"; then
5942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5943 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -n "$RANLIB"; then
5950 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5956 test -z "$as_dir" && as_dir
=.
5957 for ac_exec_ext
in '' $ac_executable_extensions; do
5958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5959 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 RANLIB
=$ac_cv_prog_RANLIB
5970 if test -n "$RANLIB"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5972 $as_echo "$RANLIB" >&6; }
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5980 if test -z "$ac_cv_prog_RANLIB"; then
5981 ac_ct_RANLIB
=$RANLIB
5982 # Extract the first word of "ranlib", so it can be a program name with args.
5983 set dummy ranlib
; ac_word
=$2
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5985 $as_echo_n "checking for $ac_word... " >&6; }
5986 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5987 $as_echo_n "(cached) " >&6
5989 if test -n "$ac_ct_RANLIB"; then
5990 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5996 test -z "$as_dir" && as_dir
=.
5997 for ac_exec_ext
in '' $ac_executable_extensions; do
5998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5999 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6009 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6010 if test -n "$ac_ct_RANLIB"; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6012 $as_echo "$ac_ct_RANLIB" >&6; }
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6018 if test "x$ac_ct_RANLIB" = x
; then
6021 case $cross_compiling:$ac_tool_warned in
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6025 ac_tool_warned
=yes ;;
6027 RANLIB
=$ac_ct_RANLIB
6030 RANLIB
="$ac_cv_prog_RANLIB"
6033 if test -n "$ac_tool_prefix"; then
6034 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6035 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if test "${ac_cv_prog_STRIP+set}" = set; then :
6039 $as_echo_n "(cached) " >&6
6041 if test -n "$STRIP"; then
6042 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6048 test -z "$as_dir" && as_dir
=.
6049 for ac_exec_ext
in '' $ac_executable_extensions; do
6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 STRIP
=$ac_cv_prog_STRIP
6062 if test -n "$STRIP"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6064 $as_echo "$STRIP" >&6; }
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6072 if test -z "$ac_cv_prog_STRIP"; then
6074 # Extract the first word of "strip", so it can be a program name with args.
6075 set dummy strip
; ac_word
=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6079 $as_echo_n "(cached) " >&6
6081 if test -n "$ac_ct_STRIP"; then
6082 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6088 test -z "$as_dir" && as_dir
=.
6089 for ac_exec_ext
in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_ac_ct_STRIP
="strip"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6102 if test -n "$ac_ct_STRIP"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6104 $as_echo "$ac_ct_STRIP" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6110 if test "x$ac_ct_STRIP" = x
; then
6113 case $cross_compiling:$ac_tool_warned in
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned
=yes ;;
6122 STRIP
="$ac_cv_prog_STRIP"
6127 old_CFLAGS
="$CFLAGS"
6129 # Set sane defaults for various variables
6130 test -z "$AR" && AR
=ar
6131 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6132 test -z "$AS" && AS
=as
6133 test -z "$CC" && CC
=cc
6134 test -z "$LTCC" && LTCC
=$CC
6135 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6136 test -z "$LD" && LD
=ld
6137 test -z "$LN_S" && LN_S
="ln -s"
6138 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6139 test -z "$NM" && NM
=nm
6140 test -z "$SED" && SED
=sed
6141 test -z "$OBJDUMP" && OBJDUMP
=objdump
6142 test -z "$RANLIB" && RANLIB
=:
6143 test -z "$STRIP" && STRIP
=:
6144 test -z "$ac_objext" && ac_objext
=o
6146 # Determine commands to create old-style static archives.
6147 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6148 old_postinstall_cmds
='chmod 644 $oldlib'
6149 old_postuninstall_cmds
=
6151 if test -n "$RANLIB"; then
6154 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6157 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6160 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6163 for cc_temp
in $compiler""; do
6165 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6166 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6171 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6174 # Only perform the check for file, if the check method requires it
6175 case $deplibs_check_method in
6177 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6179 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6180 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6181 $as_echo_n "(cached) " >&6
6185 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6188 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6189 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6190 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6191 for ac_dir
in $ac_dummy; do
6193 test -z "$ac_dir" && ac_dir
=.
6194 if test -f $ac_dir/${ac_tool_prefix}file; then
6195 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6196 if test -n "$file_magic_test_file"; then
6197 case $deplibs_check_method in
6199 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6200 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6201 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6202 $EGREP "$file_magic_regex" > /dev
/null
; then
6207 *** Warning: the command libtool uses to detect shared libraries,
6208 *** $file_magic_cmd, produces output that libtool cannot recognize.
6209 *** The result is that libtool may fail to recognize shared libraries
6210 *** as such. This will affect the creation of libtool libraries that
6211 *** depend on shared libraries, but programs linked with such libtool
6212 *** libraries will work regardless of this problem. Nevertheless, you
6213 *** may want to report the problem to your system manager and/or to
6214 *** bug-libtool@gnu.org
6224 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6229 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6230 if test -n "$MAGIC_CMD"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6232 $as_echo "$MAGIC_CMD" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235 $as_echo "no" >&6; }
6238 if test -z "$lt_cv_path_MAGIC_CMD"; then
6239 if test -n "$ac_tool_prefix"; then
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6241 $as_echo_n "checking for file... " >&6; }
6242 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6243 $as_echo_n "(cached) " >&6
6247 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6250 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6251 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6252 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6253 for ac_dir
in $ac_dummy; do
6255 test -z "$ac_dir" && ac_dir
=.
6256 if test -f $ac_dir/file; then
6257 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6258 if test -n "$file_magic_test_file"; then
6259 case $deplibs_check_method in
6261 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6262 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6263 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6264 $EGREP "$file_magic_regex" > /dev
/null
; then
6269 *** Warning: the command libtool uses to detect shared libraries,
6270 *** $file_magic_cmd, produces output that libtool cannot recognize.
6271 *** The result is that libtool may fail to recognize shared libraries
6272 *** as such. This will affect the creation of libtool libraries that
6273 *** depend on shared libraries, but programs linked with such libtool
6274 *** libraries will work regardless of this problem. Nevertheless, you
6275 *** may want to report the problem to your system manager and/or to
6276 *** bug-libtool@gnu.org
6286 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6291 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6292 if test -n "$MAGIC_CMD"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6294 $as_echo "$MAGIC_CMD" >&6; }
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 $as_echo "no" >&6; }
6310 enable_win32_dll
=yes
6312 # Check whether --enable-libtool-lock was given.
6313 if test "${enable_libtool_lock+set}" = set; then :
6314 enableval
=$enable_libtool_lock;
6317 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6320 # Check whether --with-pic was given.
6321 if test "${with_pic+set}" = set; then :
6322 withval
=$with_pic; pic_mode
="$withval"
6327 test -z "$pic_mode" && pic_mode
=default
6329 # Use C for the default configuration in the libtool script
6333 ac_cpp
='$CPP $CPPFLAGS'
6334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6339 # Source file extension for C test sources.
6342 # Object file extension for compiled C test sources.
6346 # Code to be used in simple compile tests
6347 lt_simple_compile_test_code
="int some_variable = 0;\n"
6349 # Code to be used in simple link tests
6350 lt_simple_link_test_code
='int main(){return(0);}\n'
6353 # If no C compiler was specified, use CC.
6356 # Allow CC to be a program name with arguments.
6360 # save warnings/boilerplate of simple test code
6361 ac_outfile
=conftest.
$ac_objext
6362 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6363 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6364 _lt_compiler_boilerplate
=`cat conftest.err`
6367 ac_outfile
=conftest.
$ac_objext
6368 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6369 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6370 _lt_linker_boilerplate
=`cat conftest.err`
6375 # Check for any special shared library compilation flags.
6378 if test "$GCC" = no
; then
6381 lt_prog_cc_shlib
='-belf'
6385 if test -n "$lt_prog_cc_shlib"; then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6387 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6388 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6391 $as_echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6392 lt_cv_prog_cc_can_build_shared
=no
6398 # Check to make sure the static flag actually works.
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6401 $as_echo_n "checking if $compiler static flag $lt_prog_compiler_static works... " >&6; }
6402 if test "${lt_prog_compiler_static_works+set}" = set; then :
6403 $as_echo_n "(cached) " >&6
6405 lt_prog_compiler_static_works
=no
6406 save_LDFLAGS
="$LDFLAGS"
6407 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6408 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6409 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6410 # The compiler can only warn and ignore the option if not recognized
6411 # So say no if there are warnings
6412 if test -s conftest.err
; then
6413 # Append any errors to the config.log.
6414 cat conftest.err
1>&5
6415 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
6416 $SED '/^$/d' conftest.err
>conftest.er2
6417 if diff conftest.exp conftest.er2
>/dev
/null
; then
6418 lt_prog_compiler_static_works
=yes
6421 lt_prog_compiler_static_works
=yes
6425 LDFLAGS
="$save_LDFLAGS"
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
6429 $as_echo "$lt_prog_compiler_static_works" >&6; }
6431 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6434 lt_prog_compiler_static
=
6440 ## There is no encapsulation within the following macros, do not change
6441 ## the running order or otherwise move them around unless you know exactly
6442 ## what you are doing...
6444 lt_prog_compiler_no_builtin_flag
=
6446 if test "$GCC" = yes; then
6447 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6451 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6452 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6455 lt_cv_prog_compiler_rtti_exceptions
=no
6456 ac_outfile
=conftest.
$ac_objext
6457 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6458 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6459 # Insert the option either (1) after the last *FLAGS variable, or
6460 # (2) before a word containing "conftest.", or (3) at the end.
6461 # Note that $ac_compile itself does not contain backslashes and begins
6462 # with a dollar sign (not a hyphen), so the echo should work correctly.
6463 # The option is referenced via a variable to avoid confusing sed.
6464 lt_compile
=`echo "$ac_compile" | $SED \
6465 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6467 -e 's:$: $lt_compiler_flag:'`
6468 (eval echo "\"\$as_me:6468: $lt_compile\"" >&5)
6469 (eval "$lt_compile" 2>conftest.err
)
6471 cat conftest.err
>&5
6472 echo "$as_me:6472: \$? = $ac_status" >&5
6473 if (exit $ac_status) && test -s "$ac_outfile"; then
6474 # The compiler can only warn and ignore the option if not recognized
6475 # So say no if there are warnings other than the usual output.
6476 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6477 $SED '/^$/d' conftest.err
>conftest.er2
6478 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6479 lt_cv_prog_compiler_rtti_exceptions
=yes
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6486 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6488 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6489 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6496 lt_prog_compiler_wl
=
6497 lt_prog_compiler_pic
=
6498 lt_prog_compiler_static
=
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6501 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6503 if test "$GCC" = yes; then
6504 lt_prog_compiler_wl
='-Wl,'
6505 lt_prog_compiler_static
='-static'
6509 # All AIX code is PIC.
6510 if test "$host_cpu" = ia64
; then
6511 # AIX 5 now supports IA64 processor
6512 lt_prog_compiler_static
='-Bstatic'
6517 # FIXME: we need at least 68020 code to build shared libraries, but
6518 # adding the `-m68020' flag to GCC prevents building anything better,
6520 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6523 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6524 # PIC is the default for these OSes.
6527 mingw
* | pw32
* | os2
*)
6528 # This hack is so that the source file can tell whether it is being
6529 # built for inclusion in a dll (and should export symbols for example).
6530 lt_prog_compiler_pic
='-DDLL_EXPORT'
6533 darwin
* | rhapsody
*)
6534 # PIC is the default on this platform
6535 # Common symbols not allowed in MH_DYLIB files
6536 lt_prog_compiler_pic
='-fno-common'
6540 # Just because we use GCC doesn't mean we suddenly get shared libraries
6541 # on systems that don't support them.
6542 lt_prog_compiler_can_build_shared
=no
6547 if test -d /usr
/nec
; then
6548 lt_prog_compiler_pic
=-Kconform_pic
6553 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6560 lt_prog_compiler_pic
='-fPIC'
6566 lt_prog_compiler_pic
='-fPIC'
6570 # PORTME Check for flag to pass linker flags through the system compiler.
6573 lt_prog_compiler_wl
='-Wl,'
6574 if test "$host_cpu" = ia64
; then
6575 # AIX 5 now supports IA64 processor
6576 lt_prog_compiler_static
='-Bstatic'
6578 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6582 # PIC is the default on this platform
6583 # Common symbols not allowed in MH_DYLIB files
6584 case $cc_basename in
6586 lt_prog_compiler_pic
='-qnocommon'
6587 lt_prog_compiler_wl
='-Wl,'
6592 mingw
* | pw32
* | os2
*)
6593 # This hack is so that the source file can tell whether it is being
6594 # built for inclusion in a dll (and should export symbols for example).
6595 lt_prog_compiler_pic
='-DDLL_EXPORT'
6598 hpux9
* | hpux10
* | hpux11
*)
6599 lt_prog_compiler_wl
='-Wl,'
6600 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6607 lt_prog_compiler_pic
='+Z'
6610 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6611 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6614 irix5
* | irix6
* | nonstopux
*)
6615 lt_prog_compiler_wl
='-Wl,'
6616 # PIC (with -KPIC) is the default.
6617 lt_prog_compiler_static
='-non_shared'
6621 lt_prog_compiler_pic
='-KPIC'
6622 lt_prog_compiler_static
='-Bstatic'
6626 case $cc_basename in
6628 lt_prog_compiler_wl
='-Wl,'
6629 lt_prog_compiler_pic
='-KPIC'
6630 lt_prog_compiler_static
='-static'
6632 pgcc
* | pgf77
* | pgf90
*)
6633 # Portland Group compilers (*not* the Pentium gcc compiler,
6634 # which looks to be a dead project)
6635 lt_prog_compiler_wl
='-Wl,'
6636 lt_prog_compiler_pic
='-fpic'
6637 lt_prog_compiler_static
='-static'
6640 lt_prog_compiler_wl
='-Wl,'
6641 # All Alpha code is PIC.
6642 lt_prog_compiler_static
='-non_shared'
6647 osf3
* | osf4
* | osf5
*)
6648 lt_prog_compiler_wl
='-Wl,'
6649 # All OSF/1 code is PIC.
6650 lt_prog_compiler_static
='-non_shared'
6654 lt_prog_compiler_pic
='-Kpic'
6655 lt_prog_compiler_static
='-dn'
6659 lt_prog_compiler_pic
='-KPIC'
6660 lt_prog_compiler_static
='-Bstatic'
6661 case $cc_basename in
6663 lt_prog_compiler_wl
='-Qoption ld ';;
6665 lt_prog_compiler_wl
='-Wl,';;
6670 lt_prog_compiler_wl
='-Qoption ld '
6671 lt_prog_compiler_pic
='-PIC'
6672 lt_prog_compiler_static
='-Bstatic'
6675 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6676 lt_prog_compiler_wl
='-Wl,'
6677 lt_prog_compiler_pic
='-KPIC'
6678 lt_prog_compiler_static
='-Bstatic'
6682 if test -d /usr
/nec
;then
6683 lt_prog_compiler_pic
='-Kconform_pic'
6684 lt_prog_compiler_static
='-Bstatic'
6689 lt_prog_compiler_wl
='-Wl,'
6690 lt_prog_compiler_can_build_shared
=no
6694 lt_prog_compiler_pic
='-pic'
6695 lt_prog_compiler_static
='-Bstatic'
6699 lt_prog_compiler_can_build_shared
=no
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6705 $as_echo "$lt_prog_compiler_pic" >&6; }
6708 # Check to make sure the PIC flag actually works.
6710 if test -n "$lt_prog_compiler_pic"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6713 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
6714 if test "${lt_prog_compiler_pic_works+set}" = set; then :
6715 $as_echo_n "(cached) " >&6
6717 lt_prog_compiler_pic_works
=no
6718 ac_outfile
=conftest.
$ac_objext
6719 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6720 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6721 # Insert the option either (1) after the last *FLAGS variable, or
6722 # (2) before a word containing "conftest.", or (3) at the end.
6723 # Note that $ac_compile itself does not contain backslashes and begins
6724 # with a dollar sign (not a hyphen), so the echo should work correctly.
6725 # The option is referenced via a variable to avoid confusing sed.
6726 lt_compile
=`echo "$ac_compile" | $SED \
6727 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6728 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6729 -e 's:$: $lt_compiler_flag:'`
6730 (eval echo "\"\$as_me:6730: $lt_compile\"" >&5)
6731 (eval "$lt_compile" 2>conftest.err
)
6733 cat conftest.err
>&5
6734 echo "$as_me:6734: \$? = $ac_status" >&5
6735 if (exit $ac_status) && test -s "$ac_outfile"; then
6736 # The compiler can only warn and ignore the option if not recognized
6737 # So say no if there are warnings other than the usual output.
6738 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6739 $SED '/^$/d' conftest.err
>conftest.er2
6740 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6741 lt_prog_compiler_pic_works
=yes
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
6748 $as_echo "$lt_prog_compiler_pic_works" >&6; }
6750 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6751 case $lt_prog_compiler_pic in
6753 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6756 lt_prog_compiler_pic
=
6757 lt_prog_compiler_can_build_shared
=no
6762 # For platforms which do not support PIC, -DPIC is meaningless:
6764 lt_prog_compiler_pic
=
6767 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
6772 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
6773 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
6774 $as_echo_n "(cached) " >&6
6776 lt_cv_prog_compiler_c_o
=no
6777 $rm -r conftest
2>/dev
/null
6781 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6783 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6784 # Insert the option either (1) after the last *FLAGS variable, or
6785 # (2) before a word containing "conftest.", or (3) at the end.
6786 # Note that $ac_compile itself does not contain backslashes and begins
6787 # with a dollar sign (not a hyphen), so the echo should work correctly.
6788 lt_compile
=`echo "$ac_compile" | $SED \
6789 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6791 -e 's:$: $lt_compiler_flag:'`
6792 (eval echo "\"\$as_me:6792: $lt_compile\"" >&5)
6793 (eval "$lt_compile" 2>out
/conftest.err
)
6795 cat out
/conftest.err
>&5
6796 echo "$as_me:6796: \$? = $ac_status" >&5
6797 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6799 # The compiler can only warn and ignore the option if not recognized
6800 # So say no if there are warnings
6801 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
6802 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
6803 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6804 lt_cv_prog_compiler_c_o
=yes
6809 # SGI C++ compiler will create directory out/ii_files/ for
6810 # template instantiation
6811 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6812 $rm out
/* && rmdir out
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
6819 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
6822 hard_links
="nottested"
6823 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6824 # do not overwrite the value of need_locks provided by the user
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
6826 $as_echo_n "checking if we can lock with hard links... " >&6; }
6829 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6831 ln conftest.a conftest.b
2>&5 || hard_links
=no
6832 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
6834 $as_echo "$hard_links" >&6; }
6835 if test "$hard_links" = no
; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6837 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6845 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
6848 allow_undefined_flag
=
6849 enable_shared_with_static_runtimes
=no
6851 archive_expsym_cmds
=
6852 old_archive_From_new_cmds
=
6853 old_archive_from_expsyms_cmds
=
6854 export_dynamic_flag_spec
=
6855 whole_archive_flag_spec
=
6856 thread_safe_flag_spec
=
6857 hardcode_libdir_flag_spec
=
6858 hardcode_libdir_flag_spec_ld
=
6859 hardcode_libdir_separator
=
6862 hardcode_shlibpath_var
=unsupported
6863 link_all_deplibs
=unknown
6864 hardcode_automatic
=no
6867 always_export_symbols
=no
6868 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6869 # include_expsyms should be a list of space-separated symbols to be *always*
6870 # included in the symbol list
6872 # exclude_expsyms can be an extended regexp of symbols to exclude
6873 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6874 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6875 # as well as any symbol that contains `d'.
6876 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6877 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6878 # platforms (ab)use it in PIC code, but their linkers get confused if
6879 # the symbol is explicitly referenced. Since portable code cannot
6880 # rely on this symbol name, it's probably fine to never include it in
6881 # preloaded symbol tables.
6882 extract_expsyms_cmds
=
6883 # Just being paranoid about ensuring that cc_basename is set.
6884 for cc_temp
in $compiler""; do
6886 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6887 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6892 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6895 cygwin
* | mingw
* | pw32
*)
6896 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6897 # When not using gcc, we currently assume that we are using
6898 # Microsoft Visual C++.
6899 if test "$GCC" != yes; then
6909 if test "$with_gnu_ld" = yes; then
6910 # If archive_cmds runs LD, not CC, wlarc should be empty
6913 # Set some defaults for GNU ld with shared library support. These
6914 # are reset later if shared libraries are not supported. Putting them
6915 # here allows them to be overridden if necessary.
6916 runpath_var
=LD_RUN_PATH
6917 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6918 export_dynamic_flag_spec
='${wl}--export-dynamic'
6919 # ancient GNU ld didn't support --whole-archive et. al.
6920 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6921 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6923 whole_archive_flag_spec
=
6925 supports_anon_versioning
=no
6926 case `$LD -v 2>/dev/null` in
6927 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6928 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6929 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6930 *\
2.11.
*) ;; # other 2.11 versions
6931 *) supports_anon_versioning
=yes ;;
6934 # See if GNU ld supports shared libraries.
6936 aix3
* | aix4
* | aix5
*)
6937 # On AIX/PPC, the GNU linker is very broken
6938 if test "$host_cpu" != ia64
; then
6942 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6943 *** to be unable to reliably create shared libraries on AIX.
6944 *** Therefore, libtool is disabling shared libraries support. If you
6945 *** really care for shared libraries, you may want to modify your PATH
6946 *** so that a non-GNU linker is found, and then restart.
6953 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)'
6954 hardcode_libdir_flag_spec
='-L$libdir'
6955 hardcode_minus_L
=yes
6957 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6958 # that the semantics of dynamic libraries on AmigaOS, at least up
6959 # to version 4, is to share data among multiple programs linked
6960 # with the same dynamic library. Since this doesn't match the
6961 # behavior of shared libraries on other platforms, we can't use
6967 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6968 allow_undefined_flag
=unsupported
6969 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6970 # support --undefined. This deserves some investigation. FIXME
6971 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6977 cygwin
* | mingw
* | pw32
*)
6978 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6979 # as there is no search path for DLLs.
6980 hardcode_libdir_flag_spec
='-L$libdir'
6981 allow_undefined_flag
=unsupported
6982 always_export_symbols
=no
6983 enable_shared_with_static_runtimes
=yes
6984 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6986 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6987 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6988 # If the export-symbols file already is a .def file (1st line
6989 # is EXPORTS), use it as is; otherwise, prepend...
6990 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6991 cp $export_symbols $output_objdir/$soname.def;
6993 echo EXPORTS > $output_objdir/$soname.def;
6994 cat $export_symbols >> $output_objdir/$soname.def;
6996 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7003 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7005 case $cc_basename,$host_cpu in
7006 pgcc
*) # Portland Group C compiler
7007 whole_archive_flag_spec
=
7009 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
7010 whole_archive_flag_spec
=
7011 tmp_addflag
=' -fpic -Mnomain' ;;
7012 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7013 tmp_addflag
=' -i_dynamic' ;;
7014 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7015 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7016 ifc
* | ifort
*) # Intel Fortran compiler
7017 tmp_addflag
=' -nofor_main' ;;
7019 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7021 if test $supports_anon_versioning = yes; then
7022 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7024 $echo "local: *; };" >> $output_objdir/$libname.ver~
7025 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7033 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7034 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7037 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7038 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7043 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7047 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7048 *** create shared libraries on Solaris systems. Therefore, libtool
7049 *** is disabling shared libraries support. We urge you to upgrade GNU
7050 *** binutils to release 2.9.1 or newer. Another option is to modify
7051 *** your PATH or compiler configuration so that the native linker is
7052 *** used, and then restart.
7055 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7057 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7064 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7067 hardcode_shlibpath_var
=no
7071 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7072 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7073 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7080 if test "$ld_shlibs" = no
; then
7082 hardcode_libdir_flag_spec
=
7083 export_dynamic_flag_spec
=
7084 whole_archive_flag_spec
=
7087 # PORTME fill in a description of your system's linker (not GNU ld)
7090 allow_undefined_flag
=unsupported
7091 always_export_symbols
=yes
7092 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'
7093 # Note: this linker hardcodes the directories in LIBPATH if there
7094 # are no directories specified by -L.
7095 hardcode_minus_L
=yes
7096 if test "$GCC" = yes && test -z "$link_static_flag"; then
7097 # Neither direct hardcoding nor static linking is supported with a
7099 hardcode_direct
=unsupported
7104 if test "$host_cpu" = ia64
; then
7105 # On IA64, the linker does run time linking by default, so we don't
7106 # have to do anything special.
7107 aix_use_runtimelinking
=no
7108 exp_sym_flag
='-Bexport'
7111 # If we're using GNU nm, then we don't want the "-C" option.
7112 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7113 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7114 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'
7116 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'
7118 aix_use_runtimelinking
=no
7120 # Test if we are trying to use run time linking or normal
7121 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7122 # need to do runtime linking.
7123 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7124 for ld_flag
in $LDFLAGS; do
7125 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7126 aix_use_runtimelinking
=yes
7132 exp_sym_flag
='-bexport'
7133 no_entry_flag
='-bnoentry'
7136 # When large executables or shared objects are built, AIX ld can
7137 # have problems creating the table of contents. If linking a library
7138 # or program results in "error TOC overflow" add -mminimal-toc to
7139 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7140 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7144 hardcode_libdir_separator
=':'
7145 link_all_deplibs
=yes
7147 if test "$GCC" = yes; then
7148 case $host_os in aix4.
[012]|aix4.
[012].
*)
7149 # We only want to do this on AIX 4.2 and lower, the check
7150 # below for broken collect2 doesn't work under 4.3+
7151 collect2name
=`${CC} -print-prog-name=collect2`
7152 if test -f "$collect2name" && \
7153 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7155 # We have reworked collect2
7158 # We have old collect2
7159 hardcode_direct
=unsupported
7160 # It fails to find uninstalled libraries when the uninstalled
7161 # path is not listed in the libpath. Setting hardcode_minus_L
7162 # to unsupported forces relinking
7163 hardcode_minus_L
=yes
7164 hardcode_libdir_flag_spec
='-L$libdir'
7165 hardcode_libdir_separator
=
7168 shared_flag
='-shared'
7169 if test "$aix_use_runtimelinking" = yes; then
7170 shared_flag
="$shared_flag "'${wl}-G'
7174 if test "$host_cpu" = ia64
; then
7175 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7176 # chokes on -Wl,-G. The following line is correct:
7179 if test "$aix_use_runtimelinking" = yes; then
7180 shared_flag
='${wl}-G'
7182 shared_flag
='${wl}-bM:SRE'
7187 # It seems that -bexpall does not export symbols beginning with
7188 # underscore (_), so it is better to generate a list of symbols to export.
7189 always_export_symbols
=yes
7190 if test "$aix_use_runtimelinking" = yes; then
7191 # Warning - without using the other runtime loading flags (-brtl),
7192 # -berok will link without error, but may produce a broken library.
7193 allow_undefined_flag
='-berok'
7194 # Determine the default libpath from the value encoded in an empty executable.
7195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7206 if ac_fn_c_try_link
"$LINENO"; then :
7208 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7210 # Check for a 64-bit object if we didn't find anything.
7211 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7214 rm -f core conftest.err conftest.
$ac_objext \
7215 conftest
$ac_exeext conftest.
$ac_ext
7216 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7218 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7219 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7221 if test "$host_cpu" = ia64; then
7222 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
7223 allow_undefined_flag="-z nodefs"
7224 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
7226 # Determine the default libpath from the value encoded in an empty executable.
7227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7228 /* end confdefs.h. */
7238 if ac_fn_c_try_link "$LINENO"; then :
7240 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7242 # Check for a 64-bit object if we didn't find anything.
7243 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7246 rm -f core conftest.err conftest.$ac_objext \
7247 conftest$ac_exeext conftest.$ac_ext
7248 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
7250 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7251 # Warning - without using the other run time loading flags,
7252 # -berok will link without error, but may produce a broken library.
7253 no_undefined_flag=' ${wl}-bernotok'
7254 allow_undefined_flag=' ${wl}-berok'
7255 # -bexpall does not export symbols beginning with underscore (_)
7256 always_export_symbols=yes
7257 # Exported symbols can be pulled into shared objects from archives
7258 whole_archive_flag_spec=' '
7259 archive_cmds_need_lc=yes
7260 # This is similar to how AIX traditionally builds it's shared libraries.
7261 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7267 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)'
7268 hardcode_libdir_flag_spec
='-L$libdir'
7269 hardcode_minus_L
=yes
7270 # see comment about different semantics on the GNU ld section
7275 export_dynamic_flag_spec
=-rdynamic
7278 cygwin
* | mingw
* | pw32
*)
7279 # When not using gcc, we currently assume that we are using
7280 # Microsoft Visual C++.
7281 # hardcode_libdir_flag_spec is actually meaningless, as there is
7282 # no search path for DLLs.
7283 hardcode_libdir_flag_spec
=' '
7284 allow_undefined_flag
=unsupported
7285 # Tell ltmain to make .lib files, not .a files.
7287 # Tell ltmain to make .dll files, not .so files.
7289 # FIXME: Setting linknames here is a bad hack.
7290 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7291 # The linker will automatically build a .lib file if we build a DLL.
7292 old_archive_From_new_cmds
='true'
7293 # FIXME: Should let the user specify the lib program.
7294 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7295 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7296 enable_shared_with_static_runtimes
=yes
7299 darwin
* | rhapsody
*)
7301 rhapsody
* | darwin1.
[012])
7302 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7305 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7306 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7308 case ${MACOSX_DEPLOYMENT_TARGET} in
7310 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7313 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7319 archive_cmds_need_lc
=no
7321 hardcode_automatic
=yes
7322 hardcode_shlibpath_var
=unsupported
7323 whole_archive_flag_spec
=''
7324 link_all_deplibs
=yes
7325 if test "$GCC" = yes ; then
7326 output_verbose_link_cmd
='echo'
7327 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7328 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7329 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7330 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7331 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7333 case $cc_basename in
7335 output_verbose_link_cmd
='echo'
7336 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7337 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7338 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7339 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7340 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7350 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7351 hardcode_libdir_flag_spec
='-L$libdir'
7352 hardcode_shlibpath_var
=no
7355 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7356 # support. Future versions do this automatically, but an explicit c++rt0.o
7357 # does not break anything, and helps significantly (at the cost of a little
7360 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7361 hardcode_libdir_flag_spec
='-R$libdir'
7363 hardcode_shlibpath_var
=no
7366 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7368 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7370 hardcode_minus_L
=yes
7371 hardcode_shlibpath_var
=no
7374 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7375 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7376 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7377 hardcode_libdir_flag_spec
='-R$libdir'
7379 hardcode_shlibpath_var
=no
7383 if test "$GCC" = yes; then
7384 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'
7386 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'
7388 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7389 hardcode_libdir_separator
=:
7392 # hardcode_minus_L: Not really in the search PATH,
7393 # but as the default location of the library.
7394 hardcode_minus_L
=yes
7395 export_dynamic_flag_spec
='${wl}-E'
7399 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7402 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7405 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7411 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7414 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7418 if test "$with_gnu_ld" = no
; then
7421 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7422 hardcode_libdir_flag_spec_ld
='+b $libdir'
7423 hardcode_libdir_separator
=:
7425 hardcode_shlibpath_var
=no
7428 hardcode_libdir_flag_spec
='-L$libdir'
7430 hardcode_shlibpath_var
=no
7432 # hardcode_minus_L: Not really in the search PATH,
7433 # but as the default location of the library.
7434 hardcode_minus_L
=yes
7437 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7438 hardcode_libdir_separator
=:
7440 export_dynamic_flag_spec
='${wl}-E'
7442 # hardcode_minus_L: Not really in the search PATH,
7443 # but as the default location of the library.
7444 hardcode_minus_L
=yes
7450 irix5
* | irix6
* | nonstopux
*)
7451 if test "$GCC" = yes; then
7452 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7454 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7455 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7457 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7458 hardcode_libdir_separator
=:
7459 link_all_deplibs
=yes
7463 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7464 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7466 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7468 hardcode_libdir_flag_spec
='-R$libdir'
7470 hardcode_shlibpath_var
=no
7474 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7476 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7477 hardcode_libdir_separator
=:
7478 hardcode_shlibpath_var
=no
7483 hardcode_shlibpath_var
=no
7484 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7485 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7486 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7487 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7488 export_dynamic_flag_spec
='${wl}-E'
7491 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7492 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7493 hardcode_libdir_flag_spec
='-R$libdir'
7496 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7497 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7504 hardcode_libdir_flag_spec
='-L$libdir'
7505 hardcode_minus_L
=yes
7506 allow_undefined_flag
=unsupported
7507 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'
7508 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7512 if test "$GCC" = yes; then
7513 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7514 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7516 allow_undefined_flag
=' -expect_unresolved \*'
7517 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7519 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7520 hardcode_libdir_separator
=:
7523 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7524 if test "$GCC" = yes; then
7525 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7526 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7527 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7529 allow_undefined_flag
=' -expect_unresolved \*'
7530 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7531 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7532 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7534 # Both c and cxx compiler support -rpath directly
7535 hardcode_libdir_flag_spec
='-rpath $libdir'
7537 hardcode_libdir_separator
=:
7541 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7542 hardcode_shlibpath_var
=no
7543 export_dynamic_flag_spec
='${wl}-Bexport'
7544 runpath_var
=LD_RUN_PATH
7545 hardcode_runpath_var
=yes
7549 no_undefined_flag
=' -z text'
7550 if test "$GCC" = yes; then
7552 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7553 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7554 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7557 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7558 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7559 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7561 hardcode_libdir_flag_spec
='-R$libdir'
7562 hardcode_shlibpath_var
=no
7564 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7566 # The compiler driver will combine linker options so we
7567 # cannot just pass the convience library names through
7568 # without $wl, iff we do not link with $LD.
7569 # Luckily, gcc supports the same syntax we need for Sun Studio.
7570 # Supported since Solaris 2.6 (maybe 2.5.1?)
7573 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7575 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7578 link_all_deplibs
=yes
7582 if test "x$host_vendor" = xsequent
; then
7583 # Use $CC to link under sequent, because it throws in some extra .o
7584 # files that make .init and .fini sections work.
7585 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7587 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7589 hardcode_libdir_flag_spec
='-L$libdir'
7591 hardcode_minus_L
=yes
7592 hardcode_shlibpath_var
=no
7596 case $host_vendor in
7598 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7599 hardcode_direct
=yes # is this really true???
7602 ## LD is ld it makes a PLAMLIB
7603 ## CC just makes a GrossModule.
7604 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7605 reload_cmds
='$CC -r -o $output$reload_objs'
7609 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7610 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7613 runpath_var
='LD_RUN_PATH'
7614 hardcode_shlibpath_var
=no
7618 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7619 hardcode_shlibpath_var
=no
7620 export_dynamic_flag_spec
='-Bexport'
7624 if test -d /usr
/nec
; then
7625 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7626 hardcode_shlibpath_var
=no
7627 runpath_var
=LD_RUN_PATH
7628 hardcode_runpath_var
=yes
7634 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7637 hardcode_shlibpath_var
=no
7638 hardcode_runpath_var
=yes
7639 runpath_var
=LD_RUN_PATH
7642 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7643 no_undefined_flag
='${wl}-z ${wl}text'
7644 if test "$GCC" = yes; then
7645 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7647 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7649 runpath_var
='LD_RUN_PATH'
7650 hardcode_shlibpath_var
=no
7654 no_undefined_flag
=' -z text'
7655 # $CC -shared without GNU ld will not create a library from C++
7656 # object files and a static libstdc++, better avoid it by now
7657 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7658 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7659 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7660 hardcode_libdir_flag_spec
=
7661 hardcode_shlibpath_var
=no
7662 runpath_var
='LD_RUN_PATH'
7666 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7667 hardcode_libdir_flag_spec
='-L$libdir'
7668 hardcode_shlibpath_var
=no
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
7678 $as_echo "$ld_shlibs" >&6; }
7679 test "$ld_shlibs" = no
&& can_build_shared
=no
7681 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7682 if test "$GCC" = yes; then
7683 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7687 # Do we need to explicitly link libc?
7689 case "x$archive_cmds_need_lc" in
7691 # Assume -lc should be added
7692 archive_cmds_need_lc
=yes
7694 if test "$enable_shared" = yes && test "$GCC" = yes; then
7695 case $archive_cmds in
7697 # FIXME: we may have to deal with multi-command sequences.
7700 # Test whether the compiler implicitly links with -lc since on some
7701 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7702 # to ld, don't add -lc before -lgcc.
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
7704 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
7706 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7709 (eval $ac_compile) 2>&5
7711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7712 test $ac_status = 0; } 2>conftest.err
; then
7715 libobjs
=conftest.
$ac_objext
7717 wl
=$lt_prog_compiler_wl
7723 lt_save_allow_undefined_flag
=$allow_undefined_flag
7724 allow_undefined_flag
=
7725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
7726 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7729 test $ac_status = 0; }
7731 archive_cmds_need_lc
=no
7733 archive_cmds_need_lc
=yes
7735 allow_undefined_flag
=$lt_save_allow_undefined_flag
7737 cat conftest.err
1>&5
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
7741 $as_echo "$archive_cmds_need_lc" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
7749 $as_echo_n "checking dynamic linker characteristics... " >&6; }
7751 libname_spec
='lib$name'
7759 shlibpath_overrides_runpath
=unknown
7761 dynamic_linker
="$host_os ld.so"
7762 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7763 if test "$GCC" = yes; then
7764 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7765 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7766 # if the path contains ";" then we assume it to be the separator
7767 # otherwise default to the standard path separator (i.e. ":") - it is
7768 # assumed that no part of a normal pathname contains ";" but that should
7769 # okay in the real world where ";" in dirpaths is itself problematic.
7770 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7772 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7775 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7777 need_lib_prefix
=unknown
7778 hardcode_into_libs
=no
7780 # when you set need_version to no, make sure it does not cause -set_version
7781 # flags to be left without arguments
7782 need_version
=unknown
7787 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7788 shlibpath_var
=LIBPATH
7790 # AIX 3 has no versioning support, so we append a major version to the name.
7791 soname_spec
='${libname}${release}${shared_ext}$major'
7798 hardcode_into_libs
=yes
7799 if test "$host_cpu" = ia64
; then
7800 # AIX 5 supports IA64
7801 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7802 shlibpath_var
=LD_LIBRARY_PATH
7804 # With GCC up to 2.95.x, collect2 would create an import file
7805 # for dependence libraries. The import file would start with
7806 # the line `#! .'. This would cause the generated library to
7807 # depend on `.', always an invalid library. This was fixed in
7808 # development snapshots of GCC prior to 3.0.
7810 aix4 | aix4.
[01] | aix4.
[01].
*)
7811 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7813 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7820 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7821 # soname into executable. Probably we can add versioning support to
7822 # collect2, so additional links can be useful in future.
7823 if test "$aix_use_runtimelinking" = yes; then
7824 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7825 # instead of lib<name>.a to let people know that these are not
7826 # typical AIX shared libraries.
7827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7829 # We preserve .a as extension for shared libraries through AIX4.2
7830 # and later when we are not doing run time linking.
7831 library_names_spec
='${libname}${release}.a $libname.a'
7832 soname_spec
='${libname}${release}${shared_ext}$major'
7834 shlibpath_var
=LIBPATH
7839 library_names_spec
='$libname.ixlibrary $libname.a'
7840 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7841 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'
7845 library_names_spec
='${libname}${shared_ext}'
7846 dynamic_linker
="$host_os ld.so"
7847 shlibpath_var
=LIBRARY_PATH
7853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7854 soname_spec
='${libname}${release}${shared_ext}$major'
7855 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7856 shlibpath_var
=LD_LIBRARY_PATH
7857 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7858 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7859 # the default ld.so.conf also contains /usr/contrib/lib and
7860 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7861 # libtool to hard-code these into programs
7864 cygwin
* | mingw
* | pw32
*)
7865 version_type
=windows
7870 case $GCC,$host_os in
7871 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7872 library_names_spec
='$libname.dll.a'
7873 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7874 postinstall_cmds
='base_file=`basename \${file}`~
7875 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7876 dldir=$destdir/`dirname \$dlpath`~
7877 test -d \$dldir || mkdir -p \$dldir~
7878 $install_prog $dir/$dlname \$dldir/$dlname'
7879 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7880 dlpath=$dir/\$dldll~
7882 shlibpath_overrides_runpath
=yes
7886 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7887 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7888 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7891 # MinGW DLLs use traditional 'lib' prefix
7892 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7893 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7894 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7895 # It is most probably a Windows format PATH printed by
7896 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7897 # path with ; separators, and with drive letters. We can handle the
7898 # drive letters (cygwin fileutils understands them), so leave them,
7899 # especially as we might pass files found there to a mingw objdump,
7900 # which wouldn't understand a cygwinified path. Ahh.
7901 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7903 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7907 # pw32 DLLs use 'pw' prefix rather than 'lib'
7908 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7914 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7917 dynamic_linker
='Win32 ld.exe'
7918 # FIXME: first we should search . and the directory the executable is in
7922 darwin
* | rhapsody
*)
7923 dynamic_linker
="$host_os dyld"
7927 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7928 soname_spec
='${libname}${release}${major}$shared_ext'
7929 shlibpath_overrides_runpath
=yes
7930 shlibpath_var
=DYLD_LIBRARY_PATH
7931 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
7932 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7933 if test "$GCC" = yes; then
7934 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7936 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7938 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7946 soname_spec
='${libname}${release}${shared_ext}$major'
7947 shlibpath_var
=LD_LIBRARY_PATH
7954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7955 soname_spec
='${libname}${release}${shared_ext}$major'
7956 shlibpath_var
=LD_LIBRARY_PATH
7957 shlibpath_overrides_runpath
=no
7958 hardcode_into_libs
=yes
7959 dynamic_linker
='GNU ld.so'
7962 freebsd
* | dragonfly
*)
7963 # DragonFly does not have aout. When/if they implement a new
7964 # versioning mechanism, adjust this.
7965 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7966 version_type
=freebsd-
$objformat
7967 case $version_type in
7969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7974 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7978 shlibpath_var
=LD_LIBRARY_PATH
7981 shlibpath_overrides_runpath
=yes
7983 freebsd3.
[01]* | freebsdelf3.
[01]*)
7984 shlibpath_overrides_runpath
=yes
7985 hardcode_into_libs
=yes
7988 shlibpath_overrides_runpath
=no
7989 hardcode_into_libs
=yes
7998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7999 soname_spec
='${libname}${release}${shared_ext}$major'
8000 shlibpath_var
=LD_LIBRARY_PATH
8001 hardcode_into_libs
=yes
8004 hpux9
* | hpux10
* | hpux11
*)
8005 # Give a soname corresponding to the major version so that dld.sl refuses to
8006 # link against other versions.
8013 hardcode_into_libs
=yes
8014 dynamic_linker
="$host_os dld.so"
8015 shlibpath_var
=LD_LIBRARY_PATH
8016 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8018 soname_spec
='${libname}${release}${shared_ext}$major'
8019 if test "X$HPUX_IA64_MODE" = X32
; then
8020 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8022 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8024 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8028 hardcode_into_libs
=yes
8029 dynamic_linker
="$host_os dld.sl"
8030 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8031 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8033 soname_spec
='${libname}${release}${shared_ext}$major'
8034 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8035 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8039 dynamic_linker
="$host_os dld.sl"
8040 shlibpath_var
=SHLIB_PATH
8041 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8043 soname_spec
='${libname}${release}${shared_ext}$major'
8046 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8047 postinstall_cmds
='chmod 555 $lib'
8050 irix5
* | irix6
* | nonstopux
*)
8052 nonstopux
*) version_type
=nonstopux
;;
8054 if test "$lt_cv_prog_gnu_ld" = yes; then
8062 soname_spec
='${libname}${release}${shared_ext}$major'
8063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8065 irix5
* | nonstopux
*)
8069 case $LD in # libtool.m4 will add one of these switches to LD
8070 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8071 libsuff
= shlibsuff
= libmagic
=32-bit;;
8072 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8073 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8074 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8075 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8076 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8080 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8081 shlibpath_overrides_runpath
=no
8082 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8083 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8084 hardcode_into_libs
=yes
8087 # No shared lib support for Linux oldld, aout, or coff.
8088 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8092 # This must be Linux ELF.
8097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8098 soname_spec
='${libname}${release}${shared_ext}$major'
8099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8100 shlibpath_var
=LD_LIBRARY_PATH
8101 shlibpath_overrides_runpath
=no
8102 # This implies no fast_install, which is unacceptable.
8103 # Some rework will be needed to allow for fast_install
8104 # before this can be enabled.
8105 hardcode_into_libs
=yes
8107 # find out which ABI we are using
8110 x86_64
*|s390x
*|powerpc64
*)
8111 echo '#line 8111 "configure"' > conftest.
$ac_ext
8112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8113 (eval $ac_compile) 2>&5
8115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8116 test $ac_status = 0; }; then
8117 case `/usr/bin/file conftest.$ac_objext` in
8120 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8128 # Append ld.so.conf contents to the search path
8129 if test -f /etc
/ld.so.conf
; then
8130 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' ' '`
8131 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8134 # We used to test for /lib/ld.so.1 and disable shared libraries on
8135 # powerpc, because MkLinux only supported shared libraries with the
8136 # GNU dynamic linker. Since this was broken with cross compilers,
8137 # most powerpc-linux boxes support dynamic linking these days and
8138 # people can always --disable-shared, the test was removed, and we
8139 # assume the GNU/Linux dynamic linker is in use.
8140 dynamic_linker
='GNU/Linux ld.so'
8147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8148 soname_spec
='${libname}${release}${shared_ext}$major'
8149 shlibpath_var
=LD_LIBRARY_PATH
8150 shlibpath_overrides_runpath
=no
8151 hardcode_into_libs
=yes
8152 dynamic_linker
='GNU ld.so'
8159 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8161 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8162 dynamic_linker
='NetBSD (a.out) ld.so'
8164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8165 soname_spec
='${libname}${release}${shared_ext}$major'
8166 dynamic_linker
='NetBSD ld.elf_so'
8168 shlibpath_var
=LD_LIBRARY_PATH
8169 shlibpath_overrides_runpath
=yes
8170 hardcode_into_libs
=yes
8175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8176 shlibpath_var
=LD_LIBRARY_PATH
8177 shlibpath_overrides_runpath
=yes
8184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8185 soname_spec
='${libname}${release}${shared_ext}$major'
8186 shlibpath_var
=LD_LIBRARY_PATH
8187 shlibpath_overrides_runpath
=yes
8194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8195 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8196 shlibpath_var
=LD_LIBRARY_PATH
8197 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8199 openbsd2.
[89] | openbsd2.
[89].
*)
8200 shlibpath_overrides_runpath
=no
8203 shlibpath_overrides_runpath
=yes
8207 shlibpath_overrides_runpath
=yes
8212 libname_spec
='$name'
8215 library_names_spec
='$libname${shared_ext} $libname.a'
8216 dynamic_linker
='OS/2 ld.exe'
8217 shlibpath_var
=LIBPATH
8220 osf3
* | osf4
* | osf5
*)
8224 soname_spec
='${libname}${release}${shared_ext}$major'
8225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8226 shlibpath_var
=LD_LIBRARY_PATH
8227 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8228 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
8233 soname_spec
='${libname}${release}${shared_ext}$major'
8234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8235 shlibpath_var
=LD_LIBRARY_PATH
8242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8243 soname_spec
='${libname}${release}${shared_ext}$major'
8244 shlibpath_var
=LD_LIBRARY_PATH
8245 shlibpath_overrides_runpath
=yes
8246 hardcode_into_libs
=yes
8247 # ldd complains unless libraries are executable
8248 postinstall_cmds
='chmod +x $lib'
8253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8254 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8255 shlibpath_var
=LD_LIBRARY_PATH
8256 shlibpath_overrides_runpath
=yes
8257 if test "$with_gnu_ld" = yes; then
8263 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8266 soname_spec
='${libname}${release}${shared_ext}$major'
8267 shlibpath_var
=LD_LIBRARY_PATH
8268 case $host_vendor in
8270 shlibpath_overrides_runpath
=no
8272 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8273 runpath_var
=LD_RUN_PATH
8281 shlibpath_overrides_runpath
=no
8282 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
8288 if test -d /usr
/nec
;then
8290 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8291 soname_spec
='$libname${shared_ext}.$major'
8292 shlibpath_var
=LD_LIBRARY_PATH
8298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8299 soname_spec
='${libname}${release}${shared_ext}$major'
8300 shlibpath_var
=LD_LIBRARY_PATH
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
8308 $as_echo "$dynamic_linker" >&6; }
8309 test "$dynamic_linker" = no
&& can_build_shared
=no
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
8312 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
8314 if test -n "$hardcode_libdir_flag_spec" || \
8315 test -n "$runpath_var" || \
8316 test "X$hardcode_automatic" = "Xyes" ; then
8318 # We can hardcode non-existant directories.
8319 if test "$hardcode_direct" != no
&&
8320 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8321 # have to relink, otherwise we might link with an installed library
8322 # when we should be linking with a yet-to-be-installed one
8323 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8324 test "$hardcode_minus_L" != no
; then
8325 # Linking always hardcodes the temporary library directory.
8326 hardcode_action
=relink
8328 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8329 hardcode_action
=immediate
8332 # We cannot hardcode anything, or else we can only hardcode existing
8334 hardcode_action
=unsupported
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
8337 $as_echo "$hardcode_action" >&6; }
8339 if test "$hardcode_action" = relink
; then
8340 # Fast installation is not supported
8341 enable_fast_install
=no
8342 elif test "$shlibpath_overrides_runpath" = yes ||
8343 test "$enable_shared" = no
; then
8344 # Fast installation is not necessary
8345 enable_fast_install
=needless
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
8351 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
8352 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8353 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8354 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8356 $as_echo "yes" >&6; }
8358 # FIXME - insert some real tests, host_os isn't really good enough
8361 if test -n "$STRIP" ; then
8362 striplib
="$STRIP -x"
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8364 $as_echo "yes" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8377 if test "x$enable_dlopen" != xyes
; then
8378 enable_dlopen
=unknown
8379 enable_dlopen_self
=unknown
8380 enable_dlopen_self_static
=unknown
8387 lt_cv_dlopen
="load_add_on"
8389 lt_cv_dlopen_self
=yes
8393 lt_cv_dlopen
="LoadLibrary"
8398 lt_cv_dlopen
="dlopen"
8403 # if libdl is installed we need to link against it
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8405 $as_echo_n "checking for dlopen in -ldl... " >&6; }
8406 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
8407 $as_echo_n "(cached) " >&6
8409 ac_check_lib_save_LIBS
=$LIBS
8411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8414 /* Override any GCC internal prototype to avoid an error.
8415 Use char because int might match the return type of a GCC
8416 builtin and then its argument prototype would still apply. */
8429 if ac_fn_c_try_link
"$LINENO"; then :
8430 ac_cv_lib_dl_dlopen
=yes
8432 ac_cv_lib_dl_dlopen
=no
8434 rm -f core conftest.err conftest.
$ac_objext \
8435 conftest
$ac_exeext conftest.
$ac_ext
8436 LIBS
=$ac_check_lib_save_LIBS
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8439 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8440 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
8441 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8446 lt_cv_dlopen_self
=yes
8453 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
8454 if test "x$ac_cv_func_shl_load" = x
""yes; then :
8455 lt_cv_dlopen
="shl_load"
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
8458 $as_echo_n "checking for shl_load in -ldld... " >&6; }
8459 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
8460 $as_echo_n "(cached) " >&6
8462 ac_check_lib_save_LIBS
=$LIBS
8464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8467 /* Override any GCC internal prototype to avoid an error.
8468 Use char because int might match the return type of a GCC
8469 builtin and then its argument prototype would still apply. */
8482 if ac_fn_c_try_link
"$LINENO"; then :
8483 ac_cv_lib_dld_shl_load
=yes
8485 ac_cv_lib_dld_shl_load
=no
8487 rm -f core conftest.err conftest.
$ac_objext \
8488 conftest
$ac_exeext conftest.
$ac_ext
8489 LIBS
=$ac_check_lib_save_LIBS
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
8492 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
8493 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
8494 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8496 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
8497 if test "x$ac_cv_func_dlopen" = x
""yes; then :
8498 lt_cv_dlopen
="dlopen"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8501 $as_echo_n "checking for dlopen in -ldl... " >&6; }
8502 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8505 ac_check_lib_save_LIBS
=$LIBS
8507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8510 /* Override any GCC internal prototype to avoid an error.
8511 Use char because int might match the return type of a GCC
8512 builtin and then its argument prototype would still apply. */
8525 if ac_fn_c_try_link
"$LINENO"; then :
8526 ac_cv_lib_dl_dlopen
=yes
8528 ac_cv_lib_dl_dlopen
=no
8530 rm -f core conftest.err conftest.
$ac_objext \
8531 conftest
$ac_exeext conftest.
$ac_ext
8532 LIBS
=$ac_check_lib_save_LIBS
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8535 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8536 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
8537 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
8540 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
8541 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
8542 $as_echo_n "(cached) " >&6
8544 ac_check_lib_save_LIBS
=$LIBS
8546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8549 /* Override any GCC internal prototype to avoid an error.
8550 Use char because int might match the return type of a GCC
8551 builtin and then its argument prototype would still apply. */
8564 if ac_fn_c_try_link
"$LINENO"; then :
8565 ac_cv_lib_svld_dlopen
=yes
8567 ac_cv_lib_svld_dlopen
=no
8569 rm -f core conftest.err conftest.
$ac_objext \
8570 conftest
$ac_exeext conftest.
$ac_ext
8571 LIBS
=$ac_check_lib_save_LIBS
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
8574 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
8575 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
8576 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
8579 $as_echo_n "checking for dld_link in -ldld... " >&6; }
8580 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8583 ac_check_lib_save_LIBS
=$LIBS
8585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8588 /* Override any GCC internal prototype to avoid an error.
8589 Use char because int might match the return type of a GCC
8590 builtin and then its argument prototype would still apply. */
8603 if ac_fn_c_try_link
"$LINENO"; then :
8604 ac_cv_lib_dld_dld_link
=yes
8606 ac_cv_lib_dld_dld_link
=no
8608 rm -f core conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8610 LIBS
=$ac_check_lib_save_LIBS
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
8613 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
8614 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
8615 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8636 if test "x$lt_cv_dlopen" != xno
; then
8642 case $lt_cv_dlopen in
8644 save_CPPFLAGS
="$CPPFLAGS"
8645 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8647 save_LDFLAGS
="$LDFLAGS"
8648 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8651 LIBS
="$lt_cv_dlopen_libs $LIBS"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
8654 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
8655 if test "${lt_cv_dlopen_self+set}" = set; then :
8656 $as_echo_n "(cached) " >&6
8658 if test "$cross_compiling" = yes; then :
8659 lt_cv_dlopen_self
=cross
8661 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8662 lt_status
=$lt_dlunknown
8663 cat > conftest.
$ac_ext <<EOF
8664 #line 8664 "configure"
8665 #include "confdefs.h"
8674 # define LT_DLGLOBAL RTLD_GLOBAL
8677 # define LT_DLGLOBAL DL_GLOBAL
8679 # define LT_DLGLOBAL 0
8683 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8684 find out it does not work in some platform. */
8685 #ifndef LT_DLLAZY_OR_NOW
8687 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8690 # define LT_DLLAZY_OR_NOW DL_LAZY
8693 # define LT_DLLAZY_OR_NOW RTLD_NOW
8696 # define LT_DLLAZY_OR_NOW DL_NOW
8698 # define LT_DLLAZY_OR_NOW 0
8706 extern "C" void exit (int);
8709 void fnord() { int i=42;}
8712 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8713 int status = $lt_dlunknown;
8717 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8718 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8719 /* dlclose (self); */
8725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8726 (eval $ac_link) 2>&5
8728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8729 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8730 (.
/conftest
; exit; ) 2>/dev
/null
8733 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8734 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8735 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8738 # compilation failed
8739 lt_cv_dlopen_self
=no
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
8747 $as_echo "$lt_cv_dlopen_self" >&6; }
8749 if test "x$lt_cv_dlopen_self" = xyes
; then
8750 LDFLAGS
="$LDFLAGS $link_static_flag"
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
8752 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
8753 if test "${lt_cv_dlopen_self_static+set}" = set; then :
8754 $as_echo_n "(cached) " >&6
8756 if test "$cross_compiling" = yes; then :
8757 lt_cv_dlopen_self_static
=cross
8759 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8760 lt_status
=$lt_dlunknown
8761 cat > conftest.
$ac_ext <<EOF
8762 #line 8762 "configure"
8763 #include "confdefs.h"
8772 # define LT_DLGLOBAL RTLD_GLOBAL
8775 # define LT_DLGLOBAL DL_GLOBAL
8777 # define LT_DLGLOBAL 0
8781 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8782 find out it does not work in some platform. */
8783 #ifndef LT_DLLAZY_OR_NOW
8785 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8788 # define LT_DLLAZY_OR_NOW DL_LAZY
8791 # define LT_DLLAZY_OR_NOW RTLD_NOW
8794 # define LT_DLLAZY_OR_NOW DL_NOW
8796 # define LT_DLLAZY_OR_NOW 0
8804 extern "C" void exit (int);
8807 void fnord() { int i=42;}
8810 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8811 int status = $lt_dlunknown;
8815 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8816 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8817 /* dlclose (self); */
8823 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8824 (eval $ac_link) 2>&5
8826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8827 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8828 (.
/conftest
; exit; ) 2>/dev
/null
8831 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
8832 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
8833 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
8836 # compilation failed
8837 lt_cv_dlopen_self_static
=no
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
8845 $as_echo "$lt_cv_dlopen_self_static" >&6; }
8848 CPPFLAGS
="$save_CPPFLAGS"
8849 LDFLAGS
="$save_LDFLAGS"
8854 case $lt_cv_dlopen_self in
8855 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
8856 *) enable_dlopen_self
=unknown
;;
8859 case $lt_cv_dlopen_self_static in
8860 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
8861 *) enable_dlopen_self_static
=unknown
;;
8866 # Report which librarie types wil actually be built
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
8868 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
8870 $as_echo "$can_build_shared" >&6; }
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
8873 $as_echo_n "checking whether to build shared libraries... " >&6; }
8874 test "$can_build_shared" = "no" && enable_shared
=no
8876 # On AIX, shared libraries and static libraries use the same namespace, and
8877 # are all built from PIC.
8880 test "$enable_shared" = yes && enable_static
=no
8881 if test -n "$RANLIB"; then
8882 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
8883 postinstall_cmds
='$RANLIB $lib'
8888 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
8889 test "$enable_shared" = yes && enable_static
=no
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
8894 $as_echo "$enable_shared" >&6; }
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
8897 $as_echo_n "checking whether to build static libraries... " >&6; }
8898 # Make sure either enable_shared or enable_static is yes.
8899 test "$enable_shared" = yes || enable_static
=yes
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
8901 $as_echo "$enable_static" >&6; }
8903 # The else clause should only fire when bootstrapping the
8904 # libtool distribution, otherwise you forgot to ship ltmain.sh
8905 # with your package, and you will get complaints that there are
8906 # no rules to generate ltmain.sh.
8907 if test -f "$ltmain"; then
8908 # See if we are running on zsh, and set the options which allow our commands through
8909 # without removal of \ escapes.
8910 if test -n "${ZSH_VERSION+set}" ; then
8911 setopt NO_GLOB_SUBST
8913 # Now quote all the things that may contain metacharacters while being
8914 # careful not to overquote the AC_SUBSTed values. We take copies of the
8915 # variables and quote the copies for generation of the libtool script.
8916 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
8918 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8919 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8920 deplibs_check_method reload_flag reload_cmds need_locks \
8921 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8922 lt_cv_sys_global_symbol_to_c_name_address \
8923 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8924 old_postinstall_cmds old_postuninstall_cmds \
8928 lt_prog_compiler_wl \
8929 lt_prog_compiler_pic \
8930 lt_prog_compiler_static \
8931 lt_prog_compiler_no_builtin_flag \
8932 export_dynamic_flag_spec \
8933 thread_safe_flag_spec \
8934 whole_archive_flag_spec \
8935 enable_shared_with_static_runtimes \
8937 old_archive_from_new_cmds \
8942 compiler_lib_search_path \
8944 archive_expsym_cmds \
8946 postuninstall_cmds \
8947 old_archive_from_expsyms_cmds \
8948 allow_undefined_flag \
8950 export_symbols_cmds \
8951 hardcode_libdir_flag_spec \
8952 hardcode_libdir_flag_spec_ld \
8953 hardcode_libdir_separator \
8954 hardcode_automatic \
8956 module_expsym_cmds \
8957 lt_cv_prog_compiler_c_o \
8962 old_archive_cmds | \
8963 old_archive_from_new_cmds | \
8965 archive_expsym_cmds | \
8967 module_expsym_cmds | \
8968 old_archive_from_expsyms_cmds | \
8969 export_symbols_cmds | \
8970 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8971 postinstall_cmds | postuninstall_cmds | \
8972 old_postinstall_cmds | old_postuninstall_cmds | \
8973 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
8974 # Double-quote double-evaled strings.
8975 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8978 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8984 *'\$0 --fallback-echo"')
8985 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8990 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
8993 $as_echo "$as_me: creating $ofile" >&6;}
8995 cat <<__EOF__ >> "$cfgfile"
8998 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8999 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9000 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9002 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9003 # Free Software Foundation, Inc.
9005 # This file is part of GNU Libtool:
9006 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9008 # This program is free software; you can redistribute it and/or modify
9009 # it under the terms of the GNU General Public License as published by
9010 # the Free Software Foundation; either version 2 of the License, or
9011 # (at your option) any later version.
9013 # This program is distributed in the hope that it will be useful, but
9014 # WITHOUT ANY WARRANTY; without even the implied warranty of
9015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9016 # General Public License for more details.
9018 # You should have received a copy of the GNU General Public License
9019 # along with this program; if not, write to the Free Software
9020 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9022 # As a special exception to the GNU General Public License, if you
9023 # distribute this file as part of a program that contains a
9024 # configuration script generated by Autoconf, you may include it under
9025 # the same distribution terms that you use for the rest of that program.
9027 # A sed program that does not truncate output.
9030 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9031 Xsed="$SED -e 1s/^X//"
9033 # The HP-UX ksh and POSIX shell print the target directory to stdout
9035 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9037 # The names of the tagged configurations supported by this script.
9040 # ### BEGIN LIBTOOL CONFIG
9042 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9044 # Shell to use when invoking shell scripts.
9047 # Whether or not to build shared libraries.
9048 build_libtool_libs=$enable_shared
9050 # Whether or not to build static libraries.
9051 build_old_libs=$enable_static
9053 # Whether or not to add -lc for building shared libraries.
9054 build_libtool_need_lc=$archive_cmds_need_lc
9056 # Whether or not to disallow shared libs when runtime libs are static
9057 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9059 # Whether or not to optimize for fast installation.
9060 fast_install=$enable_fast_install
9063 host_alias=$host_alias
9068 build_alias=$build_alias
9072 # An echo program that does not interpret backslashes.
9077 AR_FLAGS=$lt_AR_FLAGS
9082 # A language-specific compiler.
9085 # Is the compiler the GNU C compiler?
9091 # The linker used to build libraries.
9094 # Whether we need hard or soft links.
9097 # A BSD-compatible nm program.
9100 # A symbol stripping program
9103 # Used to examine libraries when file_magic_cmd begins "file"
9104 MAGIC_CMD=$MAGIC_CMD
9106 # Used on cygwin: DLL creation program.
9109 # Used on cygwin: object dumper.
9112 # Used on cygwin: assembler.
9115 # The name of the directory that contains temporary libtool files.
9118 # How to create reloadable object files.
9119 reload_flag=$lt_reload_flag
9120 reload_cmds=$lt_reload_cmds
9122 # How to pass a linker flag through the compiler.
9123 wl=$lt_lt_prog_compiler_wl
9125 # Object file suffix (normally "o").
9128 # Old archive suffix (normally "a").
9131 # Shared library suffix (normally ".so").
9132 shrext_cmds='$shrext_cmds'
9134 # Executable file suffix (normally "").
9137 # Additional compiler flags for building library objects.
9138 pic_flag=$lt_lt_prog_compiler_pic
9141 # What is the maximum length of a command?
9142 max_cmd_len=$lt_cv_sys_max_cmd_len
9144 # Does compiler simultaneously support -c and -o options?
9145 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9147 # Must we lock files when doing compilation?
9148 need_locks=$lt_need_locks
9150 # Do we need the lib prefix for modules?
9151 need_lib_prefix=$need_lib_prefix
9153 # Do we need a version for libraries?
9154 need_version=$need_version
9156 # Whether dlopen is supported.
9157 dlopen_support=$enable_dlopen
9159 # Whether dlopen of programs is supported.
9160 dlopen_self=$enable_dlopen_self
9162 # Whether dlopen of statically linked programs is supported.
9163 dlopen_self_static=$enable_dlopen_self_static
9165 # Compiler flag to prevent dynamic linking.
9166 link_static_flag=$lt_lt_prog_compiler_static
9168 # Compiler flag to turn off builtin functions.
9169 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9171 # Compiler flag to allow reflexive dlopens.
9172 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9174 # Compiler flag to generate shared objects directly from archives.
9175 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9177 # Compiler flag to generate thread-safe objects.
9178 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9180 # Library versioning type.
9181 version_type=$version_type
9183 # Format of library name prefix.
9184 libname_spec=$lt_libname_spec
9186 # List of archive names. First name is the real one, the rest are links.
9187 # The last name is the one that the linker finds with -lNAME.
9188 library_names_spec=$lt_library_names_spec
9190 # The coded name of the library, if different from the real name.
9191 soname_spec=$lt_soname_spec
9193 # Commands used to build and install an old-style archive.
9195 old_archive_cmds=$lt_old_archive_cmds
9196 old_postinstall_cmds=$lt_old_postinstall_cmds
9197 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9199 # Create an old-style archive from a shared archive.
9200 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9202 # Create a temporary old-style archive to link instead of a shared archive.
9203 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9205 # Commands used to build and install a shared archive.
9206 archive_cmds=$lt_archive_cmds
9207 archive_expsym_cmds=$lt_archive_expsym_cmds
9208 postinstall_cmds=$lt_postinstall_cmds
9209 postuninstall_cmds=$lt_postuninstall_cmds
9211 # Commands used to build a loadable module (assumed same as above if empty)
9212 module_cmds=$lt_module_cmds
9213 module_expsym_cmds=$lt_module_expsym_cmds
9215 # Commands to strip libraries.
9216 old_striplib=$lt_old_striplib
9217 striplib=$lt_striplib
9219 # Dependencies to place before the objects being linked to create a
9221 predep_objects=$lt_predep_objects
9223 # Dependencies to place after the objects being linked to create a
9225 postdep_objects=$lt_postdep_objects
9227 # Dependencies to place before the objects being linked to create a
9231 # Dependencies to place after the objects being linked to create a
9233 postdeps=$lt_postdeps
9235 # The library search path used internally by the compiler when linking
9237 compiler_lib_search_path=$lt_compiler_lib_search_path
9239 # Method to check whether dependent libraries are shared objects.
9240 deplibs_check_method=$lt_deplibs_check_method
9242 # Command to use when deplibs_check_method == file_magic.
9243 file_magic_cmd=$lt_file_magic_cmd
9245 # Flag that allows shared libraries with undefined symbols to be built.
9246 allow_undefined_flag=$lt_allow_undefined_flag
9248 # Flag that forces no undefined symbols.
9249 no_undefined_flag=$lt_no_undefined_flag
9251 # Commands used to finish a libtool library installation in a directory.
9252 finish_cmds=$lt_finish_cmds
9254 # Same as above, but a single script fragment to be evaled but not shown.
9255 finish_eval=$lt_finish_eval
9257 # Take the output of nm and produce a listing of raw symbols and C names.
9258 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9260 # Transform the output of nm in a proper C declaration
9261 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9263 # Transform the output of nm in a C name address pair
9264 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9266 # This is the shared library runtime path variable.
9267 runpath_var=$runpath_var
9269 # This is the shared library path variable.
9270 shlibpath_var=$shlibpath_var
9272 # Is shlibpath searched before the hard-coded library search path?
9273 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9275 # How to hardcode a shared library path into an executable.
9276 hardcode_action=$hardcode_action
9278 # Whether we should hardcode library paths into libraries.
9279 hardcode_into_libs=$hardcode_into_libs
9281 # Flag to hardcode \$libdir into a binary during linking.
9282 # This must work even if \$libdir does not exist.
9283 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9285 # If ld is used when linking, flag to hardcode \$libdir into
9286 # a binary during linking. This must work even if \$libdir does
9288 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9290 # Whether we need a single -rpath flag with a separated argument.
9291 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9293 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9295 hardcode_direct=$hardcode_direct
9297 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9299 hardcode_minus_L=$hardcode_minus_L
9301 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9302 # the resulting binary.
9303 hardcode_shlibpath_var=$hardcode_shlibpath_var
9305 # Set to yes if building a shared library automatically hardcodes DIR into the library
9306 # and all subsequent libraries and executables linked against it.
9307 hardcode_automatic=$hardcode_automatic
9309 # Variables whose values should be saved in libtool wrapper scripts and
9310 # restored at relink time.
9311 variables_saved_for_relink="$variables_saved_for_relink"
9313 # Whether libtool must link a program against all its dependency libraries.
9314 link_all_deplibs=$link_all_deplibs
9316 # Compile-time system search path for libraries
9317 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9319 # Run-time system search path for libraries
9320 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9322 # Fix the shell variable \$srcfile for the compiler.
9323 fix_srcfile_path="$fix_srcfile_path"
9325 # Set to yes if exported symbols are required.
9326 always_export_symbols=$always_export_symbols
9328 # The commands to list exported symbols.
9329 export_symbols_cmds=$lt_export_symbols_cmds
9331 # The commands to extract the exported symbol list from a shared archive.
9332 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9334 # Symbols that should not be listed in the preloaded symbols.
9335 exclude_expsyms=$lt_exclude_expsyms
9337 # Symbols that must always be exported.
9338 include_expsyms=$lt_include_expsyms
9340 # ### END LIBTOOL CONFIG
9347 cat <<\EOF
>> "$cfgfile"
9349 # AIX sometimes has problems with the GCC collect2 program. For some
9350 # reason, if we set the COLLECT_NAMES environment variable, the problems
9351 # vanish in a puff of smoke.
9352 if test "X${COLLECT_NAMES+set}" != Xset
; then
9354 export COLLECT_NAMES
9360 # We use sed instead of cat because bash on DJGPP gets confused if
9361 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9362 # text mode, it properly converts lines to CR/LF. This bash problem
9363 # is reportedly fixed, but why not run on old versions too?
9364 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9366 mv -f "$cfgfile" "$ofile" || \
9367 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9371 # If there is no Makefile yet, we rely on a make rule to execute
9372 # `config.status --recheck' to rerun these tests and create the
9373 # libtool script then.
9374 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9375 if test -f "$ltmain_in"; then
9376 test -f Makefile
&& make "$ltmain"
9382 ac_cpp
='$CPP $CPPFLAGS'
9383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9390 # Check whether --with-tags was given.
9391 if test "${with_tags+set}" = set; then :
9392 withval
=$with_tags; tagnames
="$withval"
9396 if test -f "$ltmain" && test -n "$tagnames"; then
9397 if test ! -f "${ofile}"; then
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
9399 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9402 if test -z "$LTCC"; then
9403 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9404 if test -z "$LTCC"; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9406 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9409 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9413 # Extract list of available tagged configurations in $ofile.
9414 # Note that this assumes the entire list is on one line.
9415 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9417 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9418 for tagname
in $tagnames; do
9420 # Check whether tagname contains only valid characters
9421 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9423 *) as_fn_error
"invalid tag name: $tagname" "$LINENO" 5
9427 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9429 as_fn_error
"tag name \"$tagname\" already exists" "$LINENO" 5
9432 # Update the list of available tags.
9433 if test -n "$tagname"; then
9434 echo appending configuration tag
\"$tagname\" to
$ofile
9438 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9439 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9440 (test "X$CXX" != "Xg++"))) ; then
9448 if test -n "$F77" && test "X$F77" != "Xno"; then
9456 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
9466 # Source file extension for RC test sources.
9469 # Object file extension for compiled RC test sources.
9473 # Code to be used in simple compile tests
9474 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
9476 # Code to be used in simple link tests
9477 lt_simple_link_test_code
="$lt_simple_compile_test_code"
9479 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9481 # If no C compiler was specified, use CC.
9484 # Allow CC to be a program name with arguments.
9488 # save warnings/boilerplate of simple test code
9489 ac_outfile
=conftest.
$ac_objext
9490 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
9491 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9492 _lt_compiler_boilerplate
=`cat conftest.err`
9495 ac_outfile
=conftest.
$ac_objext
9496 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
9497 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9498 _lt_linker_boilerplate
=`cat conftest.err`
9502 # Allow CC to be a program name with arguments.
9507 for cc_temp
in $compiler""; do
9509 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9510 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9515 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9517 lt_cv_prog_compiler_c_o_RC
=yes
9519 # The else clause should only fire when bootstrapping the
9520 # libtool distribution, otherwise you forgot to ship ltmain.sh
9521 # with your package, and you will get complaints that there are
9522 # no rules to generate ltmain.sh.
9523 if test -f "$ltmain"; then
9524 # See if we are running on zsh, and set the options which allow our commands through
9525 # without removal of \ escapes.
9526 if test -n "${ZSH_VERSION+set}" ; then
9527 setopt NO_GLOB_SUBST
9529 # Now quote all the things that may contain metacharacters while being
9530 # careful not to overquote the AC_SUBSTed values. We take copies of the
9531 # variables and quote the copies for generation of the libtool script.
9532 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9534 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9535 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9536 deplibs_check_method reload_flag reload_cmds need_locks \
9537 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9538 lt_cv_sys_global_symbol_to_c_name_address \
9539 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9540 old_postinstall_cmds old_postuninstall_cmds \
9544 lt_prog_compiler_wl_RC \
9545 lt_prog_compiler_pic_RC \
9546 lt_prog_compiler_static_RC \
9547 lt_prog_compiler_no_builtin_flag_RC \
9548 export_dynamic_flag_spec_RC \
9549 thread_safe_flag_spec_RC \
9550 whole_archive_flag_spec_RC \
9551 enable_shared_with_static_runtimes_RC \
9552 old_archive_cmds_RC \
9553 old_archive_from_new_cmds_RC \
9555 postdep_objects_RC \
9558 compiler_lib_search_path_RC \
9560 archive_expsym_cmds_RC \
9561 postinstall_cmds_RC \
9562 postuninstall_cmds_RC \
9563 old_archive_from_expsyms_cmds_RC \
9564 allow_undefined_flag_RC \
9565 no_undefined_flag_RC \
9566 export_symbols_cmds_RC \
9567 hardcode_libdir_flag_spec_RC \
9568 hardcode_libdir_flag_spec_ld_RC \
9569 hardcode_libdir_separator_RC \
9570 hardcode_automatic_RC \
9572 module_expsym_cmds_RC \
9573 lt_cv_prog_compiler_c_o_RC \
9574 exclude_expsyms_RC \
9575 include_expsyms_RC
; do
9578 old_archive_cmds_RC | \
9579 old_archive_from_new_cmds_RC | \
9581 archive_expsym_cmds_RC | \
9583 module_expsym_cmds_RC | \
9584 old_archive_from_expsyms_cmds_RC | \
9585 export_symbols_cmds_RC | \
9586 extract_expsyms_cmds | reload_cmds | finish_cmds | \
9587 postinstall_cmds | postuninstall_cmds | \
9588 old_postinstall_cmds | old_postuninstall_cmds | \
9589 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
9590 # Double-quote double-evaled strings.
9591 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9594 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9600 *'\$0 --fallback-echo"')
9601 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9607 cat <<__EOF__ >> "$cfgfile"
9608 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
9610 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9612 # Shell to use when invoking shell scripts.
9615 # Whether or not to build shared libraries.
9616 build_libtool_libs=$enable_shared
9618 # Whether or not to build static libraries.
9619 build_old_libs=$enable_static
9621 # Whether or not to add -lc for building shared libraries.
9622 build_libtool_need_lc=$archive_cmds_need_lc_RC
9624 # Whether or not to disallow shared libs when runtime libs are static
9625 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
9627 # Whether or not to optimize for fast installation.
9628 fast_install=$enable_fast_install
9631 host_alias=$host_alias
9636 build_alias=$build_alias
9640 # An echo program that does not interpret backslashes.
9645 AR_FLAGS=$lt_AR_FLAGS
9650 # A language-specific compiler.
9653 # Is the compiler the GNU C compiler?
9659 # The linker used to build libraries.
9662 # Whether we need hard or soft links.
9665 # A BSD-compatible nm program.
9668 # A symbol stripping program
9671 # Used to examine libraries when file_magic_cmd begins "file"
9672 MAGIC_CMD=$MAGIC_CMD
9674 # Used on cygwin: DLL creation program.
9677 # Used on cygwin: object dumper.
9680 # Used on cygwin: assembler.
9683 # The name of the directory that contains temporary libtool files.
9686 # How to create reloadable object files.
9687 reload_flag=$lt_reload_flag
9688 reload_cmds=$lt_reload_cmds
9690 # How to pass a linker flag through the compiler.
9691 wl=$lt_lt_prog_compiler_wl_RC
9693 # Object file suffix (normally "o").
9696 # Old archive suffix (normally "a").
9699 # Shared library suffix (normally ".so").
9700 shrext_cmds='$shrext_cmds'
9702 # Executable file suffix (normally "").
9705 # Additional compiler flags for building library objects.
9706 pic_flag=$lt_lt_prog_compiler_pic_RC
9709 # What is the maximum length of a command?
9710 max_cmd_len=$lt_cv_sys_max_cmd_len
9712 # Does compiler simultaneously support -c and -o options?
9713 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
9715 # Must we lock files when doing compilation?
9716 need_locks=$lt_need_locks
9718 # Do we need the lib prefix for modules?
9719 need_lib_prefix=$need_lib_prefix
9721 # Do we need a version for libraries?
9722 need_version=$need_version
9724 # Whether dlopen is supported.
9725 dlopen_support=$enable_dlopen
9727 # Whether dlopen of programs is supported.
9728 dlopen_self=$enable_dlopen_self
9730 # Whether dlopen of statically linked programs is supported.
9731 dlopen_self_static=$enable_dlopen_self_static
9733 # Compiler flag to prevent dynamic linking.
9734 link_static_flag=$lt_lt_prog_compiler_static_RC
9736 # Compiler flag to turn off builtin functions.
9737 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
9739 # Compiler flag to allow reflexive dlopens.
9740 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
9742 # Compiler flag to generate shared objects directly from archives.
9743 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
9745 # Compiler flag to generate thread-safe objects.
9746 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
9748 # Library versioning type.
9749 version_type=$version_type
9751 # Format of library name prefix.
9752 libname_spec=$lt_libname_spec
9754 # List of archive names. First name is the real one, the rest are links.
9755 # The last name is the one that the linker finds with -lNAME.
9756 library_names_spec=$lt_library_names_spec
9758 # The coded name of the library, if different from the real name.
9759 soname_spec=$lt_soname_spec
9761 # Commands used to build and install an old-style archive.
9763 old_archive_cmds=$lt_old_archive_cmds_RC
9764 old_postinstall_cmds=$lt_old_postinstall_cmds
9765 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9767 # Create an old-style archive from a shared archive.
9768 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
9770 # Create a temporary old-style archive to link instead of a shared archive.
9771 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
9773 # Commands used to build and install a shared archive.
9774 archive_cmds=$lt_archive_cmds_RC
9775 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
9776 postinstall_cmds=$lt_postinstall_cmds
9777 postuninstall_cmds=$lt_postuninstall_cmds
9779 # Commands used to build a loadable module (assumed same as above if empty)
9780 module_cmds=$lt_module_cmds_RC
9781 module_expsym_cmds=$lt_module_expsym_cmds_RC
9783 # Commands to strip libraries.
9784 old_striplib=$lt_old_striplib
9785 striplib=$lt_striplib
9787 # Dependencies to place before the objects being linked to create a
9789 predep_objects=$lt_predep_objects_RC
9791 # Dependencies to place after the objects being linked to create a
9793 postdep_objects=$lt_postdep_objects_RC
9795 # Dependencies to place before the objects being linked to create a
9797 predeps=$lt_predeps_RC
9799 # Dependencies to place after the objects being linked to create a
9801 postdeps=$lt_postdeps_RC
9803 # The library search path used internally by the compiler when linking
9805 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
9807 # Method to check whether dependent libraries are shared objects.
9808 deplibs_check_method=$lt_deplibs_check_method
9810 # Command to use when deplibs_check_method == file_magic.
9811 file_magic_cmd=$lt_file_magic_cmd
9813 # Flag that allows shared libraries with undefined symbols to be built.
9814 allow_undefined_flag=$lt_allow_undefined_flag_RC
9816 # Flag that forces no undefined symbols.
9817 no_undefined_flag=$lt_no_undefined_flag_RC
9819 # Commands used to finish a libtool library installation in a directory.
9820 finish_cmds=$lt_finish_cmds
9822 # Same as above, but a single script fragment to be evaled but not shown.
9823 finish_eval=$lt_finish_eval
9825 # Take the output of nm and produce a listing of raw symbols and C names.
9826 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9828 # Transform the output of nm in a proper C declaration
9829 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9831 # Transform the output of nm in a C name address pair
9832 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9834 # This is the shared library runtime path variable.
9835 runpath_var=$runpath_var
9837 # This is the shared library path variable.
9838 shlibpath_var=$shlibpath_var
9840 # Is shlibpath searched before the hard-coded library search path?
9841 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9843 # How to hardcode a shared library path into an executable.
9844 hardcode_action=$hardcode_action_RC
9846 # Whether we should hardcode library paths into libraries.
9847 hardcode_into_libs=$hardcode_into_libs
9849 # Flag to hardcode \$libdir into a binary during linking.
9850 # This must work even if \$libdir does not exist.
9851 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
9853 # If ld is used when linking, flag to hardcode \$libdir into
9854 # a binary during linking. This must work even if \$libdir does
9856 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
9858 # Whether we need a single -rpath flag with a separated argument.
9859 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
9861 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9863 hardcode_direct=$hardcode_direct_RC
9865 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9867 hardcode_minus_L=$hardcode_minus_L_RC
9869 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9870 # the resulting binary.
9871 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
9873 # Set to yes if building a shared library automatically hardcodes DIR into the library
9874 # and all subsequent libraries and executables linked against it.
9875 hardcode_automatic=$hardcode_automatic_RC
9877 # Variables whose values should be saved in libtool wrapper scripts and
9878 # restored at relink time.
9879 variables_saved_for_relink="$variables_saved_for_relink"
9881 # Whether libtool must link a program against all its dependency libraries.
9882 link_all_deplibs=$link_all_deplibs_RC
9884 # Compile-time system search path for libraries
9885 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9887 # Run-time system search path for libraries
9888 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9890 # Fix the shell variable \$srcfile for the compiler.
9891 fix_srcfile_path="$fix_srcfile_path_RC"
9893 # Set to yes if exported symbols are required.
9894 always_export_symbols=$always_export_symbols_RC
9896 # The commands to list exported symbols.
9897 export_symbols_cmds=$lt_export_symbols_cmds_RC
9899 # The commands to extract the exported symbol list from a shared archive.
9900 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9902 # Symbols that should not be listed in the preloaded symbols.
9903 exclude_expsyms=$lt_exclude_expsyms_RC
9905 # Symbols that must always be exported.
9906 include_expsyms=$lt_include_expsyms_RC
9908 # ### END LIBTOOL TAG CONFIG: $tagname
9914 # If there is no Makefile yet, we rely on a make rule to execute
9915 # `config.status --recheck' to rerun these tests and create the
9916 # libtool script then.
9917 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9918 if test -f "$ltmain_in"; then
9919 test -f Makefile
&& make "$ltmain"
9925 ac_cpp
='$CPP $CPPFLAGS'
9926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9935 as_fn_error
"Unsupported tag name: $tagname" "$LINENO" 5
9939 # Append the new tag name to the list of available tags.
9940 if test -n "$tagname" ; then
9941 available_tags
="$available_tags $tagname"
9947 # Now substitute the updated list of available tags.
9948 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
9949 mv "${ofile}T" "$ofile"
9953 as_fn_error
"unable to update list of available tagged configurations." "$LINENO" 5
9959 # This can be used to rebuild libtool when needed
9960 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
9962 # Always use our own libtool.
9963 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9965 # Prevent multiple expansion
9978 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9979 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
9981 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9982 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
9983 $as_echo_n "(cached) " >&6
9985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9986 /* end confdefs.h. */
9987 #include <sys/types.h>
9999 if ac_fn_c_try_compile
"$LINENO"; then :
10000 eval "$as_ac_Header=yes"
10002 eval "$as_ac_Header=no"
10004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10006 eval ac_res
=\$
$as_ac_Header
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10008 $as_echo "$ac_res" >&6; }
10009 eval as_val
=\$
$as_ac_Header
10010 if test "x$as_val" = x
""yes; then :
10011 cat >>confdefs.h
<<_ACEOF
10012 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10015 ac_header_dirent
=$ac_hdr; break
10019 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10020 if test $ac_header_dirent = dirent.h
; then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10022 $as_echo_n "checking for library containing opendir... " >&6; }
10023 if test "${ac_cv_search_opendir+set}" = set; then :
10024 $as_echo_n "(cached) " >&6
10026 ac_func_search_save_LIBS
=$LIBS
10027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10045 for ac_lib
in '' dir
; do
10046 if test -z "$ac_lib"; then
10047 ac_res
="none required"
10050 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10052 if ac_fn_c_try_link
"$LINENO"; then :
10053 ac_cv_search_opendir
=$ac_res
10055 rm -f core conftest.err conftest.
$ac_objext \
10057 if test "${ac_cv_search_opendir+set}" = set; then :
10061 if test "${ac_cv_search_opendir+set}" = set; then :
10064 ac_cv_search_opendir
=no
10066 rm conftest.
$ac_ext
10067 LIBS
=$ac_func_search_save_LIBS
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10070 $as_echo "$ac_cv_search_opendir" >&6; }
10071 ac_res
=$ac_cv_search_opendir
10072 if test "$ac_res" != no
; then :
10073 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10079 $as_echo_n "checking for library containing opendir... " >&6; }
10080 if test "${ac_cv_search_opendir+set}" = set; then :
10081 $as_echo_n "(cached) " >&6
10083 ac_func_search_save_LIBS
=$LIBS
10084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10102 for ac_lib
in '' x
; do
10103 if test -z "$ac_lib"; then
10104 ac_res
="none required"
10107 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10109 if ac_fn_c_try_link
"$LINENO"; then :
10110 ac_cv_search_opendir
=$ac_res
10112 rm -f core conftest.err conftest.
$ac_objext \
10114 if test "${ac_cv_search_opendir+set}" = set; then :
10118 if test "${ac_cv_search_opendir+set}" = set; then :
10121 ac_cv_search_opendir
=no
10123 rm conftest.
$ac_ext
10124 LIBS
=$ac_func_search_save_LIBS
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10127 $as_echo "$ac_cv_search_opendir" >&6; }
10128 ac_res
=$ac_cv_search_opendir
10129 if test "$ac_res" != no
; then :
10130 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10136 # Check whether --enable-ltdl-install was given.
10137 if test "${enable_ltdl_install+set}" = set; then :
10138 enableval
=$enable_ltdl_install;
10142 if test x
"${enable_ltdl_install-no}" != xno
; then
10144 INSTALL_LTDL_FALSE
='#'
10146 INSTALL_LTDL_TRUE
='#'
10147 INSTALL_LTDL_FALSE
=
10150 if test x
"${enable_ltdl_convenience-no}" != xno
; then
10151 CONVENIENCE_LTDL_TRUE
=
10152 CONVENIENCE_LTDL_FALSE
='#'
10154 CONVENIENCE_LTDL_TRUE
='#'
10155 CONVENIENCE_LTDL_FALSE
=
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for loadable modules" >&5
10161 $as_echo_n "checking which extension is used for loadable modules... " >&6; }
10162 if test "${libltdl_cv_shlibext+set}" = set; then :
10163 $as_echo_n "(cached) " >&6
10166 ## GCJ LOCAL: gcj specific stuff. Please keep it.
10167 # Here in libltdl for libgcj we don't build modules for darwin.
10168 # So we say no. Then the extension gets .dylib which is the right
10169 # thing for shared libraries on darwin. Please keep me next time you
10179 eval libltdl_cv_shlibext
=$shrext_cmds
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
10183 $as_echo "$libltdl_cv_shlibext" >&6; }
10184 if test -n "$libltdl_cv_shlibext"; then
10186 cat >>confdefs.h
<<_ACEOF
10187 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
10194 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
10195 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10198 libltdl_cv_shlibpath_var
="$shlibpath_var"
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
10201 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
10202 if test -n "$libltdl_cv_shlibpath_var"; then
10204 cat >>confdefs.h
<<_ACEOF
10205 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
10212 $as_echo_n "checking for the default library search path... " >&6; }
10213 if test "${libltdl_cv_sys_search_path+set}" = set; then :
10214 $as_echo_n "(cached) " >&6
10216 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_sys_search_path" >&5
10219 $as_echo "$libltdl_cv_sys_search_path" >&6; }
10220 if test -n "$libltdl_cv_sys_search_path"; then
10222 for dir
in $libltdl_cv_sys_search_path; do
10223 if test -z "$sys_search_path"; then
10224 sys_search_path
="$dir"
10226 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
10230 cat >>confdefs.h
<<_ACEOF
10231 #define LTDL_SYSSEARCHPATH "$sys_search_path"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10237 $as_echo_n "checking for objdir... " >&6; }
10238 if test "${libltdl_cv_objdir+set}" = set; then :
10239 $as_echo_n "(cached) " >&6
10241 libltdl_cv_objdir
="$objdir"
10242 if test -n "$objdir"; then
10245 rm -f .libs
2>/dev
/null
10246 mkdir .libs
2>/dev
/null
10247 if test -d .libs
; then
10248 libltdl_cv_objdir
=.libs
10250 # MS-DOS does not allow filenames that begin with a dot.
10251 libltdl_cv_objdir
=_libs
10253 rmdir .libs
2>/dev
/null
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_objdir" >&5
10258 $as_echo "$libltdl_cv_objdir" >&6; }
10260 cat >>confdefs.h
<<_ACEOF
10261 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
10267 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
10268 if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
10269 $as_echo_n "(cached) " >&6
10271 if test -n "$lt_cv_sys_global_symbol_pipe"; then
10272 libltdl_cv_preloaded_symbols
=yes
10274 libltdl_cv_preloaded_symbols
=no
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
10279 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
10280 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
10282 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
10289 ac_cpp
='$CPP $CPPFLAGS'
10290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10295 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10296 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10298 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10302 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10303 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10304 $as_echo_n "(cached) " >&6
10306 ac_check_lib_save_LIBS
=$LIBS
10308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10321 return shl_load ();
10326 if ac_fn_c_try_link
"$LINENO"; then :
10327 ac_cv_lib_dld_shl_load
=yes
10329 ac_cv_lib_dld_shl_load
=no
10331 rm -f core conftest.err conftest.
$ac_objext \
10332 conftest
$ac_exeext conftest.
$ac_ext
10333 LIBS
=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10336 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10337 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10339 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
10341 LIBADD_DL
="$LIBADD_DL -ldld"
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10346 $as_echo_n "(cached) " >&6
10348 ac_check_lib_save_LIBS
=$LIBS
10350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10368 if ac_fn_c_try_link
"$LINENO"; then :
10369 ac_cv_lib_dl_dlopen
=yes
10371 ac_cv_lib_dl_dlopen
=no
10373 rm -f core conftest.err conftest.
$ac_objext \
10374 conftest
$ac_exeext conftest.
$ac_ext
10375 LIBS
=$ac_check_lib_save_LIBS
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10378 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10379 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10381 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
10383 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
10385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10388 # include <dlfcn.h>
10399 if ac_fn_c_try_link
"$LINENO"; then :
10401 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
10402 libltdl_cv_func_dlopen
="yes"
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10405 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10406 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10407 $as_echo_n "(cached) " >&6
10409 ac_check_lib_save_LIBS
=$LIBS
10410 LIBS
="-lsvld $LIBS"
10411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10429 if ac_fn_c_try_link
"$LINENO"; then :
10430 ac_cv_lib_svld_dlopen
=yes
10432 ac_cv_lib_svld_dlopen
=no
10434 rm -f core conftest.err conftest.
$ac_objext \
10435 conftest
$ac_exeext conftest.
$ac_ext
10436 LIBS
=$ac_check_lib_save_LIBS
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10439 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10440 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10442 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
10444 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10447 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10448 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10449 $as_echo_n "(cached) " >&6
10451 ac_check_lib_save_LIBS
=$LIBS
10453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10456 /* Override any GCC internal prototype to avoid an error.
10457 Use char because int might match the return type of a GCC
10458 builtin and then its argument prototype would still apply. */
10466 return dld_link ();
10471 if ac_fn_c_try_link
"$LINENO"; then :
10472 ac_cv_lib_dld_dld_link
=yes
10474 ac_cv_lib_dld_dld_link
=no
10476 rm -f core conftest.err conftest.
$ac_objext \
10477 conftest
$ac_exeext conftest.
$ac_ext
10478 LIBS
=$ac_check_lib_save_LIBS
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10481 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10482 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10484 $as_echo "#define HAVE_DLD 1" >>confdefs.h
10486 LIBADD_DL
="$LIBADD_DL -ldld"
10488 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
10489 if test "x$ac_cv_func__dyld_func_lookup" = x
""yes; then :
10491 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
10503 rm -f core conftest.err conftest.
$ac_objext \
10504 conftest
$ac_exeext conftest.
$ac_ext
10515 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
10517 lt_save_LIBS
="$LIBS"
10518 LIBS
="$LIBS $LIBADD_DL"
10519 for ac_func
in dlerror
10521 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
10522 if test "x$ac_cv_func_dlerror" = x
""yes; then :
10523 cat >>confdefs.h
<<_ACEOF
10524 #define HAVE_DLERROR 1
10530 LIBS
="$lt_save_LIBS"
10533 ac_cpp
='$CPP $CPPFLAGS'
10534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
10541 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
10542 if test "${ac_cv_sys_symbol_underscore+set}" = set; then :
10543 $as_echo_n "(cached) " >&6
10545 ac_cv_sys_symbol_underscore
=no
10546 cat > conftest.
$ac_ext <<EOF
10547 void nm_test_func(){}
10548 int main(){nm_test_func;return 0;}
10550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10551 (eval $ac_compile) 2>&5
10553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10554 test $ac_status = 0; }; then
10555 # Now try to grab the symbols.
10556 ac_nlist
=conftest.nm
10557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
10558 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
10560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10561 test $ac_status = 0; } && test -s "$ac_nlist"; then
10562 # See whether the symbols have a leading underscore.
10563 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
10564 ac_cv_sys_symbol_underscore
=yes
10566 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
10569 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
10573 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
10576 echo "configure: failed program was:" >&5
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_symbol_underscore" >&5
10583 $as_echo "$ac_cv_sys_symbol_underscore" >&6; }
10586 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
10587 if test x
"$libltdl_cv_func_dlopen" = xyes ||
10588 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
10590 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
10591 if test "${libltdl_cv_need_uscore+set}" = set; then :
10592 $as_echo_n "(cached) " >&6
10594 libltdl_cv_need_uscore
=unknown
10596 LIBS
="$LIBS $LIBADD_DL"
10597 if test "$cross_compiling" = yes; then :
10598 libltdl_cv_need_uscore
=cross
10600 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10601 lt_status
=$lt_dlunknown
10602 cat > conftest.
$ac_ext <<EOF
10603 #line 10603 "configure"
10604 #include "confdefs.h"
10613 # define LT_DLGLOBAL RTLD_GLOBAL
10616 # define LT_DLGLOBAL DL_GLOBAL
10618 # define LT_DLGLOBAL 0
10622 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10623 find out it does not work in some platform. */
10624 #ifndef LT_DLLAZY_OR_NOW
10626 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10629 # define LT_DLLAZY_OR_NOW DL_LAZY
10632 # define LT_DLLAZY_OR_NOW RTLD_NOW
10635 # define LT_DLLAZY_OR_NOW DL_NOW
10637 # define LT_DLLAZY_OR_NOW 0
10645 extern "C" void exit (int);
10648 void fnord() { int i=42;}
10651 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10652 int status = $lt_dlunknown;
10656 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10657 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10658 /* dlclose (self); */
10664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10665 (eval $ac_link) 2>&5
10667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10668 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10669 (.
/conftest
; exit; ) 2>/dev
/null
10671 case x
$lt_status in
10672 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
10673 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
10674 x
$lt_unknown|x
*) ;;
10677 # compilation failed
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
10687 $as_echo "$libltdl_cv_need_uscore" >&6; }
10691 if test x
"$libltdl_cv_need_uscore" = xyes
; then
10693 $as_echo "#define NEED_USCORE 1" >>confdefs.h
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
10699 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
10700 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then :
10701 $as_echo_n "(cached) " >&6
10703 # PORTME does your system automatically load deplibs for dlopen?
10704 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
10705 # For now, we just catch OSes we know something about -- in the
10706 # future, we'll try test this programmatically.
10707 libltdl_cv_sys_dlopen_deplibs
=unknown
10709 aix3
*|aix4.1.
*|aix4.2.
*)
10710 # Unknown whether this is true for these versions of AIX, but
10711 # we want this `case' here to explicitly catch those versions.
10712 libltdl_cv_sys_dlopen_deplibs
=unknown
10715 libltdl_cv_sys_dlopen_deplibs
=yes
10718 # Assuming the user has installed a libdl from somewhere, this is true
10719 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
10720 libltdl_cv_sys_dlopen_deplibs
=yes
10722 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
10723 # GNU and its variants, using gnu ld.so (Glibc)
10724 libltdl_cv_sys_dlopen_deplibs
=yes
10727 libltdl_cv_sys_dlopen_deplibs
=yes
10729 irix
[12345]*|irix6.
[01]*)
10730 # Catch all versions of IRIX before 6.2, and indicate that we don't
10731 # know how it worked for any of those versions.
10732 libltdl_cv_sys_dlopen_deplibs
=unknown
10735 # The case above catches anything before 6.2, and it's known that
10736 # at 6.2 and later dlopen does load deplibs.
10737 libltdl_cv_sys_dlopen_deplibs
=yes
10740 libltdl_cv_sys_dlopen_deplibs
=yes
10743 libltdl_cv_sys_dlopen_deplibs
=yes
10746 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
10747 # it did *not* use an RPATH in a shared library to find objects the
10748 # library depends on, so we explictly say `no'.
10749 libltdl_cv_sys_dlopen_deplibs
=no
10751 osf5.0|osf5.0a|osf5.1
)
10752 # dlopen *does* load deplibs and with the right loader patch applied
10753 # it even uses RPATH in a shared library to search for shared objects
10754 # that the library depends on, but there's no easy way to know if that
10755 # patch is installed. Since this is the case, all we can really
10756 # say is unknown -- it depends on the patch being installed. If
10757 # it is, this changes to `yes'. Without it, it would be `no'.
10758 libltdl_cv_sys_dlopen_deplibs
=unknown
10761 # the two cases above should catch all versions of osf <= 5.1. Read
10762 # the comments above for what we know about them.
10763 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
10764 # is used to find them so we can finally say `yes'.
10765 libltdl_cv_sys_dlopen_deplibs
=yes
10768 libltdl_cv_sys_dlopen_deplibs
=yes
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_sys_dlopen_deplibs" >&5
10774 $as_echo "$libltdl_cv_sys_dlopen_deplibs" >&6; }
10775 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
10777 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
10781 for ac_header
in argz.h
10783 ac_fn_c_check_header_mongrel
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default"
10784 if test "x$ac_cv_header_argz_h" = x
""yes; then :
10785 cat >>confdefs.h
<<_ACEOF
10786 #define HAVE_ARGZ_H 1
10794 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if HAVE_ARGZ_H
10798 if test "x$ac_cv_type_error_t" = x
""yes; then :
10800 cat >>confdefs.h
<<_ACEOF
10801 #define HAVE_ERROR_T 1
10807 $as_echo "#define error_t int" >>confdefs.h
10812 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
10814 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10815 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10816 eval as_val
=\$
$as_ac_var
10817 if test "x$as_val" = x
""yes; then :
10818 cat >>confdefs.h
<<_ACEOF
10819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10844 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
10847 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10848 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10849 eval as_val
=\$
$as_ac_Header
10850 if test "x$as_val" = x
""yes; then :
10851 cat >>confdefs.h
<<_ACEOF
10852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10859 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
10861 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10862 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10863 eval as_val
=\$
$as_ac_Header
10864 if test "x$as_val" = x
""yes; then :
10865 cat >>confdefs.h
<<_ACEOF
10866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10873 for ac_header
in string.h
strings.h
10875 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10876 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10877 eval as_val
=\$
$as_ac_Header
10878 if test "x$as_val" = x
""yes; then :
10879 cat >>confdefs.h
<<_ACEOF
10880 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10888 for ac_func
in strchr index
10890 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10891 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10892 eval as_val
=\$
$as_ac_var
10893 if test "x$as_val" = x
""yes; then :
10894 cat >>confdefs.h
<<_ACEOF
10895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10901 for ac_func
in strrchr rindex
10903 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10904 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10905 eval as_val
=\$
$as_ac_var
10906 if test "x$as_val" = x
""yes; then :
10907 cat >>confdefs.h
<<_ACEOF
10908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10914 for ac_func
in memcpy bcopy
10916 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10917 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10918 eval as_val
=\$
$as_ac_var
10919 if test "x$as_val" = x
""yes; then :
10920 cat >>confdefs.h
<<_ACEOF
10921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10927 for ac_func
in memmove strcmp
10929 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10930 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10931 eval as_val
=\$
$as_ac_var
10932 if test "x$as_val" = x
""yes; then :
10933 cat >>confdefs.h
<<_ACEOF
10934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10940 for ac_func
in closedir opendir readdir
10942 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10943 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10944 eval as_val
=\$
$as_ac_var
10945 if test "x$as_val" = x
""yes; then :
10946 cat >>confdefs.h
<<_ACEOF
10947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10959 ac_config_files
="$ac_config_files Makefile"
10961 cat >confcache
<<\_ACEOF
10962 # This file is a shell script that caches the results of configure
10963 # tests run on this system so they can be shared between configure
10964 # scripts and configure runs, see configure's option --config-cache.
10965 # It is not useful on other systems. If it contains results you don't
10966 # want to keep, you may remove or edit it.
10968 # config.status only pays attention to the cache file if you give it
10969 # the --recheck option to rerun configure.
10971 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10972 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10973 # following values.
10977 # The following way of writing the cache mishandles newlines in values,
10978 # but we know of no workaround that is simple, portable, and efficient.
10979 # So, we kill variables containing newlines.
10980 # Ultrix sh set writes to stderr and can't be redirected directly,
10981 # and sets the high bit in the cache file unless we assign to the vars.
10983 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10984 eval ac_val
=\$
$ac_var
10988 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10989 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10992 _ | IFS | as_nl
) ;; #(
10993 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10994 *) { eval $ac_var=; unset $ac_var;} ;;
11000 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11001 *${as_nl}ac_space
=\
*)
11002 # `set' does not quote correctly, so add quotes: double-quote
11003 # substitution turns \\\\ into \\, and sed turns \\ into \.
11006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11009 # `set' quotes correctly as required by POSIX, so do not add quotes.
11010 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11019 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11021 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11023 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11024 if test -w "$cache_file"; then
11025 test "x$cache_file" != "x/dev/null" &&
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11027 $as_echo "$as_me: updating cache $cache_file" >&6;}
11028 cat confcache
>$cache_file
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11031 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11036 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11037 # Let make expand exec_prefix.
11038 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11040 DEFS
=-DHAVE_CONFIG_H
11044 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11045 # 1. Remove the extension, and $U if already installed.
11046 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11047 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11048 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11049 # will be set to the directory where LIBOBJS objects are built.
11050 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11051 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11053 LIBOBJS
=$ac_libobjs
11055 LTLIBOBJS
=$ac_ltlibobjs
11058 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11059 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
11060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11062 if test -n "$EXEEXT"; then
11064 am__EXEEXT_FALSE
='#'
11066 am__EXEEXT_TRUE
='#'
11070 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11071 as_fn_error
"conditional \"AMDEP\" was never defined.
11072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11074 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11075 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
11076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11078 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
11079 as_fn_error
"conditional \"INSTALL_LTDL\" was never defined.
11080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11082 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
11083 as_fn_error
"conditional \"CONVENIENCE_LTDL\" was never defined.
11084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11087 : ${CONFIG_STATUS=./config.status}
11089 ac_clean_files_save
=$ac_clean_files
11090 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11092 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11094 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11096 # Generated by $as_me.
11097 # Run this file to recreate the current configuration.
11098 # Compiler output produced by configure, useful for debugging
11099 # configure, is in config.log if it exists.
11102 ac_cs_recheck=false
11105 SHELL=\${CONFIG_SHELL-$SHELL}
11108 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11109 ## -------------------- ##
11110 ## M4sh Initialization. ##
11111 ## -------------------- ##
11113 # Be more Bourne compatible
11114 DUALCASE
=1; export DUALCASE
# for MKS sh
11115 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11118 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11119 # is contrary to our usage. Disable this feature.
11120 alias -g '${1+"$@"}'='"$@"'
11121 setopt NO_GLOB_SUBST
11123 case `(set -o) 2>/dev/null` in #(
11135 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11136 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11137 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11138 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11139 # Prefer a ksh shell builtin over an external printf program on Solaris,
11140 # but without wasting forks for bash or zsh.
11141 if test -z "$BASH_VERSION$ZSH_VERSION" \
11142 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11143 as_echo='print
-r --'
11144 as_echo_n='print
-rn --'
11145 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11146 as_echo='printf %s
\n'
11147 as_echo_n='printf %s
'
11149 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11150 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11151 as_echo_n='/usr
/ucb
/echo -n'
11153 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11154 as_echo_n_body='eval
11158 expr "X$arg" : "X\\(.*\\)$as_nl";
11159 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11161 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11163 export as_echo_n_body
11164 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11166 export as_echo_body
11167 as_echo='sh
-c $as_echo_body as_echo
'
11170 # The user is always right.
11171 if test "${PATH_SEPARATOR+set}" != set; then
11173 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11174 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11181 # We need space, tab and new line, in precisely that order. Quoting is
11182 # there to prevent editors from complaining about space-tab.
11183 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11184 # splitting by setting IFS to empty value.)
11187 # Find who we are. Look in the path if we contain no directory separator.
11189 *[\\/]* ) as_myself=$0 ;;
11190 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11191 for as_dir in $PATH
11194 test -z "$as_dir" && as_dir=.
11195 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11201 # We did not find ourselves, most probably we were run as `sh COMMAND'
11202 # in which case we are not to be found in the path.
11203 if test "x$as_myself" = x
; then
11206 if test ! -f "$as_myself"; then
11207 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11211 # Unset variables that we do not need and which cause bugs (e.g. in
11212 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11213 # suppresses any "Segmentation fault" message there. '((' could
11214 # trigger a bug in pdksh 5.2.14.
11215 for as_var
in BASH_ENV ENV MAIL MAILPATH
11216 do eval test x\
${$as_var+set} = xset \
11217 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11230 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11233 # as_fn_error ERROR [LINENO LOG_FD]
11234 # ---------------------------------
11235 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11236 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11237 # script with status $?, using 1 if that was 0.
11240 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11242 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11243 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11245 $as_echo "$as_me: error: $1" >&2
11246 as_fn_exit
$as_status
11250 # as_fn_set_status STATUS
11251 # -----------------------
11252 # Set $? to STATUS, without forking.
11253 as_fn_set_status
()
11256 } # as_fn_set_status
11258 # as_fn_exit STATUS
11259 # -----------------
11260 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11264 as_fn_set_status
$1
11270 # Portably unset VAR.
11273 { eval $1=; unset $1;}
11275 as_unset
=as_fn_unset
11276 # as_fn_append VAR VALUE
11277 # ----------------------
11278 # Append the text in VALUE to the end of the definition contained in VAR. Take
11279 # advantage of any shell optimizations that allow amortized linear growth over
11280 # repeated appends, instead of the typical quadratic growth present in naive
11282 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11283 eval 'as_fn_append ()
11294 # as_fn_arith ARG...
11295 # ------------------
11296 # Perform arithmetic evaluation on the ARGs, and store the result in the
11297 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11298 # must be portable across $(()) and expr.
11299 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11300 eval 'as_fn_arith ()
11307 as_val
=`expr "$@" || test $? -eq 1`
11312 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11313 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11319 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11320 as_basename
=basename
11325 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11331 as_me
=`$as_basename -- "$0" ||
11332 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11333 X"$0" : 'X\(//\)$' \| \
11334 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11336 sed '/^.*\/\([^/][^/]*\)\/*$/{
11350 # Avoid depending upon Character Ranges.
11351 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11352 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11353 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11354 as_cr_digits
='0123456789'
11355 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11357 ECHO_C
= ECHO_N
= ECHO_T
=
11358 case `echo -n x` in #(((((
11360 case `echo 'xy\c'` in
11361 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11363 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11370 rm -f conf$$ conf$$.exe conf$$.
file
11371 if test -d conf$$.dir
; then
11372 rm -f conf$$.dir
/conf$$.
file
11375 mkdir conf$$.dir
2>/dev
/null
11377 if (echo >conf$$.
file) 2>/dev
/null
; then
11378 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11380 # ... but there are two gotchas:
11381 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11382 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11383 # In both cases, we have to default to `cp -p'.
11384 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11386 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11394 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11395 rmdir conf$$.dir
2>/dev
/null
11400 # Create "$as_dir" as a directory, including parents if necessary.
11405 -*) as_dir
=.
/$as_dir;;
11407 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11411 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11412 *) as_qdir
=$as_dir;;
11414 as_dirs
="'$as_qdir' $as_dirs"
11415 as_dir
=`$as_dirname -- "$as_dir" ||
11416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11417 X"$as_dir" : 'X\(//\)[^/]' \| \
11418 X"$as_dir" : 'X\(//\)$' \| \
11419 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11420 $as_echo X"$as_dir" |
11421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11425 /^X\(\/\/\)[^/].*/{
11438 test -d "$as_dir" && break
11440 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11441 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11445 if mkdir
-p .
2>/dev
/null
; then
11446 as_mkdir_p
='mkdir -p "$as_dir"'
11448 test -d .
/-p && rmdir .
/-p
11452 if test -x / >/dev
/null
2>&1; then
11453 as_test_x
='test -x'
11455 if ls -dL / >/dev
/null
2>&1; then
11462 if test -d "$1"; then
11468 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11469 ???[sx]*):;;*)false;;esac;fi
11473 as_executable_p
=$as_test_x
11475 # Sed expression to map a string onto a valid CPP name.
11476 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11478 # Sed expression to map a string onto a valid variable name.
11479 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11483 ## ----------------------------------- ##
11484 ## Main body of $CONFIG_STATUS script. ##
11485 ## ----------------------------------- ##
11487 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11490 # Save the log message, to keep $0 and so on meaningful, and to
11491 # report actual input values of CONFIG_FILES etc. instead of their
11492 # values after options handling.
11494 This file was extended by libltdl $as_me 1.2, which was
11495 generated by GNU Autoconf 2.64. Invocation command line was
11497 CONFIG_FILES = $CONFIG_FILES
11498 CONFIG_HEADERS = $CONFIG_HEADERS
11499 CONFIG_LINKS = $CONFIG_LINKS
11500 CONFIG_COMMANDS = $CONFIG_COMMANDS
11503 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11508 case $ac_config_files in *"
11509 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11512 case $ac_config_headers in *"
11513 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11518 # Files that config.status was made for.
11519 config_files="$ac_config_files"
11520 config_headers="$ac_config_headers"
11521 config_commands="$ac_config_commands"
11525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11527 \`$as_me' instantiates files and other configuration actions
11528 from templates according to the current configuration. Unless the files
11529 and actions are specified as TAGs, all are instantiated by default.
11531 Usage: $0 [OPTION]... [TAG]...
11533 -h, --help print this help, then exit
11534 -V, --version print version number and configuration settings, then exit
11535 -q, --quiet, --silent
11536 do not print progress messages
11537 -d, --debug don't remove temporary files
11538 --recheck update $as_me by reconfiguring in the same conditions
11539 --file=FILE[:TEMPLATE]
11540 instantiate the configuration file FILE
11541 --header=FILE[:TEMPLATE]
11542 instantiate the configuration header FILE
11544 Configuration files:
11547 Configuration headers:
11550 Configuration commands:
11553 Report bugs to <bug-libtool@gnu.org>."
11556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11558 libltdl config.status 1.2
11559 configured by $0, generated by GNU Autoconf 2.64,
11560 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11562 Copyright (C) 2009 Free Software Foundation, Inc.
11563 This config.status script is free software; the Free Software Foundation
11564 gives unlimited permission to copy, distribute and modify it."
11571 test -n "\$AWK" || AWK=awk
11574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11575 # The default lists apply if the user does not specify any file.
11581 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11582 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11593 # Handling of the options.
11594 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11596 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11597 $as_echo "$ac_cs_version"; exit ;;
11598 --debug |
--debu |
--deb |
--de |
--d |
-d )
11600 --file |
--fil |
--fi |
--f )
11603 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11605 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11606 ac_need_defaults
=false
;;
11607 --header |
--heade |
--head |
--hea )
11610 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11612 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11613 ac_need_defaults
=false
;;
11615 # Conflict between --help and --header
11616 as_fn_error
"ambiguous option: \`$1'
11617 Try \`$0 --help' for more information.";;
11618 --help |
--hel |
-h )
11619 $as_echo "$ac_cs_usage"; exit ;;
11620 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11621 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11624 # This is an error.
11625 -*) as_fn_error
"unrecognized option: \`$1'
11626 Try \`$0 --help' for more information." ;;
11628 *) as_fn_append ac_config_targets
" $1"
11629 ac_need_defaults
=false
;;
11635 ac_configure_extra_args
=
11637 if $ac_cs_silent; then
11639 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11644 if \$ac_cs_recheck; then
11645 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11647 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11648 CONFIG_SHELL='$SHELL'
11649 export CONFIG_SHELL
11654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11658 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11659 ## Running $as_me. ##
11665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11673 with_multisubdir="$with_multisubdir"
11674 with_multisrctop="$with_multisrctop"
11675 with_target_subdir="$with_target_subdir"
11676 ac_configure_args="${multilib_arg} ${ac_configure_args}"
11677 multi_basedir="$multi_basedir"
11678 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
11681 GFORTRAN="$GFORTRAN"
11683 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11689 # Handling of arguments.
11690 for ac_config_target
in $ac_config_targets
11692 case $ac_config_target in
11693 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11694 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
11695 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11696 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11698 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11703 # If the user did not use the arguments to specify the items to instantiate,
11704 # then the envvar interface is used. Set only those that are not.
11705 # We use the long form for the default assignment because of an extremely
11706 # bizarre bug on SunOS 4.1.3.
11707 if $ac_need_defaults; then
11708 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11709 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11710 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11713 # Have a temporary directory for convenience. Make it in the build tree
11714 # simply because there is no reason against having it here, and in addition,
11715 # creating and moving files from /tmp can sometimes cause problems.
11716 # Hook for its removal unless debugging.
11717 # Note that there is a small window in which the directory will not be cleaned:
11718 # after its creation but before its name has been assigned to `$tmp'.
11722 trap 'exit_status=$?
11723 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11725 trap 'as_fn_exit 1' 1 2 13 15
11727 # Create a (secure) tmp directory for tmp files.
11730 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11731 test -n "$tmp" && test -d "$tmp"
11734 tmp
=.
/conf$$
-$RANDOM
11735 (umask 077 && mkdir
"$tmp")
11736 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11738 # Set up the scripts for CONFIG_FILES section.
11739 # No need to generate them if there are no CONFIG_FILES.
11740 # This happens for instance with `./config.status config.h'.
11741 if test -n "$CONFIG_FILES"; then
11744 ac_cr
=`echo X | tr X '\015'`
11745 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11746 # But we know of no other shell where ac_cr would be empty at this
11747 # point, so we can use a bashism as a fallback.
11748 if test "x$ac_cr" = x
; then
11749 eval ac_cr
=\$
\'\\r
\'
11751 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11752 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11755 ac_cs_awk_cr
=$ac_cr
11758 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11763 echo "cat >conf$$subs.awk <<_ACEOF" &&
11764 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11766 } >conf$$subs.sh ||
11767 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11768 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11770 for ac_last_try in false false false false false :; do
11771 . ./conf$$subs.sh ||
11772 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11774 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11775 if test $ac_delim_n = $ac_delim_num; then
11777 elif $ac_last_try; then
11778 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11780 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11783 rm -f conf$$subs.sh
11785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11786 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11790 s/^/S["/; s
/!.
*/"]=/
11800 s/\(.\{148\}\).*/\1/
11802 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11807 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11814 s/\(.\{148\}\).*/\1/
11816 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11820 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11825 ' <conf$$subs.awk | sed '
11830 ' >>$CONFIG_STATUS || ac_write_fail=1
11831 rm -f conf$$subs.awk
11832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11834 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11835 for (key in S) S_is_set[key] = 1
11841 nfields = split(line, field, "@
")
11843 len = length(field[1])
11844 for (i = 2; i < nfields; i++) {
11846 keylen = length(key)
11847 if (S_is_set[key]) {
11849 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11850 len += length(value) + length(field[++i])
11861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11862 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11863 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11866 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11867 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11870 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11871 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11872 # trailing colons and then remove the whole line if VPATH becomes empty
11873 # (actually we leave an empty line to preserve line numbers).
11874 if test "x
$srcdir" = x.; then
11875 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11876 s/:*\$(srcdir):*/:/
11877 s/:*\${srcdir}:*/:/
11879 s/^\([^=]*=[ ]*\):*/\1/
11885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11886 fi # test -n "$CONFIG_FILES"
11888 # Set up the scripts for CONFIG_HEADERS section.
11889 # No need to generate them if there are no CONFIG_HEADERS.
11890 # This happens for instance with `./config.status Makefile'.
11891 if test -n "$CONFIG_HEADERS"; then
11892 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11896 # Transform confdefs.h into an awk script `defines.awk', embedded as
11897 # here-document in config.status, that substitutes the proper values into
11898 # config.h.in to produce config.h.
11900 # Create a delimiter string that does not exist in confdefs.h, to ease
11901 # handling of long lines.
11903 for ac_last_try in false false :; do
11904 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11905 if test -z "$ac_t"; then
11907 elif $ac_last_try; then
11908 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11910 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11914 # For the awk script, D is an array of macro values keyed by name,
11915 # likewise P contains macro parameters if any. Preserve backslash
11916 # newline sequences.
11918 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11920 s/.\{148\}/&'"$ac_delim"'/g
11923 s/^[ ]*#[ ]*define[ ][ ]*/ /
11930 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11932 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11936 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11937 D["\
1"]=" \
3\\\\\\n
"\\/p
11939 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11944 s/.\{148\}/&'"$ac_delim"'/g
11949 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11952 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11954 ' <confdefs.h | sed '
11955 s/'"$ac_delim"'/"\\\
11956 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11959 for (key in D) D_is_set[key] = 1
11962 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11964 split(line, arg, " ")
11965 if (arg[1] == "#") {
11969 defundef
= substr
(arg
[1], 2)
11972 split(mac1
, mac2
, "(") #)
11974 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11975 if (D_is_set
[macro
]) {
11976 # Preserve the white space surrounding the "#".
11977 print prefix
"define", macro P
[macro
] D
[macro
]
11980 # Replace #undef with comments. This is necessary, for example,
11981 # in the case of _POSIX_SOURCE, which is predefined and required
11982 # on some systems where configure will not decide to define it.
11983 if (defundef
== "undef") {
11984 print
"/*", prefix defundef
, macro
, "*/"
11992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11993 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
11994 fi # test -n "$CONFIG_HEADERS"
11997 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12002 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12004 case $ac_mode$ac_tag in
12006 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12007 :[FH
]-) ac_tag
=-:-;;
12008 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12025 -) ac_f
="$tmp/stdin";;
12026 *) # Look for the file first in the build tree, then in the source tree
12027 # (if the path is not absolute). The absolute path cannot be DOS-style,
12028 # because $ac_f cannot contain `:'.
12032 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12034 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12036 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12037 as_fn_append ac_file_inputs
" '$ac_f'"
12040 # Let's still pretend it is `configure' which instantiates (i.e., don't
12041 # use $as_me), people would be surprised to read:
12042 # /* config.h. Generated by config.status. */
12043 configure_input
='Generated from '`
12044 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12046 if test x
"$ac_file" != x-
; then
12047 configure_input
="$ac_file. $configure_input"
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12049 $as_echo "$as_me: creating $ac_file" >&6;}
12051 # Neutralize special characters interpreted by sed in replacement strings.
12052 case $configure_input in #(
12053 *\
&* |
*\|
* |
*\\* )
12054 ac_sed_conf_input
=`$as_echo "$configure_input" |
12055 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12056 *) ac_sed_conf_input
=$configure_input;;
12060 *:-:* |
*:-) cat >"$tmp/stdin" \
12061 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12066 ac_dir
=`$as_dirname -- "$ac_file" ||
12067 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12068 X"$ac_file" : 'X\(//\)[^/]' \| \
12069 X"$ac_file" : 'X\(//\)$' \| \
12070 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12071 $as_echo X"$ac_file" |
12072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12076 /^X\(\/\/\)[^/].*/{
12089 as_dir
="$ac_dir"; as_fn_mkdir_p
12093 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12095 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12096 # A ".." for each directory in $ac_dir_suffix.
12097 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12098 case $ac_top_builddir_sub in
12099 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12100 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12103 ac_abs_top_builddir
=$ac_pwd
12104 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12105 # for backward compatibility:
12106 ac_top_builddir
=$ac_top_build_prefix
12109 .
) # We are building in place.
12111 ac_top_srcdir
=$ac_top_builddir_sub
12112 ac_abs_top_srcdir
=$ac_pwd ;;
12113 [\\/]* | ?
:[\\/]* ) # Absolute name.
12114 ac_srcdir
=$srcdir$ac_dir_suffix;
12115 ac_top_srcdir
=$srcdir
12116 ac_abs_top_srcdir
=$srcdir ;;
12117 *) # Relative name.
12118 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12119 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12120 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12122 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12132 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12133 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
12135 ac_MKDIR_P
=$MKDIR_P
12137 [\\/$
]* | ?
:[\\/]* ) ;;
12138 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
12142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12143 # If the template does not know about datarootdir, expand it.
12144 # FIXME: This hack should be removed a few years after 2.60.
12145 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12156 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12157 *datarootdir
*) ac_datarootdir_seen
=yes;;
12158 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12160 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12163 ac_datarootdir_hack='
12164 s&@datadir@&$datadir&g
12165 s&@docdir@&$docdir&g
12166 s&@infodir@&$infodir&g
12167 s&@localedir@&$localedir&g
12168 s&@mandir@&$mandir&g
12169 s&\\\${datarootdir}&$datarootdir&g' ;;
12173 # Neutralize VPATH when `$srcdir' = `.'.
12174 # Shell code in configure.ac might set extrasub.
12175 # FIXME: do we really want to maintain this feature?
12176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12177 ac_sed_extra="$ac_vpsub
12180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12182 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12183 s|@configure_input@|
$ac_sed_conf_input|
;t t
12184 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12185 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12186 s
&@srcdir@
&$ac_srcdir&;t t
12187 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12188 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12189 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12190 s
&@builddir@
&$ac_builddir&;t t
12191 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12192 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12193 s
&@INSTALL@
&$ac_INSTALL&;t t
12194 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
12195 $ac_datarootdir_hack
12197 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12198 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12200 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12201 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12202 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12204 which seems to be undefined. Please make sure it is defined." >&5
12205 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12206 which seems to be undefined. Please make sure it is defined." >&2;}
12210 -) cat "$tmp/out" && rm -f "$tmp/out";;
12211 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12213 || as_fn_error "could not create $ac_file" "$LINENO" 5
12219 if test x"$ac_file" != x-; then
12221 $as_echo "/* $configure_input */" \
12222 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12223 } >"$tmp/config.h" \
12224 || as_fn_error "could not create $ac_file" "$LINENO" 5
12225 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12227 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12230 mv "$tmp/config.h" "$ac_file" \
12231 || as_fn_error "could not create $ac_file" "$LINENO" 5
12234 $as_echo "/* $configure_input */" \
12235 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12236 || as_fn_error "could not create -" "$LINENO" 5
12238 # Compute "$ac_file"'s index
in $config_headers.
12241 for _am_header
in $config_headers :; do
12242 case $_am_header in
12243 $_am_arg |
$_am_arg:* )
12246 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12249 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12250 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12251 X"$_am_arg" : 'X\(//\)[^/]' \| \
12252 X"$_am_arg" : 'X\(//\)$' \| \
12253 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12254 $as_echo X"$_am_arg" |
12255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12259 /^X\(\/\/\)[^/].*/{
12271 s/.*/./; q'`/stamp-h
$_am_stamp_count
12274 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12275 $as_echo "$as_me: executing $ac_file commands" >&6;}
12280 case $ac_file$ac_mode in
12282 # Only add multilib support code if we just rebuilt the top-level
12284 case " $CONFIG_FILES " in
12286 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
12289 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
12290 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12291 # are listed without --file. Let's play safe and only enable the eval
12292 # if we detect the quoting.
12293 case $CONFIG_FILES in
12294 *\'*) eval set x
"$CONFIG_FILES" ;;
12295 *) set x
$CONFIG_FILES ;;
12300 # Strip MF so we end up with the name of the file.
12301 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12302 # Check whether this is an Automake generated Makefile or not.
12303 # We used to match only the files named `Makefile.in', but
12304 # some people rename them; so instead we look at the file content.
12305 # Grep'ing the first line is not enough: some people post-process
12306 # each Makefile.in and add a new line on top of each file to say so.
12307 # Grep'ing the whole file is not good either: AIX grep has a line
12308 # limit of 2048, but all sed's we know have understand at least 4000.
12309 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
12310 dirpart
=`$as_dirname -- "$mf" ||
12311 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12312 X"$mf" : 'X\(//\)[^/]' \| \
12313 X"$mf" : 'X\(//\)$' \| \
12314 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12320 /^X\(\/\/\)[^/].*/{
12336 # Extract the definition of DEPDIR, am__include, and am__quote
12337 # from the Makefile without running `make'.
12338 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
12339 test -z "$DEPDIR" && continue
12340 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
12341 test -z "am__include" && continue
12342 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
12343 # When using ansi2knr, U may be empty or an underscore; expand it
12344 U
=`sed -n 's/^U = //p' < "$mf"`
12345 # Find all dependency output files, they are included files with
12346 # $(DEPDIR) in their names. We invoke sed twice because it is the
12347 # simplest approach to changing $(DEPDIR) to its actual value in the
12349 for file in `sed -n "
12350 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12351 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12352 # Make sure the directory exists.
12353 test -f "$dirpart/$file" && continue
12354 fdir
=`$as_dirname -- "$file" ||
12355 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12356 X"$file" : 'X\(//\)[^/]' \| \
12357 X"$file" : 'X\(//\)$' \| \
12358 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12359 $as_echo X"$file" |
12360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12364 /^X\(\/\/\)[^/].*/{
12377 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
12378 # echo "creating $dirpart/$file"
12379 echo '# dummy' > "$dirpart/$file"
12391 ac_clean_files
=$ac_clean_files_save
12393 test $ac_write_fail = 0 ||
12394 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
12397 # configure is writing to config.log, and then calls config.status.
12398 # config.status does its own redirection, appending to config.log.
12399 # Unfortunately, on DOS this fails, as config.log is still kept open
12400 # by configure, so config.status won't be able to write to it; its
12401 # output is simply discarded. So we exec the FD to /dev/null,
12402 # effectively closing config.log, so it can be properly (re)opened and
12403 # appended to by config.status. When coming back to configure, we
12404 # need to make the FD available again.
12405 if test "$no_create" != yes; then
12407 ac_config_status_args
=
12408 test "$silent" = yes &&
12409 ac_config_status_args
="$ac_config_status_args --quiet"
12411 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12413 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12414 # would make configure fail if this is the last instruction.
12415 $ac_cs_success || as_fn_exit $?
12417 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12419 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}