2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL
=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec
; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo
; then
545 # Avoid inline document here, it may be left over
547 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $echo works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo
; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
568 if test -z "$ECHO"; then
569 if test "X${echo_test_string+set}" != Xset
; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
574 echo_test_string
=`eval $cmd` &&
575 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
582 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
583 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
584 test "X$echo_testing_string" = "X$echo_test_string"; then
587 # The Solaris, AIX, and Digital Unix default echo programs unquote
588 # backslashes. This makes it impossible to quote backslashes using
589 # echo "$something" | sed 's/\\/\\\\/g'
591 # So, first we look for a working echo in the user's PATH.
593 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
594 for dir
in $PATH /usr
/ucb
; do
596 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
597 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
598 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
599 test "X$echo_testing_string" = "X$echo_test_string"; then
606 if test "X$echo" = Xecho
; then
607 # We didn't find a better echo, so look for alternatives.
608 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # This shell has a builtin print -r that does the trick.
613 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
614 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
615 # If we have ksh, try running configure again with it.
616 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
617 export ORIGINAL_CONFIG_SHELL
618 CONFIG_SHELL
=/bin
/ksh
620 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
625 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
626 test "X$echo_testing_string" = "X$echo_test_string"; then
629 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
630 test "X$echo_testing_string" = 'X\t' &&
631 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
635 SHELL
="$CONFIG_SHELL"
637 echo="$CONFIG_SHELL $0 --fallback-echo"
638 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
639 test "X$echo_testing_string" = 'X\t' &&
640 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
641 test "X$echo_testing_string" = "X$echo_test_string"; then
642 echo="$CONFIG_SHELL $0 --fallback-echo"
644 # maybe with a smaller string...
647 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
648 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
655 if test "$prev" != 'sed 50q "$0"'; then
656 echo_test_string
=`eval $prev`
657 export echo_test_string
658 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
660 # Oops. We lost completely, so just stick with echo.
669 # Copy echo and quote the copy suitably for passing to libtool from
670 # the Makefile, instead of quoting the original, which is used later.
672 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
673 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
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.
707 ac_unique_file
="main.c"
708 ac_unique_file
="header.h"
709 # Factoring default headers for most tests.
710 ac_includes_default
="\
712 #ifdef HAVE_SYS_TYPES_H
713 # include <sys/types.h>
715 #ifdef HAVE_SYS_STAT_H
716 # include <sys/stat.h>
722 # ifdef HAVE_STDLIB_H
727 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
732 #ifdef HAVE_STRINGS_H
733 # include <strings.h>
735 #ifdef HAVE_INTTYPES_H
736 # include <inttypes.h>
745 ac_subst_vars
='am__EXEEXT_FALSE
755 INSTALL_LIBOPTS_FALSE
798 INSTALL_STRIP_PROGRAM
840 program_transform_name
853 enable_option_checking
854 enable_dependency_tracking
863 enable_libopts_install
872 ac_precious_vars
='build_alias
883 # Initialize some variables set by options.
885 ac_init_version
=false
886 ac_unrecognized_opts
=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
897 program_transform_name
=s
,x
,x
,
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir
='${exec_prefix}/bin'
912 sbindir
='${exec_prefix}/sbin'
913 libexecdir
='${exec_prefix}/libexec'
914 datarootdir
='${prefix}/share'
915 datadir
='${datarootdir}'
916 sysconfdir
='${prefix}/etc'
917 sharedstatedir
='${prefix}/com'
918 localstatedir
='${prefix}/var'
919 includedir
='${prefix}/include'
920 oldincludedir
='/usr/include'
921 docdir
='${datarootdir}/doc/${PACKAGE}'
922 infodir
='${datarootdir}/info'
927 libdir
='${exec_prefix}/lib'
928 localedir
='${datarootdir}/locale'
929 mandir
='${datarootdir}/man'
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\
$ac_option
943 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
947 # Accept the important Cygnus configure options, so we can diagnose typos.
949 case $ac_dashdash$ac_option in
953 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
955 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
958 -build |
--build |
--buil |
--bui |
--bu)
959 ac_prev
=build_alias
;;
960 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
961 build_alias
=$ac_optarg ;;
963 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
964 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
965 ac_prev
=cache_file
;;
966 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
967 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
968 cache_file
=$ac_optarg ;;
971 cache_file
=config.cache
;;
973 -datadir |
--datadir |
--datadi |
--datad)
975 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
976 datadir
=$ac_optarg ;;
978 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
979 |
--dataroo |
--dataro |
--datar)
980 ac_prev
=datarootdir
;;
981 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
982 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
983 datarootdir
=$ac_optarg ;;
985 -disable-* |
--disable-*)
986 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
989 as_fn_error
"invalid feature name: $ac_useropt"
990 ac_useropt_orig
=$ac_useropt
991 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
997 ac_unrecognized_sep
=', ';;
999 eval enable_
$ac_useropt=no
;;
1001 -docdir |
--docdir |
--docdi |
--doc |
--do)
1003 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1004 docdir
=$ac_optarg ;;
1006 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1008 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1009 dvidir
=$ac_optarg ;;
1011 -enable-* |
--enable-*)
1012 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1015 as_fn_error
"invalid feature name: $ac_useropt"
1016 ac_useropt_orig
=$ac_useropt
1017 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_
$ac_useropt"
1022 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1023 ac_unrecognized_sep
=', ';;
1025 eval enable_
$ac_useropt=\
$ac_optarg ;;
1027 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1028 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1029 |
--exec |
--exe |
--ex)
1030 ac_prev
=exec_prefix
;;
1031 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1032 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1033 |
--exec=* |
--exe=* |
--ex=*)
1034 exec_prefix
=$ac_optarg ;;
1036 -gas |
--gas |
--ga |
--g)
1037 # Obsolete; use --with-gas.
1040 -help |
--help |
--hel |
--he |
-h)
1041 ac_init_help
=long
;;
1042 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1043 ac_init_help
=recursive
;;
1044 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1045 ac_init_help
=short
;;
1047 -host |
--host |
--hos |
--ho)
1048 ac_prev
=host_alias
;;
1049 -host=* |
--host=* |
--hos=* |
--ho=*)
1050 host_alias
=$ac_optarg ;;
1052 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1054 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1056 htmldir
=$ac_optarg ;;
1058 -includedir |
--includedir |
--includedi |
--included |
--include \
1059 |
--includ |
--inclu |
--incl |
--inc)
1060 ac_prev
=includedir
;;
1061 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1062 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1063 includedir
=$ac_optarg ;;
1065 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1067 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1068 infodir
=$ac_optarg ;;
1070 -libdir |
--libdir |
--libdi |
--libd)
1072 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1073 libdir
=$ac_optarg ;;
1075 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1076 |
--libexe |
--libex |
--libe)
1077 ac_prev
=libexecdir
;;
1078 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1079 |
--libexe=* |
--libex=* |
--libe=*)
1080 libexecdir
=$ac_optarg ;;
1082 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1083 ac_prev
=localedir
;;
1084 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1085 localedir
=$ac_optarg ;;
1087 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1088 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1089 ac_prev
=localstatedir
;;
1090 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1091 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1092 localstatedir
=$ac_optarg ;;
1094 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1096 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1097 mandir
=$ac_optarg ;;
1099 -nfp |
--nfp |
--nf)
1100 # Obsolete; use --without-fp.
1103 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1104 |
--no-cr |
--no-c |
-n)
1107 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1108 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1111 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1112 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1113 |
--oldin |
--oldi |
--old |
--ol |
--o)
1114 ac_prev
=oldincludedir
;;
1115 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1116 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1117 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1118 oldincludedir
=$ac_optarg ;;
1120 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1122 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1123 prefix
=$ac_optarg ;;
1125 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1126 |
--program-pre |
--program-pr |
--program-p)
1127 ac_prev
=program_prefix
;;
1128 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1129 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1130 program_prefix
=$ac_optarg ;;
1132 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1133 |
--program-suf |
--program-su |
--program-s)
1134 ac_prev
=program_suffix
;;
1135 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1136 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1137 program_suffix
=$ac_optarg ;;
1139 -program-transform-name |
--program-transform-name \
1140 |
--program-transform-nam |
--program-transform-na \
1141 |
--program-transform-n |
--program-transform- \
1142 |
--program-transform |
--program-transfor \
1143 |
--program-transfo |
--program-transf \
1144 |
--program-trans |
--program-tran \
1145 |
--progr-tra |
--program-tr |
--program-t)
1146 ac_prev
=program_transform_name
;;
1147 -program-transform-name=* |
--program-transform-name=* \
1148 |
--program-transform-nam=* |
--program-transform-na=* \
1149 |
--program-transform-n=* |
--program-transform-=* \
1150 |
--program-transform=* |
--program-transfor=* \
1151 |
--program-transfo=* |
--program-transf=* \
1152 |
--program-trans=* |
--program-tran=* \
1153 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1154 program_transform_name
=$ac_optarg ;;
1156 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1158 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1159 pdfdir
=$ac_optarg ;;
1161 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1163 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1166 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1167 |
-silent |
--silent |
--silen |
--sile |
--sil)
1170 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1172 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1174 sbindir
=$ac_optarg ;;
1176 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1177 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1178 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1180 ac_prev
=sharedstatedir
;;
1181 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1182 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1183 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1185 sharedstatedir
=$ac_optarg ;;
1187 -site |
--site |
--sit)
1189 -site=* |
--site=* |
--sit=*)
1192 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1194 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1195 srcdir
=$ac_optarg ;;
1197 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1198 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1199 ac_prev
=sysconfdir
;;
1200 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1201 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1202 sysconfdir
=$ac_optarg ;;
1204 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1205 ac_prev
=target_alias
;;
1206 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1207 target_alias
=$ac_optarg ;;
1209 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1212 -version |
--version |
--versio |
--versi |
--vers |
-V)
1213 ac_init_version
=: ;;
1216 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1219 as_fn_error
"invalid package name: $ac_useropt"
1220 ac_useropt_orig
=$ac_useropt
1221 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1226 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1227 ac_unrecognized_sep
=', ';;
1229 eval with_
$ac_useropt=\
$ac_optarg ;;
1231 -without-* |
--without-*)
1232 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1235 as_fn_error
"invalid package name: $ac_useropt"
1236 ac_useropt_orig
=$ac_useropt
1237 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1242 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1243 ac_unrecognized_sep
=', ';;
1245 eval with_
$ac_useropt=no
;;
1248 # Obsolete; use --with-x.
1251 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1252 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1253 ac_prev
=x_includes
;;
1254 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1255 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1256 x_includes
=$ac_optarg ;;
1258 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1259 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1260 ac_prev
=x_libraries
;;
1261 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1262 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1263 x_libraries
=$ac_optarg ;;
1265 -*) as_fn_error
"unrecognized option: \`$ac_option'
1266 Try \`$0 --help' for more information."
1270 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 case $ac_envvar in #(
1273 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1274 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1276 eval $ac_envvar=\
$ac_optarg
1277 export $ac_envvar ;;
1280 # FIXME: should be removed in autoconf 3.0.
1281 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1283 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1284 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290 if test -n "$ac_prev"; then
1291 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1292 as_fn_error
"missing argument to $ac_option"
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1298 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1303 # Check all directory arguments for consistency.
1304 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1305 datadir sysconfdir sharedstatedir localstatedir includedir \
1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1307 libdir localedir mandir
1309 eval ac_val
=\$
$ac_var
1310 # Remove trailing slashes.
1313 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1314 eval $ac_var=\
$ac_val;;
1316 # Be sure to have absolute directory names.
1318 [\\/$
]* | ?
:[\\/]* ) continue;;
1319 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1321 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1324 # There might be people who depend on the old broken behavior: `$host'
1325 # used to hold the argument of --host etc.
1326 # FIXME: To remove some day.
1329 target
=$target_alias
1331 # FIXME: To remove some day.
1332 if test "x$host_alias" != x
; then
1333 if test "x$build_alias" = x
; then
1334 cross_compiling
=maybe
1335 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1336 If a cross compiler is detected then cross compile mode will be used." >&2
1337 elif test "x$build_alias" != "x$host_alias"; then
1343 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1345 test "$silent" = yes && exec 6>/dev
/null
1348 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1349 ac_ls_di
=`ls -di .` &&
1350 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1351 as_fn_error
"working directory cannot be determined"
1352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1353 as_fn_error
"pwd does not report name of working directory"
1356 # Find the source files, if location was not specified.
1357 if test -z "$srcdir"; then
1358 ac_srcdir_defaulted
=yes
1359 # Try the directory containing this script, then the parent directory.
1360 ac_confdir
=`$as_dirname -- "$as_myself" ||
1361 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362 X"$as_myself" : 'X\(//\)[^/]' \| \
1363 X"$as_myself" : 'X\(//\)$' \| \
1364 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1365 $as_echo X"$as_myself" |
1366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1388 ac_srcdir_defaulted
=no
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1391 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1392 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1394 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1396 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1398 # When building in place, set srcdir=.
1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
1402 # Remove unnecessary trailing slashes from srcdir.
1403 # Double slashes in file names in object file debugging info
1404 # mess up M-x gdb in Emacs.
1406 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1408 for ac_var
in $ac_precious_vars; do
1409 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1410 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1411 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1412 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1416 # Report the --help message.
1418 if test "$ac_init_help" = "long"; then
1419 # Omit some internal or obsolete options to make the list less imposing.
1420 # This message is too long to be a string in the A/UX 3.1 sh.
1422 \`configure' configures this package to adapt to many kinds of systems.
1424 Usage: $0 [OPTION]... [VAR=VALUE]...
1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1427 VAR=VALUE. See below for descriptions of some of the useful variables.
1429 Defaults for the options are specified in brackets.
1432 -h, --help display this help and exit
1433 --help=short display options specific to this package
1434 --help=recursive display the short help of all the included packages
1435 -V, --version display version information and exit
1436 -q, --quiet, --silent do not print \`checking...' messages
1437 --cache-file=FILE cache test results in FILE [disabled]
1438 -C, --config-cache alias for \`--cache-file=config.cache'
1439 -n, --no-create do not create output files
1440 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1442 Installation directories:
1443 --prefix=PREFIX install architecture-independent files in PREFIX
1444 [$ac_default_prefix]
1445 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1448 By default, \`make install' will install all the files in
1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1451 for instance \`--prefix=\$HOME'.
1453 For better control, use the options below.
1455 Fine tuning of the installation directories:
1456 --bindir=DIR user executables [EPREFIX/bin]
1457 --sbindir=DIR system admin executables [EPREFIX/sbin]
1458 --libexecdir=DIR program executables [EPREFIX/libexec]
1459 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1460 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1461 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1462 --libdir=DIR object code libraries [EPREFIX/lib]
1463 --includedir=DIR C header files [PREFIX/include]
1464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1467 --infodir=DIR info documentation [DATAROOTDIR/info]
1468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1469 --mandir=DIR man documentation [DATAROOTDIR/man]
1470 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1471 --htmldir=DIR html documentation [DOCDIR]
1472 --dvidir=DIR dvi documentation [DOCDIR]
1473 --pdfdir=DIR pdf documentation [DOCDIR]
1474 --psdir=DIR ps documentation [DOCDIR]
1480 --program-prefix=PREFIX prepend PREFIX to installed program names
1481 --program-suffix=SUFFIX append SUFFIX to installed program names
1482 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1485 --build=BUILD configure
for building on BUILD
[guessed
]
1486 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1490 if test -n "$ac_init_help"; then
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 --disable-dependency-tracking speeds up one-time build
1499 --enable-dependency-tracking do not reject slow dependency extractors
1500 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1501 --enable-static[=PKGS
] build static libraries
[default
=yes]
1502 --enable-fast-install[=PKGS
]
1503 optimize
for fast installation
[default
=yes]
1504 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1505 --enable-local-libopts Force using the supplied libopts tearoff code
1506 --disable-libopts-install
1507 Do not
install libopts with client installation
1508 --disable-optional-args not wanting optional option args
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
]
1517 --with-autoopts-config specify the config-info
script
1518 --with-regex-header a reg
expr header is specified
1519 --with-libregex libregex installation prefix
1520 --with-libregex-cflags libregex compile flags
1521 --with-libregex-libs libregex link
command arguments
1522 --with-binsubdir bin
={bin
,sbin
}
1524 Some influential environment variables
:
1525 CC C compiler
command
1526 CFLAGS C compiler flags
1527 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1528 nonstandard directory
<lib dir
>
1529 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1530 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1531 you have headers
in a nonstandard directory
<include dir
>
1534 Use these variables to override the choices made by
`configure' or to help
1535 it to find libraries and programs with nonstandard names/locations.
1537 Report bugs to the package provider.
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1561 ac_abs_top_builddir=$ac_pwd
1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir=$ac_top_build_prefix
1567 .) # We are building in place.
1569 ac_top_srcdir=$ac_top_builddir_sub
1570 ac_abs_top_srcdir=$ac_pwd ;;
1571 [\\/]* | ?:[\\/]* ) # Absolute name.
1572 ac_srcdir=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir=$srcdir
1574 ac_abs_top_srcdir=$srcdir ;;
1576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" || { ac_status=$?; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 cd "$ac_pwd" || { ac_status=$?; break; }
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1601 generated by GNU Autoconf 2.65
1603 Copyright (C) 2009 Free Software Foundation, Inc.
1604 This configure script is free software; the Free Software Foundation
1605 gives unlimited permission to copy, distribute and modify it.
1610 ## ------------------------ ##
1611 ## Autoconf initialization. ##
1612 ## ------------------------ ##
1614 # ac_fn_c_try_compile LINENO
1615 # --------------------------
1616 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1617 ac_fn_c_try_compile ()
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 rm -f conftest.$ac_objext
1621 if { { ac_try="$ac_compile"
1623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1624 *) ac_try_echo
=$ac_try;;
1626 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628 (eval "$ac_compile") 2>conftest.err
1630 if test -s conftest.err
; then
1631 grep -v '^ *+' conftest.err
>conftest.er1
1632 cat conftest.er1
>&5
1633 mv -f conftest.er1 conftest.err
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; } && {
1637 test -z "$ac_c_werror_flag" ||
1638 test ! -s conftest.err
1639 } && test -s conftest.
$ac_objext; then :
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.
$ac_ext >&5
1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1648 as_fn_set_status
$ac_retval
1650 } # ac_fn_c_try_compile
1652 # ac_fn_c_try_link LINENO
1653 # -----------------------
1654 # Try to link conftest.$ac_ext, and return whether this succeeded.
1657 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1658 rm -f conftest.
$ac_objext conftest
$ac_exeext
1659 if { { ac_try
="$ac_link"
1661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_link") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && {
1675 test -z "$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1677 } && test -s conftest$ac_exeext && {
1678 test "$cross_compiling" = yes ||
1679 $as_test_x conftest$ac_exeext
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.$ac_ext >&5
1688 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1689 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1690 # interfere with the next link command; also delete a directory that is
1691 # left behind by Apple's compiler. We do this before executing the actions.
1692 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694 as_fn_set_status $ac_retval
1696 } # ac_fn_c_try_link
1698 # ac_fn_c_try_cpp LINENO
1699 # ----------------------
1700 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 if { { ac_try="$ac_cpp conftest.$ac_ext"
1706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1707 *) ac_try_echo
=$ac_try;;
1709 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1713 if test -s conftest.err
; then
1714 grep -v '^ *+' conftest.err
>conftest.er1
1715 cat conftest.er1
>&5
1716 mv -f conftest.er1 conftest.err
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; } >/dev
/null
&& {
1720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1721 test ! -s conftest.err
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.
$ac_ext >&5
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1731 as_fn_set_status
$ac_retval
1735 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1738 # the include files in INCLUDES and setting the cache variable VAR
1740 ac_fn_c_check_header_mongrel
()
1742 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1743 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1747 $as_echo_n "(cached) " >&6
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1753 # Is the header compilable?
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1755 $as_echo_n "checking $2 usability... " >&6; }
1756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1761 if ac_fn_c_try_compile
"$LINENO"; then :
1762 ac_header_compiler
=yes
1764 ac_header_compiler
=no
1766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1768 $as_echo "$ac_header_compiler" >&6; }
1770 # Is the header present?
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1772 $as_echo_n "checking $2 presence... " >&6; }
1773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h. */
1777 if ac_fn_c_try_cpp
"$LINENO"; then :
1778 ac_header_preproc
=yes
1780 ac_header_preproc
=no
1782 rm -f conftest.err conftest.
$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1784 $as_echo "$ac_header_preproc" >&6; }
1786 # So? What about this header?
1787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1790 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1792 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1796 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1798 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1800 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1802 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1804 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&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
;}
1860 as_fn_set_status
$ac_retval
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
2016 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2017 # --------------------------------------------
2018 # Tries to find the compile-time value of EXPR in a program that includes
2019 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2021 ac_fn_c_compute_int
()
2023 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2024 if test "$cross_compiling" = yes; then
2025 # Depending upon the size, compute the lo and hi bounds.
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 static int test_array [1 - 2 * !(($2) >= 0)];
2039 if ac_fn_c_try_compile
"$LINENO"; then :
2042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2048 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2055 if ac_fn_c_try_compile
"$LINENO"; then :
2056 ac_hi
=$ac_mid; break
2058 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2059 if test $ac_lo -le $ac_mid; then
2063 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2074 static int test_array [1 - 2 * !(($2) < 0)];
2081 if ac_fn_c_try_compile
"$LINENO"; then :
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2090 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2097 if ac_fn_c_try_compile
"$LINENO"; then :
2098 ac_lo
=$ac_mid; break
2100 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2101 if test $ac_mid -le $ac_hi; then
2105 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2115 # Binary search between lo and hi bounds.
2116 while test "x$ac_lo" != "x$ac_hi"; do
2117 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2131 if ac_fn_c_try_compile
"$LINENO"; then :
2134 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2139 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2146 static long int longval () { return $2; }
2147 static unsigned long int ulongval () { return $2; }
2154 FILE *f = fopen ("conftest.val", "w");
2159 long int i = longval ();
2162 fprintf (f, "%ld", i);
2166 unsigned long int i = ulongval ();
2169 fprintf (f, "%lu", i);
2171 /* Do not output a trailing newline, as this causes \r\n confusion
2172 on some platforms. */
2173 return ferror (f) || fclose (f) != 0;
2179 if ac_fn_c_try_run
"$LINENO"; then :
2180 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2184 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2185 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2189 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2190 as_fn_set_status
$ac_retval
2192 } # ac_fn_c_compute_int
2193 cat >config.log
<<_ACEOF
2194 This file contains any messages produced by compilers while
2195 running configure, to aid debugging if configure makes a mistake.
2197 It was created by $as_me, which was
2198 generated by GNU Autoconf 2.65. Invocation command line was
2210 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2211 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2212 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2213 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2214 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2216 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2217 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2219 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2220 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2221 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2222 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2223 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2224 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2225 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 $as_echo "PATH: $as_dir"
2250 # Keep a trace of the command line.
2251 # Strip out --no-create and --no-recursion so they do not pile up.
2252 # Strip out --silent because we don't want to record it for future runs.
2253 # Also quote any args containing shell meta-characters.
2254 # Make two passes to allow for proper duplicate-argument suppression.
2258 ac_must_keep_next
=false
2264 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2265 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2266 |
-silent |
--silent |
--silen |
--sile |
--sil)
2269 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2272 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2274 as_fn_append ac_configure_args1
" '$ac_arg'"
2275 if test $ac_must_keep_next = true
; then
2276 ac_must_keep_next
=false
# Got value, back to normal.
2279 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2280 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2281 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2282 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2283 case "$ac_configure_args0 " in
2284 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2287 -* ) ac_must_keep_next
=true
;;
2290 as_fn_append ac_configure_args
" '$ac_arg'"
2295 { ac_configure_args0
=; unset ac_configure_args0
;}
2296 { ac_configure_args1
=; unset ac_configure_args1
;}
2298 # When interrupted or exit'd, cleanup temporary files, and complete
2299 # config.log. We remove comments because anyway the quotes in there
2300 # would cause problems or look ugly.
2301 # WARNING: Use '\'' to represent an apostrophe within the trap.
2302 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2303 trap 'exit_status=$?
2304 # Save into config.log some information that might help in debugging.
2309 ## ---------------- ##
2310 ## Cache variables. ##
2311 ## ---------------- ##
2314 # The following way of writing the cache mishandles newlines in values,
2316 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2317 eval ac_val=\$$ac_var
2321 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2322 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2325 _ | IFS | as_nl) ;; #(
2326 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2327 *) { eval $ac_var=; unset $ac_var;} ;;
2332 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2333 *${as_nl}ac_space=\ *)
2335 "s/'\''/'\''\\\\'\'''\''/g;
2336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2339 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2347 ## ----------------- ##
2348 ## Output variables. ##
2349 ## ----------------- ##
2352 for ac_var in $ac_subst_vars
2354 eval ac_val=\$$ac_var
2356 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2358 $as_echo "$ac_var='\''$ac_val'\''"
2362 if test -n "$ac_subst_files"; then
2364 ## ------------------- ##
2365 ## File substitutions. ##
2366 ## ------------------- ##
2369 for ac_var
in $ac_subst_files
2371 eval ac_val
=\$
$ac_var
2373 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2375 $as_echo "$ac_var='\''$ac_val'\''"
2380 if test -s confdefs.h; then
2390 test "$ac_signal" != 0 &&
2391 $as_echo "$as_me: caught signal $ac_signal"
2392 $as_echo "$as_me: exit $exit_status"
2394 rm -f core *.core core.conftest.* &&
2395 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2398 for ac_signal
in 1 2 13 15; do
2399 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2403 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2404 rm -f -r conftest
* confdefs.h
2406 $as_echo "/* confdefs.h */" > confdefs.h
2408 # Predefined preprocessor variables.
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_NAME "$PACKAGE_NAME"
2414 cat >>confdefs.h
<<_ACEOF
2415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2418 cat >>confdefs.h
<<_ACEOF
2419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2422 cat >>confdefs.h
<<_ACEOF
2423 #define PACKAGE_STRING "$PACKAGE_STRING"
2426 cat >>confdefs.h
<<_ACEOF
2427 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2430 cat >>confdefs.h
<<_ACEOF
2431 #define PACKAGE_URL "$PACKAGE_URL"
2435 # Let the site file select an alternate cache file if it wants to.
2436 # Prefer an explicitly selected file to automatically selected ones.
2439 if test -n "$CONFIG_SITE"; then
2440 ac_site_file1
=$CONFIG_SITE
2441 elif test "x$prefix" != xNONE
; then
2442 ac_site_file1
=$prefix/share
/config.site
2443 ac_site_file2
=$prefix/etc
/config.site
2445 ac_site_file1
=$ac_default_prefix/share
/config.site
2446 ac_site_file2
=$ac_default_prefix/etc
/config.site
2448 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2450 test "x$ac_site_file" = xNONE
&& continue
2451 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2453 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2454 sed 's/^/| /' "$ac_site_file" >&5
2459 if test -r "$cache_file"; then
2460 # Some versions of bash will fail to source /dev/null (special files
2461 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2462 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2464 $as_echo "$as_me: loading cache $cache_file" >&6;}
2466 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2467 *) .
"./$cache_file";;
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2472 $as_echo "$as_me: creating cache $cache_file" >&6;}
2476 # Check that the precious variables saved in the cache have kept the same
2478 ac_cache_corrupted
=false
2479 for ac_var
in $ac_precious_vars; do
2480 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2481 eval ac_new_set
=\
$ac_env_${ac_var}_set
2482 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2483 eval ac_new_val
=\
$ac_env_${ac_var}_value
2484 case $ac_old_set,$ac_new_set in
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2487 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2488 ac_cache_corrupted
=: ;;
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2491 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2492 ac_cache_corrupted
=: ;;
2495 if test "x$ac_old_val" != "x$ac_new_val"; then
2496 # differences in whitespace do not lead to failure.
2497 ac_old_val_w
=`echo x $ac_old_val`
2498 ac_new_val_w
=`echo x $ac_new_val`
2499 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2501 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2502 ac_cache_corrupted
=:
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2505 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2506 eval $ac_var=\
$ac_old_val
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2509 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2511 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2514 # Pass precious variables to config.status.
2515 if test "$ac_new_set" = set; then
2517 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2518 *) ac_arg
=$ac_var=$ac_new_val ;;
2520 case " $ac_configure_args " in
2521 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2522 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2526 if $ac_cache_corrupted; then
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2530 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2531 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2533 ## -------------------- ##
2534 ## Main body of script. ##
2535 ## -------------------- ##
2538 ac_cpp
='$CPP $CPPFLAGS'
2539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 am__api_version
='1.11'
2547 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2548 for ac_t
in install-sh
install.sh shtool
; do
2549 if test -f "$ac_dir/$ac_t"; then
2551 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2556 if test -z "$ac_aux_dir"; then
2557 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2560 # These three variables are undocumented and unsupported,
2561 # and are intended to be withdrawn in a future Autoconf release.
2562 # They can cause serious problems if a builder's source tree is in a directory
2563 # whose full name contains unusual characters.
2564 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2565 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2566 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2569 # Find a good install program. We prefer a C program (faster),
2570 # so one script is as good as another. But avoid the broken or
2571 # incompatible versions:
2572 # SysV /etc/install, /usr/sbin/install
2573 # SunOS /usr/etc/install
2574 # IRIX /sbin/install
2576 # AmigaOS /C/install, which installs bootblocks on floppy discs
2577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2580 # OS/2's system install, which has a completely different semantic
2581 # ./install, which can be erroneously created by make from ./install.sh.
2582 # Reject install programs that cannot install multiple files.
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2584 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2585 if test -z "$INSTALL"; then
2586 if test "${ac_cv_path_install+set}" = set; then :
2587 $as_echo_n "(cached) " >&6
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 # Account for people who put trailing slashes in PATH elements.
2595 case $as_dir/ in #((
2596 .
/ | .
// |
/[cC
]/* | \
2597 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2598 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2601 # OSF1 and SCO ODT 3.0 have their own names for install.
2602 # Don't use installbsd from OSF since it installs stuff as root
2604 for ac_prog
in ginstall scoinst
install; do
2605 for ac_exec_ext
in '' $ac_executable_extensions; do
2606 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2607 if test $ac_prog = install &&
2608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2609 # AIX install. It has an incompatible calling convention.
2611 elif test $ac_prog = install &&
2612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2613 # program-specific install script used by HP pwplus--don't use.
2616 rm -rf conftest.one conftest.two conftest.dir
2617 echo one
> conftest.one
2618 echo two
> conftest.two
2620 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2621 test -s conftest.one
&& test -s conftest.two
&&
2622 test -s conftest.dir
/conftest.one
&&
2623 test -s conftest.dir
/conftest.two
2625 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2638 rm -rf conftest.one conftest.two conftest.dir
2641 if test "${ac_cv_path_install+set}" = set; then
2642 INSTALL
=$ac_cv_path_install
2644 # As a last resort, use the slow shell script. Don't cache a
2645 # value for INSTALL within a source directory, because that will
2646 # break other packages using the cache if that directory is
2647 # removed, or if the value is a relative name.
2648 INSTALL
=$ac_install_sh
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2652 $as_echo "$INSTALL" >&6; }
2654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2655 # It thinks the first close brace ends the variable substitution.
2656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2660 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2663 $as_echo_n "checking whether build environment is sane... " >&6; }
2666 echo timestamp
> conftest.
file
2667 # Reject unsafe characters in $srcdir or the absolute working directory
2668 # name. Accept space and tab only in the latter.
2672 *[\\\"\
#\$\&\'\`$am_lf]*)
2673 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2676 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2677 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2680 # Do `set' in a subshell so we don't clobber the current shell's
2681 # arguments. Must try -L first in case configure is actually a
2682 # symlink; some systems play weird games with the mod time of symlinks
2683 # (eg FreeBSD returns the mod time of the symlink's containing
2686 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2687 if test "$*" = "X"; then
2689 set X
`ls -t "$srcdir/configure" conftest.file`
2692 if test "$*" != "X $srcdir/configure conftest.file" \
2693 && test "$*" != "X conftest.file $srcdir/configure"; then
2695 # If neither matched, then we have a broken ls. This can happen
2696 # if, for instance, CONFIG_SHELL is bash and it inherits a
2697 # broken ls alias from the environment. This has actually
2698 # happened. Such a system could not be considered "sane".
2699 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2700 alias in your environment" "$LINENO" 5
2703 test "$2" = conftest.
file
2709 as_fn_error
"newly created file is older than distributed files!
2710 Check your system clock" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2713 $as_echo "yes" >&6; }
2714 test "$program_prefix" != NONE
&&
2715 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2716 # Use a double $ so make ignores it.
2717 test "$program_suffix" != NONE
&&
2718 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2719 # Double any \ or $.
2720 # By default was `s,x,x', remove it if useless.
2721 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2722 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2724 # expand $ac_aux_dir to an absolute path
2725 am_aux_dir
=`cd $ac_aux_dir && pwd`
2727 if test x
"${MISSING+set}" != xset
; then
2730 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2732 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2735 # Use eval to expand $SHELL
2736 if eval "$MISSING --run true"; then
2737 am_missing_run
="$MISSING --run "
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2741 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2744 if test x
"${install_sh}" != xset
; then
2747 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2749 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2753 # Installed binaries are usually stripped using `strip' when the user
2754 # run `make install-strip'. However `strip' might not be the right
2755 # tool to use in cross-compilation environments, therefore Automake
2756 # will honor the `STRIP' environment variable to overrule this program.
2757 if test "$cross_compiling" != no
; then
2758 if test -n "$ac_tool_prefix"; then
2759 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2760 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if test "${ac_cv_prog_STRIP+set}" = set; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$STRIP"; then
2767 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir
=.
2774 for ac_exec_ext
in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 STRIP
=$ac_cv_prog_STRIP
2787 if test -n "$STRIP"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2789 $as_echo "$STRIP" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2797 if test -z "$ac_cv_prog_STRIP"; then
2799 # Extract the first word of "strip", so it can be a program name with args.
2800 set dummy strip
; ac_word
=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$ac_ct_STRIP"; then
2807 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_ac_ct_STRIP
="strip"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2827 if test -n "$ac_ct_STRIP"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2829 $as_echo "$ac_ct_STRIP" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2835 if test "x$ac_ct_STRIP" = x
; then
2838 case $cross_compiling:$ac_tool_warned in
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2842 ac_tool_warned
=yes ;;
2847 STRIP
="$ac_cv_prog_STRIP"
2851 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2854 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2855 if test -z "$MKDIR_P"; then
2856 if test "${ac_cv_path_mkdir+set}" = set; then :
2857 $as_echo_n "(cached) " >&6
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2860 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_prog
in mkdir gmkdir
; do
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2867 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2868 'mkdir (GNU coreutils) '* | \
2869 'mkdir (coreutils) '* | \
2870 'mkdir (fileutils) '4.1*)
2871 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2881 test -d .
/--version && rmdir .
/--version
2882 if test "${ac_cv_path_mkdir+set}" = set; then
2883 MKDIR_P
="$ac_cv_path_mkdir -p"
2885 # As a last resort, use the slow shell script. Don't cache a
2886 # value for MKDIR_P within a source directory, because that will
2887 # break other packages using the cache if that directory is
2888 # removed, or if the value is a relative name.
2889 MKDIR_P
="$ac_install_sh -d"
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2893 $as_echo "$MKDIR_P" >&6; }
2897 [\\/$
]* | ?
:[\\/]*) ;;
2898 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2901 for ac_prog
in gawk mawk nawk
awk
2903 # Extract the first word of "$ac_prog", so it can be a program name with args.
2904 set dummy
$ac_prog; ac_word
=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if test "${ac_cv_prog_AWK+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$AWK"; then
2911 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir
=.
2918 for ac_exec_ext
in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920 ac_cv_prog_AWK
="$ac_prog"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 if test -n "$AWK"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2933 $as_echo "$AWK" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2940 test -n "$AWK" && break
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2944 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2946 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2947 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2948 $as_echo_n "(cached) " >&6
2950 cat >conftest.
make <<\_ACEOF
2953 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2956 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2958 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2960 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2964 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2966 $as_echo "yes" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2971 SET_MAKE
="MAKE=${MAKE-make}"
2974 rm -rf .tst
2>/dev
/null
2975 mkdir .tst
2>/dev
/null
2976 if test -d .tst
; then
2981 rmdir .tst
2>/dev
/null
2983 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2984 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2985 # is not polluted with repeated "-I."
2986 am__isrc
=' -I$(srcdir)'
2987 # test to see if srcdir already configured
2988 if test -f $srcdir/config.status
; then
2989 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2993 # test whether we have cygpath
2994 if test -z "$CYGPATH_W"; then
2995 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2996 CYGPATH_W
='cygpath -w'
3003 # Define the identity of the package.
3008 cat >>confdefs.h
<<_ACEOF
3009 #define PACKAGE "$PACKAGE"
3013 cat >>confdefs.h
<<_ACEOF
3014 #define VERSION "$VERSION"
3017 # Some tools Automake needs.
3019 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3022 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3025 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3028 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3031 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3033 # We need awk for the "check" target. The system "awk" is bad on
3035 # Always define AMTAR for backward compatibility.
3037 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3039 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3046 # Make sure we can run config.sub.
3047 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3048 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3051 $as_echo_n "checking build system type... " >&6; }
3052 if test "${ac_cv_build+set}" = set; then :
3053 $as_echo_n "(cached) " >&6
3055 ac_build_alias
=$build_alias
3056 test "x$ac_build_alias" = x
&&
3057 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3058 test "x$ac_build_alias" = x
&&
3059 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3060 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3061 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3065 $as_echo "$ac_cv_build" >&6; }
3066 case $ac_cv_build in
3068 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3071 ac_save_IFS
=$IFS; IFS
='-'
3077 # Remember, the first character of IFS is used to create $*,
3078 # except with old shells:
3081 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3085 $as_echo_n "checking host system type... " >&6; }
3086 if test "${ac_cv_host+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3089 if test "x$host_alias" = x
; then
3090 ac_cv_host
=$ac_cv_build
3092 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3093 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3098 $as_echo "$ac_cv_host" >&6; }
3101 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3104 ac_save_IFS
=$IFS; IFS
='-'
3110 # Remember, the first character of IFS is used to create $*,
3111 # except with old shells:
3114 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3117 ac_config_headers
="$ac_config_headers config.h"
3120 # Checks for programs.
3122 ac_cpp
='$CPP $CPPFLAGS'
3123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3126 if test -n "$ac_tool_prefix"; then
3127 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3128 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if test "${ac_cv_prog_CC+set}" = set; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$CC"; then
3135 ac_cv_prog_CC
="$CC" # Let the user override the test.
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_exec_ext
in '' $ac_executable_extensions; do
3143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3144 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 if test -n "$CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3157 $as_echo "$CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3165 if test -z "$ac_cv_prog_CC"; then
3167 # Extract the first word of "gcc", so it can be a program name with args.
3168 set dummy gcc
; ac_word
=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -n "$ac_ct_CC"; then
3175 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3184 ac_cv_prog_ac_ct_CC
="gcc"
3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3195 if test -n "$ac_ct_CC"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3197 $as_echo "$ac_ct_CC" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3203 if test "x$ac_ct_CC" = x
; then
3206 case $cross_compiling:$ac_tool_warned in
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3210 ac_tool_warned
=yes ;;
3218 if test -z "$CC"; then
3219 if test -n "$ac_tool_prefix"; then
3220 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3221 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if test "${ac_cv_prog_CC+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC
="$CC" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3259 if test -z "$CC"; then
3260 # Extract the first word of "cc", so it can be a program name with args.
3261 set dummy cc
; ac_word
=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if test "${ac_cv_prog_CC+set}" = set; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$CC"; then
3268 ac_cv_prog_CC
="$CC" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3279 ac_prog_rejected
=yes
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test $ac_prog_rejected = yes; then
3291 # We found a bogon in the path, so make sure we never use it.
3292 set dummy
$ac_cv_prog_CC
3294 if test $# != 0; then
3295 # We chose a different compiler from the bogus one.
3296 # However, it has the same basename, so the bogon will be chosen
3297 # first if we set CC to just the basename; use the full file name.
3299 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3305 if test -n "$CC"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3307 $as_echo "$CC" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3315 if test -z "$CC"; then
3316 if test -n "$ac_tool_prefix"; then
3317 for ac_prog
in cl.exe
3319 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3320 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3322 $as_echo_n "checking for $ac_word... " >&6; }
3323 if test "${ac_cv_prog_CC+set}" = set; then :
3324 $as_echo_n "(cached) " >&6
3326 if test -n "$CC"; then
3327 ac_cv_prog_CC
="$CC" # Let the user override the test.
3329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3333 test -z "$as_dir" && as_dir
=.
3334 for ac_exec_ext
in '' $ac_executable_extensions; do
3335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3336 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3356 test -n "$CC" && break
3359 if test -z "$CC"; then
3361 for ac_prog
in cl.exe
3363 # Extract the first word of "$ac_prog", so it can be a program name with args.
3364 set dummy
$ac_prog; ac_word
=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$ac_ct_CC"; then
3371 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CC
="$ac_prog"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3391 if test -n "$ac_ct_CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3393 $as_echo "$ac_ct_CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3400 test -n "$ac_ct_CC" && break
3403 if test "x$ac_ct_CC" = x
; then
3406 case $cross_compiling:$ac_tool_warned in
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3410 ac_tool_warned
=yes ;;
3419 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error
"no acceptable C compiler found in \$PATH
3422 See \`config.log' for more details." "$LINENO" 5; }
3424 # Provide some information about the compiler.
3425 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3428 for ac_option
in --version -v -V -qversion; do
3429 { { ac_try
="$ac_compiler $ac_option >&5"
3431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3438 if test -s conftest.err; then
3440 ... rest of stderr output deleted ...
3441 10q' conftest.err >conftest.er1
3442 cat conftest.er1 >&5
3444 rm -f conftest.er1 conftest.err
3445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3446 test $ac_status = 0; }
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3460 ac_clean_files_save=$ac_clean_files
3461 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3462 # Try to create an executable without -o first, disregard a.out.
3463 # It will help us diagnose broken compilers, and finding out an intuition
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3466 $as_echo_n "checking whether the C compiler works... " >&6; }
3467 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3469 # The possible output files:
3470 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3473 for ac_file in $ac_files
3476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3477 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3482 if { { ac_try="$ac_link_default"
3484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3485 *) ac_try_echo
=$ac_try;;
3487 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_link_default") 2>&5
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }; then :
3493 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3494 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3495 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3496 # so that the user can short-circuit this test for compilers unknown to
3498 for ac_file
in $ac_files ''
3500 test -f "$ac_file" ||
continue
3502 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3505 # We found the default executable, but exeext='' is most
3509 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3511 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3513 # We set ac_cv_exeext here because the later test for it is not
3514 # safe: cross compilers may not add the suffix if given an `-o'
3515 # argument, so we may need to know it at that point already.
3516 # Even if this section looks crufty: it has the advantage of
3523 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3528 if test -z "$ac_file"; then :
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530 $as_echo "no" >&6; }
3531 $as_echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.
$ac_ext >&5
3534 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3536 { as_fn_set_status
77
3537 as_fn_error
"C compiler cannot create executables
3538 See \`config.log' for more details." "$LINENO" 5; }; }
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3541 $as_echo "yes" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3544 $as_echo_n "checking for C compiler default output file name... " >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3546 $as_echo "$ac_file" >&6; }
3547 ac_exeext
=$ac_cv_exeext
3549 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3550 ac_clean_files
=$ac_clean_files_save
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3552 $as_echo_n "checking for suffix of executables... " >&6; }
3553 if { { ac_try
="$ac_link"
3555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3559 $as_echo "$ac_try_echo"; } >&5
3560 (eval "$ac_link") 2>&5
3562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3563 test $ac_status = 0; }; then :
3564 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3565 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3566 # work properly (i.e., refer to `conftest.exe'), while it won't with
3568 for ac_file
in conftest.exe conftest conftest.
*; do
3569 test -f "$ac_file" ||
continue
3571 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3572 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3581 See \`config.log' for more details." "$LINENO" 5; }
3583 rm -f conftest conftest
$ac_cv_exeext
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3585 $as_echo "$ac_cv_exeext" >&6; }
3587 rm -f conftest.
$ac_ext
3588 EXEEXT
=$ac_cv_exeext
3590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3596 FILE *f = fopen ("conftest.out", "w");
3597 return ferror (f) || fclose (f) != 0;
3603 ac_clean_files
="$ac_clean_files conftest.out"
3604 # Check that the compiler produces executables we can run. If not, either
3605 # the compiler is broken, or we cross compile.
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3607 $as_echo_n "checking whether we are cross compiling... " >&6; }
3608 if test "$cross_compiling" != yes; then
3609 { { ac_try
="$ac_link"
3611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_link") 2>&5
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }
3620 if { ac_try='./conftest$ac_cv_exeext'
3621 { { case "(($ac_try" in
3622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3623 *) ac_try_echo
=$ac_try;;
3625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3626 $as_echo "$ac_try_echo"; } >&5
3627 (eval "$ac_try") 2>&5
3629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3630 test $ac_status = 0; }; }; then
3633 if test "$cross_compiling" = maybe
; then
3636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3638 as_fn_error
"cannot run C compiled programs.
3639 If you meant to cross compile, use \`--host'.
3640 See \`config.log' for more details." "$LINENO" 5; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3645 $as_echo "$cross_compiling" >&6; }
3647 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3648 ac_clean_files
=$ac_clean_files_save
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3650 $as_echo_n "checking for suffix of object files... " >&6; }
3651 if test "${ac_cv_objext+set}" = set; then :
3652 $as_echo_n "(cached) " >&6
3654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 rm -f conftest.o conftest.obj
3666 if { { ac_try
="$ac_compile"
3668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3672 $as_echo "$ac_try_echo"; } >&5
3673 (eval "$ac_compile") 2>&5
3675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3676 test $ac_status = 0; }; then :
3677 for ac_file in conftest.o conftest.obj conftest.*; do
3678 test -f "$ac_file" || continue;
3680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3681 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3686 $as_echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.$ac_ext >&5
3689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 as_fn_error "cannot compute suffix of object files
: cannot compile
3692 See \
`config.log' for more details." "$LINENO" 5; }
3694 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3697 $as_echo "$ac_cv_objext" >&6; }
3698 OBJEXT=$ac_cv_objext
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3701 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3702 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3703 $as_echo_n "(cached) " >&6
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3719 if ac_fn_c_try_compile "$LINENO"; then :
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3729 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3730 if test $ac_compiler_gnu = yes; then
3735 ac_test_CFLAGS=${CFLAGS+set}
3736 ac_save_CFLAGS=$CFLAGS
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3738 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3739 if test "${ac_cv_prog_cc_g+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3742 ac_save_c_werror_flag=$ac_c_werror_flag
3743 ac_c_werror_flag=yes
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3757 if ac_fn_c_try_compile "$LINENO"; then :
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3775 ac_c_werror_flag=$ac_save_c_werror_flag
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3788 if ac_fn_c_try_compile "$LINENO"; then :
3791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3796 ac_c_werror_flag=$ac_save_c_werror_flag
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3799 $as_echo "$ac_cv_prog_cc_g" >&6; }
3800 if test "$ac_test_CFLAGS" = set; then
3801 CFLAGS=$ac_save_CFLAGS
3802 elif test $ac_cv_prog_cc_g = yes; then
3803 if test "$GCC" = yes; then
3809 if test "$GCC" = yes; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3816 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3817 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3820 ac_cv_prog_cc_c89=no
3822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823 /* end confdefs.h. */
3826 #include <sys/types.h>
3827 #include <sys/stat.h>
3828 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3829 struct buf { int x; };
3830 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3831 static char *e (p, i)
3837 static char *f (char * (*g) (char **, int), char **p, ...)
3842 s = g (p, va_arg (v,int));
3847 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3848 function prototypes and stuff, but not '\xHH' hex character constants.
3849 These don't provoke an error unfortunately, instead are silently treated
3850 as 'x'. The following induces an error, until -std is added to get
3851 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3852 array size at least. It's necessary to write '\x00'==0 to get something
3853 that's true only with -std. */
3854 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3856 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3857 inside strings and character constants. */
3859 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3861 int test (int i, double x);
3862 struct s1 {int (*f) (int a);};
3863 struct s2 {int (*f) (double a);};
3864 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3870 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3875 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3876 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3878 CC="$ac_save_CC $ac_arg"
3879 if ac_fn_c_try_compile "$LINENO"; then :
3880 ac_cv_prog_cc_c89=$ac_arg
3882 rm -f core conftest.err conftest.$ac_objext
3883 test "x$ac_cv_prog_cc_c89" != "xno" && break
3885 rm -f conftest.$ac_ext
3890 case "x$ac_cv_prog_cc_c89" in
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3893 $as_echo "none needed" >&6; } ;;
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3896 $as_echo "unsupported" >&6; } ;;
3898 CC="$CC $ac_cv_prog_cc_c89"
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3900 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3902 if test "x$ac_cv_prog_cc_c89" != xno; then :
3907 ac_cpp='$CPP $CPPFLAGS'
3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3911 DEPDIR="${am__leading_dot}deps"
3913 ac_config_commands="$ac_config_commands depfiles"
3916 am_make=${MAKE-make}
3917 cat > confinc << 'END'
3919 @echo this is the am__doit target
3922 # If we don't find an include directive, just comment out the code.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3924 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3928 # First try GNU make style include.
3929 echo "include confinc" > confmf
3930 # Ignore all kinds of additional output from `make'.
3931 case `$am_make -s -f confmf 2> /dev/null` in #(
3932 *the\ am__doit\ target*)
3938 # Now try BSD make style include.
3939 if test "$am__include" = "#"; then
3940 echo '.include
"confinc"' > confmf
3941 case `$am_make -s -f confmf 2> /dev/null` in #(
3942 *the\ am__doit\ target*)
3943 am__include=.include
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3952 $as_echo "$_am_result" >&6; }
3953 rm -f confinc confmf
3955 # Check whether --enable-dependency-tracking was given.
3956 if test "${enable_dependency_tracking+set}" = set; then :
3957 enableval=$enable_dependency_tracking;
3960 if test "x$enable_dependency_tracking" != xno; then
3961 am_depcomp="$ac_aux_dir/depcomp"
3964 if test "x$enable_dependency_tracking" != xno
; then
3974 depcc
="$CC" am_compiler_list
=
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3977 $as_echo_n "checking dependency style of $depcc... " >&6; }
3978 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3982 # We make a subdir and do the tests there. Otherwise we can end up
3983 # making bogus files that we don't know about and never remove. For
3984 # instance it was reported that on HP-UX the gcc test will end up
3985 # making a dummy file named `D' -- because `-MD' means `put the output
3988 # Copy depcomp to subdir because otherwise we won't find it if we're
3989 # using a relative directory.
3990 cp "$am_depcomp" conftest.dir
3992 # We will build objects and dependencies in a subdirectory because
3993 # it helps to detect inapplicable dependency modes. For instance
3994 # both Tru64's cc and ICC support -MD to output dependencies as a
3995 # side effect of compilation, but ICC will put the dependencies in
3996 # the current directory while Tru64 will put them in the object
4000 am_cv_CC_dependencies_compiler_type
=none
4001 if test "$am_compiler_list" = ""; then
4002 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4005 case " $depcc " in #(
4006 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4009 for depmode
in $am_compiler_list; do
4010 # Setup a source with many dependencies, because some compilers
4011 # like to wrap large dependency lists on column 80 (with \), and
4012 # we should not choose a depcomp mode which is confused by this.
4014 # We need to recreate these files for each test, as the compiler may
4015 # overwrite some of them when testing with obscure command lines.
4016 # This happens at least with the AIX C compiler.
4018 for i
in 1 2 3 4 5 6; do
4019 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4020 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4021 # Solaris 8's {/usr,}/bin/sh.
4022 touch sub
/conftst
$i.h
4024 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4026 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4027 # mode. It turns out that the SunPro C++ compiler does not properly
4028 # handle `-M -o', and we need to detect this. Also, some Intel
4029 # versions had trouble with output in subdirs
4030 am__obj
=sub
/conftest.
${OBJEXT-o}
4031 am__minus_obj
="-o $am__obj"
4034 # This depmode causes a compiler race in universal mode.
4035 test "$am__universal" = false ||
continue
4038 # after this tag, mechanisms are not by side-effect, so they'll
4039 # only be used when explicitly requested
4040 if test "x$enable_dependency_tracking" = xyes
; then
4046 msvisualcpp | msvcmsys
)
4047 # This compiler won't grok `-c -o', but also, the minuso test has
4048 # not run yet. These depmodes are late enough in the game, and
4049 # so weak that their functioning should not be impacted.
4050 am__obj
=conftest.
${OBJEXT-o}
4055 if depmode
=$depmode \
4056 source=sub
/conftest.c object
=$am__obj \
4057 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4058 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4059 >/dev
/null
2>conftest.err
&&
4060 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4061 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4062 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4063 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4064 # icc doesn't choke on unknown options, it will just issue warnings
4065 # or remarks (even with -Werror). So we grep stderr for any message
4066 # that says an option was ignored or not supported.
4067 # When given -MP, icc 7.0 and 7.1 complain thusly:
4068 # icc: Command line warning: ignoring option '-M'; no argument required
4069 # The diagnosis changed in icc 8.0:
4070 # icc: Command line remark: option '-MP' not supported
4071 if (grep 'ignoring option' conftest.err ||
4072 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4073 am_cv_CC_dependencies_compiler_type
=$depmode
4082 am_cv_CC_dependencies_compiler_type
=none
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4087 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4088 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4091 test "x$enable_dependency_tracking" != xno \
4092 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4094 am__fastdepCC_FALSE
='#'
4096 am__fastdepCC_TRUE
='#'
4097 am__fastdepCC_FALSE
=
4102 # So far, the only shared library we might use is libopts.
4103 # It's a small library - we might as well use a static version of it.
4104 # Check whether --enable-shared was given.
4105 if test "${enable_shared+set}" = set; then :
4106 enableval
=$enable_shared; p
=${PACKAGE-default}
4108 yes) enable_shared
=yes ;;
4109 no
) enable_shared
=no
;;
4112 # Look at the argument we got. We use all the common list separators.
4113 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4114 for pkg
in $enableval; do
4116 if test "X$pkg" = "X$p"; then
4133 # Check whether --enable-static was given.
4134 if test "${enable_static+set}" = set; then :
4135 enableval
=$enable_static; p
=${PACKAGE-default}
4137 yes) enable_static
=yes ;;
4138 no
) enable_static
=no
;;
4141 # Look at the argument we got. We use all the common list separators.
4142 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4143 for pkg
in $enableval; do
4145 if test "X$pkg" = "X$p"; then
4157 # Check whether --enable-fast-install was given.
4158 if test "${enable_fast_install+set}" = set; then :
4159 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4161 yes) enable_fast_install
=yes ;;
4162 no
) enable_fast_install
=no
;;
4164 enable_fast_install
=no
4165 # Look at the argument we got. We use all the common list separators.
4166 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4167 for pkg
in $enableval; do
4169 if test "X$pkg" = "X$p"; then
4170 enable_fast_install
=yes
4177 enable_fast_install
=yes
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4182 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4183 if test "${lt_cv_path_SED+set}" = set; then :
4184 $as_echo_n "(cached) " >&6
4186 # Loop through the user's path and test for sed and gsed.
4187 # Then use that list of sed's as ones to test for truncation.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for lt_ac_prog
in sed gsed
; do
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4196 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4203 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4204 # along with /bin/sed that truncates output.
4205 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4206 test ! -f $lt_ac_sed && continue
4207 cat /dev
/null
> conftest.
in
4209 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4210 # Check for GNU sed and select it if it is found.
4211 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4212 lt_cv_path_SED
=$lt_ac_sed
4216 cat conftest.
in conftest.
in >conftest.tmp
4217 mv conftest.tmp conftest.
in
4218 cp conftest.
in conftest.
nl
4220 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4221 cmp -s conftest.out conftest.
nl ||
break
4222 # 10000 chars as input seems more than enough
4223 test $lt_ac_count -gt 10 && break
4224 lt_ac_count
=`expr $lt_ac_count + 1`
4225 if test $lt_ac_count -gt $lt_ac_max; then
4226 lt_ac_max
=$lt_ac_count
4227 lt_cv_path_SED
=$lt_ac_sed
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4236 $as_echo "$SED" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4239 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4240 if test "${ac_cv_path_GREP+set}" = set; then :
4241 $as_echo_n "(cached) " >&6
4243 if test -z "$GREP"; then
4244 ac_path_GREP_found
=false
4245 # Loop through the user's path and test for each of PROGNAME-LIST
4246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4247 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4250 test -z "$as_dir" && as_dir
=.
4251 for ac_prog
in grep ggrep
; do
4252 for ac_exec_ext
in '' $ac_executable_extensions; do
4253 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4254 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4255 # Check for GNU ac_path_GREP and select it if it is found.
4256 # Check for GNU $ac_path_GREP
4257 case `"$ac_path_GREP" --version 2>&1` in
4259 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4262 $as_echo_n 0123456789 >"conftest.in"
4265 cat "conftest.in" "conftest.in" >"conftest.tmp"
4266 mv "conftest.tmp" "conftest.in"
4267 cp "conftest.in" "conftest.nl"
4268 $as_echo 'GREP' >> "conftest.nl"
4269 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4270 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4271 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4272 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4273 # Best one so far, save it but keep looking for a better one
4274 ac_cv_path_GREP
="$ac_path_GREP"
4275 ac_path_GREP_max
=$ac_count
4277 # 10*(2^10) chars as input seems more than enough
4278 test $ac_count -gt 10 && break
4280 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4283 $ac_path_GREP_found && break 3
4288 if test -z "$ac_cv_path_GREP"; then
4289 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4292 ac_cv_path_GREP
=$GREP
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4297 $as_echo "$ac_cv_path_GREP" >&6; }
4298 GREP
="$ac_cv_path_GREP"
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4302 $as_echo_n "checking for egrep... " >&6; }
4303 if test "${ac_cv_path_EGREP+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4306 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4307 then ac_cv_path_EGREP
="$GREP -E"
4309 if test -z "$EGREP"; then
4310 ac_path_EGREP_found
=false
4311 # Loop through the user's path and test for each of PROGNAME-LIST
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4313 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_prog
in egrep; do
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4320 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4321 # Check for GNU ac_path_EGREP and select it if it is found.
4322 # Check for GNU $ac_path_EGREP
4323 case `"$ac_path_EGREP" --version 2>&1` in
4325 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4328 $as_echo_n 0123456789 >"conftest.in"
4331 cat "conftest.in" "conftest.in" >"conftest.tmp"
4332 mv "conftest.tmp" "conftest.in"
4333 cp "conftest.in" "conftest.nl"
4334 $as_echo 'EGREP' >> "conftest.nl"
4335 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4336 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4337 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4338 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4339 # Best one so far, save it but keep looking for a better one
4340 ac_cv_path_EGREP
="$ac_path_EGREP"
4341 ac_path_EGREP_max
=$ac_count
4343 # 10*(2^10) chars as input seems more than enough
4344 test $ac_count -gt 10 && break
4346 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4349 $ac_path_EGREP_found && break 3
4354 if test -z "$ac_cv_path_EGREP"; then
4355 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4358 ac_cv_path_EGREP
=$EGREP
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4364 $as_echo "$ac_cv_path_EGREP" >&6; }
4365 EGREP
="$ac_cv_path_EGREP"
4369 # Check whether --with-gnu-ld was given.
4370 if test "${with_gnu_ld+set}" = set; then :
4371 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4377 if test "$GCC" = yes; then
4378 # Check if gcc -print-prog-name=ld gives a path.
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4380 $as_echo_n "checking for ld used by $CC... " >&6; }
4383 # gcc leaves a trailing carriage return which upsets mingw
4384 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4386 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4389 # Accept absolute paths.
4391 re_direlt
='/[^/][^/]*/\.\./'
4392 # Canonicalize the pathname of ld
4393 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4394 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4395 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4397 test -z "$LD" && LD
="$ac_prog"
4400 # If it fails, then pretend we aren't using GCC.
4404 # If it is relative, then search for the first ld in PATH.
4408 elif test "$with_gnu_ld" = yes; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4410 $as_echo_n "checking for GNU ld... " >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4413 $as_echo_n "checking for non-GNU ld... " >&6; }
4415 if test "${lt_cv_path_LD+set}" = set; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -z "$LD"; then
4419 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4420 for ac_dir
in $PATH; do
4422 test -z "$ac_dir" && ac_dir
=.
4423 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4424 lt_cv_path_LD
="$ac_dir/$ac_prog"
4425 # Check to see if the program is GNU ld. I'd rather use --version,
4426 # but apparently some variants of GNU ld only accept -v.
4427 # Break only if it was the GNU/non-GNU ld that we prefer.
4428 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4429 *GNU
* |
*'with BFD'*)
4430 test "$with_gnu_ld" != no
&& break
4433 test "$with_gnu_ld" != yes && break
4440 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4445 if test -n "$LD"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4447 $as_echo "$LD" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4452 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4455 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4456 $as_echo_n "(cached) " >&6
4458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4459 case `$LD -v 2>&1 </dev/null` in
4460 *GNU
* |
*'with BFD'*)
4461 lt_cv_prog_gnu_ld
=yes
4464 lt_cv_prog_gnu_ld
=no
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4470 with_gnu_ld
=$lt_cv_prog_gnu_ld
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4474 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4475 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4478 lt_cv_ld_reload_flag
='-r'
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4481 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4482 reload_flag
=$lt_cv_ld_reload_flag
4483 case $reload_flag in
4485 *) reload_flag
=" $reload_flag" ;;
4487 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4490 if test "$GCC" = yes; then
4491 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4493 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
4499 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4500 if test "${lt_cv_path_NM+set}" = set; then :
4501 $as_echo_n "(cached) " >&6
4503 if test -n "$NM"; then
4504 # Let the user override the test.
4507 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4508 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4510 test -z "$ac_dir" && ac_dir
=.
4511 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
4512 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4513 # Check to see if the nm accepts a BSD-compat flag.
4514 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4515 # nm: unknown option "B" ignored
4516 # Tru64's nm complains that /dev/null is an invalid object file
4517 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4518 */dev
/null
* |
*'Invalid file or object type'*)
4519 lt_cv_path_NM
="$tmp_nm -B"
4523 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4525 lt_cv_path_NM
="$tmp_nm -p"
4529 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4530 continue # so that we can try to find one that supports BSD flags
4537 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4541 $as_echo "$lt_cv_path_NM" >&6; }
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4545 $as_echo_n "checking whether ln -s works... " >&6; }
4547 if test "$LN_S" = "ln -s"; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4549 $as_echo "yes" >&6; }
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4552 $as_echo "no, using $LN_S" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5
4556 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
4557 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4561 lt_cv_file_magic_test_file
=
4562 lt_cv_deplibs_check_method
='unknown'
4563 # Need to set the preceding variable on all platforms that support
4564 # interlibrary dependencies.
4565 # 'none' -- dependencies not supported.
4566 # `unknown' -- same as none, but documents that we really don't know.
4567 # 'pass_all' -- all dependencies passed with no checks.
4568 # 'test_compile' -- check by making test program.
4569 # 'file_magic [[regex]]' -- check by looking for files in library path
4570 # which responds to the $file_magic_cmd with a given extended regex.
4571 # If you have `file' or equivalent on your system and you're not sure
4572 # whether `pass_all' will *always* work, you probably want this one.
4576 lt_cv_deplibs_check_method
=pass_all
4580 lt_cv_deplibs_check_method
=pass_all
4584 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4585 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4586 lt_cv_file_magic_test_file
=/shlib
/libc.so
4590 # func_win32_libid is a shell function defined in ltmain.sh
4591 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4592 lt_cv_file_magic_cmd
='func_win32_libid'
4596 # Base MSYS/MinGW do not provide the 'file' command needed by
4597 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4598 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4599 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4602 darwin
* | rhapsody
*)
4603 lt_cv_deplibs_check_method
=pass_all
4606 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4607 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4610 # Not sure whether the presence of OpenBSD here was a mistake.
4611 # Let's accept both of them until this is cleared up.
4612 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4613 lt_cv_file_magic_cmd
=/usr
/bin
/file
4614 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4618 lt_cv_deplibs_check_method
=pass_all
4623 lt_cv_deplibs_check_method
=pass_all
4626 hpux10.20
* | hpux11
*)
4627 lt_cv_file_magic_cmd
=/usr
/bin
/file
4630 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4631 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4634 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]'
4635 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4638 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4639 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4644 irix5
* | irix6
* | nonstopux
*)
4646 *-32|
*"-32 ") libmagic
=32-bit;;
4647 *-n32|
*"-n32 ") libmagic
=N32
;;
4648 *-64|
*"-64 ") libmagic
=64-bit;;
4649 *) libmagic
=never-match
;;
4651 lt_cv_deplibs_check_method
=pass_all
4654 # This must be Linux ELF.
4656 lt_cv_deplibs_check_method
=pass_all
4660 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4661 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4663 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4668 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4669 lt_cv_file_magic_cmd
=/usr
/bin
/file
4670 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4674 lt_cv_deplibs_check_method
=unknown
4678 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4679 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4681 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4685 osf3
* | osf4
* | osf5
*)
4686 lt_cv_deplibs_check_method
=pass_all
4690 lt_cv_deplibs_check_method
=pass_all
4694 lt_cv_deplibs_check_method
=pass_all
4697 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4698 case $host_vendor in
4700 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]'
4701 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4704 lt_cv_deplibs_check_method
=pass_all
4707 lt_cv_file_magic_cmd
='/bin/file'
4708 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4711 lt_cv_file_magic_cmd
='/bin/file'
4712 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4713 lt_cv_file_magic_test_file
=/lib
/libc.so
4716 lt_cv_deplibs_check_method
=pass_all
4721 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4722 lt_cv_deplibs_check_method
=pass_all
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4728 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4729 file_magic_cmd
=$lt_cv_file_magic_cmd
4730 deplibs_check_method
=$lt_cv_deplibs_check_method
4731 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4736 # If no C compiler was specified, use CC.
4739 # Allow CC to be a program name with arguments.
4743 # Check whether --enable-libtool-lock was given.
4744 if test "${enable_libtool_lock+set}" = set; then :
4745 enableval
=$enable_libtool_lock;
4748 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4750 # Some flags need to be propagated to the compiler or linker for good
4754 # Find out which ABI we are using.
4755 echo 'int i;' > conftest.
$ac_ext
4756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4757 (eval $ac_compile) 2>&5
4759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4760 test $ac_status = 0; }; then
4761 case `/usr/bin/file conftest.$ac_objext` in
4773 # Find out which ABI we are using.
4774 echo '#line 4774 "configure"' > conftest.
$ac_ext
4775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4776 (eval $ac_compile) 2>&5
4778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4779 test $ac_status = 0; }; then
4780 if test "$lt_cv_prog_gnu_ld" = yes; then
4781 case `/usr/bin/file conftest.$ac_objext` in
4783 LD
="${LD-ld} -melf32bsmip"
4786 LD
="${LD-ld} -melf32bmipn32"
4789 LD
="${LD-ld} -melf64bmip"
4793 case `/usr/bin/file conftest.$ac_objext` in
4809 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4810 # Find out which ABI we are using.
4811 echo 'int i;' > conftest.
$ac_ext
4812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4813 (eval $ac_compile) 2>&5
4815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4816 test $ac_status = 0; }; then
4817 case `/usr/bin/file conftest.o` in
4821 LD
="${LD-ld} -m elf_i386"
4823 ppc64-
*linux
*|powerpc64-
*linux
*)
4824 LD
="${LD-ld} -m elf32ppclinux"
4827 LD
="${LD-ld} -m elf_s390"
4830 LD
="${LD-ld} -m elf32_sparc"
4837 LD
="${LD-ld} -m elf_x86_64"
4839 ppc
*-*linux
*|powerpc
*-*linux
*)
4840 LD
="${LD-ld} -m elf64ppc"
4843 LD
="${LD-ld} -m elf64_s390"
4846 LD
="${LD-ld} -m elf64_sparc"
4856 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4857 SAVE_CFLAGS
="$CFLAGS"
4858 CFLAGS
="$CFLAGS -belf"
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
4860 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4861 if test "${lt_cv_cc_needs_belf+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4865 ac_cpp
='$CPP $CPPFLAGS'
4866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4881 if ac_fn_c_try_link
"$LINENO"; then :
4882 lt_cv_cc_needs_belf
=yes
4884 lt_cv_cc_needs_belf
=no
4886 rm -f core conftest.err conftest.
$ac_objext \
4887 conftest
$ac_exeext conftest.
$ac_ext
4889 ac_cpp
='$CPP $CPPFLAGS'
4890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
4896 $as_echo "$lt_cv_cc_needs_belf" >&6; }
4897 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4898 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4899 CFLAGS
="$SAVE_CFLAGS"
4905 need_locks
="$enable_libtool_lock"
4909 ac_cpp
='$CPP $CPPFLAGS'
4910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4914 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4915 # On Suns, sometimes $CPP names a directory.
4916 if test -n "$CPP" && test -d "$CPP"; then
4919 if test -z "$CPP"; then
4920 if test "${ac_cv_prog_CPP+set}" = set; then :
4921 $as_echo_n "(cached) " >&6
4923 # Double quotes because CPP needs to be expanded
4924 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4927 for ac_c_preproc_warn_flag
in '' yes
4929 # Use a header file that comes with gcc, so configuring glibc
4930 # with a fresh cross-compiler works.
4931 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4932 # <limits.h> exists even on freestanding compilers.
4933 # On the NeXT, cc -E runs the code through the compiler's parser,
4934 # not just through cpp. "Syntax error" is here to catch this case.
4935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4938 # include <limits.h>
4940 # include <assert.h>
4944 if ac_fn_c_try_cpp
"$LINENO"; then :
4947 # Broken: fails on valid input.
4950 rm -f conftest.err conftest.
$ac_ext
4952 # OK, works on sane cases. Now check whether nonexistent headers
4953 # can be detected and how.
4954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4956 #include <ac_nonexistent.h>
4958 if ac_fn_c_try_cpp
"$LINENO"; then :
4959 # Broken: success on invalid input.
4962 # Passes both tests.
4966 rm -f conftest.err conftest.
$ac_ext
4969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4970 rm -f conftest.err conftest.
$ac_ext
4971 if $ac_preproc_ok; then :
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4984 $as_echo "$CPP" >&6; }
4986 for ac_c_preproc_warn_flag
in '' yes
4988 # Use a header file that comes with gcc, so configuring glibc
4989 # with a fresh cross-compiler works.
4990 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4991 # <limits.h> exists even on freestanding compilers.
4992 # On the NeXT, cc -E runs the code through the compiler's parser,
4993 # not just through cpp. "Syntax error" is here to catch this case.
4994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4997 # include <limits.h>
4999 # include <assert.h>
5003 if ac_fn_c_try_cpp
"$LINENO"; then :
5006 # Broken: fails on valid input.
5009 rm -f conftest.err conftest.
$ac_ext
5011 # OK, works on sane cases. Now check whether nonexistent headers
5012 # can be detected and how.
5013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5014 /* end confdefs.h. */
5015 #include <ac_nonexistent.h>
5017 if ac_fn_c_try_cpp
"$LINENO"; then :
5018 # Broken: success on invalid input.
5021 # Passes both tests.
5025 rm -f conftest.err conftest.
$ac_ext
5028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5029 rm -f conftest.err conftest.
$ac_ext
5030 if $ac_preproc_ok; then :
5033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5034 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5035 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5036 See \`config.log' for more details." "$LINENO" 5; }
5040 ac_cpp
='$CPP $CPPFLAGS'
5041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5047 $as_echo_n "checking for ANSI C header files... " >&6; }
5048 if test "${ac_cv_header_stdc+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5066 if ac_fn_c_try_compile
"$LINENO"; then :
5067 ac_cv_header_stdc
=yes
5069 ac_cv_header_stdc
=no
5071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5073 if test $ac_cv_header_stdc = yes; then
5074 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5081 $EGREP "memchr" >/dev
/null
2>&1; then :
5084 ac_cv_header_stdc
=no
5090 if test $ac_cv_header_stdc = yes; then
5091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5093 /* end confdefs.h. */
5097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5098 $EGREP "free" >/dev
/null
2>&1; then :
5101 ac_cv_header_stdc
=no
5107 if test $ac_cv_header_stdc = yes; then
5108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5109 if test "$cross_compiling" = yes; then :
5112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5116 #if ((' ' & 0x0FF) == 0x020)
5117 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5118 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5120 # define ISLOWER(c) \
5121 (('a' <= (c) && (c) <= 'i') \
5122 || ('j' <= (c) && (c) <= 'r') \
5123 || ('s' <= (c) && (c) <= 'z'))
5124 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5127 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5132 for (i = 0; i < 256; i++)
5133 if (XOR (islower (i), ISLOWER (i))
5134 || toupper (i) != TOUPPER (i))
5139 if ac_fn_c_try_run
"$LINENO"; then :
5142 ac_cv_header_stdc
=no
5144 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5145 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5151 $as_echo "$ac_cv_header_stdc" >&6; }
5152 if test $ac_cv_header_stdc = yes; then
5154 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5158 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5159 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5160 inttypes.h stdint.h unistd.h
5162 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5163 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5165 eval as_val
=\$
$as_ac_Header
5166 if test "x$as_val" = x
""yes; then :
5167 cat >>confdefs.h
<<_ACEOF
5168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5176 for ac_header
in dlfcn.h
5178 ac_fn_c_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5179 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
5180 cat >>confdefs.h
<<_ACEOF
5181 #define HAVE_DLFCN_H 1
5189 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5191 # find the maximum length of command line arguments
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5193 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5194 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5195 $as_echo_n "(cached) " >&6
5202 # On DJGPP, this test can blow up pretty badly due to problems in libc
5203 # (any single argument exceeding 2000 bytes causes a buffer overrun
5204 # during glob expansion). Even if it were fixed, the result of this
5205 # check would be larger than it should be.
5206 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5210 # Under GNU Hurd, this test is not required because there is
5211 # no limit to the length of command line arguments.
5212 # Libtool will interpret -1 as no limit whatsoever
5213 lt_cv_sys_max_cmd_len
=-1;
5217 # On Win9x/ME, this test blows up -- it succeeds, but takes
5218 # about 5 minutes as the teststring grows exponentially.
5219 # Worse, since 9x/ME are not pre-emptively multitasking,
5220 # you end up with a "frozen" computer, even though with patience
5221 # the test eventually succeeds (with a max line length of 256k).
5222 # Instead, let's just punt: use the minimum linelength reported by
5223 # all of the supported platforms: 8192 (on NT/2K/XP).
5224 lt_cv_sys_max_cmd_len
=8192;
5228 # On AmigaOS with pdksh, this test takes hours, literally.
5229 # So we just punt and use a minimum line length of 8192.
5230 lt_cv_sys_max_cmd_len
=8192;
5233 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5234 # This has been around since 386BSD, at least. Likely further.
5235 if test -x /sbin
/sysctl
; then
5236 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5237 elif test -x /usr
/sbin
/sysctl
; then
5238 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5240 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5242 # And add a safety zone
5243 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5244 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5247 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5248 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5249 # nice to cause kernel panics so lets avoid the loop below.
5250 # First set a reasonable default.
5251 lt_cv_sys_max_cmd_len
=16384
5253 if test -x /sbin
/sysconfig
; then
5254 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5255 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5260 # If test is not a shell built-in, we'll probably end up computing a
5261 # maximum length that is only half of the actual maximum length, but
5263 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5264 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5265 = "XX$teststring") >/dev
/null
2>&1 &&
5266 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
5267 lt_cv_sys_max_cmd_len
=$new_result &&
5268 test $i != 17 # 1/2 MB should be enough
5271 teststring
=$teststring$teststring
5274 # Add a significant safety factor because C++ compilers can tack on massive
5275 # amounts of additional arguments before passing them to the linker.
5276 # It appears as though 1/2 is a usable value.
5277 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5283 if test -n $lt_cv_sys_max_cmd_len ; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5285 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5288 $as_echo "none" >&6; }
5294 # Check for command to grab the raw symbol name followed by C symbol from nm.
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5296 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5297 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5301 # These are sane defaults that work on at least a few old systems.
5302 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5304 # Character class describing NM global symbol codes.
5305 symcode
='[BCDEGRST]'
5307 # Regexp to match symbols that can be accessed directly from C.
5308 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5310 # Transform an extracted symbol line into a proper C declaration
5311 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5313 # Transform an extracted symbol line into symbol name and symbol address
5314 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'"
5316 # Define system-specific variables.
5321 cygwin
* | mingw
* | pw32
*)
5322 symcode
='[ABCDGISTW]'
5324 hpux
*) # Its linker distinguishes data from code symbols
5325 if test "$host_cpu" = ia64
; then
5326 symcode
='[ABCDEGRST]'
5328 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5329 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'"
5332 if test "$host_cpu" = ia64
; then
5333 symcode
='[ABCDGIRSTW]'
5334 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5335 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'"
5339 symcode
='[BCDEGRST]'
5342 symcode
='[BCDEGQRST]'
5352 # Handle CRLF in mingw tool chain
5356 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5360 # If we're using GNU nm, then use its standard symbol codes.
5361 case `$NM -V 2>&1` in
5362 *GNU
* |
*'with BFD'*)
5363 symcode
='[ABCDGIRSTW]' ;;
5366 # Try without a prefix undercore, then with it.
5367 for ac_symprfx
in "" "_"; do
5369 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5370 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5372 # Write the raw and C identifiers.
5373 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5375 # Check to see that the pipe works correctly.
5379 cat > conftest.
$ac_ext <<EOF
5384 void nm_test_func(){}
5388 int main(){nm_test_var='a';nm_test_func();return(0);}
5391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5392 (eval $ac_compile) 2>&5
5394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5395 test $ac_status = 0; }; then
5396 # Now try to grab the symbols.
5398 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5399 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5402 test $ac_status = 0; } && test -s "$nlist"; then
5403 # Try sorting and uniquifying the output.
5404 if sort "$nlist" |
uniq > "$nlist"T
; then
5405 mv -f "$nlist"T
"$nlist"
5410 # Make sure that we snagged all the symbols we need.
5411 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
5412 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
5413 cat <<EOF > conftest.$ac_ext
5419 # Now generate the symbol file.
5420 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5422 cat <<EOF >> conftest.$ac_ext
5423 #if defined (__STDC__) && __STDC__
5424 # define lt_ptr_t void *
5426 # define lt_ptr_t char *
5430 /* The mapping between symbol names and symbols. */
5435 lt_preloaded_symbols[] =
5438 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
5439 cat <<\EOF
>> conftest.
$ac_ext
5447 # Now try linking the two files.
5448 mv conftest.
$ac_objext conftstm.
$ac_objext
5449 lt_save_LIBS
="$LIBS"
5450 lt_save_CFLAGS
="$CFLAGS"
5451 LIBS
="conftstm.$ac_objext"
5452 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5454 (eval $ac_link) 2>&5
5456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5457 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5460 LIBS
="$lt_save_LIBS"
5461 CFLAGS
="$lt_save_CFLAGS"
5463 echo "cannot find nm_test_func in $nlist" >&5
5466 echo "cannot find nm_test_var in $nlist" >&5
5469 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5472 echo "$progname: failed program was:" >&5
5473 cat conftest.
$ac_ext >&5
5475 rm -f conftest
* conftst
*
5477 # Do not use the global_symbol_pipe unless it works.
5478 if test "$pipe_works" = yes; then
5481 lt_cv_sys_global_symbol_pipe
=
5487 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5488 lt_cv_sys_global_symbol_to_cdecl
=
5490 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5492 $as_echo "failed" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5495 $as_echo "ok" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5499 $as_echo_n "checking for objdir... " >&6; }
5500 if test "${lt_cv_objdir+set}" = set; then :
5501 $as_echo_n "(cached) " >&6
5503 rm -f .libs
2>/dev
/null
5504 mkdir .libs
2>/dev
/null
5505 if test -d .libs
; then
5508 # MS-DOS does not allow filenames that begin with a dot.
5511 rmdir .libs
2>/dev
/null
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5514 $as_echo "$lt_cv_objdir" >&6; }
5515 objdir
=$lt_cv_objdir
5523 # AIX sometimes has problems with the GCC collect2 program. For some
5524 # reason, if we set the COLLECT_NAMES environment variable, the problems
5525 # vanish in a puff of smoke.
5526 if test "X${COLLECT_NAMES+set}" != Xset
; then
5528 export COLLECT_NAMES
5533 # Sed substitution that helps us do robust quoting. It backslashifies
5534 # metacharacters that are still active within double-quoted strings.
5535 Xsed
='sed -e 1s/^X//'
5536 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
5538 # Same as above, but do not quote variable references.
5539 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
5541 # Sed substitution to delay expansion of an escaped shell variable in a
5542 # double_quote_subst'ed string.
5543 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5545 # Sed substitution to avoid accidental globbing in evaled expressions
5546 no_glob_subst
='s/\*/\\\*/g'
5552 default_ofile
=libtool
5553 can_build_shared
=yes
5555 # All known linkers require a `.a' archive for static linking (except MSVC,
5556 # which needs '.lib').
5558 ltmain
="$ac_aux_dir/ltmain.sh"
5559 ofile
="$default_ofile"
5560 with_gnu_ld
="$lt_cv_prog_gnu_ld"
5562 if test -n "$ac_tool_prefix"; then
5563 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5564 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if test "${ac_cv_prog_AR+set}" = set; then :
5568 $as_echo_n "(cached) " >&6
5570 if test -n "$AR"; then
5571 ac_cv_prog_AR
="$AR" # Let the user override the test.
5573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5577 test -z "$as_dir" && as_dir
=.
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5580 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 if test -n "$AR"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5593 $as_echo "$AR" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5601 if test -z "$ac_cv_prog_AR"; then
5603 # Extract the first word of "ar", so it can be a program name with args.
5604 set dummy
ar; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$ac_ct_AR"; then
5611 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5620 ac_cv_prog_ac_ct_AR
="ar"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5631 if test -n "$ac_ct_AR"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5633 $as_echo "$ac_ct_AR" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5639 if test "x$ac_ct_AR" = x
; then
5642 case $cross_compiling:$ac_tool_warned in
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5646 ac_tool_warned
=yes ;;
5654 if test -n "$ac_tool_prefix"; then
5655 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5656 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 $as_echo_n "checking for $ac_word... " >&6; }
5659 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5660 $as_echo_n "(cached) " >&6
5662 if test -n "$RANLIB"; then
5663 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir
=.
5670 for ac_exec_ext
in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682 RANLIB
=$ac_cv_prog_RANLIB
5683 if test -n "$RANLIB"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5685 $as_echo "$RANLIB" >&6; }
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 $as_echo "no" >&6; }
5693 if test -z "$ac_cv_prog_RANLIB"; then
5694 ac_ct_RANLIB
=$RANLIB
5695 # Extract the first word of "ranlib", so it can be a program name with args.
5696 set dummy ranlib
; ac_word
=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5700 $as_echo_n "(cached) " >&6
5702 if test -n "$ac_ct_RANLIB"; then
5703 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir
=.
5710 for ac_exec_ext
in '' $ac_executable_extensions; do
5711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5712 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5723 if test -n "$ac_ct_RANLIB"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5725 $as_echo "$ac_ct_RANLIB" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5731 if test "x$ac_ct_RANLIB" = x
; then
5734 case $cross_compiling:$ac_tool_warned in
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5738 ac_tool_warned
=yes ;;
5740 RANLIB
=$ac_ct_RANLIB
5743 RANLIB
="$ac_cv_prog_RANLIB"
5746 if test -n "$ac_tool_prefix"; then
5747 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5748 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if test "${ac_cv_prog_STRIP+set}" = set; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -n "$STRIP"; then
5755 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_exec_ext
in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 STRIP
=$ac_cv_prog_STRIP
5775 if test -n "$STRIP"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5777 $as_echo "$STRIP" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5785 if test -z "$ac_cv_prog_STRIP"; then
5787 # Extract the first word of "strip", so it can be a program name with args.
5788 set dummy strip
; ac_word
=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 $as_echo_n "checking for $ac_word... " >&6; }
5791 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5792 $as_echo_n "(cached) " >&6
5794 if test -n "$ac_ct_STRIP"; then
5795 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5801 test -z "$as_dir" && as_dir
=.
5802 for ac_exec_ext
in '' $ac_executable_extensions; do
5803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5804 ac_cv_prog_ac_ct_STRIP
="strip"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5815 if test -n "$ac_ct_STRIP"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5817 $as_echo "$ac_ct_STRIP" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820 $as_echo "no" >&6; }
5823 if test "x$ac_ct_STRIP" = x
; then
5826 case $cross_compiling:$ac_tool_warned in
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned
=yes ;;
5835 STRIP
="$ac_cv_prog_STRIP"
5840 old_CFLAGS
="$CFLAGS"
5842 # Set sane defaults for various variables
5843 test -z "$AR" && AR
=ar
5844 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5845 test -z "$AS" && AS
=as
5846 test -z "$CC" && CC
=cc
5847 test -z "$LTCC" && LTCC
=$CC
5848 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5849 test -z "$LD" && LD
=ld
5850 test -z "$LN_S" && LN_S
="ln -s"
5851 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
5852 test -z "$NM" && NM
=nm
5853 test -z "$SED" && SED
=sed
5854 test -z "$OBJDUMP" && OBJDUMP
=objdump
5855 test -z "$RANLIB" && RANLIB
=:
5856 test -z "$STRIP" && STRIP
=:
5857 test -z "$ac_objext" && ac_objext
=o
5859 # Determine commands to create old-style static archives.
5860 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5861 old_postinstall_cmds
='chmod 644 $oldlib'
5862 old_postuninstall_cmds
=
5864 if test -n "$RANLIB"; then
5867 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5870 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
5873 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5876 for cc_temp
in $compiler""; do
5878 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
5879 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
5884 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5887 # Only perform the check for file, if the check method requires it
5888 case $deplibs_check_method in
5890 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
5892 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
5893 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
5894 $as_echo_n "(cached) " >&6
5898 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5901 lt_save_MAGIC_CMD
="$MAGIC_CMD"
5902 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5903 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
5904 for ac_dir
in $ac_dummy; do
5906 test -z "$ac_dir" && ac_dir
=.
5907 if test -f $ac_dir/${ac_tool_prefix}file; then
5908 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
5909 if test -n "$file_magic_test_file"; then
5910 case $deplibs_check_method in
5912 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5913 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5914 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5915 $EGREP "$file_magic_regex" > /dev
/null
; then
5920 *** Warning: the command libtool uses to detect shared libraries,
5921 *** $file_magic_cmd, produces output that libtool cannot recognize.
5922 *** The result is that libtool may fail to recognize shared libraries
5923 *** as such. This will affect the creation of libtool libraries that
5924 *** depend on shared libraries, but programs linked with such libtool
5925 *** libraries will work regardless of this problem. Nevertheless, you
5926 *** may want to report the problem to your system manager and/or to
5927 *** bug-libtool@gnu.org
5937 MAGIC_CMD
="$lt_save_MAGIC_CMD"
5942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5943 if test -n "$MAGIC_CMD"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
5945 $as_echo "$MAGIC_CMD" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5951 if test -z "$lt_cv_path_MAGIC_CMD"; then
5952 if test -n "$ac_tool_prefix"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
5954 $as_echo_n "checking for file... " >&6; }
5955 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
5956 $as_echo_n "(cached) " >&6
5960 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
5963 lt_save_MAGIC_CMD
="$MAGIC_CMD"
5964 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5965 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
5966 for ac_dir
in $ac_dummy; do
5968 test -z "$ac_dir" && ac_dir
=.
5969 if test -f $ac_dir/file; then
5970 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
5971 if test -n "$file_magic_test_file"; then
5972 case $deplibs_check_method in
5974 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5975 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
5976 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
5977 $EGREP "$file_magic_regex" > /dev
/null
; then
5982 *** Warning: the command libtool uses to detect shared libraries,
5983 *** $file_magic_cmd, produces output that libtool cannot recognize.
5984 *** The result is that libtool may fail to recognize shared libraries
5985 *** as such. This will affect the creation of libtool libraries that
5986 *** depend on shared libraries, but programs linked with such libtool
5987 *** libraries will work regardless of this problem. Nevertheless, you
5988 *** may want to report the problem to your system manager and/or to
5989 *** bug-libtool@gnu.org
5999 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6004 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6005 if test -n "$MAGIC_CMD"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6007 $as_echo "$MAGIC_CMD" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6025 # Check whether --enable-libtool-lock was given.
6026 if test "${enable_libtool_lock+set}" = set; then :
6027 enableval
=$enable_libtool_lock;
6030 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6033 # Check whether --with-pic was given.
6034 if test "${with_pic+set}" = set; then :
6035 withval
=$with_pic; pic_mode
="$withval"
6040 test -z "$pic_mode" && pic_mode
=default
6042 # Use C for the default configuration in the libtool script
6046 ac_cpp
='$CPP $CPPFLAGS'
6047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6052 # Source file extension for C test sources.
6055 # Object file extension for compiled C test sources.
6059 # Code to be used in simple compile tests
6060 lt_simple_compile_test_code
="int some_variable = 0;\n"
6062 # Code to be used in simple link tests
6063 lt_simple_link_test_code
='int main(){return(0);}\n'
6066 # If no C compiler was specified, use CC.
6069 # Allow CC to be a program name with arguments.
6073 # save warnings/boilerplate of simple test code
6074 ac_outfile
=conftest.
$ac_objext
6075 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
6076 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6077 _lt_compiler_boilerplate
=`cat conftest.err`
6080 ac_outfile
=conftest.
$ac_objext
6081 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
6082 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
6083 _lt_linker_boilerplate
=`cat conftest.err`
6088 # Check for any special shared library compilation flags.
6091 if test "$GCC" = no
; then
6094 lt_prog_cc_shlib
='-belf'
6098 if test -n "$lt_prog_cc_shlib"; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6100 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6101 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6104 $as_echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6105 lt_cv_prog_cc_can_build_shared
=no
6111 # Check to make sure the static flag actually works.
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6114 $as_echo_n "checking if $compiler static flag $lt_prog_compiler_static works... " >&6; }
6115 if test "${lt_prog_compiler_static_works+set}" = set; then :
6116 $as_echo_n "(cached) " >&6
6118 lt_prog_compiler_static_works
=no
6119 save_LDFLAGS
="$LDFLAGS"
6120 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
6121 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
6122 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
6123 # The linker can only warn and ignore the option if not recognized
6124 # So say no if there are warnings
6125 if test -s conftest.err
; then
6126 # Append any errors to the config.log.
6127 cat conftest.err
1>&5
6128 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
6129 $SED '/^$/d' conftest.err
>conftest.er2
6130 if diff conftest.exp conftest.er2
>/dev
/null
; then
6131 lt_prog_compiler_static_works
=yes
6134 lt_prog_compiler_static_works
=yes
6138 LDFLAGS
="$save_LDFLAGS"
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
6142 $as_echo "$lt_prog_compiler_static_works" >&6; }
6144 if test x
"$lt_prog_compiler_static_works" = xyes
; then
6147 lt_prog_compiler_static
=
6153 lt_prog_compiler_no_builtin_flag
=
6155 if test "$GCC" = yes; then
6156 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6160 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6161 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6164 lt_cv_prog_compiler_rtti_exceptions
=no
6165 ac_outfile
=conftest.
$ac_objext
6166 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6167 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6168 # Insert the option either (1) after the last *FLAGS variable, or
6169 # (2) before a word containing "conftest.", or (3) at the end.
6170 # Note that $ac_compile itself does not contain backslashes and begins
6171 # with a dollar sign (not a hyphen), so the echo should work correctly.
6172 # The option is referenced via a variable to avoid confusing sed.
6173 lt_compile
=`echo "$ac_compile" | $SED \
6174 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6176 -e 's:$: $lt_compiler_flag:'`
6177 (eval echo "\"\$as_me:6177: $lt_compile\"" >&5)
6178 (eval "$lt_compile" 2>conftest.err
)
6180 cat conftest.err
>&5
6181 echo "$as_me:6181: \$? = $ac_status" >&5
6182 if (exit $ac_status) && test -s "$ac_outfile"; then
6183 # The compiler can only warn and ignore the option if not recognized
6184 # So say no if there are warnings other than the usual output.
6185 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6186 $SED '/^$/d' conftest.err
>conftest.er2
6187 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6188 lt_cv_prog_compiler_rtti_exceptions
=yes
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6195 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6197 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6198 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6205 lt_prog_compiler_wl
=
6206 lt_prog_compiler_pic
=
6207 lt_prog_compiler_static
=
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6210 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6212 if test "$GCC" = yes; then
6213 lt_prog_compiler_wl
='-Wl,'
6214 lt_prog_compiler_static
='-static'
6218 # All AIX code is PIC.
6219 if test "$host_cpu" = ia64
; then
6220 # AIX 5 now supports IA64 processor
6221 lt_prog_compiler_static
='-Bstatic'
6226 # FIXME: we need at least 68020 code to build shared libraries, but
6227 # adding the `-m68020' flag to GCC prevents building anything better,
6229 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6232 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6233 # PIC is the default for these OSes.
6236 mingw
* | pw32
* | os2
*)
6237 # This hack is so that the source file can tell whether it is being
6238 # built for inclusion in a dll (and should export symbols for example).
6239 lt_prog_compiler_pic
='-DDLL_EXPORT'
6242 darwin
* | rhapsody
*)
6243 # PIC is the default on this platform
6244 # Common symbols not allowed in MH_DYLIB files
6245 lt_prog_compiler_pic
='-fno-common'
6249 # Just because we use GCC doesn't mean we suddenly get shared libraries
6250 # on systems that don't support them.
6251 lt_prog_compiler_can_build_shared
=no
6256 if test -d /usr
/nec
; then
6257 lt_prog_compiler_pic
=-Kconform_pic
6262 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6269 lt_prog_compiler_pic
='-fPIC'
6275 lt_prog_compiler_pic
='-fPIC'
6279 # PORTME Check for flag to pass linker flags through the system compiler.
6282 lt_prog_compiler_wl
='-Wl,'
6283 if test "$host_cpu" = ia64
; then
6284 # AIX 5 now supports IA64 processor
6285 lt_prog_compiler_static
='-Bstatic'
6287 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6291 # PIC is the default on this platform
6292 # Common symbols not allowed in MH_DYLIB files
6293 case $cc_basename in
6295 lt_prog_compiler_pic
='-qnocommon'
6296 lt_prog_compiler_wl
='-Wl,'
6301 mingw
* | pw32
* | os2
*)
6302 # This hack is so that the source file can tell whether it is being
6303 # built for inclusion in a dll (and should export symbols for example).
6304 lt_prog_compiler_pic
='-DDLL_EXPORT'
6307 hpux9
* | hpux10
* | hpux11
*)
6308 lt_prog_compiler_wl
='-Wl,'
6309 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6316 lt_prog_compiler_pic
='+Z'
6319 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6320 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6323 irix5
* | irix6
* | nonstopux
*)
6324 lt_prog_compiler_wl
='-Wl,'
6325 # PIC (with -KPIC) is the default.
6326 lt_prog_compiler_static
='-non_shared'
6330 lt_prog_compiler_pic
='-KPIC'
6331 lt_prog_compiler_static
='-Bstatic'
6335 case $cc_basename in
6337 lt_prog_compiler_wl
='-Wl,'
6338 lt_prog_compiler_pic
='-KPIC'
6339 lt_prog_compiler_static
='-static'
6341 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6342 # Portland Group compilers (*not* the Pentium gcc compiler,
6343 # which looks to be a dead project)
6344 lt_prog_compiler_wl
='-Wl,'
6345 lt_prog_compiler_pic
='-fpic'
6346 lt_prog_compiler_static
='-Bstatic'
6349 lt_prog_compiler_wl
='-Wl,'
6350 # All Alpha code is PIC.
6351 lt_prog_compiler_static
='-non_shared'
6356 osf3
* | osf4
* | osf5
*)
6357 lt_prog_compiler_wl
='-Wl,'
6358 # All OSF/1 code is PIC.
6359 lt_prog_compiler_static
='-non_shared'
6363 lt_prog_compiler_pic
='-Kpic'
6364 lt_prog_compiler_static
='-dn'
6368 lt_prog_compiler_pic
='-KPIC'
6369 lt_prog_compiler_static
='-Bstatic'
6370 case $cc_basename in
6372 lt_prog_compiler_wl
='-Qoption ld ';;
6374 lt_prog_compiler_wl
='-Wl,';;
6379 lt_prog_compiler_wl
='-Qoption ld '
6380 lt_prog_compiler_pic
='-PIC'
6381 lt_prog_compiler_static
='-Bstatic'
6384 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6385 lt_prog_compiler_wl
='-Wl,'
6386 lt_prog_compiler_pic
='-KPIC'
6387 lt_prog_compiler_static
='-Bstatic'
6391 if test -d /usr
/nec
;then
6392 lt_prog_compiler_pic
='-Kconform_pic'
6393 lt_prog_compiler_static
='-Bstatic'
6398 lt_prog_compiler_wl
='-Wl,'
6399 lt_prog_compiler_can_build_shared
=no
6403 lt_prog_compiler_pic
='-pic'
6404 lt_prog_compiler_static
='-Bstatic'
6408 lt_prog_compiler_can_build_shared
=no
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
6414 $as_echo "$lt_prog_compiler_pic" >&6; }
6417 # Check to make sure the PIC flag actually works.
6419 if test -n "$lt_prog_compiler_pic"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6422 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
6423 if test "${lt_prog_compiler_pic_works+set}" = set; then :
6424 $as_echo_n "(cached) " >&6
6426 lt_prog_compiler_pic_works
=no
6427 ac_outfile
=conftest.
$ac_objext
6428 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6429 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6430 # Insert the option either (1) after the last *FLAGS variable, or
6431 # (2) before a word containing "conftest.", or (3) at the end.
6432 # Note that $ac_compile itself does not contain backslashes and begins
6433 # with a dollar sign (not a hyphen), so the echo should work correctly.
6434 # The option is referenced via a variable to avoid confusing sed.
6435 lt_compile
=`echo "$ac_compile" | $SED \
6436 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6437 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6438 -e 's:$: $lt_compiler_flag:'`
6439 (eval echo "\"\$as_me:6439: $lt_compile\"" >&5)
6440 (eval "$lt_compile" 2>conftest.err
)
6442 cat conftest.err
>&5
6443 echo "$as_me:6443: \$? = $ac_status" >&5
6444 if (exit $ac_status) && test -s "$ac_outfile"; then
6445 # The compiler can only warn and ignore the option if not recognized
6446 # So say no if there are warnings other than the usual output.
6447 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
6448 $SED '/^$/d' conftest.err
>conftest.er2
6449 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6450 lt_prog_compiler_pic_works
=yes
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
6457 $as_echo "$lt_prog_compiler_pic_works" >&6; }
6459 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
6460 case $lt_prog_compiler_pic in
6462 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
6465 lt_prog_compiler_pic
=
6466 lt_prog_compiler_can_build_shared
=no
6471 # For platforms which do not support PIC, -DPIC is meaningless:
6473 lt_prog_compiler_pic
=
6476 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
6481 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
6482 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
6483 $as_echo_n "(cached) " >&6
6485 lt_cv_prog_compiler_c_o
=no
6486 $rm -r conftest
2>/dev
/null
6490 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
6492 lt_compiler_flag
="-o out/conftest2.$ac_objext"
6493 # Insert the option either (1) after the last *FLAGS variable, or
6494 # (2) before a word containing "conftest.", or (3) at the end.
6495 # Note that $ac_compile itself does not contain backslashes and begins
6496 # with a dollar sign (not a hyphen), so the echo should work correctly.
6497 lt_compile
=`echo "$ac_compile" | $SED \
6498 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6499 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6500 -e 's:$: $lt_compiler_flag:'`
6501 (eval echo "\"\$as_me:6501: $lt_compile\"" >&5)
6502 (eval "$lt_compile" 2>out
/conftest.err
)
6504 cat out
/conftest.err
>&5
6505 echo "$as_me:6505: \$? = $ac_status" >&5
6506 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
6508 # The compiler can only warn and ignore the option if not recognized
6509 # So say no if there are warnings
6510 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
6511 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
6512 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
6513 lt_cv_prog_compiler_c_o
=yes
6518 # SGI C++ compiler will create directory out/ii_files/ for
6519 # template instantiation
6520 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
6521 $rm out
/* && rmdir out
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
6528 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
6531 hard_links
="nottested"
6532 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
6533 # do not overwrite the value of need_locks provided by the user
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
6535 $as_echo_n "checking if we can lock with hard links... " >&6; }
6538 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6540 ln conftest.a conftest.b
2>&5 || hard_links
=no
6541 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
6543 $as_echo "$hard_links" >&6; }
6544 if test "$hard_links" = no
; then
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6546 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6554 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
6557 allow_undefined_flag
=
6558 enable_shared_with_static_runtimes
=no
6560 archive_expsym_cmds
=
6561 old_archive_From_new_cmds
=
6562 old_archive_from_expsyms_cmds
=
6563 export_dynamic_flag_spec
=
6564 whole_archive_flag_spec
=
6565 thread_safe_flag_spec
=
6566 hardcode_libdir_flag_spec
=
6567 hardcode_libdir_flag_spec_ld
=
6568 hardcode_libdir_separator
=
6571 hardcode_shlibpath_var
=unsupported
6572 link_all_deplibs
=unknown
6573 hardcode_automatic
=no
6576 always_export_symbols
=no
6577 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6578 # include_expsyms should be a list of space-separated symbols to be *always*
6579 # included in the symbol list
6581 # exclude_expsyms can be an extended regexp of symbols to exclude
6582 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6583 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6584 # as well as any symbol that contains `d'.
6585 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
6586 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6587 # platforms (ab)use it in PIC code, but their linkers get confused if
6588 # the symbol is explicitly referenced. Since portable code cannot
6589 # rely on this symbol name, it's probably fine to never include it in
6590 # preloaded symbol tables.
6591 extract_expsyms_cmds
=
6592 # Just being paranoid about ensuring that cc_basename is set.
6593 for cc_temp
in $compiler""; do
6595 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6596 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6601 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6604 cygwin
* | mingw
* | pw32
*)
6605 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6606 # When not using gcc, we currently assume that we are using
6607 # Microsoft Visual C++.
6608 if test "$GCC" != yes; then
6618 if test "$with_gnu_ld" = yes; then
6619 # If archive_cmds runs LD, not CC, wlarc should be empty
6622 # Set some defaults for GNU ld with shared library support. These
6623 # are reset later if shared libraries are not supported. Putting them
6624 # here allows them to be overridden if necessary.
6625 runpath_var
=LD_RUN_PATH
6626 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
6627 export_dynamic_flag_spec
='${wl}--export-dynamic'
6628 # ancient GNU ld didn't support --whole-archive et. al.
6629 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
6630 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6632 whole_archive_flag_spec
=
6634 supports_anon_versioning
=no
6635 case `$LD -v 2>/dev/null` in
6636 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
6637 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
6638 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
6639 *\
2.11.
*) ;; # other 2.11 versions
6640 *) supports_anon_versioning
=yes ;;
6643 # See if GNU ld supports shared libraries.
6645 aix3
* | aix4
* | aix5
*)
6646 # On AIX/PPC, the GNU linker is very broken
6647 if test "$host_cpu" != ia64
; then
6651 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6652 *** to be unable to reliably create shared libraries on AIX.
6653 *** Therefore, libtool is disabling shared libraries support. If you
6654 *** really care for shared libraries, you may want to modify your PATH
6655 *** so that a non-GNU linker is found, and then restart.
6662 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)'
6663 hardcode_libdir_flag_spec
='-L$libdir'
6664 hardcode_minus_L
=yes
6666 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6667 # that the semantics of dynamic libraries on AmigaOS, at least up
6668 # to version 4, is to share data among multiple programs linked
6669 # with the same dynamic library. Since this doesn't match the
6670 # behavior of shared libraries on other platforms, we can't use
6676 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6677 allow_undefined_flag
=unsupported
6678 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6679 # support --undefined. This deserves some investigation. FIXME
6680 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6686 cygwin
* | mingw
* | pw32
*)
6687 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6688 # as there is no search path for DLLs.
6689 hardcode_libdir_flag_spec
='-L$libdir'
6690 allow_undefined_flag
=unsupported
6691 always_export_symbols
=no
6692 enable_shared_with_static_runtimes
=yes
6693 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6695 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
6696 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6697 # If the export-symbols file already is a .def file (1st line
6698 # is EXPORTS), use it as is; otherwise, prepend...
6699 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6700 cp $export_symbols $output_objdir/$soname.def;
6702 echo EXPORTS > $output_objdir/$soname.def;
6703 cat $export_symbols >> $output_objdir/$soname.def;
6705 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6712 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6714 case $cc_basename,$host_cpu in
6715 pgcc
*) # Portland Group C compiler
6716 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6717 tmp_addflag
=' $pic_flag'
6719 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
6720 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
6721 tmp_addflag
=' $pic_flag -Mnomain' ;;
6722 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
6723 tmp_addflag
=' -i_dynamic' ;;
6724 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
6725 tmp_addflag
=' -i_dynamic -nofor_main' ;;
6726 ifc
* | ifort
*) # Intel Fortran compiler
6727 tmp_addflag
=' -nofor_main' ;;
6729 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6731 if test $supports_anon_versioning = yes; then
6732 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
6733 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6734 $echo "local: *; };" >> $output_objdir/$libname.ver~
6735 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6743 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6744 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6747 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6748 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6753 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
6757 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6758 *** create shared libraries on Solaris systems. Therefore, libtool
6759 *** is disabling shared libraries support. We urge you to upgrade GNU
6760 *** binutils to release 2.9.1 or newer. Another option is to modify
6761 *** your PATH or compiler configuration so that the native linker is
6762 *** used, and then restart.
6765 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6766 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6767 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6774 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6777 hardcode_shlibpath_var
=no
6781 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
6782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6783 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6790 if test "$ld_shlibs" = no
; then
6792 hardcode_libdir_flag_spec
=
6793 export_dynamic_flag_spec
=
6794 whole_archive_flag_spec
=
6797 # PORTME fill in a description of your system's linker (not GNU ld)
6800 allow_undefined_flag
=unsupported
6801 always_export_symbols
=yes
6802 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'
6803 # Note: this linker hardcodes the directories in LIBPATH if there
6804 # are no directories specified by -L.
6805 hardcode_minus_L
=yes
6806 if test "$GCC" = yes && test -z "$link_static_flag"; then
6807 # Neither direct hardcoding nor static linking is supported with a
6809 hardcode_direct
=unsupported
6814 if test "$host_cpu" = ia64
; then
6815 # On IA64, the linker does run time linking by default, so we don't
6816 # have to do anything special.
6817 aix_use_runtimelinking
=no
6818 exp_sym_flag
='-Bexport'
6821 # If we're using GNU nm, then we don't want the "-C" option.
6822 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6823 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
6824 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'
6826 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'
6828 aix_use_runtimelinking
=no
6830 # Test if we are trying to use run time linking or normal
6831 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6832 # need to do runtime linking.
6833 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
6834 for ld_flag
in $LDFLAGS; do
6835 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
6836 aix_use_runtimelinking
=yes
6842 exp_sym_flag
='-bexport'
6843 no_entry_flag
='-bnoentry'
6846 # When large executables or shared objects are built, AIX ld can
6847 # have problems creating the table of contents. If linking a library
6848 # or program results in "error TOC overflow" add -mminimal-toc to
6849 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6850 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6854 hardcode_libdir_separator
=':'
6855 link_all_deplibs
=yes
6857 if test "$GCC" = yes; then
6858 case $host_os in aix4.
[012]|aix4.
[012].
*)
6859 # We only want to do this on AIX 4.2 and lower, the check
6860 # below for broken collect2 doesn't work under 4.3+
6861 collect2name
=`${CC} -print-prog-name=collect2`
6862 if test -f "$collect2name" && \
6863 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
6865 # We have reworked collect2
6868 # We have old collect2
6869 hardcode_direct
=unsupported
6870 # It fails to find uninstalled libraries when the uninstalled
6871 # path is not listed in the libpath. Setting hardcode_minus_L
6872 # to unsupported forces relinking
6873 hardcode_minus_L
=yes
6874 hardcode_libdir_flag_spec
='-L$libdir'
6875 hardcode_libdir_separator
=
6878 shared_flag
='-shared'
6879 if test "$aix_use_runtimelinking" = yes; then
6880 shared_flag
="$shared_flag "'${wl}-G'
6884 if test "$host_cpu" = ia64
; then
6885 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6886 # chokes on -Wl,-G. The following line is correct:
6889 if test "$aix_use_runtimelinking" = yes; then
6890 shared_flag
='${wl}-G'
6892 shared_flag
='${wl}-bM:SRE'
6897 # It seems that -bexpall does not export symbols beginning with
6898 # underscore (_), so it is better to generate a list of symbols to export.
6899 always_export_symbols
=yes
6900 if test "$aix_use_runtimelinking" = yes; then
6901 # Warning - without using the other runtime loading flags (-brtl),
6902 # -berok will link without error, but may produce a broken library.
6903 allow_undefined_flag
='-berok'
6904 # Determine the default libpath from the value encoded in an empty executable.
6905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6916 if ac_fn_c_try_link
"$LINENO"; then :
6918 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6920 # Check for a 64-bit object if we didn't find anything.
6921 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; }
6924 rm -f core conftest.err conftest.
$ac_objext \
6925 conftest
$ac_exeext conftest.
$ac_ext
6926 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
6928 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
6929 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"
6931 if test "$host_cpu" = ia64; then
6932 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
6933 allow_undefined_flag="-z nodefs"
6934 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"
6936 # Determine the default libpath from the value encoded in an empty executable.
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6948 if ac_fn_c_try_link "$LINENO"; then :
6950 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6952 # Check for a 64-bit object if we didn't find anything.
6953 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; }
6956 rm -f core conftest.err conftest.$ac_objext \
6957 conftest$ac_exeext conftest.$ac_ext
6958 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
6960 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6961 # Warning - without using the other run time loading flags,
6962 # -berok will link without error, but may produce a broken library.
6963 no_undefined_flag=' ${wl}-bernotok'
6964 allow_undefined_flag=' ${wl}-berok'
6965 # -bexpall does not export symbols beginning with underscore (_)
6966 always_export_symbols=yes
6967 # Exported symbols can be pulled into shared objects from archives
6968 whole_archive_flag_spec=' '
6969 archive_cmds_need_lc=yes
6970 # This is similar to how AIX traditionally builds its shared libraries.
6971 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'
6977 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)'
6978 hardcode_libdir_flag_spec
='-L$libdir'
6979 hardcode_minus_L
=yes
6980 # see comment about different semantics on the GNU ld section
6985 export_dynamic_flag_spec
=-rdynamic
6988 cygwin
* | mingw
* | pw32
*)
6989 # When not using gcc, we currently assume that we are using
6990 # Microsoft Visual C++.
6991 # hardcode_libdir_flag_spec is actually meaningless, as there is
6992 # no search path for DLLs.
6993 hardcode_libdir_flag_spec
=' '
6994 allow_undefined_flag
=unsupported
6995 # Tell ltmain to make .lib files, not .a files.
6997 # Tell ltmain to make .dll files, not .so files.
6999 # FIXME: Setting linknames here is a bad hack.
7000 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7001 # The linker will automatically build a .lib file if we build a DLL.
7002 old_archive_From_new_cmds
='true'
7003 # FIXME: Should let the user specify the lib program.
7004 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
7005 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7006 enable_shared_with_static_runtimes
=yes
7009 darwin
* | rhapsody
*)
7011 rhapsody
* | darwin1.
[012])
7012 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7015 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7016 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7018 case ${MACOSX_DEPLOYMENT_TARGET} in
7020 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7023 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7029 archive_cmds_need_lc
=no
7031 hardcode_automatic
=yes
7032 hardcode_shlibpath_var
=unsupported
7033 whole_archive_flag_spec
=''
7034 link_all_deplibs
=yes
7035 if test "$GCC" = yes ; then
7036 output_verbose_link_cmd
='echo'
7037 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7038 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7039 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7040 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}'
7041 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}'
7043 case $cc_basename in
7045 output_verbose_link_cmd
='echo'
7046 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7047 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7048 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7049 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}'
7050 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}'
7060 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7061 hardcode_libdir_flag_spec
='-L$libdir'
7062 hardcode_shlibpath_var
=no
7069 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7070 # support. Future versions do this automatically, but an explicit c++rt0.o
7071 # does not break anything, and helps significantly (at the cost of a little
7074 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7075 hardcode_libdir_flag_spec
='-R$libdir'
7077 hardcode_shlibpath_var
=no
7080 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7082 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7084 hardcode_minus_L
=yes
7085 hardcode_shlibpath_var
=no
7088 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7089 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
7090 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7091 hardcode_libdir_flag_spec
='-R$libdir'
7093 hardcode_shlibpath_var
=no
7097 if test "$GCC" = yes; then
7098 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'
7100 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'
7102 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7103 hardcode_libdir_separator
=:
7106 # hardcode_minus_L: Not really in the search PATH,
7107 # but as the default location of the library.
7108 hardcode_minus_L
=yes
7109 export_dynamic_flag_spec
='${wl}-E'
7113 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7116 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7119 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7125 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7128 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7132 if test "$with_gnu_ld" = no
; then
7135 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7136 hardcode_libdir_flag_spec_ld
='+b $libdir'
7137 hardcode_libdir_separator
=:
7139 hardcode_shlibpath_var
=no
7142 hardcode_libdir_flag_spec
='-L$libdir'
7144 hardcode_shlibpath_var
=no
7146 # hardcode_minus_L: Not really in the search PATH,
7147 # but as the default location of the library.
7148 hardcode_minus_L
=yes
7151 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7152 hardcode_libdir_separator
=:
7154 export_dynamic_flag_spec
='${wl}-E'
7156 # hardcode_minus_L: Not really in the search PATH,
7157 # but as the default location of the library.
7158 hardcode_minus_L
=yes
7164 irix5
* | irix6
* | nonstopux
*)
7165 if test "$GCC" = yes; then
7166 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'
7168 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'
7169 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7171 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7172 hardcode_libdir_separator
=:
7173 link_all_deplibs
=yes
7177 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7178 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7180 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7182 hardcode_libdir_flag_spec
='-R$libdir'
7184 hardcode_shlibpath_var
=no
7188 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7190 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7191 hardcode_libdir_separator
=:
7192 hardcode_shlibpath_var
=no
7197 hardcode_shlibpath_var
=no
7198 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7199 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7200 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7201 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7202 export_dynamic_flag_spec
='${wl}-E'
7205 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
7206 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7207 hardcode_libdir_flag_spec
='-R$libdir'
7210 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7211 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7218 hardcode_libdir_flag_spec
='-L$libdir'
7219 hardcode_minus_L
=yes
7220 allow_undefined_flag
=unsupported
7221 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'
7222 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7226 if test "$GCC" = yes; then
7227 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7228 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'
7230 allow_undefined_flag
=' -expect_unresolved \*'
7231 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'
7233 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7234 hardcode_libdir_separator
=:
7237 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
7238 if test "$GCC" = yes; then
7239 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
7240 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'
7241 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7243 allow_undefined_flag
=' -expect_unresolved \*'
7244 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'
7245 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7246 $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'
7248 # Both c and cxx compiler support -rpath directly
7249 hardcode_libdir_flag_spec
='-rpath $libdir'
7251 hardcode_libdir_separator
=:
7255 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7256 hardcode_shlibpath_var
=no
7257 export_dynamic_flag_spec
='${wl}-Bexport'
7258 runpath_var
=LD_RUN_PATH
7259 hardcode_runpath_var
=yes
7263 no_undefined_flag
=' -z text'
7264 if test "$GCC" = yes; then
7266 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7267 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7268 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7271 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7272 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7273 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7275 hardcode_libdir_flag_spec
='-R$libdir'
7276 hardcode_shlibpath_var
=no
7278 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
7280 # The compiler driver will combine linker options so we
7281 # cannot just pass the convience library names through
7282 # without $wl, iff we do not link with $LD.
7283 # Luckily, gcc supports the same syntax we need for Sun Studio.
7284 # Supported since Solaris 2.6 (maybe 2.5.1?)
7287 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
7289 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' ;;
7292 link_all_deplibs
=yes
7296 if test "x$host_vendor" = xsequent
; then
7297 # Use $CC to link under sequent, because it throws in some extra .o
7298 # files that make .init and .fini sections work.
7299 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7301 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7303 hardcode_libdir_flag_spec
='-L$libdir'
7305 hardcode_minus_L
=yes
7306 hardcode_shlibpath_var
=no
7310 case $host_vendor in
7312 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7313 hardcode_direct
=yes # is this really true???
7316 ## LD is ld it makes a PLAMLIB
7317 ## CC just makes a GrossModule.
7318 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7319 reload_cmds
='$CC -r -o $output$reload_objs'
7323 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7324 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
7327 runpath_var
='LD_RUN_PATH'
7328 hardcode_shlibpath_var
=no
7332 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7333 hardcode_shlibpath_var
=no
7334 export_dynamic_flag_spec
='-Bexport'
7338 if test -d /usr
/nec
; then
7339 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7340 hardcode_shlibpath_var
=no
7341 runpath_var
=LD_RUN_PATH
7342 hardcode_runpath_var
=yes
7348 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7351 hardcode_shlibpath_var
=no
7352 hardcode_runpath_var
=yes
7353 runpath_var
=LD_RUN_PATH
7356 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
7357 no_undefined_flag
='${wl}-z ${wl}text'
7358 if test "$GCC" = yes; then
7359 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7361 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7363 runpath_var
='LD_RUN_PATH'
7364 hardcode_shlibpath_var
=no
7368 no_undefined_flag
=' -z text'
7369 # $CC -shared without GNU ld will not create a library from C++
7370 # object files and a static libstdc++, better avoid it by now
7371 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7372 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7373 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7374 hardcode_libdir_flag_spec
=
7375 hardcode_shlibpath_var
=no
7376 runpath_var
='LD_RUN_PATH'
7380 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7381 hardcode_libdir_flag_spec
='-L$libdir'
7382 hardcode_shlibpath_var
=no
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
7392 $as_echo "$ld_shlibs" >&6; }
7393 test "$ld_shlibs" = no
&& can_build_shared
=no
7395 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
7396 if test "$GCC" = yes; then
7397 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7401 # Do we need to explicitly link libc?
7403 case "x$archive_cmds_need_lc" in
7405 # Assume -lc should be added
7406 archive_cmds_need_lc
=yes
7408 if test "$enable_shared" = yes && test "$GCC" = yes; then
7409 case $archive_cmds in
7411 # FIXME: we may have to deal with multi-command sequences.
7414 # Test whether the compiler implicitly links with -lc since on some
7415 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7416 # to ld, don't add -lc before -lgcc.
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
7418 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
7420 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7423 (eval $ac_compile) 2>&5
7425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7426 test $ac_status = 0; } 2>conftest.err
; then
7429 libobjs
=conftest.
$ac_objext
7431 wl
=$lt_prog_compiler_wl
7437 lt_save_allow_undefined_flag
=$allow_undefined_flag
7438 allow_undefined_flag
=
7439 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
7440 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
7442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7443 test $ac_status = 0; }
7445 archive_cmds_need_lc
=no
7447 archive_cmds_need_lc
=yes
7449 allow_undefined_flag
=$lt_save_allow_undefined_flag
7451 cat conftest.err
1>&5
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
7455 $as_echo "$archive_cmds_need_lc" >&6; }
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
7463 $as_echo_n "checking dynamic linker characteristics... " >&6; }
7465 libname_spec
='lib$name'
7473 shlibpath_overrides_runpath
=unknown
7475 dynamic_linker
="$host_os ld.so"
7476 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
7477 if test "$GCC" = yes; then
7478 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7479 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
7480 # if the path contains ";" then we assume it to be the separator
7481 # otherwise default to the standard path separator (i.e. ":") - it is
7482 # assumed that no part of a normal pathname contains ";" but that should
7483 # okay in the real world where ";" in dirpaths is itself problematic.
7484 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7486 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7489 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
7491 need_lib_prefix
=unknown
7492 hardcode_into_libs
=no
7494 # when you set need_version to no, make sure it does not cause -set_version
7495 # flags to be left without arguments
7496 need_version
=unknown
7501 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
7502 shlibpath_var
=LIBPATH
7504 # AIX 3 has no versioning support, so we append a major version to the name.
7505 soname_spec
='${libname}${release}${shared_ext}$major'
7512 hardcode_into_libs
=yes
7513 if test "$host_cpu" = ia64
; then
7514 # AIX 5 supports IA64
7515 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7516 shlibpath_var
=LD_LIBRARY_PATH
7518 # With GCC up to 2.95.x, collect2 would create an import file
7519 # for dependence libraries. The import file would start with
7520 # the line `#! .'. This would cause the generated library to
7521 # depend on `.', always an invalid library. This was fixed in
7522 # development snapshots of GCC prior to 3.0.
7524 aix4 | aix4.
[01] | aix4.
[01].
*)
7525 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7527 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
7534 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7535 # soname into executable. Probably we can add versioning support to
7536 # collect2, so additional links can be useful in future.
7537 if test "$aix_use_runtimelinking" = yes; then
7538 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7539 # instead of lib<name>.a to let people know that these are not
7540 # typical AIX shared libraries.
7541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7543 # We preserve .a as extension for shared libraries through AIX4.2
7544 # and later when we are not doing run time linking.
7545 library_names_spec
='${libname}${release}.a $libname.a'
7546 soname_spec
='${libname}${release}${shared_ext}$major'
7548 shlibpath_var
=LIBPATH
7553 library_names_spec
='$libname.ixlibrary $libname.a'
7554 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7555 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'
7559 library_names_spec
='${libname}${shared_ext}'
7560 dynamic_linker
="$host_os ld.so"
7561 shlibpath_var
=LIBRARY_PATH
7567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7568 soname_spec
='${libname}${release}${shared_ext}$major'
7569 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
7570 shlibpath_var
=LD_LIBRARY_PATH
7571 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7572 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
7573 # the default ld.so.conf also contains /usr/contrib/lib and
7574 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7575 # libtool to hard-code these into programs
7578 cygwin
* | mingw
* | pw32
*)
7579 version_type
=windows
7584 case $GCC,$host_os in
7585 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
7586 library_names_spec
='$libname.dll.a'
7587 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7588 postinstall_cmds
='base_file=`basename \${file}`~
7589 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7590 dldir=$destdir/`dirname \$dlpath`~
7591 test -d \$dldir || mkdir -p \$dldir~
7592 $install_prog $dir/$dlname \$dldir/$dlname~
7593 chmod a+x \$dldir/$dlname'
7594 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7595 dlpath=$dir/\$dldll~
7597 shlibpath_overrides_runpath
=yes
7601 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7602 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7603 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
7606 # MinGW DLLs use traditional 'lib' prefix
7607 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7608 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7609 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
7610 # It is most probably a Windows format PATH printed by
7611 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7612 # path with ; separators, and with drive letters. We can handle the
7613 # drive letters (cygwin fileutils understands them), so leave them,
7614 # especially as we might pass files found there to a mingw objdump,
7615 # which wouldn't understand a cygwinified path. Ahh.
7616 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7618 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7622 # pw32 DLLs use 'pw' prefix rather than 'lib'
7623 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7629 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7632 dynamic_linker
='Win32 ld.exe'
7633 # FIXME: first we should search . and the directory the executable is in
7637 darwin
* | rhapsody
*)
7638 dynamic_linker
="$host_os dyld"
7642 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7643 soname_spec
='${libname}${release}${major}$shared_ext'
7644 shlibpath_overrides_runpath
=yes
7645 shlibpath_var
=DYLD_LIBRARY_PATH
7646 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
7647 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7648 if test "$GCC" = yes; then
7649 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"`
7651 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
7653 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
7660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7661 soname_spec
='${libname}${release}${shared_ext}$major'
7662 shlibpath_var
=LD_LIBRARY_PATH
7673 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7674 soname_spec
='${libname}${release}${shared_ext}$major'
7675 shlibpath_var
=LD_LIBRARY_PATH
7676 shlibpath_overrides_runpath
=no
7677 hardcode_into_libs
=yes
7678 dynamic_linker
='GNU ld.so'
7681 freebsd
* | dragonfly
*)
7682 # DragonFly does not have aout. When/if they implement a new
7683 # versioning mechanism, adjust this.
7684 if test -x /usr
/bin
/objformat
; then
7685 objformat
=`/usr/bin/objformat`
7688 freebsd
[123]*) objformat
=aout
;;
7692 version_type
=freebsd-
$objformat
7693 case $version_type in
7695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7700 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7704 shlibpath_var
=LD_LIBRARY_PATH
7707 shlibpath_overrides_runpath
=yes
7709 freebsd3.
[01]* | freebsdelf3.
[01]*)
7710 shlibpath_overrides_runpath
=yes
7711 hardcode_into_libs
=yes
7714 shlibpath_overrides_runpath
=no
7715 hardcode_into_libs
=yes
7724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7725 soname_spec
='${libname}${release}${shared_ext}$major'
7726 shlibpath_var
=LD_LIBRARY_PATH
7727 hardcode_into_libs
=yes
7730 hpux9
* | hpux10
* | hpux11
*)
7731 # Give a soname corresponding to the major version so that dld.sl refuses to
7732 # link against other versions.
7739 hardcode_into_libs
=yes
7740 dynamic_linker
="$host_os dld.so"
7741 shlibpath_var
=LD_LIBRARY_PATH
7742 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7744 soname_spec
='${libname}${release}${shared_ext}$major'
7745 if test "X$HPUX_IA64_MODE" = X32
; then
7746 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7748 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
7750 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7754 hardcode_into_libs
=yes
7755 dynamic_linker
="$host_os dld.sl"
7756 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
7757 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
7758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7759 soname_spec
='${libname}${release}${shared_ext}$major'
7760 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7761 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
7765 dynamic_linker
="$host_os dld.sl"
7766 shlibpath_var
=SHLIB_PATH
7767 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
7768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7769 soname_spec
='${libname}${release}${shared_ext}$major'
7772 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7773 postinstall_cmds
='chmod 555 $lib'
7776 irix5
* | irix6
* | nonstopux
*)
7778 nonstopux
*) version_type
=nonstopux
;;
7780 if test "$lt_cv_prog_gnu_ld" = yes; then
7788 soname_spec
='${libname}${release}${shared_ext}$major'
7789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7791 irix5
* | nonstopux
*)
7795 case $LD in # libtool.m4 will add one of these switches to LD
7796 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
7797 libsuff
= shlibsuff
= libmagic
=32-bit;;
7798 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
7799 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
7800 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
7801 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
7802 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
7806 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
7807 shlibpath_overrides_runpath
=no
7808 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7809 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
7810 hardcode_into_libs
=yes
7813 # No shared lib support for Linux oldld, aout, or coff.
7814 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
7818 # This must be Linux ELF.
7823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7824 soname_spec
='${libname}${release}${shared_ext}$major'
7825 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7826 shlibpath_var
=LD_LIBRARY_PATH
7827 shlibpath_overrides_runpath
=no
7828 # This implies no fast_install, which is unacceptable.
7829 # Some rework will be needed to allow for fast_install
7830 # before this can be enabled.
7831 hardcode_into_libs
=yes
7833 # Append ld.so.conf contents to the search path
7834 if test -f /etc
/ld.so.conf
; then
7835 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7836 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
7839 # We used to test for /lib/ld.so.1 and disable shared libraries on
7840 # powerpc, because MkLinux only supported shared libraries with the
7841 # GNU dynamic linker. Since this was broken with cross compilers,
7842 # most powerpc-linux boxes support dynamic linking these days and
7843 # people can always --disable-shared, the test was removed, and we
7844 # assume the GNU/Linux dynamic linker is in use.
7845 dynamic_linker
='GNU/Linux ld.so'
7852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7853 soname_spec
='${libname}${release}${shared_ext}$major'
7854 shlibpath_var
=LD_LIBRARY_PATH
7855 shlibpath_overrides_runpath
=no
7856 hardcode_into_libs
=yes
7857 dynamic_linker
='GNU ld.so'
7864 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7866 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7867 dynamic_linker
='NetBSD (a.out) ld.so'
7869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7870 soname_spec
='${libname}${release}${shared_ext}$major'
7871 dynamic_linker
='NetBSD ld.elf_so'
7873 shlibpath_var
=LD_LIBRARY_PATH
7874 shlibpath_overrides_runpath
=yes
7875 hardcode_into_libs
=yes
7880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7881 shlibpath_var
=LD_LIBRARY_PATH
7882 shlibpath_overrides_runpath
=yes
7889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7890 soname_spec
='${libname}${release}${shared_ext}$major'
7891 shlibpath_var
=LD_LIBRARY_PATH
7892 shlibpath_overrides_runpath
=yes
7898 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
7900 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
7901 *) need_version
=no
;;
7903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7904 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7905 shlibpath_var
=LD_LIBRARY_PATH
7906 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7908 openbsd2.
[89] | openbsd2.
[89].
*)
7909 shlibpath_overrides_runpath
=no
7912 shlibpath_overrides_runpath
=yes
7916 shlibpath_overrides_runpath
=yes
7921 libname_spec
='$name'
7924 library_names_spec
='$libname${shared_ext} $libname.a'
7925 dynamic_linker
='OS/2 ld.exe'
7926 shlibpath_var
=LIBPATH
7929 osf3
* | osf4
* | osf5
*)
7933 soname_spec
='${libname}${release}${shared_ext}$major'
7934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7935 shlibpath_var
=LD_LIBRARY_PATH
7936 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7937 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
7942 soname_spec
='${libname}${release}${shared_ext}$major'
7943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7944 shlibpath_var
=LD_LIBRARY_PATH
7951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7952 soname_spec
='${libname}${release}${shared_ext}$major'
7953 shlibpath_var
=LD_LIBRARY_PATH
7954 shlibpath_overrides_runpath
=yes
7955 hardcode_into_libs
=yes
7956 # ldd complains unless libraries are executable
7957 postinstall_cmds
='chmod +x $lib'
7962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7963 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7964 shlibpath_var
=LD_LIBRARY_PATH
7965 shlibpath_overrides_runpath
=yes
7966 if test "$with_gnu_ld" = yes; then
7972 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7975 soname_spec
='${libname}${release}${shared_ext}$major'
7976 shlibpath_var
=LD_LIBRARY_PATH
7977 case $host_vendor in
7979 shlibpath_overrides_runpath
=no
7981 export_dynamic_flag_spec
='${wl}-Blargedynsym'
7982 runpath_var
=LD_RUN_PATH
7990 shlibpath_overrides_runpath
=no
7991 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
7997 if test -d /usr
/nec
;then
7999 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8000 soname_spec
='$libname${shared_ext}.$major'
8001 shlibpath_var
=LD_LIBRARY_PATH
8007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8008 soname_spec
='${libname}${release}${shared_ext}$major'
8009 shlibpath_var
=LD_LIBRARY_PATH
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
8017 $as_echo "$dynamic_linker" >&6; }
8018 test "$dynamic_linker" = no
&& can_build_shared
=no
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
8021 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
8023 if test -n "$hardcode_libdir_flag_spec" || \
8024 test -n "$runpath_var" || \
8025 test "X$hardcode_automatic" = "Xyes" ; then
8027 # We can hardcode non-existant directories.
8028 if test "$hardcode_direct" != no
&&
8029 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8030 # have to relink, otherwise we might link with an installed library
8031 # when we should be linking with a yet-to-be-installed one
8032 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8033 test "$hardcode_minus_L" != no
; then
8034 # Linking always hardcodes the temporary library directory.
8035 hardcode_action
=relink
8037 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8038 hardcode_action
=immediate
8041 # We cannot hardcode anything, or else we can only hardcode existing
8043 hardcode_action
=unsupported
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
8046 $as_echo "$hardcode_action" >&6; }
8048 if test "$hardcode_action" = relink
; then
8049 # Fast installation is not supported
8050 enable_fast_install
=no
8051 elif test "$shlibpath_overrides_runpath" = yes ||
8052 test "$enable_shared" = no
; then
8053 # Fast installation is not necessary
8054 enable_fast_install
=needless
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
8060 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
8061 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
8062 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
8063 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8065 $as_echo "yes" >&6; }
8067 # FIXME - insert some real tests, host_os isn't really good enough
8070 if test -n "$STRIP" ; then
8071 striplib
="$STRIP -x"
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8073 $as_echo "yes" >&6; }
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8081 $as_echo "no" >&6; }
8086 if test "x$enable_dlopen" != xyes
; then
8087 enable_dlopen
=unknown
8088 enable_dlopen_self
=unknown
8089 enable_dlopen_self_static
=unknown
8096 lt_cv_dlopen
="load_add_on"
8098 lt_cv_dlopen_self
=yes
8102 lt_cv_dlopen
="LoadLibrary"
8107 lt_cv_dlopen
="dlopen"
8112 # if libdl is installed we need to link against it
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8114 $as_echo_n "checking for dlopen in -ldl... " >&6; }
8115 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
8116 $as_echo_n "(cached) " >&6
8118 ac_check_lib_save_LIBS
=$LIBS
8120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8123 /* Override any GCC internal prototype to avoid an error.
8124 Use char because int might match the return type of a GCC
8125 builtin and then its argument prototype would still apply. */
8138 if ac_fn_c_try_link
"$LINENO"; then :
8139 ac_cv_lib_dl_dlopen
=yes
8141 ac_cv_lib_dl_dlopen
=no
8143 rm -f core conftest.err conftest.
$ac_objext \
8144 conftest
$ac_exeext conftest.
$ac_ext
8145 LIBS
=$ac_check_lib_save_LIBS
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8148 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8149 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
8150 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8155 lt_cv_dlopen_self
=yes
8162 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
8163 if test "x$ac_cv_func_shl_load" = x
""yes; then :
8164 lt_cv_dlopen
="shl_load"
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
8167 $as_echo_n "checking for shl_load in -ldld... " >&6; }
8168 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
8169 $as_echo_n "(cached) " >&6
8171 ac_check_lib_save_LIBS
=$LIBS
8173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8174 /* end confdefs.h. */
8176 /* Override any GCC internal prototype to avoid an error.
8177 Use char because int might match the return type of a GCC
8178 builtin and then its argument prototype would still apply. */
8191 if ac_fn_c_try_link
"$LINENO"; then :
8192 ac_cv_lib_dld_shl_load
=yes
8194 ac_cv_lib_dld_shl_load
=no
8196 rm -f core conftest.err conftest.
$ac_objext \
8197 conftest
$ac_exeext conftest.
$ac_ext
8198 LIBS
=$ac_check_lib_save_LIBS
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
8201 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
8202 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
8203 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
8205 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
8206 if test "x$ac_cv_func_dlopen" = x
""yes; then :
8207 lt_cv_dlopen
="dlopen"
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8210 $as_echo_n "checking for dlopen in -ldl... " >&6; }
8211 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
8212 $as_echo_n "(cached) " >&6
8214 ac_check_lib_save_LIBS
=$LIBS
8216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8219 /* Override any GCC internal prototype to avoid an error.
8220 Use char because int might match the return type of a GCC
8221 builtin and then its argument prototype would still apply. */
8234 if ac_fn_c_try_link
"$LINENO"; then :
8235 ac_cv_lib_dl_dlopen
=yes
8237 ac_cv_lib_dl_dlopen
=no
8239 rm -f core conftest.err conftest.
$ac_objext \
8240 conftest
$ac_exeext conftest.
$ac_ext
8241 LIBS
=$ac_check_lib_save_LIBS
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8244 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
8245 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
8246 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
8249 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
8250 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
8251 $as_echo_n "(cached) " >&6
8253 ac_check_lib_save_LIBS
=$LIBS
8255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8258 /* Override any GCC internal prototype to avoid an error.
8259 Use char because int might match the return type of a GCC
8260 builtin and then its argument prototype would still apply. */
8273 if ac_fn_c_try_link
"$LINENO"; then :
8274 ac_cv_lib_svld_dlopen
=yes
8276 ac_cv_lib_svld_dlopen
=no
8278 rm -f core conftest.err conftest.
$ac_objext \
8279 conftest
$ac_exeext conftest.
$ac_ext
8280 LIBS
=$ac_check_lib_save_LIBS
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
8283 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
8284 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
8285 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
8288 $as_echo_n "checking for dld_link in -ldld... " >&6; }
8289 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
8290 $as_echo_n "(cached) " >&6
8292 ac_check_lib_save_LIBS
=$LIBS
8294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8297 /* Override any GCC internal prototype to avoid an error.
8298 Use char because int might match the return type of a GCC
8299 builtin and then its argument prototype would still apply. */
8312 if ac_fn_c_try_link
"$LINENO"; then :
8313 ac_cv_lib_dld_dld_link
=yes
8315 ac_cv_lib_dld_dld_link
=no
8317 rm -f core conftest.err conftest.
$ac_objext \
8318 conftest
$ac_exeext conftest.
$ac_ext
8319 LIBS
=$ac_check_lib_save_LIBS
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
8322 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
8323 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
8324 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
8345 if test "x$lt_cv_dlopen" != xno
; then
8351 case $lt_cv_dlopen in
8353 save_CPPFLAGS
="$CPPFLAGS"
8354 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
8356 save_LDFLAGS
="$LDFLAGS"
8357 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
8360 LIBS
="$lt_cv_dlopen_libs $LIBS"
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
8363 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
8364 if test "${lt_cv_dlopen_self+set}" = set; then :
8365 $as_echo_n "(cached) " >&6
8367 if test "$cross_compiling" = yes; then :
8368 lt_cv_dlopen_self
=cross
8370 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8371 lt_status
=$lt_dlunknown
8372 cat > conftest.
$ac_ext <<EOF
8373 #line 8373 "configure"
8374 #include "confdefs.h"
8383 # define LT_DLGLOBAL RTLD_GLOBAL
8386 # define LT_DLGLOBAL DL_GLOBAL
8388 # define LT_DLGLOBAL 0
8392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8393 find out it does not work in some platform. */
8394 #ifndef LT_DLLAZY_OR_NOW
8396 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8399 # define LT_DLLAZY_OR_NOW DL_LAZY
8402 # define LT_DLLAZY_OR_NOW RTLD_NOW
8405 # define LT_DLLAZY_OR_NOW DL_NOW
8407 # define LT_DLLAZY_OR_NOW 0
8415 extern "C" void exit (int);
8418 void fnord() { int i=42;}
8421 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8422 int status = $lt_dlunknown;
8426 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8427 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8428 /* dlclose (self); */
8434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8435 (eval $ac_link) 2>&5
8437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8438 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8439 (.
/conftest
; exit; ) >&5 2>/dev
/null
8442 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
8443 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
8444 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
8447 # compilation failed
8448 lt_cv_dlopen_self
=no
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
8456 $as_echo "$lt_cv_dlopen_self" >&6; }
8458 if test "x$lt_cv_dlopen_self" = xyes
; then
8459 LDFLAGS
="$LDFLAGS $link_static_flag"
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
8461 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
8462 if test "${lt_cv_dlopen_self_static+set}" = set; then :
8463 $as_echo_n "(cached) " >&6
8465 if test "$cross_compiling" = yes; then :
8466 lt_cv_dlopen_self_static
=cross
8468 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
8469 lt_status
=$lt_dlunknown
8470 cat > conftest.
$ac_ext <<EOF
8471 #line 8471 "configure"
8472 #include "confdefs.h"
8481 # define LT_DLGLOBAL RTLD_GLOBAL
8484 # define LT_DLGLOBAL DL_GLOBAL
8486 # define LT_DLGLOBAL 0
8490 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8491 find out it does not work in some platform. */
8492 #ifndef LT_DLLAZY_OR_NOW
8494 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8497 # define LT_DLLAZY_OR_NOW DL_LAZY
8500 # define LT_DLLAZY_OR_NOW RTLD_NOW
8503 # define LT_DLLAZY_OR_NOW DL_NOW
8505 # define LT_DLLAZY_OR_NOW 0
8513 extern "C" void exit (int);
8516 void fnord() { int i=42;}
8519 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8520 int status = $lt_dlunknown;
8524 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8525 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8526 /* dlclose (self); */
8532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8533 (eval $ac_link) 2>&5
8535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8536 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
8537 (.
/conftest
; exit; ) >&5 2>/dev
/null
8540 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
8541 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
8542 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
8545 # compilation failed
8546 lt_cv_dlopen_self_static
=no
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
8554 $as_echo "$lt_cv_dlopen_self_static" >&6; }
8557 CPPFLAGS
="$save_CPPFLAGS"
8558 LDFLAGS
="$save_LDFLAGS"
8563 case $lt_cv_dlopen_self in
8564 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
8565 *) enable_dlopen_self
=unknown
;;
8568 case $lt_cv_dlopen_self_static in
8569 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
8570 *) enable_dlopen_self_static
=unknown
;;
8575 # Report which librarie types wil actually be built
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
8577 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
8579 $as_echo "$can_build_shared" >&6; }
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
8582 $as_echo_n "checking whether to build shared libraries... " >&6; }
8583 test "$can_build_shared" = "no" && enable_shared
=no
8585 # On AIX, shared libraries and static libraries use the same namespace, and
8586 # are all built from PIC.
8589 test "$enable_shared" = yes && enable_static
=no
8590 if test -n "$RANLIB"; then
8591 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
8592 postinstall_cmds
='$RANLIB $lib'
8597 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
8598 test "$enable_shared" = yes && enable_static
=no
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
8603 $as_echo "$enable_shared" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
8606 $as_echo_n "checking whether to build static libraries... " >&6; }
8607 # Make sure either enable_shared or enable_static is yes.
8608 test "$enable_shared" = yes || enable_static
=yes
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
8610 $as_echo "$enable_static" >&6; }
8612 # The else clause should only fire when bootstrapping the
8613 # libtool distribution, otherwise you forgot to ship ltmain.sh
8614 # with your package, and you will get complaints that there are
8615 # no rules to generate ltmain.sh.
8616 if test -f "$ltmain"; then
8617 # See if we are running on zsh, and set the options which allow our commands through
8618 # without removal of \ escapes.
8619 if test -n "${ZSH_VERSION+set}" ; then
8620 setopt NO_GLOB_SUBST
8622 # Now quote all the things that may contain metacharacters while being
8623 # careful not to overquote the AC_SUBSTed values. We take copies of the
8624 # variables and quote the copies for generation of the libtool script.
8625 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
8627 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8628 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8629 deplibs_check_method reload_flag reload_cmds need_locks \
8630 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8631 lt_cv_sys_global_symbol_to_c_name_address \
8632 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8633 old_postinstall_cmds old_postuninstall_cmds \
8637 lt_prog_compiler_wl \
8638 lt_prog_compiler_pic \
8639 lt_prog_compiler_static \
8640 lt_prog_compiler_no_builtin_flag \
8641 export_dynamic_flag_spec \
8642 thread_safe_flag_spec \
8643 whole_archive_flag_spec \
8644 enable_shared_with_static_runtimes \
8646 old_archive_from_new_cmds \
8651 compiler_lib_search_path \
8653 archive_expsym_cmds \
8655 postuninstall_cmds \
8656 old_archive_from_expsyms_cmds \
8657 allow_undefined_flag \
8659 export_symbols_cmds \
8660 hardcode_libdir_flag_spec \
8661 hardcode_libdir_flag_spec_ld \
8662 hardcode_libdir_separator \
8663 hardcode_automatic \
8665 module_expsym_cmds \
8666 lt_cv_prog_compiler_c_o \
8671 old_archive_cmds | \
8672 old_archive_from_new_cmds | \
8674 archive_expsym_cmds | \
8676 module_expsym_cmds | \
8677 old_archive_from_expsyms_cmds | \
8678 export_symbols_cmds | \
8679 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8680 postinstall_cmds | postuninstall_cmds | \
8681 old_postinstall_cmds | old_postuninstall_cmds | \
8682 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
8683 # Double-quote double-evaled strings.
8684 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8687 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8693 *'\$0 --fallback-echo"')
8694 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8699 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
8702 $as_echo "$as_me: creating $ofile" >&6;}
8704 cat <<__EOF__ >> "$cfgfile"
8707 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8708 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8709 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8711 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8712 # Free Software Foundation, Inc.
8714 # This file is part of GNU Libtool:
8715 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8717 # This program is free software; you can redistribute it and/or modify
8718 # it under the terms of the GNU General Public License as published by
8719 # the Free Software Foundation; either version 2 of the License, or
8720 # (at your option) any later version.
8722 # This program is distributed in the hope that it will be useful, but
8723 # WITHOUT ANY WARRANTY; without even the implied warranty of
8724 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8725 # General Public License for more details.
8727 # You should have received a copy of the GNU General Public License
8728 # along with this program; if not, write to the Free Software
8729 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
8731 # As a special exception to the GNU General Public License, if you
8732 # distribute this file as part of a program that contains a
8733 # configuration script generated by Autoconf, you may include it under
8734 # the same distribution terms that you use for the rest of that program.
8736 # A sed program that does not truncate output.
8739 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8740 Xsed="$SED -e 1s/^X//"
8742 # The HP-UX ksh and POSIX shell print the target directory to stdout
8744 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8746 # The names of the tagged configurations supported by this script.
8749 # ### BEGIN LIBTOOL CONFIG
8751 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8753 # Shell to use when invoking shell scripts.
8756 # Whether or not to build shared libraries.
8757 build_libtool_libs=$enable_shared
8759 # Whether or not to build static libraries.
8760 build_old_libs=$enable_static
8762 # Whether or not to add -lc for building shared libraries.
8763 build_libtool_need_lc=$archive_cmds_need_lc
8765 # Whether or not to disallow shared libs when runtime libs are static
8766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8768 # Whether or not to optimize for fast installation.
8769 fast_install=$enable_fast_install
8772 host_alias=$host_alias
8777 build_alias=$build_alias
8781 # An echo program that does not interpret backslashes.
8786 AR_FLAGS=$lt_AR_FLAGS
8791 # A language-specific compiler.
8794 # Is the compiler the GNU C compiler?
8800 # The linker used to build libraries.
8803 # Whether we need hard or soft links.
8806 # A BSD-compatible nm program.
8809 # A symbol stripping program
8812 # Used to examine libraries when file_magic_cmd begins "file"
8813 MAGIC_CMD=$MAGIC_CMD
8815 # Used on cygwin: DLL creation program.
8818 # Used on cygwin: object dumper.
8821 # Used on cygwin: assembler.
8824 # The name of the directory that contains temporary libtool files.
8827 # How to create reloadable object files.
8828 reload_flag=$lt_reload_flag
8829 reload_cmds=$lt_reload_cmds
8831 # How to pass a linker flag through the compiler.
8832 wl=$lt_lt_prog_compiler_wl
8834 # Object file suffix (normally "o").
8837 # Old archive suffix (normally "a").
8840 # Shared library suffix (normally ".so").
8841 shrext_cmds='$shrext_cmds'
8843 # Executable file suffix (normally "").
8846 # Additional compiler flags for building library objects.
8847 pic_flag=$lt_lt_prog_compiler_pic
8850 # What is the maximum length of a command?
8851 max_cmd_len=$lt_cv_sys_max_cmd_len
8853 # Does compiler simultaneously support -c and -o options?
8854 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
8856 # Must we lock files when doing compilation?
8857 need_locks=$lt_need_locks
8859 # Do we need the lib prefix for modules?
8860 need_lib_prefix=$need_lib_prefix
8862 # Do we need a version for libraries?
8863 need_version=$need_version
8865 # Whether dlopen is supported.
8866 dlopen_support=$enable_dlopen
8868 # Whether dlopen of programs is supported.
8869 dlopen_self=$enable_dlopen_self
8871 # Whether dlopen of statically linked programs is supported.
8872 dlopen_self_static=$enable_dlopen_self_static
8874 # Compiler flag to prevent dynamic linking.
8875 link_static_flag=$lt_lt_prog_compiler_static
8877 # Compiler flag to turn off builtin functions.
8878 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
8880 # Compiler flag to allow reflexive dlopens.
8881 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
8883 # Compiler flag to generate shared objects directly from archives.
8884 whole_archive_flag_spec=$lt_whole_archive_flag_spec
8886 # Compiler flag to generate thread-safe objects.
8887 thread_safe_flag_spec=$lt_thread_safe_flag_spec
8889 # Library versioning type.
8890 version_type=$version_type
8892 # Format of library name prefix.
8893 libname_spec=$lt_libname_spec
8895 # List of archive names. First name is the real one, the rest are links.
8896 # The last name is the one that the linker finds with -lNAME.
8897 library_names_spec=$lt_library_names_spec
8899 # The coded name of the library, if different from the real name.
8900 soname_spec=$lt_soname_spec
8902 # Commands used to build and install an old-style archive.
8904 old_archive_cmds=$lt_old_archive_cmds
8905 old_postinstall_cmds=$lt_old_postinstall_cmds
8906 old_postuninstall_cmds=$lt_old_postuninstall_cmds
8908 # Create an old-style archive from a shared archive.
8909 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
8911 # Create a temporary old-style archive to link instead of a shared archive.
8912 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
8914 # Commands used to build and install a shared archive.
8915 archive_cmds=$lt_archive_cmds
8916 archive_expsym_cmds=$lt_archive_expsym_cmds
8917 postinstall_cmds=$lt_postinstall_cmds
8918 postuninstall_cmds=$lt_postuninstall_cmds
8920 # Commands used to build a loadable module (assumed same as above if empty)
8921 module_cmds=$lt_module_cmds
8922 module_expsym_cmds=$lt_module_expsym_cmds
8924 # Commands to strip libraries.
8925 old_striplib=$lt_old_striplib
8926 striplib=$lt_striplib
8928 # Dependencies to place before the objects being linked to create a
8930 predep_objects=$lt_predep_objects
8932 # Dependencies to place after the objects being linked to create a
8934 postdep_objects=$lt_postdep_objects
8936 # Dependencies to place before the objects being linked to create a
8940 # Dependencies to place after the objects being linked to create a
8942 postdeps=$lt_postdeps
8944 # The library search path used internally by the compiler when linking
8946 compiler_lib_search_path=$lt_compiler_lib_search_path
8948 # Method to check whether dependent libraries are shared objects.
8949 deplibs_check_method=$lt_deplibs_check_method
8951 # Command to use when deplibs_check_method == file_magic.
8952 file_magic_cmd=$lt_file_magic_cmd
8954 # Flag that allows shared libraries with undefined symbols to be built.
8955 allow_undefined_flag=$lt_allow_undefined_flag
8957 # Flag that forces no undefined symbols.
8958 no_undefined_flag=$lt_no_undefined_flag
8960 # Commands used to finish a libtool library installation in a directory.
8961 finish_cmds=$lt_finish_cmds
8963 # Same as above, but a single script fragment to be evaled but not shown.
8964 finish_eval=$lt_finish_eval
8966 # Take the output of nm and produce a listing of raw symbols and C names.
8967 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
8969 # Transform the output of nm in a proper C declaration
8970 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
8972 # Transform the output of nm in a C name address pair
8973 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
8975 # This is the shared library runtime path variable.
8976 runpath_var=$runpath_var
8978 # This is the shared library path variable.
8979 shlibpath_var=$shlibpath_var
8981 # Is shlibpath searched before the hard-coded library search path?
8982 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
8984 # How to hardcode a shared library path into an executable.
8985 hardcode_action=$hardcode_action
8987 # Whether we should hardcode library paths into libraries.
8988 hardcode_into_libs=$hardcode_into_libs
8990 # Flag to hardcode \$libdir into a binary during linking.
8991 # This must work even if \$libdir does not exist.
8992 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
8994 # If ld is used when linking, flag to hardcode \$libdir into
8995 # a binary during linking. This must work even if \$libdir does
8997 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
8999 # Whether we need a single -rpath flag with a separated argument.
9000 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9002 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9004 hardcode_direct=$hardcode_direct
9006 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9008 hardcode_minus_L=$hardcode_minus_L
9010 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9011 # the resulting binary.
9012 hardcode_shlibpath_var=$hardcode_shlibpath_var
9014 # Set to yes if building a shared library automatically hardcodes DIR into the library
9015 # and all subsequent libraries and executables linked against it.
9016 hardcode_automatic=$hardcode_automatic
9018 # Variables whose values should be saved in libtool wrapper scripts and
9019 # restored at relink time.
9020 variables_saved_for_relink="$variables_saved_for_relink"
9022 # Whether libtool must link a program against all its dependency libraries.
9023 link_all_deplibs=$link_all_deplibs
9025 # Compile-time system search path for libraries
9026 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9028 # Run-time system search path for libraries
9029 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9031 # Fix the shell variable \$srcfile for the compiler.
9032 fix_srcfile_path="$fix_srcfile_path"
9034 # Set to yes if exported symbols are required.
9035 always_export_symbols=$always_export_symbols
9037 # The commands to list exported symbols.
9038 export_symbols_cmds=$lt_export_symbols_cmds
9040 # The commands to extract the exported symbol list from a shared archive.
9041 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9043 # Symbols that should not be listed in the preloaded symbols.
9044 exclude_expsyms=$lt_exclude_expsyms
9046 # Symbols that must always be exported.
9047 include_expsyms=$lt_include_expsyms
9049 # ### END LIBTOOL CONFIG
9056 cat <<\EOF
>> "$cfgfile"
9058 # AIX sometimes has problems with the GCC collect2 program. For some
9059 # reason, if we set the COLLECT_NAMES environment variable, the problems
9060 # vanish in a puff of smoke.
9061 if test "X${COLLECT_NAMES+set}" != Xset
; then
9063 export COLLECT_NAMES
9069 # We use sed instead of cat because bash on DJGPP gets confused if
9070 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9071 # text mode, it properly converts lines to CR/LF. This bash problem
9072 # is reportedly fixed, but why not run on old versions too?
9073 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
9075 mv -f "$cfgfile" "$ofile" || \
9076 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9080 # If there is no Makefile yet, we rely on a make rule to execute
9081 # `config.status --recheck' to rerun these tests and create the
9082 # libtool script then.
9083 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9084 if test -f "$ltmain_in"; then
9085 test -f Makefile
&& make "$ltmain"
9091 ac_cpp
='$CPP $CPPFLAGS'
9092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9099 # Check whether --with-tags was given.
9100 if test "${with_tags+set}" = set; then :
9101 withval
=$with_tags; tagnames
="$withval"
9105 if test -f "$ltmain" && test -n "$tagnames"; then
9106 if test ! -f "${ofile}"; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
9108 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9111 if test -z "$LTCC"; then
9112 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9113 if test -z "$LTCC"; then
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9115 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9118 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9122 # Extract list of available tagged configurations in $ofile.
9123 # Note that this assumes the entire list is on one line.
9124 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9126 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9127 for tagname
in $tagnames; do
9129 # Check whether tagname contains only valid characters
9130 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9132 *) as_fn_error
"invalid tag name: $tagname" "$LINENO" 5
9136 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
9138 as_fn_error
"tag name \"$tagname\" already exists" "$LINENO" 5
9141 # Update the list of available tags.
9142 if test -n "$tagname"; then
9143 echo appending configuration tag
\"$tagname\" to
$ofile
9147 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9148 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9149 (test "X$CXX" != "Xg++"))) ; then
9157 if test -n "$F77" && test "X$F77" != "Xno"; then
9165 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
9168 # Source file extension for Java test sources.
9171 # Object file extension for compiled Java test sources.
9175 # Code to be used in simple compile tests
9176 lt_simple_compile_test_code
="class foo {}\n"
9178 # Code to be used in simple link tests
9179 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
9181 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9183 # If no C compiler was specified, use CC.
9186 # Allow CC to be a program name with arguments.
9190 # save warnings/boilerplate of simple test code
9191 ac_outfile
=conftest.
$ac_objext
9192 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
9193 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9194 _lt_compiler_boilerplate
=`cat conftest.err`
9197 ac_outfile
=conftest.
$ac_objext
9198 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
9199 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
9200 _lt_linker_boilerplate
=`cat conftest.err`
9204 # Allow CC to be a program name with arguments.
9209 for cc_temp
in $compiler""; do
9211 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9212 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9217 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9220 # GCJ did not exist at the time GCC didn't implicitly link libc in.
9221 archive_cmds_need_lc_GCJ
=no
9223 old_archive_cmds_GCJ
=$old_archive_cmds
9226 lt_prog_compiler_no_builtin_flag_GCJ
=
9228 if test "$GCC" = yes; then
9229 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9233 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9234 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9235 $as_echo_n "(cached) " >&6
9237 lt_cv_prog_compiler_rtti_exceptions
=no
9238 ac_outfile
=conftest.
$ac_objext
9239 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9240 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9241 # Insert the option either (1) after the last *FLAGS variable, or
9242 # (2) before a word containing "conftest.", or (3) at the end.
9243 # Note that $ac_compile itself does not contain backslashes and begins
9244 # with a dollar sign (not a hyphen), so the echo should work correctly.
9245 # The option is referenced via a variable to avoid confusing sed.
9246 lt_compile
=`echo "$ac_compile" | $SED \
9247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9249 -e 's:$: $lt_compiler_flag:'`
9250 (eval echo "\"\$as_me:9250: $lt_compile\"" >&5)
9251 (eval "$lt_compile" 2>conftest.err
)
9253 cat conftest.err
>&5
9254 echo "$as_me:9254: \$? = $ac_status" >&5
9255 if (exit $ac_status) && test -s "$ac_outfile"; then
9256 # The compiler can only warn and ignore the option if not recognized
9257 # So say no if there are warnings other than the usual output.
9258 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
9259 $SED '/^$/d' conftest.err
>conftest.er2
9260 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9261 lt_cv_prog_compiler_rtti_exceptions
=yes
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9268 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9270 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9271 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
9278 lt_prog_compiler_wl_GCJ
=
9279 lt_prog_compiler_pic_GCJ
=
9280 lt_prog_compiler_static_GCJ
=
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9283 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9285 if test "$GCC" = yes; then
9286 lt_prog_compiler_wl_GCJ
='-Wl,'
9287 lt_prog_compiler_static_GCJ
='-static'
9291 # All AIX code is PIC.
9292 if test "$host_cpu" = ia64
; then
9293 # AIX 5 now supports IA64 processor
9294 lt_prog_compiler_static_GCJ
='-Bstatic'
9299 # FIXME: we need at least 68020 code to build shared libraries, but
9300 # adding the `-m68020' flag to GCC prevents building anything better,
9302 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
9305 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9306 # PIC is the default for these OSes.
9309 mingw
* | pw32
* | os2
*)
9310 # This hack is so that the source file can tell whether it is being
9311 # built for inclusion in a dll (and should export symbols for example).
9312 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
9315 darwin
* | rhapsody
*)
9316 # PIC is the default on this platform
9317 # Common symbols not allowed in MH_DYLIB files
9318 lt_prog_compiler_pic_GCJ
='-fno-common'
9322 # Just because we use GCC doesn't mean we suddenly get shared libraries
9323 # on systems that don't support them.
9324 lt_prog_compiler_can_build_shared_GCJ
=no
9329 if test -d /usr
/nec
; then
9330 lt_prog_compiler_pic_GCJ
=-Kconform_pic
9335 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9342 lt_prog_compiler_pic_GCJ
='-fPIC'
9348 lt_prog_compiler_pic_GCJ
='-fPIC'
9352 # PORTME Check for flag to pass linker flags through the system compiler.
9355 lt_prog_compiler_wl_GCJ
='-Wl,'
9356 if test "$host_cpu" = ia64
; then
9357 # AIX 5 now supports IA64 processor
9358 lt_prog_compiler_static_GCJ
='-Bstatic'
9360 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
9364 # PIC is the default on this platform
9365 # Common symbols not allowed in MH_DYLIB files
9366 case $cc_basename in
9368 lt_prog_compiler_pic_GCJ
='-qnocommon'
9369 lt_prog_compiler_wl_GCJ
='-Wl,'
9374 mingw
* | pw32
* | os2
*)
9375 # This hack is so that the source file can tell whether it is being
9376 # built for inclusion in a dll (and should export symbols for example).
9377 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
9380 hpux9
* | hpux10
* | hpux11
*)
9381 lt_prog_compiler_wl_GCJ
='-Wl,'
9382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9389 lt_prog_compiler_pic_GCJ
='+Z'
9392 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9393 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
9396 irix5
* | irix6
* | nonstopux
*)
9397 lt_prog_compiler_wl_GCJ
='-Wl,'
9398 # PIC (with -KPIC) is the default.
9399 lt_prog_compiler_static_GCJ
='-non_shared'
9403 lt_prog_compiler_pic_GCJ
='-KPIC'
9404 lt_prog_compiler_static_GCJ
='-Bstatic'
9408 case $cc_basename in
9410 lt_prog_compiler_wl_GCJ
='-Wl,'
9411 lt_prog_compiler_pic_GCJ
='-KPIC'
9412 lt_prog_compiler_static_GCJ
='-static'
9414 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9415 # Portland Group compilers (*not* the Pentium gcc compiler,
9416 # which looks to be a dead project)
9417 lt_prog_compiler_wl_GCJ
='-Wl,'
9418 lt_prog_compiler_pic_GCJ
='-fpic'
9419 lt_prog_compiler_static_GCJ
='-Bstatic'
9422 lt_prog_compiler_wl_GCJ
='-Wl,'
9423 # All Alpha code is PIC.
9424 lt_prog_compiler_static_GCJ
='-non_shared'
9429 osf3
* | osf4
* | osf5
*)
9430 lt_prog_compiler_wl_GCJ
='-Wl,'
9431 # All OSF/1 code is PIC.
9432 lt_prog_compiler_static_GCJ
='-non_shared'
9436 lt_prog_compiler_pic_GCJ
='-Kpic'
9437 lt_prog_compiler_static_GCJ
='-dn'
9441 lt_prog_compiler_pic_GCJ
='-KPIC'
9442 lt_prog_compiler_static_GCJ
='-Bstatic'
9443 case $cc_basename in
9445 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
9447 lt_prog_compiler_wl_GCJ
='-Wl,';;
9452 lt_prog_compiler_wl_GCJ
='-Qoption ld '
9453 lt_prog_compiler_pic_GCJ
='-PIC'
9454 lt_prog_compiler_static_GCJ
='-Bstatic'
9457 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9458 lt_prog_compiler_wl_GCJ
='-Wl,'
9459 lt_prog_compiler_pic_GCJ
='-KPIC'
9460 lt_prog_compiler_static_GCJ
='-Bstatic'
9464 if test -d /usr
/nec
;then
9465 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
9466 lt_prog_compiler_static_GCJ
='-Bstatic'
9471 lt_prog_compiler_wl_GCJ
='-Wl,'
9472 lt_prog_compiler_can_build_shared_GCJ
=no
9476 lt_prog_compiler_pic_GCJ
='-pic'
9477 lt_prog_compiler_static_GCJ
='-Bstatic'
9481 lt_prog_compiler_can_build_shared_GCJ
=no
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
9487 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
9490 # Check to make sure the PIC flag actually works.
9492 if test -n "$lt_prog_compiler_pic_GCJ"; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
9495 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
9496 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then :
9497 $as_echo_n "(cached) " >&6
9499 lt_prog_compiler_pic_works_GCJ
=no
9500 ac_outfile
=conftest.
$ac_objext
9501 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9502 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
9503 # Insert the option either (1) after the last *FLAGS variable, or
9504 # (2) before a word containing "conftest.", or (3) at the end.
9505 # Note that $ac_compile itself does not contain backslashes and begins
9506 # with a dollar sign (not a hyphen), so the echo should work correctly.
9507 # The option is referenced via a variable to avoid confusing sed.
9508 lt_compile
=`echo "$ac_compile" | $SED \
9509 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9510 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9511 -e 's:$: $lt_compiler_flag:'`
9512 (eval echo "\"\$as_me:9512: $lt_compile\"" >&5)
9513 (eval "$lt_compile" 2>conftest.err
)
9515 cat conftest.err
>&5
9516 echo "$as_me:9516: \$? = $ac_status" >&5
9517 if (exit $ac_status) && test -s "$ac_outfile"; then
9518 # The compiler can only warn and ignore the option if not recognized
9519 # So say no if there are warnings other than the usual output.
9520 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
9521 $SED '/^$/d' conftest.err
>conftest.er2
9522 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9523 lt_prog_compiler_pic_works_GCJ
=yes
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5
9530 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
9532 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
9533 case $lt_prog_compiler_pic_GCJ in
9535 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
9538 lt_prog_compiler_pic_GCJ
=
9539 lt_prog_compiler_can_build_shared_GCJ
=no
9544 # For platforms which do not support PIC, -DPIC is meaningless:
9546 lt_prog_compiler_pic_GCJ
=
9549 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9555 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
9556 $as_echo_n "(cached) " >&6
9558 lt_cv_prog_compiler_c_o_GCJ
=no
9559 $rm -r conftest
2>/dev
/null
9563 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9565 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9566 # Insert the option either (1) after the last *FLAGS variable, or
9567 # (2) before a word containing "conftest.", or (3) at the end.
9568 # Note that $ac_compile itself does not contain backslashes and begins
9569 # with a dollar sign (not a hyphen), so the echo should work correctly.
9570 lt_compile
=`echo "$ac_compile" | $SED \
9571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9573 -e 's:$: $lt_compiler_flag:'`
9574 (eval echo "\"\$as_me:9574: $lt_compile\"" >&5)
9575 (eval "$lt_compile" 2>out
/conftest.err
)
9577 cat out
/conftest.err
>&5
9578 echo "$as_me:9578: \$? = $ac_status" >&5
9579 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9581 # The compiler can only warn and ignore the option if not recognized
9582 # So say no if there are warnings
9583 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
9584 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
9585 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9586 lt_cv_prog_compiler_c_o_GCJ
=yes
9591 # SGI C++ compiler will create directory out/ii_files/ for
9592 # template instantiation
9593 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
9594 $rm out
/* && rmdir out
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
9601 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
9604 hard_links
="nottested"
9605 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
9606 # do not overwrite the value of need_locks provided by the user
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9608 $as_echo_n "checking if we can lock with hard links... " >&6; }
9611 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9613 ln conftest.a conftest.b
2>&5 || hard_links
=no
9614 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9616 $as_echo "$hard_links" >&6; }
9617 if test "$hard_links" = no
; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9619 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9627 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9630 allow_undefined_flag_GCJ
=
9631 enable_shared_with_static_runtimes_GCJ
=no
9633 archive_expsym_cmds_GCJ
=
9634 old_archive_From_new_cmds_GCJ
=
9635 old_archive_from_expsyms_cmds_GCJ
=
9636 export_dynamic_flag_spec_GCJ
=
9637 whole_archive_flag_spec_GCJ
=
9638 thread_safe_flag_spec_GCJ
=
9639 hardcode_libdir_flag_spec_GCJ
=
9640 hardcode_libdir_flag_spec_ld_GCJ
=
9641 hardcode_libdir_separator_GCJ
=
9642 hardcode_direct_GCJ
=no
9643 hardcode_minus_L_GCJ
=no
9644 hardcode_shlibpath_var_GCJ
=unsupported
9645 link_all_deplibs_GCJ
=unknown
9646 hardcode_automatic_GCJ
=no
9648 module_expsym_cmds_GCJ
=
9649 always_export_symbols_GCJ
=no
9650 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9651 # include_expsyms should be a list of space-separated symbols to be *always*
9652 # included in the symbol list
9653 include_expsyms_GCJ
=
9654 # exclude_expsyms can be an extended regexp of symbols to exclude
9655 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9656 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9657 # as well as any symbol that contains `d'.
9658 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
9659 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9660 # platforms (ab)use it in PIC code, but their linkers get confused if
9661 # the symbol is explicitly referenced. Since portable code cannot
9662 # rely on this symbol name, it's probably fine to never include it in
9663 # preloaded symbol tables.
9664 extract_expsyms_cmds
=
9665 # Just being paranoid about ensuring that cc_basename is set.
9666 for cc_temp
in $compiler""; do
9668 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9669 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9674 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9677 cygwin
* | mingw
* | pw32
*)
9678 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9679 # When not using gcc, we currently assume that we are using
9680 # Microsoft Visual C++.
9681 if test "$GCC" != yes; then
9691 if test "$with_gnu_ld" = yes; then
9692 # If archive_cmds runs LD, not CC, wlarc should be empty
9695 # Set some defaults for GNU ld with shared library support. These
9696 # are reset later if shared libraries are not supported. Putting them
9697 # here allows them to be overridden if necessary.
9698 runpath_var
=LD_RUN_PATH
9699 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
9700 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
9701 # ancient GNU ld didn't support --whole-archive et. al.
9702 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
9703 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9705 whole_archive_flag_spec_GCJ
=
9707 supports_anon_versioning
=no
9708 case `$LD -v 2>/dev/null` in
9709 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9710 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9711 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9712 *\
2.11.
*) ;; # other 2.11 versions
9713 *) supports_anon_versioning
=yes ;;
9716 # See if GNU ld supports shared libraries.
9718 aix3
* | aix4
* | aix5
*)
9719 # On AIX/PPC, the GNU linker is very broken
9720 if test "$host_cpu" != ia64
; then
9724 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9725 *** to be unable to reliably create shared libraries on AIX.
9726 *** Therefore, libtool is disabling shared libraries support. If you
9727 *** really care for shared libraries, you may want to modify your PATH
9728 *** so that a non-GNU linker is found, and then restart.
9735 archive_cmds_GCJ
='$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)'
9736 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
9737 hardcode_minus_L_GCJ
=yes
9739 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9740 # that the semantics of dynamic libraries on AmigaOS, at least up
9741 # to version 4, is to share data among multiple programs linked
9742 # with the same dynamic library. Since this doesn't match the
9743 # behavior of shared libraries on other platforms, we can't use
9749 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9750 allow_undefined_flag_GCJ
=unsupported
9751 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9752 # support --undefined. This deserves some investigation. FIXME
9753 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9759 cygwin
* | mingw
* | pw32
*)
9760 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
9761 # as there is no search path for DLLs.
9762 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
9763 allow_undefined_flag_GCJ
=unsupported
9764 always_export_symbols_GCJ
=no
9765 enable_shared_with_static_runtimes_GCJ
=yes
9766 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9768 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
9769 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9770 # If the export-symbols file already is a .def file (1st line
9771 # is EXPORTS), use it as is; otherwise, prepend...
9772 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9773 cp $export_symbols $output_objdir/$soname.def;
9775 echo EXPORTS > $output_objdir/$soname.def;
9776 cat $export_symbols >> $output_objdir/$soname.def;
9778 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9785 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9787 case $cc_basename,$host_cpu in
9788 pgcc
*) # Portland Group C compiler
9789 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
9790 tmp_addflag
=' $pic_flag'
9792 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9793 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
9794 tmp_addflag
=' $pic_flag -Mnomain' ;;
9795 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9796 tmp_addflag
=' -i_dynamic' ;;
9797 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9798 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9799 ifc
* | ifort
*) # Intel Fortran compiler
9800 tmp_addflag
=' -nofor_main' ;;
9802 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9804 if test $supports_anon_versioning = yes; then
9805 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
9806 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9807 $echo "local: *; };" >> $output_objdir/$libname.ver~
9808 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9816 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9817 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9820 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9821 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9826 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
9830 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9831 *** create shared libraries on Solaris systems. Therefore, libtool
9832 *** is disabling shared libraries support. We urge you to upgrade GNU
9833 *** binutils to release 2.9.1 or newer. Another option is to modify
9834 *** your PATH or compiler configuration so that the native linker is
9835 *** used, and then restart.
9838 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9839 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9840 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9847 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9849 hardcode_direct_GCJ
=yes
9850 hardcode_shlibpath_var_GCJ
=no
9854 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
9855 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9856 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9863 if test "$ld_shlibs_GCJ" = no
; then
9865 hardcode_libdir_flag_spec_GCJ
=
9866 export_dynamic_flag_spec_GCJ
=
9867 whole_archive_flag_spec_GCJ
=
9870 # PORTME fill in a description of your system's linker (not GNU ld)
9873 allow_undefined_flag_GCJ
=unsupported
9874 always_export_symbols_GCJ
=yes
9875 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9876 # Note: this linker hardcodes the directories in LIBPATH if there
9877 # are no directories specified by -L.
9878 hardcode_minus_L_GCJ
=yes
9879 if test "$GCC" = yes && test -z "$link_static_flag"; then
9880 # Neither direct hardcoding nor static linking is supported with a
9882 hardcode_direct_GCJ
=unsupported
9887 if test "$host_cpu" = ia64
; then
9888 # On IA64, the linker does run time linking by default, so we don't
9889 # have to do anything special.
9890 aix_use_runtimelinking
=no
9891 exp_sym_flag
='-Bexport'
9894 # If we're using GNU nm, then we don't want the "-C" option.
9895 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9896 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
9897 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
9899 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
9901 aix_use_runtimelinking
=no
9903 # Test if we are trying to use run time linking or normal
9904 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9905 # need to do runtime linking.
9906 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9907 for ld_flag
in $LDFLAGS; do
9908 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9909 aix_use_runtimelinking
=yes
9915 exp_sym_flag
='-bexport'
9916 no_entry_flag
='-bnoentry'
9919 # When large executables or shared objects are built, AIX ld can
9920 # have problems creating the table of contents. If linking a library
9921 # or program results in "error TOC overflow" add -mminimal-toc to
9922 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9923 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9926 hardcode_direct_GCJ
=yes
9927 hardcode_libdir_separator_GCJ
=':'
9928 link_all_deplibs_GCJ
=yes
9930 if test "$GCC" = yes; then
9931 case $host_os in aix4.
[012]|aix4.
[012].
*)
9932 # We only want to do this on AIX 4.2 and lower, the check
9933 # below for broken collect2 doesn't work under 4.3+
9934 collect2name
=`${CC} -print-prog-name=collect2`
9935 if test -f "$collect2name" && \
9936 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
9938 # We have reworked collect2
9939 hardcode_direct_GCJ
=yes
9941 # We have old collect2
9942 hardcode_direct_GCJ
=unsupported
9943 # It fails to find uninstalled libraries when the uninstalled
9944 # path is not listed in the libpath. Setting hardcode_minus_L
9945 # to unsupported forces relinking
9946 hardcode_minus_L_GCJ
=yes
9947 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
9948 hardcode_libdir_separator_GCJ
=
9951 shared_flag
='-shared'
9952 if test "$aix_use_runtimelinking" = yes; then
9953 shared_flag
="$shared_flag "'${wl}-G'
9957 if test "$host_cpu" = ia64
; then
9958 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9959 # chokes on -Wl,-G. The following line is correct:
9962 if test "$aix_use_runtimelinking" = yes; then
9963 shared_flag
='${wl}-G'
9965 shared_flag
='${wl}-bM:SRE'
9970 # It seems that -bexpall does not export symbols beginning with
9971 # underscore (_), so it is better to generate a list of symbols to export.
9972 always_export_symbols_GCJ
=yes
9973 if test "$aix_use_runtimelinking" = yes; then
9974 # Warning - without using the other runtime loading flags (-brtl),
9975 # -berok will link without error, but may produce a broken library.
9976 allow_undefined_flag_GCJ
='-berok'
9977 # Determine the default libpath from the value encoded in an empty executable.
9978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9989 if ac_fn_c_try_link
"$LINENO"; then :
9991 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9993 # Check for a 64-bit object if we didn't find anything.
9994 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; }
9997 rm -f core conftest.err conftest.
$ac_objext \
9998 conftest
$ac_exeext conftest.
$ac_ext
9999 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10001 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
10002 archive_expsym_cmds_GCJ
="\$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"
10004 if test "$host_cpu" = ia64; then
10005 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
10006 allow_undefined_flag_GCJ="-z nodefs"
10007 archive_expsym_cmds_GCJ="\$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"
10009 # Determine the default libpath from the value encoded in an empty executable.
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10021 if ac_fn_c_try_link "$LINENO"; then :
10023 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10025 # Check for a 64-bit object if we didn't find anything.
10026 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; }
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10031 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10033 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
10034 # Warning - without using the other run time loading flags,
10035 # -berok will link without error, but may produce a broken library.
10036 no_undefined_flag_GCJ=' ${wl}-bernotok'
10037 allow_undefined_flag_GCJ=' ${wl}-berok'
10038 # -bexpall does not export symbols beginning with underscore (_)
10039 always_export_symbols_GCJ=yes
10040 # Exported symbols can be pulled into shared objects from archives
10041 whole_archive_flag_spec_GCJ=' '
10042 archive_cmds_need_lc_GCJ=yes
10043 # This is similar to how AIX traditionally builds its shared libraries.
10044 archive_expsym_cmds_GCJ="\
$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'
10050 archive_cmds_GCJ='$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)'
10051 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
10052 hardcode_minus_L_GCJ
=yes
10053 # see comment about different semantics on the GNU ld section
10058 export_dynamic_flag_spec_GCJ
=-rdynamic
10061 cygwin
* | mingw
* | pw32
*)
10062 # When not using gcc, we currently assume that we are using
10063 # Microsoft Visual C++.
10064 # hardcode_libdir_flag_spec is actually meaningless, as there is
10065 # no search path for DLLs.
10066 hardcode_libdir_flag_spec_GCJ
=' '
10067 allow_undefined_flag_GCJ
=unsupported
10068 # Tell ltmain to make .lib files, not .a files.
10070 # Tell ltmain to make .dll files, not .so files.
10072 # FIXME: Setting linknames here is a bad hack.
10073 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10074 # The linker will automatically build a .lib file if we build a DLL.
10075 old_archive_From_new_cmds_GCJ
='true'
10076 # FIXME: Should let the user specify the lib program.
10077 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
10078 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
10079 enable_shared_with_static_runtimes_GCJ
=yes
10082 darwin
* | rhapsody
*)
10084 rhapsody
* | darwin1.
[012])
10085 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
10088 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10089 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10091 case ${MACOSX_DEPLOYMENT_TARGET} in
10093 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10096 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
10102 archive_cmds_need_lc_GCJ
=no
10103 hardcode_direct_GCJ
=no
10104 hardcode_automatic_GCJ
=yes
10105 hardcode_shlibpath_var_GCJ
=unsupported
10106 whole_archive_flag_spec_GCJ
=''
10107 link_all_deplibs_GCJ
=yes
10108 if test "$GCC" = yes ; then
10109 output_verbose_link_cmd
='echo'
10110 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10111 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10112 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10113 archive_expsym_cmds_GCJ
='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}'
10114 module_expsym_cmds_GCJ
='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}'
10116 case $cc_basename in
10118 output_verbose_link_cmd
='echo'
10119 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10120 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10121 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10122 archive_expsym_cmds_GCJ
='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}'
10123 module_expsym_cmds_GCJ
='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}'
10133 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10134 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
10135 hardcode_shlibpath_var_GCJ
=no
10142 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10143 # support. Future versions do this automatically, but an explicit c++rt0.o
10144 # does not break anything, and helps significantly (at the cost of a little
10147 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10148 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
10149 hardcode_direct_GCJ
=yes
10150 hardcode_shlibpath_var_GCJ
=no
10153 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10155 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_direct_GCJ
=yes
10157 hardcode_minus_L_GCJ
=yes
10158 hardcode_shlibpath_var_GCJ
=no
10161 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10162 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
10163 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10164 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
10165 hardcode_direct_GCJ
=yes
10166 hardcode_shlibpath_var_GCJ
=no
10170 if test "$GCC" = yes; then
10171 archive_cmds_GCJ
='$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'
10173 archive_cmds_GCJ
='$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'
10175 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
10176 hardcode_libdir_separator_GCJ
=:
10177 hardcode_direct_GCJ
=yes
10179 # hardcode_minus_L: Not really in the search PATH,
10180 # but as the default location of the library.
10181 hardcode_minus_L_GCJ
=yes
10182 export_dynamic_flag_spec_GCJ
='${wl}-E'
10186 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10189 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10192 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10198 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10205 if test "$with_gnu_ld" = no
; then
10208 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
10209 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
10210 hardcode_libdir_separator_GCJ
=:
10211 hardcode_direct_GCJ
=no
10212 hardcode_shlibpath_var_GCJ
=no
10215 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
10216 hardcode_direct_GCJ
=no
10217 hardcode_shlibpath_var_GCJ
=no
10219 # hardcode_minus_L: Not really in the search PATH,
10220 # but as the default location of the library.
10221 hardcode_minus_L_GCJ
=yes
10224 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
10225 hardcode_libdir_separator_GCJ
=:
10226 hardcode_direct_GCJ
=yes
10227 export_dynamic_flag_spec_GCJ
='${wl}-E'
10229 # hardcode_minus_L: Not really in the search PATH,
10230 # but as the default location of the library.
10231 hardcode_minus_L_GCJ
=yes
10237 irix5
* | irix6
* | nonstopux
*)
10238 if test "$GCC" = yes; then
10239 archive_cmds_GCJ
='$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'
10241 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10242 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
10244 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
10245 hardcode_libdir_separator_GCJ
=:
10246 link_all_deplibs_GCJ
=yes
10250 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10251 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10253 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10255 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
10256 hardcode_direct_GCJ
=yes
10257 hardcode_shlibpath_var_GCJ
=no
10261 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10262 hardcode_direct_GCJ
=yes
10263 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
10264 hardcode_libdir_separator_GCJ
=:
10265 hardcode_shlibpath_var_GCJ
=no
10269 hardcode_direct_GCJ
=yes
10270 hardcode_shlibpath_var_GCJ
=no
10271 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10272 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10273 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10274 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
10275 export_dynamic_flag_spec_GCJ
='${wl}-E'
10278 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10279 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10280 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
10283 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10284 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
10291 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
10292 hardcode_minus_L_GCJ
=yes
10293 allow_undefined_flag_GCJ
=unsupported
10294 archive_cmds_GCJ
='$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'
10295 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10299 if test "$GCC" = yes; then
10300 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
10301 archive_cmds_GCJ
='$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'
10303 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
10304 archive_cmds_GCJ
='$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'
10306 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
10307 hardcode_libdir_separator_GCJ
=:
10310 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10311 if test "$GCC" = yes; then
10312 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
10313 archive_cmds_GCJ
='$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'
10314 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
10316 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
10317 archive_cmds_GCJ
='$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'
10318 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10319 $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'
10321 # Both c and cxx compiler support -rpath directly
10322 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
10324 hardcode_libdir_separator_GCJ
=:
10328 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10329 hardcode_shlibpath_var_GCJ
=no
10330 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
10331 runpath_var
=LD_RUN_PATH
10332 hardcode_runpath_var
=yes
10336 no_undefined_flag_GCJ
=' -z text'
10337 if test "$GCC" = yes; then
10339 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10340 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10341 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10344 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10345 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10346 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10348 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
10349 hardcode_shlibpath_var_GCJ
=no
10351 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10353 # The compiler driver will combine linker options so we
10354 # cannot just pass the convience library names through
10355 # without $wl, iff we do not link with $LD.
10356 # Luckily, gcc supports the same syntax we need for Sun Studio.
10357 # Supported since Solaris 2.6 (maybe 2.5.1?)
10360 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
10362 whole_archive_flag_spec_GCJ
='${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' ;;
10365 link_all_deplibs_GCJ
=yes
10369 if test "x$host_vendor" = xsequent
; then
10370 # Use $CC to link under sequent, because it throws in some extra .o
10371 # files that make .init and .fini sections work.
10372 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10374 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10376 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
10377 hardcode_direct_GCJ
=yes
10378 hardcode_minus_L_GCJ
=yes
10379 hardcode_shlibpath_var_GCJ
=no
10383 case $host_vendor in
10385 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10386 hardcode_direct_GCJ
=yes # is this really true???
10389 ## LD is ld it makes a PLAMLIB
10390 ## CC just makes a GrossModule.
10391 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10392 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
10393 hardcode_direct_GCJ
=no
10396 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10397 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
10400 runpath_var
='LD_RUN_PATH'
10401 hardcode_shlibpath_var_GCJ
=no
10405 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10406 hardcode_shlibpath_var_GCJ
=no
10407 export_dynamic_flag_spec_GCJ
='-Bexport'
10411 if test -d /usr
/nec
; then
10412 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10413 hardcode_shlibpath_var_GCJ
=no
10414 runpath_var
=LD_RUN_PATH
10415 hardcode_runpath_var
=yes
10421 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10422 hardcode_direct_GCJ
=yes
10423 hardcode_minus_L_GCJ
=no
10424 hardcode_shlibpath_var_GCJ
=no
10425 hardcode_runpath_var
=yes
10426 runpath_var
=LD_RUN_PATH
10429 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
10430 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
10431 if test "$GCC" = yes; then
10432 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10434 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10436 runpath_var
='LD_RUN_PATH'
10437 hardcode_shlibpath_var_GCJ
=no
10441 no_undefined_flag_GCJ
=' -z text'
10442 # $CC -shared without GNU ld will not create a library from C++
10443 # object files and a static libstdc++, better avoid it by now
10444 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10445 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10446 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10447 hardcode_libdir_flag_spec_GCJ
=
10448 hardcode_shlibpath_var_GCJ
=no
10449 runpath_var
='LD_RUN_PATH'
10453 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10454 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
10455 hardcode_shlibpath_var_GCJ
=no
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
10465 $as_echo "$ld_shlibs_GCJ" >&6; }
10466 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
10468 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10469 if test "$GCC" = yes; then
10470 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10474 # Do we need to explicitly link libc?
10476 case "x$archive_cmds_need_lc_GCJ" in
10478 # Assume -lc should be added
10479 archive_cmds_need_lc_GCJ
=yes
10481 if test "$enable_shared" = yes && test "$GCC" = yes; then
10482 case $archive_cmds_GCJ in
10484 # FIXME: we may have to deal with multi-command sequences.
10487 # Test whether the compiler implicitly links with -lc since on some
10488 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10489 # to ld, don't add -lc before -lgcc.
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10491 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10493 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
10495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10496 (eval $ac_compile) 2>&5
10498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10499 test $ac_status = 0; } 2>conftest.err
; then
10502 libobjs
=conftest.
$ac_objext
10504 wl
=$lt_prog_compiler_wl_GCJ
10510 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
10511 allow_undefined_flag_GCJ
=
10512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10513 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10516 test $ac_status = 0; }
10518 archive_cmds_need_lc_GCJ
=no
10520 archive_cmds_need_lc_GCJ
=yes
10522 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
10524 cat conftest.err
1>&5
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
10528 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10536 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10537 library_names_spec
=
10538 libname_spec
='lib$name'
10542 postuninstall_cmds
=
10546 shlibpath_overrides_runpath
=unknown
10548 dynamic_linker
="$host_os ld.so"
10549 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10550 if test "$GCC" = yes; then
10551 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10552 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
10553 # if the path contains ";" then we assume it to be the separator
10554 # otherwise default to the standard path separator (i.e. ":") - it is
10555 # assumed that no part of a normal pathname contains ";" but that should
10556 # okay in the real world where ";" in dirpaths is itself problematic.
10557 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10559 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10562 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10564 need_lib_prefix
=unknown
10565 hardcode_into_libs
=no
10567 # when you set need_version to no, make sure it does not cause -set_version
10568 # flags to be left without arguments
10569 need_version
=unknown
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10575 shlibpath_var
=LIBPATH
10577 # AIX 3 has no versioning support, so we append a major version to the name.
10578 soname_spec
='${libname}${release}${shared_ext}$major'
10585 hardcode_into_libs
=yes
10586 if test "$host_cpu" = ia64
; then
10587 # AIX 5 supports IA64
10588 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10589 shlibpath_var
=LD_LIBRARY_PATH
10591 # With GCC up to 2.95.x, collect2 would create an import file
10592 # for dependence libraries. The import file would start with
10593 # the line `#! .'. This would cause the generated library to
10594 # depend on `.', always an invalid library. This was fixed in
10595 # development snapshots of GCC prior to 3.0.
10597 aix4 | aix4.
[01] | aix4.
[01].
*)
10598 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10600 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
10603 can_build_shared
=no
10607 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10608 # soname into executable. Probably we can add versioning support to
10609 # collect2, so additional links can be useful in future.
10610 if test "$aix_use_runtimelinking" = yes; then
10611 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10612 # instead of lib<name>.a to let people know that these are not
10613 # typical AIX shared libraries.
10614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 # We preserve .a as extension for shared libraries through AIX4.2
10617 # and later when we are not doing run time linking.
10618 library_names_spec
='${libname}${release}.a $libname.a'
10619 soname_spec
='${libname}${release}${shared_ext}$major'
10621 shlibpath_var
=LIBPATH
10626 library_names_spec
='$libname.ixlibrary $libname.a'
10627 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10628 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'
10632 library_names_spec
='${libname}${shared_ext}'
10633 dynamic_linker
="$host_os ld.so"
10634 shlibpath_var
=LIBRARY_PATH
10640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10641 soname_spec
='${libname}${release}${shared_ext}$major'
10642 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10643 shlibpath_var
=LD_LIBRARY_PATH
10644 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10645 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10646 # the default ld.so.conf also contains /usr/contrib/lib and
10647 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10648 # libtool to hard-code these into programs
10651 cygwin
* | mingw
* | pw32
*)
10652 version_type
=windows
10657 case $GCC,$host_os in
10658 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10659 library_names_spec
='$libname.dll.a'
10660 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10661 postinstall_cmds
='base_file=`basename \${file}`~
10662 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10663 dldir=$destdir/`dirname \$dlpath`~
10664 test -d \$dldir || mkdir -p \$dldir~
10665 $install_prog $dir/$dlname \$dldir/$dlname~
10666 chmod a+x \$dldir/$dlname'
10667 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10668 dlpath=$dir/\$dldll~
10670 shlibpath_overrides_runpath
=yes
10674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10675 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10679 # MinGW DLLs use traditional 'lib' prefix
10680 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10681 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10682 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
10683 # It is most probably a Windows format PATH printed by
10684 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10685 # path with ; separators, and with drive letters. We can handle the
10686 # drive letters (cygwin fileutils understands them), so leave them,
10687 # especially as we might pass files found there to a mingw objdump,
10688 # which wouldn't understand a cygwinified path. Ahh.
10689 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10691 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10695 # pw32 DLLs use 'pw' prefix rather than 'lib'
10696 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10702 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10705 dynamic_linker
='Win32 ld.exe'
10706 # FIXME: first we should search . and the directory the executable is in
10710 darwin
* | rhapsody
*)
10711 dynamic_linker
="$host_os dyld"
10712 version_type
=darwin
10715 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10716 soname_spec
='${libname}${release}${major}$shared_ext'
10717 shlibpath_overrides_runpath
=yes
10718 shlibpath_var
=DYLD_LIBRARY_PATH
10719 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10720 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10721 if test "$GCC" = yes; then
10722 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"`
10724 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
10726 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10734 soname_spec
='${libname}${release}${shared_ext}$major'
10735 shlibpath_var
=LD_LIBRARY_PATH
10746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10747 soname_spec
='${libname}${release}${shared_ext}$major'
10748 shlibpath_var
=LD_LIBRARY_PATH
10749 shlibpath_overrides_runpath
=no
10750 hardcode_into_libs
=yes
10751 dynamic_linker
='GNU ld.so'
10754 freebsd
* | dragonfly
*)
10755 # DragonFly does not have aout. When/if they implement a new
10756 # versioning mechanism, adjust this.
10757 if test -x /usr
/bin
/objformat
; then
10758 objformat
=`/usr/bin/objformat`
10761 freebsd
[123]*) objformat
=aout
;;
10762 *) objformat
=elf
;;
10765 version_type
=freebsd-
$objformat
10766 case $version_type in
10768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10773 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10777 shlibpath_var
=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath
=yes
10782 freebsd3.
[01]* | freebsdelf3.
[01]*)
10783 shlibpath_overrides_runpath
=yes
10784 hardcode_into_libs
=yes
10787 shlibpath_overrides_runpath
=no
10788 hardcode_into_libs
=yes
10797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10798 soname_spec
='${libname}${release}${shared_ext}$major'
10799 shlibpath_var
=LD_LIBRARY_PATH
10800 hardcode_into_libs
=yes
10803 hpux9
* | hpux10
* | hpux11
*)
10804 # Give a soname corresponding to the major version so that dld.sl refuses to
10805 # link against other versions.
10812 hardcode_into_libs
=yes
10813 dynamic_linker
="$host_os dld.so"
10814 shlibpath_var
=LD_LIBRARY_PATH
10815 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10817 soname_spec
='${libname}${release}${shared_ext}$major'
10818 if test "X$HPUX_IA64_MODE" = X32
; then
10819 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10821 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10823 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10827 hardcode_into_libs
=yes
10828 dynamic_linker
="$host_os dld.sl"
10829 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10830 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 soname_spec
='${libname}${release}${shared_ext}$major'
10833 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10834 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10838 dynamic_linker
="$host_os dld.sl"
10839 shlibpath_var
=SHLIB_PATH
10840 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10842 soname_spec
='${libname}${release}${shared_ext}$major'
10845 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10846 postinstall_cmds
='chmod 555 $lib'
10849 irix5
* | irix6
* | nonstopux
*)
10851 nonstopux
*) version_type
=nonstopux
;;
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10861 soname_spec
='${libname}${release}${shared_ext}$major'
10862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10864 irix5
* | nonstopux
*)
10865 libsuff
= shlibsuff
=
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10870 libsuff
= shlibsuff
= libmagic
=32-bit;;
10871 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10872 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10873 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10874 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10875 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10879 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10880 shlibpath_overrides_runpath
=no
10881 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs
=yes
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10891 # This must be Linux ELF.
10896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec
='${libname}${release}${shared_ext}$major'
10898 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var
=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath
=no
10901 # This implies no fast_install, which is unacceptable.
10902 # Some rework will be needed to allow for fast_install
10903 # before this can be enabled.
10904 hardcode_into_libs
=yes
10906 # Append ld.so.conf contents to the search path
10907 if test -f /etc
/ld.so.conf
; then
10908 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10909 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10912 # We used to test for /lib/ld.so.1 and disable shared libraries on
10913 # powerpc, because MkLinux only supported shared libraries with the
10914 # GNU dynamic linker. Since this was broken with cross compilers,
10915 # most powerpc-linux boxes support dynamic linking these days and
10916 # people can always --disable-shared, the test was removed, and we
10917 # assume the GNU/Linux dynamic linker is in use.
10918 dynamic_linker
='GNU/Linux ld.so'
10925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10926 soname_spec
='${libname}${release}${shared_ext}$major'
10927 shlibpath_var
=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath
=no
10929 hardcode_into_libs
=yes
10930 dynamic_linker
='GNU ld.so'
10937 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
10938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10939 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10940 dynamic_linker
='NetBSD (a.out) ld.so'
10942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10943 soname_spec
='${libname}${release}${shared_ext}$major'
10944 dynamic_linker
='NetBSD ld.elf_so'
10946 shlibpath_var
=LD_LIBRARY_PATH
10947 shlibpath_overrides_runpath
=yes
10948 hardcode_into_libs
=yes
10953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var
=LD_LIBRARY_PATH
10955 shlibpath_overrides_runpath
=yes
10962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 soname_spec
='${libname}${release}${shared_ext}$major'
10964 shlibpath_var
=LD_LIBRARY_PATH
10965 shlibpath_overrides_runpath
=yes
10971 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10973 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10974 *) need_version
=no
;;
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10977 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10978 shlibpath_var
=LD_LIBRARY_PATH
10979 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10981 openbsd2.
[89] | openbsd2.
[89].
*)
10982 shlibpath_overrides_runpath
=no
10985 shlibpath_overrides_runpath
=yes
10989 shlibpath_overrides_runpath
=yes
10994 libname_spec
='$name'
10997 library_names_spec
='$libname${shared_ext} $libname.a'
10998 dynamic_linker
='OS/2 ld.exe'
10999 shlibpath_var
=LIBPATH
11002 osf3
* | osf4
* | osf5
*)
11006 soname_spec
='${libname}${release}${shared_ext}$major'
11007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11008 shlibpath_var
=LD_LIBRARY_PATH
11009 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11010 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11015 soname_spec
='${libname}${release}${shared_ext}$major'
11016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 shlibpath_var
=LD_LIBRARY_PATH
11024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11025 soname_spec
='${libname}${release}${shared_ext}$major'
11026 shlibpath_var
=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath
=yes
11028 hardcode_into_libs
=yes
11029 # ldd complains unless libraries are executable
11030 postinstall_cmds
='chmod +x $lib'
11035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11036 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11037 shlibpath_var
=LD_LIBRARY_PATH
11038 shlibpath_overrides_runpath
=yes
11039 if test "$with_gnu_ld" = yes; then
11045 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11049 shlibpath_var
=LD_LIBRARY_PATH
11050 case $host_vendor in
11052 shlibpath_overrides_runpath
=no
11054 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11055 runpath_var
=LD_RUN_PATH
11063 shlibpath_overrides_runpath
=no
11064 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11070 if test -d /usr
/nec
;then
11072 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11073 soname_spec
='$libname${shared_ext}.$major'
11074 shlibpath_var
=LD_LIBRARY_PATH
11080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11081 soname_spec
='${libname}${release}${shared_ext}$major'
11082 shlibpath_var
=LD_LIBRARY_PATH
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11090 $as_echo "$dynamic_linker" >&6; }
11091 test "$dynamic_linker" = no
&& can_build_shared
=no
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11094 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11095 hardcode_action_GCJ
=
11096 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
11097 test -n "$runpath_var_GCJ" || \
11098 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
11100 # We can hardcode non-existant directories.
11101 if test "$hardcode_direct_GCJ" != no
&&
11102 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11103 # have to relink, otherwise we might link with an installed library
11104 # when we should be linking with a yet-to-be-installed one
11105 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
11106 test "$hardcode_minus_L_GCJ" != no
; then
11107 # Linking always hardcodes the temporary library directory.
11108 hardcode_action_GCJ
=relink
11110 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11111 hardcode_action_GCJ
=immediate
11114 # We cannot hardcode anything, or else we can only hardcode existing
11116 hardcode_action_GCJ
=unsupported
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
11119 $as_echo "$hardcode_action_GCJ" >&6; }
11121 if test "$hardcode_action_GCJ" = relink
; then
11122 # Fast installation is not supported
11123 enable_fast_install
=no
11124 elif test "$shlibpath_overrides_runpath" = yes ||
11125 test "$enable_shared" = no
; then
11126 # Fast installation is not necessary
11127 enable_fast_install
=needless
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11133 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11134 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
11135 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11136 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11138 $as_echo "yes" >&6; }
11140 # FIXME - insert some real tests, host_os isn't really good enough
11143 if test -n "$STRIP" ; then
11144 striplib
="$STRIP -x"
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11146 $as_echo "yes" >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11149 $as_echo "no" >&6; }
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11154 $as_echo "no" >&6; }
11159 if test "x$enable_dlopen" != xyes
; then
11160 enable_dlopen
=unknown
11161 enable_dlopen_self
=unknown
11162 enable_dlopen_self_static
=unknown
11169 lt_cv_dlopen
="load_add_on"
11171 lt_cv_dlopen_self
=yes
11175 lt_cv_dlopen
="LoadLibrary"
11180 lt_cv_dlopen
="dlopen"
11185 # if libdl is installed we need to link against it
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11187 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11188 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11189 $as_echo_n "(cached) " >&6
11191 ac_check_lib_save_LIBS
=$LIBS
11193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11211 if ac_fn_c_try_link
"$LINENO"; then :
11212 ac_cv_lib_dl_dlopen
=yes
11214 ac_cv_lib_dl_dlopen
=no
11216 rm -f core conftest.err conftest.
$ac_objext \
11217 conftest
$ac_exeext conftest.
$ac_ext
11218 LIBS
=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11221 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11222 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11223 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11226 lt_cv_dlopen
="dyld"
11228 lt_cv_dlopen_self
=yes
11235 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11236 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11237 lt_cv_dlopen
="shl_load"
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11240 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11241 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11242 $as_echo_n "(cached) " >&6
11244 ac_check_lib_save_LIBS
=$LIBS
11246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11259 return shl_load ();
11264 if ac_fn_c_try_link
"$LINENO"; then :
11265 ac_cv_lib_dld_shl_load
=yes
11267 ac_cv_lib_dld_shl_load
=no
11269 rm -f core conftest.err conftest.
$ac_objext \
11270 conftest
$ac_exeext conftest.
$ac_ext
11271 LIBS
=$ac_check_lib_save_LIBS
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11274 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11275 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11276 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11278 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11279 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11280 lt_cv_dlopen
="dlopen"
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11283 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11284 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11285 $as_echo_n "(cached) " >&6
11287 ac_check_lib_save_LIBS
=$LIBS
11289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11307 if ac_fn_c_try_link
"$LINENO"; then :
11308 ac_cv_lib_dl_dlopen
=yes
11310 ac_cv_lib_dl_dlopen
=no
11312 rm -f core conftest.err conftest.
$ac_objext \
11313 conftest
$ac_exeext conftest.
$ac_ext
11314 LIBS
=$ac_check_lib_save_LIBS
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11317 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11318 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11319 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11322 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11323 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11324 $as_echo_n "(cached) " >&6
11326 ac_check_lib_save_LIBS
=$LIBS
11327 LIBS
="-lsvld $LIBS"
11328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11346 if ac_fn_c_try_link
"$LINENO"; then :
11347 ac_cv_lib_svld_dlopen
=yes
11349 ac_cv_lib_svld_dlopen
=no
11351 rm -f core conftest.err conftest.
$ac_objext \
11352 conftest
$ac_exeext conftest.
$ac_ext
11353 LIBS
=$ac_check_lib_save_LIBS
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11356 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11357 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11358 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11361 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11362 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11363 $as_echo_n "(cached) " >&6
11365 ac_check_lib_save_LIBS
=$LIBS
11367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11380 return dld_link ();
11385 if ac_fn_c_try_link
"$LINENO"; then :
11386 ac_cv_lib_dld_dld_link
=yes
11388 ac_cv_lib_dld_dld_link
=no
11390 rm -f core conftest.err conftest.
$ac_objext \
11391 conftest
$ac_exeext conftest.
$ac_ext
11392 LIBS
=$ac_check_lib_save_LIBS
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11395 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11396 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11397 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
11418 if test "x$lt_cv_dlopen" != xno
; then
11424 case $lt_cv_dlopen in
11426 save_CPPFLAGS
="$CPPFLAGS"
11427 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11429 save_LDFLAGS
="$LDFLAGS"
11430 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11433 LIBS
="$lt_cv_dlopen_libs $LIBS"
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11436 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11437 if test "${lt_cv_dlopen_self+set}" = set; then :
11438 $as_echo_n "(cached) " >&6
11440 if test "$cross_compiling" = yes; then :
11441 lt_cv_dlopen_self
=cross
11443 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11444 lt_status
=$lt_dlunknown
11445 cat > conftest.
$ac_ext <<EOF
11446 #line 11446 "configure"
11447 #include "confdefs.h"
11456 # define LT_DLGLOBAL RTLD_GLOBAL
11459 # define LT_DLGLOBAL DL_GLOBAL
11461 # define LT_DLGLOBAL 0
11465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11466 find out it does not work in some platform. */
11467 #ifndef LT_DLLAZY_OR_NOW
11469 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11472 # define LT_DLLAZY_OR_NOW DL_LAZY
11475 # define LT_DLLAZY_OR_NOW RTLD_NOW
11478 # define LT_DLLAZY_OR_NOW DL_NOW
11480 # define LT_DLLAZY_OR_NOW 0
11488 extern "C" void exit (int);
11491 void fnord() { int i=42;}
11494 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11495 int status = $lt_dlunknown;
11499 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11500 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11501 /* dlclose (self); */
11507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11508 (eval $ac_link) 2>&5
11510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11511 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11512 (.
/conftest
; exit; ) >&5 2>/dev
/null
11514 case x
$lt_status in
11515 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11516 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11517 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
11520 # compilation failed
11521 lt_cv_dlopen_self
=no
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11529 $as_echo "$lt_cv_dlopen_self" >&6; }
11531 if test "x$lt_cv_dlopen_self" = xyes
; then
11532 LDFLAGS
="$LDFLAGS $link_static_flag"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11534 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11535 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11536 $as_echo_n "(cached) " >&6
11538 if test "$cross_compiling" = yes; then :
11539 lt_cv_dlopen_self_static
=cross
11541 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11542 lt_status
=$lt_dlunknown
11543 cat > conftest.
$ac_ext <<EOF
11544 #line 11544 "configure"
11545 #include "confdefs.h"
11554 # define LT_DLGLOBAL RTLD_GLOBAL
11557 # define LT_DLGLOBAL DL_GLOBAL
11559 # define LT_DLGLOBAL 0
11563 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11564 find out it does not work in some platform. */
11565 #ifndef LT_DLLAZY_OR_NOW
11567 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11570 # define LT_DLLAZY_OR_NOW DL_LAZY
11573 # define LT_DLLAZY_OR_NOW RTLD_NOW
11576 # define LT_DLLAZY_OR_NOW DL_NOW
11578 # define LT_DLLAZY_OR_NOW 0
11586 extern "C" void exit (int);
11589 void fnord() { int i=42;}
11592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11593 int status = $lt_dlunknown;
11597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11598 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11599 /* dlclose (self); */
11605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11606 (eval $ac_link) 2>&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11609 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11610 (.
/conftest
; exit; ) >&5 2>/dev
/null
11612 case x
$lt_status in
11613 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11614 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11615 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
11618 # compilation failed
11619 lt_cv_dlopen_self_static
=no
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11627 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11630 CPPFLAGS
="$save_CPPFLAGS"
11631 LDFLAGS
="$save_LDFLAGS"
11636 case $lt_cv_dlopen_self in
11637 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11638 *) enable_dlopen_self
=unknown
;;
11641 case $lt_cv_dlopen_self_static in
11642 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11643 *) enable_dlopen_self_static
=unknown
;;
11648 # The else clause should only fire when bootstrapping the
11649 # libtool distribution, otherwise you forgot to ship ltmain.sh
11650 # with your package, and you will get complaints that there are
11651 # no rules to generate ltmain.sh.
11652 if test -f "$ltmain"; then
11653 # See if we are running on zsh, and set the options which allow our commands through
11654 # without removal of \ escapes.
11655 if test -n "${ZSH_VERSION+set}" ; then
11656 setopt NO_GLOB_SUBST
11658 # Now quote all the things that may contain metacharacters while being
11659 # careful not to overquote the AC_SUBSTed values. We take copies of the
11660 # variables and quote the copies for generation of the libtool script.
11661 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
11663 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11664 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11665 deplibs_check_method reload_flag reload_cmds need_locks \
11666 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11667 lt_cv_sys_global_symbol_to_c_name_address \
11668 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11669 old_postinstall_cmds old_postuninstall_cmds \
11673 lt_prog_compiler_wl_GCJ \
11674 lt_prog_compiler_pic_GCJ \
11675 lt_prog_compiler_static_GCJ \
11676 lt_prog_compiler_no_builtin_flag_GCJ \
11677 export_dynamic_flag_spec_GCJ \
11678 thread_safe_flag_spec_GCJ \
11679 whole_archive_flag_spec_GCJ \
11680 enable_shared_with_static_runtimes_GCJ \
11681 old_archive_cmds_GCJ \
11682 old_archive_from_new_cmds_GCJ \
11683 predep_objects_GCJ \
11684 postdep_objects_GCJ \
11687 compiler_lib_search_path_GCJ \
11689 archive_expsym_cmds_GCJ \
11690 postinstall_cmds_GCJ \
11691 postuninstall_cmds_GCJ \
11692 old_archive_from_expsyms_cmds_GCJ \
11693 allow_undefined_flag_GCJ \
11694 no_undefined_flag_GCJ \
11695 export_symbols_cmds_GCJ \
11696 hardcode_libdir_flag_spec_GCJ \
11697 hardcode_libdir_flag_spec_ld_GCJ \
11698 hardcode_libdir_separator_GCJ \
11699 hardcode_automatic_GCJ \
11701 module_expsym_cmds_GCJ \
11702 lt_cv_prog_compiler_c_o_GCJ \
11703 exclude_expsyms_GCJ \
11704 include_expsyms_GCJ
; do
11707 old_archive_cmds_GCJ | \
11708 old_archive_from_new_cmds_GCJ | \
11709 archive_cmds_GCJ | \
11710 archive_expsym_cmds_GCJ | \
11711 module_cmds_GCJ | \
11712 module_expsym_cmds_GCJ | \
11713 old_archive_from_expsyms_cmds_GCJ | \
11714 export_symbols_cmds_GCJ | \
11715 extract_expsyms_cmds | reload_cmds | finish_cmds | \
11716 postinstall_cmds | postuninstall_cmds | \
11717 old_postinstall_cmds | old_postuninstall_cmds | \
11718 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
11719 # Double-quote double-evaled strings.
11720 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11723 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11729 *'\$0 --fallback-echo"')
11730 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11736 cat <<__EOF__ >> "$cfgfile"
11737 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
11739 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11741 # Shell to use when invoking shell scripts.
11744 # Whether or not to build shared libraries.
11745 build_libtool_libs=$enable_shared
11747 # Whether or not to build static libraries.
11748 build_old_libs=$enable_static
11750 # Whether or not to add -lc for building shared libraries.
11751 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
11753 # Whether or not to disallow shared libs when runtime libs are static
11754 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
11756 # Whether or not to optimize for fast installation.
11757 fast_install=$enable_fast_install
11760 host_alias=$host_alias
11764 # The build system.
11765 build_alias=$build_alias
11769 # An echo program that does not interpret backslashes.
11774 AR_FLAGS=$lt_AR_FLAGS
11779 # A language-specific compiler.
11780 CC=$lt_compiler_GCJ
11782 # Is the compiler the GNU C compiler?
11788 # The linker used to build libraries.
11791 # Whether we need hard or soft links.
11794 # A BSD-compatible nm program.
11797 # A symbol stripping program
11800 # Used to examine libraries when file_magic_cmd begins "file"
11801 MAGIC_CMD=$MAGIC_CMD
11803 # Used on cygwin: DLL creation program.
11806 # Used on cygwin: object dumper.
11809 # Used on cygwin: assembler.
11812 # The name of the directory that contains temporary libtool files.
11815 # How to create reloadable object files.
11816 reload_flag=$lt_reload_flag
11817 reload_cmds=$lt_reload_cmds
11819 # How to pass a linker flag through the compiler.
11820 wl=$lt_lt_prog_compiler_wl_GCJ
11822 # Object file suffix (normally "o").
11823 objext="$ac_objext"
11825 # Old archive suffix (normally "a").
11828 # Shared library suffix (normally ".so").
11829 shrext_cmds='$shrext_cmds'
11831 # Executable file suffix (normally "").
11834 # Additional compiler flags for building library objects.
11835 pic_flag=$lt_lt_prog_compiler_pic_GCJ
11838 # What is the maximum length of a command?
11839 max_cmd_len=$lt_cv_sys_max_cmd_len
11841 # Does compiler simultaneously support -c and -o options?
11842 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
11844 # Must we lock files when doing compilation?
11845 need_locks=$lt_need_locks
11847 # Do we need the lib prefix for modules?
11848 need_lib_prefix=$need_lib_prefix
11850 # Do we need a version for libraries?
11851 need_version=$need_version
11853 # Whether dlopen is supported.
11854 dlopen_support=$enable_dlopen
11856 # Whether dlopen of programs is supported.
11857 dlopen_self=$enable_dlopen_self
11859 # Whether dlopen of statically linked programs is supported.
11860 dlopen_self_static=$enable_dlopen_self_static
11862 # Compiler flag to prevent dynamic linking.
11863 link_static_flag=$lt_lt_prog_compiler_static_GCJ
11865 # Compiler flag to turn off builtin functions.
11866 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
11868 # Compiler flag to allow reflexive dlopens.
11869 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
11871 # Compiler flag to generate shared objects directly from archives.
11872 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
11874 # Compiler flag to generate thread-safe objects.
11875 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
11877 # Library versioning type.
11878 version_type=$version_type
11880 # Format of library name prefix.
11881 libname_spec=$lt_libname_spec
11883 # List of archive names. First name is the real one, the rest are links.
11884 # The last name is the one that the linker finds with -lNAME.
11885 library_names_spec=$lt_library_names_spec
11887 # The coded name of the library, if different from the real name.
11888 soname_spec=$lt_soname_spec
11890 # Commands used to build and install an old-style archive.
11892 old_archive_cmds=$lt_old_archive_cmds_GCJ
11893 old_postinstall_cmds=$lt_old_postinstall_cmds
11894 old_postuninstall_cmds=$lt_old_postuninstall_cmds
11896 # Create an old-style archive from a shared archive.
11897 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
11899 # Create a temporary old-style archive to link instead of a shared archive.
11900 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
11902 # Commands used to build and install a shared archive.
11903 archive_cmds=$lt_archive_cmds_GCJ
11904 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
11905 postinstall_cmds=$lt_postinstall_cmds
11906 postuninstall_cmds=$lt_postuninstall_cmds
11908 # Commands used to build a loadable module (assumed same as above if empty)
11909 module_cmds=$lt_module_cmds_GCJ
11910 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
11912 # Commands to strip libraries.
11913 old_striplib=$lt_old_striplib
11914 striplib=$lt_striplib
11916 # Dependencies to place before the objects being linked to create a
11918 predep_objects=$lt_predep_objects_GCJ
11920 # Dependencies to place after the objects being linked to create a
11922 postdep_objects=$lt_postdep_objects_GCJ
11924 # Dependencies to place before the objects being linked to create a
11926 predeps=$lt_predeps_GCJ
11928 # Dependencies to place after the objects being linked to create a
11930 postdeps=$lt_postdeps_GCJ
11932 # The library search path used internally by the compiler when linking
11933 # a shared library.
11934 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
11936 # Method to check whether dependent libraries are shared objects.
11937 deplibs_check_method=$lt_deplibs_check_method
11939 # Command to use when deplibs_check_method == file_magic.
11940 file_magic_cmd=$lt_file_magic_cmd
11942 # Flag that allows shared libraries with undefined symbols to be built.
11943 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
11945 # Flag that forces no undefined symbols.
11946 no_undefined_flag=$lt_no_undefined_flag_GCJ
11948 # Commands used to finish a libtool library installation in a directory.
11949 finish_cmds=$lt_finish_cmds
11951 # Same as above, but a single script fragment to be evaled but not shown.
11952 finish_eval=$lt_finish_eval
11954 # Take the output of nm and produce a listing of raw symbols and C names.
11955 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11957 # Transform the output of nm in a proper C declaration
11958 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11960 # Transform the output of nm in a C name address pair
11961 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11963 # This is the shared library runtime path variable.
11964 runpath_var=$runpath_var
11966 # This is the shared library path variable.
11967 shlibpath_var=$shlibpath_var
11969 # Is shlibpath searched before the hard-coded library search path?
11970 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11972 # How to hardcode a shared library path into an executable.
11973 hardcode_action=$hardcode_action_GCJ
11975 # Whether we should hardcode library paths into libraries.
11976 hardcode_into_libs=$hardcode_into_libs
11978 # Flag to hardcode \$libdir into a binary during linking.
11979 # This must work even if \$libdir does not exist.
11980 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
11982 # If ld is used when linking, flag to hardcode \$libdir into
11983 # a binary during linking. This must work even if \$libdir does
11985 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
11987 # Whether we need a single -rpath flag with a separated argument.
11988 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
11990 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11991 # resulting binary.
11992 hardcode_direct=$hardcode_direct_GCJ
11994 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11995 # resulting binary.
11996 hardcode_minus_L=$hardcode_minus_L_GCJ
11998 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11999 # the resulting binary.
12000 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
12002 # Set to yes if building a shared library automatically hardcodes DIR into the library
12003 # and all subsequent libraries and executables linked against it.
12004 hardcode_automatic=$hardcode_automatic_GCJ
12006 # Variables whose values should be saved in libtool wrapper scripts and
12007 # restored at relink time.
12008 variables_saved_for_relink="$variables_saved_for_relink"
12010 # Whether libtool must link a program against all its dependency libraries.
12011 link_all_deplibs=$link_all_deplibs_GCJ
12013 # Compile-time system search path for libraries
12014 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12016 # Run-time system search path for libraries
12017 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12019 # Fix the shell variable \$srcfile for the compiler.
12020 fix_srcfile_path="$fix_srcfile_path_GCJ"
12022 # Set to yes if exported symbols are required.
12023 always_export_symbols=$always_export_symbols_GCJ
12025 # The commands to list exported symbols.
12026 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
12028 # The commands to extract the exported symbol list from a shared archive.
12029 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12031 # Symbols that should not be listed in the preloaded symbols.
12032 exclude_expsyms=$lt_exclude_expsyms_GCJ
12034 # Symbols that must always be exported.
12035 include_expsyms=$lt_include_expsyms_GCJ
12037 # ### END LIBTOOL TAG CONFIG: $tagname
12043 # If there is no Makefile yet, we rely on a make rule to execute
12044 # `config.status --recheck' to rerun these tests and create the
12045 # libtool script then.
12046 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12047 if test -f "$ltmain_in"; then
12048 test -f Makefile
&& make "$ltmain"
12054 ac_cpp
='$CPP $CPPFLAGS'
12055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12069 # Source file extension for RC test sources.
12072 # Object file extension for compiled RC test sources.
12076 # Code to be used in simple compile tests
12077 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
12079 # Code to be used in simple link tests
12080 lt_simple_link_test_code
="$lt_simple_compile_test_code"
12082 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12084 # If no C compiler was specified, use CC.
12087 # Allow CC to be a program name with arguments.
12091 # save warnings/boilerplate of simple test code
12092 ac_outfile
=conftest.
$ac_objext
12093 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
12094 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
12095 _lt_compiler_boilerplate
=`cat conftest.err`
12098 ac_outfile
=conftest.
$ac_objext
12099 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
12100 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
12101 _lt_linker_boilerplate
=`cat conftest.err`
12105 # Allow CC to be a program name with arguments.
12110 for cc_temp
in $compiler""; do
12112 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12113 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12118 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12120 lt_cv_prog_compiler_c_o_RC
=yes
12122 # The else clause should only fire when bootstrapping the
12123 # libtool distribution, otherwise you forgot to ship ltmain.sh
12124 # with your package, and you will get complaints that there are
12125 # no rules to generate ltmain.sh.
12126 if test -f "$ltmain"; then
12127 # See if we are running on zsh, and set the options which allow our commands through
12128 # without removal of \ escapes.
12129 if test -n "${ZSH_VERSION+set}" ; then
12130 setopt NO_GLOB_SUBST
12132 # Now quote all the things that may contain metacharacters while being
12133 # careful not to overquote the AC_SUBSTed values. We take copies of the
12134 # variables and quote the copies for generation of the libtool script.
12135 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
12137 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12138 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12139 deplibs_check_method reload_flag reload_cmds need_locks \
12140 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12141 lt_cv_sys_global_symbol_to_c_name_address \
12142 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12143 old_postinstall_cmds old_postuninstall_cmds \
12147 lt_prog_compiler_wl_RC \
12148 lt_prog_compiler_pic_RC \
12149 lt_prog_compiler_static_RC \
12150 lt_prog_compiler_no_builtin_flag_RC \
12151 export_dynamic_flag_spec_RC \
12152 thread_safe_flag_spec_RC \
12153 whole_archive_flag_spec_RC \
12154 enable_shared_with_static_runtimes_RC \
12155 old_archive_cmds_RC \
12156 old_archive_from_new_cmds_RC \
12157 predep_objects_RC \
12158 postdep_objects_RC \
12161 compiler_lib_search_path_RC \
12163 archive_expsym_cmds_RC \
12164 postinstall_cmds_RC \
12165 postuninstall_cmds_RC \
12166 old_archive_from_expsyms_cmds_RC \
12167 allow_undefined_flag_RC \
12168 no_undefined_flag_RC \
12169 export_symbols_cmds_RC \
12170 hardcode_libdir_flag_spec_RC \
12171 hardcode_libdir_flag_spec_ld_RC \
12172 hardcode_libdir_separator_RC \
12173 hardcode_automatic_RC \
12175 module_expsym_cmds_RC \
12176 lt_cv_prog_compiler_c_o_RC \
12177 exclude_expsyms_RC \
12178 include_expsyms_RC
; do
12181 old_archive_cmds_RC | \
12182 old_archive_from_new_cmds_RC | \
12183 archive_cmds_RC | \
12184 archive_expsym_cmds_RC | \
12186 module_expsym_cmds_RC | \
12187 old_archive_from_expsyms_cmds_RC | \
12188 export_symbols_cmds_RC | \
12189 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12190 postinstall_cmds | postuninstall_cmds | \
12191 old_postinstall_cmds | old_postuninstall_cmds | \
12192 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
12193 # Double-quote double-evaled strings.
12194 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12197 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12203 *'\$0 --fallback-echo"')
12204 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12210 cat <<__EOF__ >> "$cfgfile"
12211 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12213 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12215 # Shell to use when invoking shell scripts.
12218 # Whether or not to build shared libraries.
12219 build_libtool_libs=$enable_shared
12221 # Whether or not to build static libraries.
12222 build_old_libs=$enable_static
12224 # Whether or not to add -lc for building shared libraries.
12225 build_libtool_need_lc=$archive_cmds_need_lc_RC
12227 # Whether or not to disallow shared libs when runtime libs are static
12228 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
12230 # Whether or not to optimize for fast installation.
12231 fast_install=$enable_fast_install
12234 host_alias=$host_alias
12238 # The build system.
12239 build_alias=$build_alias
12243 # An echo program that does not interpret backslashes.
12248 AR_FLAGS=$lt_AR_FLAGS
12253 # A language-specific compiler.
12256 # Is the compiler the GNU C compiler?
12262 # The linker used to build libraries.
12265 # Whether we need hard or soft links.
12268 # A BSD-compatible nm program.
12271 # A symbol stripping program
12274 # Used to examine libraries when file_magic_cmd begins "file"
12275 MAGIC_CMD=$MAGIC_CMD
12277 # Used on cygwin: DLL creation program.
12280 # Used on cygwin: object dumper.
12283 # Used on cygwin: assembler.
12286 # The name of the directory that contains temporary libtool files.
12289 # How to create reloadable object files.
12290 reload_flag=$lt_reload_flag
12291 reload_cmds=$lt_reload_cmds
12293 # How to pass a linker flag through the compiler.
12294 wl=$lt_lt_prog_compiler_wl_RC
12296 # Object file suffix (normally "o").
12297 objext="$ac_objext"
12299 # Old archive suffix (normally "a").
12302 # Shared library suffix (normally ".so").
12303 shrext_cmds='$shrext_cmds'
12305 # Executable file suffix (normally "").
12308 # Additional compiler flags for building library objects.
12309 pic_flag=$lt_lt_prog_compiler_pic_RC
12312 # What is the maximum length of a command?
12313 max_cmd_len=$lt_cv_sys_max_cmd_len
12315 # Does compiler simultaneously support -c and -o options?
12316 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
12318 # Must we lock files when doing compilation?
12319 need_locks=$lt_need_locks
12321 # Do we need the lib prefix for modules?
12322 need_lib_prefix=$need_lib_prefix
12324 # Do we need a version for libraries?
12325 need_version=$need_version
12327 # Whether dlopen is supported.
12328 dlopen_support=$enable_dlopen
12330 # Whether dlopen of programs is supported.
12331 dlopen_self=$enable_dlopen_self
12333 # Whether dlopen of statically linked programs is supported.
12334 dlopen_self_static=$enable_dlopen_self_static
12336 # Compiler flag to prevent dynamic linking.
12337 link_static_flag=$lt_lt_prog_compiler_static_RC
12339 # Compiler flag to turn off builtin functions.
12340 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
12342 # Compiler flag to allow reflexive dlopens.
12343 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
12345 # Compiler flag to generate shared objects directly from archives.
12346 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
12348 # Compiler flag to generate thread-safe objects.
12349 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
12351 # Library versioning type.
12352 version_type=$version_type
12354 # Format of library name prefix.
12355 libname_spec=$lt_libname_spec
12357 # List of archive names. First name is the real one, the rest are links.
12358 # The last name is the one that the linker finds with -lNAME.
12359 library_names_spec=$lt_library_names_spec
12361 # The coded name of the library, if different from the real name.
12362 soname_spec=$lt_soname_spec
12364 # Commands used to build and install an old-style archive.
12366 old_archive_cmds=$lt_old_archive_cmds_RC
12367 old_postinstall_cmds=$lt_old_postinstall_cmds
12368 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12370 # Create an old-style archive from a shared archive.
12371 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
12373 # Create a temporary old-style archive to link instead of a shared archive.
12374 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
12376 # Commands used to build and install a shared archive.
12377 archive_cmds=$lt_archive_cmds_RC
12378 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
12379 postinstall_cmds=$lt_postinstall_cmds
12380 postuninstall_cmds=$lt_postuninstall_cmds
12382 # Commands used to build a loadable module (assumed same as above if empty)
12383 module_cmds=$lt_module_cmds_RC
12384 module_expsym_cmds=$lt_module_expsym_cmds_RC
12386 # Commands to strip libraries.
12387 old_striplib=$lt_old_striplib
12388 striplib=$lt_striplib
12390 # Dependencies to place before the objects being linked to create a
12392 predep_objects=$lt_predep_objects_RC
12394 # Dependencies to place after the objects being linked to create a
12396 postdep_objects=$lt_postdep_objects_RC
12398 # Dependencies to place before the objects being linked to create a
12400 predeps=$lt_predeps_RC
12402 # Dependencies to place after the objects being linked to create a
12404 postdeps=$lt_postdeps_RC
12406 # The library search path used internally by the compiler when linking
12407 # a shared library.
12408 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
12410 # Method to check whether dependent libraries are shared objects.
12411 deplibs_check_method=$lt_deplibs_check_method
12413 # Command to use when deplibs_check_method == file_magic.
12414 file_magic_cmd=$lt_file_magic_cmd
12416 # Flag that allows shared libraries with undefined symbols to be built.
12417 allow_undefined_flag=$lt_allow_undefined_flag_RC
12419 # Flag that forces no undefined symbols.
12420 no_undefined_flag=$lt_no_undefined_flag_RC
12422 # Commands used to finish a libtool library installation in a directory.
12423 finish_cmds=$lt_finish_cmds
12425 # Same as above, but a single script fragment to be evaled but not shown.
12426 finish_eval=$lt_finish_eval
12428 # Take the output of nm and produce a listing of raw symbols and C names.
12429 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12431 # Transform the output of nm in a proper C declaration
12432 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12434 # Transform the output of nm in a C name address pair
12435 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12437 # This is the shared library runtime path variable.
12438 runpath_var=$runpath_var
12440 # This is the shared library path variable.
12441 shlibpath_var=$shlibpath_var
12443 # Is shlibpath searched before the hard-coded library search path?
12444 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12446 # How to hardcode a shared library path into an executable.
12447 hardcode_action=$hardcode_action_RC
12449 # Whether we should hardcode library paths into libraries.
12450 hardcode_into_libs=$hardcode_into_libs
12452 # Flag to hardcode \$libdir into a binary during linking.
12453 # This must work even if \$libdir does not exist.
12454 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
12456 # If ld is used when linking, flag to hardcode \$libdir into
12457 # a binary during linking. This must work even if \$libdir does
12459 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
12461 # Whether we need a single -rpath flag with a separated argument.
12462 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
12464 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12465 # resulting binary.
12466 hardcode_direct=$hardcode_direct_RC
12468 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12469 # resulting binary.
12470 hardcode_minus_L=$hardcode_minus_L_RC
12472 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12473 # the resulting binary.
12474 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
12476 # Set to yes if building a shared library automatically hardcodes DIR into the library
12477 # and all subsequent libraries and executables linked against it.
12478 hardcode_automatic=$hardcode_automatic_RC
12480 # Variables whose values should be saved in libtool wrapper scripts and
12481 # restored at relink time.
12482 variables_saved_for_relink="$variables_saved_for_relink"
12484 # Whether libtool must link a program against all its dependency libraries.
12485 link_all_deplibs=$link_all_deplibs_RC
12487 # Compile-time system search path for libraries
12488 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12490 # Run-time system search path for libraries
12491 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12493 # Fix the shell variable \$srcfile for the compiler.
12494 fix_srcfile_path="$fix_srcfile_path_RC"
12496 # Set to yes if exported symbols are required.
12497 always_export_symbols=$always_export_symbols_RC
12499 # The commands to list exported symbols.
12500 export_symbols_cmds=$lt_export_symbols_cmds_RC
12502 # The commands to extract the exported symbol list from a shared archive.
12503 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12505 # Symbols that should not be listed in the preloaded symbols.
12506 exclude_expsyms=$lt_exclude_expsyms_RC
12508 # Symbols that must always be exported.
12509 include_expsyms=$lt_include_expsyms_RC
12511 # ### END LIBTOOL TAG CONFIG: $tagname
12517 # If there is no Makefile yet, we rely on a make rule to execute
12518 # `config.status --recheck' to rerun these tests and create the
12519 # libtool script then.
12520 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12521 if test -f "$ltmain_in"; then
12522 test -f Makefile
&& make "$ltmain"
12528 ac_cpp
='$CPP $CPPFLAGS'
12529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12538 as_fn_error
"Unsupported tag name: $tagname" "$LINENO" 5
12542 # Append the new tag name to the list of available tags.
12543 if test -n "$tagname" ; then
12544 available_tags
="$available_tags $tagname"
12550 # Now substitute the updated list of available tags.
12551 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
12552 mv "${ofile}T" "$ofile"
12556 as_fn_error
"unable to update list of available tagged configurations." "$LINENO" 5
12562 # This can be used to rebuild libtool when needed
12563 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
12565 # Always use our own libtool.
12566 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
12568 # Prevent multiple expansion
12579 # NTP has (so far) been relying on leading-edge autogen.
12580 # Therefore, by default:
12581 # - use the version we ship with
12582 # - do not install it
12583 # - build a static copy (AC_DISABLE_SHARED - done earlier)
12584 case "${enable_local_libopts+set}" in
12586 *) enable_local_libopts
=yes ;;
12588 case "${enable_libopts_install+set}" in
12590 *) enable_libopts_install
=no
;;
12593 NEED_LIBOPTS_DIR
=''
12595 LIBOPTS_DIR
=libopts
12597 # Check whether --enable-local-libopts was given.
12598 if test "${enable_local_libopts+set}" = set; then :
12599 enableval
=$enable_local_libopts;
12600 if test x
$enableval = xyes
; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: Using supplied libopts tearoff" >&5
12602 $as_echo "$as_me: Using supplied libopts tearoff" >&6;}
12603 LIBOPTS_LDADD
='$(top_builddir)/libopts/libopts.la'
12604 LIBOPTS_CFLAGS
='-I$(top_srcdir)/libopts'
12605 NEED_LIBOPTS_DIR
=true
12610 # Check whether --enable-libopts-install was given.
12611 if test "${enable_libopts_install+set}" = set; then :
12612 enableval
=$enable_libopts_install;
12615 if test "X${enable_libopts_install}" != Xno
; then
12616 INSTALL_LIBOPTS_TRUE
=
12617 INSTALL_LIBOPTS_FALSE
='#'
12619 INSTALL_LIBOPTS_TRUE
='#'
12620 INSTALL_LIBOPTS_FALSE
=
12624 if test -z "${NEED_LIBOPTS_DIR}" ; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config can be found" >&5
12626 $as_echo_n "checking whether autoopts-config can be found... " >&6; }
12628 # Check whether --with-autoopts-config was given.
12629 if test "${with_autoopts_config+set}" = set; then :
12630 withval
=$with_autoopts_config; lo_cv_with_autoopts_config
=${with_autoopts_config}
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config is specified" >&5
12633 $as_echo_n "checking whether autoopts-config is specified... " >&6; }
12634 if test "${lo_cv_with_autoopts_config+set}" = set; then :
12635 $as_echo_n "(cached) " >&6
12637 if autoopts-config
--help 2>/dev
/null
1>&2
12638 then lo_cv_with_autoopts_config
=autoopts-config
12639 elif libopts-config
--help 2>/dev
/null
1>&2
12640 then lo_cv_with_autoopts_config
=libopts-config
12641 else lo_cv_with_autoopts_config
=no
; fi
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lo_cv_with_autoopts_config" >&5
12644 $as_echo "$lo_cv_with_autoopts_config" >&6; }
12647 # end of AC_ARG_WITH
12649 if test "${lo_cv_test_autoopts+set}" = set; then :
12650 $as_echo_n "(cached) " >&6
12653 if test -z "${lo_cv_with_autoopts_config}" \
12654 -o X
"${lo_cv_with_autoopts_config}" = Xno
12656 if autoopts-config
--help 2>/dev
/null
1>&2
12657 then lo_cv_with_autoopts_config
=autoopts-config
12658 elif libopts-config
--help 2>/dev
/null
1>&2
12659 then lo_cv_with_autoopts_config
=libopts-config
12660 else lo_cv_with_autoopts_config
=false
; fi
12662 lo_cv_test_autoopts
=`
12663 ${lo_cv_with_autoopts_config} --libs` 2> /dev
/null
12664 if test $?
-ne 0 -o -z "${lo_cv_test_autoopts}"
12665 then lo_cv_test_autoopts
=no
; fi
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lo_cv_test_autoopts}" >&5
12670 $as_echo "${lo_cv_test_autoopts}" >&6; }
12672 if test "X${lo_cv_test_autoopts}" != Xno
12674 LIBOPTS_LDADD
="${lo_cv_test_autoopts}"
12675 LIBOPTS_CFLAGS
="`${lo_cv_with_autoopts_config} --cflags`"
12677 LIBOPTS_LDADD
='$(top_builddir)/libopts/libopts.la'
12678 LIBOPTS_CFLAGS
='-I$(top_srcdir)/libopts'
12679 NEED_LIBOPTS_DIR
=true
12681 fi # end of if test -z "${NEED_LIBOPTS_DIR}"
12683 if test -n "${NEED_LIBOPTS_DIR}"; then
12685 NEED_LIBOPTS_FALSE
='#'
12687 NEED_LIBOPTS_TRUE
='#'
12688 NEED_LIBOPTS_FALSE
=
12693 LIBOPTS_DIR
=libopts
12695 ac_config_files
="$ac_config_files libopts/Makefile"
12699 if test -n "${NEED_LIBOPTS_DIR}" ; then
12702 if test X
${INVOKE_LIBOPTS_MACROS_FIRST_done} != Xyes
; then
12703 # =================
12705 # =================
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12707 $as_echo_n "checking for ANSI C header files... " >&6; }
12708 if test "${ac_cv_header_stdc+set}" = set; then :
12709 $as_echo_n "(cached) " >&6
12711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12713 #include <stdlib.h>
12714 #include <stdarg.h>
12715 #include <string.h>
12726 if ac_fn_c_try_compile
"$LINENO"; then :
12727 ac_cv_header_stdc
=yes
12729 ac_cv_header_stdc
=no
12731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12733 if test $ac_cv_header_stdc = yes; then
12734 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12737 #include <string.h>
12740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12741 $EGREP "memchr" >/dev
/null
2>&1; then :
12744 ac_cv_header_stdc
=no
12750 if test $ac_cv_header_stdc = yes; then
12751 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12754 #include <stdlib.h>
12757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12758 $EGREP "free" >/dev
/null
2>&1; then :
12761 ac_cv_header_stdc
=no
12767 if test $ac_cv_header_stdc = yes; then
12768 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12769 if test "$cross_compiling" = yes; then :
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 #include <stdlib.h>
12776 #if ((' ' & 0x0FF) == 0x020)
12777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12780 # define ISLOWER(c) \
12781 (('a' <= (c) && (c) <= 'i') \
12782 || ('j' <= (c) && (c) <= 'r') \
12783 || ('s' <= (c) && (c) <= 'z'))
12784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12792 for (i = 0; i < 256; i++)
12793 if (XOR (islower (i), ISLOWER (i))
12794 || toupper (i) != TOUPPER (i))
12799 if ac_fn_c_try_run
"$LINENO"; then :
12802 ac_cv_header_stdc
=no
12804 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12805 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12811 $as_echo "$ac_cv_header_stdc" >&6; }
12812 if test $ac_cv_header_stdc = yes; then
12814 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12818 # =================
12820 # =================
12821 ac_header_dirent
=no
12822 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
12823 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12825 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12826 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
12827 $as_echo_n "(cached) " >&6
12829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 #include <sys/types.h>
12843 if ac_fn_c_try_compile
"$LINENO"; then :
12844 eval "$as_ac_Header=yes"
12846 eval "$as_ac_Header=no"
12848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12850 eval ac_res
=\$
$as_ac_Header
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12852 $as_echo "$ac_res" >&6; }
12853 eval as_val
=\$
$as_ac_Header
12854 if test "x$as_val" = x
""yes; then :
12855 cat >>confdefs.h
<<_ACEOF
12856 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12859 ac_header_dirent
=$ac_hdr; break
12863 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12864 if test $ac_header_dirent = dirent.h
; then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12866 $as_echo_n "checking for library containing opendir... " >&6; }
12867 if test "${ac_cv_search_opendir+set}" = set; then :
12868 $as_echo_n "(cached) " >&6
12870 ac_func_search_save_LIBS
=$LIBS
12871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12889 for ac_lib
in '' dir
; do
12890 if test -z "$ac_lib"; then
12891 ac_res
="none required"
12894 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12896 if ac_fn_c_try_link
"$LINENO"; then :
12897 ac_cv_search_opendir
=$ac_res
12899 rm -f core conftest.err conftest.
$ac_objext \
12901 if test "${ac_cv_search_opendir+set}" = set; then :
12905 if test "${ac_cv_search_opendir+set}" = set; then :
12908 ac_cv_search_opendir
=no
12910 rm conftest.
$ac_ext
12911 LIBS
=$ac_func_search_save_LIBS
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12914 $as_echo "$ac_cv_search_opendir" >&6; }
12915 ac_res
=$ac_cv_search_opendir
12916 if test "$ac_res" != no
; then :
12917 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12923 $as_echo_n "checking for library containing opendir... " >&6; }
12924 if test "${ac_cv_search_opendir+set}" = set; then :
12925 $as_echo_n "(cached) " >&6
12927 ac_func_search_save_LIBS
=$LIBS
12928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12931 /* Override any GCC internal prototype to avoid an error.
12932 Use char because int might match the return type of a GCC
12933 builtin and then its argument prototype would still apply. */
12946 for ac_lib
in '' x
; do
12947 if test -z "$ac_lib"; then
12948 ac_res
="none required"
12951 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12953 if ac_fn_c_try_link
"$LINENO"; then :
12954 ac_cv_search_opendir
=$ac_res
12956 rm -f core conftest.err conftest.
$ac_objext \
12958 if test "${ac_cv_search_opendir+set}" = set; then :
12962 if test "${ac_cv_search_opendir+set}" = set; then :
12965 ac_cv_search_opendir
=no
12967 rm conftest.
$ac_ext
12968 LIBS
=$ac_func_search_save_LIBS
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12971 $as_echo "$ac_cv_search_opendir" >&6; }
12972 ac_res
=$ac_cv_search_opendir
12973 if test "$ac_res" != no
; then :
12974 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12981 # =================
12983 # =================
12984 for ac_header
in dlfcn.h errno.h fcntl.h libgen.h memory.h netinet
/in.h \
12985 setjmp.h sys
/mman.h sys
/param.h sys
/poll.h sys
/procset.h sys
/select.h \
12986 sys
/socket.h sys
/stropts.h sys
/time.h sys
/un.h sys
/wait.h unistd.h \
12989 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12990 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12991 eval as_val
=\$
$as_ac_Header
12992 if test "x$as_val" = x
""yes; then :
12993 cat >>confdefs.h
<<_ACEOF
12994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13002 # --------------------------------------------
13003 # Verify certain entries from AC_CHECK_HEADERS
13004 # --------------------------------------------
13005 for f
in sys_types sys_mman sys_param sys_stat sys_wait \
13006 string errno stdlib memory setjmp
13007 do eval as_ac_var
=\
${ac_cv_header_${f}_h+set}
13008 test "${as_ac_var}" = set || \
13009 as_fn_error
"You must have ${f}.h on your system" "$LINENO" 5
13012 # ================================================
13013 # AC_CHECK_HEADERS: stdarg.h is present define HAVE_STDARG_H, otherwise
13014 # if varargs.h is present define HAVE_VARARGS_H.
13015 # ================================================
13016 for ac_header
in stdarg.h varargs.h
13018 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13019 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13020 eval as_val
=\$
$as_ac_Header
13021 if test "x$as_val" = x
""yes; then :
13022 cat >>confdefs.h
<<_ACEOF
13023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13030 if test `eval echo '${'$as_ac_Header'}'` != yes; then
13031 as_fn_error
"You must have stdarg.h or varargs.h on your system" "$LINENO" 5
13034 # ================================================
13035 # Similarly for the string.h and strings.h headers
13036 # ================================================
13037 for ac_header
in string.h
strings.h
13039 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13040 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13041 eval as_val
=\$
$as_ac_Header
13042 if test "x$as_val" = x
""yes; then :
13043 cat >>confdefs.h
<<_ACEOF
13044 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13051 if test `eval echo '${'$as_ac_Header'}'` != yes; then
13052 as_fn_error
"You must have string.h or strings.h on your system" "$LINENO" 5
13055 # =====================
13056 # ...and limits headers
13057 # =====================
13058 for ac_header
in limits.h sys
/limits.h values.h
13060 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13061 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13062 eval as_val
=\$
$as_ac_Header
13063 if test "x$as_val" = x
""yes; then :
13064 cat >>confdefs.h
<<_ACEOF
13065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13072 if test `eval echo '${'$as_ac_Header'}'` != yes; then
13073 as_fn_error
"You must have one of limits.h, sys/limits.h or values.h" "$LINENO" 5
13076 # ========================
13077 # ...and int types headers
13078 # ========================
13079 for ac_header
in stdint.h inttypes.h
13081 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13082 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13083 eval as_val
=\$
$as_ac_Header
13084 if test "x$as_val" = x
""yes; then :
13085 cat >>confdefs.h
<<_ACEOF
13086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13093 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
13094 if test "x$ac_cv_type_int8_t" = x
""yes; then :
13096 cat >>confdefs.h
<<_ACEOF
13097 #define HAVE_INT8_T 1
13102 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
13103 if test "x$ac_cv_type_uint8_t" = x
""yes; then :
13105 cat >>confdefs.h
<<_ACEOF
13106 #define HAVE_UINT8_T 1
13111 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
13112 if test "x$ac_cv_type_int16_t" = x
""yes; then :
13114 cat >>confdefs.h
<<_ACEOF
13115 #define HAVE_INT16_T 1
13120 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13121 if test "x$ac_cv_type_uint16_t" = x
""yes; then :
13123 cat >>confdefs.h
<<_ACEOF
13124 #define HAVE_UINT16_T 1
13129 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
13130 if test "x$ac_cv_type_int32_t" = x
""yes; then :
13132 cat >>confdefs.h
<<_ACEOF
13133 #define HAVE_INT32_T 1
13138 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13139 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
13141 cat >>confdefs.h
<<_ACEOF
13142 #define HAVE_UINT32_T 1
13147 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
13148 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
13150 cat >>confdefs.h
<<_ACEOF
13151 #define HAVE_INTPTR_T 1
13156 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
13157 if test "x$ac_cv_type_uint_t" = x
""yes; then :
13159 cat >>confdefs.h
<<_ACEOF
13160 #define HAVE_UINT_T 1
13167 # ====================
13168 # uintptr type & sizes
13169 # ====================
13170 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
13171 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
13173 cat >>confdefs.h
<<_ACEOF
13174 #define HAVE_UINTPTR_T 1
13180 $as_echo "#define uintptr_t unsigned long" >>confdefs.h
13184 # The cast to long int works around a bug in the HP C Compiler
13185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13187 # This bug is HP SR number 8606223364.
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char*" >&5
13189 $as_echo_n "checking size of char*... " >&6; }
13190 if test "${ac_cv_sizeof_charp+set}" = set; then :
13191 $as_echo_n "(cached) " >&6
13193 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char*))" "ac_cv_sizeof_charp" "$ac_includes_default"; then :
13196 if test "$ac_cv_type_charp" = yes; then
13197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13199 { as_fn_set_status
77
13200 as_fn_error
"cannot compute sizeof (char*)
13201 See \`config.log' for more details." "$LINENO" 5; }; }
13203 ac_cv_sizeof_charp
=0
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_charp" >&5
13209 $as_echo "$ac_cv_sizeof_charp" >&6; }
13213 cat >>confdefs.h
<<_ACEOF
13214 #define SIZEOF_CHARP $ac_cv_sizeof_charp
13218 # The cast to long int works around a bug in the HP C Compiler
13219 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13220 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13221 # This bug is HP SR number 8606223364.
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13223 $as_echo_n "checking size of int... " >&6; }
13224 if test "${ac_cv_sizeof_int+set}" = set; then :
13225 $as_echo_n "(cached) " >&6
13227 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
13230 if test "$ac_cv_type_int" = yes; then
13231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13233 { as_fn_set_status
77
13234 as_fn_error
"cannot compute sizeof (int)
13235 See \`config.log' for more details." "$LINENO" 5; }; }
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
13243 $as_echo "$ac_cv_sizeof_int" >&6; }
13247 cat >>confdefs.h
<<_ACEOF
13248 #define SIZEOF_INT $ac_cv_sizeof_int
13252 # The cast to long int works around a bug in the HP C Compiler
13253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13255 # This bug is HP SR number 8606223364.
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13257 $as_echo_n "checking size of long... " >&6; }
13258 if test "${ac_cv_sizeof_long+set}" = set; then :
13259 $as_echo_n "(cached) " >&6
13261 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
13264 if test "$ac_cv_type_long" = yes; then
13265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13267 { as_fn_set_status
77
13268 as_fn_error
"cannot compute sizeof (long)
13269 See \`config.log' for more details." "$LINENO" 5; }; }
13271 ac_cv_sizeof_long
=0
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
13277 $as_echo "$ac_cv_sizeof_long" >&6; }
13281 cat >>confdefs.h
<<_ACEOF
13282 #define SIZEOF_LONG $ac_cv_sizeof_long
13286 # The cast to long int works around a bug in the HP C Compiler
13287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13289 # This bug is HP SR number 8606223364.
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
13291 $as_echo_n "checking size of short... " >&6; }
13292 if test "${ac_cv_sizeof_short+set}" = set; then :
13293 $as_echo_n "(cached) " >&6
13295 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
13298 if test "$ac_cv_type_short" = yes; then
13299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13301 { as_fn_set_status
77
13302 as_fn_error
"cannot compute sizeof (short)
13303 See \`config.log' for more details." "$LINENO" 5; }; }
13305 ac_cv_sizeof_short
=0
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
13311 $as_echo "$ac_cv_sizeof_short" >&6; }
13315 cat >>confdefs.h
<<_ACEOF
13316 #define SIZEOF_SHORT $ac_cv_sizeof_short
13321 # ----------------------------------------------------------------------
13322 # AC_CHECK_LIB for SVR4 libgen, and use it if it defines pathfind.
13323 # ----------------------------------------------------------------------
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pathfind in -lgen" >&5
13325 $as_echo_n "checking for pathfind in -lgen... " >&6; }
13326 if test "${ac_cv_lib_gen_pathfind+set}" = set; then :
13327 $as_echo_n "(cached) " >&6
13329 ac_check_lib_save_LIBS
=$LIBS
13331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13332 /* end confdefs.h. */
13334 /* Override any GCC internal prototype to avoid an error.
13335 Use char because int might match the return type of a GCC
13336 builtin and then its argument prototype would still apply. */
13344 return pathfind ();
13349 if ac_fn_c_try_link
"$LINENO"; then :
13350 ac_cv_lib_gen_pathfind
=yes
13352 ac_cv_lib_gen_pathfind
=no
13354 rm -f core conftest.err conftest.
$ac_objext \
13355 conftest
$ac_exeext conftest.
$ac_ext
13356 LIBS
=$ac_check_lib_save_LIBS
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_pathfind" >&5
13359 $as_echo "$ac_cv_lib_gen_pathfind" >&6; }
13360 if test "x$ac_cv_lib_gen_pathfind" = x
""yes; then :
13361 cat >>confdefs.h
<<_ACEOF
13362 #define HAVE_LIBGEN 1
13369 for ac_func
in vprintf
13371 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
13372 if test "x$ac_cv_func_vprintf" = x
""yes; then :
13373 cat >>confdefs.h
<<_ACEOF
13374 #define HAVE_VPRINTF 1
13377 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
13378 if test "x$ac_cv_func__doprnt" = x
""yes; then :
13380 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
13388 for ac_func
in mmap canonicalize_file_name snprintf strdup strchr strrchr
13390 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13391 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13392 eval as_val
=\$
$as_ac_var
13393 if test "x$as_val" = x
""yes; then :
13394 cat >>confdefs.h
<<_ACEOF
13395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13401 INVOKE_LIBOPTS_MACROS_FIRST_done
=yes
13403 # Check to see if a reg expr header is specified.
13406 # Check whether --with-regex-header was given.
13407 if test "${with_regex_header+set}" = set; then :
13408 withval
=$with_regex_header; libopts_cv_with_regex_header
=${with_regex_header}
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a reg expr header is specified" >&5
13411 $as_echo_n "checking whether a reg expr header is specified... " >&6; }
13412 if test "${libopts_cv_with_regex_header+set}" = set; then :
13413 $as_echo_n "(cached) " >&6
13415 libopts_cv_with_regex_header
=no
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_regex_header" >&5
13418 $as_echo "$libopts_cv_with_regex_header" >&6; }
13421 # end of AC_ARG_WITH
13423 if test "X${libopts_cv_with_regex_header}" != Xno
13425 cat >>confdefs.h
<<_ACEOF
13426 #define REGEX_HEADER <${libopts_cv_with_regex_header}>
13431 $as_echo "#define REGEX_HEADER <regex.h>" >>confdefs.h
13437 # Check to see if a working libregex can be found.
13440 # Check whether --with-libregex was given.
13441 if test "${with_libregex+set}" = set; then :
13442 withval
=$with_libregex; libopts_cv_with_libregex_root
=${with_libregex}
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether with-libregex was specified" >&5
13445 $as_echo_n "checking whether with-libregex was specified... " >&6; }
13446 if test "${libopts_cv_with_libregex_root+set}" = set; then :
13447 $as_echo_n "(cached) " >&6
13449 libopts_cv_with_libregex_root
=no
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_libregex_root" >&5
13452 $as_echo "$libopts_cv_with_libregex_root" >&6; }
13455 # end of AC_ARG_WITH libregex
13457 if test "${with_libguile+set}" = set && \
13458 test "${withval}" = no
13459 then ## disabled by request
13460 libopts_cv_with_libregex_root
=no
13461 libopts_cv_with_libregex_cflags
=no
13462 libopts_cv_with_libregex_libs
=no
13466 # Check whether --with-libregex-cflags was given.
13467 if test "${with_libregex_cflags+set}" = set; then :
13468 withval
=$with_libregex_cflags; libopts_cv_with_libregex_cflags
=${with_regex_cflags}
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether with-libregex-cflags was specified" >&5
13471 $as_echo_n "checking whether with-libregex-cflags was specified... " >&6; }
13472 if test "${libopts_cv_with_libregex_cflags+set}" = set; then :
13473 $as_echo_n "(cached) " >&6
13475 libopts_cv_with_libregex_cflags
=no
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_libregex_cflags" >&5
13478 $as_echo "$libopts_cv_with_libregex_cflags" >&6; }
13481 # end of AC_ARG_WITH libregex-cflags
13484 # Check whether --with-libregex-libs was given.
13485 if test "${with_libregex_libs+set}" = set; then :
13486 withval
=$with_libregex_libs; libopts_cv_with_libregex_libs
=${with_regex_libs}
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether with-libregex-libs was specified" >&5
13489 $as_echo_n "checking whether with-libregex-libs was specified... " >&6; }
13490 if test "${libopts_cv_with_libregex_libs+set}" = set; then :
13491 $as_echo_n "(cached) " >&6
13493 libopts_cv_with_libregex_libs
=no
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_libregex_libs" >&5
13496 $as_echo "$libopts_cv_with_libregex_libs" >&6; }
13499 # end of AC_ARG_WITH libregex-libs
13501 case "X${libopts_cv_with_libregex_cflags}" in
13503 case "X${libopts_cv_with_libregex_root}" in
13504 Xyes|Xno|X
) libopts_cv_with_libregex_cflags
=no
;;
13505 * ) libopts_cv_with_libregex_cflags
=-I${libopts_cv_with_libregex_root}/include
;;
13508 case "X${libopts_cv_with_libregex_libs}" in
13510 case "X${libopts_cv_with_libregex_root}" in
13511 Xyes|Xno|X
) libopts_cv_with_libregex_libs
=no
;;
13512 * ) libopts_cv_with_libregex_libs
="-L${libopts_cv_with_libregex_root}/lib -lregex";;
13515 libopts_save_CPPFLAGS
="${CPPFLAGS}"
13516 libopts_save_LIBS
="${LIBS}"
13517 fi ## disabled by request
13519 case "X${libopts_cv_with_libregex_cflags}" in
13521 libopts_cv_with_libregex_cflags
="" ;;
13522 * ) CPPFLAGS
="${CPPFLAGS} ${libopts_cv_with_libregex_cflags}" ;;
13524 case "X${libopts_cv_with_libregex_libs}" in
13526 libopts_cv_with_libregex_libs
="" ;;
13528 LIBS
="${LIBS} ${libopts_cv_with_libregex_libs}" ;;
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libregex functions properly" >&5
13533 $as_echo_n "checking whether libregex functions properly... " >&6; }
13534 if test "${libopts_cv_with_libregex+set}" = set; then :
13535 $as_echo_n "(cached) " >&6
13538 if test "$cross_compiling" = yes; then :
13539 libopts_cv_with_libregex
=no
13541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 #include <stdlib.h>
13545 #include <sys/types.h>
13546 #include REGEX_HEADER
13548 void comp_re( char const* pzPat ) {
13549 int res = regcomp( &re, pzPat, REG_EXTENDED|REG_ICASE|REG_NEWLINE );
13550 if (res == 0) return;
13554 comp_re( "^.*\$" );
13555 comp_re( "()|no.*" );
13557 if (regexec( &re, "X", 2, m, 0 ) != 0) return 1;
13558 if ((m[0].rm_so != 0) || (m[0].rm_eo != 1)) {
13559 fputs( "error: regex -->.<-- did not match\n", stderr );
13564 if ac_fn_c_try_run
"$LINENO"; then :
13565 libopts_cv_with_libregex
=yes
13567 libopts_cv_with_libregex
=no
13569 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13570 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13572 # end of AC_TRY_RUN
13575 # end of AC_CACHE_VAL for libopts_cv_with_libregex
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_with_libregex}" >&5
13577 $as_echo "${libopts_cv_with_libregex}" >&6; }
13579 if test "X${libopts_cv_with_libregex}" != Xno
13582 $as_echo "#define WITH_LIBREGEX 1" >>confdefs.h
13585 CPPFLAGS
="${libopts_save_CPPFLAGS}"
13586 LIBS
="${libopts_save_LIBS}"
13591 # Check to see if pathfind(3) works.
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pathfind(3) works" >&5
13594 $as_echo_n "checking whether pathfind(3) works... " >&6; }
13595 if test "${libopts_cv_run_pathfind+set}" = set; then :
13596 $as_echo_n "(cached) " >&6
13599 if test "$cross_compiling" = yes; then :
13600 libopts_cv_run_pathfind
=no
13603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 #include <string.h>
13606 #include <stdlib.h>
13607 int main (int argc, char** argv) {
13608 char* pz = pathfind( getenv( "PATH" ), "sh", "x" );
13609 return (pz == 0) ? 1 : 0;
13612 if ac_fn_c_try_run
"$LINENO"; then :
13613 libopts_cv_run_pathfind
=yes
13615 libopts_cv_run_pathfind
=no
13617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13618 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13623 # end of AC_CACHE_VAL for libopts_cv_run_pathfind
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_pathfind}" >&5
13625 $as_echo "${libopts_cv_run_pathfind}" >&6; }
13627 if test "X${libopts_cv_run_pathfind}" != Xno
13630 $as_echo "#define HAVE_PATHFIND 1" >>confdefs.h
13636 # Check to see if /dev/zero is readable device.
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether /dev/zero is readable device" >&5
13639 $as_echo_n "checking whether /dev/zero is readable device... " >&6; }
13640 if test "${libopts_cv_test_dev_zero+set}" = set; then :
13641 $as_echo_n "(cached) " >&6
13644 libopts_cv_test_dev_zero
=`exec 2> /dev/null
13645 dzero=\`ls -lL /dev
/zero |
egrep ^c......r\
`
13646 test -z "${dzero}" && exit 1
13649 then libopts_cv_test_dev_zero
=no
13650 elif test -z "$libopts_cv_test_dev_zero"
13651 then libopts_cv_test_dev_zero
=no
13655 # end of CACHE_VAL of libopts_cv_test_dev_zero
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_test_dev_zero}" >&5
13657 $as_echo "${libopts_cv_test_dev_zero}" >&6; }
13659 if test "X${libopts_cv_test_dev_zero}" != Xno
13662 $as_echo "#define HAVE_DEV_ZERO 1" >>confdefs.h
13668 # Check to see if we have a functional realpath(3C).
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a functional realpath(3C)" >&5
13671 $as_echo_n "checking whether we have a functional realpath(3C)... " >&6; }
13672 if test "${libopts_cv_run_realpath+set}" = set; then :
13673 $as_echo_n "(cached) " >&6
13676 if test "$cross_compiling" = yes; then :
13677 libopts_cv_run_realpath
=no
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #include <limits.h>
13683 #include <stdlib.h>
13684 int main (int argc, char** argv) {
13688 char zPath[PATH_MAX+1];
13690 char *pz = realpath(argv[0], zPath);
13691 return (pz == zPath) ? 0 : 1;
13694 if ac_fn_c_try_run
"$LINENO"; then :
13695 libopts_cv_run_realpath
=yes
13697 libopts_cv_run_realpath
=no
13699 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13700 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13705 # end of AC_CACHE_VAL for libopts_cv_run_realpath
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_realpath}" >&5
13707 $as_echo "${libopts_cv_run_realpath}" >&6; }
13709 if test "X${libopts_cv_run_realpath}" != Xno
13712 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
13718 # Check to see if strftime() works.
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strftime() works" >&5
13721 $as_echo_n "checking whether strftime() works... " >&6; }
13722 if test "${libopts_cv_run_strftime+set}" = set; then :
13723 $as_echo_n "(cached) " >&6
13726 if test "$cross_compiling" = yes; then :
13727 libopts_cv_run_strftime
=no
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13733 #include <string.h>
13736 static char const z[] = "Thursday Aug 28 240";
13738 tm.tm_sec = 36; /* seconds after the minute [0, 61] */
13739 tm.tm_min = 44; /* minutes after the hour [0, 59] */
13740 tm.tm_hour = 12; /* hour since midnight [0, 23] */
13741 tm.tm_mday = 28; /* day of the month [1, 31] */
13742 tm.tm_mon = 7; /* months since January [0, 11] */
13743 tm.tm_year = 86; /* years since 1900 */
13744 tm.tm_wday = 4; /* days since Sunday [0, 6] */
13745 tm.tm_yday = 239; /* days since January 1 [0, 365] */
13746 tm.tm_isdst = 1; /* flag for daylight savings time */
13747 strftime( t_buf, sizeof( t_buf ), "%A %b %d %j", &tm );
13748 return (strcmp( t_buf, z ) != 0); }
13750 if ac_fn_c_try_run
"$LINENO"; then :
13751 libopts_cv_run_strftime
=yes
13753 libopts_cv_run_strftime
=no
13755 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13756 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13761 # end of AC_CACHE_VAL for libopts_cv_run_strftime
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_strftime}" >&5
13763 $as_echo "${libopts_cv_run_strftime}" >&6; }
13765 if test "X${libopts_cv_run_strftime}" != Xno
13768 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
13774 # Check to see if fopen accepts "b" mode.
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen accepts \"b\" mode" >&5
13777 $as_echo_n "checking whether fopen accepts \"b\" mode... " >&6; }
13778 if test "${libopts_cv_run_fopen_binary+set}" = set; then :
13779 $as_echo_n "(cached) " >&6
13782 if test "$cross_compiling" = yes; then :
13783 libopts_cv_run_fopen_binary
=no
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13789 int main (int argc, char** argv) {
13790 FILE* fp = fopen("conftest.$ac_ext", "rb");
13791 return (fp == NULL) ? 1 : fclose(fp); }
13793 if ac_fn_c_try_run
"$LINENO"; then :
13794 libopts_cv_run_fopen_binary
=yes
13796 libopts_cv_run_fopen_binary
=no
13798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13799 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13804 # end of AC_CACHE_VAL for libopts_cv_run_fopen_binary
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_fopen_binary}" >&5
13806 $as_echo "${libopts_cv_run_fopen_binary}" >&6; }
13808 if test "X${libopts_cv_run_fopen_binary}" != Xno
13811 $as_echo "#define FOPEN_BINARY_FLAG \"b\"" >>confdefs.h
13815 $as_echo "#define FOPEN_BINARY_FLAG \"\"" >>confdefs.h
13821 # Check to see if fopen accepts "t" mode.
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen accepts \"t\" mode" >&5
13824 $as_echo_n "checking whether fopen accepts \"t\" mode... " >&6; }
13825 if test "${libopts_cv_run_fopen_text+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13829 if test "$cross_compiling" = yes; then :
13830 libopts_cv_run_fopen_text
=no
13833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13836 int main (int argc, char** argv) {
13837 FILE* fp = fopen("conftest.$ac_ext", "rt");
13838 return (fp == NULL) ? 1 : fclose(fp); }
13840 if ac_fn_c_try_run
"$LINENO"; then :
13841 libopts_cv_run_fopen_text
=yes
13843 libopts_cv_run_fopen_text
=no
13845 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13846 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13851 # end of AC_CACHE_VAL for libopts_cv_run_fopen_text
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_fopen_text}" >&5
13853 $as_echo "${libopts_cv_run_fopen_text}" >&6; }
13855 if test "X${libopts_cv_run_fopen_text}" != Xno
13858 $as_echo "#define FOPEN_TEXT_FLAG \"t\"" >>confdefs.h
13862 $as_echo "#define FOPEN_TEXT_FLAG \"\"" >>confdefs.h
13868 # Check to see if not wanting optional option args.
13870 # Check whether --enable-optional-args was given.
13871 if test "${enable_optional_args+set}" = set; then :
13872 enableval
=$enable_optional_args; libopts_cv_enable_optional_args
=${enable_optional_args}
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether not wanting optional option args" >&5
13875 $as_echo_n "checking whether not wanting optional option args... " >&6; }
13876 if test "${libopts_cv_enable_optional_args+set}" = set; then :
13877 $as_echo_n "(cached) " >&6
13879 libopts_cv_enable_optional_args
=yes
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_enable_optional_args" >&5
13882 $as_echo "$libopts_cv_enable_optional_args" >&6; }
13885 # end of AC_ARG_ENABLE
13887 if test "X${libopts_cv_enable_optional_args}" = Xno
13890 $as_echo "#define NO_OPTIONAL_OPT_ARGS 1" >>confdefs.h
13899 if test X
${INVOKE_LIBOPTS_MACROS_FIRST_done} != Xyes
; then
13900 # =================
13902 # =================
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13904 $as_echo_n "checking for ANSI C header files... " >&6; }
13905 if test "${ac_cv_header_stdc+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13909 /* end confdefs.h. */
13910 #include <stdlib.h>
13911 #include <stdarg.h>
13912 #include <string.h>
13923 if ac_fn_c_try_compile
"$LINENO"; then :
13924 ac_cv_header_stdc
=yes
13926 ac_cv_header_stdc
=no
13928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13930 if test $ac_cv_header_stdc = yes; then
13931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13934 #include <string.h>
13937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13938 $EGREP "memchr" >/dev
/null
2>&1; then :
13941 ac_cv_header_stdc
=no
13947 if test $ac_cv_header_stdc = yes; then
13948 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 #include <stdlib.h>
13954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13955 $EGREP "free" >/dev
/null
2>&1; then :
13958 ac_cv_header_stdc
=no
13964 if test $ac_cv_header_stdc = yes; then
13965 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13966 if test "$cross_compiling" = yes; then :
13969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13970 /* end confdefs.h. */
13972 #include <stdlib.h>
13973 #if ((' ' & 0x0FF) == 0x020)
13974 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13975 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13977 # define ISLOWER(c) \
13978 (('a' <= (c) && (c) <= 'i') \
13979 || ('j' <= (c) && (c) <= 'r') \
13980 || ('s' <= (c) && (c) <= 'z'))
13981 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13984 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13989 for (i = 0; i < 256; i++)
13990 if (XOR (islower (i), ISLOWER (i))
13991 || toupper (i) != TOUPPER (i))
13996 if ac_fn_c_try_run
"$LINENO"; then :
13999 ac_cv_header_stdc
=no
14001 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14002 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14008 $as_echo "$ac_cv_header_stdc" >&6; }
14009 if test $ac_cv_header_stdc = yes; then
14011 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14015 # =================
14017 # =================
14018 ac_header_dirent
=no
14019 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
14020 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14022 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14023 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
14024 $as_echo_n "(cached) " >&6
14026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14028 #include <sys/types.h>
14040 if ac_fn_c_try_compile
"$LINENO"; then :
14041 eval "$as_ac_Header=yes"
14043 eval "$as_ac_Header=no"
14045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14047 eval ac_res
=\$
$as_ac_Header
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14049 $as_echo "$ac_res" >&6; }
14050 eval as_val
=\$
$as_ac_Header
14051 if test "x$as_val" = x
""yes; then :
14052 cat >>confdefs.h
<<_ACEOF
14053 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14056 ac_header_dirent
=$ac_hdr; break
14060 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14061 if test $ac_header_dirent = dirent.h
; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14063 $as_echo_n "checking for library containing opendir... " >&6; }
14064 if test "${ac_cv_search_opendir+set}" = set; then :
14065 $as_echo_n "(cached) " >&6
14067 ac_func_search_save_LIBS
=$LIBS
14068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14071 /* Override any GCC internal prototype to avoid an error.
14072 Use char because int might match the return type of a GCC
14073 builtin and then its argument prototype would still apply. */
14086 for ac_lib
in '' dir
; do
14087 if test -z "$ac_lib"; then
14088 ac_res
="none required"
14091 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14093 if ac_fn_c_try_link
"$LINENO"; then :
14094 ac_cv_search_opendir
=$ac_res
14096 rm -f core conftest.err conftest.
$ac_objext \
14098 if test "${ac_cv_search_opendir+set}" = set; then :
14102 if test "${ac_cv_search_opendir+set}" = set; then :
14105 ac_cv_search_opendir
=no
14107 rm conftest.
$ac_ext
14108 LIBS
=$ac_func_search_save_LIBS
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14111 $as_echo "$ac_cv_search_opendir" >&6; }
14112 ac_res
=$ac_cv_search_opendir
14113 if test "$ac_res" != no
; then :
14114 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14120 $as_echo_n "checking for library containing opendir... " >&6; }
14121 if test "${ac_cv_search_opendir+set}" = set; then :
14122 $as_echo_n "(cached) " >&6
14124 ac_func_search_save_LIBS
=$LIBS
14125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14143 for ac_lib
in '' x
; do
14144 if test -z "$ac_lib"; then
14145 ac_res
="none required"
14148 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14150 if ac_fn_c_try_link
"$LINENO"; then :
14151 ac_cv_search_opendir
=$ac_res
14153 rm -f core conftest.err conftest.
$ac_objext \
14155 if test "${ac_cv_search_opendir+set}" = set; then :
14159 if test "${ac_cv_search_opendir+set}" = set; then :
14162 ac_cv_search_opendir
=no
14164 rm conftest.
$ac_ext
14165 LIBS
=$ac_func_search_save_LIBS
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
14168 $as_echo "$ac_cv_search_opendir" >&6; }
14169 ac_res
=$ac_cv_search_opendir
14170 if test "$ac_res" != no
; then :
14171 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14178 # =================
14180 # =================
14181 for ac_header
in dlfcn.h errno.h fcntl.h libgen.h memory.h netinet
/in.h \
14182 setjmp.h sys
/mman.h sys
/param.h sys
/poll.h sys
/procset.h sys
/select.h \
14183 sys
/socket.h sys
/stropts.h sys
/time.h sys
/un.h sys
/wait.h unistd.h \
14186 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14187 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14188 eval as_val
=\$
$as_ac_Header
14189 if test "x$as_val" = x
""yes; then :
14190 cat >>confdefs.h
<<_ACEOF
14191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14199 # --------------------------------------------
14200 # Verify certain entries from AC_CHECK_HEADERS
14201 # --------------------------------------------
14202 for f
in sys_types sys_mman sys_param sys_stat sys_wait \
14203 string errno stdlib memory setjmp
14204 do eval as_ac_var
=\
${ac_cv_header_${f}_h+set}
14205 test "${as_ac_var}" = set || \
14206 as_fn_error
"You must have ${f}.h on your system" "$LINENO" 5
14209 # ================================================
14210 # AC_CHECK_HEADERS: stdarg.h is present define HAVE_STDARG_H, otherwise
14211 # if varargs.h is present define HAVE_VARARGS_H.
14212 # ================================================
14213 for ac_header
in stdarg.h varargs.h
14215 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14216 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14217 eval as_val
=\$
$as_ac_Header
14218 if test "x$as_val" = x
""yes; then :
14219 cat >>confdefs.h
<<_ACEOF
14220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14227 if test `eval echo '${'$as_ac_Header'}'` != yes; then
14228 as_fn_error
"You must have stdarg.h or varargs.h on your system" "$LINENO" 5
14231 # ================================================
14232 # Similarly for the string.h and strings.h headers
14233 # ================================================
14234 for ac_header
in string.h
strings.h
14236 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14237 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14238 eval as_val
=\$
$as_ac_Header
14239 if test "x$as_val" = x
""yes; then :
14240 cat >>confdefs.h
<<_ACEOF
14241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14248 if test `eval echo '${'$as_ac_Header'}'` != yes; then
14249 as_fn_error
"You must have string.h or strings.h on your system" "$LINENO" 5
14252 # =====================
14253 # ...and limits headers
14254 # =====================
14255 for ac_header
in limits.h sys
/limits.h values.h
14257 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14258 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14259 eval as_val
=\$
$as_ac_Header
14260 if test "x$as_val" = x
""yes; then :
14261 cat >>confdefs.h
<<_ACEOF
14262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14269 if test `eval echo '${'$as_ac_Header'}'` != yes; then
14270 as_fn_error
"You must have one of limits.h, sys/limits.h or values.h" "$LINENO" 5
14273 # ========================
14274 # ...and int types headers
14275 # ========================
14276 for ac_header
in stdint.h inttypes.h
14278 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14279 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14280 eval as_val
=\$
$as_ac_Header
14281 if test "x$as_val" = x
""yes; then :
14282 cat >>confdefs.h
<<_ACEOF
14283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14290 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
14291 if test "x$ac_cv_type_int8_t" = x
""yes; then :
14293 cat >>confdefs.h
<<_ACEOF
14294 #define HAVE_INT8_T 1
14299 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
14300 if test "x$ac_cv_type_uint8_t" = x
""yes; then :
14302 cat >>confdefs.h
<<_ACEOF
14303 #define HAVE_UINT8_T 1
14308 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
14309 if test "x$ac_cv_type_int16_t" = x
""yes; then :
14311 cat >>confdefs.h
<<_ACEOF
14312 #define HAVE_INT16_T 1
14317 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
14318 if test "x$ac_cv_type_uint16_t" = x
""yes; then :
14320 cat >>confdefs.h
<<_ACEOF
14321 #define HAVE_UINT16_T 1
14326 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
14327 if test "x$ac_cv_type_int32_t" = x
""yes; then :
14329 cat >>confdefs.h
<<_ACEOF
14330 #define HAVE_INT32_T 1
14335 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
14336 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
14338 cat >>confdefs.h
<<_ACEOF
14339 #define HAVE_UINT32_T 1
14344 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
14345 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
14347 cat >>confdefs.h
<<_ACEOF
14348 #define HAVE_INTPTR_T 1
14353 ac_fn_c_check_type
"$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
14354 if test "x$ac_cv_type_uint_t" = x
""yes; then :
14356 cat >>confdefs.h
<<_ACEOF
14357 #define HAVE_UINT_T 1
14364 # ====================
14365 # uintptr type & sizes
14366 # ====================
14367 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
14368 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
14370 cat >>confdefs.h
<<_ACEOF
14371 #define HAVE_UINTPTR_T 1
14377 $as_echo "#define uintptr_t unsigned long" >>confdefs.h
14381 # The cast to long int works around a bug in the HP C Compiler
14382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14384 # This bug is HP SR number 8606223364.
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char*" >&5
14386 $as_echo_n "checking size of char*... " >&6; }
14387 if test "${ac_cv_sizeof_charp+set}" = set; then :
14388 $as_echo_n "(cached) " >&6
14390 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char*))" "ac_cv_sizeof_charp" "$ac_includes_default"; then :
14393 if test "$ac_cv_type_charp" = yes; then
14394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14396 { as_fn_set_status
77
14397 as_fn_error
"cannot compute sizeof (char*)
14398 See \`config.log' for more details." "$LINENO" 5; }; }
14400 ac_cv_sizeof_charp
=0
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_charp" >&5
14406 $as_echo "$ac_cv_sizeof_charp" >&6; }
14410 cat >>confdefs.h
<<_ACEOF
14411 #define SIZEOF_CHARP $ac_cv_sizeof_charp
14415 # The cast to long int works around a bug in the HP C Compiler
14416 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14417 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14418 # This bug is HP SR number 8606223364.
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
14420 $as_echo_n "checking size of int... " >&6; }
14421 if test "${ac_cv_sizeof_int+set}" = set; then :
14422 $as_echo_n "(cached) " >&6
14424 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
14427 if test "$ac_cv_type_int" = yes; then
14428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14430 { as_fn_set_status
77
14431 as_fn_error
"cannot compute sizeof (int)
14432 See \`config.log' for more details." "$LINENO" 5; }; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
14440 $as_echo "$ac_cv_sizeof_int" >&6; }
14444 cat >>confdefs.h
<<_ACEOF
14445 #define SIZEOF_INT $ac_cv_sizeof_int
14449 # The cast to long int works around a bug in the HP C Compiler
14450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14452 # This bug is HP SR number 8606223364.
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14454 $as_echo_n "checking size of long... " >&6; }
14455 if test "${ac_cv_sizeof_long+set}" = set; then :
14456 $as_echo_n "(cached) " >&6
14458 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14461 if test "$ac_cv_type_long" = yes; then
14462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14464 { as_fn_set_status
77
14465 as_fn_error
"cannot compute sizeof (long)
14466 See \`config.log' for more details." "$LINENO" 5; }; }
14468 ac_cv_sizeof_long
=0
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14474 $as_echo "$ac_cv_sizeof_long" >&6; }
14478 cat >>confdefs.h
<<_ACEOF
14479 #define SIZEOF_LONG $ac_cv_sizeof_long
14483 # The cast to long int works around a bug in the HP C Compiler
14484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14486 # This bug is HP SR number 8606223364.
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
14488 $as_echo_n "checking size of short... " >&6; }
14489 if test "${ac_cv_sizeof_short+set}" = set; then :
14490 $as_echo_n "(cached) " >&6
14492 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
14495 if test "$ac_cv_type_short" = yes; then
14496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14498 { as_fn_set_status
77
14499 as_fn_error
"cannot compute sizeof (short)
14500 See \`config.log' for more details." "$LINENO" 5; }; }
14502 ac_cv_sizeof_short
=0
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
14508 $as_echo "$ac_cv_sizeof_short" >&6; }
14512 cat >>confdefs.h
<<_ACEOF
14513 #define SIZEOF_SHORT $ac_cv_sizeof_short
14518 # ----------------------------------------------------------------------
14519 # AC_CHECK_LIB for SVR4 libgen, and use it if it defines pathfind.
14520 # ----------------------------------------------------------------------
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pathfind in -lgen" >&5
14522 $as_echo_n "checking for pathfind in -lgen... " >&6; }
14523 if test "${ac_cv_lib_gen_pathfind+set}" = set; then :
14524 $as_echo_n "(cached) " >&6
14526 ac_check_lib_save_LIBS
=$LIBS
14528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14541 return pathfind ();
14546 if ac_fn_c_try_link
"$LINENO"; then :
14547 ac_cv_lib_gen_pathfind
=yes
14549 ac_cv_lib_gen_pathfind
=no
14551 rm -f core conftest.err conftest.
$ac_objext \
14552 conftest
$ac_exeext conftest.
$ac_ext
14553 LIBS
=$ac_check_lib_save_LIBS
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_pathfind" >&5
14556 $as_echo "$ac_cv_lib_gen_pathfind" >&6; }
14557 if test "x$ac_cv_lib_gen_pathfind" = x
""yes; then :
14558 cat >>confdefs.h
<<_ACEOF
14559 #define HAVE_LIBGEN 1
14566 for ac_func
in vprintf
14568 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
14569 if test "x$ac_cv_func_vprintf" = x
""yes; then :
14570 cat >>confdefs.h
<<_ACEOF
14571 #define HAVE_VPRINTF 1
14574 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
14575 if test "x$ac_cv_func__doprnt" = x
""yes; then :
14577 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14585 for ac_func
in mmap canonicalize_file_name snprintf strdup strchr strrchr
14587 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14588 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14589 eval as_val
=\$
$as_ac_var
14590 if test "x$as_val" = x
""yes; then :
14591 cat >>confdefs.h
<<_ACEOF
14592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14598 INVOKE_LIBOPTS_MACROS_FIRST_done
=yes
14601 # end of AC_DEFUN of LIBOPTS_CHECK
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC can handle #warning" >&5
14605 $as_echo_n "checking if $CC can handle #warning... " >&6; }
14606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14617 if ac_fn_c_try_compile
"$LINENO"; then :
14618 ac_cv_cpp_warning
=yes
14620 ac_cv_cpp_warning
=no
14622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_warning" >&5
14624 $as_echo "$ac_cv_cpp_warning" >&6; }
14626 case "$ac_cv_cpp_warning" in
14629 $as_echo "#define NO_OPTION_NAME_WARNINGS 1" >>confdefs.h
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enabling NO_OPTION_NAME_WARNINGS as #warning does not work" >&5
14632 $as_echo "Enabling NO_OPTION_NAME_WARNINGS as #warning does not work" >&6; }
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14637 $as_echo_n "checking for inline... " >&6; }
14638 if test "${ac_cv_c_inline+set}" = set; then :
14639 $as_echo_n "(cached) " >&6
14642 for ac_kw
in inline __inline__ __inline
; do
14643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 #ifndef __cplusplus
14647 static $ac_kw foo_t static_foo () {return 0; }
14648 $ac_kw foo_t foo () {return 0; }
14652 if ac_fn_c_try_compile
"$LINENO"; then :
14653 ac_cv_c_inline
=$ac_kw
14655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14656 test "$ac_cv_c_inline" != no
&& break
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14661 $as_echo "$ac_cv_c_inline" >&6; }
14663 case $ac_cv_c_inline in
14666 case $ac_cv_c_inline in
14668 *) ac_val
=$ac_cv_c_inline;;
14670 cat >>confdefs.h
<<_ACEOF
14671 #ifndef __cplusplus
14672 #define inline $ac_val
14679 case "$ac_cv_c_inline" in
14684 $as_echo "#define HAVE_INLINE 1" >>confdefs.h
14690 # Checks for libraries.
14692 # Checks for header files.
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14694 $as_echo_n "checking for ANSI C header files... " >&6; }
14695 if test "${ac_cv_header_stdc+set}" = set; then :
14696 $as_echo_n "(cached) " >&6
14698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14700 #include <stdlib.h>
14701 #include <stdarg.h>
14702 #include <string.h>
14713 if ac_fn_c_try_compile
"$LINENO"; then :
14714 ac_cv_header_stdc
=yes
14716 ac_cv_header_stdc
=no
14718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14720 if test $ac_cv_header_stdc = yes; then
14721 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14724 #include <string.h>
14727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14728 $EGREP "memchr" >/dev
/null
2>&1; then :
14731 ac_cv_header_stdc
=no
14737 if test $ac_cv_header_stdc = yes; then
14738 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14740 /* end confdefs.h. */
14741 #include <stdlib.h>
14744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14745 $EGREP "free" >/dev
/null
2>&1; then :
14748 ac_cv_header_stdc
=no
14754 if test $ac_cv_header_stdc = yes; then
14755 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14756 if test "$cross_compiling" = yes; then :
14759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14762 #include <stdlib.h>
14763 #if ((' ' & 0x0FF) == 0x020)
14764 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14765 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14767 # define ISLOWER(c) \
14768 (('a' <= (c) && (c) <= 'i') \
14769 || ('j' <= (c) && (c) <= 'r') \
14770 || ('s' <= (c) && (c) <= 'z'))
14771 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14774 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14779 for (i = 0; i < 256; i++)
14780 if (XOR (islower (i), ISLOWER (i))
14781 || toupper (i) != TOUPPER (i))
14786 if ac_fn_c_try_run
"$LINENO"; then :
14789 ac_cv_header_stdc
=no
14791 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14792 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14798 $as_echo "$ac_cv_header_stdc" >&6; }
14799 if test $ac_cv_header_stdc = yes; then
14801 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14805 for ac_header
in arpa
/inet.h fcntl.h float.h limits.h netdb.h netinet
/in.h stdlib.h string.h sys
/socket.h sys
/time.h syslog.h unistd.h
14807 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14808 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14809 eval as_val
=\$
$as_ac_Header
14810 if test "x$as_val" = x
""yes; then :
14811 cat >>confdefs.h
<<_ACEOF
14812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14820 # Checks for typedefs, structures, and compiler characteristics.
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14822 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14823 if test "${ac_cv_c_const+set}" = set; then :
14824 $as_echo_n "(cached) " >&6
14826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14832 /* FIXME: Include the comments suggested by Paul. */
14833 #ifndef __cplusplus
14834 /* Ultrix mips cc rejects this. */
14835 typedef int charset[2];
14837 /* SunOS 4.1.1 cc rejects this. */
14838 char const *const *pcpcc;
14840 /* NEC SVR4.0.2 mips cc rejects this. */
14841 struct point {int x, y;};
14842 static struct point const zero = {0,0};
14843 /* AIX XL C 1.02.0.0 rejects this.
14844 It does not let you subtract one const X* pointer from another in
14845 an arm of an if-expression whose if-part is not a constant
14847 const char *g = "string";
14848 pcpcc = &g + (g ? g-g : 0);
14849 /* HPUX 7.0 cc rejects these. */
14851 ppc = (char**) pcpcc;
14852 pcpcc = (char const *const *) ppc;
14853 { /* SCO 3.2v4 cc rejects this. */
14855 char const *s = 0 ? (char *) 0 : (char const *) 0;
14860 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14861 int x[] = {25, 17};
14862 const int *foo = &x[0];
14865 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14866 typedef const int *iptr;
14870 { /* AIX XL C 1.02.0.0 rejects this saying
14871 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14872 struct s { int j; const int *ap[3]; };
14873 struct s *b; b->j = 5;
14875 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14876 const int foo = 10;
14877 if (!foo) return 0;
14879 return !cs[0] && !zero.x;
14886 if ac_fn_c_try_compile
"$LINENO"; then :
14891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14894 $as_echo "$ac_cv_c_const" >&6; }
14895 if test $ac_cv_c_const = no
; then
14897 $as_echo "#define const /**/" >>confdefs.h
14901 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14902 if test "x$ac_cv_type_size_t" = x
""yes; then :
14906 cat >>confdefs.h
<<_ACEOF
14907 #define size_t unsigned int
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14913 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14914 if test "${ac_cv_header_time+set}" = set; then :
14915 $as_echo_n "(cached) " >&6
14917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14919 #include <sys/types.h>
14920 #include <sys/time.h>
14926 if ((struct tm *) 0)
14932 if ac_fn_c_try_compile
"$LINENO"; then :
14933 ac_cv_header_time
=yes
14935 ac_cv_header_time
=no
14937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14940 $as_echo "$ac_cv_header_time" >&6; }
14941 if test $ac_cv_header_time = yes; then
14943 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
14948 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
14949 if test "${ac_cv_struct_tm+set}" = set; then :
14950 $as_echo_n "(cached) " >&6
14952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #include <sys/types.h>
14961 int *p = &tm.tm_sec;
14967 if ac_fn_c_try_compile
"$LINENO"; then :
14968 ac_cv_struct_tm
=time.h
14970 ac_cv_struct_tm
=sys
/time.h
14972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
14975 $as_echo "$ac_cv_struct_tm" >&6; }
14976 if test $ac_cv_struct_tm = sys
/time.h
; then
14978 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ss_family field in struct sockaddr_storage" >&5
14984 $as_echo_n "checking for ss_family field in struct sockaddr_storage... " >&6; }
14985 if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then :
14986 $as_echo_n "(cached) " >&6
14989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14992 #include <sys/types.h>
14993 #include <sys/socket.h>
14998 struct sockaddr_storage s; s.ss_family = 1;
15003 if ac_fn_c_try_compile
"$LINENO"; then :
15004 ac_cv_have_ss_family_in_struct_ss
="yes"
15006 ac_cv_have_ss_family_in_struct_ss
="no"
15008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ss_family_in_struct_ss" >&5
15012 $as_echo "$ac_cv_have_ss_family_in_struct_ss" >&6; }
15013 case "$ac_cv_have_ss_family_in_struct_ss" in
15016 $as_echo "#define HAVE_SS_FAMILY_IN_SS 1" >>confdefs.h
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ss_family field in struct sockaddr_storage" >&5
15022 $as_echo_n "checking for __ss_family field in struct sockaddr_storage... " >&6; }
15023 if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then :
15024 $as_echo_n "(cached) " >&6
15027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15030 #include <sys/types.h>
15031 #include <sys/socket.h>
15036 struct sockaddr_storage s; s.__ss_family = 1;
15041 if ac_fn_c_try_compile
"$LINENO"; then :
15042 ac_cv_have___ss_family_in_struct_ss
="yes"
15044 ac_cv_have___ss_family_in_struct_ss
="no"
15047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___ss_family_in_struct_ss" >&5
15051 $as_echo "$ac_cv_have___ss_family_in_struct_ss" >&6; }
15052 case "$ac_cv_have___ss_family_in_struct_ss" in
15055 $as_echo "#define HAVE___SS_FAMILY_IN_SS 1" >>confdefs.h
15060 case "$ac_cv_have_ss_family_in_struct_ss$ac_cv_have___ss_family_in_struct_ss" in
15063 cat >>confdefs.h
<<_ACEOF
15064 #define ss_family __ss_family
15068 cat >>confdefs.h
<<_ACEOF
15069 #define ss_len __ss_len
15075 # Checks for library functions.
15076 #AC_FUNC_MEMCMP dnl HMS: we don't have a memcmp.c to use here, so why bother?
15077 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
15078 $as_echo_n "(cached) " >&6
15080 ac_cv_func_setvbuf_reversed
=no
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
15085 $as_echo_n "checking return type of signal handlers... " >&6; }
15086 if test "${ac_cv_type_signal+set}" = set; then :
15087 $as_echo_n "(cached) " >&6
15089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15091 #include <sys/types.h>
15092 #include <signal.h>
15097 return *(signal (0, 0)) (0) == 1;
15102 if ac_fn_c_try_compile
"$LINENO"; then :
15103 ac_cv_type_signal
=int
15105 ac_cv_type_signal
=void
15107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
15110 $as_echo "$ac_cv_type_signal" >&6; }
15112 cat >>confdefs.h
<<_ACEOF
15113 #define RETSIGTYPE $ac_cv_type_signal
15117 for ac_func
in alarm
15119 ac_fn_c_check_func
"$LINENO" "alarm" "ac_cv_func_alarm"
15120 if test "x$ac_cv_func_alarm" = x
""yes; then :
15121 cat >>confdefs.h
<<_ACEOF
15122 #define HAVE_ALARM 1
15128 ac_fn_c_check_func
"$LINENO" "gethostent" "ac_cv_func_gethostent"
15129 if test "x$ac_cv_func_gethostent" = x
""yes; then :
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
15133 $as_echo_n "checking for library containing gethostent... " >&6; }
15134 if test "${ac_cv_search_gethostent+set}" = set; then :
15135 $as_echo_n "(cached) " >&6
15137 ac_func_search_save_LIBS
=$LIBS
15138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15147 char gethostent ();
15151 return gethostent ();
15156 for ac_lib
in '' nsl
; do
15157 if test -z "$ac_lib"; then
15158 ac_res
="none required"
15161 LIBS
="-l$ac_lib -lsocket $ac_func_search_save_LIBS"
15163 if ac_fn_c_try_link
"$LINENO"; then :
15164 ac_cv_search_gethostent
=$ac_res
15166 rm -f core conftest.err conftest.
$ac_objext \
15168 if test "${ac_cv_search_gethostent+set}" = set; then :
15172 if test "${ac_cv_search_gethostent+set}" = set; then :
15175 ac_cv_search_gethostent
=no
15177 rm conftest.
$ac_ext
15178 LIBS
=$ac_func_search_save_LIBS
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
15181 $as_echo "$ac_cv_search_gethostent" >&6; }
15182 ac_res
=$ac_cv_search_gethostent
15183 if test "$ac_res" != no
; then :
15184 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15190 for ac_func
in gettimeofday inet_ntoa memset
15192 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15193 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15194 eval as_val
=\$
$as_ac_var
15195 if test "x$as_val" = x
""yes; then :
15196 cat >>confdefs.h
<<_ACEOF
15197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15203 for ac_func
in socket
15205 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
15206 if test "x$ac_cv_func_socket" = x
""yes; then :
15207 cat >>confdefs.h
<<_ACEOF
15208 #define HAVE_SOCKET 1
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
15213 $as_echo_n "checking for library containing socket... " >&6; }
15214 if test "${ac_cv_search_socket+set}" = set; then :
15215 $as_echo_n "(cached) " >&6
15217 ac_func_search_save_LIBS
=$LIBS
15218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15221 /* Override any GCC internal prototype to avoid an error.
15222 Use char because int might match the return type of a GCC
15223 builtin and then its argument prototype would still apply. */
15236 for ac_lib
in '' socket
; do
15237 if test -z "$ac_lib"; then
15238 ac_res
="none required"
15241 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15243 if ac_fn_c_try_link
"$LINENO"; then :
15244 ac_cv_search_socket
=$ac_res
15246 rm -f core conftest.err conftest.
$ac_objext \
15248 if test "${ac_cv_search_socket+set}" = set; then :
15252 if test "${ac_cv_search_socket+set}" = set; then :
15255 ac_cv_search_socket
=no
15257 rm conftest.
$ac_ext
15258 LIBS
=$ac_func_search_save_LIBS
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
15261 $as_echo "$ac_cv_search_socket" >&6; }
15262 ac_res
=$ac_cv_search_socket
15263 if test "$ac_res" != no
; then :
15264 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15271 for ac_func
in sqrt
15273 ac_fn_c_check_func
"$LINENO" "sqrt" "ac_cv_func_sqrt"
15274 if test "x$ac_cv_func_sqrt" = x
""yes; then :
15275 cat >>confdefs.h
<<_ACEOF
15276 #define HAVE_SQRT 1
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
15281 $as_echo_n "checking for library containing sqrt... " >&6; }
15282 if test "${ac_cv_search_sqrt+set}" = set; then :
15283 $as_echo_n "(cached) " >&6
15285 ac_func_search_save_LIBS
=$LIBS
15286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15304 for ac_lib
in '' m
; do
15305 if test -z "$ac_lib"; then
15306 ac_res
="none required"
15309 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15311 if ac_fn_c_try_link
"$LINENO"; then :
15312 ac_cv_search_sqrt
=$ac_res
15314 rm -f core conftest.err conftest.
$ac_objext \
15316 if test "${ac_cv_search_sqrt+set}" = set; then :
15320 if test "${ac_cv_search_sqrt+set}" = set; then :
15323 ac_cv_search_sqrt
=no
15325 rm conftest.
$ac_ext
15326 LIBS
=$ac_func_search_save_LIBS
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
15329 $as_echo "$ac_cv_search_sqrt" >&6; }
15330 ac_res
=$ac_cv_search_sqrt
15331 if test "$ac_res" != no
; then :
15332 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15339 for ac_func
in strrchr
15341 ac_fn_c_check_func
"$LINENO" "strrchr" "ac_cv_func_strrchr"
15342 if test "x$ac_cv_func_strrchr" = x
""yes; then :
15343 cat >>confdefs.h
<<_ACEOF
15344 #define HAVE_STRRCHR 1
15352 *-*-hpux10.
*) # at least for hppa2.0-hp-hpux10.20
15356 *) CFLAGS
="$CFLAGS -Wp,-H18816"
15361 CFLAGS
="$CFLAGS -DADJTIME_MISSING"
15364 CFLAGS
="$CFLAGS -DNONBLOCK_BROKEN"
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bin subdirectory" >&5
15369 $as_echo_n "checking for bin subdirectory... " >&6; }
15371 # Check whether --with-binsubdir was given.
15372 if test "${with_binsubdir+set}" = set; then :
15373 withval
=$with_binsubdir; use_binsubdir
="$withval"
15375 use_binsubdir
="bin"
15379 case "$use_binsubdir" in
15385 as_fn_error
"<$use_binsubdir> is illegal - must be \"bin\" or \"sbin\"" "$LINENO" 5
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_binsubdir" >&5
15389 $as_echo "$use_binsubdir" >&6; }
15390 BINSUBDIR
=$use_binsubdir
15393 ac_config_files
="$ac_config_files Makefile"
15395 cat >confcache
<<\_ACEOF
15396 # This file is a shell script that caches the results of configure
15397 # tests run on this system so they can be shared between configure
15398 # scripts and configure runs, see configure's option --config-cache.
15399 # It is not useful on other systems. If it contains results you don't
15400 # want to keep, you may remove or edit it.
15402 # config.status only pays attention to the cache file if you give it
15403 # the --recheck option to rerun configure.
15405 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15406 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15407 # following values.
15411 # The following way of writing the cache mishandles newlines in values,
15412 # but we know of no workaround that is simple, portable, and efficient.
15413 # So, we kill variables containing newlines.
15414 # Ultrix sh set writes to stderr and can't be redirected directly,
15415 # and sets the high bit in the cache file unless we assign to the vars.
15417 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15418 eval ac_val
=\$
$ac_var
15422 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15423 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15426 _ | IFS | as_nl
) ;; #(
15427 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15428 *) { eval $ac_var=; unset $ac_var;} ;;
15434 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15435 *${as_nl}ac_space
=\
*)
15436 # `set' does not quote correctly, so add quotes: double-quote
15437 # substitution turns \\\\ into \\, and sed turns \\ into \.
15440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15443 # `set' quotes correctly as required by POSIX, so do not add quotes.
15444 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15453 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15455 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15457 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15458 if test -w "$cache_file"; then
15459 test "x$cache_file" != "x/dev/null" &&
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15461 $as_echo "$as_me: updating cache $cache_file" >&6;}
15462 cat confcache
>$cache_file
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15465 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15470 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15471 # Let make expand exec_prefix.
15472 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15474 DEFS
=-DHAVE_CONFIG_H
15478 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15479 # 1. Remove the extension, and $U if already installed.
15480 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15481 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15482 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15483 # will be set to the directory where LIBOBJS objects are built.
15484 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15485 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15487 LIBOBJS
=$ac_libobjs
15489 LTLIBOBJS
=$ac_ltlibobjs
15492 if test -n "$EXEEXT"; then
15494 am__EXEEXT_FALSE
='#'
15496 am__EXEEXT_TRUE
='#'
15500 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15501 as_fn_error
"conditional \"AMDEP\" was never defined.
15502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15504 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15505 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15508 if test -z "${INSTALL_LIBOPTS_TRUE}" && test -z "${INSTALL_LIBOPTS_FALSE}"; then
15509 as_fn_error
"conditional \"INSTALL_LIBOPTS\" was never defined.
15510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15512 if test -z "${NEED_LIBOPTS_TRUE}" && test -z "${NEED_LIBOPTS_FALSE}"; then
15513 as_fn_error
"conditional \"NEED_LIBOPTS\" was never defined.
15514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15517 : ${CONFIG_STATUS=./config.status}
15519 ac_clean_files_save
=$ac_clean_files
15520 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15522 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15524 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15526 # Generated by $as_me.
15527 # Run this file to recreate the current configuration.
15528 # Compiler output produced by configure, useful for debugging
15529 # configure, is in config.log if it exists.
15532 ac_cs_recheck=false
15535 SHELL=\${CONFIG_SHELL-$SHELL}
15538 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15539 ## -------------------- ##
15540 ## M4sh Initialization. ##
15541 ## -------------------- ##
15543 # Be more Bourne compatible
15544 DUALCASE
=1; export DUALCASE
# for MKS sh
15545 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15548 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15549 # is contrary to our usage. Disable this feature.
15550 alias -g '${1+"$@"}'='"$@"'
15551 setopt NO_GLOB_SUBST
15553 case `(set -o) 2>/dev/null` in #(
15565 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15566 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15567 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15568 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15569 # Prefer a ksh shell builtin over an external printf program on Solaris,
15570 # but without wasting forks for bash or zsh.
15571 if test -z "$BASH_VERSION$ZSH_VERSION" \
15572 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15573 as_echo='print
-r --'
15574 as_echo_n='print
-rn --'
15575 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15576 as_echo='printf %s
\n'
15577 as_echo_n='printf %s
'
15579 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15580 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15581 as_echo_n='/usr
/ucb
/echo -n'
15583 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15584 as_echo_n_body='eval
15588 expr "X$arg" : "X\\(.*\\)$as_nl";
15589 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15591 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15593 export as_echo_n_body
15594 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15596 export as_echo_body
15597 as_echo='sh
-c $as_echo_body as_echo
'
15600 # The user is always right.
15601 if test "${PATH_SEPARATOR+set}" != set; then
15603 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15604 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15611 # We need space, tab and new line, in precisely that order. Quoting is
15612 # there to prevent editors from complaining about space-tab.
15613 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15614 # splitting by setting IFS to empty value.)
15617 # Find who we are. Look in the path if we contain no directory separator.
15619 *[\\/]* ) as_myself=$0 ;;
15620 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15621 for as_dir in $PATH
15624 test -z "$as_dir" && as_dir=.
15625 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15631 # We did not find ourselves, most probably we were run as `sh COMMAND'
15632 # in which case we are not to be found in the path.
15633 if test "x$as_myself" = x
; then
15636 if test ! -f "$as_myself"; then
15637 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15641 # Unset variables that we do not need and which cause bugs (e.g. in
15642 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15643 # suppresses any "Segmentation fault" message there. '((' could
15644 # trigger a bug in pdksh 5.2.14.
15645 for as_var
in BASH_ENV ENV MAIL MAILPATH
15646 do eval test x\
${$as_var+set} = xset \
15647 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15660 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15663 # as_fn_error ERROR [LINENO LOG_FD]
15664 # ---------------------------------
15665 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15666 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15667 # script with status $?, using 1 if that was 0.
15670 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15672 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15673 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15675 $as_echo "$as_me: error: $1" >&2
15676 as_fn_exit
$as_status
15680 # as_fn_set_status STATUS
15681 # -----------------------
15682 # Set $? to STATUS, without forking.
15683 as_fn_set_status
()
15686 } # as_fn_set_status
15688 # as_fn_exit STATUS
15689 # -----------------
15690 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15694 as_fn_set_status
$1
15700 # Portably unset VAR.
15703 { eval $1=; unset $1;}
15705 as_unset
=as_fn_unset
15706 # as_fn_append VAR VALUE
15707 # ----------------------
15708 # Append the text in VALUE to the end of the definition contained in VAR. Take
15709 # advantage of any shell optimizations that allow amortized linear growth over
15710 # repeated appends, instead of the typical quadratic growth present in naive
15712 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15713 eval 'as_fn_append ()
15724 # as_fn_arith ARG...
15725 # ------------------
15726 # Perform arithmetic evaluation on the ARGs, and store the result in the
15727 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15728 # must be portable across $(()) and expr.
15729 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15730 eval 'as_fn_arith ()
15737 as_val
=`expr "$@" || test $? -eq 1`
15742 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15743 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15749 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15750 as_basename
=basename
15755 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15761 as_me
=`$as_basename -- "$0" ||
15762 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15763 X"$0" : 'X\(//\)$' \| \
15764 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15766 sed '/^.*\/\([^/][^/]*\)\/*$/{
15780 # Avoid depending upon Character Ranges.
15781 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15782 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15783 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15784 as_cr_digits
='0123456789'
15785 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15787 ECHO_C
= ECHO_N
= ECHO_T
=
15788 case `echo -n x` in #(((((
15790 case `echo 'xy\c'` in
15791 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15793 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15800 rm -f conf$$ conf$$.exe conf$$.
file
15801 if test -d conf$$.dir
; then
15802 rm -f conf$$.dir
/conf$$.
file
15805 mkdir conf$$.dir
2>/dev
/null
15807 if (echo >conf$$.
file) 2>/dev
/null
; then
15808 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15810 # ... but there are two gotchas:
15811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15813 # In both cases, we have to default to `cp -p'.
15814 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15816 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15824 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15825 rmdir conf$$.dir
2>/dev
/null
15830 # Create "$as_dir" as a directory, including parents if necessary.
15835 -*) as_dir
=.
/$as_dir;;
15837 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15841 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15842 *) as_qdir
=$as_dir;;
15844 as_dirs
="'$as_qdir' $as_dirs"
15845 as_dir
=`$as_dirname -- "$as_dir" ||
15846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15847 X"$as_dir" : 'X\(//\)[^/]' \| \
15848 X"$as_dir" : 'X\(//\)$' \| \
15849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15850 $as_echo X"$as_dir" |
15851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15855 /^X\(\/\/\)[^/].*/{
15868 test -d "$as_dir" && break
15870 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15871 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15875 if mkdir
-p .
2>/dev
/null
; then
15876 as_mkdir_p
='mkdir -p "$as_dir"'
15878 test -d .
/-p && rmdir .
/-p
15882 if test -x / >/dev
/null
2>&1; then
15883 as_test_x
='test -x'
15885 if ls -dL / >/dev
/null
2>&1; then
15892 if test -d "$1"; then
15898 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15899 ???[sx]*):;;*)false;;esac;fi
15903 as_executable_p
=$as_test_x
15905 # Sed expression to map a string onto a valid CPP name.
15906 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15908 # Sed expression to map a string onto a valid variable name.
15909 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15913 ## ----------------------------------- ##
15914 ## Main body of $CONFIG_STATUS script. ##
15915 ## ----------------------------------- ##
15917 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15920 # Save the log message, to keep $0 and so on meaningful, and to
15921 # report actual input values of CONFIG_FILES etc. instead of their
15922 # values after options handling.
15924 This file was extended by $as_me, which was
15925 generated by GNU Autoconf 2.65. Invocation command line was
15927 CONFIG_FILES = $CONFIG_FILES
15928 CONFIG_HEADERS = $CONFIG_HEADERS
15929 CONFIG_LINKS = $CONFIG_LINKS
15930 CONFIG_COMMANDS = $CONFIG_COMMANDS
15933 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15938 case $ac_config_files in *"
15939 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15942 case $ac_config_headers in *"
15943 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15948 # Files that config.status was made for.
15949 config_files="$ac_config_files"
15950 config_headers="$ac_config_headers"
15951 config_commands="$ac_config_commands"
15955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15957 \`$as_me' instantiates files and other configuration actions
15958 from templates according to the current configuration. Unless the files
15959 and actions are specified as TAGs, all are instantiated by default.
15961 Usage: $0 [OPTION]... [TAG]...
15963 -h, --help print this help, then exit
15964 -V, --version print version number and configuration settings, then exit
15965 --config print configuration, then exit
15966 -q, --quiet, --silent
15967 do not print progress messages
15968 -d, --debug don't remove temporary files
15969 --recheck update $as_me by reconfiguring in the same conditions
15970 --file=FILE[:TEMPLATE]
15971 instantiate the configuration file FILE
15972 --header=FILE[:TEMPLATE]
15973 instantiate the configuration header FILE
15975 Configuration files:
15978 Configuration headers:
15981 Configuration commands:
15984 Report bugs to the package provider."
15987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15988 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15991 configured by $0, generated by GNU Autoconf 2.65,
15992 with options \\"\$ac_cs_config\\"
15994 Copyright (C) 2009 Free Software Foundation, Inc.
15995 This config.status script is free software; the Free Software Foundation
15996 gives unlimited permission to copy, distribute and modify it."
16003 test -n "\$AWK" || AWK=awk
16006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16007 # The default lists apply if the user does not specify any file.
16013 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16014 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16025 # Handling of the options.
16026 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16028 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16029 $as_echo "$ac_cs_version"; exit ;;
16030 --config |
--confi |
--conf |
--con |
--co |
--c )
16031 $as_echo "$ac_cs_config"; exit ;;
16032 --debug |
--debu |
--deb |
--de |
--d |
-d )
16034 --file |
--fil |
--fi |
--f )
16037 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16039 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16040 ac_need_defaults
=false
;;
16041 --header |
--heade |
--head |
--hea )
16044 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16046 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16047 ac_need_defaults
=false
;;
16049 # Conflict between --help and --header
16050 as_fn_error
"ambiguous option: \`$1'
16051 Try \`$0 --help' for more information.";;
16052 --help |
--hel |
-h )
16053 $as_echo "$ac_cs_usage"; exit ;;
16054 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16055 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16058 # This is an error.
16059 -*) as_fn_error
"unrecognized option: \`$1'
16060 Try \`$0 --help' for more information." ;;
16062 *) as_fn_append ac_config_targets
" $1"
16063 ac_need_defaults
=false
;;
16069 ac_configure_extra_args
=
16071 if $ac_cs_silent; then
16073 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16078 if \$ac_cs_recheck; then
16079 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16081 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16082 CONFIG_SHELL='$SHELL'
16083 export CONFIG_SHELL
16088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16093 ## Running $as_me. ##
16099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16103 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16109 # Handling of arguments.
16110 for ac_config_target
in $ac_config_targets
16112 case $ac_config_target in
16113 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16114 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16115 "libopts/Makefile") CONFIG_FILES
="$CONFIG_FILES libopts/Makefile" ;;
16116 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16118 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16123 # If the user did not use the arguments to specify the items to instantiate,
16124 # then the envvar interface is used. Set only those that are not.
16125 # We use the long form for the default assignment because of an extremely
16126 # bizarre bug on SunOS 4.1.3.
16127 if $ac_need_defaults; then
16128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16129 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16130 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16133 # Have a temporary directory for convenience. Make it in the build tree
16134 # simply because there is no reason against having it here, and in addition,
16135 # creating and moving files from /tmp can sometimes cause problems.
16136 # Hook for its removal unless debugging.
16137 # Note that there is a small window in which the directory will not be cleaned:
16138 # after its creation but before its name has been assigned to `$tmp'.
16142 trap 'exit_status=$?
16143 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16145 trap 'as_fn_exit 1' 1 2 13 15
16147 # Create a (secure) tmp directory for tmp files.
16150 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16151 test -n "$tmp" && test -d "$tmp"
16154 tmp
=.
/conf$$
-$RANDOM
16155 (umask 077 && mkdir
"$tmp")
16156 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16158 # Set up the scripts for CONFIG_FILES section.
16159 # No need to generate them if there are no CONFIG_FILES.
16160 # This happens for instance with `./config.status config.h'.
16161 if test -n "$CONFIG_FILES"; then
16164 ac_cr
=`echo X | tr X '\015'`
16165 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16166 # But we know of no other shell where ac_cr would be empty at this
16167 # point, so we can use a bashism as a fallback.
16168 if test "x$ac_cr" = x
; then
16169 eval ac_cr
=\$
\'\\r
\'
16171 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16172 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16175 ac_cs_awk_cr
=$ac_cr
16178 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16183 echo "cat >conf$$subs.awk <<_ACEOF" &&
16184 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16186 } >conf$$subs.sh ||
16187 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16188 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16190 for ac_last_try in false false false false false :; do
16191 . ./conf$$subs.sh ||
16192 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16194 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16195 if test $ac_delim_n = $ac_delim_num; then
16197 elif $ac_last_try; then
16198 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16200 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16203 rm -f conf$$subs.sh
16205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16206 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16210 s/^/S["/; s
/!.
*/"]=/
16220 s/\(.\{148\}\)..*/\1/
16222 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16227 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16234 s/\(.\{148\}\)..*/\1/
16236 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16240 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16245 ' <conf$$subs.awk | sed '
16250 ' >>$CONFIG_STATUS || ac_write_fail=1
16251 rm -f conf$$subs.awk
16252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16254 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16255 for (key in S) S_is_set[key] = 1
16261 nfields = split(line, field, "@
")
16263 len = length(field[1])
16264 for (i = 2; i < nfields; i++) {
16266 keylen = length(key)
16267 if (S_is_set[key]) {
16269 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16270 len += length(value) + length(field[++i])
16281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16282 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16283 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16286 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16287 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16290 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16291 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16292 # trailing colons and then remove the whole line if VPATH becomes empty
16293 # (actually we leave an empty line to preserve line numbers).
16294 if test "x
$srcdir" = x.; then
16295 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16296 s/:*\$(srcdir):*/:/
16297 s/:*\${srcdir}:*/:/
16299 s/^\([^=]*=[ ]*\):*/\1/
16305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16306 fi # test -n "$CONFIG_FILES"
16308 # Set up the scripts for CONFIG_HEADERS section.
16309 # No need to generate them if there are no CONFIG_HEADERS.
16310 # This happens for instance with `./config.status Makefile'.
16311 if test -n "$CONFIG_HEADERS"; then
16312 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16316 # Transform confdefs.h into an awk script `defines.awk', embedded as
16317 # here-document in config.status, that substitutes the proper values into
16318 # config.h.in to produce config.h.
16320 # Create a delimiter string that does not exist in confdefs.h, to ease
16321 # handling of long lines.
16323 for ac_last_try in false false :; do
16324 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16325 if test -z "$ac_t"; then
16327 elif $ac_last_try; then
16328 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16330 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16334 # For the awk script, D is an array of macro values keyed by name,
16335 # likewise P contains macro parameters if any. Preserve backslash
16336 # newline sequences.
16338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16340 s/.\{148\}/&'"$ac_delim"'/g
16343 s/^[ ]*#[ ]*define[ ][ ]*/ /
16350 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16352 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16357 D["\
1"]=" \
3\\\\\\n
"\\/p
16359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16364 s/.\{148\}/&'"$ac_delim"'/g
16369 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16372 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16374 ' <confdefs.h | sed '
16375 s/'"$ac_delim"'/"\\\
16376 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16379 for (key in D) D_is_set[key] = 1
16382 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16384 split(line, arg, " ")
16385 if (arg[1] == "#") {
16389 defundef
= substr
(arg
[1], 2)
16392 split(mac1
, mac2
, "(") #)
16394 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16395 if (D_is_set
[macro
]) {
16396 # Preserve the white space surrounding the "#".
16397 print prefix
"define", macro P
[macro
] D
[macro
]
16400 # Replace #undef with comments. This is necessary, for example,
16401 # in the case of _POSIX_SOURCE, which is predefined and required
16402 # on some systems where configure will not decide to define it.
16403 if (defundef
== "undef") {
16404 print
"/*", prefix defundef
, macro
, "*/"
16412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16413 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16414 fi # test -n "$CONFIG_HEADERS"
16417 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16422 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16424 case $ac_mode$ac_tag in
16426 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16427 :[FH
]-) ac_tag
=-:-;;
16428 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16445 -) ac_f
="$tmp/stdin";;
16446 *) # Look for the file first in the build tree, then in the source tree
16447 # (if the path is not absolute). The absolute path cannot be DOS-style,
16448 # because $ac_f cannot contain `:'.
16452 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16454 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16456 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16457 as_fn_append ac_file_inputs
" '$ac_f'"
16460 # Let's still pretend it is `configure' which instantiates (i.e., don't
16461 # use $as_me), people would be surprised to read:
16462 # /* config.h. Generated by config.status. */
16463 configure_input
='Generated from '`
16464 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16466 if test x
"$ac_file" != x-
; then
16467 configure_input
="$ac_file. $configure_input"
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16469 $as_echo "$as_me: creating $ac_file" >&6;}
16471 # Neutralize special characters interpreted by sed in replacement strings.
16472 case $configure_input in #(
16473 *\
&* |
*\|
* |
*\\* )
16474 ac_sed_conf_input
=`$as_echo "$configure_input" |
16475 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16476 *) ac_sed_conf_input
=$configure_input;;
16480 *:-:* |
*:-) cat >"$tmp/stdin" \
16481 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16486 ac_dir
=`$as_dirname -- "$ac_file" ||
16487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16488 X"$ac_file" : 'X\(//\)[^/]' \| \
16489 X"$ac_file" : 'X\(//\)$' \| \
16490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16491 $as_echo X"$ac_file" |
16492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16496 /^X\(\/\/\)[^/].*/{
16509 as_dir
="$ac_dir"; as_fn_mkdir_p
16513 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16515 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16516 # A ".." for each directory in $ac_dir_suffix.
16517 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16518 case $ac_top_builddir_sub in
16519 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16520 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16523 ac_abs_top_builddir
=$ac_pwd
16524 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16525 # for backward compatibility:
16526 ac_top_builddir
=$ac_top_build_prefix
16529 .
) # We are building in place.
16531 ac_top_srcdir
=$ac_top_builddir_sub
16532 ac_abs_top_srcdir
=$ac_pwd ;;
16533 [\\/]* | ?
:[\\/]* ) # Absolute name.
16534 ac_srcdir
=$srcdir$ac_dir_suffix;
16535 ac_top_srcdir
=$srcdir
16536 ac_abs_top_srcdir
=$srcdir ;;
16537 *) # Relative name.
16538 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16539 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16540 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16542 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16552 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16553 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16555 ac_MKDIR_P
=$MKDIR_P
16557 [\\/$
]* | ?
:[\\/]* ) ;;
16558 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16563 # If the template does not know about datarootdir, expand it.
16564 # FIXME: This hack should be removed a few years after 2.60.
16565 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16576 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16577 *datarootdir
*) ac_datarootdir_seen
=yes;;
16578 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16580 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16583 ac_datarootdir_hack='
16584 s&@datadir@&$datadir&g
16585 s&@docdir@&$docdir&g
16586 s&@infodir@&$infodir&g
16587 s&@localedir@&$localedir&g
16588 s&@mandir@&$mandir&g
16589 s&\\\${datarootdir}&$datarootdir&g' ;;
16593 # Neutralize VPATH when `$srcdir' = `.'.
16594 # Shell code in configure.ac might set extrasub.
16595 # FIXME: do we really want to maintain this feature?
16596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16597 ac_sed_extra="$ac_vpsub
16600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16602 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16603 s|@configure_input@|
$ac_sed_conf_input|
;t t
16604 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16605 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16606 s
&@srcdir@
&$ac_srcdir&;t t
16607 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16608 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16609 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16610 s
&@builddir@
&$ac_builddir&;t t
16611 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16612 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16613 s
&@INSTALL@
&$ac_INSTALL&;t t
16614 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16615 $ac_datarootdir_hack
16617 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16618 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16620 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16621 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16622 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16624 which seems to be undefined. Please make sure it is defined." >&5
16625 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16626 which seems to be undefined. Please make sure it is defined." >&2;}
16630 -) cat "$tmp/out" && rm -f "$tmp/out";;
16631 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16633 || as_fn_error "could not create $ac_file" "$LINENO" 5
16639 if test x"$ac_file" != x-; then
16641 $as_echo "/* $configure_input */" \
16642 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16643 } >"$tmp/config.h" \
16644 || as_fn_error "could not create $ac_file" "$LINENO" 5
16645 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16647 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16650 mv "$tmp/config.h" "$ac_file" \
16651 || as_fn_error "could not create $ac_file" "$LINENO" 5
16654 $as_echo "/* $configure_input */" \
16655 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16656 || as_fn_error "could not create -" "$LINENO" 5
16658 # Compute "$ac_file"'s index
in $config_headers.
16661 for _am_header
in $config_headers :; do
16662 case $_am_header in
16663 $_am_arg |
$_am_arg:* )
16666 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16669 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16670 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16671 X"$_am_arg" : 'X\(//\)[^/]' \| \
16672 X"$_am_arg" : 'X\(//\)$' \| \
16673 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16674 $as_echo X"$_am_arg" |
16675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16679 /^X\(\/\/\)[^/].*/{
16691 s/.*/./; q'`/stamp-h
$_am_stamp_count
16694 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16695 $as_echo "$as_me: executing $ac_file commands" >&6;}
16700 case $ac_file$ac_mode in
16701 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16702 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16703 # are listed without --file. Let's play safe and only enable the eval
16704 # if we detect the quoting.
16705 case $CONFIG_FILES in
16706 *\'*) eval set x
"$CONFIG_FILES" ;;
16707 *) set x
$CONFIG_FILES ;;
16712 # Strip MF so we end up with the name of the file.
16713 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16714 # Check whether this is an Automake generated Makefile or not.
16715 # We used to match only the files named `Makefile.in', but
16716 # some people rename them; so instead we look at the file content.
16717 # Grep'ing the first line is not enough: some people post-process
16718 # each Makefile.in and add a new line on top of each file to say so.
16719 # Grep'ing the whole file is not good either: AIX grep has a line
16720 # limit of 2048, but all sed's we know have understand at least 4000.
16721 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16722 dirpart
=`$as_dirname -- "$mf" ||
16723 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16724 X"$mf" : 'X\(//\)[^/]' \| \
16725 X"$mf" : 'X\(//\)$' \| \
16726 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16732 /^X\(\/\/\)[^/].*/{
16748 # Extract the definition of DEPDIR, am__include, and am__quote
16749 # from the Makefile without running `make'.
16750 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16751 test -z "$DEPDIR" && continue
16752 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16753 test -z "am__include" && continue
16754 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16755 # When using ansi2knr, U may be empty or an underscore; expand it
16756 U
=`sed -n 's/^U = //p' < "$mf"`
16757 # Find all dependency output files, they are included files with
16758 # $(DEPDIR) in their names. We invoke sed twice because it is the
16759 # simplest approach to changing $(DEPDIR) to its actual value in the
16761 for file in `sed -n "
16762 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16763 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16764 # Make sure the directory exists.
16765 test -f "$dirpart/$file" && continue
16766 fdir
=`$as_dirname -- "$file" ||
16767 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16768 X"$file" : 'X\(//\)[^/]' \| \
16769 X"$file" : 'X\(//\)$' \| \
16770 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16771 $as_echo X"$file" |
16772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16776 /^X\(\/\/\)[^/].*/{
16789 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16790 # echo "creating $dirpart/$file"
16791 echo '# dummy' > "$dirpart/$file"
16803 ac_clean_files
=$ac_clean_files_save
16805 test $ac_write_fail = 0 ||
16806 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16809 # configure is writing to config.log, and then calls config.status.
16810 # config.status does its own redirection, appending to config.log.
16811 # Unfortunately, on DOS this fails, as config.log is still kept open
16812 # by configure, so config.status won't be able to write to it; its
16813 # output is simply discarded. So we exec the FD to /dev/null,
16814 # effectively closing config.log, so it can be properly (re)opened and
16815 # appended to by config.status. When coming back to configure, we
16816 # need to make the FD available again.
16817 if test "$no_create" != yes; then
16819 ac_config_status_args
=
16820 test "$silent" = yes &&
16821 ac_config_status_args
="$ac_config_status_args --quiet"
16823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16826 # would make configure fail if this is the last instruction.
16827 $ac_cs_success || as_fn_exit $?
16829 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16831 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}