2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for the fast lexical analyser generator 2.5.39.
5 # Report bugs to <flex-help@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: flex-help@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='the fast lexical analyser generator'
592 PACKAGE_TARNAME
='flex'
593 PACKAGE_VERSION
='2.5.39'
594 PACKAGE_STRING
='the fast lexical analyser generator 2.5.39'
595 PACKAGE_BUGREPORT
='flex-help@lists.sourceforge.net'
598 ac_unique_file
="scan.l"
599 ac_config_libobj_dir
=lib
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
712 XGETTEXT_EXTRA_OPTIONS
720 GETTEXT_MACRO_VERSION
730 INSTALL_STRIP_PROGRAM
773 program_transform_name
786 enable_option_checking
788 enable_dependency_tracking
800 ac_precious_vars
='build_alias
817 # Initialize some variables set by options.
819 ac_init_version
=false
820 ac_unrecognized_opts
=
822 # The variables have the same names as the options, with
823 # dashes changed to underlines.
831 program_transform_name
=s
,x
,x
,
839 # Installation directory options.
840 # These are left unexpanded so users can "make install exec_prefix=/foo"
841 # and all the variables that are supposed to be based on exec_prefix
842 # by default will actually change.
843 # Use braces instead of parens because sh, perl, etc. also accept them.
844 # (The list follows the same order as the GNU Coding Standards.)
845 bindir
='${exec_prefix}/bin'
846 sbindir
='${exec_prefix}/sbin'
847 libexecdir
='${exec_prefix}/libexec'
848 datarootdir
='${prefix}/share'
849 datadir
='${datarootdir}'
850 sysconfdir
='${prefix}/etc'
851 sharedstatedir
='${prefix}/com'
852 localstatedir
='${prefix}/var'
853 includedir
='${prefix}/include'
854 oldincludedir
='/usr/include'
855 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
856 infodir
='${datarootdir}/info'
861 libdir
='${exec_prefix}/lib'
862 localedir
='${datarootdir}/locale'
863 mandir
='${datarootdir}/man'
869 # If the previous option needs an argument, assign it.
870 if test -n "$ac_prev"; then
871 eval $ac_prev=\
$ac_option
877 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
882 # Accept the important Cygnus configure options, so we can diagnose typos.
884 case $ac_dashdash$ac_option in
888 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
890 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
893 -build |
--build |
--buil |
--bui |
--bu)
894 ac_prev
=build_alias
;;
895 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
896 build_alias
=$ac_optarg ;;
898 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
899 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
900 ac_prev
=cache_file
;;
901 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
902 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
903 cache_file
=$ac_optarg ;;
906 cache_file
=config.cache
;;
908 -datadir |
--datadir |
--datadi |
--datad)
910 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
911 datadir
=$ac_optarg ;;
913 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
914 |
--dataroo |
--dataro |
--datar)
915 ac_prev
=datarootdir
;;
916 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
917 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
918 datarootdir
=$ac_optarg ;;
920 -disable-* |
--disable-*)
921 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
924 as_fn_error $?
"invalid feature name: $ac_useropt"
925 ac_useropt_orig
=$ac_useropt
926 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
932 ac_unrecognized_sep
=', ';;
934 eval enable_
$ac_useropt=no
;;
936 -docdir |
--docdir |
--docdi |
--doc |
--do)
938 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
941 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
943 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
946 -enable-* |
--enable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error $?
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=\
$ac_optarg ;;
962 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
963 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
964 |
--exec |
--exe |
--ex)
965 ac_prev
=exec_prefix
;;
966 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
967 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
968 |
--exec=* |
--exe=* |
--ex=*)
969 exec_prefix
=$ac_optarg ;;
971 -gas |
--gas |
--ga |
--g)
972 # Obsolete; use --with-gas.
975 -help |
--help |
--hel |
--he |
-h)
977 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
978 ac_init_help
=recursive
;;
979 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
980 ac_init_help
=short
;;
982 -host |
--host |
--hos |
--ho)
983 ac_prev
=host_alias
;;
984 -host=* |
--host=* |
--hos=* |
--ho=*)
985 host_alias
=$ac_optarg ;;
987 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
989 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
991 htmldir
=$ac_optarg ;;
993 -includedir |
--includedir |
--includedi |
--included |
--include \
994 |
--includ |
--inclu |
--incl |
--inc)
995 ac_prev
=includedir
;;
996 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
997 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
998 includedir
=$ac_optarg ;;
1000 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1002 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1003 infodir
=$ac_optarg ;;
1005 -libdir |
--libdir |
--libdi |
--libd)
1007 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1008 libdir
=$ac_optarg ;;
1010 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1011 |
--libexe |
--libex |
--libe)
1012 ac_prev
=libexecdir
;;
1013 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1014 |
--libexe=* |
--libex=* |
--libe=*)
1015 libexecdir
=$ac_optarg ;;
1017 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1018 ac_prev
=localedir
;;
1019 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1020 localedir
=$ac_optarg ;;
1022 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1023 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1024 ac_prev
=localstatedir
;;
1025 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1026 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1027 localstatedir
=$ac_optarg ;;
1029 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1031 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1032 mandir
=$ac_optarg ;;
1034 -nfp |
--nfp |
--nf)
1035 # Obsolete; use --without-fp.
1038 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1039 |
--no-cr |
--no-c |
-n)
1042 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1043 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1046 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1047 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1048 |
--oldin |
--oldi |
--old |
--ol |
--o)
1049 ac_prev
=oldincludedir
;;
1050 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1051 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1052 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1053 oldincludedir
=$ac_optarg ;;
1055 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1057 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1058 prefix
=$ac_optarg ;;
1060 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1061 |
--program-pre |
--program-pr |
--program-p)
1062 ac_prev
=program_prefix
;;
1063 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1064 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1065 program_prefix
=$ac_optarg ;;
1067 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1068 |
--program-suf |
--program-su |
--program-s)
1069 ac_prev
=program_suffix
;;
1070 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1071 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1072 program_suffix
=$ac_optarg ;;
1074 -program-transform-name |
--program-transform-name \
1075 |
--program-transform-nam |
--program-transform-na \
1076 |
--program-transform-n |
--program-transform- \
1077 |
--program-transform |
--program-transfor \
1078 |
--program-transfo |
--program-transf \
1079 |
--program-trans |
--program-tran \
1080 |
--progr-tra |
--program-tr |
--program-t)
1081 ac_prev
=program_transform_name
;;
1082 -program-transform-name=* |
--program-transform-name=* \
1083 |
--program-transform-nam=* |
--program-transform-na=* \
1084 |
--program-transform-n=* |
--program-transform-=* \
1085 |
--program-transform=* |
--program-transfor=* \
1086 |
--program-transfo=* |
--program-transf=* \
1087 |
--program-trans=* |
--program-tran=* \
1088 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1089 program_transform_name
=$ac_optarg ;;
1091 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1093 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1094 pdfdir
=$ac_optarg ;;
1096 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1098 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1101 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1102 |
-silent |
--silent |
--silen |
--sile |
--sil)
1105 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1107 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1109 sbindir
=$ac_optarg ;;
1111 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1112 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1113 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1115 ac_prev
=sharedstatedir
;;
1116 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1117 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1118 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1120 sharedstatedir
=$ac_optarg ;;
1122 -site |
--site |
--sit)
1124 -site=* |
--site=* |
--sit=*)
1127 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1129 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1130 srcdir
=$ac_optarg ;;
1132 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1133 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1134 ac_prev
=sysconfdir
;;
1135 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1136 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1137 sysconfdir
=$ac_optarg ;;
1139 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1140 ac_prev
=target_alias
;;
1141 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1142 target_alias
=$ac_optarg ;;
1144 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1147 -version |
--version |
--versio |
--versi |
--vers |
-V)
1148 ac_init_version
=: ;;
1151 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1154 as_fn_error $?
"invalid package name: $ac_useropt"
1155 ac_useropt_orig
=$ac_useropt
1156 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157 case $ac_user_opts in
1161 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1162 ac_unrecognized_sep
=', ';;
1164 eval with_
$ac_useropt=\
$ac_optarg ;;
1166 -without-* |
--without-*)
1167 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1170 as_fn_error $?
"invalid package name: $ac_useropt"
1171 ac_useropt_orig
=$ac_useropt
1172 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1178 ac_unrecognized_sep
=', ';;
1180 eval with_
$ac_useropt=no
;;
1183 # Obsolete; use --with-x.
1186 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1187 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1188 ac_prev
=x_includes
;;
1189 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1190 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1191 x_includes
=$ac_optarg ;;
1193 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1194 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1195 ac_prev
=x_libraries
;;
1196 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1197 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1198 x_libraries
=$ac_optarg ;;
1200 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1201 Try \`$0 --help' for more information"
1205 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1206 # Reject names that are not valid shell variable names.
1207 case $ac_envvar in #(
1208 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1209 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1211 eval $ac_envvar=\
$ac_optarg
1212 export $ac_envvar ;;
1215 # FIXME: should be removed in autoconf 3.0.
1216 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1218 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1219 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1225 if test -n "$ac_prev"; then
1226 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1227 as_fn_error $?
"missing argument to $ac_option"
1230 if test -n "$ac_unrecognized_opts"; then
1231 case $enable_option_checking in
1233 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1234 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1238 # Check all directory arguments for consistency.
1239 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1240 datadir sysconfdir sharedstatedir localstatedir includedir \
1241 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1242 libdir localedir mandir
1244 eval ac_val
=\$
$ac_var
1245 # Remove trailing slashes.
1248 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1249 eval $ac_var=\
$ac_val;;
1251 # Be sure to have absolute directory names.
1253 [\\/$
]* | ?
:[\\/]* ) continue;;
1254 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1256 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1259 # There might be people who depend on the old broken behavior: `$host'
1260 # used to hold the argument of --host etc.
1261 # FIXME: To remove some day.
1264 target
=$target_alias
1266 # FIXME: To remove some day.
1267 if test "x$host_alias" != x
; then
1268 if test "x$build_alias" = x
; then
1269 cross_compiling
=maybe
1270 elif test "x$build_alias" != "x$host_alias"; then
1276 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1278 test "$silent" = yes && exec 6>/dev
/null
1281 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1282 ac_ls_di
=`ls -di .` &&
1283 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1284 as_fn_error $?
"working directory cannot be determined"
1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1286 as_fn_error $?
"pwd does not report name of working directory"
1289 # Find the source files, if location was not specified.
1290 if test -z "$srcdir"; then
1291 ac_srcdir_defaulted
=yes
1292 # Try the directory containing this script, then the parent directory.
1293 ac_confdir
=`$as_dirname -- "$as_myself" ||
1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1295 X"$as_myself" : 'X\(//\)[^/]' \| \
1296 X"$as_myself" : 'X\(//\)$' \| \
1297 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1298 $as_echo X"$as_myself" |
1299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1317 if test ! -r "$srcdir/$ac_unique_file"; then
1321 ac_srcdir_defaulted
=no
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1324 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1325 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1327 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1329 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1331 # When building in place, set srcdir=.
1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
1335 # Remove unnecessary trailing slashes from srcdir.
1336 # Double slashes in file names in object file debugging info
1337 # mess up M-x gdb in Emacs.
1339 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1341 for ac_var
in $ac_precious_vars; do
1342 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1343 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1344 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1345 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1349 # Report the --help message.
1351 if test "$ac_init_help" = "long"; then
1352 # Omit some internal or obsolete options to make the list less imposing.
1353 # This message is too long to be a string in the A/UX 3.1 sh.
1355 \`configure' configures the fast lexical analyser generator 2.5.39 to adapt to many kinds of systems.
1357 Usage: $0 [OPTION]... [VAR=VALUE]...
1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1360 VAR=VALUE. See below for descriptions of some of the useful variables.
1362 Defaults for the options are specified in brackets.
1365 -h, --help display this help and exit
1366 --help=short display options specific to this package
1367 --help=recursive display the short help of all the included packages
1368 -V, --version display version information and exit
1369 -q, --quiet, --silent do not print \`checking ...' messages
1370 --cache-file=FILE cache test results in FILE [disabled]
1371 -C, --config-cache alias for \`--cache-file=config.cache'
1372 -n, --no-create do not create output files
1373 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1375 Installation directories:
1376 --prefix=PREFIX install architecture-independent files in PREFIX
1377 [$ac_default_prefix]
1378 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1381 By default, \`make install' will install all the files in
1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1384 for instance \`--prefix=\$HOME'.
1386 For better control, use the options below.
1388 Fine tuning of the installation directories:
1389 --bindir=DIR user executables [EPREFIX/bin]
1390 --sbindir=DIR system admin executables [EPREFIX/sbin]
1391 --libexecdir=DIR program executables [EPREFIX/libexec]
1392 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1393 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1394 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1395 --libdir=DIR object code libraries [EPREFIX/lib]
1396 --includedir=DIR C header files [PREFIX/include]
1397 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1398 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1399 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1400 --infodir=DIR info documentation [DATAROOTDIR/info]
1401 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1402 --mandir=DIR man documentation [DATAROOTDIR/man]
1403 --docdir=DIR documentation root [DATAROOTDIR/doc/flex]
1404 --htmldir=DIR html documentation [DOCDIR]
1405 --dvidir=DIR dvi documentation [DOCDIR]
1406 --pdfdir=DIR pdf documentation [DOCDIR]
1407 --psdir=DIR ps documentation [DOCDIR]
1413 --program-prefix=PREFIX prepend PREFIX to installed program names
1414 --program-suffix=SUFFIX append SUFFIX to installed program names
1415 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1418 --build=BUILD configure
for building on BUILD
[guessed
]
1419 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1423 if test -n "$ac_init_help"; then
1424 case $ac_init_help in
1425 short | recursive
) echo "Configuration of the fast lexical analyser generator 2.5.39:";;
1430 --disable-option-checking ignore unrecognized
--enable/--with options
1431 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1432 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1433 --disable-nls do not use Native Language Support
1434 --disable-dependency-tracking speeds up one-time build
1435 --enable-dependency-tracking do not reject slow dependency extractors
1436 --disable-rpath do not hardcode runtime library paths
1437 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1438 --enable-static[=PKGS
] build static libraries
[default
=yes]
1439 --enable-fast-install[=PKGS
]
1440 optimize
for fast installation
[default
=yes]
1441 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1444 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1445 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1446 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1447 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1448 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1449 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1450 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1451 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1453 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1454 --with-sysroot=DIR Search
for dependent libraries within DIR
1455 (or the compiler
's sysroot if not specified).
1457 Some influential environment variables:
1458 CC C compiler command
1459 CFLAGS C compiler flags
1460 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1461 nonstandard directory <lib dir>
1462 LIBS libraries to pass to the linker, e.g. -l<library>
1463 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1464 you have headers in a nonstandard directory <include dir>
1466 YACC The `Yet Another Compiler Compiler' implementation to use.
1467 Defaults to the first program found out of
: `bison -y', `byacc
',
1469 YFLAGS The list of arguments that will be passed by default to
$YACC.
1470 This
script will default YFLAGS to the empty string to avoid a
1471 default value of
`-d' given by some make applications.
1472 CXX C++ compiler command
1473 CXXFLAGS C++ compiler flags
1474 CXXCPP C++ preprocessor
1476 Use these variables to override the choices made by `configure
' or to help
1477 it to find libraries and programs with nonstandard names/locations.
1479 Report bugs to <flex-help@lists.sourceforge.net>.
1484 if test "$ac_init_help" = "recursive"; then
1485 # If there are subdirs, report their specific --help.
1486 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1487 test -d "$ac_dir" ||
1488 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.
[\\/]||
'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|
/[^
\\/]*|
/..|g
;s|
/||
'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1509 .) # We are building in place.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1533 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1542 the fast lexical analyser generator configure 2.5.39
1543 generated by GNU Autoconf 2.69
1545 Copyright (C) 2012 Free Software Foundation, Inc.
1546 This configure script is free software; the Free Software Foundation
1547 gives unlimited permission to copy, distribute and modify it.
1552 ## ------------------------ ##
1553 ## Autoconf initialization. ##
1554 ## ------------------------ ##
1556 # ac_fn_c_try_compile LINENO
1557 # --------------------------
1558 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_compile ()
1561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562 rm -f conftest.$ac_objext
1563 if { { ac_try="$ac_compile"
1565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566 *) ac_try_echo=$ac_try;;
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_compile") 2>conftest.err
1572 if test -s conftest.err; then
1573 grep -v '^
*+' conftest.err >conftest.er1
1574 cat conftest.er1 >&5
1575 mv -f conftest.er1 conftest.err
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; } && {
1579 test -z "$ac_c_werror_flag" ||
1580 test ! -s conftest.err
1581 } && test -s conftest.$ac_objext; then :
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's
/^
/|
/' conftest.$ac_ext >&5
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_c_try_compile
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err; then
1610 grep -v '^
*+' conftest.err >conftest.er1
1611 cat conftest.er1 >&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } > conftest.i && {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's
/^
/|
/' conftest.$ac_ext >&5
1626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1627 as_fn_set_status $ac_retval
1631 # ac_fn_c_try_link LINENO
1632 # -----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext conftest$ac_exeext
1638 if { { ac_try="$ac_link"
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>conftest.err
1647 if test -s conftest.err; then
1648 grep -v '^
*+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest$ac_exeext && {
1657 test "$cross_compiling" = yes ||
1658 test -x conftest$ac_exeext
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's
/^
/|
/' conftest.$ac_ext >&5
1667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1669 # interfere with the next link command; also delete a directory that is
1670 # left behind by Apple's compiler. We
do this before executing the actions.
1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status
$ac_retval
1675 } # ac_fn_c_try_link
1677 # ac_fn_c_try_run LINENO
1678 # ----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1680 # that executables *can* be run.
1683 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1684 if { { ac_try
="$ac_link"
1686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1697 *) ac_try_echo
=$ac_try;;
1699 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.
$ac_ext >&5
1711 ac_retval
=$ac_status
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status
$ac_retval
1719 # ac_fn_cxx_try_compile LINENO
1720 # ----------------------------
1721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_cxx_try_compile
()
1724 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1725 rm -f conftest.
$ac_objext
1726 if { { ac_try
="$ac_compile"
1728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_compile") 2>conftest.err
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_cxx_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest.$ac_objext; then :
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1755 } # ac_fn_cxx_try_compile
1757 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1758 # -------------------------------------------------------
1759 # Tests whether HEADER exists and can be compiled using the include files in
1760 # INCLUDES, setting the cache variable VAR accordingly.
1761 ac_fn_c_check_header_compile ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765 $as_echo_n "checking for $2... " >&6; }
1766 if eval \${$3+:} false; then :
1767 $as_echo_n "(cached) " >&6
1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1770 /* end confdefs.h. */
1774 if ac_fn_c_try_compile "$LINENO"; then :
1779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786 } # ac_fn_c_check_header_compile
1788 # ac_fn_c_check_func LINENO FUNC VAR
1789 # ----------------------------------
1790 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1791 ac_fn_c_check_func ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1801 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1803 #define $2 innocuous_$2
1805 /* System header to define __stub macros and hopefully few prototypes,
1806 which can conflict with char $2 (); below.
1807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1808 <limits.h> exists even on freestanding compilers. */
1811 # include <limits.h>
1813 # include <assert.h>
1818 /* Override any GCC internal prototype to avoid an error.
1819 Use char because int might match the return type of a GCC
1820 builtin and then its argument prototype would still apply. */
1825 /* The GNU C library defines this for functions which it implements
1826 to always fail with ENOSYS. Some functions are actually named
1827 something starting with __ and the normal name is an alias. */
1828 #if defined __stub_$2 || defined __stub___$2
1840 if ac_fn_c_try_link "$LINENO"; then :
1845 rm -f core conftest.err conftest.$ac_objext \
1846 conftest$ac_exeext conftest.$ac_ext
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850 $as_echo "$ac_res" >&6; }
1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 } # ac_fn_c_check_func
1855 # ac_fn_cxx_try_cpp LINENO
1856 # ------------------------
1857 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1858 ac_fn_cxx_try_cpp ()
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 if { { ac_try="$ac_cpp conftest.$ac_ext"
1863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1864 *) ac_try_echo
=$ac_try;;
1866 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1870 if test -s conftest.err
; then
1871 grep -v '^ *+' conftest.err
>conftest.er1
1872 cat conftest.er1
>&5
1873 mv -f conftest.er1 conftest.err
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; } > conftest.i
&& {
1877 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1878 test ! -s conftest.err
1882 $as_echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.
$ac_ext >&5
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 as_fn_set_status
$ac_retval
1890 } # ac_fn_cxx_try_cpp
1892 # ac_fn_cxx_try_link LINENO
1893 # -------------------------
1894 # Try to link conftest.$ac_ext, and return whether this succeeded.
1895 ac_fn_cxx_try_link
()
1897 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1898 rm -f conftest.
$ac_objext conftest
$ac_exeext
1899 if { { ac_try
="$ac_link"
1901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1902 *) ac_try_echo=$ac_try;;
1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_link") 2>conftest.err
1908 if test -s conftest.err; then
1909 grep -v '^ *+' conftest.err >conftest.er1
1910 cat conftest.er1 >&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } && {
1915 test -z "$ac_cxx_werror_flag" ||
1916 test ! -s conftest.err
1917 } && test -s conftest$ac_exeext && {
1918 test "$cross_compiling" = yes ||
1919 test -x conftest$ac_exeext
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1928 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1929 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1930 # interfere with the next link command; also delete a directory that is
1931 # left behind by Apple's compiler. We do this before executing the actions.
1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934 as_fn_set_status $ac_retval
1936 } # ac_fn_cxx_try_link
1938 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1939 # -------------------------------------------------------
1940 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1941 # the include files in INCLUDES and setting the cache variable VAR
1943 ac_fn_c_check_header_mongrel ()
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if eval \${$3+:} false; then :
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950 $as_echo_n "(cached) " >&6
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1956 # Is the header compilable?
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1958 $as_echo_n "checking $2 usability... " >&6; }
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1964 if ac_fn_c_try_compile "$LINENO"; then :
1965 ac_header_compiler=yes
1967 ac_header_compiler=no
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1971 $as_echo "$ac_header_compiler" >&6; }
1973 # Is the header present?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1975 $as_echo_n "checking $2 presence... " >&6; }
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1980 if ac_fn_c_try_cpp "$LINENO"; then :
1981 ac_header_preproc=yes
1983 ac_header_preproc=no
1985 rm -f conftest.err conftest.i conftest.$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1987 $as_echo "$ac_header_preproc" >&6; }
1989 # So? What about this header?
1990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1993 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1995 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1999 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2001 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2003 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2005 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2008 ( $as_echo "## ---------------------------------------------- ##
2009 ## Report this to flex-help@lists.sourceforge.net ##
2010 ## ---------------------------------------------- ##"
2011 ) | sed "s/^/$as_me: WARNING: /" >&2
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval \${$3+:} false; then :
2017 $as_echo_n "(cached) " >&6
2019 eval "$3=\$ac_header_compiler"
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 } # ac_fn_c_check_header_mongrel
2029 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2030 # -------------------------------------------
2031 # Tests whether TYPE exists after having included INCLUDES, setting cache
2032 # variable VAR accordingly.
2033 ac_fn_c_check_type ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if eval \${$3+:} false; then :
2039 $as_echo_n "(cached) " >&6
2042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2054 if ac_fn_c_try_compile "$LINENO"; then :
2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056 /* end confdefs.h. */
2067 if ac_fn_c_try_compile "$LINENO"; then :
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2078 $as_echo "$ac_res" >&6; }
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081 } # ac_fn_c_check_type
2082 cat >config.log <<_ACEOF
2083 This file contains any messages produced by compilers while
2084 running configure, to aid debugging if configure makes a mistake.
2086 It was created by the fast lexical analyser generator $as_me 2.5.39, which was
2087 generated by GNU Autoconf 2.69. Invocation command line was
2099 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2100 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2101 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2102 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2103 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2105 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2106 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2108 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2109 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2110 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2111 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2112 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2113 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2114 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 test -z "$as_dir" && as_dir=.
2123 $as_echo "PATH: $as_dir"
2139 # Keep a trace of the command line.
2140 # Strip out --no-create and --no-recursion so they do not pile up.
2141 # Strip out --silent because we don't want to record it for future runs.
2142 # Also quote any args containing shell meta-characters.
2143 # Make two passes to allow for proper duplicate-argument suppression.
2147 ac_must_keep_next=false
2153 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2155 | -silent | --silent | --silen | --sile | --sil)
2158 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2161 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2163 as_fn_append ac_configure_args1 " '$ac_arg'"
2164 if test $ac_must_keep_next = true; then
2165 ac_must_keep_next=false # Got value, back to normal.
2168 *=* | --config-cache | -C | -disable-* | --disable-* \
2169 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2170 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2171 | -with-* | --with-* | -without-* | --without-* | --x)
2172 case "$ac_configure_args0 " in
2173 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2176 -* ) ac_must_keep_next=true ;;
2179 as_fn_append ac_configure_args " '$ac_arg'"
2184 { ac_configure_args0=; unset ac_configure_args0;}
2185 { ac_configure_args1=; unset ac_configure_args1;}
2187 # When interrupted or exit'd, cleanup temporary files, and complete
2188 # config.log. We remove comments because anyway the quotes in there
2189 # would cause problems or look ugly.
2190 # WARNING: Use '\'' to represent an apostrophe within the trap.
2191 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2192 trap 'exit_status=$?
2193 # Save into config.log some information that might help in debugging.
2197 $as_echo "## ---------------- ##
2198 ## Cache variables. ##
2199 ## ---------------- ##"
2201 # The following way of writing the cache mishandles newlines in values,
2203 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2204 eval ac_val=\$$ac_var
2208 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2209 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2212 _ | IFS | as_nl) ;; #(
2213 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2214 *) { eval $ac_var=; unset $ac_var;} ;;
2219 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2220 *${as_nl}ac_space=\ *)
2222 "s/'\''/'\''\\\\'\'''\''/g;
2223 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2226 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2233 $as_echo "## ----------------- ##
2234 ## Output variables. ##
2235 ## ----------------- ##"
2237 for ac_var in $ac_subst_vars
2239 eval ac_val=\$$ac_var
2241 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 $as_echo "$ac_var='\''$ac_val'\''"
2247 if test -n "$ac_subst_files"; then
2248 $as_echo "## ------------------- ##
2249 ## File substitutions. ##
2250 ## ------------------- ##"
2252 for ac_var in $ac_subst_files
2254 eval ac_val=\$$ac_var
2256 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2258 $as_echo "$ac_var='\''$ac_val'\''"
2263 if test -s confdefs.h; then
2264 $as_echo "## ----------- ##
2271 test "$ac_signal" != 0 &&
2272 $as_echo "$as_me: caught signal $ac_signal"
2273 $as_echo "$as_me: exit $exit_status"
2275 rm -f core *.core core.conftest.* &&
2276 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2279 for ac_signal in 1 2 13 15; do
2280 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2284 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2285 rm -f -r conftest* confdefs.h
2287 $as_echo "/* confdefs.h */" > confdefs.h
2289 # Predefined preprocessor variables.
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_NAME "$PACKAGE_NAME"
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_STRING "$PACKAGE_STRING"
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_URL "$PACKAGE_URL"
2316 # Let the site file select an alternate cache file if it wants to.
2317 # Prefer an explicitly selected file to automatically selected ones.
2320 if test -n "$CONFIG_SITE"; then
2321 # We do not want a PATH search for config.site.
2322 case $CONFIG_SITE in #((
2323 -*) ac_site_file1=./$CONFIG_SITE;;
2324 */*) ac_site_file1=$CONFIG_SITE;;
2325 *) ac_site_file1=./$CONFIG_SITE;;
2327 elif test "x$prefix" != xNONE; then
2328 ac_site_file1=$prefix/share/config.site
2329 ac_site_file2=$prefix/etc/config.site
2331 ac_site_file1=$ac_default_prefix/share/config.site
2332 ac_site_file2=$ac_default_prefix/etc/config.site
2334 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2336 test "x$ac_site_file" = xNONE && continue
2337 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2339 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2340 sed 's/^/| /' "$ac_site_file" >&5
2342 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2344 as_fn_error $? "failed to load site
script $ac_site_file
2345 See \
`config.log' for more details" "$LINENO" 5; }
2349 if test -r "$cache_file"; then
2350 # Some versions of bash will fail to source /dev/null (special files
2351 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2352 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2354 $as_echo "$as_me: loading cache $cache_file" >&6;}
2356 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2357 *) . "./$cache_file";;
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2362 $as_echo "$as_me: creating cache $cache_file" >&6;}
2366 gt_needs="$gt_needs "
2367 # Check that the precious variables saved in the cache have kept the same
2369 ac_cache_corrupted=false
2370 for ac_var in $ac_precious_vars; do
2371 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2372 eval ac_new_set=\$ac_env_${ac_var}_set
2373 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2374 eval ac_new_val=\$ac_env_${ac_var}_value
2375 case $ac_old_set,$ac_new_set in
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2378 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379 ac_cache_corrupted=: ;;
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2382 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2383 ac_cache_corrupted=: ;;
2386 if test "x$ac_old_val" != "x$ac_new_val"; then
2387 # differences in whitespace do not lead to failure.
2388 ac_old_val_w=`echo x
$ac_old_val`
2389 ac_new_val_w=`echo x
$ac_new_val`
2390 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2392 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2393 ac_cache_corrupted=:
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2396 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2397 eval $ac_var=\$ac_old_val
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2400 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2402 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2405 # Pass precious variables to config.status.
2406 if test "$ac_new_set" = set; then
2408 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2409 *) ac_arg=$ac_var=$ac_new_val ;;
2411 case " $ac_configure_args " in
2412 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2413 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2417 if $ac_cache_corrupted; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2421 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2424 ## -------------------- ##
2425 ## Main body of script. ##
2426 ## -------------------- ##
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435 SHARED_VERSION_INFO="2:0:0"
2439 am__api_version='1.11'
2442 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2443 if test -f "$ac_dir/install-sh"; then
2445 ac_install_sh="$ac_aux_dir/install-sh -c"
2447 elif test -f "$ac_dir/install.sh"; then
2449 ac_install_sh="$ac_aux_dir/install.sh -c"
2451 elif test -f "$ac_dir/shtool"; then
2453 ac_install_sh="$ac_aux_dir/shtool install -c"
2457 if test -z "$ac_aux_dir"; then
2458 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2461 # These three variables are undocumented and unsupported,
2462 # and are intended to be withdrawn in a future Autoconf release.
2463 # They can cause serious problems if a builder's source tree is in a directory
2464 # whose full name contains unusual characters.
2465 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2466 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2467 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2470 # Find a good install program. We prefer a C program (faster),
2471 # so one script is as good as another. But avoid the broken or
2472 # incompatible versions:
2473 # SysV /etc/install, /usr/sbin/install
2474 # SunOS /usr/etc/install
2475 # IRIX /sbin/install
2477 # AmigaOS /C/install, which installs bootblocks on floppy discs
2478 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2479 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2480 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2481 # OS/2's system install, which has a completely different semantic
2482 # ./install, which can be erroneously created by make from ./install.sh.
2483 # Reject install programs that cannot install multiple files.
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2485 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2486 if test -z "$INSTALL"; then
2487 if ${ac_cv_path_install+:} false; then :
2488 $as_echo_n "(cached) " >&6
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir=.
2495 # Account for people who put trailing slashes in PATH elements.
2496 case $as_dir/ in #((
2497 ./ | .// | /[cC]/* | \
2498 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2499 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2502 # OSF1 and SCO ODT 3.0 have their own names for install.
2503 # Don't use installbsd from OSF since it installs stuff as root
2505 for ac_prog in ginstall scoinst install; do
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2508 if test $ac_prog = install &&
2509 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2510 # AIX install. It has an incompatible calling convention.
2512 elif test $ac_prog = install &&
2513 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2514 # program-specific install script used by HP pwplus--don't use.
2517 rm -rf conftest.one conftest.two conftest.dir
2518 echo one > conftest.one
2519 echo two > conftest.two
2521 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2522 test -s conftest.one && test -s conftest.two &&
2523 test -s conftest.dir/conftest.one &&
2524 test -s conftest.dir/conftest.two
2526 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2539 rm -rf conftest.one conftest.two conftest.dir
2542 if test "${ac_cv_path_install+set}" = set; then
2543 INSTALL=$ac_cv_path_install
2545 # As a last resort, use the slow shell script. Don't cache a
2546 # value for INSTALL within a source directory, because that will
2547 # break other packages using the cache if that directory is
2548 # removed, or if the value is a relative name.
2549 INSTALL=$ac_install_sh
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2553 $as_echo "$INSTALL" >&6; }
2555 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2556 # It thinks the first close brace ends the variable substitution.
2557 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2559 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2561 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2564 $as_echo_n "checking whether build environment is sane... " >&6; }
2567 echo timestamp > conftest.file
2568 # Reject unsafe characters in $srcdir or the absolute working directory
2569 # name. Accept space and tab only in the latter.
2573 *[\\\"\#\$\&\'\`$am_lf]*)
2574 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2577 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2578 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2581 # Do `set' in a subshell so we don't clobber the current shell's
2582 # arguments. Must try -L first in case configure is actually a
2583 # symlink; some systems play weird games with the mod time of symlinks
2584 # (eg FreeBSD returns the mod time of the symlink's containing
2587 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2588 if test "$*" = "X"; then
2590 set X
`ls -t "$srcdir/configure" conftest.file`
2593 if test "$*" != "X $srcdir/configure conftest.file" \
2594 && test "$*" != "X conftest.file $srcdir/configure"; then
2596 # If neither matched, then we have a broken ls. This can happen
2597 # if, for instance, CONFIG_SHELL is bash and it inherits a
2598 # broken ls alias from the environment. This has actually
2599 # happened. Such a system could not be considered "sane".
2600 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2601 alias in your environment" "$LINENO" 5
2604 test "$2" = conftest.
file
2610 as_fn_error $?
"newly created file is older than distributed files!
2611 Check your system clock" "$LINENO" 5
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2614 $as_echo "yes" >&6; }
2615 test "$program_prefix" != NONE
&&
2616 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2617 # Use a double $ so make ignores it.
2618 test "$program_suffix" != NONE
&&
2619 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2620 # Double any \ or $.
2621 # By default was `s,x,x', remove it if useless.
2622 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2623 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2625 # expand $ac_aux_dir to an absolute path
2626 am_aux_dir
=`cd $ac_aux_dir && pwd`
2628 if test x
"${MISSING+set}" != xset
; then
2631 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2633 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2636 # Use eval to expand $SHELL
2637 if eval "$MISSING --run true"; then
2638 am_missing_run
="$MISSING --run "
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2642 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2645 if test x
"${install_sh}" != xset
; then
2648 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2650 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2654 # Installed binaries are usually stripped using `strip' when the user
2655 # run `make install-strip'. However `strip' might not be the right
2656 # tool to use in cross-compilation environments, therefore Automake
2657 # will honor the `STRIP' environment variable to overrule this program.
2658 if test "$cross_compiling" != no
; then
2659 if test -n "$ac_tool_prefix"; then
2660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2661 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663 $as_echo_n "checking for $ac_word... " >&6; }
2664 if ${ac_cv_prog_STRIP+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$STRIP"; then
2668 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2674 test -z "$as_dir" && as_dir
=.
2675 for ac_exec_ext
in '' $ac_executable_extensions; do
2676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2677 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 STRIP
=$ac_cv_prog_STRIP
2688 if test -n "$STRIP"; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2690 $as_echo "$STRIP" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693 $as_echo "no" >&6; }
2698 if test -z "$ac_cv_prog_STRIP"; then
2700 # Extract the first word of "strip", so it can be a program name with args.
2701 set dummy strip
; ac_word
=$2
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703 $as_echo_n "checking for $ac_word... " >&6; }
2704 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2705 $as_echo_n "(cached) " >&6
2707 if test -n "$ac_ct_STRIP"; then
2708 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 for ac_exec_ext
in '' $ac_executable_extensions; do
2716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_ac_ct_STRIP
="strip"
2718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2728 if test -n "$ac_ct_STRIP"; then
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2730 $as_echo "$ac_ct_STRIP" >&6; }
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2733 $as_echo "no" >&6; }
2736 if test "x$ac_ct_STRIP" = x
; then
2739 case $cross_compiling:$ac_tool_warned in
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2743 ac_tool_warned
=yes ;;
2748 STRIP
="$ac_cv_prog_STRIP"
2752 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2755 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2756 if test -z "$MKDIR_P"; then
2757 if ${ac_cv_path_mkdir+:} false
; then :
2758 $as_echo_n "(cached) " >&6
2760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2761 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2764 test -z "$as_dir" && as_dir
=.
2765 for ac_prog
in mkdir gmkdir
; do
2766 for ac_exec_ext
in '' $ac_executable_extensions; do
2767 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2768 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2769 'mkdir (GNU coreutils) '* | \
2770 'mkdir (coreutils) '* | \
2771 'mkdir (fileutils) '4.1*)
2772 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2782 test -d .
/--version && rmdir .
/--version
2783 if test "${ac_cv_path_mkdir+set}" = set; then
2784 MKDIR_P
="$ac_cv_path_mkdir -p"
2786 # As a last resort, use the slow shell script. Don't cache a
2787 # value for MKDIR_P within a source directory, because that will
2788 # break other packages using the cache if that directory is
2789 # removed, or if the value is a relative name.
2790 MKDIR_P
="$ac_install_sh -d"
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2794 $as_echo "$MKDIR_P" >&6; }
2798 [\\/$
]* | ?
:[\\/]*) ;;
2799 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2802 for ac_prog
in gawk mawk nawk
awk
2804 # Extract the first word of "$ac_prog", so it can be a program name with args.
2805 set dummy
$ac_prog; ac_word
=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_AWK+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$AWK"; then
2812 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_AWK
="$ac_prog"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 if test -n "$AWK"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2834 $as_echo "$AWK" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2841 test -n "$AWK" && break
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2845 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2847 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2848 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2849 $as_echo_n "(cached) " >&6
2851 cat >conftest.
make <<\_ACEOF
2854 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2856 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2857 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2859 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2861 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2865 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2867 $as_echo "yes" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2872 SET_MAKE
="MAKE=${MAKE-make}"
2875 rm -rf .tst
2>/dev
/null
2876 mkdir .tst
2>/dev
/null
2877 if test -d .tst
; then
2882 rmdir .tst
2>/dev
/null
2884 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2885 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2886 # is not polluted with repeated "-I."
2887 am__isrc
=' -I$(srcdir)'
2888 # test to see if srcdir already configured
2889 if test -f $srcdir/config.status
; then
2890 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2894 # test whether we have cygpath
2895 if test -z "$CYGPATH_W"; then
2896 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2897 CYGPATH_W
='cygpath -w'
2904 # Define the identity of the package.
2909 cat >>confdefs.h
<<_ACEOF
2910 #define PACKAGE "$PACKAGE"
2914 cat >>confdefs.h
<<_ACEOF
2915 #define VERSION "$VERSION"
2918 # Some tools Automake needs.
2920 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2923 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2926 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2929 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2932 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2934 # We need awk for the "check" target. The system "awk" is bad on
2936 # Always define AMTAR for backward compatibility. Yes, it's still used
2937 # in the wild :-( We should find a proper way to deprecate it ...
2940 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2946 ac_config_headers
="$ac_config_headers config.h:conf.in"
2950 # checks for programs
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2954 $as_echo_n "checking whether NLS is requested... " >&6; }
2955 # Check whether --enable-nls was given.
2956 if test "${enable_nls+set}" = set; then :
2957 enableval
=$enable_nls; USE_NLS
=$enableval
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2963 $as_echo "$USE_NLS" >&6; }
2968 GETTEXT_MACRO_VERSION
=0.18
2973 # Prepare PATH_SEPARATOR.
2974 # The user is always right.
2975 if test "${PATH_SEPARATOR+set}" != set; then
2976 echo "#! /bin/sh" >conf$$.sh
2977 echo "exit 0" >>conf$$.sh
2979 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2987 # Find out how to test for executable files. Don't use a zero-byte file,
2988 # as systems may use methods other than mode bits to determine executability.
2989 cat >conf$$.
file <<_ASEOF
2993 chmod +x conf$$.
file
2994 if test -x conf$$.
file >/dev
/null
2>&1; then
2995 ac_executable_p
="test -x"
2997 ac_executable_p
="test -f"
3001 # Extract the first word of "msgfmt", so it can be a program name with args.
3002 set dummy msgfmt
; ac_word
=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_path_MSGFMT+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3010 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
3013 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3014 for ac_dir
in $PATH; do
3016 test -z "$ac_dir" && ac_dir
=.
3017 for ac_exec_ext
in '' $ac_executable_extensions; do
3018 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3019 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3020 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
3021 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3022 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
3029 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
3033 MSGFMT
="$ac_cv_path_MSGFMT"
3034 if test "$MSGFMT" != ":"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3036 $as_echo "$MSGFMT" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3042 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3043 set dummy gmsgfmt
; ac_word
=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if ${ac_cv_path_GMSGFMT+:} false
; then :
3047 $as_echo_n "(cached) " >&6
3051 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
3073 GMSGFMT
=$ac_cv_path_GMSGFMT
3074 if test -n "$GMSGFMT"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3076 $as_echo "$GMSGFMT" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3084 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3085 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
3086 *) MSGFMT_015
=$MSGFMT ;;
3089 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3090 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
3091 *) GMSGFMT_015
=$GMSGFMT ;;
3096 # Prepare PATH_SEPARATOR.
3097 # The user is always right.
3098 if test "${PATH_SEPARATOR+set}" != set; then
3099 echo "#! /bin/sh" >conf$$.sh
3100 echo "exit 0" >>conf$$.sh
3102 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3110 # Find out how to test for executable files. Don't use a zero-byte file,
3111 # as systems may use methods other than mode bits to determine executability.
3112 cat >conf$$.
file <<_ASEOF
3116 chmod +x conf$$.
file
3117 if test -x conf$$.
file >/dev
/null
2>&1; then
3118 ac_executable_p
="test -x"
3120 ac_executable_p
="test -f"
3124 # Extract the first word of "xgettext", so it can be a program name with args.
3125 set dummy xgettext
; ac_word
=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if ${ac_cv_path_XGETTEXT+:} false
; then :
3129 $as_echo_n "(cached) " >&6
3133 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
3136 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3137 for ac_dir
in $PATH; do
3139 test -z "$ac_dir" && ac_dir
=.
3140 for ac_exec_ext
in '' $ac_executable_extensions; do
3141 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3142 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3143 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
3144 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
3145 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
3152 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
3156 XGETTEXT
="$ac_cv_path_XGETTEXT"
3157 if test "$XGETTEXT" != ":"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3159 $as_echo "$XGETTEXT" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3167 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3168 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
3169 *) XGETTEXT_015
=$XGETTEXT ;;
3174 # Prepare PATH_SEPARATOR.
3175 # The user is always right.
3176 if test "${PATH_SEPARATOR+set}" != set; then
3177 echo "#! /bin/sh" >conf$$.sh
3178 echo "exit 0" >>conf$$.sh
3180 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3188 # Find out how to test for executable files. Don't use a zero-byte file,
3189 # as systems may use methods other than mode bits to determine executability.
3190 cat >conf$$.
file <<_ASEOF
3194 chmod +x conf$$.
file
3195 if test -x conf$$.
file >/dev
/null
2>&1; then
3196 ac_executable_p
="test -x"
3198 ac_executable_p
="test -f"
3202 # Extract the first word of "msgmerge", so it can be a program name with args.
3203 set dummy msgmerge
; ac_word
=$2
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3205 $as_echo_n "checking for $ac_word... " >&6; }
3206 if ${ac_cv_path_MSGMERGE+:} false
; then :
3207 $as_echo_n "(cached) " >&6
3211 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
3214 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
3215 for ac_dir
in $PATH; do
3217 test -z "$ac_dir" && ac_dir
=.
3218 for ac_exec_ext
in '' $ac_executable_extensions; do
3219 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3220 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3221 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
3222 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
3229 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
3233 MSGMERGE
="$ac_cv_path_MSGMERGE"
3234 if test "$MSGMERGE" != ":"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3236 $as_echo "$MSGMERGE" >&6; }
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3243 test -n "$localedir" || localedir
='${datadir}/locale'
3246 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
3249 ac_config_commands
="$ac_config_commands po-directories"
3253 if test "X$prefix" = "XNONE"; then
3254 acl_final_prefix
="$ac_default_prefix"
3256 acl_final_prefix
="$prefix"
3258 if test "X$exec_prefix" = "XNONE"; then
3259 acl_final_exec_prefix
='${prefix}'
3261 acl_final_exec_prefix
="$exec_prefix"
3263 acl_save_prefix
="$prefix"
3264 prefix
="$acl_final_prefix"
3265 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
3266 prefix
="$acl_save_prefix"
3268 DEPDIR
="${am__leading_dot}deps"
3270 ac_config_commands
="$ac_config_commands depfiles"
3273 am_make
=${MAKE-make}
3274 cat > confinc
<< 'END'
3276 @
echo this is the am__doit target
3279 # If we don't find an include directive, just comment out the code.
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3281 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3285 # First try GNU make style include.
3286 echo "include confinc" > confmf
3287 # Ignore all kinds of additional output from `make'.
3288 case `$am_make -s -f confmf 2> /dev/null` in #(
3289 *the\ am__doit\ target
*)
3295 # Now try BSD make style include.
3296 if test "$am__include" = "#"; then
3297 echo '.include "confinc"' > confmf
3298 case `$am_make -s -f confmf 2> /dev/null` in #(
3299 *the\ am__doit\ target
*)
3300 am__include
=.include
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3309 $as_echo "$_am_result" >&6; }
3310 rm -f confinc confmf
3312 # Check whether --enable-dependency-tracking was given.
3313 if test "${enable_dependency_tracking+set}" = set; then :
3314 enableval
=$enable_dependency_tracking;
3317 if test "x$enable_dependency_tracking" != xno
; then
3318 am_depcomp
="$ac_aux_dir/depcomp"
3322 if test "x$enable_dependency_tracking" != xno; then
3332 ac_cpp
='$CPP $CPPFLAGS'
3333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3336 if test -n "$ac_tool_prefix"; then
3337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3338 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340 $as_echo_n "checking for $ac_word... " >&6; }
3341 if ${ac_cv_prog_CC+:} false
; then :
3342 $as_echo_n "(cached) " >&6
3344 if test -n "$CC"; then
3345 ac_cv_prog_CC
="$CC" # Let the user override the test.
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir
=.
3352 for ac_exec_ext
in '' $ac_executable_extensions; do
3353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3354 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3365 if test -n "$CC"; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3367 $as_echo "$CC" >&6; }
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3370 $as_echo "no" >&6; }
3375 if test -z "$ac_cv_prog_CC"; then
3377 # Extract the first word of "gcc", so it can be a program name with args.
3378 set dummy gcc
; ac_word
=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3382 $as_echo_n "(cached) " >&6
3384 if test -n "$ac_ct_CC"; then
3385 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir
=.
3392 for ac_exec_ext
in '' $ac_executable_extensions; do
3393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3394 ac_cv_prog_ac_ct_CC
="gcc"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3405 if test -n "$ac_ct_CC"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3407 $as_echo "$ac_ct_CC" >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3413 if test "x$ac_ct_CC" = x
; then
3416 case $cross_compiling:$ac_tool_warned in
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3420 ac_tool_warned
=yes ;;
3428 if test -z "$CC"; then
3429 if test -n "$ac_tool_prefix"; then
3430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3431 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 $as_echo_n "checking for $ac_word... " >&6; }
3434 if ${ac_cv_prog_CC+:} false
; then :
3435 $as_echo_n "(cached) " >&6
3437 if test -n "$CC"; then
3438 ac_cv_prog_CC
="$CC" # Let the user override the test.
3440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3444 test -z "$as_dir" && as_dir
=.
3445 for ac_exec_ext
in '' $ac_executable_extensions; do
3446 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3447 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3458 if test -n "$CC"; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3460 $as_echo "$CC" >&6; }
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3469 if test -z "$CC"; then
3470 # Extract the first word of "cc", so it can be a program name with args.
3471 set dummy cc
; ac_word
=$2
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3473 $as_echo_n "checking for $ac_word... " >&6; }
3474 if ${ac_cv_prog_CC+:} false
; then :
3475 $as_echo_n "(cached) " >&6
3477 if test -n "$CC"; then
3478 ac_cv_prog_CC
="$CC" # Let the user override the test.
3481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3485 test -z "$as_dir" && as_dir
=.
3486 for ac_exec_ext
in '' $ac_executable_extensions; do
3487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3489 ac_prog_rejected
=yes
3493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 if test $ac_prog_rejected = yes; then
3501 # We found a bogon in the path, so make sure we never use it.
3502 set dummy
$ac_cv_prog_CC
3504 if test $# != 0; then
3505 # We chose a different compiler from the bogus one.
3506 # However, it has the same basename, so the bogon will be chosen
3507 # first if we set CC to just the basename; use the full file name.
3509 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3515 if test -n "$CC"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3525 if test -z "$CC"; then
3526 if test -n "$ac_tool_prefix"; then
3527 for ac_prog
in cl.exe
3529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3530 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if ${ac_cv_prog_CC+:} false
; then :
3534 $as_echo_n "(cached) " >&6
3536 if test -n "$CC"; then
3537 ac_cv_prog_CC
="$CC" # Let the user override the test.
3539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir
=.
3544 for ac_exec_ext
in '' $ac_executable_extensions; do
3545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 if test -n "$CC"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3559 $as_echo "$CC" >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3566 test -n "$CC" && break
3569 if test -z "$CC"; then
3571 for ac_prog
in cl.exe
3573 # Extract the first word of "$ac_prog", so it can be a program name with args.
3574 set dummy
$ac_prog; ac_word
=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$ac_ct_CC"; then
3581 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir
=.
3588 for ac_exec_ext
in '' $ac_executable_extensions; do
3589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3590 ac_cv_prog_ac_ct_CC
="$ac_prog"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3601 if test -n "$ac_ct_CC"; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3603 $as_echo "$ac_ct_CC" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3610 test -n "$ac_ct_CC" && break
3613 if test "x$ac_ct_CC" = x
; then
3616 case $cross_compiling:$ac_tool_warned in
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3620 ac_tool_warned
=yes ;;
3629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $?
"no acceptable C compiler found in \$PATH
3632 See \`config.log' for more details" "$LINENO" 5; }
3634 # Provide some information about the compiler.
3635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3638 for ac_option
in --version -v -V -qversion; do
3639 { { ac_try
="$ac_compiler $ac_option >&5"
3641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3648 if test -s conftest.err; then
3650 ... rest of stderr output deleted ...
3651 10q' conftest.err >conftest.er1
3652 cat conftest.er1 >&5
3654 rm -f conftest.er1 conftest.err
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3670 ac_clean_files_save=$ac_clean_files
3671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3672 # Try to create an executable without -o first, disregard a.out.
3673 # It will help us diagnose broken compilers, and finding out an intuition
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3676 $as_echo_n "checking whether the C compiler works... " >&6; }
3677 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3679 # The possible output files:
3680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3683 for ac_file in $ac_files
3686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3692 if { { ac_try="$ac_link_default"
3694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3695 *) ac_try_echo
=$ac_try;;
3697 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3698 $as_echo "$ac_try_echo"; } >&5
3699 (eval "$ac_link_default") 2>&5
3701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3702 test $ac_status = 0; }; then :
3703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3706 # so that the user can short-circuit this test for compilers unknown to
3708 for ac_file
in $ac_files ''
3710 test -f "$ac_file" ||
continue
3712 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3715 # We found the default executable, but exeext='' is most
3719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3721 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3723 # We set ac_cv_exeext here because the later test for it is not
3724 # safe: cross compilers may not add the suffix if given an `-o'
3725 # argument, so we may need to know it at that point already.
3726 # Even if this section looks crufty: it has the advantage of
3733 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3738 if test -z "$ac_file"; then :
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 $as_echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.
$ac_ext >&5
3744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error
77 "C compiler cannot create executables
3747 See \`config.log' for more details" "$LINENO" 5; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3750 $as_echo "yes" >&6; }
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3753 $as_echo_n "checking for C compiler default output file name... " >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3755 $as_echo "$ac_file" >&6; }
3756 ac_exeext
=$ac_cv_exeext
3758 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3759 ac_clean_files
=$ac_clean_files_save
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3761 $as_echo_n "checking for suffix of executables... " >&6; }
3762 if { { ac_try
="$ac_link"
3764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3765 *) ac_try_echo=$ac_try;;
3767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3768 $as_echo "$ac_try_echo"; } >&5
3769 (eval "$ac_link") 2>&5
3771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3772 test $ac_status = 0; }; then :
3773 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3774 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3775 # work properly (i.e., refer to `conftest.exe'), while it won't with
3777 for ac_file
in conftest.exe conftest conftest.
*; do
3778 test -f "$ac_file" ||
continue
3780 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3781 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3790 See \`config.log' for more details" "$LINENO" 5; }
3792 rm -f conftest conftest
$ac_cv_exeext
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3794 $as_echo "$ac_cv_exeext" >&6; }
3796 rm -f conftest.
$ac_ext
3797 EXEEXT
=$ac_cv_exeext
3799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3800 /* end confdefs.h. */
3805 FILE *f = fopen ("conftest.out", "w");
3806 return ferror (f) || fclose (f) != 0;
3812 ac_clean_files
="$ac_clean_files conftest.out"
3813 # Check that the compiler produces executables we can run. If not, either
3814 # the compiler is broken, or we cross compile.
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3816 $as_echo_n "checking whether we are cross compiling... " >&6; }
3817 if test "$cross_compiling" != yes; then
3818 { { ac_try
="$ac_link"
3820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_link") 2>&5
3827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }
3829 if { ac_try='./conftest$ac_cv_exeext'
3830 { { case "(($ac_try" in
3831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3832 *) ac_try_echo
=$ac_try;;
3834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836 (eval "$ac_try") 2>&5
3838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839 test $ac_status = 0; }; }; then
3842 if test "$cross_compiling" = maybe
; then
3845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error $?
"cannot run C compiled programs.
3848 If you meant to cross compile, use \`--host'.
3849 See \`config.log' for more details" "$LINENO" 5; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3854 $as_echo "$cross_compiling" >&6; }
3856 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3857 ac_clean_files
=$ac_clean_files_save
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3859 $as_echo_n "checking for suffix of object files... " >&6; }
3860 if ${ac_cv_objext+:} false
; then :
3861 $as_echo_n "(cached) " >&6
3863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3874 rm -f conftest.o conftest.obj
3875 if { { ac_try
="$ac_compile"
3877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3878 *) ac_try_echo=$ac_try;;
3880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3881 $as_echo "$ac_try_echo"; } >&5
3882 (eval "$ac_compile") 2>&5
3884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3885 test $ac_status = 0; }; then :
3886 for ac_file in conftest.o conftest.obj conftest.*; do
3887 test -f "$ac_file" || continue;
3889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3890 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3895 $as_echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3900 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3901 See \
`config.log' for more details" "$LINENO" 5; }
3903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3906 $as_echo "$ac_cv_objext" >&6; }
3907 OBJEXT=$ac_cv_objext
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3911 if ${ac_cv_c_compiler_gnu+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3928 if ac_fn_c_try_compile "$LINENO"; then :
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3939 if test $ac_compiler_gnu = yes; then
3944 ac_test_CFLAGS=${CFLAGS+set}
3945 ac_save_CFLAGS=$CFLAGS
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3948 if ${ac_cv_prog_cc_g+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_save_c_werror_flag=$ac_c_werror_flag
3952 ac_c_werror_flag=yes
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"; then :
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_c_werror_flag=$ac_save_c_werror_flag
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h. */
3997 if ac_fn_c_try_compile "$LINENO"; then :
4000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005 ac_c_werror_flag=$ac_save_c_werror_flag
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4008 $as_echo "$ac_cv_prog_cc_g" >&6; }
4009 if test "$ac_test_CFLAGS" = set; then
4010 CFLAGS=$ac_save_CFLAGS
4011 elif test $ac_cv_prog_cc_g = yes; then
4012 if test "$GCC" = yes; then
4018 if test "$GCC" = yes; then
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4026 if ${ac_cv_prog_cc_c89+:} false; then :
4027 $as_echo_n "(cached) " >&6
4029 ac_cv_prog_cc_c89=no
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4037 struct buf { int x; };
4038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4039 static char *e (p, i)
4045 static char *f (char * (*g) (char **, int), char **p, ...)
4050 s = g (p, va_arg (v,int));
4055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4056 function prototypes and stuff, but not '\xHH' hex character constants.
4057 These don't provoke an error unfortunately, instead are silently treated
4058 as 'x'. The following induces an error, until -std is added to get
4059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4060 array size at least. It's necessary to write '\x00'==0 to get something
4061 that's true only with -std. */
4062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4065 inside strings and character constants. */
4067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4069 int test (int i, double x);
4070 struct s1 {int (*f) (int a);};
4071 struct s2 {int (*f) (double a);};
4072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4086 CC="$ac_save_CC $ac_arg"
4087 if ac_fn_c_try_compile "$LINENO"; then :
4088 ac_cv_prog_cc_c89=$ac_arg
4090 rm -f core conftest.err conftest.$ac_objext
4091 test "x$ac_cv_prog_cc_c89" != "xno" && break
4093 rm -f conftest.$ac_ext
4098 case "x$ac_cv_prog_cc_c89" in
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4101 $as_echo "none needed" >&6; } ;;
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4104 $as_echo "unsupported" >&6; } ;;
4106 CC="$CC $ac_cv_prog_cc_c89"
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4110 if test "x$ac_cv_prog_cc_c89" != xno; then :
4115 ac_cpp='$CPP $CPPFLAGS'
4116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120 depcc="$CC" am_compiler_list=
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4123 $as_echo_n "checking dependency style of $depcc... " >&6; }
4124 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4128 # We make a subdir and do the tests there. Otherwise we can end up
4129 # making bogus files that we don't know about and never remove. For
4130 # instance it was reported that on HP-UX the gcc test will end up
4131 # making a dummy file named `D
' -- because `-MD' means
`put the output
4135 # Copy depcomp to subdir because otherwise we won't find it if we're
4136 # using a relative directory.
4137 cp "$am_depcomp" conftest.dir
4139 # We will build objects and dependencies in a subdirectory because
4140 # it helps to detect inapplicable dependency modes. For instance
4141 # both Tru64's cc and ICC support -MD to output dependencies as a
4142 # side effect of compilation, but ICC will put the dependencies in
4143 # the current directory while Tru64 will put them in the object
4147 am_cv_CC_dependencies_compiler_type=none
4148 if test "$am_compiler_list" = ""; then
4149 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4152 case " $depcc " in #(
4153 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4156 for depmode in $am_compiler_list; do
4157 # Setup a source with many dependencies, because some compilers
4158 # like to wrap large dependency lists on column 80 (with \), and
4159 # we should not choose a depcomp mode which is confused by this.
4161 # We need to recreate these files for each test, as the compiler may
4162 # overwrite some of them when testing with obscure command lines.
4163 # This happens at least with the AIX C compiler.
4165 for i in 1 2 3 4 5 6; do
4166 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4167 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4168 # Solaris 8's
{/usr
,}/bin
/sh.
4169 touch sub
/conftst
$i.h
4171 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4173 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4174 # mode. It turns out that the SunPro C++ compiler does not properly
4175 # handle `-M -o', and we need to detect this. Also, some Intel
4176 # versions had trouble with output in subdirs
4177 am__obj
=sub
/conftest.
${OBJEXT-o}
4178 am__minus_obj
="-o $am__obj"
4181 # This depmode causes a compiler race in universal mode.
4182 test "$am__universal" = false ||
continue
4185 # after this tag, mechanisms are not by side-effect, so they'll
4186 # only be used when explicitly requested
4187 if test "x$enable_dependency_tracking" = xyes
; then
4193 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4194 # This compiler won't grok `-c -o', but also, the minuso test has
4195 # not run yet. These depmodes are late enough in the game, and
4196 # so weak that their functioning should not be impacted.
4197 am__obj
=conftest.
${OBJEXT-o}
4202 if depmode
=$depmode \
4203 source=sub
/conftest.c object
=$am__obj \
4204 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4205 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4206 >/dev
/null
2>conftest.err
&&
4207 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4208 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4209 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4210 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4211 # icc doesn't choke on unknown options, it will just issue warnings
4212 # or remarks (even with -Werror). So we grep stderr for any message
4213 # that says an option was ignored or not supported.
4214 # When given -MP, icc 7.0 and 7.1 complain thusly:
4215 # icc: Command line warning: ignoring option '-M'; no argument required
4216 # The diagnosis changed in icc 8.0:
4217 # icc: Command line remark: option '-MP' not supported
4218 if (grep 'ignoring option' conftest.err ||
4219 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4220 am_cv_CC_dependencies_compiler_type
=$depmode
4229 am_cv_CC_dependencies_compiler_type
=none
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4234 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4235 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4238 test "x$enable_dependency_tracking" != xno \
4239 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4241 am__fastdepCC_FALSE
='#'
4243 am__fastdepCC_TRUE
='#'
4244 am__fastdepCC_FALSE
=
4248 # Make sure we can run config.sub.
4249 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4250 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4253 $as_echo_n "checking build system type... " >&6; }
4254 if ${ac_cv_build+:} false
; then :
4255 $as_echo_n "(cached) " >&6
4257 ac_build_alias
=$build_alias
4258 test "x$ac_build_alias" = x
&&
4259 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4260 test "x$ac_build_alias" = x
&&
4261 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4262 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4263 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4267 $as_echo "$ac_cv_build" >&6; }
4268 case $ac_cv_build in
4270 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4273 ac_save_IFS
=$IFS; IFS
='-'
4279 # Remember, the first character of IFS is used to create $*,
4280 # except with old shells:
4283 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4287 $as_echo_n "checking host system type... " >&6; }
4288 if ${ac_cv_host+:} false
; then :
4289 $as_echo_n "(cached) " >&6
4291 if test "x$host_alias" = x
; then
4292 ac_cv_host
=$ac_cv_build
4294 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4295 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4300 $as_echo "$ac_cv_host" >&6; }
4303 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4306 ac_save_IFS
=$IFS; IFS
='-'
4312 # Remember, the first character of IFS is used to create $*,
4313 # except with old shells:
4316 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4320 # Check whether --with-gnu-ld was given.
4321 if test "${with_gnu_ld+set}" = set; then :
4322 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4327 # Prepare PATH_SEPARATOR.
4328 # The user is always right.
4329 if test "${PATH_SEPARATOR+set}" != set; then
4330 echo "#! /bin/sh" >conf$$.sh
4331 echo "exit 0" >>conf$$.sh
4333 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4341 if test "$GCC" = yes; then
4342 # Check if gcc -print-prog-name=ld gives a path.
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4344 $as_echo_n "checking for ld used by GCC... " >&6; }
4347 # gcc leaves a trailing carriage return which upsets mingw
4348 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4350 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4353 # Accept absolute paths.
4354 [\\/]* |
[A-Za-z
]:[\\/]*)
4355 re_direlt
='/[^/][^/]*/\.\./'
4356 # Canonicalize the path of ld
4357 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4358 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4359 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4361 test -z "$LD" && LD
="$ac_prog"
4364 # If it fails, then pretend we aren't using GCC.
4368 # If it is relative, then search for the first ld in PATH.
4372 elif test "$with_gnu_ld" = yes; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4374 $as_echo_n "checking for GNU ld... " >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4377 $as_echo_n "checking for non-GNU ld... " >&6; }
4379 if ${acl_cv_path_LD+:} false
; then :
4380 $as_echo_n "(cached) " >&6
4382 if test -z "$LD"; then
4383 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4384 for ac_dir
in $PATH; do
4385 test -z "$ac_dir" && ac_dir
=.
4386 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4387 acl_cv_path_LD
="$ac_dir/$ac_prog"
4388 # Check to see if the program is GNU ld. I'd rather use --version,
4389 # but apparently some GNU ld's only accept -v.
4390 # Break only if it was the GNU/non-GNU ld that we prefer.
4391 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4392 *GNU
* |
*'with BFD'*)
4393 test "$with_gnu_ld" != no
&& break ;;
4395 test "$with_gnu_ld" != yes && break ;;
4401 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
4405 LD
="$acl_cv_path_LD"
4406 if test -n "$LD"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4408 $as_echo "$LD" >&6; }
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4413 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4415 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4416 if ${acl_cv_prog_gnu_ld+:} false
; then :
4417 $as_echo_n "(cached) " >&6
4419 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4420 case `$LD -v 2>&1 </dev/null` in
4421 *GNU
* |
*'with BFD'*)
4422 acl_cv_prog_gnu_ld
=yes ;;
4424 acl_cv_prog_gnu_ld
=no
;;
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4428 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4429 with_gnu_ld
=$acl_cv_prog_gnu_ld
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4435 $as_echo_n "checking for shared library run path origin... " >&6; }
4436 if ${acl_cv_rpath+:} false
; then :
4437 $as_echo_n "(cached) " >&6
4440 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
4441 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4448 $as_echo "$acl_cv_rpath" >&6; }
4450 acl_libext
="$acl_cv_libext"
4451 acl_shlibext
="$acl_cv_shlibext"
4452 acl_libname_spec
="$acl_cv_libname_spec"
4453 acl_library_names_spec
="$acl_cv_library_names_spec"
4454 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
4455 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
4456 acl_hardcode_direct
="$acl_cv_hardcode_direct"
4457 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
4458 # Check whether --enable-rpath was given.
4459 if test "${enable_rpath+set}" = set; then :
4460 enableval
=$enable_rpath; :
4468 ac_cpp
='$CPP $CPPFLAGS'
4469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4474 # On Suns, sometimes $CPP names a directory.
4475 if test -n "$CPP" && test -d "$CPP"; then
4478 if test -z "$CPP"; then
4479 if ${ac_cv_prog_CPP+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 # Double quotes because CPP needs to be expanded
4483 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4486 for ac_c_preproc_warn_flag
in '' yes
4488 # Use a header file that comes with gcc, so configuring glibc
4489 # with a fresh cross-compiler works.
4490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4491 # <limits.h> exists even on freestanding compilers.
4492 # On the NeXT, cc -E runs the code through the compiler's parser,
4493 # not just through cpp. "Syntax error" is here to catch this case.
4494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4497 # include <limits.h>
4499 # include <assert.h>
4503 if ac_fn_c_try_cpp
"$LINENO"; then :
4506 # Broken: fails on valid input.
4509 rm -f conftest.err conftest.i conftest.
$ac_ext
4511 # OK, works on sane cases. Now check whether nonexistent headers
4512 # can be detected and how.
4513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4515 #include <ac_nonexistent.h>
4517 if ac_fn_c_try_cpp
"$LINENO"; then :
4518 # Broken: success on invalid input.
4521 # Passes both tests.
4525 rm -f conftest.err conftest.i conftest.
$ac_ext
4528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4529 rm -f conftest.i conftest.err conftest.
$ac_ext
4530 if $ac_preproc_ok; then :
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4543 $as_echo "$CPP" >&6; }
4545 for ac_c_preproc_warn_flag
in '' yes
4547 # Use a header file that comes with gcc, so configuring glibc
4548 # with a fresh cross-compiler works.
4549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4550 # <limits.h> exists even on freestanding compilers.
4551 # On the NeXT, cc -E runs the code through the compiler's parser,
4552 # not just through cpp. "Syntax error" is here to catch this case.
4553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4556 # include <limits.h>
4558 # include <assert.h>
4562 if ac_fn_c_try_cpp
"$LINENO"; then :
4565 # Broken: fails on valid input.
4568 rm -f conftest.err conftest.i conftest.
$ac_ext
4570 # OK, works on sane cases. Now check whether nonexistent headers
4571 # can be detected and how.
4572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574 #include <ac_nonexistent.h>
4576 if ac_fn_c_try_cpp
"$LINENO"; then :
4577 # Broken: success on invalid input.
4580 # Passes both tests.
4584 rm -f conftest.err conftest.i conftest.
$ac_ext
4587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4588 rm -f conftest.i conftest.err conftest.
$ac_ext
4589 if $ac_preproc_ok; then :
4592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4594 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4595 See \`config.log' for more details" "$LINENO" 5; }
4599 ac_cpp
='$CPP $CPPFLAGS'
4600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4606 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4607 if ${ac_cv_path_GREP+:} false
; then :
4608 $as_echo_n "(cached) " >&6
4610 if test -z "$GREP"; then
4611 ac_path_GREP_found
=false
4612 # Loop through the user's path and test for each of PROGNAME-LIST
4613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4614 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4617 test -z "$as_dir" && as_dir
=.
4618 for ac_prog
in grep ggrep
; do
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4621 as_fn_executable_p
"$ac_path_GREP" ||
continue
4622 # Check for GNU ac_path_GREP and select it if it is found.
4623 # Check for GNU $ac_path_GREP
4624 case `"$ac_path_GREP" --version 2>&1` in
4626 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4629 $as_echo_n 0123456789 >"conftest.in"
4632 cat "conftest.in" "conftest.in" >"conftest.tmp"
4633 mv "conftest.tmp" "conftest.in"
4634 cp "conftest.in" "conftest.nl"
4635 $as_echo 'GREP' >> "conftest.nl"
4636 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4637 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4638 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4639 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4640 # Best one so far, save it but keep looking for a better one
4641 ac_cv_path_GREP
="$ac_path_GREP"
4642 ac_path_GREP_max
=$ac_count
4644 # 10*(2^10) chars as input seems more than enough
4645 test $ac_count -gt 10 && break
4647 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4650 $ac_path_GREP_found && break 3
4655 if test -z "$ac_cv_path_GREP"; then
4656 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4659 ac_cv_path_GREP
=$GREP
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4664 $as_echo "$ac_cv_path_GREP" >&6; }
4665 GREP
="$ac_cv_path_GREP"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4669 $as_echo_n "checking for egrep... " >&6; }
4670 if ${ac_cv_path_EGREP+:} false
; then :
4671 $as_echo_n "(cached) " >&6
4673 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4674 then ac_cv_path_EGREP
="$GREP -E"
4676 if test -z "$EGREP"; then
4677 ac_path_EGREP_found
=false
4678 # Loop through the user's path and test for each of PROGNAME-LIST
4679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4683 test -z "$as_dir" && as_dir
=.
4684 for ac_prog
in egrep; do
4685 for ac_exec_ext
in '' $ac_executable_extensions; do
4686 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4687 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4688 # Check for GNU ac_path_EGREP and select it if it is found.
4689 # Check for GNU $ac_path_EGREP
4690 case `"$ac_path_EGREP" --version 2>&1` in
4692 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4695 $as_echo_n 0123456789 >"conftest.in"
4698 cat "conftest.in" "conftest.in" >"conftest.tmp"
4699 mv "conftest.tmp" "conftest.in"
4700 cp "conftest.in" "conftest.nl"
4701 $as_echo 'EGREP' >> "conftest.nl"
4702 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4703 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4704 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4705 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4706 # Best one so far, save it but keep looking for a better one
4707 ac_cv_path_EGREP
="$ac_path_EGREP"
4708 ac_path_EGREP_max
=$ac_count
4710 # 10*(2^10) chars as input seems more than enough
4711 test $ac_count -gt 10 && break
4713 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4716 $ac_path_EGREP_found && break 3
4721 if test -z "$ac_cv_path_EGREP"; then
4722 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4725 ac_cv_path_EGREP
=$EGREP
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4731 $as_echo "$ac_cv_path_EGREP" >&6; }
4732 EGREP
="$ac_cv_path_EGREP"
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4742 $as_echo_n "checking for 64-bit host... " >&6; }
4743 if ${gl_cv_solaris_64bit+:} false
; then :
4744 $as_echo_n "(cached) " >&6
4746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4755 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
4756 gl_cv_solaris_64bit
=yes
4758 gl_cv_solaris_64bit
=no
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4765 $as_echo "$gl_cv_solaris_64bit" >&6; }
4766 if test $gl_cv_solaris_64bit = yes; then
4767 acl_libdirstem
=lib
/64
4769 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
4770 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
4775 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4776 if test -n "$searchpath"; then
4777 acl_save_IFS
="${IFS= }"; IFS
=":"
4778 for searchdir
in $searchpath; do
4779 if test -d "$searchdir"; then
4780 case "$searchdir" in
4781 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
4783 # Better ignore directories of this form. They are misleading.
4785 *) searchdir
=`cd "$searchdir" && pwd`
4786 case "$searchdir" in
4787 */lib64
) acl_libdirstem
=lib64
;;
4796 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
4811 acl_save_prefix
="$prefix"
4812 prefix
="$acl_final_prefix"
4813 acl_save_exec_prefix
="$exec_prefix"
4814 exec_prefix
="$acl_final_exec_prefix"
4816 eval additional_includedir
=\"$includedir\"
4817 eval additional_libdir
=\"$libdir\"
4819 exec_prefix
="$acl_save_exec_prefix"
4820 prefix
="$acl_save_prefix"
4823 # Check whether --with-libiconv-prefix was given.
4824 if test "${with_libiconv_prefix+set}" = set; then :
4825 withval
=$with_libiconv_prefix;
4826 if test "X$withval" = "Xno"; then
4829 if test "X$withval" = "X"; then
4831 acl_save_prefix
="$prefix"
4832 prefix
="$acl_final_prefix"
4833 acl_save_exec_prefix
="$exec_prefix"
4834 exec_prefix
="$acl_final_exec_prefix"
4836 eval additional_includedir
=\"$includedir\"
4837 eval additional_libdir
=\"$libdir\"
4839 exec_prefix
="$acl_save_exec_prefix"
4840 prefix
="$acl_save_prefix"
4843 additional_includedir
="$withval/include"
4844 additional_libdir
="$withval/$acl_libdirstem"
4845 if test "$acl_libdirstem2" != "$acl_libdirstem" \
4846 && ! test -d "$withval/$acl_libdirstem"; then
4847 additional_libdir
="$withval/$acl_libdirstem2"
4861 names_already_handled
=
4862 names_next_round
='iconv '
4863 while test -n "$names_next_round"; do
4864 names_this_round
="$names_next_round"
4866 for name
in $names_this_round; do
4868 for n
in $names_already_handled; do
4869 if test "$n" = "$name"; then
4874 if test -z "$already_handled"; then
4875 names_already_handled
="$names_already_handled $name"
4876 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4877 eval value
=\"\
$HAVE_LIB$uppername\"
4878 if test -n "$value"; then
4879 if test "$value" = yes; then
4880 eval value
=\"\
$LIB$uppername\"
4881 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
4882 eval value
=\"\
$LTLIB$uppername\"
4883 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
4892 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
4893 if test -n "$acl_shlibext"; then
4894 shrext
=".$acl_shlibext" # typically: shrext=.so
4898 if test $use_additional = yes; then
4899 dir
="$additional_libdir"
4900 if test -n "$acl_shlibext"; then
4901 if test -f "$dir/$libname$shrext"; then
4903 found_so
="$dir/$libname$shrext"
4905 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4906 ver
=`(cd "$dir" && \
4907 for f in "$libname$shrext".*; do echo "$f"; done \
4908 | sed -e "s,^$libname$shrext\\\\.,," \
4909 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4910 | sed 1q ) 2>/dev/null`
4911 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4913 found_so
="$dir/$libname$shrext.$ver"
4916 eval library_names
=\"$acl_library_names_spec\"
4917 for f
in $library_names; do
4918 if test -f "$dir/$f"; then
4927 if test "X$found_dir" = "X"; then
4928 if test -f "$dir/$libname.$acl_libext"; then
4930 found_a
="$dir/$libname.$acl_libext"
4933 if test "X$found_dir" != "X"; then
4934 if test -f "$dir/$libname.la"; then
4935 found_la
="$dir/$libname.la"
4939 if test "X$found_dir" = "X"; then
4940 for x
in $LDFLAGS $LTLIBICONV; do
4942 acl_save_prefix
="$prefix"
4943 prefix
="$acl_final_prefix"
4944 acl_save_exec_prefix
="$exec_prefix"
4945 exec_prefix
="$acl_final_exec_prefix"
4947 exec_prefix
="$acl_save_exec_prefix"
4948 prefix
="$acl_save_prefix"
4952 dir
=`echo "X$x" | sed -e 's/^X-L//'`
4953 if test -n "$acl_shlibext"; then
4954 if test -f "$dir/$libname$shrext"; then
4956 found_so
="$dir/$libname$shrext"
4958 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4959 ver
=`(cd "$dir" && \
4960 for f in "$libname$shrext".*; do echo "$f"; done \
4961 | sed -e "s,^$libname$shrext\\\\.,," \
4962 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4963 | sed 1q ) 2>/dev/null`
4964 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4966 found_so
="$dir/$libname$shrext.$ver"
4969 eval library_names
=\"$acl_library_names_spec\"
4970 for f
in $library_names; do
4971 if test -f "$dir/$f"; then
4980 if test "X$found_dir" = "X"; then
4981 if test -f "$dir/$libname.$acl_libext"; then
4983 found_a
="$dir/$libname.$acl_libext"
4986 if test "X$found_dir" != "X"; then
4987 if test -f "$dir/$libname.la"; then
4988 found_la
="$dir/$libname.la"
4993 if test "X$found_dir" != "X"; then
4998 if test "X$found_dir" != "X"; then
4999 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5000 if test "X$found_so" != "X"; then
5001 if test "$enable_rpath" = no \
5002 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
5003 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5004 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5007 for x
in $ltrpathdirs; do
5008 if test "X$x" = "X$found_dir"; then
5013 if test -z "$haveit"; then
5014 ltrpathdirs
="$ltrpathdirs $found_dir"
5016 if test "$acl_hardcode_direct" = yes; then
5017 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5019 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
5020 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5022 for x
in $rpathdirs; do
5023 if test "X$x" = "X$found_dir"; then
5028 if test -z "$haveit"; then
5029 rpathdirs
="$rpathdirs $found_dir"
5033 for x
in $LDFLAGS $LIBICONV; do
5035 acl_save_prefix
="$prefix"
5036 prefix
="$acl_final_prefix"
5037 acl_save_exec_prefix
="$exec_prefix"
5038 exec_prefix
="$acl_final_exec_prefix"
5040 exec_prefix
="$acl_save_exec_prefix"
5041 prefix
="$acl_save_prefix"
5043 if test "X$x" = "X-L$found_dir"; then
5048 if test -z "$haveit"; then
5049 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5051 if test "$acl_hardcode_minus_L" != no
; then
5052 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
5054 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5060 if test "X$found_a" != "X"; then
5061 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
5063 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5066 additional_includedir
=
5067 case "$found_dir" in
5068 */$acl_libdirstem |
*/$acl_libdirstem/)
5069 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5070 if test "$name" = 'iconv'; then
5071 LIBICONV_PREFIX
="$basedir"
5073 additional_includedir
="$basedir/include"
5075 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
5076 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5077 if test "$name" = 'iconv'; then
5078 LIBICONV_PREFIX
="$basedir"
5080 additional_includedir
="$basedir/include"
5083 if test "X$additional_includedir" != "X"; then
5084 if test "X$additional_includedir" != "X/usr/include"; then
5086 if test "X$additional_includedir" = "X/usr/local/include"; then
5087 if test -n "$GCC"; then
5089 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5093 if test -z "$haveit"; then
5094 for x
in $CPPFLAGS $INCICONV; do
5096 acl_save_prefix
="$prefix"
5097 prefix
="$acl_final_prefix"
5098 acl_save_exec_prefix
="$exec_prefix"
5099 exec_prefix
="$acl_final_exec_prefix"
5101 exec_prefix
="$acl_save_exec_prefix"
5102 prefix
="$acl_save_prefix"
5104 if test "X$x" = "X-I$additional_includedir"; then
5109 if test -z "$haveit"; then
5110 if test -d "$additional_includedir"; then
5111 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5117 if test -n "$found_la"; then
5118 save_libdir
="$libdir"
5120 */* |
*\\*) .
"$found_la" ;;
5121 *) .
"./$found_la" ;;
5123 libdir
="$save_libdir"
5124 for dep
in $dependency_libs; do
5127 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5128 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5129 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5131 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5132 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5133 if test -n "$GCC"; then
5135 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5139 if test -z "$haveit"; then
5141 for x
in $LDFLAGS $LIBICONV; do
5143 acl_save_prefix
="$prefix"
5144 prefix
="$acl_final_prefix"
5145 acl_save_exec_prefix
="$exec_prefix"
5146 exec_prefix
="$acl_final_exec_prefix"
5148 exec_prefix
="$acl_save_exec_prefix"
5149 prefix
="$acl_save_prefix"
5151 if test "X$x" = "X-L$additional_libdir"; then
5156 if test -z "$haveit"; then
5157 if test -d "$additional_libdir"; then
5158 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5162 for x
in $LDFLAGS $LTLIBICONV; do
5164 acl_save_prefix
="$prefix"
5165 prefix
="$acl_final_prefix"
5166 acl_save_exec_prefix
="$exec_prefix"
5167 exec_prefix
="$acl_final_exec_prefix"
5169 exec_prefix
="$acl_save_exec_prefix"
5170 prefix
="$acl_save_prefix"
5172 if test "X$x" = "X-L$additional_libdir"; then
5177 if test -z "$haveit"; then
5178 if test -d "$additional_libdir"; then
5179 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5186 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
5187 if test "$enable_rpath" != no
; then
5189 for x
in $rpathdirs; do
5190 if test "X$x" = "X$dir"; then
5195 if test -z "$haveit"; then
5196 rpathdirs
="$rpathdirs $dir"
5199 for x
in $ltrpathdirs; do
5200 if test "X$x" = "X$dir"; then
5205 if test -z "$haveit"; then
5206 ltrpathdirs
="$ltrpathdirs $dir"
5211 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5214 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5217 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
5218 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5224 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
5225 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5231 if test "X$rpathdirs" != "X"; then
5232 if test -n "$acl_hardcode_libdir_separator"; then
5234 for found_dir
in $rpathdirs; do
5235 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5237 acl_save_libdir
="$libdir"
5239 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
5240 libdir
="$acl_save_libdir"
5241 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5243 for found_dir
in $rpathdirs; do
5244 acl_save_libdir
="$libdir"
5246 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
5247 libdir
="$acl_save_libdir"
5248 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
5252 if test "X$ltrpathdirs" != "X"; then
5253 for found_dir
in $ltrpathdirs; do
5254 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5289 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5290 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 gt_save_LIBS
="$LIBS"
5294 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
5295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5297 #include <CoreFoundation/CFPreferences.h>
5301 CFPreferencesCopyAppValue(NULL, NULL)
5306 if ac_fn_c_try_link
"$LINENO"; then :
5307 gt_cv_func_CFPreferencesCopyAppValue
=yes
5309 gt_cv_func_CFPreferencesCopyAppValue
=no
5311 rm -f core conftest.err conftest.
$ac_objext \
5312 conftest
$ac_exeext conftest.
$ac_ext
5313 LIBS
="$gt_save_LIBS"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5316 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5317 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5319 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5323 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5324 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
5325 $as_echo_n "(cached) " >&6
5327 gt_save_LIBS
="$LIBS"
5328 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5331 #include <CoreFoundation/CFLocale.h>
5335 CFLocaleCopyCurrent();
5340 if ac_fn_c_try_link
"$LINENO"; then :
5341 gt_cv_func_CFLocaleCopyCurrent
=yes
5343 gt_cv_func_CFLocaleCopyCurrent
=no
5345 rm -f core conftest.err conftest.
$ac_objext \
5346 conftest
$ac_exeext conftest.
$ac_ext
5347 LIBS
="$gt_save_LIBS"
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5350 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5351 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5353 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5357 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5358 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
5370 case " $gt_needs " in
5371 *" need-formatstring-macros "*) gt_api_version
=3 ;;
5372 *" need-ngettext "*) gt_api_version
=2 ;;
5373 *) gt_api_version
=1 ;;
5375 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
5376 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
5378 if test "$USE_NLS" = "yes"; then
5379 gt_use_preinstalled_gnugettext
=no
5382 if test $gt_api_version -ge 3; then
5383 gt_revision_test_code
='
5384 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5385 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5387 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5390 gt_revision_test_code
=
5392 if test $gt_api_version -ge 2; then
5393 gt_expression_test_code
=' + * ngettext ("", "", 0)'
5395 gt_expression_test_code
=
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5399 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5400 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
5401 $as_echo_n "(cached) " >&6
5403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5405 #include <libintl.h>
5406 $gt_revision_test_code
5407 extern int _nl_msg_cat_cntr;
5408 extern int *_nl_domain_bindings;
5412 bindtextdomain ("", "");
5413 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5418 if ac_fn_c_try_link
"$LINENO"; then :
5419 eval "$gt_func_gnugettext_libc=yes"
5421 eval "$gt_func_gnugettext_libc=no"
5423 rm -f core conftest.err conftest.
$ac_objext \
5424 conftest
$ac_exeext conftest.
$ac_ext
5426 eval ac_res
=\$
$gt_func_gnugettext_libc
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5428 $as_echo "$ac_res" >&6; }
5430 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5436 am_save_CPPFLAGS
="$CPPFLAGS"
5438 for element
in $INCICONV; do
5440 for x
in $CPPFLAGS; do
5442 acl_save_prefix
="$prefix"
5443 prefix
="$acl_final_prefix"
5444 acl_save_exec_prefix
="$exec_prefix"
5445 exec_prefix
="$acl_final_exec_prefix"
5447 exec_prefix
="$acl_save_exec_prefix"
5448 prefix
="$acl_save_prefix"
5450 if test "X$x" = "X$element"; then
5455 if test -z "$haveit"; then
5456 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5462 $as_echo_n "checking for iconv... " >&6; }
5463 if ${am_cv_func_iconv+:} false
; then :
5464 $as_echo_n "(cached) " >&6
5467 am_cv_func_iconv
="no, consider installing GNU libiconv"
5469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5476 iconv_t cd = iconv_open("","");
5477 iconv(cd,NULL,NULL,NULL,NULL);
5483 if ac_fn_c_try_link
"$LINENO"; then :
5484 am_cv_func_iconv
=yes
5486 rm -f core conftest.err conftest.
$ac_objext \
5487 conftest
$ac_exeext conftest.
$ac_ext
5488 if test "$am_cv_func_iconv" != yes; then
5489 am_save_LIBS
="$LIBS"
5490 LIBS
="$LIBS $LIBICONV"
5491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5498 iconv_t cd = iconv_open("","");
5499 iconv(cd,NULL,NULL,NULL,NULL);
5505 if ac_fn_c_try_link
"$LINENO"; then :
5507 am_cv_func_iconv
=yes
5509 rm -f core conftest.err conftest.
$ac_objext \
5510 conftest
$ac_exeext conftest.
$ac_ext
5511 LIBS
="$am_save_LIBS"
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5516 $as_echo "$am_cv_func_iconv" >&6; }
5517 if test "$am_cv_func_iconv" = yes; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5519 $as_echo_n "checking for working iconv... " >&6; }
5520 if ${am_cv_func_iconv_works+:} false
; then :
5521 $as_echo_n "(cached) " >&6
5524 am_save_LIBS
="$LIBS"
5525 if test $am_cv_lib_iconv = yes; then
5526 LIBS
="$LIBS $LIBICONV"
5528 if test "$cross_compiling" = yes; then :
5530 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
5531 *) am_cv_func_iconv_works
="guessing yes" ;;
5534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5535 /* end confdefs.h. */
5541 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5544 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5545 if (cd_utf8_to_88591 != (iconv_t)(-1))
5547 static const char input[] = "\342\202\254"; /* EURO SIGN */
5549 const char *inptr = input;
5550 size_t inbytesleft = strlen (input);
5552 size_t outbytesleft = sizeof (buf);
5553 size_t res = iconv (cd_utf8_to_88591,
5554 (char **) &inptr, &inbytesleft,
5555 &outptr, &outbytesleft);
5560 /* Test against Solaris 10 bug: Failures are not distinguishable from
5561 successful returns. */
5563 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5564 if (cd_ascii_to_88591 != (iconv_t)(-1))
5566 static const char input[] = "\263";
5568 const char *inptr = input;
5569 size_t inbytesleft = strlen (input);
5571 size_t outbytesleft = sizeof (buf);
5572 size_t res = iconv (cd_ascii_to_88591,
5573 (char **) &inptr, &inbytesleft,
5574 &outptr, &outbytesleft);
5579 #if 0 /* This bug could be worked around by the caller. */
5580 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
5582 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5583 if (cd_88591_to_utf8 != (iconv_t)(-1))
5585 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5587 const char *inptr = input;
5588 size_t inbytesleft = strlen (input);
5590 size_t outbytesleft = sizeof (buf);
5591 size_t res = iconv (cd_88591_to_utf8,
5592 (char **) &inptr, &inbytesleft,
5593 &outptr, &outbytesleft);
5599 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5601 if (/* Try standardized names. */
5602 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5603 /* Try IRIX, OSF/1 names. */
5604 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5605 /* Try AIX names. */
5606 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5607 /* Try HP-UX names. */
5608 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5613 if ac_fn_c_try_run
"$LINENO"; then :
5614 am_cv_func_iconv_works
=yes
5616 am_cv_func_iconv_works
=no
5618 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5619 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5622 LIBS
="$am_save_LIBS"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5626 $as_echo "$am_cv_func_iconv_works" >&6; }
5627 case "$am_cv_func_iconv_works" in
5628 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
5629 *) am_func_iconv
=yes ;;
5632 am_func_iconv
=no am_cv_lib_iconv
=no
5634 if test "$am_func_iconv" = yes; then
5636 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5639 if test "$am_cv_lib_iconv" = yes; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5641 $as_echo_n "checking how to link with libiconv... " >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5643 $as_echo "$LIBICONV" >&6; }
5645 CPPFLAGS
="$am_save_CPPFLAGS"
5662 acl_save_prefix
="$prefix"
5663 prefix
="$acl_final_prefix"
5664 acl_save_exec_prefix
="$exec_prefix"
5665 exec_prefix
="$acl_final_exec_prefix"
5667 eval additional_includedir
=\"$includedir\"
5668 eval additional_libdir
=\"$libdir\"
5670 exec_prefix
="$acl_save_exec_prefix"
5671 prefix
="$acl_save_prefix"
5674 # Check whether --with-libintl-prefix was given.
5675 if test "${with_libintl_prefix+set}" = set; then :
5676 withval
=$with_libintl_prefix;
5677 if test "X$withval" = "Xno"; then
5680 if test "X$withval" = "X"; then
5682 acl_save_prefix
="$prefix"
5683 prefix
="$acl_final_prefix"
5684 acl_save_exec_prefix
="$exec_prefix"
5685 exec_prefix
="$acl_final_exec_prefix"
5687 eval additional_includedir
=\"$includedir\"
5688 eval additional_libdir
=\"$libdir\"
5690 exec_prefix
="$acl_save_exec_prefix"
5691 prefix
="$acl_save_prefix"
5694 additional_includedir
="$withval/include"
5695 additional_libdir
="$withval/$acl_libdirstem"
5696 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5697 && ! test -d "$withval/$acl_libdirstem"; then
5698 additional_libdir
="$withval/$acl_libdirstem2"
5712 names_already_handled
=
5713 names_next_round
='intl '
5714 while test -n "$names_next_round"; do
5715 names_this_round
="$names_next_round"
5717 for name
in $names_this_round; do
5719 for n
in $names_already_handled; do
5720 if test "$n" = "$name"; then
5725 if test -z "$already_handled"; then
5726 names_already_handled
="$names_already_handled $name"
5727 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5728 eval value
=\"\
$HAVE_LIB$uppername\"
5729 if test -n "$value"; then
5730 if test "$value" = yes; then
5731 eval value
=\"\
$LIB$uppername\"
5732 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
5733 eval value
=\"\
$LTLIB$uppername\"
5734 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
5743 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
5744 if test -n "$acl_shlibext"; then
5745 shrext
=".$acl_shlibext" # typically: shrext=.so
5749 if test $use_additional = yes; then
5750 dir
="$additional_libdir"
5751 if test -n "$acl_shlibext"; then
5752 if test -f "$dir/$libname$shrext"; then
5754 found_so
="$dir/$libname$shrext"
5756 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5757 ver
=`(cd "$dir" && \
5758 for f in "$libname$shrext".*; do echo "$f"; done \
5759 | sed -e "s,^$libname$shrext\\\\.,," \
5760 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5761 | sed 1q ) 2>/dev/null`
5762 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5764 found_so
="$dir/$libname$shrext.$ver"
5767 eval library_names
=\"$acl_library_names_spec\"
5768 for f
in $library_names; do
5769 if test -f "$dir/$f"; then
5778 if test "X$found_dir" = "X"; then
5779 if test -f "$dir/$libname.$acl_libext"; then
5781 found_a
="$dir/$libname.$acl_libext"
5784 if test "X$found_dir" != "X"; then
5785 if test -f "$dir/$libname.la"; then
5786 found_la
="$dir/$libname.la"
5790 if test "X$found_dir" = "X"; then
5791 for x
in $LDFLAGS $LTLIBINTL; do
5793 acl_save_prefix
="$prefix"
5794 prefix
="$acl_final_prefix"
5795 acl_save_exec_prefix
="$exec_prefix"
5796 exec_prefix
="$acl_final_exec_prefix"
5798 exec_prefix
="$acl_save_exec_prefix"
5799 prefix
="$acl_save_prefix"
5803 dir
=`echo "X$x" | sed -e 's/^X-L//'`
5804 if test -n "$acl_shlibext"; then
5805 if test -f "$dir/$libname$shrext"; then
5807 found_so
="$dir/$libname$shrext"
5809 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5810 ver
=`(cd "$dir" && \
5811 for f in "$libname$shrext".*; do echo "$f"; done \
5812 | sed -e "s,^$libname$shrext\\\\.,," \
5813 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5814 | sed 1q ) 2>/dev/null`
5815 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5817 found_so
="$dir/$libname$shrext.$ver"
5820 eval library_names
=\"$acl_library_names_spec\"
5821 for f
in $library_names; do
5822 if test -f "$dir/$f"; then
5831 if test "X$found_dir" = "X"; then
5832 if test -f "$dir/$libname.$acl_libext"; then
5834 found_a
="$dir/$libname.$acl_libext"
5837 if test "X$found_dir" != "X"; then
5838 if test -f "$dir/$libname.la"; then
5839 found_la
="$dir/$libname.la"
5844 if test "X$found_dir" != "X"; then
5849 if test "X$found_dir" != "X"; then
5850 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5851 if test "X$found_so" != "X"; then
5852 if test "$enable_rpath" = no \
5853 ||
test "X$found_dir" = "X/usr/$acl_libdirstem" \
5854 ||
test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5855 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5858 for x
in $ltrpathdirs; do
5859 if test "X$x" = "X$found_dir"; then
5864 if test -z "$haveit"; then
5865 ltrpathdirs
="$ltrpathdirs $found_dir"
5867 if test "$acl_hardcode_direct" = yes; then
5868 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5870 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
5871 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5873 for x
in $rpathdirs; do
5874 if test "X$x" = "X$found_dir"; then
5879 if test -z "$haveit"; then
5880 rpathdirs
="$rpathdirs $found_dir"
5884 for x
in $LDFLAGS $LIBINTL; do
5886 acl_save_prefix
="$prefix"
5887 prefix
="$acl_final_prefix"
5888 acl_save_exec_prefix
="$exec_prefix"
5889 exec_prefix
="$acl_final_exec_prefix"
5891 exec_prefix
="$acl_save_exec_prefix"
5892 prefix
="$acl_save_prefix"
5894 if test "X$x" = "X-L$found_dir"; then
5899 if test -z "$haveit"; then
5900 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5902 if test "$acl_hardcode_minus_L" != no
; then
5903 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
5905 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
5911 if test "X$found_a" != "X"; then
5912 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
5914 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5917 additional_includedir
=
5918 case "$found_dir" in
5919 */$acl_libdirstem |
*/$acl_libdirstem/)
5920 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5921 if test "$name" = 'intl'; then
5922 LIBINTL_PREFIX
="$basedir"
5924 additional_includedir
="$basedir/include"
5926 */$acl_libdirstem2 |
*/$acl_libdirstem2/)
5927 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5928 if test "$name" = 'intl'; then
5929 LIBINTL_PREFIX
="$basedir"
5931 additional_includedir
="$basedir/include"
5934 if test "X$additional_includedir" != "X"; then
5935 if test "X$additional_includedir" != "X/usr/include"; then
5937 if test "X$additional_includedir" = "X/usr/local/include"; then
5938 if test -n "$GCC"; then
5940 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5944 if test -z "$haveit"; then
5945 for x
in $CPPFLAGS $INCINTL; do
5947 acl_save_prefix
="$prefix"
5948 prefix
="$acl_final_prefix"
5949 acl_save_exec_prefix
="$exec_prefix"
5950 exec_prefix
="$acl_final_exec_prefix"
5952 exec_prefix
="$acl_save_exec_prefix"
5953 prefix
="$acl_save_prefix"
5955 if test "X$x" = "X-I$additional_includedir"; then
5960 if test -z "$haveit"; then
5961 if test -d "$additional_includedir"; then
5962 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5968 if test -n "$found_la"; then
5969 save_libdir
="$libdir"
5971 */* |
*\\*) .
"$found_la" ;;
5972 *) .
"./$found_la" ;;
5974 libdir
="$save_libdir"
5975 for dep
in $dependency_libs; do
5978 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
5979 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5980 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5982 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5983 ||
test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5984 if test -n "$GCC"; then
5986 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
5990 if test -z "$haveit"; then
5992 for x
in $LDFLAGS $LIBINTL; do
5994 acl_save_prefix
="$prefix"
5995 prefix
="$acl_final_prefix"
5996 acl_save_exec_prefix
="$exec_prefix"
5997 exec_prefix
="$acl_final_exec_prefix"
5999 exec_prefix
="$acl_save_exec_prefix"
6000 prefix
="$acl_save_prefix"
6002 if test "X$x" = "X-L$additional_libdir"; then
6007 if test -z "$haveit"; then
6008 if test -d "$additional_libdir"; then
6009 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6013 for x
in $LDFLAGS $LTLIBINTL; do
6015 acl_save_prefix
="$prefix"
6016 prefix
="$acl_final_prefix"
6017 acl_save_exec_prefix
="$exec_prefix"
6018 exec_prefix
="$acl_final_exec_prefix"
6020 exec_prefix
="$acl_save_exec_prefix"
6021 prefix
="$acl_save_prefix"
6023 if test "X$x" = "X-L$additional_libdir"; then
6028 if test -z "$haveit"; then
6029 if test -d "$additional_libdir"; then
6030 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6037 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6038 if test "$enable_rpath" != no
; then
6040 for x
in $rpathdirs; do
6041 if test "X$x" = "X$dir"; then
6046 if test -z "$haveit"; then
6047 rpathdirs
="$rpathdirs $dir"
6050 for x
in $ltrpathdirs; do
6051 if test "X$x" = "X$dir"; then
6056 if test -z "$haveit"; then
6057 ltrpathdirs
="$ltrpathdirs $dir"
6062 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6065 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6068 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
6069 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6075 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
6076 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6082 if test "X$rpathdirs" != "X"; then
6083 if test -n "$acl_hardcode_libdir_separator"; then
6085 for found_dir
in $rpathdirs; do
6086 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
6088 acl_save_libdir
="$libdir"
6090 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6091 libdir
="$acl_save_libdir"
6092 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6094 for found_dir
in $rpathdirs; do
6095 acl_save_libdir
="$libdir"
6097 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
6098 libdir
="$acl_save_libdir"
6099 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
6103 if test "X$ltrpathdirs" != "X"; then
6104 for found_dir
in $ltrpathdirs; do
6105 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6115 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6116 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
6117 $as_echo_n "(cached) " >&6
6119 gt_save_CPPFLAGS
="$CPPFLAGS"
6120 CPPFLAGS
="$CPPFLAGS $INCINTL"
6121 gt_save_LIBS
="$LIBS"
6122 LIBS
="$LIBS $LIBINTL"
6123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6125 #include <libintl.h>
6126 $gt_revision_test_code
6127 extern int _nl_msg_cat_cntr;
6132 const char *_nl_expand_alias (const char *);
6136 bindtextdomain ("", "");
6137 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6142 if ac_fn_c_try_link
"$LINENO"; then :
6143 eval "$gt_func_gnugettext_libintl=yes"
6145 eval "$gt_func_gnugettext_libintl=no"
6147 rm -f core conftest.err conftest.
$ac_objext \
6148 conftest
$ac_exeext conftest.
$ac_ext
6149 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6150 LIBS
="$LIBS $LIBICONV"
6151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6153 #include <libintl.h>
6154 $gt_revision_test_code
6155 extern int _nl_msg_cat_cntr;
6160 const char *_nl_expand_alias (const char *);
6164 bindtextdomain ("", "");
6165 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6170 if ac_fn_c_try_link
"$LINENO"; then :
6171 LIBINTL
="$LIBINTL $LIBICONV"
6172 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
6173 eval "$gt_func_gnugettext_libintl=yes"
6176 rm -f core conftest.err conftest.
$ac_objext \
6177 conftest
$ac_exeext conftest.
$ac_ext
6179 CPPFLAGS
="$gt_save_CPPFLAGS"
6180 LIBS
="$gt_save_LIBS"
6182 eval ac_res
=\$
$gt_func_gnugettext_libintl
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6184 $as_echo "$ac_res" >&6; }
6187 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6188 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6189 && test "$PACKAGE" != gettext-runtime \
6190 && test "$PACKAGE" != gettext-tools
; }; then
6191 gt_use_preinstalled_gnugettext
=yes
6200 if test -n "$INTL_MACOSX_LIBS"; then
6201 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6202 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6203 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
6204 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
6208 if test "$gt_use_preinstalled_gnugettext" = "yes" \
6209 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
6211 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6219 $as_echo_n "checking whether to use NLS... " >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6221 $as_echo "$USE_NLS" >&6; }
6222 if test "$USE_NLS" = "yes"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6224 $as_echo_n "checking where the gettext function comes from... " >&6; }
6225 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6226 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6227 gt_source
="external libintl"
6232 gt_source
="included intl directory"
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6235 $as_echo "$gt_source" >&6; }
6238 if test "$USE_NLS" = "yes"; then
6240 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6241 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6243 $as_echo_n "checking how to link with libintl... " >&6; }
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6245 $as_echo "$LIBINTL" >&6; }
6247 for element
in $INCINTL; do
6249 for x
in $CPPFLAGS; do
6251 acl_save_prefix
="$prefix"
6252 prefix
="$acl_final_prefix"
6253 acl_save_exec_prefix
="$exec_prefix"
6254 exec_prefix
="$acl_final_exec_prefix"
6256 exec_prefix
="$acl_save_exec_prefix"
6257 prefix
="$acl_save_prefix"
6259 if test "X$x" = "X$element"; then
6264 if test -z "$haveit"; then
6265 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6272 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6275 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6292 for ac_prog
in 'bison -y' byacc
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy
$ac_prog; ac_word
=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297 $as_echo_n "checking for $ac_word... " >&6; }
6298 if ${ac_cv_prog_YACC+:} false
; then :
6299 $as_echo_n "(cached) " >&6
6301 if test -n "$YACC"; then
6302 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6308 test -z "$as_dir" && as_dir
=.
6309 for ac_exec_ext
in '' $ac_executable_extensions; do
6310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6311 ac_cv_prog_YACC
="$ac_prog"
6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 YACC
=$ac_cv_prog_YACC
6322 if test -n "$YACC"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6324 $as_echo "$YACC" >&6; }
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6331 test -n "$YACC" && break
6333 test -n "$YACC" || YACC
="yacc"
6335 for ac_prog
in flex
lex
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy
$ac_prog; ac_word
=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if ${ac_cv_prog_LEX+:} false
; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$LEX"; then
6345 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_LEX
="$ac_prog"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 if test -n "$LEX"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
6367 $as_echo "$LEX" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6374 test -n "$LEX" && break
6376 test -n "$LEX" || LEX
=":"
6378 if test "x$LEX" != "x:"; then
6379 cat >conftest.l
<<_ACEOF
6385 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
6386 yyless ((input () != 0)); }
6387 f { unput (yytext[0]); }
6388 . { BEGIN INITIAL; }
6390 #ifdef YYTEXT_POINTER
6391 extern char *yytext;
6396 return ! yylex () + ! yywrap ();
6399 { { ac_try
="$LEX conftest.l"
6401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6402 *) ac_try_echo=$ac_try;;
6404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6405 $as_echo "$ac_try_echo"; } >&5
6406 (eval "$LEX conftest.l") 2>&5
6408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6409 test $ac_status = 0; }
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
6411 $as_echo_n "checking lex output file root... " >&6; }
6412 if ${ac_cv_prog_lex_root+:} false; then :
6413 $as_echo_n "(cached) " >&6
6416 if test -f lex.yy.c; then
6417 ac_cv_prog_lex_root=lex.yy
6418 elif test -f lexyy.c; then
6419 ac_cv_prog_lex_root=lexyy
6421 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
6425 $as_echo "$ac_cv_prog_lex_root" >&6; }
6426 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6428 if test -z "${LEXLIB+set}"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
6430 $as_echo_n "checking lex library... " >&6; }
6431 if ${ac_cv_lib_lex+:} false; then :
6432 $as_echo_n "(cached) " >&6
6436 ac_cv_lib_lex='none needed'
6437 for ac_lib in '' -lfl -ll; do
6438 LIBS="$ac_lib $ac_save_LIBS"
6439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6441 `cat $LEX_OUTPUT_ROOT.c
`
6443 if ac_fn_c_try_link "$LINENO"; then :
6444 ac_cv_lib_lex=$ac_lib
6446 rm -f core conftest.err conftest.$ac_objext \
6447 conftest$ac_exeext conftest.$ac_ext
6448 test "$ac_cv_lib_lex" != 'none needed' && break
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
6454 $as_echo "$ac_cv_lib_lex" >&6; }
6455 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
6460 $as_echo_n "checking whether yytext is a pointer... " >&6; }
6461 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
6462 $as_echo_n "(cached) " >&6
6464 # POSIX says lex can declare yytext either as a pointer or an array; the
6465 # default is implementation-dependent. Figure out which it is, since
6466 # not all implementations provide the %pointer and %array declarations.
6467 ac_cv_prog_lex_yytext_pointer=no
6469 LIBS="$LEXLIB $ac_save_LIBS"
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6473 #define YYTEXT_POINTER 1
6474 `cat $LEX_OUTPUT_ROOT.c
`
6476 if ac_fn_c_try_link "$LINENO"; then :
6477 ac_cv_prog_lex_yytext_pointer=yes
6479 rm -f core conftest.err conftest.$ac_objext \
6480 conftest$ac_exeext conftest.$ac_ext
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
6485 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
6486 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6488 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
6491 rm -f conftest.l $LEX_OUTPUT_ROOT.c
6494 if test "$LEX" = :; then
6495 LEX=${am_missing_run}flex
6498 ac_cpp='$CPP $CPPFLAGS'
6499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6502 if test -n "$ac_tool_prefix"; then
6503 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6504 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if ${ac_cv_prog_CC+:} false; then :
6508 $as_echo_n "(cached) " >&6
6510 if test -n "$CC"; then
6511 ac_cv_prog_CC="$CC" # Let the user override the test.
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6520 ac_cv_prog_CC="${ac_tool_prefix}gcc"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 if test -n "$CC"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6533 $as_echo "$CC" >&6; }
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6541 if test -z "$ac_cv_prog_CC"; then
6543 # Extract the first word of "gcc", so it can be a program name with args.
6544 set dummy gcc; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6548 $as_echo_n "(cached) " >&6
6550 if test -n "$ac_ct_CC"; then
6551 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_ac_ct_CC="gcc"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6571 if test -n "$ac_ct_CC"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6573 $as_echo "$ac_ct_CC" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6579 if test "x$ac_ct_CC" = x; then
6582 case $cross_compiling:$ac_tool_warned in
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586 ac_tool_warned=yes ;;
6594 if test -z "$CC"; then
6595 if test -n "$ac_tool_prefix"; then
6596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6597 set dummy ${ac_tool_prefix}cc; ac_word=$2
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6599 $as_echo_n "checking for $ac_word... " >&6; }
6600 if ${ac_cv_prog_CC+:} false; then :
6601 $as_echo_n "(cached) " >&6
6603 if test -n "$CC"; then
6604 ac_cv_prog_CC="$CC" # Let the user override the test.
6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 test -z "$as_dir" && as_dir=.
6611 for ac_exec_ext in '' $ac_executable_extensions; do
6612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6613 ac_cv_prog_CC="${ac_tool_prefix}cc"
6614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 if test -n "$CC"; then
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6626 $as_echo "$CC" >&6; }
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6629 $as_echo "no" >&6; }
6635 if test -z "$CC"; then
6636 # Extract the first word of "cc", so it can be a program name with args.
6637 set dummy cc; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if ${ac_cv_prog_CC+:} false; then :
6641 $as_echo_n "(cached) " >&6
6643 if test -n "$CC"; then
6644 ac_cv_prog_CC="$CC" # Let the user override the test.
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6651 test -z "$as_dir" && as_dir=.
6652 for ac_exec_ext in '' $ac_executable_extensions; do
6653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6654 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6655 ac_prog_rejected=yes
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 if test $ac_prog_rejected = yes; then
6667 # We found a bogon in the path, so make sure we never use it.
6668 set dummy $ac_cv_prog_CC
6670 if test $# != 0; then
6671 # We chose a different compiler from the bogus one.
6672 # However, it has the same basename, so the bogon will be chosen
6673 # first if we set CC to just the basename; use the full file name.
6675 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6681 if test -n "$CC"; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6683 $as_echo "$CC" >&6; }
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6691 if test -z "$CC"; then
6692 if test -n "$ac_tool_prefix"; then
6693 for ac_prog in cl.exe
6695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_CC+:} false; then :
6700 $as_echo_n "(cached) " >&6
6702 if test -n "$CC"; then
6703 ac_cv_prog_CC="$CC" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 if test -n "$CC"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6725 $as_echo "$CC" >&6; }
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6732 test -n "$CC" && break
6735 if test -z "$CC"; then
6737 for ac_prog in cl.exe
6739 # Extract the first word of "$ac_prog", so it can be a program name with args.
6740 set dummy $ac_prog; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$ac_ct_CC"; then
6747 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_ac_ct_CC="$ac_prog"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6767 if test -n "$ac_ct_CC"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6769 $as_echo "$ac_ct_CC" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6776 test -n "$ac_ct_CC" && break
6779 if test "x$ac_ct_CC" = x; then
6782 case $cross_compiling:$ac_tool_warned in
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6786 ac_tool_warned=yes ;;
6795 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6797 as_fn_error $? "no acceptable C compiler found
in \
$PATH
6798 See \
`config.log' for more details" "$LINENO" 5; }
6800 # Provide some information about the compiler.
6801 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6804 for ac_option in --version -v -V -qversion; do
6805 { { ac_try="$ac_compiler $ac_option >&5"
6807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6808 *) ac_try_echo
=$ac_try;;
6810 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6811 $as_echo "$ac_try_echo"; } >&5
6812 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6814 if test -s conftest.err
; then
6816 ... rest of stderr output deleted ...
6817 10q' conftest.err
>conftest.er1
6818 cat conftest.er1
>&5
6820 rm -f conftest.er1 conftest.err
6821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6822 test $ac_status = 0; }
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6827 if ${ac_cv_c_compiler_gnu+:} false
; then :
6828 $as_echo_n "(cached) " >&6
6830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6831 /* end confdefs.h. */
6844 if ac_fn_c_try_compile
"$LINENO"; then :
6849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6850 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6855 if test $ac_compiler_gnu = yes; then
6860 ac_test_CFLAGS
=${CFLAGS+set}
6861 ac_save_CFLAGS
=$CFLAGS
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6864 if ${ac_cv_prog_cc_g+:} false
; then :
6865 $as_echo_n "(cached) " >&6
6867 ac_save_c_werror_flag
=$ac_c_werror_flag
6868 ac_c_werror_flag
=yes
6871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h. */
6882 if ac_fn_c_try_compile
"$LINENO"; then :
6886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6897 if ac_fn_c_try_compile
"$LINENO"; then :
6900 ac_c_werror_flag
=$ac_save_c_werror_flag
6902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6913 if ac_fn_c_try_compile
"$LINENO"; then :
6916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6921 ac_c_werror_flag
=$ac_save_c_werror_flag
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6924 $as_echo "$ac_cv_prog_cc_g" >&6; }
6925 if test "$ac_test_CFLAGS" = set; then
6926 CFLAGS
=$ac_save_CFLAGS
6927 elif test $ac_cv_prog_cc_g = yes; then
6928 if test "$GCC" = yes; then
6934 if test "$GCC" = yes; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6942 if ${ac_cv_prog_cc_c89+:} false
; then :
6943 $as_echo_n "(cached) " >&6
6945 ac_cv_prog_cc_c89
=no
6947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6953 struct buf { int x; };
6954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6955 static char *e (p, i)
6961 static char *f (char * (*g) (char **, int), char **p, ...)
6966 s = g (p, va_arg (v,int));
6971 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6972 function prototypes and stuff, but not '\xHH' hex character constants.
6973 These don't provoke an error unfortunately, instead are silently treated
6974 as 'x'. The following induces an error, until -std is added to get
6975 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6976 array size at least. It's necessary to write '\x00'==0 to get something
6977 that's true only with -std. */
6978 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6980 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6981 inside strings and character constants. */
6983 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6985 int test (int i, double x);
6986 struct s1 {int (*f) (int a);};
6987 struct s2 {int (*f) (double a);};
6988 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6994 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6999 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
7000 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7002 CC
="$ac_save_CC $ac_arg"
7003 if ac_fn_c_try_compile
"$LINENO"; then :
7004 ac_cv_prog_cc_c89
=$ac_arg
7006 rm -f core conftest.err conftest.
$ac_objext
7007 test "x$ac_cv_prog_cc_c89" != "xno" && break
7009 rm -f conftest.
$ac_ext
7014 case "x$ac_cv_prog_cc_c89" in
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7017 $as_echo "none needed" >&6; } ;;
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7020 $as_echo "unsupported" >&6; } ;;
7022 CC
="$CC $ac_cv_prog_cc_c89"
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
7024 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
7026 if test "x$ac_cv_prog_cc_c89" != xno
; then :
7031 ac_cpp
='$CPP $CPPFLAGS'
7032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7036 depcc
="$CC" am_compiler_list
=
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7039 $as_echo_n "checking dependency style of $depcc... " >&6; }
7040 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
7041 $as_echo_n "(cached) " >&6
7043 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7044 # We make a subdir and do the tests there. Otherwise we can end up
7045 # making bogus files that we don't know about and never remove. For
7046 # instance it was reported that on HP-UX the gcc test will end up
7047 # making a dummy file named `D' -- because `-MD' means `put the output
7051 # Copy depcomp to subdir because otherwise we won't find it if we're
7052 # using a relative directory.
7053 cp "$am_depcomp" conftest.dir
7055 # We will build objects and dependencies in a subdirectory because
7056 # it helps to detect inapplicable dependency modes. For instance
7057 # both Tru64's cc and ICC support -MD to output dependencies as a
7058 # side effect of compilation, but ICC will put the dependencies in
7059 # the current directory while Tru64 will put them in the object
7063 am_cv_CC_dependencies_compiler_type
=none
7064 if test "$am_compiler_list" = ""; then
7065 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7068 case " $depcc " in #(
7069 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
7072 for depmode
in $am_compiler_list; do
7073 # Setup a source with many dependencies, because some compilers
7074 # like to wrap large dependency lists on column 80 (with \), and
7075 # we should not choose a depcomp mode which is confused by this.
7077 # We need to recreate these files for each test, as the compiler may
7078 # overwrite some of them when testing with obscure command lines.
7079 # This happens at least with the AIX C compiler.
7081 for i
in 1 2 3 4 5 6; do
7082 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7083 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7084 # Solaris 8's {/usr,}/bin/sh.
7085 touch sub
/conftst
$i.h
7087 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7089 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7090 # mode. It turns out that the SunPro C++ compiler does not properly
7091 # handle `-M -o', and we need to detect this. Also, some Intel
7092 # versions had trouble with output in subdirs
7093 am__obj
=sub
/conftest.
${OBJEXT-o}
7094 am__minus_obj
="-o $am__obj"
7097 # This depmode causes a compiler race in universal mode.
7098 test "$am__universal" = false ||
continue
7101 # after this tag, mechanisms are not by side-effect, so they'll
7102 # only be used when explicitly requested
7103 if test "x$enable_dependency_tracking" = xyes
; then
7109 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
7110 # This compiler won't grok `-c -o', but also, the minuso test has
7111 # not run yet. These depmodes are late enough in the game, and
7112 # so weak that their functioning should not be impacted.
7113 am__obj
=conftest.
${OBJEXT-o}
7118 if depmode
=$depmode \
7119 source=sub
/conftest.c object
=$am__obj \
7120 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7121 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
7122 >/dev
/null
2>conftest.err
&&
7123 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7124 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7125 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
7126 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7127 # icc doesn't choke on unknown options, it will just issue warnings
7128 # or remarks (even with -Werror). So we grep stderr for any message
7129 # that says an option was ignored or not supported.
7130 # When given -MP, icc 7.0 and 7.1 complain thusly:
7131 # icc: Command line warning: ignoring option '-M'; no argument required
7132 # The diagnosis changed in icc 8.0:
7133 # icc: Command line remark: option '-MP' not supported
7134 if (grep 'ignoring option' conftest.err ||
7135 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7136 am_cv_CC_dependencies_compiler_type
=$depmode
7145 am_cv_CC_dependencies_compiler_type
=none
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
7150 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7151 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
7154 test "x$enable_dependency_tracking" != xno \
7155 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
7157 am__fastdepCC_FALSE
='#'
7159 am__fastdepCC_TRUE
='#'
7160 am__fastdepCC_FALSE
=
7165 ac_cpp
='$CXXCPP $CPPFLAGS'
7166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7169 if test -z "$CXX"; then
7170 if test -n "$CCC"; then
7173 if test -n "$ac_tool_prefix"; then
7174 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7177 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if ${ac_cv_prog_CXX+:} false
; then :
7181 $as_echo_n "(cached) " >&6
7183 if test -n "$CXX"; then
7184 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir
=.
7191 for ac_exec_ext
in '' $ac_executable_extensions; do
7192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
7194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 if test -n "$CXX"; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7206 $as_echo "$CXX" >&6; }
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7213 test -n "$CXX" && break
7216 if test -z "$CXX"; then
7218 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
7220 # Extract the first word of "$ac_prog", so it can be a program name with args.
7221 set dummy
$ac_prog; ac_word
=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
7225 $as_echo_n "(cached) " >&6
7227 if test -n "$ac_ct_CXX"; then
7228 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
7230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir
=.
7235 for ac_exec_ext
in '' $ac_executable_extensions; do
7236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7237 ac_cv_prog_ac_ct_CXX
="$ac_prog"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
7248 if test -n "$ac_ct_CXX"; then
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7250 $as_echo "$ac_ct_CXX" >&6; }
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7257 test -n "$ac_ct_CXX" && break
7260 if test "x$ac_ct_CXX" = x
; then
7263 case $cross_compiling:$ac_tool_warned in
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7267 ac_tool_warned
=yes ;;
7275 # Provide some information about the compiler.
7276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7279 for ac_option
in --version -v -V -qversion; do
7280 { { ac_try
="$ac_compiler $ac_option >&5"
7282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7283 *) ac_try_echo=$ac_try;;
7285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7286 $as_echo "$ac_try_echo"; } >&5
7287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7289 if test -s conftest.err; then
7291 ... rest of stderr output deleted ...
7292 10q' conftest.err >conftest.er1
7293 cat conftest.er1 >&5
7295 rm -f conftest.er1 conftest.err
7296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7297 test $ac_status = 0; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7301 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7302 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7303 $as_echo_n "(cached) " >&6
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7319 if ac_fn_cxx_try_compile "$LINENO"; then :
7324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7325 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7329 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7330 if test $ac_compiler_gnu = yes; then
7335 ac_test_CXXFLAGS=${CXXFLAGS+set}
7336 ac_save_CXXFLAGS=$CXXFLAGS
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7338 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7339 if ${ac_cv_prog_cxx_g+:} false; then :
7340 $as_echo_n "(cached) " >&6
7342 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7343 ac_cxx_werror_flag=yes
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7357 if ac_fn_cxx_try_compile "$LINENO"; then :
7358 ac_cv_prog_cxx_g=yes
7361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362 /* end confdefs.h. */
7372 if ac_fn_cxx_try_compile "$LINENO"; then :
7375 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378 /* end confdefs.h. */
7388 if ac_fn_cxx_try_compile "$LINENO"; then :
7389 ac_cv_prog_cxx_g=yes
7391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7396 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7399 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7400 if test "$ac_test_CXXFLAGS" = set; then
7401 CXXFLAGS=$ac_save_CXXFLAGS
7402 elif test $ac_cv_prog_cxx_g = yes; then
7403 if test "$GXX" = yes; then
7409 if test "$GXX" = yes; then
7416 ac_cpp='$CPP $CPPFLAGS'
7417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7421 depcc="$CXX" am_compiler_list=
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7424 $as_echo_n "checking dependency style of $depcc... " >&6; }
7425 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7426 $as_echo_n "(cached) " >&6
7428 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7429 # We make a subdir and do the tests there. Otherwise we can end up
7430 # making bogus files that we don't know about and never remove. For
7431 # instance it was reported that on HP-UX the gcc test will end up
7432 # making a dummy file named `D
' -- because `-MD' means
`put the output
7436 # Copy depcomp to subdir because otherwise we won't find it if we're
7437 # using a relative directory.
7438 cp "$am_depcomp" conftest.dir
7440 # We will build objects and dependencies in a subdirectory because
7441 # it helps to detect inapplicable dependency modes. For instance
7442 # both Tru64's cc and ICC support -MD to output dependencies as a
7443 # side effect of compilation, but ICC will put the dependencies in
7444 # the current directory while Tru64 will put them in the object
7448 am_cv_CXX_dependencies_compiler_type=none
7449 if test "$am_compiler_list" = ""; then
7450 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
7453 case " $depcc " in #(
7454 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7457 for depmode in $am_compiler_list; do
7458 # Setup a source with many dependencies, because some compilers
7459 # like to wrap large dependency lists on column 80 (with \), and
7460 # we should not choose a depcomp mode which is confused by this.
7462 # We need to recreate these files for each test, as the compiler may
7463 # overwrite some of them when testing with obscure command lines.
7464 # This happens at least with the AIX C compiler.
7466 for i in 1 2 3 4 5 6; do
7467 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7468 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
7469 # Solaris 8's
{/usr
,}/bin
/sh.
7470 touch sub
/conftst
$i.h
7472 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7474 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7475 # mode. It turns out that the SunPro C++ compiler does not properly
7476 # handle `-M -o', and we need to detect this. Also, some Intel
7477 # versions had trouble with output in subdirs
7478 am__obj
=sub
/conftest.
${OBJEXT-o}
7479 am__minus_obj
="-o $am__obj"
7482 # This depmode causes a compiler race in universal mode.
7483 test "$am__universal" = false ||
continue
7486 # after this tag, mechanisms are not by side-effect, so they'll
7487 # only be used when explicitly requested
7488 if test "x$enable_dependency_tracking" = xyes
; then
7494 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
7495 # This compiler won't grok `-c -o', but also, the minuso test has
7496 # not run yet. These depmodes are late enough in the game, and
7497 # so weak that their functioning should not be impacted.
7498 am__obj
=conftest.
${OBJEXT-o}
7503 if depmode
=$depmode \
7504 source=sub
/conftest.c object
=$am__obj \
7505 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7506 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
7507 >/dev
/null
2>conftest.err
&&
7508 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7509 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7510 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
7511 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7512 # icc doesn't choke on unknown options, it will just issue warnings
7513 # or remarks (even with -Werror). So we grep stderr for any message
7514 # that says an option was ignored or not supported.
7515 # When given -MP, icc 7.0 and 7.1 complain thusly:
7516 # icc: Command line warning: ignoring option '-M'; no argument required
7517 # The diagnosis changed in icc 8.0:
7518 # icc: Command line remark: option '-MP' not supported
7519 if (grep 'ignoring option' conftest.err ||
7520 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7521 am_cv_CXX_dependencies_compiler_type
=$depmode
7530 am_cv_CXX_dependencies_compiler_type
=none
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7535 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7536 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
7539 test "x$enable_dependency_tracking" != xno \
7540 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
7541 am__fastdepCXX_TRUE
=
7542 am__fastdepCXX_FALSE
='#'
7544 am__fastdepCXX_TRUE
='#'
7545 am__fastdepCXX_FALSE
=
7549 if test "x$CC" != xcc
; then
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
7551 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
7554 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
7556 set dummy
$CC; ac_cc
=`$as_echo "$2" |
7557 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
7558 if eval \
${ac_cv_prog_cc_${ac_cc}_c_o+:} false
; then :
7559 $as_echo_n "(cached) " >&6
7561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7572 # Make sure it works both with $CC and with simple cc.
7573 # We do the test twice because some compilers refuse to overwrite an
7574 # existing .o file with -o, though they will create one.
7575 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
7577 if { { case "(($ac_try" in
7578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7579 *) ac_try_echo=$ac_try;;
7581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7582 $as_echo "$ac_try_echo"; } >&5
7583 (eval "$ac_try") 2>&5
7585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7586 test $ac_status = 0; } &&
7587 test -f conftest2.$ac_objext && { { case "(($ac_try" in
7588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7589 *) ac_try_echo
=$ac_try;;
7591 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7592 $as_echo "$ac_try_echo"; } >&5
7593 (eval "$ac_try") 2>&5
7595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7596 test $ac_status = 0; };
7598 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
7599 if test "x$CC" != xcc
; then
7600 # Test first that cc exists at all.
7601 if { ac_try
='cc -c conftest.$ac_ext >&5'
7602 { { case "(($ac_try" in
7603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7604 *) ac_try_echo=$ac_try;;
7606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7607 $as_echo "$ac_try_echo"; } >&5
7608 (eval "$ac_try") 2>&5
7610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7611 test $ac_status = 0; }; }; then
7612 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
7614 if { { case "(($ac_try" in
7615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7616 *) ac_try_echo
=$ac_try;;
7618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7619 $as_echo "$ac_try_echo"; } >&5
7620 (eval "$ac_try") 2>&5
7622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7623 test $ac_status = 0; } &&
7624 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
7625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7626 *) ac_try_echo=$ac_try;;
7628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7629 $as_echo "$ac_try_echo"; } >&5
7630 (eval "$ac_try") 2>&5
7632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7633 test $ac_status = 0; };
7638 # cc exists but doesn't like -o.
7639 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7644 eval ac_cv_prog_cc_${ac_cc}_c_o=no
7646 rm -f core conftest*
7649 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7651 $as_echo "yes" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7656 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
7660 # FIXME: we rely on the cache variable name because
7661 # there is no other way.
7663 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
7664 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
7665 if test "$am_t" != yes; then
7666 # Losing compiler, so override with the script.
7667 # FIXME: It is wrong to rewrite CC.
7668 # But if we don't then we get into trouble of one sort or another.
7669 # A longer-term fix would be to have automake use am__CC in this case,
7670 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7671 CC="$am_aux_dir/compile $CC"
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7676 $as_echo_n "checking whether ln -s works... " >&6; }
7678 if test "$LN_S" = "ln -s"; then
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7680 $as_echo "yes" >&6; }
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7683 $as_echo "no, using $LN_S" >&6; }
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
7689 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
7694 macro_version='2.4.2'
7695 macro_revision='1.3337'
7709 ltmain="$ac_aux_dir/ltmain.sh"
7711 # Backslashify metacharacters that are still active within
7712 # double-quoted strings.
7713 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
7715 # Same as above, but do not quote variable references.
7716 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
7718 # Sed substitution to delay expansion of an escaped shell variable in a
7719 # double_quote_subst'ed string.
7720 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7722 # Sed substitution to delay expansion of an escaped single quote.
7723 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7725 # Sed substitution to avoid accidental globbing in evaled expressions
7726 no_glob_subst='s/\*/\\\*/g'
7728 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7729 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7730 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
7733 $as_echo_n "checking how to print
strings...
" >&6; }
7734 # Test print first, because it will be a builtin if present.
7735 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
7736 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
7738 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
7741 # Use this function as a fallback that always works.
7742 func_fallback_echo ()
7744 eval 'cat <<_LTECHO_EOF
7748 ECHO='func_fallback_echo'
7751 # func_echo_all arg...
7752 # Invoke $ECHO with all args, space-separated.
7759 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
7760 $as_echo "printf" >&6; } ;;
7761 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
7762 $as_echo "print
-r" >&6; } ;;
7763 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
7764 $as_echo "cat" >&6; } ;;
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
7781 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
7782 if ${ac_cv_path_SED+:} false; then :
7783 $as_echo_n "(cached
) " >&6
7785 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7786 for ac_i in 1 2 3 4 5 6 7; do
7787 ac_script="$ac_script$as_nl$ac_script"
7789 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7790 { ac_script=; unset ac_script;}
7791 if test -z "$SED"; then
7792 ac_path_SED_found=false
7793 # Loop through the user's path and test for each of PROGNAME-LIST
7794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798 test -z "$as_dir" && as_dir=.
7799 for ac_prog in sed gsed; do
7800 for ac_exec_ext in '' $ac_executable_extensions; do
7801 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7802 as_fn_executable_p "$ac_path_SED" || continue
7803 # Check for GNU ac_path_SED and select it if it is found.
7804 # Check for GNU $ac_path_SED
7805 case `"$ac_path_SED" --version 2>&1` in
7807 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7810 $as_echo_n 0123456789 >"conftest.
in"
7813 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
7814 mv "conftest.tmp
" "conftest.
in"
7815 cp "conftest.
in" "conftest.
nl"
7816 $as_echo '' >> "conftest.
nl"
7817 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
7818 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
7819 as_fn_arith $ac_count + 1 && ac_count=$as_val
7820 if test $ac_count -gt ${ac_path_SED_max-0}; then
7821 # Best one so far, save it but keep looking for a better one
7822 ac_cv_path_SED="$ac_path_SED"
7823 ac_path_SED_max=$ac_count
7825 # 10*(2^10) chars as input seems more than enough
7826 test $ac_count -gt 10 && break
7828 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7831 $ac_path_SED_found && break 3
7836 if test -z "$ac_cv_path_SED"; then
7837 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
7845 $as_echo "$ac_cv_path_SED" >&6; }
7846 SED="$ac_cv_path_SED"
7849 test -z "$SED" && SED=sed
7850 Xsed="$SED -e 1s
/^X
//"
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
7863 $as_echo_n "checking
for fgrep...
" >&6; }
7864 if ${ac_cv_path_FGREP+:} false; then :
7865 $as_echo_n "(cached
) " >&6
7867 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7868 then ac_cv_path_FGREP="$GREP -F"
7870 if test -z "$FGREP"; then
7871 ac_path_FGREP_found=false
7872 # Loop through the user's path and test for each of PROGNAME-LIST
7873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7877 test -z "$as_dir" && as_dir=.
7878 for ac_prog in fgrep; do
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7881 as_fn_executable_p "$ac_path_FGREP" || continue
7882 # Check for GNU ac_path_FGREP and select it if it is found.
7883 # Check for GNU $ac_path_FGREP
7884 case `"$ac_path_FGREP" --version 2>&1` in
7886 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7889 $as_echo_n 0123456789 >"conftest.
in"
7892 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
7893 mv "conftest.tmp
" "conftest.
in"
7894 cp "conftest.
in" "conftest.
nl"
7895 $as_echo 'FGREP' >> "conftest.
nl"
7896 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
7897 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
7898 as_fn_arith $ac_count + 1 && ac_count=$as_val
7899 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7900 # Best one so far, save it but keep looking for a better one
7901 ac_cv_path_FGREP="$ac_path_FGREP"
7902 ac_path_FGREP_max=$ac_count
7904 # 10*(2^10) chars as input seems more than enough
7905 test $ac_count -gt 10 && break
7907 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7910 $ac_path_FGREP_found && break 3
7915 if test -z "$ac_cv_path_FGREP"; then
7916 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
7919 ac_cv_path_FGREP=$FGREP
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
7925 $as_echo "$ac_cv_path_FGREP" >&6; }
7926 FGREP="$ac_cv_path_FGREP"
7929 test -z "$GREP" && GREP=grep
7949 # Check whether --with-gnu-ld was given.
7950 if test "${with_gnu_ld+set}" = set; then :
7951 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7957 if test "$GCC" = yes; then
7958 # Check if gcc -print-prog-name=ld gives a path.
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
7960 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
7963 # gcc leaves a trailing carriage return which upsets mingw
7964 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7966 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7969 # Accept absolute paths.
7971 re_direlt='/[^/][^/]*/\.\./'
7972 # Canonicalize the pathname of ld
7973 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7974 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7975 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
7977 test -z "$LD" && LD="$ac_prog"
7980 # If it fails, then pretend we aren't using GCC.
7984 # If it is relative, then search for the first ld in PATH.
7988 elif test "$with_gnu_ld" = yes; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
7990 $as_echo_n "checking
for GNU ld...
" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
7993 $as_echo_n "checking
for non-GNU ld...
" >&6; }
7995 if ${lt_cv_path_LD+:} false; then :
7996 $as_echo_n "(cached
) " >&6
7998 if test -z "$LD"; then
7999 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8000 for ac_dir in $PATH; do
8002 test -z "$ac_dir" && ac_dir=.
8003 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8004 lt_cv_path_LD="$ac_dir/$ac_prog"
8005 # Check to see if the program is GNU ld. I'd rather use --version,
8006 # but apparently some variants of GNU ld only accept -v.
8007 # Break only if it was the GNU/non-GNU ld that we prefer.
8008 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8009 *GNU* | *'with BFD'*)
8010 test "$with_gnu_ld" != no && break
8013 test "$with_gnu_ld" != yes && break
8020 lt_cv_path_LD="$LD" # Let the user override the test with a path.
8025 if test -n "$LD"; then
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8027 $as_echo "$LD" >&6; }
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8030 $as_echo "no
" >&6; }
8032 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
8034 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
8035 if ${lt_cv_prog_gnu_ld+:} false; then :
8036 $as_echo_n "(cached
) " >&6
8038 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8039 case `$LD -v 2>&1 </dev/null` in
8040 *GNU* | *'with BFD'*)
8041 lt_cv_prog_gnu_ld=yes
8044 lt_cv_prog_gnu_ld=no
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
8049 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8050 with_gnu_ld=$lt_cv_prog_gnu_ld
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
8061 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
8062 if ${lt_cv_path_NM+:} false; then :
8063 $as_echo_n "(cached
) " >&6
8065 if test -n "$NM"; then
8066 # Let the user override the test.
8069 lt_nm_to_check="${ac_tool_prefix}nm
"
8070 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8071 lt_nm_to_check="$lt_nm_to_check nm
"
8073 for lt_tmp_nm in $lt_nm_to_check; do
8074 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8075 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8077 test -z "$ac_dir" && ac_dir=.
8078 tmp_nm="$ac_dir/$lt_tmp_nm"
8079 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8080 # Check to see if the nm accepts a BSD-compat flag.
8081 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8082 # nm: unknown option "B
" ignored
8083 # Tru64's nm complains that /dev/null is an invalid object file
8084 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8085 */dev/null* | *'Invalid file or object type'*)
8086 lt_cv_path_NM="$tmp_nm -B"
8090 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8092 lt_cv_path_NM="$tmp_nm -p"
8096 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8097 continue # so that we can try to find one that supports BSD flags
8106 : ${lt_cv_path_NM=no}
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
8110 $as_echo "$lt_cv_path_NM" >&6; }
8111 if test "$lt_cv_path_NM" != "no
"; then
8114 # Didn't find any BSD compatible name lister, look for dumpbin.
8115 if test -n "$DUMPBIN"; then :
8116 # Let the user override the test.
8118 if test -n "$ac_tool_prefix"; then
8119 for ac_prog in dumpbin "link
-dump"
8121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8124 $as_echo_n "checking
for $ac_word...
" >&6; }
8125 if ${ac_cv_prog_DUMPBIN+:} false; then :
8126 $as_echo_n "(cached
) " >&6
8128 if test -n "$DUMPBIN"; then
8129 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8148 DUMPBIN=$ac_cv_prog_DUMPBIN
8149 if test -n "$DUMPBIN"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
8151 $as_echo "$DUMPBIN" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8154 $as_echo "no
" >&6; }
8158 test -n "$DUMPBIN" && break
8161 if test -z "$DUMPBIN"; then
8162 ac_ct_DUMPBIN=$DUMPBIN
8163 for ac_prog in dumpbin "link
-dump"
8165 # Extract the first word of "$ac_prog", so it can be a program name with args.
8166 set dummy $ac_prog; ac_word=$2
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8168 $as_echo_n "checking
for $ac_word...
" >&6; }
8169 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8170 $as_echo_n "(cached
) " >&6
8172 if test -n "$ac_ct_DUMPBIN"; then
8173 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179 test -z "$as_dir" && as_dir=.
8180 for ac_exec_ext in '' $ac_executable_extensions; do
8181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8182 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8192 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8193 if test -n "$ac_ct_DUMPBIN"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
8195 $as_echo "$ac_ct_DUMPBIN" >&6; }
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8198 $as_echo "no
" >&6; }
8202 test -n "$ac_ct_DUMPBIN" && break
8205 if test "x
$ac_ct_DUMPBIN" = x; then
8208 case $cross_compiling:$ac_tool_warned in
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8211 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8212 ac_tool_warned=yes ;;
8214 DUMPBIN=$ac_ct_DUMPBIN
8218 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8220 DUMPBIN="$DUMPBIN -symbols"
8228 if test "$DUMPBIN" != ":"; then
8232 test -z "$NM" && NM=nm
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
8240 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
8241 if ${lt_cv_nm_interface+:} false; then :
8242 $as_echo_n "(cached
) " >&6
8244 lt_cv_nm_interface="BSD nm
"
8245 echo "int some_variable
= 0;" > conftest.$ac_ext
8246 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
8247 (eval "$ac_compile" 2>conftest.err)
8248 cat conftest.err >&5
8249 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
8250 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
8251 cat conftest.err >&5
8252 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
8253 cat conftest.out >&5
8254 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8255 lt_cv_nm_interface="MS dumpbin
"
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
8260 $as_echo "$lt_cv_nm_interface" >&6; }
8262 # find the maximum length of command line arguments
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
8264 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
8265 if ${lt_cv_sys_max_cmd_len+:} false; then :
8266 $as_echo_n "(cached
) " >&6
8273 # On DJGPP, this test can blow up pretty badly due to problems in libc
8274 # (any single argument exceeding 2000 bytes causes a buffer overrun
8275 # during glob expansion). Even if it were fixed, the result of this
8276 # check would be larger than it should be.
8277 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8281 # Under GNU Hurd, this test is not required because there is
8282 # no limit to the length of command line arguments.
8283 # Libtool will interpret -1 as no limit whatsoever
8284 lt_cv_sys_max_cmd_len=-1;
8287 cygwin* | mingw* | cegcc*)
8288 # On Win9x/ME, this test blows up -- it succeeds, but takes
8289 # about 5 minutes as the teststring grows exponentially.
8290 # Worse, since 9x/ME are not pre-emptively multitasking,
8291 # you end up with a "frozen
" computer, even though with patience
8292 # the test eventually succeeds (with a max line length of 256k).
8293 # Instead, let's just punt: use the minimum linelength reported by
8294 # all of the supported platforms: 8192 (on NT/2K/XP).
8295 lt_cv_sys_max_cmd_len=8192;
8299 # On MiNT this can take a long time and run out of memory.
8300 lt_cv_sys_max_cmd_len=8192;
8304 # On AmigaOS with pdksh, this test takes hours, literally.
8305 # So we just punt and use a minimum line length of 8192.
8306 lt_cv_sys_max_cmd_len=8192;
8309 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8310 # This has been around since 386BSD, at least. Likely further.
8311 if test -x /sbin/sysctl; then
8312 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8313 elif test -x /usr/sbin/sysctl; then
8314 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8316 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8318 # And add a safety zone
8319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8320 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8324 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8325 lt_cv_sys_max_cmd_len=196608
8329 # The test takes a long time on OS/2.
8330 lt_cv_sys_max_cmd_len=8192
8334 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8335 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8336 # nice to cause kernel panics so lets avoid the loop below.
8337 # First set a reasonable default.
8338 lt_cv_sys_max_cmd_len=16384
8340 if test -x /sbin/sysconfig; then
8341 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8342 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8347 lt_cv_sys_max_cmd_len=102400
8349 sysv5* | sco5v6* | sysv4.2uw2*)
8350 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8351 if test -n "$kargmax"; then
8352 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8354 lt_cv_sys_max_cmd_len=32768
8358 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8359 if test -n "$lt_cv_sys_max_cmd_len"; then
8360 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8361 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8363 # Make teststring a little bigger before we do anything with it.
8364 # a 1K string should be a reasonable start.
8365 for i in 1 2 3 4 5 6 7 8 ; do
8366 teststring=$teststring$teststring
8368 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8369 # If test is not a shell built-in, we'll probably end up computing a
8370 # maximum length that is only half of the actual maximum length, but
8372 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
8373 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
8374 test $i != 17 # 1/2 MB should be enough
8377 teststring=$teststring$teststring
8379 # Only check the string length outside the loop.
8380 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
8382 # Add a significant safety factor because C++ compilers can tack on
8383 # massive amounts of additional arguments before passing them to the
8384 # linker. It appears as though 1/2 is a usable value.
8385 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8392 if test -n $lt_cv_sys_max_cmd_len ; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
8394 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
8397 $as_echo "none
" >&6; }
8399 max_cmd_len=$lt_cv_sys_max_cmd_len
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
8411 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
8412 # Try some XSI features
8415 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
8417 && eval 'test $(( 1 + 1 )) -eq 2 \
8418 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8421 $as_echo "$xsi_shell" >&6; }
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8425 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8427 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
8429 && lt_shell_append
=yes
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8431 $as_echo "$lt_shell_append" >&6; }
8434 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8444 # test EBCDIC or ASCII
8445 case `echo X|tr X '\101'` in
8446 A
) # ASCII based system
8447 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8448 lt_SP2NL
='tr \040 \012'
8449 lt_NL2SP
='tr \015\012 \040\040'
8451 *) # EBCDIC based system
8452 lt_SP2NL
='tr \100 \n'
8453 lt_NL2SP
='tr \r\n \100\100'
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8466 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8467 if ${lt_cv_to_host_file_cmd+:} false
; then :
8468 $as_echo_n "(cached) " >&6
8473 *-*-mingw* ) # actually msys
8474 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
8477 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
8479 * ) # otherwise, assume *nix
8480 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
8486 *-*-mingw* ) # actually msys
8487 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
8490 lt_cv_to_host_file_cmd
=func_convert_file_noop
8492 * ) # otherwise, assume *nix
8493 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
8497 * ) # unhandled hosts (and "normal" native builds)
8498 lt_cv_to_host_file_cmd
=func_convert_file_noop
8504 to_host_file_cmd
=$lt_cv_to_host_file_cmd
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8506 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8513 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8514 if ${lt_cv_to_tool_file_cmd+:} false
; then :
8515 $as_echo_n "(cached) " >&6
8517 #assume ordinary cross tools, or native build.
8518 lt_cv_to_tool_file_cmd
=func_convert_file_noop
8522 *-*-mingw* ) # actually msys
8523 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
8531 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8533 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8540 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8541 if ${lt_cv_ld_reload_flag+:} false
; then :
8542 $as_echo_n "(cached) " >&6
8544 lt_cv_ld_reload_flag
='-r'
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8547 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8548 reload_flag
=$lt_cv_ld_reload_flag
8549 case $reload_flag in
8551 *) reload_flag
=" $reload_flag" ;;
8553 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8555 cygwin
* | mingw
* | pw32
* | cegcc
*)
8556 if test "$GCC" != yes; then
8561 if test "$GCC" = yes; then
8562 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8564 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
8577 if test -n "$ac_tool_prefix"; then
8578 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8579 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8581 $as_echo_n "checking for $ac_word... " >&6; }
8582 if ${ac_cv_prog_OBJDUMP+:} false
; then :
8583 $as_echo_n "(cached) " >&6
8585 if test -n "$OBJDUMP"; then
8586 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
8588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8592 test -z "$as_dir" && as_dir
=.
8593 for ac_exec_ext
in '' $ac_executable_extensions; do
8594 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8595 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
8596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8605 OBJDUMP
=$ac_cv_prog_OBJDUMP
8606 if test -n "$OBJDUMP"; then
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8608 $as_echo "$OBJDUMP" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8611 $as_echo "no" >&6; }
8616 if test -z "$ac_cv_prog_OBJDUMP"; then
8617 ac_ct_OBJDUMP
=$OBJDUMP
8618 # Extract the first word of "objdump", so it can be a program name with args.
8619 set dummy objdump
; ac_word
=$2
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8621 $as_echo_n "checking for $ac_word... " >&6; }
8622 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
8623 $as_echo_n "(cached) " >&6
8625 if test -n "$ac_ct_OBJDUMP"; then
8626 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
8628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8632 test -z "$as_dir" && as_dir
=.
8633 for ac_exec_ext
in '' $ac_executable_extensions; do
8634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8635 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
8636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8645 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
8646 if test -n "$ac_ct_OBJDUMP"; then
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8648 $as_echo "$ac_ct_OBJDUMP" >&6; }
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8651 $as_echo "no" >&6; }
8654 if test "x$ac_ct_OBJDUMP" = x
; then
8657 case $cross_compiling:$ac_tool_warned in
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8661 ac_tool_warned
=yes ;;
8663 OBJDUMP
=$ac_ct_OBJDUMP
8666 OBJDUMP
="$ac_cv_prog_OBJDUMP"
8669 test -z "$OBJDUMP" && OBJDUMP
=objdump
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8680 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8681 if ${lt_cv_deplibs_check_method+:} false
; then :
8682 $as_echo_n "(cached) " >&6
8684 lt_cv_file_magic_cmd
='$MAGIC_CMD'
8685 lt_cv_file_magic_test_file
=
8686 lt_cv_deplibs_check_method
='unknown'
8687 # Need to set the preceding variable on all platforms that support
8688 # interlibrary dependencies.
8689 # 'none' -- dependencies not supported.
8690 # `unknown' -- same as none, but documents that we really don't know.
8691 # 'pass_all' -- all dependencies passed with no checks.
8692 # 'test_compile' -- check by making test program.
8693 # 'file_magic [[regex]]' -- check by looking for files in library path
8694 # which responds to the $file_magic_cmd with a given extended regex.
8695 # If you have `file' or equivalent on your system and you're not sure
8696 # whether `pass_all' will *always* work, you probably want this one.
8700 lt_cv_deplibs_check_method
=pass_all
8704 lt_cv_deplibs_check_method
=pass_all
8708 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8709 lt_cv_file_magic_cmd
='/usr/bin/file -L'
8710 lt_cv_file_magic_test_file
=/shlib
/libc.so
8714 # func_win32_libid is a shell function defined in ltmain.sh
8715 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8716 lt_cv_file_magic_cmd
='func_win32_libid'
8720 # Base MSYS/MinGW do not provide the 'file' command needed by
8721 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8722 # unless we find 'file', for example because we are cross-compiling.
8723 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8724 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
8725 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
8726 lt_cv_file_magic_cmd
='func_win32_libid'
8728 # Keep this pattern in sync with the one in func_win32_libid.
8729 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8730 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8735 # use the weaker test based on 'objdump'. See mingw*.
8736 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8737 lt_cv_file_magic_cmd
='$OBJDUMP -f'
8740 darwin
* | rhapsody
*)
8741 lt_cv_deplibs_check_method
=pass_all
8744 freebsd
* | dragonfly
*)
8745 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
8748 # Not sure whether the presence of OpenBSD here was a mistake.
8749 # Let's accept both of them until this is cleared up.
8750 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8751 lt_cv_file_magic_cmd
=/usr
/bin
/file
8752 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
8756 lt_cv_deplibs_check_method
=pass_all
8761 lt_cv_deplibs_check_method
=pass_all
8765 lt_cv_deplibs_check_method
=pass_all
8768 hpux10.20
* | hpux11
*)
8769 lt_cv_file_magic_cmd
=/usr
/bin
/file
8772 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8773 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
8776 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
8777 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
8780 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8781 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
8787 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8788 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
8791 irix5
* | irix6
* | nonstopux
*)
8793 *-32|
*"-32 ") libmagic
=32-bit;;
8794 *-n32|
*"-n32 ") libmagic
=N32
;;
8795 *-64|
*"-64 ") libmagic
=64-bit;;
8796 *) libmagic
=never-match
;;
8798 lt_cv_deplibs_check_method
=pass_all
8801 # This must be glibc/ELF.
8802 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8803 lt_cv_deplibs_check_method
=pass_all
8806 netbsd
* | netbsdelf
*-gnu)
8807 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
8808 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8810 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8815 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8816 lt_cv_file_magic_cmd
=/usr
/bin
/file
8817 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
8821 lt_cv_deplibs_check_method
=pass_all
8825 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8826 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8828 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8832 osf3
* | osf4
* | osf5
*)
8833 lt_cv_deplibs_check_method
=pass_all
8837 lt_cv_deplibs_check_method
=pass_all
8841 lt_cv_deplibs_check_method
=pass_all
8844 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
8845 lt_cv_deplibs_check_method
=pass_all
8849 case $host_vendor in
8851 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]'
8852 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
8855 lt_cv_deplibs_check_method
=pass_all
8858 lt_cv_file_magic_cmd
='/bin/file'
8859 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8862 lt_cv_file_magic_cmd
='/bin/file'
8863 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8864 lt_cv_file_magic_test_file
=/lib
/libc.so
8867 lt_cv_deplibs_check_method
=pass_all
8870 lt_cv_deplibs_check_method
=pass_all
8876 lt_cv_deplibs_check_method
=pass_all
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8882 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8886 if test "$build" = "$host"; then
8889 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
8892 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8898 file_magic_cmd
=$lt_cv_file_magic_cmd
8899 deplibs_check_method
=$lt_cv_deplibs_check_method
8900 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
8923 if test -n "$ac_tool_prefix"; then
8924 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8925 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8927 $as_echo_n "checking for $ac_word... " >&6; }
8928 if ${ac_cv_prog_DLLTOOL+:} false
; then :
8929 $as_echo_n "(cached) " >&6
8931 if test -n "$DLLTOOL"; then
8932 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8938 test -z "$as_dir" && as_dir
=.
8939 for ac_exec_ext
in '' $ac_executable_extensions; do
8940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8941 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8951 DLLTOOL
=$ac_cv_prog_DLLTOOL
8952 if test -n "$DLLTOOL"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8954 $as_echo "$DLLTOOL" >&6; }
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8957 $as_echo "no" >&6; }
8962 if test -z "$ac_cv_prog_DLLTOOL"; then
8963 ac_ct_DLLTOOL
=$DLLTOOL
8964 # Extract the first word of "dlltool", so it can be a program name with args.
8965 set dummy dlltool
; ac_word
=$2
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8967 $as_echo_n "checking for $ac_word... " >&6; }
8968 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
8969 $as_echo_n "(cached) " >&6
8971 if test -n "$ac_ct_DLLTOOL"; then
8972 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8978 test -z "$as_dir" && as_dir
=.
8979 for ac_exec_ext
in '' $ac_executable_extensions; do
8980 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8981 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8991 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8992 if test -n "$ac_ct_DLLTOOL"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8994 $as_echo "$ac_ct_DLLTOOL" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8997 $as_echo "no" >&6; }
9000 if test "x$ac_ct_DLLTOOL" = x
; then
9003 case $cross_compiling:$ac_tool_warned in
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9007 ac_tool_warned
=yes ;;
9009 DLLTOOL
=$ac_ct_DLLTOOL
9012 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9015 test -z "$DLLTOOL" && DLLTOOL
=dlltool
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9027 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
9028 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
9029 $as_echo_n "(cached) " >&6
9031 lt_cv_sharedlib_from_linklib_cmd
='unknown'
9034 cygwin
* | mingw
* | pw32
* | cegcc
*)
9035 # two different shell functions defined in ltmain.sh
9036 # decide which to use based on capabilities of $DLLTOOL
9037 case `$DLLTOOL --help 2>&1` in
9038 *--identify-strict*)
9039 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
9042 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
9047 # fallback: assume linklib IS sharedlib
9048 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9054 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9055 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
9056 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
9064 if test -n "$ac_tool_prefix"; then
9067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9068 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9070 $as_echo_n "checking for $ac_word... " >&6; }
9071 if ${ac_cv_prog_AR+:} false
; then :
9072 $as_echo_n "(cached) " >&6
9074 if test -n "$AR"; then
9075 ac_cv_prog_AR
="$AR" # Let the user override the test.
9077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9081 test -z "$as_dir" && as_dir
=.
9082 for ac_exec_ext
in '' $ac_executable_extensions; do
9083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9084 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
9085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9095 if test -n "$AR"; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9097 $as_echo "$AR" >&6; }
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9100 $as_echo "no" >&6; }
9104 test -n "$AR" && break
9107 if test -z "$AR"; then
9111 # Extract the first word of "$ac_prog", so it can be a program name with args.
9112 set dummy
$ac_prog; ac_word
=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9114 $as_echo_n "checking for $ac_word... " >&6; }
9115 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 if test -n "$ac_ct_AR"; then
9119 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
9121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9125 test -z "$as_dir" && as_dir
=.
9126 for ac_exec_ext
in '' $ac_executable_extensions; do
9127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9128 ac_cv_prog_ac_ct_AR
="$ac_prog"
9129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9138 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
9139 if test -n "$ac_ct_AR"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9141 $as_echo "$ac_ct_AR" >&6; }
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9144 $as_echo "no" >&6; }
9148 test -n "$ac_ct_AR" && break
9151 if test "x$ac_ct_AR" = x
; then
9154 case $cross_compiling:$ac_tool_warned in
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9158 ac_tool_warned
=yes ;;
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9178 $as_echo_n "checking for archiver @FILE support... " >&6; }
9179 if ${lt_cv_ar_at_file+:} false
; then :
9180 $as_echo_n "(cached) " >&6
9183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9194 if ac_fn_c_try_compile
"$LINENO"; then :
9195 echo conftest.
$ac_objext > conftest.lst
9196 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9197 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9198 (eval $lt_ar_try) 2>&5
9200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9201 test $ac_status = 0; }
9202 if test "$ac_status" -eq 0; then
9203 # Ensure the archiver fails upon bogus file names.
9204 rm -f conftest.
$ac_objext libconftest.a
9205 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9206 (eval $lt_ar_try) 2>&5
9208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9209 test $ac_status = 0; }
9210 if test "$ac_status" -ne 0; then
9214 rm -f conftest.
* libconftest.a
9217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9221 $as_echo "$lt_cv_ar_at_file" >&6; }
9223 if test "x$lt_cv_ar_at_file" = xno
; then
9226 archiver_list_spec
=$lt_cv_ar_at_file
9235 if test -n "$ac_tool_prefix"; then
9236 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9237 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9239 $as_echo_n "checking for $ac_word... " >&6; }
9240 if ${ac_cv_prog_STRIP+:} false
; then :
9241 $as_echo_n "(cached) " >&6
9243 if test -n "$STRIP"; then
9244 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9250 test -z "$as_dir" && as_dir
=.
9251 for ac_exec_ext
in '' $ac_executable_extensions; do
9252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9253 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
9254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9263 STRIP
=$ac_cv_prog_STRIP
9264 if test -n "$STRIP"; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9266 $as_echo "$STRIP" >&6; }
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9269 $as_echo "no" >&6; }
9274 if test -z "$ac_cv_prog_STRIP"; then
9276 # Extract the first word of "strip", so it can be a program name with args.
9277 set dummy strip
; ac_word
=$2
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 $as_echo_n "checking for $ac_word... " >&6; }
9280 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
9281 $as_echo_n "(cached) " >&6
9283 if test -n "$ac_ct_STRIP"; then
9284 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
9286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9290 test -z "$as_dir" && as_dir
=.
9291 for ac_exec_ext
in '' $ac_executable_extensions; do
9292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9293 ac_cv_prog_ac_ct_STRIP
="strip"
9294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9303 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
9304 if test -n "$ac_ct_STRIP"; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9306 $as_echo "$ac_ct_STRIP" >&6; }
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9309 $as_echo "no" >&6; }
9312 if test "x$ac_ct_STRIP" = x
; then
9315 case $cross_compiling:$ac_tool_warned in
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9319 ac_tool_warned
=yes ;;
9324 STRIP
="$ac_cv_prog_STRIP"
9327 test -z "$STRIP" && STRIP
=:
9334 if test -n "$ac_tool_prefix"; then
9335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9336 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 $as_echo_n "checking for $ac_word... " >&6; }
9339 if ${ac_cv_prog_RANLIB+:} false
; then :
9340 $as_echo_n "(cached) " >&6
9342 if test -n "$RANLIB"; then
9343 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9349 test -z "$as_dir" && as_dir
=.
9350 for ac_exec_ext
in '' $ac_executable_extensions; do
9351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9352 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
9353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9362 RANLIB
=$ac_cv_prog_RANLIB
9363 if test -n "$RANLIB"; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9365 $as_echo "$RANLIB" >&6; }
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9368 $as_echo "no" >&6; }
9373 if test -z "$ac_cv_prog_RANLIB"; then
9374 ac_ct_RANLIB
=$RANLIB
9375 # Extract the first word of "ranlib", so it can be a program name with args.
9376 set dummy ranlib
; ac_word
=$2
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9378 $as_echo_n "checking for $ac_word... " >&6; }
9379 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
9380 $as_echo_n "(cached) " >&6
9382 if test -n "$ac_ct_RANLIB"; then
9383 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
9385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9389 test -z "$as_dir" && as_dir
=.
9390 for ac_exec_ext
in '' $ac_executable_extensions; do
9391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9392 ac_cv_prog_ac_ct_RANLIB
="ranlib"
9393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9402 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
9403 if test -n "$ac_ct_RANLIB"; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9405 $as_echo "$ac_ct_RANLIB" >&6; }
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9408 $as_echo "no" >&6; }
9411 if test "x$ac_ct_RANLIB" = x
; then
9414 case $cross_compiling:$ac_tool_warned in
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9418 ac_tool_warned
=yes ;;
9420 RANLIB
=$ac_ct_RANLIB
9423 RANLIB
="$ac_cv_prog_RANLIB"
9426 test -z "$RANLIB" && RANLIB
=:
9433 # Determine commands to create old-style static archives.
9434 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
9435 old_postinstall_cmds
='chmod 644 $oldlib'
9436 old_postuninstall_cmds
=
9438 if test -n "$RANLIB"; then
9441 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9444 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9447 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9452 lock_old_archive_extraction
=yes ;;
9454 lock_old_archive_extraction
=no
;;
9495 # If no C compiler was specified, use CC.
9498 # If no C compiler flags were specified, use CFLAGS.
9499 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9501 # Allow CC to be a program name with arguments.
9505 # Check for command to grab the raw symbol name followed by C symbol from nm.
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9507 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9508 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
9509 $as_echo_n "(cached) " >&6
9512 # These are sane defaults that work on at least a few old systems.
9513 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9515 # Character class describing NM global symbol codes.
9516 symcode
='[BCDEGRST]'
9518 # Regexp to match symbols that can be accessed directly from C.
9519 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
9521 # Define system-specific variables.
9526 cygwin
* | mingw
* | pw32
* | cegcc
*)
9527 symcode
='[ABCDGISTW]'
9530 if test "$host_cpu" = ia64
; then
9531 symcode
='[ABCDEGRST]'
9535 symcode
='[BCDEGRST]'
9538 symcode
='[BCDEGQRST]'
9549 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9557 # If we're using GNU nm, then use its standard symbol codes.
9558 case `$NM -V 2>&1` in
9559 *GNU
* |
*'with BFD'*)
9560 symcode
='[ABCDGIRSTW]' ;;
9563 # Transform an extracted symbol line into a proper C declaration.
9564 # Some systems (esp. on ia64) link data and code symbols differently,
9565 # so use this general approach.
9566 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9568 # Transform an extracted symbol line into symbol name and symbol address
9569 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9570 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
9572 # Handle CRLF in mingw tool chain
9576 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9580 # Try without a prefix underscore, then with it.
9581 for ac_symprfx
in "" "_"; do
9583 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9584 symxfrm
="\\1 $ac_symprfx\\2 \\2"
9586 # Write the raw and C identifiers.
9587 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9588 # Fake it for dumpbin and say T for any non-static function
9589 # and D for any global variable.
9590 # Also find C++ and __fastcall symbols from MSVC++,
9591 # which start with @ or ?.
9592 lt_cv_sys_global_symbol_pipe
="$AWK '"\
9593 " {last_section=section; section=\$ 3};"\
9594 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9595 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9596 " \$ 0!~/External *\|/{next};"\
9597 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9598 " {if(hide[section]) next};"\
9599 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9600 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9601 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9602 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9603 " ' prfx=^$ac_symprfx"
9605 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9607 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9609 # Check to see that the pipe works correctly.
9613 cat > conftest.
$ac_ext <<_LT_EOF
9618 void nm_test_func(void);
9619 void nm_test_func(void){}
9623 int main(){nm_test_var='a';nm_test_func();return(0);}
9626 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9627 (eval $ac_compile) 2>&5
9629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9630 test $ac_status = 0; }; then
9631 # Now try to grab the symbols.
9633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9634 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
9636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9637 test $ac_status = 0; } && test -s "$nlist"; then
9638 # Try sorting and uniquifying the output.
9639 if sort "$nlist" |
uniq > "$nlist"T
; then
9640 mv -f "$nlist"T
"$nlist"
9645 # Make sure that we snagged all the symbols we need.
9646 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
9647 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
9648 cat <<_LT_EOF > conftest.$ac_ext
9649 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9650 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9651 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9652 relocations are performed -- see ld's documentation on pseudo-relocs. */
9653 # define LT_DLSYM_CONST
9654 #elif defined(__osf__)
9655 /* This system does not cope well with relocations in const data. */
9656 # define LT_DLSYM_CONST
9658 # define LT_DLSYM_CONST const
9666 # Now generate the symbol file.
9667 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9669 cat <<_LT_EOF >> conftest.$ac_ext
9671 /* The mapping between symbol names and symbols. */
9672 LT_DLSYM_CONST struct {
9676 lt__PROGRAM__LTX_preloaded_symbols[] =
9678 { "@PROGRAM@", (void *) 0 },
9680 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
9681 cat <<\_LT_EOF
>> conftest.
$ac_ext
9685 /* This works around a problem
in FreeBSD linker
*/
9686 #ifdef FREEBSD_WORKAROUND
9687 static const void
*lt_preloaded_setup
() {
9688 return lt__PROGRAM__LTX_preloaded_symbols
;
9696 # Now try linking the two files.
9697 mv conftest.
$ac_objext conftstm.
$ac_objext
9698 lt_globsym_save_LIBS
=$LIBS
9699 lt_globsym_save_CFLAGS
=$CFLAGS
9700 LIBS
="conftstm.$ac_objext"
9701 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9703 (eval $ac_link) 2>&5
9705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9706 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
9709 LIBS
=$lt_globsym_save_LIBS
9710 CFLAGS
=$lt_globsym_save_CFLAGS
9712 echo "cannot find nm_test_func in $nlist" >&5
9715 echo "cannot find nm_test_var in $nlist" >&5
9718 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9721 echo "$progname: failed program was:" >&5
9722 cat conftest.
$ac_ext >&5
9724 rm -rf conftest
* conftst
*
9726 # Do not use the global_symbol_pipe unless it works.
9727 if test "$pipe_works" = yes; then
9730 lt_cv_sys_global_symbol_pipe
=
9736 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9737 lt_cv_sys_global_symbol_to_cdecl
=
9739 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9741 $as_echo "failed" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9744 $as_echo "ok" >&6; }
9747 # Response file support.
9748 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9749 nm_file_list_spec
='@'
9750 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
9751 nm_file_list_spec
='@'
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9781 $as_echo_n "checking for sysroot... " >&6; }
9783 # Check whether --with-sysroot was given.
9784 if test "${with_sysroot+set}" = set; then :
9785 withval
=$with_sysroot;
9792 case ${with_sysroot} in #(
9794 if test "$GCC" = yes; then
9795 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
9799 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9805 $as_echo "${with_sysroot}" >&6; }
9806 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9811 $as_echo "${lt_sysroot:-no}" >&6; }
9817 # Check whether --enable-libtool-lock was given.
9818 if test "${enable_libtool_lock+set}" = set; then :
9819 enableval
=$enable_libtool_lock;
9822 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
9824 # Some flags need to be propagated to the compiler or linker for good
9828 # Find out which ABI we are using.
9829 echo 'int i;' > conftest.
$ac_ext
9830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9831 (eval $ac_compile) 2>&5
9833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9834 test $ac_status = 0; }; then
9835 case `/usr/bin/file conftest.$ac_objext` in
9847 # Find out which ABI we are using.
9848 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
9849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9850 (eval $ac_compile) 2>&5
9852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9853 test $ac_status = 0; }; then
9854 if test "$lt_cv_prog_gnu_ld" = yes; then
9855 case `/usr/bin/file conftest.$ac_objext` in
9857 LD
="${LD-ld} -melf32bsmip"
9860 LD
="${LD-ld} -melf32bmipn32"
9863 LD
="${LD-ld} -melf64bmip"
9867 case `/usr/bin/file conftest.$ac_objext` in
9883 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
9884 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
9885 # Find out which ABI we are using.
9886 echo 'int i;' > conftest.
$ac_ext
9887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9888 (eval $ac_compile) 2>&5
9890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9891 test $ac_status = 0; }; then
9892 case `/usr/bin/file conftest.o` in
9895 x86_64-
*kfreebsd
*-gnu)
9896 LD
="${LD-ld} -m elf_i386_fbsd"
9899 LD
="${LD-ld} -m elf_i386"
9901 ppc64-
*linux
*|powerpc64-
*linux
*)
9902 LD
="${LD-ld} -m elf32ppclinux"
9905 LD
="${LD-ld} -m elf_s390"
9908 LD
="${LD-ld} -m elf32_sparc"
9914 x86_64-
*kfreebsd
*-gnu)
9915 LD
="${LD-ld} -m elf_x86_64_fbsd"
9918 LD
="${LD-ld} -m elf_x86_64"
9920 ppc
*-*linux
*|powerpc
*-*linux
*)
9921 LD
="${LD-ld} -m elf64ppc"
9923 s390
*-*linux
*|s390
*-*tpf
*)
9924 LD
="${LD-ld} -m elf64_s390"
9927 LD
="${LD-ld} -m elf64_sparc"
9937 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9938 SAVE_CFLAGS
="$CFLAGS"
9939 CFLAGS
="$CFLAGS -belf"
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9941 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9942 if ${lt_cv_cc_needs_belf+:} false
; then :
9943 $as_echo_n "(cached) " >&6
9946 ac_cpp
='$CPP $CPPFLAGS'
9947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9962 if ac_fn_c_try_link
"$LINENO"; then :
9963 lt_cv_cc_needs_belf
=yes
9965 lt_cv_cc_needs_belf
=no
9967 rm -f core conftest.err conftest.
$ac_objext \
9968 conftest
$ac_exeext conftest.
$ac_ext
9970 ac_cpp
='$CPP $CPPFLAGS'
9971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9977 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9978 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
9979 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9980 CFLAGS
="$SAVE_CFLAGS"
9984 # Find out which ABI we are using.
9985 echo 'int i;' > conftest.
$ac_ext
9986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9987 (eval $ac_compile) 2>&5
9989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9990 test $ac_status = 0; }; then
9991 case `/usr/bin/file conftest.o` in
9993 case $lt_cv_prog_gnu_ld in
9997 LD
="${LD-ld} -m elf_x86_64"
10000 LD
="${LD-ld} -m elf64_sparc"
10003 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
10004 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
10009 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
10021 need_locks
="$enable_libtool_lock"
10023 if test -n "$ac_tool_prefix"; then
10024 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10025 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10027 $as_echo_n "checking for $ac_word... " >&6; }
10028 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
10029 $as_echo_n "(cached) " >&6
10031 if test -n "$MANIFEST_TOOL"; then
10032 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
10034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10035 for as_dir
in $PATH
10038 test -z "$as_dir" && as_dir
=.
10039 for ac_exec_ext
in '' $ac_executable_extensions; do
10040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10041 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
10042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10051 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
10052 if test -n "$MANIFEST_TOOL"; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10054 $as_echo "$MANIFEST_TOOL" >&6; }
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10057 $as_echo "no" >&6; }
10062 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10063 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
10064 # Extract the first word of "mt", so it can be a program name with args.
10065 set dummy mt
; ac_word
=$2
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10067 $as_echo_n "checking for $ac_word... " >&6; }
10068 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
10069 $as_echo_n "(cached) " >&6
10071 if test -n "$ac_ct_MANIFEST_TOOL"; then
10072 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10075 for as_dir
in $PATH
10078 test -z "$as_dir" && as_dir
=.
10079 for ac_exec_ext
in '' $ac_executable_extensions; do
10080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10081 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
10082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10091 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10092 if test -n "$ac_ct_MANIFEST_TOOL"; then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10094 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10097 $as_echo "no" >&6; }
10100 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
10103 case $cross_compiling:$ac_tool_warned in
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10107 ac_tool_warned
=yes ;;
10109 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
10112 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
10115 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10117 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10118 if ${lt_cv_path_mainfest_tool+:} false
; then :
10119 $as_echo_n "(cached) " >&6
10121 lt_cv_path_mainfest_tool
=no
10122 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10123 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
10124 cat conftest.err
>&5
10125 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
10126 lt_cv_path_mainfest_tool
=yes
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10131 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10132 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
10142 rhapsody
* | darwin
*)
10143 if test -n "$ac_tool_prefix"; then
10144 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10145 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10147 $as_echo_n "checking for $ac_word... " >&6; }
10148 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
10149 $as_echo_n "(cached) " >&6
10151 if test -n "$DSYMUTIL"; then
10152 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
10154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10155 for as_dir
in $PATH
10158 test -z "$as_dir" && as_dir
=.
10159 for ac_exec_ext
in '' $ac_executable_extensions; do
10160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10161 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
10162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10171 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
10172 if test -n "$DSYMUTIL"; then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10174 $as_echo "$DSYMUTIL" >&6; }
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10177 $as_echo "no" >&6; }
10182 if test -z "$ac_cv_prog_DSYMUTIL"; then
10183 ac_ct_DSYMUTIL
=$DSYMUTIL
10184 # Extract the first word of "dsymutil", so it can be a program name with args.
10185 set dummy dsymutil
; ac_word
=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10187 $as_echo_n "checking for $ac_word... " >&6; }
10188 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
10189 $as_echo_n "(cached) " >&6
10191 if test -n "$ac_ct_DSYMUTIL"; then
10192 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
10194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10195 for as_dir
in $PATH
10198 test -z "$as_dir" && as_dir
=.
10199 for ac_exec_ext
in '' $ac_executable_extensions; do
10200 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10201 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
10202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10211 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
10212 if test -n "$ac_ct_DSYMUTIL"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10214 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10217 $as_echo "no" >&6; }
10220 if test "x$ac_ct_DSYMUTIL" = x
; then
10223 case $cross_compiling:$ac_tool_warned in
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10227 ac_tool_warned
=yes ;;
10229 DSYMUTIL
=$ac_ct_DSYMUTIL
10232 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
10235 if test -n "$ac_tool_prefix"; then
10236 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10237 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10239 $as_echo_n "checking for $ac_word... " >&6; }
10240 if ${ac_cv_prog_NMEDIT+:} false
; then :
10241 $as_echo_n "(cached) " >&6
10243 if test -n "$NMEDIT"; then
10244 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
10246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10247 for as_dir
in $PATH
10250 test -z "$as_dir" && as_dir
=.
10251 for ac_exec_ext
in '' $ac_executable_extensions; do
10252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10253 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
10254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10263 NMEDIT
=$ac_cv_prog_NMEDIT
10264 if test -n "$NMEDIT"; then
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10266 $as_echo "$NMEDIT" >&6; }
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10269 $as_echo "no" >&6; }
10274 if test -z "$ac_cv_prog_NMEDIT"; then
10275 ac_ct_NMEDIT
=$NMEDIT
10276 # Extract the first word of "nmedit", so it can be a program name with args.
10277 set dummy nmedit
; ac_word
=$2
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10279 $as_echo_n "checking for $ac_word... " >&6; }
10280 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
10281 $as_echo_n "(cached) " >&6
10283 if test -n "$ac_ct_NMEDIT"; then
10284 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
10286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10287 for as_dir
in $PATH
10290 test -z "$as_dir" && as_dir
=.
10291 for ac_exec_ext
in '' $ac_executable_extensions; do
10292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10293 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
10294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10303 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
10304 if test -n "$ac_ct_NMEDIT"; then
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10306 $as_echo "$ac_ct_NMEDIT" >&6; }
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10309 $as_echo "no" >&6; }
10312 if test "x$ac_ct_NMEDIT" = x
; then
10315 case $cross_compiling:$ac_tool_warned in
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10319 ac_tool_warned
=yes ;;
10321 NMEDIT
=$ac_ct_NMEDIT
10324 NMEDIT
="$ac_cv_prog_NMEDIT"
10327 if test -n "$ac_tool_prefix"; then
10328 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10329 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10331 $as_echo_n "checking for $ac_word... " >&6; }
10332 if ${ac_cv_prog_LIPO+:} false
; then :
10333 $as_echo_n "(cached) " >&6
10335 if test -n "$LIPO"; then
10336 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
10338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10339 for as_dir
in $PATH
10342 test -z "$as_dir" && as_dir
=.
10343 for ac_exec_ext
in '' $ac_executable_extensions; do
10344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10345 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
10346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10355 LIPO
=$ac_cv_prog_LIPO
10356 if test -n "$LIPO"; then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10358 $as_echo "$LIPO" >&6; }
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10361 $as_echo "no" >&6; }
10366 if test -z "$ac_cv_prog_LIPO"; then
10368 # Extract the first word of "lipo", so it can be a program name with args.
10369 set dummy lipo
; ac_word
=$2
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10371 $as_echo_n "checking for $ac_word... " >&6; }
10372 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
10373 $as_echo_n "(cached) " >&6
10375 if test -n "$ac_ct_LIPO"; then
10376 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
10378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10379 for as_dir
in $PATH
10382 test -z "$as_dir" && as_dir
=.
10383 for ac_exec_ext
in '' $ac_executable_extensions; do
10384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10385 ac_cv_prog_ac_ct_LIPO
="lipo"
10386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10395 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
10396 if test -n "$ac_ct_LIPO"; then
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10398 $as_echo "$ac_ct_LIPO" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10401 $as_echo "no" >&6; }
10404 if test "x$ac_ct_LIPO" = x
; then
10407 case $cross_compiling:$ac_tool_warned in
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10411 ac_tool_warned
=yes ;;
10416 LIPO
="$ac_cv_prog_LIPO"
10419 if test -n "$ac_tool_prefix"; then
10420 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10421 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10423 $as_echo_n "checking for $ac_word... " >&6; }
10424 if ${ac_cv_prog_OTOOL+:} false
; then :
10425 $as_echo_n "(cached) " >&6
10427 if test -n "$OTOOL"; then
10428 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
10430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10431 for as_dir
in $PATH
10434 test -z "$as_dir" && as_dir
=.
10435 for ac_exec_ext
in '' $ac_executable_extensions; do
10436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10437 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
10438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10447 OTOOL
=$ac_cv_prog_OTOOL
10448 if test -n "$OTOOL"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10450 $as_echo "$OTOOL" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10458 if test -z "$ac_cv_prog_OTOOL"; then
10460 # Extract the first word of "otool", so it can be a program name with args.
10461 set dummy otool
; ac_word
=$2
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10463 $as_echo_n "checking for $ac_word... " >&6; }
10464 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
10465 $as_echo_n "(cached) " >&6
10467 if test -n "$ac_ct_OTOOL"; then
10468 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
10470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10471 for as_dir
in $PATH
10474 test -z "$as_dir" && as_dir
=.
10475 for ac_exec_ext
in '' $ac_executable_extensions; do
10476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10477 ac_cv_prog_ac_ct_OTOOL
="otool"
10478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10487 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
10488 if test -n "$ac_ct_OTOOL"; then
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10490 $as_echo "$ac_ct_OTOOL" >&6; }
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10493 $as_echo "no" >&6; }
10496 if test "x$ac_ct_OTOOL" = x
; then
10499 case $cross_compiling:$ac_tool_warned in
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10503 ac_tool_warned
=yes ;;
10508 OTOOL
="$ac_cv_prog_OTOOL"
10511 if test -n "$ac_tool_prefix"; then
10512 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10513 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10515 $as_echo_n "checking for $ac_word... " >&6; }
10516 if ${ac_cv_prog_OTOOL64+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 if test -n "$OTOOL64"; then
10520 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
10522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10523 for as_dir
in $PATH
10526 test -z "$as_dir" && as_dir
=.
10527 for ac_exec_ext
in '' $ac_executable_extensions; do
10528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10529 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
10530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10539 OTOOL64
=$ac_cv_prog_OTOOL64
10540 if test -n "$OTOOL64"; then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10542 $as_echo "$OTOOL64" >&6; }
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 $as_echo "no" >&6; }
10550 if test -z "$ac_cv_prog_OTOOL64"; then
10551 ac_ct_OTOOL64
=$OTOOL64
10552 # Extract the first word of "otool64", so it can be a program name with args.
10553 set dummy otool64
; ac_word
=$2
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10555 $as_echo_n "checking for $ac_word... " >&6; }
10556 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 if test -n "$ac_ct_OTOOL64"; then
10560 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
10562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10563 for as_dir
in $PATH
10566 test -z "$as_dir" && as_dir
=.
10567 for ac_exec_ext
in '' $ac_executable_extensions; do
10568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10569 ac_cv_prog_ac_ct_OTOOL64
="otool64"
10570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10579 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
10580 if test -n "$ac_ct_OTOOL64"; then
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10582 $as_echo "$ac_ct_OTOOL64" >&6; }
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10585 $as_echo "no" >&6; }
10588 if test "x$ac_ct_OTOOL64" = x
; then
10591 case $cross_compiling:$ac_tool_warned in
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10595 ac_tool_warned
=yes ;;
10597 OTOOL64
=$ac_ct_OTOOL64
10600 OTOOL64
="$ac_cv_prog_OTOOL64"
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10630 $as_echo_n "checking for -single_module linker flag... " >&6; }
10631 if ${lt_cv_apple_cc_single_mod+:} false
; then :
10632 $as_echo_n "(cached) " >&6
10634 lt_cv_apple_cc_single_mod
=no
10635 if test -z "${LT_MULTI_MODULE}"; then
10636 # By default we will add the -single_module flag. You can override
10637 # by either setting the environment variable LT_MULTI_MODULE
10638 # non-empty at configure time, or by adding -multi_module to the
10640 rm -rf libconftest.dylib
*
10641 echo "int foo(void){return 1;}" > conftest.c
10642 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10643 -dynamiclib -Wl,-single_module conftest.c" >&5
10644 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10645 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
10647 # If there is a non-empty error log, and "single_module"
10648 # appears in it, assume the flag caused a linker warning
10649 if test -s conftest.err
&& $GREP single_module conftest.err
; then
10650 cat conftest.err
>&5
10651 # Otherwise, if the output was created with a 0 exit code from
10652 # the compiler, it worked.
10653 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
10654 lt_cv_apple_cc_single_mod
=yes
10656 cat conftest.err
>&5
10658 rm -rf libconftest.dylib
*
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10663 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10666 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10667 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
10668 $as_echo_n "(cached) " >&6
10670 lt_cv_ld_exported_symbols_list
=no
10671 save_LDFLAGS
=$LDFLAGS
10672 echo "_main" > conftest.sym
10673 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10685 if ac_fn_c_try_link
"$LINENO"; then :
10686 lt_cv_ld_exported_symbols_list
=yes
10688 lt_cv_ld_exported_symbols_list
=no
10690 rm -f core conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10692 LDFLAGS
="$save_LDFLAGS"
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10696 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10699 $as_echo_n "checking for -force_load linker flag... " >&6; }
10700 if ${lt_cv_ld_force_load+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 lt_cv_ld_force_load
=no
10704 cat > conftest.c
<< _LT_EOF
10705 int forced_loaded() { return 2;}
10707 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10708 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
10709 echo "$AR cru libconftest.a conftest.o" >&5
10710 $AR cru libconftest.a conftest.o
2>&5
10711 echo "$RANLIB libconftest.a" >&5
10712 $RANLIB libconftest.a
2>&5
10713 cat > conftest.c
<< _LT_EOF
10714 int main() { return 0;}
10716 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10717 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
10719 if test -s conftest.err
&& $GREP force_load conftest.err
; then
10720 cat conftest.err
>&5
10721 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
10722 lt_cv_ld_force_load
=yes
10724 cat conftest.err
>&5
10726 rm -f conftest.err libconftest.a conftest conftest.c
10727 rm -rf conftest.dSYM
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10731 $as_echo "$lt_cv_ld_force_load" >&6; }
10733 rhapsody
* | darwin1.
[012])
10734 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
10736 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10737 darwin
*) # darwin 5.x on
10738 # if running on 10.5 or later, the deployment target defaults
10739 # to the OS version, if on x86, and 10.4, the deployment
10740 # target defaults to 10.4. Don't you love it?
10741 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10742 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
10743 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
10745 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10747 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
10751 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10752 _lt_dar_single_mod
='$single_module'
10754 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10755 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10757 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10759 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10760 _lt_dsymutil
='~$DSYMUTIL $lib || :'
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10768 $as_echo_n "checking for ANSI C header files... " >&6; }
10769 if ${ac_cv_header_stdc+:} false
; then :
10770 $as_echo_n "(cached) " >&6
10772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10774 #include <stdlib.h>
10775 #include <stdarg.h>
10776 #include <string.h>
10787 if ac_fn_c_try_compile
"$LINENO"; then :
10788 ac_cv_header_stdc
=yes
10790 ac_cv_header_stdc
=no
10792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10794 if test $ac_cv_header_stdc = yes; then
10795 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10798 #include <string.h>
10801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10802 $EGREP "memchr" >/dev
/null
2>&1; then :
10805 ac_cv_header_stdc
=no
10811 if test $ac_cv_header_stdc = yes; then
10812 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10815 #include <stdlib.h>
10818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10819 $EGREP "free" >/dev
/null
2>&1; then :
10822 ac_cv_header_stdc
=no
10828 if test $ac_cv_header_stdc = yes; then
10829 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10830 if test "$cross_compiling" = yes; then :
10833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 #include <stdlib.h>
10837 #if ((' ' & 0x0FF) == 0x020)
10838 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10839 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10841 # define ISLOWER(c) \
10842 (('a' <= (c) && (c) <= 'i') \
10843 || ('j' <= (c) && (c) <= 'r') \
10844 || ('s' <= (c) && (c) <= 'z'))
10845 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10848 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10853 for (i = 0; i < 256; i++)
10854 if (XOR (islower (i), ISLOWER (i))
10855 || toupper (i) != TOUPPER (i))
10860 if ac_fn_c_try_run
"$LINENO"; then :
10863 ac_cv_header_stdc
=no
10865 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10866 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10872 $as_echo "$ac_cv_header_stdc" >&6; }
10873 if test $ac_cv_header_stdc = yes; then
10875 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
10879 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10880 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
10881 inttypes.h stdint.h unistd.h
10883 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10884 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10886 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10887 cat >>confdefs.h
<<_ACEOF
10888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10896 for ac_header
in dlfcn.h
10898 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10900 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
10901 cat >>confdefs.h
<<_ACEOF
10902 #define HAVE_DLFCN_H 1
10912 func_stripname_cnf
()
10915 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10916 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10918 } # func_stripname_cnf
10931 enable_win32_dll
=no
10934 # Check whether --enable-shared was given.
10935 if test "${enable_shared+set}" = set; then :
10936 enableval
=$enable_shared; p
=${PACKAGE-default}
10938 yes) enable_shared
=yes ;;
10939 no
) enable_shared
=no
;;
10942 # Look at the argument we got. We use all the common list separators.
10943 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10944 for pkg
in $enableval; do
10946 if test "X$pkg" = "X$p"; then
10965 # Check whether --enable-static was given.
10966 if test "${enable_static+set}" = set; then :
10967 enableval
=$enable_static; p
=${PACKAGE-default}
10969 yes) enable_static
=yes ;;
10970 no
) enable_static
=no
;;
10973 # Look at the argument we got. We use all the common list separators.
10974 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10975 for pkg
in $enableval; do
10977 if test "X$pkg" = "X$p"; then
10997 # Check whether --with-pic was given.
10998 if test "${with_pic+set}" = set; then :
10999 withval
=$with_pic; lt_p
=${PACKAGE-default}
11001 yes|no
) pic_mode
=$withval ;;
11004 # Look at the argument we got. We use all the common list separators.
11005 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
11006 for lt_pkg
in $withval; do
11008 if test "X$lt_pkg" = "X$lt_p"; then
11020 test -z "$pic_mode" && pic_mode
=default
11028 # Check whether --enable-fast-install was given.
11029 if test "${enable_fast_install+set}" = set; then :
11030 enableval
=$enable_fast_install; p
=${PACKAGE-default}
11032 yes) enable_fast_install
=yes ;;
11033 no
) enable_fast_install
=no
;;
11035 enable_fast_install
=no
11036 # Look at the argument we got. We use all the common list separators.
11037 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
11038 for pkg
in $enableval; do
11040 if test "X$pkg" = "X$p"; then
11041 enable_fast_install
=yes
11048 enable_fast_install
=yes
11061 # This can be used to rebuild libtool when needed
11062 LIBTOOL_DEPS
="$ltmain"
11064 # Always use our own libtool.
11065 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
11096 test -z "$LN_S" && LN_S
="ln -s"
11111 if test -n "${ZSH_VERSION+set}" ; then
11112 setopt NO_GLOB_SUBST
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11116 $as_echo_n "checking for objdir... " >&6; }
11117 if ${lt_cv_objdir+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 rm -f .libs
2>/dev
/null
11121 mkdir .libs
2>/dev
/null
11122 if test -d .libs
; then
11125 # MS-DOS does not allow filenames that begin with a dot.
11128 rmdir .libs
2>/dev
/null
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11131 $as_echo "$lt_cv_objdir" >&6; }
11132 objdir
=$lt_cv_objdir
11138 cat >>confdefs.h
<<_ACEOF
11139 #define LT_OBJDIR "$lt_cv_objdir/"
11147 # AIX sometimes has problems with the GCC collect2 program. For some
11148 # reason, if we set the COLLECT_NAMES environment variable, the problems
11149 # vanish in a puff of smoke.
11150 if test "X${COLLECT_NAMES+set}" != Xset
; then
11152 export COLLECT_NAMES
11157 # Global variables:
11159 can_build_shared
=yes
11161 # All known linkers require a `.a' archive for static linking (except MSVC,
11162 # which needs '.lib').
11165 with_gnu_ld
="$lt_cv_prog_gnu_ld"
11168 old_CFLAGS
="$CFLAGS"
11170 # Set sane defaults for various variables
11171 test -z "$CC" && CC
=cc
11172 test -z "$LTCC" && LTCC
=$CC
11173 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
11174 test -z "$LD" && LD
=ld
11175 test -z "$ac_objext" && ac_objext
=o
11177 for cc_temp
in $compiler""; do
11179 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11180 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11185 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11188 # Only perform the check for file, if the check method requires it
11189 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
11190 case $deplibs_check_method in
11192 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11194 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11195 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
11196 $as_echo_n "(cached) " >&6
11200 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
11203 lt_save_MAGIC_CMD
="$MAGIC_CMD"
11204 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11205 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11206 for ac_dir
in $ac_dummy; do
11208 test -z "$ac_dir" && ac_dir
=.
11209 if test -f $ac_dir/${ac_tool_prefix}file; then
11210 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
11211 if test -n "$file_magic_test_file"; then
11212 case $deplibs_check_method in
11214 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11215 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11216 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11217 $EGREP "$file_magic_regex" > /dev
/null
; then
11222 *** Warning: the command libtool uses to detect shared libraries,
11223 *** $file_magic_cmd, produces output that libtool cannot recognize.
11224 *** The result is that libtool may fail to recognize shared libraries
11225 *** as such. This will affect the creation of libtool libraries that
11226 *** depend on shared libraries, but programs linked with such libtool
11227 *** libraries will work regardless of this problem. Nevertheless, you
11228 *** may want to report the problem to your system manager and/or to
11229 *** bug-libtool@gnu.org
11239 MAGIC_CMD
="$lt_save_MAGIC_CMD"
11244 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11245 if test -n "$MAGIC_CMD"; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11247 $as_echo "$MAGIC_CMD" >&6; }
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11250 $as_echo "no" >&6; }
11257 if test -z "$lt_cv_path_MAGIC_CMD"; then
11258 if test -n "$ac_tool_prefix"; then
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11260 $as_echo_n "checking for file... " >&6; }
11261 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
11262 $as_echo_n "(cached) " >&6
11266 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
11269 lt_save_MAGIC_CMD
="$MAGIC_CMD"
11270 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11271 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
11272 for ac_dir
in $ac_dummy; do
11274 test -z "$ac_dir" && ac_dir
=.
11275 if test -f $ac_dir/file; then
11276 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
11277 if test -n "$file_magic_test_file"; then
11278 case $deplibs_check_method in
11280 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11281 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11282 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
11283 $EGREP "$file_magic_regex" > /dev
/null
; then
11288 *** Warning: the command libtool uses to detect shared libraries,
11289 *** $file_magic_cmd, produces output that libtool cannot recognize.
11290 *** The result is that libtool may fail to recognize shared libraries
11291 *** as such. This will affect the creation of libtool libraries that
11292 *** depend on shared libraries, but programs linked with such libtool
11293 *** libraries will work regardless of this problem. Nevertheless, you
11294 *** may want to report the problem to your system manager and/or to
11295 *** bug-libtool@gnu.org
11305 MAGIC_CMD
="$lt_save_MAGIC_CMD"
11310 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
11311 if test -n "$MAGIC_CMD"; then
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11313 $as_echo "$MAGIC_CMD" >&6; }
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11316 $as_echo "no" >&6; }
11329 # Use C for the default configuration in the libtool script
11333 ac_cpp
='$CPP $CPPFLAGS'
11334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11339 # Source file extension for C test sources.
11342 # Object file extension for compiled C test sources.
11346 # Code to be used in simple compile tests
11347 lt_simple_compile_test_code
="int some_variable = 0;"
11349 # Code to be used in simple link tests
11350 lt_simple_link_test_code
='int main(){return(0);}'
11358 # If no C compiler was specified, use CC.
11361 # If no C compiler flags were specified, use CFLAGS.
11362 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11364 # Allow CC to be a program name with arguments.
11367 # Save the default compiler, since it gets overwritten when the other
11368 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11369 compiler_DEFAULT
=$CC
11371 # save warnings/boilerplate of simple test code
11372 ac_outfile
=conftest.
$ac_objext
11373 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11374 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11375 _lt_compiler_boilerplate
=`cat conftest.err`
11378 ac_outfile
=conftest.
$ac_objext
11379 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11380 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11381 _lt_linker_boilerplate
=`cat conftest.err`
11386 ## There is no encapsulation within the following macros, do not change
11387 ## the running order or otherwise move them around unless you know exactly
11388 ## what you are doing...
11389 if test -n "$compiler"; then
11391 lt_prog_compiler_no_builtin_flag
=
11393 if test "$GCC" = yes; then
11394 case $cc_basename in
11396 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
11398 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11402 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11403 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11404 $as_echo_n "(cached) " >&6
11406 lt_cv_prog_compiler_rtti_exceptions
=no
11407 ac_outfile
=conftest.
$ac_objext
11408 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11409 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11410 # Insert the option either (1) after the last *FLAGS variable, or
11411 # (2) before a word containing "conftest.", or (3) at the end.
11412 # Note that $ac_compile itself does not contain backslashes and begins
11413 # with a dollar sign (not a hyphen), so the echo should work correctly.
11414 # The option is referenced via a variable to avoid confusing sed.
11415 lt_compile
=`echo "$ac_compile" | $SED \
11416 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11417 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11418 -e 's:$: $lt_compiler_flag:'`
11419 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11420 (eval "$lt_compile" 2>conftest.err
)
11422 cat conftest.err
>&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 if (exit $ac_status) && test -s "$ac_outfile"; then
11425 # The compiler can only warn and ignore the option if not recognized
11426 # So say no if there are warnings other than the usual output.
11427 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11428 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11429 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11430 lt_cv_prog_compiler_rtti_exceptions
=yes
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11437 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11439 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11440 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11452 lt_prog_compiler_wl
=
11453 lt_prog_compiler_pic
=
11454 lt_prog_compiler_static
=
11457 if test "$GCC" = yes; then
11458 lt_prog_compiler_wl
='-Wl,'
11459 lt_prog_compiler_static
='-static'
11463 # All AIX code is PIC.
11464 if test "$host_cpu" = ia64
; then
11465 # AIX 5 now supports IA64 processor
11466 lt_prog_compiler_static
='-Bstatic'
11473 # see comment about AmigaOS4 .so support
11474 lt_prog_compiler_pic
='-fPIC'
11477 # FIXME: we need at least 68020 code to build shared libraries, but
11478 # adding the `-m68020' flag to GCC prevents building anything better,
11480 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
11485 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11486 # PIC is the default for these OSes.
11489 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11490 # This hack is so that the source file can tell whether it is being
11491 # built for inclusion in a dll (and should export symbols for example).
11492 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11493 # (--disable-auto-import) libraries
11494 lt_prog_compiler_pic
='-DDLL_EXPORT'
11497 darwin
* | rhapsody
*)
11498 # PIC is the default on this platform
11499 # Common symbols not allowed in MH_DYLIB files
11500 lt_prog_compiler_pic
='-fno-common'
11504 # PIC is the default for Haiku.
11505 # The "-static" flag exists, but is broken.
11506 lt_prog_compiler_static
=
11510 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11511 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11512 # sets the default TLS model and affects inlining.
11518 lt_prog_compiler_pic
='-fPIC'
11524 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11525 # Instead, we relocate shared libraries at runtime.
11529 # Just because we use GCC doesn't mean we suddenly get shared libraries
11530 # on systems that don't support them.
11531 lt_prog_compiler_can_build_shared
=no
11536 # QNX uses GNU C++, but need to define -shared option too, otherwise
11537 # it will coredump.
11538 lt_prog_compiler_pic
='-fPIC -shared'
11542 if test -d /usr
/nec
; then
11543 lt_prog_compiler_pic
=-Kconform_pic
11548 lt_prog_compiler_pic
='-fPIC'
11552 case $cc_basename in
11553 nvcc
*) # Cuda Compiler Driver 2.2
11554 lt_prog_compiler_wl
='-Xlinker '
11555 if test -n "$lt_prog_compiler_pic"; then
11556 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
11561 # PORTME Check for flag to pass linker flags through the system compiler.
11564 lt_prog_compiler_wl
='-Wl,'
11565 if test "$host_cpu" = ia64
; then
11566 # AIX 5 now supports IA64 processor
11567 lt_prog_compiler_static
='-Bstatic'
11569 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
11573 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11574 # This hack is so that the source file can tell whether it is being
11575 # built for inclusion in a dll (and should export symbols for example).
11576 lt_prog_compiler_pic
='-DDLL_EXPORT'
11579 hpux9
* | hpux10
* | hpux11
*)
11580 lt_prog_compiler_wl
='-Wl,'
11581 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11582 # not for PA HP-UX.
11588 lt_prog_compiler_pic
='+Z'
11591 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11592 lt_prog_compiler_static
='${wl}-a ${wl}archive'
11595 irix5
* | irix6
* | nonstopux
*)
11596 lt_prog_compiler_wl
='-Wl,'
11597 # PIC (with -KPIC) is the default.
11598 lt_prog_compiler_static
='-non_shared'
11601 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11602 case $cc_basename in
11603 # old Intel for x86_64 which still supported -KPIC.
11605 lt_prog_compiler_wl
='-Wl,'
11606 lt_prog_compiler_pic
='-KPIC'
11607 lt_prog_compiler_static
='-static'
11609 # icc used to be incompatible with GCC.
11610 # ICC 10 doesn't accept -KPIC any more.
11612 lt_prog_compiler_wl
='-Wl,'
11613 lt_prog_compiler_pic
='-fPIC'
11614 lt_prog_compiler_static
='-static'
11616 # Lahey Fortran 8.1.
11618 lt_prog_compiler_wl
='-Wl,'
11619 lt_prog_compiler_pic
='--shared'
11620 lt_prog_compiler_static
='--static'
11623 # NAG Fortran compiler
11624 lt_prog_compiler_wl
='-Wl,-Wl,,'
11625 lt_prog_compiler_pic
='-PIC'
11626 lt_prog_compiler_static
='-Bstatic'
11628 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11629 # Portland Group compilers (*not* the Pentium gcc compiler,
11630 # which looks to be a dead project)
11631 lt_prog_compiler_wl
='-Wl,'
11632 lt_prog_compiler_pic
='-fpic'
11633 lt_prog_compiler_static
='-Bstatic'
11636 lt_prog_compiler_wl
='-Wl,'
11637 # All Alpha code is PIC.
11638 lt_prog_compiler_static
='-non_shared'
11640 xl
* | bgxl
* | bgf
* | mpixl
*)
11641 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11642 lt_prog_compiler_wl
='-Wl,'
11643 lt_prog_compiler_pic
='-qpic'
11644 lt_prog_compiler_static
='-qstaticlink'
11647 case `$CC -V 2>&1 | sed 5q` in
11648 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
11649 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11650 lt_prog_compiler_pic
='-KPIC'
11651 lt_prog_compiler_static
='-Bstatic'
11652 lt_prog_compiler_wl
=''
11654 *Sun\ F
* |
*Sun
*Fortran
*)
11655 lt_prog_compiler_pic
='-KPIC'
11656 lt_prog_compiler_static
='-Bstatic'
11657 lt_prog_compiler_wl
='-Qoption ld '
11661 lt_prog_compiler_pic
='-KPIC'
11662 lt_prog_compiler_static
='-Bstatic'
11663 lt_prog_compiler_wl
='-Wl,'
11665 *Intel
*\
[CF
]*Compiler
*)
11666 lt_prog_compiler_wl
='-Wl,'
11667 lt_prog_compiler_pic
='-fPIC'
11668 lt_prog_compiler_static
='-static'
11671 lt_prog_compiler_wl
='-Wl,'
11672 lt_prog_compiler_pic
='-fpic'
11673 lt_prog_compiler_static
='-Bstatic'
11681 lt_prog_compiler_pic
='-KPIC'
11682 lt_prog_compiler_static
='-Bstatic'
11686 # QNX uses GNU C++, but need to define -shared option too, otherwise
11687 # it will coredump.
11688 lt_prog_compiler_pic
='-fPIC -shared'
11691 osf3
* | osf4
* | osf5
*)
11692 lt_prog_compiler_wl
='-Wl,'
11693 # All OSF/1 code is PIC.
11694 lt_prog_compiler_static
='-non_shared'
11698 lt_prog_compiler_static
='-non_shared'
11702 lt_prog_compiler_pic
='-KPIC'
11703 lt_prog_compiler_static
='-Bstatic'
11704 case $cc_basename in
11705 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
11706 lt_prog_compiler_wl
='-Qoption ld ';;
11708 lt_prog_compiler_wl
='-Wl,';;
11713 lt_prog_compiler_wl
='-Qoption ld '
11714 lt_prog_compiler_pic
='-PIC'
11715 lt_prog_compiler_static
='-Bstatic'
11718 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11719 lt_prog_compiler_wl
='-Wl,'
11720 lt_prog_compiler_pic
='-KPIC'
11721 lt_prog_compiler_static
='-Bstatic'
11725 if test -d /usr
/nec
;then
11726 lt_prog_compiler_pic
='-Kconform_pic'
11727 lt_prog_compiler_static
='-Bstatic'
11731 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11732 lt_prog_compiler_wl
='-Wl,'
11733 lt_prog_compiler_pic
='-KPIC'
11734 lt_prog_compiler_static
='-Bstatic'
11738 lt_prog_compiler_wl
='-Wl,'
11739 lt_prog_compiler_can_build_shared
=no
11743 lt_prog_compiler_pic
='-pic'
11744 lt_prog_compiler_static
='-Bstatic'
11748 lt_prog_compiler_can_build_shared
=no
11754 # For platforms which do not support PIC, -DPIC is meaningless:
11756 lt_prog_compiler_pic
=
11759 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11764 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11765 if ${lt_cv_prog_compiler_pic+:} false
; then :
11766 $as_echo_n "(cached) " >&6
11768 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11771 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11772 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
11775 # Check to make sure the PIC flag actually works.
11777 if test -n "$lt_prog_compiler_pic"; then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11779 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11780 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
11781 $as_echo_n "(cached) " >&6
11783 lt_cv_prog_compiler_pic_works
=no
11784 ac_outfile
=conftest.
$ac_objext
11785 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11786 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
11787 # Insert the option either (1) after the last *FLAGS variable, or
11788 # (2) before a word containing "conftest.", or (3) at the end.
11789 # Note that $ac_compile itself does not contain backslashes and begins
11790 # with a dollar sign (not a hyphen), so the echo should work correctly.
11791 # The option is referenced via a variable to avoid confusing sed.
11792 lt_compile
=`echo "$ac_compile" | $SED \
11793 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11794 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11795 -e 's:$: $lt_compiler_flag:'`
11796 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11797 (eval "$lt_compile" 2>conftest.err
)
11799 cat conftest.err
>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 if (exit $ac_status) && test -s "$ac_outfile"; then
11802 # The compiler can only warn and ignore the option if not recognized
11803 # So say no if there are warnings other than the usual output.
11804 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11805 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11806 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11807 lt_cv_prog_compiler_pic_works
=yes
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11814 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11816 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
11817 case $lt_prog_compiler_pic in
11819 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
11822 lt_prog_compiler_pic
=
11823 lt_prog_compiler_can_build_shared
=no
11839 # Check to make sure the static flag actually works.
11841 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11843 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11844 if ${lt_cv_prog_compiler_static_works+:} false
; then :
11845 $as_echo_n "(cached) " >&6
11847 lt_cv_prog_compiler_static_works
=no
11848 save_LDFLAGS
="$LDFLAGS"
11849 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
11850 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11851 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11852 # The linker can only warn and ignore the option if not recognized
11853 # So say no if there are warnings
11854 if test -s conftest.err
; then
11855 # Append any errors to the config.log.
11856 cat conftest.err
1>&5
11857 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11858 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11859 if diff conftest.exp conftest.er2
>/dev
/null
; then
11860 lt_cv_prog_compiler_static_works
=yes
11863 lt_cv_prog_compiler_static_works
=yes
11867 LDFLAGS
="$save_LDFLAGS"
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11871 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11873 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
11876 lt_prog_compiler_static
=
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11886 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11887 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11888 $as_echo_n "(cached) " >&6
11890 lt_cv_prog_compiler_c_o
=no
11891 $RM -r conftest
2>/dev
/null
11895 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11897 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11898 # Insert the option either (1) after the last *FLAGS variable, or
11899 # (2) before a word containing "conftest.", or (3) at the end.
11900 # Note that $ac_compile itself does not contain backslashes and begins
11901 # with a dollar sign (not a hyphen), so the echo should work correctly.
11902 lt_compile
=`echo "$ac_compile" | $SED \
11903 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11904 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11905 -e 's:$: $lt_compiler_flag:'`
11906 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11907 (eval "$lt_compile" 2>out
/conftest.err
)
11909 cat out
/conftest.err
>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11913 # The compiler can only warn and ignore the option if not recognized
11914 # So say no if there are warnings
11915 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11916 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11917 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11918 lt_cv_prog_compiler_c_o
=yes
11923 # SGI C++ compiler will create directory out/ii_files/ for
11924 # template instantiation
11925 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11926 $RM out
/* && rmdir out
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11933 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11941 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11942 if ${lt_cv_prog_compiler_c_o+:} false
; then :
11943 $as_echo_n "(cached) " >&6
11945 lt_cv_prog_compiler_c_o
=no
11946 $RM -r conftest
2>/dev
/null
11950 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11952 lt_compiler_flag
="-o out/conftest2.$ac_objext"
11953 # Insert the option either (1) after the last *FLAGS variable, or
11954 # (2) before a word containing "conftest.", or (3) at the end.
11955 # Note that $ac_compile itself does not contain backslashes and begins
11956 # with a dollar sign (not a hyphen), so the echo should work correctly.
11957 lt_compile
=`echo "$ac_compile" | $SED \
11958 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11959 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11960 -e 's:$: $lt_compiler_flag:'`
11961 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11962 (eval "$lt_compile" 2>out
/conftest.err
)
11964 cat out
/conftest.err
>&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
11968 # The compiler can only warn and ignore the option if not recognized
11969 # So say no if there are warnings
11970 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
11971 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
11972 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
11973 lt_cv_prog_compiler_c_o
=yes
11978 # SGI C++ compiler will create directory out/ii_files/ for
11979 # template instantiation
11980 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
11981 $RM out
/* && rmdir out
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11988 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11993 hard_links
="nottested"
11994 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
11995 # do not overwrite the value of need_locks provided by the user
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11997 $as_echo_n "checking if we can lock with hard links... " >&6; }
12000 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12002 ln conftest.a conftest.b
2>&5 || hard_links
=no
12003 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12005 $as_echo "$hard_links" >&6; }
12006 if test "$hard_links" = no
; then
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12008 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12021 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12024 allow_undefined_flag
=
12025 always_export_symbols
=no
12027 archive_expsym_cmds
=
12028 compiler_needs_object
=no
12029 enable_shared_with_static_runtimes
=no
12030 export_dynamic_flag_spec
=
12031 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12032 hardcode_automatic
=no
12034 hardcode_direct_absolute
=no
12035 hardcode_libdir_flag_spec
=
12036 hardcode_libdir_separator
=
12037 hardcode_minus_L
=no
12038 hardcode_shlibpath_var
=unsupported
12040 link_all_deplibs
=unknown
12042 module_expsym_cmds
=
12043 old_archive_from_new_cmds
=
12044 old_archive_from_expsyms_cmds
=
12045 thread_safe_flag_spec
=
12046 whole_archive_flag_spec
=
12047 # include_expsyms should be a list of space-separated symbols to be *always*
12048 # included in the symbol list
12050 # exclude_expsyms can be an extended regexp of symbols to exclude
12051 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12052 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12053 # as well as any symbol that contains `d'.
12054 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12055 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12056 # platforms (ab)use it in PIC code, but their linkers get confused if
12057 # the symbol is explicitly referenced. Since portable code cannot
12058 # rely on this symbol name, it's probably fine to never include it in
12059 # preloaded symbol tables.
12060 # Exclude shared library initialization/finalization symbols.
12061 extract_expsyms_cmds
=
12064 cygwin
* | mingw
* | pw32
* | cegcc
*)
12065 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12066 # When not using gcc, we currently assume that we are using
12067 # Microsoft Visual C++.
12068 if test "$GCC" != yes; then
12073 # we just hope/assume this is gcc and not c89 (= MSVC++)
12079 linux
* | k
*bsd
*-gnu | gnu
*)
12080 link_all_deplibs
=no
12086 # On some targets, GNU ld is compatible enough with the native linker
12087 # that we're better off using the native interface for both.
12088 lt_use_gnu_ld_interface
=no
12089 if test "$with_gnu_ld" = yes; then
12092 # The AIX port of GNU ld has always aspired to compatibility
12093 # with the native linker. However, as the warning in the GNU ld
12094 # block says, versions before 2.19.5* couldn't really create working
12095 # shared libraries, regardless of the interface used.
12096 case `$LD -v 2>&1` in
12097 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12098 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12099 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12101 lt_use_gnu_ld_interface
=yes
12106 lt_use_gnu_ld_interface
=yes
12111 if test "$lt_use_gnu_ld_interface" = yes; then
12112 # If archive_cmds runs LD, not CC, wlarc should be empty
12115 # Set some defaults for GNU ld with shared library support. These
12116 # are reset later if shared libraries are not supported. Putting them
12117 # here allows them to be overridden if necessary.
12118 runpath_var
=LD_RUN_PATH
12119 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12120 export_dynamic_flag_spec
='${wl}--export-dynamic'
12121 # ancient GNU ld didn't support --whole-archive et. al.
12122 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12123 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12125 whole_archive_flag_spec
=
12127 supports_anon_versioning
=no
12128 case `$LD -v 2>&1` in
12129 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12130 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12131 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12132 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12133 *\
2.11.
*) ;; # other 2.11 versions
12134 *) supports_anon_versioning
=yes ;;
12137 # See if GNU ld supports shared libraries.
12140 # On AIX/PPC, the GNU linker is very broken
12141 if test "$host_cpu" != ia64
; then
12145 *** Warning: the GNU linker, at least up to release 2.19, is reported
12146 *** to be unable to reliably create shared libraries on AIX.
12147 *** Therefore, libtool is disabling shared libraries support. If you
12148 *** really care for shared libraries, you may want to install binutils
12149 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12150 *** You will then need to restart the configuration process.
12159 # see comment about AmigaOS4 .so support
12160 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12161 archive_expsym_cmds
=''
12164 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)'
12165 hardcode_libdir_flag_spec
='-L$libdir'
12166 hardcode_minus_L
=yes
12172 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12173 allow_undefined_flag
=unsupported
12174 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12175 # support --undefined. This deserves some investigation. FIXME
12176 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12182 cygwin
* | mingw
* | pw32
* | cegcc
*)
12183 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12184 # as there is no search path for DLLs.
12185 hardcode_libdir_flag_spec
='-L$libdir'
12186 export_dynamic_flag_spec
='${wl}--export-all-symbols'
12187 allow_undefined_flag
=unsupported
12188 always_export_symbols
=no
12189 enable_shared_with_static_runtimes
=yes
12190 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12191 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12193 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12194 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12195 # If the export-symbols file already is a .def file (1st line
12196 # is EXPORTS), use it as is; otherwise, prepend...
12197 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12198 cp $export_symbols $output_objdir/$soname.def;
12200 echo EXPORTS > $output_objdir/$soname.def;
12201 cat $export_symbols >> $output_objdir/$soname.def;
12203 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12210 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12211 link_all_deplibs
=yes
12216 hardcode_shlibpath_var
=no
12217 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12218 export_dynamic_flag_spec
='${wl}-E'
12219 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12220 # Instead, shared libraries are loaded at an image base (0x10000000 by
12221 # default) and relocated if they conflict, which is a slow very memory
12222 # consuming and fragmenting process. To avoid this, we pick a random,
12223 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12224 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12225 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12226 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12229 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12231 if test "$host_os" = linux-dietlibc
; then
12232 case $cc_basename in
12233 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12236 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12237 && test "$tmp_diet" = no
12239 tmp_addflag
=' $pic_flag'
12240 tmp_sharedflag
='-shared'
12241 case $cc_basename,$host_cpu in
12242 pgcc
*) # Portland Group C compiler
12243 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12244 tmp_addflag
=' $pic_flag'
12246 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12247 # Portland Group f77 and f90 compilers
12248 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12249 tmp_addflag
=' $pic_flag -Mnomain' ;;
12250 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12251 tmp_addflag
=' -i_dynamic' ;;
12252 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12253 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12254 ifc
* | ifort
*) # Intel Fortran compiler
12255 tmp_addflag
=' -nofor_main' ;;
12256 lf95
*) # Lahey Fortran 8.1
12257 whole_archive_flag_spec
=
12258 tmp_sharedflag
='--shared' ;;
12259 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12260 tmp_sharedflag
='-qmkshrobj'
12262 nvcc
*) # Cuda Compiler Driver 2.2
12263 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12264 compiler_needs_object
=yes
12267 case `$CC -V 2>&1 | sed 5q` in
12268 *Sun\ C
*) # Sun C 5.9
12269 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12270 compiler_needs_object
=yes
12271 tmp_sharedflag
='-G' ;;
12272 *Sun\ F
*) # Sun Fortran 8.3
12273 tmp_sharedflag
='-G' ;;
12275 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12277 if test "x$supports_anon_versioning" = xyes
; then
12278 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12279 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12280 echo "local: *; };" >> $output_objdir/$libname.ver~
12281 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12284 case $cc_basename in
12285 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12286 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12287 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12288 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12289 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12290 if test "x$supports_anon_versioning" = xyes
; then
12291 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12292 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12293 echo "local: *; };" >> $output_objdir/$libname.ver~
12294 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12303 netbsd
* | netbsdelf
*-gnu)
12304 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12305 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12308 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12309 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12314 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12318 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12319 *** create shared libraries on Solaris systems. Therefore, libtool
12320 *** is disabling shared libraries support. We urge you to upgrade GNU
12321 *** binutils to release 2.9.1 or newer. Another option is to modify
12322 *** your PATH or compiler configuration so that the native linker is
12323 *** used, and then restart.
12326 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12327 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12328 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12334 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12335 case `$LD -v 2>&1` in
12336 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12340 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12341 *** reliably create shared libraries on SCO systems. Therefore, libtool
12342 *** is disabling shared libraries support. We urge you to upgrade GNU
12343 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12344 *** your PATH or compiler configuration so that the native linker is
12345 *** used, and then restart.
12350 # For security reasons, it is highly recommended that you always
12351 # use absolute paths for naming shared libraries, and exclude the
12352 # DT_RUNPATH tag from executables and libraries. But doing so
12353 # requires that you compile everything twice, which is a pain.
12354 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12355 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12356 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12357 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12366 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12368 hardcode_direct
=yes
12369 hardcode_shlibpath_var
=no
12373 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12374 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12375 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12382 if test "$ld_shlibs" = no
; then
12384 hardcode_libdir_flag_spec
=
12385 export_dynamic_flag_spec
=
12386 whole_archive_flag_spec
=
12389 # PORTME fill in a description of your system's linker (not GNU ld)
12392 allow_undefined_flag
=unsupported
12393 always_export_symbols
=yes
12394 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'
12395 # Note: this linker hardcodes the directories in LIBPATH if there
12396 # are no directories specified by -L.
12397 hardcode_minus_L
=yes
12398 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12399 # Neither direct hardcoding nor static linking is supported with a
12401 hardcode_direct
=unsupported
12406 if test "$host_cpu" = ia64
; then
12407 # On IA64, the linker does run time linking by default, so we don't
12408 # have to do anything special.
12409 aix_use_runtimelinking
=no
12410 exp_sym_flag
='-Bexport'
12413 # If we're using GNU nm, then we don't want the "-C" option.
12414 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12415 # Also, AIX nm treats weak defined symbols like other global
12416 # defined symbols, whereas GNU nm marks them as "W".
12417 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12418 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12420 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'
12422 aix_use_runtimelinking
=no
12424 # Test if we are trying to use run time linking or normal
12425 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12426 # need to do runtime linking.
12427 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12428 for ld_flag
in $LDFLAGS; do
12429 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12430 aix_use_runtimelinking
=yes
12437 exp_sym_flag
='-bexport'
12438 no_entry_flag
='-bnoentry'
12441 # When large executables or shared objects are built, AIX ld can
12442 # have problems creating the table of contents. If linking a library
12443 # or program results in "error TOC overflow" add -mminimal-toc to
12444 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12445 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12448 hardcode_direct
=yes
12449 hardcode_direct_absolute
=yes
12450 hardcode_libdir_separator
=':'
12451 link_all_deplibs
=yes
12452 file_list_spec
='${wl}-f,'
12454 if test "$GCC" = yes; then
12455 case $host_os in aix4.
[012]|aix4.
[012].
*)
12456 # We only want to do this on AIX 4.2 and lower, the check
12457 # below for broken collect2 doesn't work under 4.3+
12458 collect2name
=`${CC} -print-prog-name=collect2`
12459 if test -f "$collect2name" &&
12460 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12462 # We have reworked collect2
12465 # We have old collect2
12466 hardcode_direct
=unsupported
12467 # It fails to find uninstalled libraries when the uninstalled
12468 # path is not listed in the libpath. Setting hardcode_minus_L
12469 # to unsupported forces relinking
12470 hardcode_minus_L
=yes
12471 hardcode_libdir_flag_spec
='-L$libdir'
12472 hardcode_libdir_separator
=
12476 shared_flag
='-shared'
12477 if test "$aix_use_runtimelinking" = yes; then
12478 shared_flag
="$shared_flag "'${wl}-G'
12480 link_all_deplibs
=no
12483 if test "$host_cpu" = ia64
; then
12484 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12485 # chokes on -Wl,-G. The following line is correct:
12488 if test "$aix_use_runtimelinking" = yes; then
12489 shared_flag
='${wl}-G'
12491 shared_flag
='${wl}-bM:SRE'
12496 export_dynamic_flag_spec
='${wl}-bexpall'
12497 # It seems that -bexpall does not export symbols beginning with
12498 # underscore (_), so it is better to generate a list of symbols to export.
12499 always_export_symbols
=yes
12500 if test "$aix_use_runtimelinking" = yes; then
12501 # Warning - without using the other runtime loading flags (-brtl),
12502 # -berok will link without error, but may produce a broken library.
12503 allow_undefined_flag
='-berok'
12504 # Determine the default libpath from the value encoded in an
12505 # empty executable.
12506 if test "${lt_cv_aix_libpath+set}" = set; then
12507 aix_libpath
=$lt_cv_aix_libpath
12509 if ${lt_cv_aix_libpath_+:} false
; then :
12510 $as_echo_n "(cached) " >&6
12512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12523 if ac_fn_c_try_link
"$LINENO"; then :
12525 lt_aix_libpath_sed
='
12526 /Import File Strings/,/^$/ {
12528 s/^0 *\([^ ]*\) *$/\1/
12532 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12533 # Check for a 64-bit object if we didn't find anything.
12534 if test -z "$lt_cv_aix_libpath_"; then
12535 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12538 rm -f core conftest.err conftest.
$ac_objext \
12539 conftest
$ac_exeext conftest.
$ac_ext
12540 if test -z "$lt_cv_aix_libpath_"; then
12541 lt_cv_aix_libpath_
="/usr/lib:/lib"
12546 aix_libpath
=$lt_cv_aix_libpath_
12549 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12550 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12552 if test "$host_cpu" = ia64
; then
12553 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
12554 allow_undefined_flag
="-z nodefs"
12555 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12557 # Determine the default libpath from the value encoded in an
12558 # empty executable.
12559 if test "${lt_cv_aix_libpath+set}" = set; then
12560 aix_libpath
=$lt_cv_aix_libpath
12562 if ${lt_cv_aix_libpath_+:} false
; then :
12563 $as_echo_n "(cached) " >&6
12565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12576 if ac_fn_c_try_link
"$LINENO"; then :
12578 lt_aix_libpath_sed
='
12579 /Import File Strings/,/^$/ {
12581 s/^0 *\([^ ]*\) *$/\1/
12585 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12586 # Check for a 64-bit object if we didn't find anything.
12587 if test -z "$lt_cv_aix_libpath_"; then
12588 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12591 rm -f core conftest.err conftest.
$ac_objext \
12592 conftest
$ac_exeext conftest.
$ac_ext
12593 if test -z "$lt_cv_aix_libpath_"; then
12594 lt_cv_aix_libpath_
="/usr/lib:/lib"
12599 aix_libpath
=$lt_cv_aix_libpath_
12602 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12603 # Warning - without using the other run time loading flags,
12604 # -berok will link without error, but may produce a broken library.
12605 no_undefined_flag
=' ${wl}-bernotok'
12606 allow_undefined_flag
=' ${wl}-berok'
12607 if test "$with_gnu_ld" = yes; then
12608 # We only use this code for GNU lds that support --whole-archive.
12609 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12611 # Exported symbols can be pulled into shared objects from archives
12612 whole_archive_flag_spec
='$convenience'
12614 archive_cmds_need_lc
=yes
12615 # This is similar to how AIX traditionally builds its shared libraries.
12616 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12624 # see comment about AmigaOS4 .so support
12625 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12626 archive_expsym_cmds
=''
12629 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)'
12630 hardcode_libdir_flag_spec
='-L$libdir'
12631 hardcode_minus_L
=yes
12637 export_dynamic_flag_spec
=-rdynamic
12640 cygwin
* | mingw
* | pw32
* | cegcc
*)
12641 # When not using gcc, we currently assume that we are using
12642 # Microsoft Visual C++.
12643 # hardcode_libdir_flag_spec is actually meaningless, as there is
12644 # no search path for DLLs.
12645 case $cc_basename in
12648 hardcode_libdir_flag_spec
=' '
12649 allow_undefined_flag
=unsupported
12650 always_export_symbols
=yes
12652 # Tell ltmain to make .lib files, not .a files.
12654 # Tell ltmain to make .dll files, not .so files.
12656 # FIXME: Setting linknames here is a bad hack.
12657 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12658 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12659 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
12661 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
12663 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12665 # The linker will not automatically build a static lib if we build a DLL.
12666 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12667 enable_shared_with_static_runtimes
=yes
12668 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12669 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12671 old_postinstall_cmds
='chmod 644 $oldlib'
12672 postlink_cmds
='lt_outputfile="@OUTPUT@"~
12673 lt_tool_outputfile="@TOOL_OUTPUT@"~
12674 case $lt_outputfile in
12677 lt_outputfile="$lt_outputfile.exe"
12678 lt_tool_outputfile="$lt_tool_outputfile.exe"
12681 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12682 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12683 $RM "$lt_outputfile.manifest";
12687 # Assume MSVC wrapper
12688 hardcode_libdir_flag_spec
=' '
12689 allow_undefined_flag
=unsupported
12690 # Tell ltmain to make .lib files, not .a files.
12692 # Tell ltmain to make .dll files, not .so files.
12694 # FIXME: Setting linknames here is a bad hack.
12695 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12696 # The linker will automatically build a .lib file if we build a DLL.
12697 old_archive_from_new_cmds
='true'
12698 # FIXME: Should let the user specify the lib program.
12699 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12700 enable_shared_with_static_runtimes
=yes
12705 darwin
* | rhapsody
*)
12708 archive_cmds_need_lc
=no
12710 hardcode_automatic
=yes
12711 hardcode_shlibpath_var
=unsupported
12712 if test "$lt_cv_ld_force_load" = "yes"; then
12713 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12716 whole_archive_flag_spec
=''
12718 link_all_deplibs
=yes
12719 allow_undefined_flag
="$_lt_dar_allow_undefined"
12720 case $cc_basename in
12721 ifort
*) _lt_dar_can_shared
=yes ;;
12722 *) _lt_dar_can_shared
=$GCC ;;
12724 if test "$_lt_dar_can_shared" = "yes"; then
12725 output_verbose_link_cmd
=func_echo_all
12726 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12727 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12728 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12729 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12738 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12739 hardcode_libdir_flag_spec
='-L$libdir'
12740 hardcode_shlibpath_var
=no
12743 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12744 # support. Future versions do this automatically, but an explicit c++rt0.o
12745 # does not break anything, and helps significantly (at the cost of a little
12748 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12749 hardcode_libdir_flag_spec
='-R$libdir'
12750 hardcode_direct
=yes
12751 hardcode_shlibpath_var
=no
12754 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12756 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12757 hardcode_direct
=yes
12758 hardcode_minus_L
=yes
12759 hardcode_shlibpath_var
=no
12762 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12763 freebsd
* | dragonfly
*)
12764 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12765 hardcode_libdir_flag_spec
='-R$libdir'
12766 hardcode_direct
=yes
12767 hardcode_shlibpath_var
=no
12771 if test "$GCC" = yes; then
12772 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12774 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'
12776 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12777 hardcode_libdir_separator
=:
12778 hardcode_direct
=yes
12780 # hardcode_minus_L: Not really in the search PATH,
12781 # but as the default location of the library.
12782 hardcode_minus_L
=yes
12783 export_dynamic_flag_spec
='${wl}-E'
12787 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12788 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12790 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12792 if test "$with_gnu_ld" = no
; then
12793 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12794 hardcode_libdir_separator
=:
12795 hardcode_direct
=yes
12796 hardcode_direct_absolute
=yes
12797 export_dynamic_flag_spec
='${wl}-E'
12798 # hardcode_minus_L: Not really in the search PATH,
12799 # but as the default location of the library.
12800 hardcode_minus_L
=yes
12805 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12808 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12811 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12814 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12820 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12823 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12827 # Older versions of the 11.00 compiler do not understand -b yet
12828 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12830 $as_echo_n "checking if $CC understands -b... " >&6; }
12831 if ${lt_cv_prog_compiler__b+:} false
; then :
12832 $as_echo_n "(cached) " >&6
12834 lt_cv_prog_compiler__b
=no
12835 save_LDFLAGS
="$LDFLAGS"
12836 LDFLAGS
="$LDFLAGS -b"
12837 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12838 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12839 # The linker can only warn and ignore the option if not recognized
12840 # So say no if there are warnings
12841 if test -s conftest.err
; then
12842 # Append any errors to the config.log.
12843 cat conftest.err
1>&5
12844 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12845 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12846 if diff conftest.exp conftest.er2
>/dev
/null
; then
12847 lt_cv_prog_compiler__b
=yes
12850 lt_cv_prog_compiler__b
=yes
12854 LDFLAGS
="$save_LDFLAGS"
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12858 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12860 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
12861 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12863 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12869 if test "$with_gnu_ld" = no
; then
12870 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12871 hardcode_libdir_separator
=:
12876 hardcode_shlibpath_var
=no
12879 hardcode_direct
=yes
12880 hardcode_direct_absolute
=yes
12881 export_dynamic_flag_spec
='${wl}-E'
12883 # hardcode_minus_L: Not really in the search PATH,
12884 # but as the default location of the library.
12885 hardcode_minus_L
=yes
12891 irix5
* | irix6
* | nonstopux
*)
12892 if test "$GCC" = yes; then
12893 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12894 # Try to use the -exported_symbol ld option, if it does not
12895 # work, assume that -exports_file does not work either and
12896 # implicitly export all symbols.
12897 # This should be the same for all languages, so no per-tag cache variable.
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12899 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12900 if ${lt_cv_irix_exported_symbol+:} false
; then :
12901 $as_echo_n "(cached) " >&6
12903 save_LDFLAGS
="$LDFLAGS"
12904 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12907 int foo (void) { return 0; }
12909 if ac_fn_c_try_link
"$LINENO"; then :
12910 lt_cv_irix_exported_symbol
=yes
12912 lt_cv_irix_exported_symbol
=no
12914 rm -f core conftest.err conftest.
$ac_objext \
12915 conftest
$ac_exeext conftest.
$ac_ext
12916 LDFLAGS
="$save_LDFLAGS"
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12919 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12920 if test "$lt_cv_irix_exported_symbol" = yes; then
12921 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12924 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12925 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12927 archive_cmds_need_lc
='no'
12928 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12929 hardcode_libdir_separator
=:
12931 link_all_deplibs
=yes
12934 netbsd
* | netbsdelf
*-gnu)
12935 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12936 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12938 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12940 hardcode_libdir_flag_spec
='-R$libdir'
12941 hardcode_direct
=yes
12942 hardcode_shlibpath_var
=no
12946 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12947 hardcode_direct
=yes
12948 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12949 hardcode_libdir_separator
=:
12950 hardcode_shlibpath_var
=no
12957 if test -f /usr
/libexec
/ld.so
; then
12958 hardcode_direct
=yes
12959 hardcode_shlibpath_var
=no
12960 hardcode_direct_absolute
=yes
12961 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12962 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12963 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12964 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12965 export_dynamic_flag_spec
='${wl}-E'
12968 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12969 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12970 hardcode_libdir_flag_spec
='-R$libdir'
12973 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12974 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12984 hardcode_libdir_flag_spec
='-L$libdir'
12985 hardcode_minus_L
=yes
12986 allow_undefined_flag
=unsupported
12987 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'
12988 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12992 if test "$GCC" = yes; then
12993 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12994 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12996 allow_undefined_flag
=' -expect_unresolved \*'
12997 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12999 archive_cmds_need_lc
='no'
13000 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
13001 hardcode_libdir_separator
=:
13004 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13005 if test "$GCC" = yes; then
13006 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
13007 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13008 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
13010 allow_undefined_flag
=' -expect_unresolved \*'
13011 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13012 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13013 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
13015 # Both c and cxx compiler support -rpath directly
13016 hardcode_libdir_flag_spec
='-rpath $libdir'
13018 archive_cmds_need_lc
='no'
13019 hardcode_libdir_separator
=:
13023 no_undefined_flag
=' -z defs'
13024 if test "$GCC" = yes; then
13026 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13027 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13030 case `$CC -V 2>&1` in
13033 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13034 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13035 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13039 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13040 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13041 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13045 hardcode_libdir_flag_spec
='-R$libdir'
13046 hardcode_shlibpath_var
=no
13048 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13050 # The compiler driver will combine and reorder linker options,
13051 # but understands `-z linker_flag'. GCC discards it without `$wl',
13052 # but is careful enough not to reorder.
13053 # Supported since Solaris 2.6 (maybe 2.5.1?)
13054 if test "$GCC" = yes; then
13055 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13057 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
13061 link_all_deplibs
=yes
13065 if test "x$host_vendor" = xsequent
; then
13066 # Use $CC to link under sequent, because it throws in some extra .o
13067 # files that make .init and .fini sections work.
13068 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13070 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13072 hardcode_libdir_flag_spec
='-L$libdir'
13073 hardcode_direct
=yes
13074 hardcode_minus_L
=yes
13075 hardcode_shlibpath_var
=no
13079 case $host_vendor in
13081 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13082 hardcode_direct
=yes # is this really true???
13085 ## LD is ld it makes a PLAMLIB
13086 ## CC just makes a GrossModule.
13087 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13088 reload_cmds
='$CC -r -o $output$reload_objs'
13092 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13093 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
13096 runpath_var
='LD_RUN_PATH'
13097 hardcode_shlibpath_var
=no
13101 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13102 hardcode_shlibpath_var
=no
13103 export_dynamic_flag_spec
='-Bexport'
13107 if test -d /usr
/nec
; then
13108 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13109 hardcode_shlibpath_var
=no
13110 runpath_var
=LD_RUN_PATH
13111 hardcode_runpath_var
=yes
13116 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13117 no_undefined_flag
='${wl}-z,text'
13118 archive_cmds_need_lc
=no
13119 hardcode_shlibpath_var
=no
13120 runpath_var
='LD_RUN_PATH'
13122 if test "$GCC" = yes; then
13123 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13127 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 sysv5
* | sco3.2v5
* | sco5v6
*)
13132 # Note: We can NOT use -z defs as we might desire, because we do not
13133 # link with -lc, and that would cause any symbols used from libc to
13134 # always be unresolved, which means just about no library would
13135 # ever link correctly. If we're not using GNU ld we use -z text
13136 # though, which does catch some bad symbols but isn't as heavy-handed
13138 no_undefined_flag
='${wl}-z,text'
13139 allow_undefined_flag
='${wl}-z,nodefs'
13140 archive_cmds_need_lc
=no
13141 hardcode_shlibpath_var
=no
13142 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
13143 hardcode_libdir_separator
=':'
13144 link_all_deplibs
=yes
13145 export_dynamic_flag_spec
='${wl}-Bexport'
13146 runpath_var
='LD_RUN_PATH'
13148 if test "$GCC" = yes; then
13149 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13150 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13153 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13158 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13159 hardcode_libdir_flag_spec
='-L$libdir'
13160 hardcode_shlibpath_var
=no
13168 if test x
$host_vendor = xsni
; then
13170 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13171 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13178 $as_echo "$ld_shlibs" >&6; }
13179 test "$ld_shlibs" = no
&& can_build_shared
=no
13181 with_gnu_ld
=$with_gnu_ld
13198 # Do we need to explicitly link libc?
13200 case "x$archive_cmds_need_lc" in
13202 # Assume -lc should be added
13203 archive_cmds_need_lc
=yes
13205 if test "$enable_shared" = yes && test "$GCC" = yes; then
13206 case $archive_cmds in
13208 # FIXME: we may have to deal with multi-command sequences.
13211 # Test whether the compiler implicitly links with -lc since on some
13212 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13213 # to ld, don't add -lc before -lgcc.
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13215 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13216 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13217 $as_echo_n "(cached) " >&6
13220 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13223 (eval $ac_compile) 2>&5
13225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13226 test $ac_status = 0; } 2>conftest.err
; then
13229 libobjs
=conftest.
$ac_objext
13231 wl
=$lt_prog_compiler_wl
13232 pic_flag
=$lt_prog_compiler_pic
13238 lt_save_allow_undefined_flag
=$allow_undefined_flag
13239 allow_undefined_flag
=
13240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13241 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13244 test $ac_status = 0; }
13246 lt_cv_archive_cmds_need_lc
=no
13248 lt_cv_archive_cmds_need_lc
=yes
13250 allow_undefined_flag
=$lt_save_allow_undefined_flag
13252 cat conftest.err
1>&5
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13258 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13259 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13418 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13420 if test "$GCC" = yes; then
13422 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
13423 *) lt_awk_arg
="/^libraries:/" ;;
13426 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
13427 *) lt_sed_strip_eq
="s,=/,/,g" ;;
13429 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13430 case $lt_search_path_spec in
13432 # if the path contains ";" then we assume it to be the separator
13433 # otherwise default to the standard path separator (i.e. ":") - it is
13434 # assumed that no part of a normal pathname contains ";" but that should
13435 # okay in the real world where ";" in dirpaths is itself problematic.
13436 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13439 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13442 # Ok, now we have the path, separated by spaces, we can step through it
13443 # and add multilib dir if necessary.
13444 lt_tmp_lt_search_path_spec
=
13445 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13446 for lt_sys_path
in $lt_search_path_spec; do
13447 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13448 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13450 test -d "$lt_sys_path" && \
13451 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13454 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13455 BEGIN {RS=" "; FS="/|\n";} {
13458 for (lt_i = NF; lt_i > 0; lt_i--) {
13459 if ($lt_i != "" && $lt_i != ".") {
13460 if ($lt_i == "..") {
13463 if (lt_count == 0) {
13464 lt_foo="/" $lt_i lt_foo;
13471 if (lt_foo != "") { lt_freq[lt_foo]++; }
13472 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13474 # AWK program above erroneously prepends '/' to C:/dos/paths
13477 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13478 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13480 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13482 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13484 library_names_spec
=
13485 libname_spec
='lib$name'
13489 postuninstall_cmds
=
13493 shlibpath_overrides_runpath
=unknown
13495 dynamic_linker
="$host_os ld.so"
13496 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13497 need_lib_prefix
=unknown
13498 hardcode_into_libs
=no
13500 # when you set need_version to no, make sure it does not cause -set_version
13501 # flags to be left without arguments
13502 need_version
=unknown
13506 version_type
=linux
# correct to gnu/linux during the next big refactor
13507 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13508 shlibpath_var
=LIBPATH
13510 # AIX 3 has no versioning support, so we append a major version to the name.
13511 soname_spec
='${libname}${release}${shared_ext}$major'
13515 version_type
=linux
# correct to gnu/linux during the next big refactor
13518 hardcode_into_libs
=yes
13519 if test "$host_cpu" = ia64
; then
13520 # AIX 5 supports IA64
13521 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13522 shlibpath_var
=LD_LIBRARY_PATH
13524 # With GCC up to 2.95.x, collect2 would create an import file
13525 # for dependence libraries. The import file would start with
13526 # the line `#! .'. This would cause the generated library to
13527 # depend on `.', always an invalid library. This was fixed in
13528 # development snapshots of GCC prior to 3.0.
13530 aix4 | aix4.
[01] | aix4.
[01].
*)
13531 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13533 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13536 can_build_shared
=no
13540 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13541 # soname into executable. Probably we can add versioning support to
13542 # collect2, so additional links can be useful in future.
13543 if test "$aix_use_runtimelinking" = yes; then
13544 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13545 # instead of lib<name>.a to let people know that these are not
13546 # typical AIX shared libraries.
13547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13549 # We preserve .a as extension for shared libraries through AIX4.2
13550 # and later when we are not doing run time linking.
13551 library_names_spec
='${libname}${release}.a $libname.a'
13552 soname_spec
='${libname}${release}${shared_ext}$major'
13554 shlibpath_var
=LIBPATH
13561 # Since July 2007 AmigaOS4 officially supports .so libraries.
13562 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13566 library_names_spec
='$libname.ixlibrary $libname.a'
13567 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13568 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
13574 library_names_spec
='${libname}${shared_ext}'
13575 dynamic_linker
="$host_os ld.so"
13576 shlibpath_var
=LIBRARY_PATH
13580 version_type
=linux
# correct to gnu/linux during the next big refactor
13582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13583 soname_spec
='${libname}${release}${shared_ext}$major'
13584 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13585 shlibpath_var
=LD_LIBRARY_PATH
13586 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13587 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13588 # the default ld.so.conf also contains /usr/contrib/lib and
13589 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13590 # libtool to hard-code these into programs
13593 cygwin
* | mingw
* | pw32
* | cegcc
*)
13594 version_type
=windows
13599 case $GCC,$cc_basename in
13602 library_names_spec
='$libname.dll.a'
13603 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13604 postinstall_cmds
='base_file=`basename \${file}`~
13605 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13606 dldir=$destdir/`dirname \$dlpath`~
13607 test -d \$dldir || mkdir -p \$dldir~
13608 $install_prog $dir/$dlname \$dldir/$dlname~
13609 chmod a+x \$dldir/$dlname~
13610 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13611 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13613 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13614 dlpath=$dir/\$dldll~
13616 shlibpath_overrides_runpath
=yes
13620 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13621 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13623 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13626 # MinGW DLLs use traditional 'lib' prefix
13627 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13630 # pw32 DLLs use 'pw' prefix rather than 'lib'
13631 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13634 dynamic_linker
='Win32 ld.exe'
13639 libname_spec
='$name'
13640 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13641 library_names_spec
='${libname}.dll.lib'
13645 sys_lib_search_path_spec
=
13648 for lt_path
in $LIB
13651 # Let DOS variable expansion print the short 8.3 style file name.
13652 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13653 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
13656 # Convert to MSYS style.
13657 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13660 # Convert to unix form, then to dos form, then back to unix form
13661 # but this time dos style (no spaces!) so that the unix form looks
13662 # like /cygdrive/c/PROGRA~1:/cygdr...
13663 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
13664 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13665 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13668 sys_lib_search_path_spec
="$LIB"
13669 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13670 # It is most probably a Windows format PATH.
13671 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13673 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13675 # FIXME: find the short name or the path components, as spaces are
13676 # common. (e.g. "Program Files" -> "PROGRA~1")
13680 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13681 postinstall_cmds
='base_file=`basename \${file}`~
13682 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13683 dldir=$destdir/`dirname \$dlpath`~
13684 test -d \$dldir || mkdir -p \$dldir~
13685 $install_prog $dir/$dlname \$dldir/$dlname'
13686 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13687 dlpath=$dir/\$dldll~
13689 shlibpath_overrides_runpath
=yes
13690 dynamic_linker
='Win32 link.exe'
13694 # Assume MSVC wrapper
13695 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13696 dynamic_linker
='Win32 ld.exe'
13699 # FIXME: first we should search . and the directory the executable is in
13703 darwin
* | rhapsody
*)
13704 dynamic_linker
="$host_os dyld"
13705 version_type
=darwin
13708 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13709 soname_spec
='${libname}${release}${major}$shared_ext'
13710 shlibpath_overrides_runpath
=yes
13711 shlibpath_var
=DYLD_LIBRARY_PATH
13712 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13714 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13715 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13719 version_type
=linux
# correct to gnu/linux during the next big refactor
13722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13723 soname_spec
='${libname}${release}${shared_ext}$major'
13724 shlibpath_var
=LD_LIBRARY_PATH
13727 freebsd
* | dragonfly
*)
13728 # DragonFly does not have aout. When/if they implement a new
13729 # versioning mechanism, adjust this.
13730 if test -x /usr
/bin
/objformat
; then
13731 objformat
=`/usr/bin/objformat`
13734 freebsd
[23].
*) objformat
=aout
;;
13735 *) objformat
=elf
;;
13738 version_type
=freebsd-
$objformat
13739 case $version_type in
13741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13746 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13750 shlibpath_var
=LD_LIBRARY_PATH
13753 shlibpath_overrides_runpath
=yes
13755 freebsd3.
[01]* | freebsdelf3.
[01]*)
13756 shlibpath_overrides_runpath
=yes
13757 hardcode_into_libs
=yes
13759 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13760 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13761 shlibpath_overrides_runpath
=no
13762 hardcode_into_libs
=yes
13764 *) # from 4.6 on, and DragonFly
13765 shlibpath_overrides_runpath
=yes
13766 hardcode_into_libs
=yes
13772 version_type
=linux
# correct to gnu/linux during the next big refactor
13775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13776 soname_spec
='${libname}${release}${shared_ext}$major'
13777 shlibpath_var
=LD_LIBRARY_PATH
13778 shlibpath_overrides_runpath
=no
13779 hardcode_into_libs
=yes
13783 version_type
=linux
# correct to gnu/linux during the next big refactor
13786 dynamic_linker
="$host_os runtime_loader"
13787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13788 soname_spec
='${libname}${release}${shared_ext}$major'
13789 shlibpath_var
=LIBRARY_PATH
13790 shlibpath_overrides_runpath
=yes
13791 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13792 hardcode_into_libs
=yes
13795 hpux9
* | hpux10
* | hpux11
*)
13796 # Give a soname corresponding to the major version so that dld.sl refuses to
13797 # link against other versions.
13804 hardcode_into_libs
=yes
13805 dynamic_linker
="$host_os dld.so"
13806 shlibpath_var
=LD_LIBRARY_PATH
13807 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13809 soname_spec
='${libname}${release}${shared_ext}$major'
13810 if test "X$HPUX_IA64_MODE" = X32
; then
13811 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13813 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13815 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13819 hardcode_into_libs
=yes
13820 dynamic_linker
="$host_os dld.sl"
13821 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13822 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13824 soname_spec
='${libname}${release}${shared_ext}$major'
13825 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13826 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13830 dynamic_linker
="$host_os dld.sl"
13831 shlibpath_var
=SHLIB_PATH
13832 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13834 soname_spec
='${libname}${release}${shared_ext}$major'
13837 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13838 postinstall_cmds
='chmod 555 $lib'
13839 # or fails outright, so override atomically:
13840 install_override_mode
=555
13844 version_type
=linux
# correct to gnu/linux during the next big refactor
13847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13848 soname_spec
='${libname}${release}${shared_ext}$major'
13849 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13850 shlibpath_var
=LD_LIBRARY_PATH
13851 shlibpath_overrides_runpath
=no
13852 hardcode_into_libs
=yes
13855 irix5
* | irix6
* | nonstopux
*)
13857 nonstopux
*) version_type
=nonstopux
;;
13859 if test "$lt_cv_prog_gnu_ld" = yes; then
13860 version_type
=linux
# correct to gnu/linux during the next big refactor
13867 soname_spec
='${libname}${release}${shared_ext}$major'
13868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13870 irix5
* | nonstopux
*)
13871 libsuff
= shlibsuff
=
13874 case $LD in # libtool.m4 will add one of these switches to LD
13875 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13876 libsuff
= shlibsuff
= libmagic
=32-bit;;
13877 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13878 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13879 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13880 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13881 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13885 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13886 shlibpath_overrides_runpath
=no
13887 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13888 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13889 hardcode_into_libs
=yes
13892 # No shared lib support for Linux oldld, aout, or coff.
13893 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13897 # This must be glibc/ELF.
13898 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13899 version_type
=linux
# correct to gnu/linux during the next big refactor
13902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13903 soname_spec
='${libname}${release}${shared_ext}$major'
13904 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13905 shlibpath_var
=LD_LIBRARY_PATH
13906 shlibpath_overrides_runpath
=no
13908 # Some binutils ld are patched to set DT_RUNPATH
13909 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13912 lt_cv_shlibpath_overrides_runpath
=no
13913 save_LDFLAGS
=$LDFLAGS
13914 save_libdir
=$libdir
13915 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13916 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13928 if ac_fn_c_try_link
"$LINENO"; then :
13929 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13930 lt_cv_shlibpath_overrides_runpath
=yes
13933 rm -f core conftest.err conftest.
$ac_objext \
13934 conftest
$ac_exeext conftest.
$ac_ext
13935 LDFLAGS
=$save_LDFLAGS
13936 libdir
=$save_libdir
13940 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13942 # This implies no fast_install, which is unacceptable.
13943 # Some rework will be needed to allow for fast_install
13944 # before this can be enabled.
13945 hardcode_into_libs
=yes
13947 # Append ld.so.conf contents to the search path
13948 if test -f /etc
/ld.so.conf
; then
13949 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
13950 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13953 # We used to test for /lib/ld.so.1 and disable shared libraries on
13954 # powerpc, because MkLinux only supported shared libraries with the
13955 # GNU dynamic linker. Since this was broken with cross compilers,
13956 # most powerpc-linux boxes support dynamic linking these days and
13957 # people can always --disable-shared, the test was removed, and we
13958 # assume the GNU/Linux dynamic linker is in use.
13959 dynamic_linker
='GNU/Linux ld.so'
13966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13967 soname_spec
='${libname}${release}${shared_ext}$major'
13968 shlibpath_var
=LD_LIBRARY_PATH
13969 shlibpath_overrides_runpath
=no
13970 hardcode_into_libs
=yes
13971 dynamic_linker
='NetBSD ld.elf_so'
13978 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13980 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13981 dynamic_linker
='NetBSD (a.out) ld.so'
13983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13984 soname_spec
='${libname}${release}${shared_ext}$major'
13985 dynamic_linker
='NetBSD ld.elf_so'
13987 shlibpath_var
=LD_LIBRARY_PATH
13988 shlibpath_overrides_runpath
=yes
13989 hardcode_into_libs
=yes
13993 version_type
=linux
# correct to gnu/linux during the next big refactor
13994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13995 shlibpath_var
=LD_LIBRARY_PATH
13996 shlibpath_overrides_runpath
=yes
14003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14004 soname_spec
='${libname}${release}${shared_ext}$major'
14005 shlibpath_var
=LD_LIBRARY_PATH
14006 shlibpath_overrides_runpath
=no
14007 hardcode_into_libs
=yes
14008 dynamic_linker
='ldqnx.so'
14013 sys_lib_dlsearch_path_spec
="/usr/lib"
14015 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14017 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14018 *) need_version
=no
;;
14020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14021 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14022 shlibpath_var
=LD_LIBRARY_PATH
14023 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14025 openbsd2.
[89] | openbsd2.
[89].
*)
14026 shlibpath_overrides_runpath
=no
14029 shlibpath_overrides_runpath
=yes
14033 shlibpath_overrides_runpath
=yes
14038 libname_spec
='$name'
14041 library_names_spec
='$libname${shared_ext} $libname.a'
14042 dynamic_linker
='OS/2 ld.exe'
14043 shlibpath_var
=LIBPATH
14046 osf3
* | osf4
* | osf5
*)
14050 soname_spec
='${libname}${release}${shared_ext}$major'
14051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14052 shlibpath_var
=LD_LIBRARY_PATH
14053 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14054 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14062 version_type
=linux
# correct to gnu/linux during the next big refactor
14065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14066 soname_spec
='${libname}${release}${shared_ext}$major'
14067 shlibpath_var
=LD_LIBRARY_PATH
14068 shlibpath_overrides_runpath
=yes
14069 hardcode_into_libs
=yes
14070 # ldd complains unless libraries are executable
14071 postinstall_cmds
='chmod +x $lib'
14076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14077 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14078 shlibpath_var
=LD_LIBRARY_PATH
14079 shlibpath_overrides_runpath
=yes
14080 if test "$with_gnu_ld" = yes; then
14087 version_type
=linux
# correct to gnu/linux during the next big refactor
14088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14089 soname_spec
='${libname}${release}${shared_ext}$major'
14090 shlibpath_var
=LD_LIBRARY_PATH
14091 case $host_vendor in
14093 shlibpath_overrides_runpath
=no
14095 runpath_var
=LD_RUN_PATH
14103 shlibpath_overrides_runpath
=no
14104 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14110 if test -d /usr
/nec
;then
14111 version_type
=linux
# correct to gnu/linux during the next big refactor
14112 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14113 soname_spec
='$libname${shared_ext}.$major'
14114 shlibpath_var
=LD_LIBRARY_PATH
14118 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14119 version_type
=freebsd-elf
14122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14123 soname_spec
='${libname}${release}${shared_ext}$major'
14124 shlibpath_var
=LD_LIBRARY_PATH
14125 shlibpath_overrides_runpath
=yes
14126 hardcode_into_libs
=yes
14127 if test "$with_gnu_ld" = yes; then
14128 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14130 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14133 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14137 sys_lib_dlsearch_path_spec
='/usr/lib'
14141 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14142 version_type
=linux
# correct to gnu/linux during the next big refactor
14145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14146 shlibpath_var
=LD_LIBRARY_PATH
14147 shlibpath_overrides_runpath
=no
14148 hardcode_into_libs
=yes
14152 version_type
=linux
# correct to gnu/linux during the next big refactor
14153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14154 soname_spec
='${libname}${release}${shared_ext}$major'
14155 shlibpath_var
=LD_LIBRARY_PATH
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14163 $as_echo "$dynamic_linker" >&6; }
14164 test "$dynamic_linker" = no
&& can_build_shared
=no
14166 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14167 if test "$GCC" = yes; then
14168 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14171 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14172 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14174 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14175 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14270 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14272 if test -n "$hardcode_libdir_flag_spec" ||
14273 test -n "$runpath_var" ||
14274 test "X$hardcode_automatic" = "Xyes" ; then
14276 # We can hardcode non-existent directories.
14277 if test "$hardcode_direct" != no
&&
14278 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14279 # have to relink, otherwise we might link with an installed library
14280 # when we should be linking with a yet-to-be-installed one
14281 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14282 test "$hardcode_minus_L" != no
; then
14283 # Linking always hardcodes the temporary library directory.
14284 hardcode_action
=relink
14286 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14287 hardcode_action
=immediate
14290 # We cannot hardcode anything, or else we can only hardcode existing
14292 hardcode_action
=unsupported
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14295 $as_echo "$hardcode_action" >&6; }
14297 if test "$hardcode_action" = relink ||
14298 test "$inherit_rpath" = yes; then
14299 # Fast installation is not supported
14300 enable_fast_install
=no
14301 elif test "$shlibpath_overrides_runpath" = yes ||
14302 test "$enable_shared" = no
; then
14303 # Fast installation is not necessary
14304 enable_fast_install
=needless
14312 if test "x$enable_dlopen" != xyes
; then
14313 enable_dlopen
=unknown
14314 enable_dlopen_self
=unknown
14315 enable_dlopen_self_static
=unknown
14322 lt_cv_dlopen
="load_add_on"
14324 lt_cv_dlopen_self
=yes
14327 mingw
* | pw32
* | cegcc
*)
14328 lt_cv_dlopen
="LoadLibrary"
14333 lt_cv_dlopen
="dlopen"
14338 # if libdl is installed we need to link against it
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14340 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14341 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14342 $as_echo_n "(cached) " >&6
14344 ac_check_lib_save_LIBS
=$LIBS
14346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14364 if ac_fn_c_try_link
"$LINENO"; then :
14365 ac_cv_lib_dl_dlopen
=yes
14367 ac_cv_lib_dl_dlopen
=no
14369 rm -f core conftest.err conftest.
$ac_objext \
14370 conftest
$ac_exeext conftest.
$ac_ext
14371 LIBS
=$ac_check_lib_save_LIBS
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14374 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14375 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14376 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14379 lt_cv_dlopen
="dyld"
14381 lt_cv_dlopen_self
=yes
14388 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14389 if test "x$ac_cv_func_shl_load" = xyes
; then :
14390 lt_cv_dlopen
="shl_load"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14393 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14394 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14395 $as_echo_n "(cached) " >&6
14397 ac_check_lib_save_LIBS
=$LIBS
14399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14402 /* Override any GCC internal prototype to avoid an error.
14403 Use char because int might match the return type of a GCC
14404 builtin and then its argument prototype would still apply. */
14412 return shl_load ();
14417 if ac_fn_c_try_link
"$LINENO"; then :
14418 ac_cv_lib_dld_shl_load
=yes
14420 ac_cv_lib_dld_shl_load
=no
14422 rm -f core conftest.err conftest.
$ac_objext \
14423 conftest
$ac_exeext conftest.
$ac_ext
14424 LIBS
=$ac_check_lib_save_LIBS
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14427 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14428 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14429 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
14431 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14432 if test "x$ac_cv_func_dlopen" = xyes
; then :
14433 lt_cv_dlopen
="dlopen"
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14436 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14437 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14438 $as_echo_n "(cached) " >&6
14440 ac_check_lib_save_LIBS
=$LIBS
14442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14460 if ac_fn_c_try_link
"$LINENO"; then :
14461 ac_cv_lib_dl_dlopen
=yes
14463 ac_cv_lib_dl_dlopen
=no
14465 rm -f core conftest.err conftest.
$ac_objext \
14466 conftest
$ac_exeext conftest.
$ac_ext
14467 LIBS
=$ac_check_lib_save_LIBS
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14470 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14471 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14472 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14475 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14476 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14477 $as_echo_n "(cached) " >&6
14479 ac_check_lib_save_LIBS
=$LIBS
14480 LIBS
="-lsvld $LIBS"
14481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14484 /* Override any GCC internal prototype to avoid an error.
14485 Use char because int might match the return type of a GCC
14486 builtin and then its argument prototype would still apply. */
14499 if ac_fn_c_try_link
"$LINENO"; then :
14500 ac_cv_lib_svld_dlopen
=yes
14502 ac_cv_lib_svld_dlopen
=no
14504 rm -f core conftest.err conftest.
$ac_objext \
14505 conftest
$ac_exeext conftest.
$ac_ext
14506 LIBS
=$ac_check_lib_save_LIBS
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14509 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14510 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14511 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14514 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14515 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14516 $as_echo_n "(cached) " >&6
14518 ac_check_lib_save_LIBS
=$LIBS
14520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14523 /* Override any GCC internal prototype to avoid an error.
14524 Use char because int might match the return type of a GCC
14525 builtin and then its argument prototype would still apply. */
14533 return dld_link ();
14538 if ac_fn_c_try_link
"$LINENO"; then :
14539 ac_cv_lib_dld_dld_link
=yes
14541 ac_cv_lib_dld_dld_link
=no
14543 rm -f core conftest.err conftest.
$ac_objext \
14544 conftest
$ac_exeext conftest.
$ac_ext
14545 LIBS
=$ac_check_lib_save_LIBS
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14549 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14550 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
14571 if test "x$lt_cv_dlopen" != xno
; then
14577 case $lt_cv_dlopen in
14579 save_CPPFLAGS
="$CPPFLAGS"
14580 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14582 save_LDFLAGS
="$LDFLAGS"
14583 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14586 LIBS
="$lt_cv_dlopen_libs $LIBS"
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14590 if ${lt_cv_dlopen_self+:} false
; then :
14591 $as_echo_n "(cached) " >&6
14593 if test "$cross_compiling" = yes; then :
14594 lt_cv_dlopen_self
=cross
14596 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14597 lt_status
=$lt_dlunknown
14598 cat > conftest.
$ac_ext <<_LT_EOF
14599 #line $LINENO "configure"
14600 #include "confdefs.h"
14609 # define LT_DLGLOBAL RTLD_GLOBAL
14612 # define LT_DLGLOBAL DL_GLOBAL
14614 # define LT_DLGLOBAL 0
14618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14619 find out it does not work in some platform. */
14620 #ifndef LT_DLLAZY_OR_NOW
14622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14625 # define LT_DLLAZY_OR_NOW DL_LAZY
14628 # define LT_DLLAZY_OR_NOW RTLD_NOW
14631 # define LT_DLLAZY_OR_NOW DL_NOW
14633 # define LT_DLLAZY_OR_NOW 0
14640 /* When -fvisbility=hidden is used, assume the code has been annotated
14641 correspondingly for the symbols needed. */
14642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14643 int fnord () __attribute__((visibility("default")));
14646 int fnord () { return 42; }
14649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14650 int status = $lt_dlunknown;
14654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14658 else puts (dlerror ());
14660 /* dlclose (self); */
14668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14669 (eval $ac_link) 2>&5
14671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14672 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14673 (.
/conftest
; exit; ) >&5 2>/dev
/null
14675 case x
$lt_status in
14676 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14677 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14678 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14681 # compilation failed
14682 lt_cv_dlopen_self
=no
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14690 $as_echo "$lt_cv_dlopen_self" >&6; }
14692 if test "x$lt_cv_dlopen_self" = xyes
; then
14693 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14696 if ${lt_cv_dlopen_self_static+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 if test "$cross_compiling" = yes; then :
14700 lt_cv_dlopen_self_static
=cross
14702 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14703 lt_status
=$lt_dlunknown
14704 cat > conftest.
$ac_ext <<_LT_EOF
14705 #line $LINENO "configure"
14706 #include "confdefs.h"
14715 # define LT_DLGLOBAL RTLD_GLOBAL
14718 # define LT_DLGLOBAL DL_GLOBAL
14720 # define LT_DLGLOBAL 0
14724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14725 find out it does not work in some platform. */
14726 #ifndef LT_DLLAZY_OR_NOW
14728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14731 # define LT_DLLAZY_OR_NOW DL_LAZY
14734 # define LT_DLLAZY_OR_NOW RTLD_NOW
14737 # define LT_DLLAZY_OR_NOW DL_NOW
14739 # define LT_DLLAZY_OR_NOW 0
14746 /* When -fvisbility=hidden is used, assume the code has been annotated
14747 correspondingly for the symbols needed. */
14748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14749 int fnord () __attribute__((visibility("default")));
14752 int fnord () { return 42; }
14755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14756 int status = $lt_dlunknown;
14760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14764 else puts (dlerror ());
14766 /* dlclose (self); */
14774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14775 (eval $ac_link) 2>&5
14777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14778 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14779 (.
/conftest
; exit; ) >&5 2>/dev
/null
14781 case x
$lt_status in
14782 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14783 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14784 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14787 # compilation failed
14788 lt_cv_dlopen_self_static
=no
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14799 CPPFLAGS
="$save_CPPFLAGS"
14800 LDFLAGS
="$save_LDFLAGS"
14805 case $lt_cv_dlopen_self in
14806 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14807 *) enable_dlopen_self
=unknown
;;
14810 case $lt_cv_dlopen_self_static in
14811 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14812 *) enable_dlopen_self_static
=unknown
;;
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14836 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
14837 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14838 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14840 $as_echo "yes" >&6; }
14842 # FIXME - insert some real tests, host_os isn't really good enough
14845 if test -n "$STRIP" ; then
14846 striplib
="$STRIP -x"
14847 old_striplib
="$STRIP -S"
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14849 $as_echo "yes" >&6; }
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14852 $as_echo "no" >&6; }
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14857 $as_echo "no" >&6; }
14873 # Report which library types will actually be built
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14877 $as_echo "$can_build_shared" >&6; }
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14880 $as_echo_n "checking whether to build shared libraries... " >&6; }
14881 test "$can_build_shared" = "no" && enable_shared
=no
14883 # On AIX, shared libraries and static libraries use the same namespace, and
14884 # are all built from PIC.
14887 test "$enable_shared" = yes && enable_static
=no
14888 if test -n "$RANLIB"; then
14889 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14890 postinstall_cmds
='$RANLIB $lib'
14895 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14896 test "$enable_shared" = yes && enable_static
=no
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14901 $as_echo "$enable_shared" >&6; }
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14904 $as_echo_n "checking whether to build static libraries... " >&6; }
14905 # Make sure either enable_shared or enable_static is yes.
14906 test "$enable_shared" = yes || enable_static
=yes
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14908 $as_echo "$enable_static" >&6; }
14915 ac_cpp
='$CPP $CPPFLAGS'
14916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14924 (test "X$CXX" != "Xg++"))) ; then
14926 ac_cpp
='$CXXCPP $CPPFLAGS'
14927 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14932 if test -z "$CXXCPP"; then
14933 if ${ac_cv_prog_CXXCPP+:} false
; then :
14934 $as_echo_n "(cached) " >&6
14936 # Double quotes because CXXCPP needs to be expanded
14937 for CXXCPP
in "$CXX -E" "/lib/cpp"
14939 ac_preproc_ok
=false
14940 for ac_cxx_preproc_warn_flag
in '' yes
14942 # Use a header file that comes with gcc, so configuring glibc
14943 # with a fresh cross-compiler works.
14944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14945 # <limits.h> exists even on freestanding compilers.
14946 # On the NeXT, cc -E runs the code through the compiler's parser,
14947 # not just through cpp. "Syntax error" is here to catch this case.
14948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 # include <limits.h>
14953 # include <assert.h>
14957 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14960 # Broken: fails on valid input.
14963 rm -f conftest.err conftest.i conftest.
$ac_ext
14965 # OK, works on sane cases. Now check whether nonexistent headers
14966 # can be detected and how.
14967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14969 #include <ac_nonexistent.h>
14971 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14972 # Broken: success on invalid input.
14975 # Passes both tests.
14979 rm -f conftest.err conftest.i conftest.
$ac_ext
14982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14983 rm -f conftest.i conftest.err conftest.
$ac_ext
14984 if $ac_preproc_ok; then :
14989 ac_cv_prog_CXXCPP
=$CXXCPP
14992 CXXCPP
=$ac_cv_prog_CXXCPP
14994 ac_cv_prog_CXXCPP
=$CXXCPP
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14997 $as_echo "$CXXCPP" >&6; }
14998 ac_preproc_ok
=false
14999 for ac_cxx_preproc_warn_flag
in '' yes
15001 # Use a header file that comes with gcc, so configuring glibc
15002 # with a fresh cross-compiler works.
15003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15004 # <limits.h> exists even on freestanding compilers.
15005 # On the NeXT, cc -E runs the code through the compiler's parser,
15006 # not just through cpp. "Syntax error" is here to catch this case.
15007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15010 # include <limits.h>
15012 # include <assert.h>
15016 if ac_fn_cxx_try_cpp
"$LINENO"; then :
15019 # Broken: fails on valid input.
15022 rm -f conftest.err conftest.i conftest.
$ac_ext
15024 # OK, works on sane cases. Now check whether nonexistent headers
15025 # can be detected and how.
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15028 #include <ac_nonexistent.h>
15030 if ac_fn_cxx_try_cpp
"$LINENO"; then :
15031 # Broken: success on invalid input.
15034 # Passes both tests.
15038 rm -f conftest.err conftest.i conftest.
$ac_ext
15041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15042 rm -f conftest.i conftest.err conftest.
$ac_ext
15043 if $ac_preproc_ok; then :
15046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15048 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
15049 See \`config.log' for more details" "$LINENO" 5; }
15053 ac_cpp
='$CPP $CPPFLAGS'
15054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15059 _lt_caught_CXX_error
=yes
15063 ac_cpp
='$CXXCPP $CPPFLAGS'
15064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15068 archive_cmds_need_lc_CXX
=no
15069 allow_undefined_flag_CXX
=
15070 always_export_symbols_CXX
=no
15071 archive_expsym_cmds_CXX
=
15072 compiler_needs_object_CXX
=no
15073 export_dynamic_flag_spec_CXX
=
15074 hardcode_direct_CXX
=no
15075 hardcode_direct_absolute_CXX
=no
15076 hardcode_libdir_flag_spec_CXX
=
15077 hardcode_libdir_separator_CXX
=
15078 hardcode_minus_L_CXX
=no
15079 hardcode_shlibpath_var_CXX
=unsupported
15080 hardcode_automatic_CXX
=no
15081 inherit_rpath_CXX
=no
15083 module_expsym_cmds_CXX
=
15084 link_all_deplibs_CXX
=unknown
15085 old_archive_cmds_CXX
=$old_archive_cmds
15086 reload_flag_CXX
=$reload_flag
15087 reload_cmds_CXX
=$reload_cmds
15088 no_undefined_flag_CXX
=
15089 whole_archive_flag_spec_CXX
=
15090 enable_shared_with_static_runtimes_CXX
=no
15092 # Source file extension for C++ test sources.
15095 # Object file extension for compiled C++ test sources.
15099 # No sense in running all these tests if we already determined that
15100 # the CXX compiler isn't working. Some variables (like enable_shared)
15101 # are currently assumed to apply to all compilers on this platform,
15102 # and will be corrupted by setting them based on a non-working compiler.
15103 if test "$_lt_caught_CXX_error" != yes; then
15104 # Code to be used in simple compile tests
15105 lt_simple_compile_test_code
="int some_variable = 0;"
15107 # Code to be used in simple link tests
15108 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15110 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15117 # If no C compiler was specified, use CC.
15120 # If no C compiler flags were specified, use CFLAGS.
15121 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15123 # Allow CC to be a program name with arguments.
15127 # save warnings/boilerplate of simple test code
15128 ac_outfile
=conftest.
$ac_objext
15129 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15130 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15131 _lt_compiler_boilerplate
=`cat conftest.err`
15134 ac_outfile
=conftest.
$ac_objext
15135 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15136 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15137 _lt_linker_boilerplate
=`cat conftest.err`
15141 # Allow CC to be a program name with arguments.
15143 lt_save_CFLAGS
=$CFLAGS
15147 lt_save_with_gnu_ld
=$with_gnu_ld
15148 lt_save_path_LD
=$lt_cv_path_LD
15149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15150 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15152 $as_unset lt_cv_prog_gnu_ld
15154 if test -n "${lt_cv_path_LDCXX+set}"; then
15155 lt_cv_path_LD
=$lt_cv_path_LDCXX
15157 $as_unset lt_cv_path_LD
15159 test -z "${LDCXX+set}" || LD
=$LDCXX
15164 for cc_temp
in $compiler""; do
15166 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15167 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15172 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15175 if test -n "$compiler"; then
15176 # We don't want -fno-exception when compiling C++ code, so set the
15177 # no_builtin_flag separately
15178 if test "$GXX" = yes; then
15179 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15181 lt_prog_compiler_no_builtin_flag_CXX
=
15184 if test "$GXX" = yes; then
15185 # Set up default GNU C++ configuration
15189 # Check whether --with-gnu-ld was given.
15190 if test "${with_gnu_ld+set}" = set; then :
15191 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15197 if test "$GCC" = yes; then
15198 # Check if gcc -print-prog-name=ld gives a path.
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15200 $as_echo_n "checking for ld used by $CC... " >&6; }
15203 # gcc leaves a trailing carriage return which upsets mingw
15204 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15206 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15209 # Accept absolute paths.
15211 re_direlt
='/[^/][^/]*/\.\./'
15212 # Canonicalize the pathname of ld
15213 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15214 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15215 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15217 test -z "$LD" && LD
="$ac_prog"
15220 # If it fails, then pretend we aren't using GCC.
15224 # If it is relative, then search for the first ld in PATH.
15225 with_gnu_ld
=unknown
15228 elif test "$with_gnu_ld" = yes; then
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15230 $as_echo_n "checking for GNU ld... " >&6; }
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15233 $as_echo_n "checking for non-GNU ld... " >&6; }
15235 if ${lt_cv_path_LD+:} false
; then :
15236 $as_echo_n "(cached) " >&6
15238 if test -z "$LD"; then
15239 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15240 for ac_dir
in $PATH; do
15242 test -z "$ac_dir" && ac_dir
=.
15243 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15244 lt_cv_path_LD
="$ac_dir/$ac_prog"
15245 # Check to see if the program is GNU ld. I'd rather use --version,
15246 # but apparently some variants of GNU ld only accept -v.
15247 # Break only if it was the GNU/non-GNU ld that we prefer.
15248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15249 *GNU
* |
*'with BFD'*)
15250 test "$with_gnu_ld" != no
&& break
15253 test "$with_gnu_ld" != yes && break
15260 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15264 LD
="$lt_cv_path_LD"
15265 if test -n "$LD"; then
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15267 $as_echo "$LD" >&6; }
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15270 $as_echo "no" >&6; }
15272 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15275 if ${lt_cv_prog_gnu_ld+:} false
; then :
15276 $as_echo_n "(cached) " >&6
15278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15279 case `$LD -v 2>&1 </dev/null` in
15280 *GNU
* |
*'with BFD'*)
15281 lt_cv_prog_gnu_ld
=yes
15284 lt_cv_prog_gnu_ld
=no
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15289 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15290 with_gnu_ld
=$lt_cv_prog_gnu_ld
15298 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15299 # archiving commands below assume that GNU ld is being used.
15300 if test "$with_gnu_ld" = yes; then
15301 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15302 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15304 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15305 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15307 # If archive_cmds runs LD, not CC, wlarc should be empty
15308 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15309 # investigate it a little bit more. (MM)
15312 # ancient GNU ld didn't support --whole-archive et. al.
15313 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15314 $GREP 'no-whole-archive' > /dev
/null
; then
15315 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15317 whole_archive_flag_spec_CXX
=
15323 # A generic and very simple default shared library creation
15324 # command for GNU C++ for the case where it uses the native
15325 # linker, instead of GNU ld. If possible, this setting should
15326 # overridden to take advantage of the native linker features on
15327 # the platform it is being used on.
15328 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15331 # Commands to make compiler produce verbose output that lists
15332 # what "hidden" libraries, object files and flags are used when
15333 # linking a shared library.
15334 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15342 # PORTME: fill in a description of your system's C++ link characteristics
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15344 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15348 # FIXME: insert proper C++ library support
15352 if test "$host_cpu" = ia64
; then
15353 # On IA64, the linker does run time linking by default, so we don't
15354 # have to do anything special.
15355 aix_use_runtimelinking
=no
15356 exp_sym_flag
='-Bexport'
15359 aix_use_runtimelinking
=no
15361 # Test if we are trying to use run time linking or normal
15362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15363 # need to do runtime linking.
15364 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15365 for ld_flag
in $LDFLAGS; do
15368 aix_use_runtimelinking
=yes
15376 exp_sym_flag
='-bexport'
15377 no_entry_flag
='-bnoentry'
15380 # When large executables or shared objects are built, AIX ld can
15381 # have problems creating the table of contents. If linking a library
15382 # or program results in "error TOC overflow" add -mminimal-toc to
15383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15386 archive_cmds_CXX
=''
15387 hardcode_direct_CXX
=yes
15388 hardcode_direct_absolute_CXX
=yes
15389 hardcode_libdir_separator_CXX
=':'
15390 link_all_deplibs_CXX
=yes
15391 file_list_spec_CXX
='${wl}-f,'
15393 if test "$GXX" = yes; then
15394 case $host_os in aix4.
[012]|aix4.
[012].
*)
15395 # We only want to do this on AIX 4.2 and lower, the check
15396 # below for broken collect2 doesn't work under 4.3+
15397 collect2name
=`${CC} -print-prog-name=collect2`
15398 if test -f "$collect2name" &&
15399 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
15401 # We have reworked collect2
15404 # We have old collect2
15405 hardcode_direct_CXX
=unsupported
15406 # It fails to find uninstalled libraries when the uninstalled
15407 # path is not listed in the libpath. Setting hardcode_minus_L
15408 # to unsupported forces relinking
15409 hardcode_minus_L_CXX
=yes
15410 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15411 hardcode_libdir_separator_CXX
=
15414 shared_flag
='-shared'
15415 if test "$aix_use_runtimelinking" = yes; then
15416 shared_flag
="$shared_flag "'${wl}-G'
15420 if test "$host_cpu" = ia64
; then
15421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15422 # chokes on -Wl,-G. The following line is correct:
15425 if test "$aix_use_runtimelinking" = yes; then
15426 shared_flag
='${wl}-G'
15428 shared_flag
='${wl}-bM:SRE'
15433 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
15434 # It seems that -bexpall does not export symbols beginning with
15435 # underscore (_), so it is better to generate a list of symbols to
15437 always_export_symbols_CXX
=yes
15438 if test "$aix_use_runtimelinking" = yes; then
15439 # Warning - without using the other runtime loading flags (-brtl),
15440 # -berok will link without error, but may produce a broken library.
15441 allow_undefined_flag_CXX
='-berok'
15442 # Determine the default libpath from the value encoded in an empty
15444 if test "${lt_cv_aix_libpath+set}" = set; then
15445 aix_libpath
=$lt_cv_aix_libpath
15447 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15448 $as_echo_n "(cached) " >&6
15450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15461 if ac_fn_cxx_try_link
"$LINENO"; then :
15463 lt_aix_libpath_sed
='
15464 /Import File Strings/,/^$/ {
15466 s/^0 *\([^ ]*\) *$/\1/
15470 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15471 # Check for a 64-bit object if we didn't find anything.
15472 if test -z "$lt_cv_aix_libpath__CXX"; then
15473 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15476 rm -f core conftest.err conftest.
$ac_objext \
15477 conftest
$ac_exeext conftest.
$ac_ext
15478 if test -z "$lt_cv_aix_libpath__CXX"; then
15479 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
15484 aix_libpath
=$lt_cv_aix_libpath__CXX
15487 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15489 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15491 if test "$host_cpu" = ia64
; then
15492 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
15493 allow_undefined_flag_CXX
="-z nodefs"
15494 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15496 # Determine the default libpath from the value encoded in an
15497 # empty executable.
15498 if test "${lt_cv_aix_libpath+set}" = set; then
15499 aix_libpath
=$lt_cv_aix_libpath
15501 if ${lt_cv_aix_libpath__CXX+:} false
; then :
15502 $as_echo_n "(cached) " >&6
15504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15515 if ac_fn_cxx_try_link
"$LINENO"; then :
15517 lt_aix_libpath_sed
='
15518 /Import File Strings/,/^$/ {
15520 s/^0 *\([^ ]*\) *$/\1/
15524 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15525 # Check for a 64-bit object if we didn't find anything.
15526 if test -z "$lt_cv_aix_libpath__CXX"; then
15527 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15530 rm -f core conftest.err conftest.
$ac_objext \
15531 conftest
$ac_exeext conftest.
$ac_ext
15532 if test -z "$lt_cv_aix_libpath__CXX"; then
15533 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
15538 aix_libpath
=$lt_cv_aix_libpath__CXX
15541 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15542 # Warning - without using the other run time loading flags,
15543 # -berok will link without error, but may produce a broken library.
15544 no_undefined_flag_CXX
=' ${wl}-bernotok'
15545 allow_undefined_flag_CXX
=' ${wl}-berok'
15546 if test "$with_gnu_ld" = yes; then
15547 # We only use this code for GNU lds that support --whole-archive.
15548 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15550 # Exported symbols can be pulled into shared objects from archives
15551 whole_archive_flag_spec_CXX
='$convenience'
15553 archive_cmds_need_lc_CXX
=yes
15554 # This is similar to how AIX traditionally builds its shared
15556 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15562 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15563 allow_undefined_flag_CXX
=unsupported
15564 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15565 # support --undefined. This deserves some investigation. FIXME
15566 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15573 case $cc_basename in
15575 # FIXME: insert proper C++ library support
15581 cygwin
* | mingw
* | pw32
* | cegcc
*)
15582 case $GXX,$cc_basename in
15585 # hardcode_libdir_flag_spec is actually meaningless, as there is
15586 # no search path for DLLs.
15587 hardcode_libdir_flag_spec_CXX
=' '
15588 allow_undefined_flag_CXX
=unsupported
15589 always_export_symbols_CXX
=yes
15590 file_list_spec_CXX
='@'
15591 # Tell ltmain to make .lib files, not .a files.
15593 # Tell ltmain to make .dll files, not .so files.
15595 # FIXME: Setting linknames here is a bad hack.
15596 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15597 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15598 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
15600 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
15602 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15604 # The linker will not automatically build a static lib if we build a DLL.
15605 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15606 enable_shared_with_static_runtimes_CXX
=yes
15608 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
15609 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
15610 lt_tool_outputfile="@TOOL_OUTPUT@"~
15611 case $lt_outputfile in
15614 lt_outputfile="$lt_outputfile.exe"
15615 lt_tool_outputfile="$lt_tool_outputfile.exe"
15618 func_to_tool_file "$lt_outputfile"~
15619 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15620 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15621 $RM "$lt_outputfile.manifest";
15626 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15627 # as there is no search path for DLLs.
15628 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15629 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
15630 allow_undefined_flag_CXX
=unsupported
15631 always_export_symbols_CXX
=no
15632 enable_shared_with_static_runtimes_CXX
=yes
15634 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
15635 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15636 # If the export-symbols file already is a .def file (1st line
15637 # is EXPORTS), use it as is; otherwise, prepend...
15638 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15639 cp $export_symbols $output_objdir/$soname.def;
15641 echo EXPORTS > $output_objdir/$soname.def;
15642 cat $export_symbols >> $output_objdir/$soname.def;
15644 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15651 darwin
* | rhapsody
*)
15654 archive_cmds_need_lc_CXX
=no
15655 hardcode_direct_CXX
=no
15656 hardcode_automatic_CXX
=yes
15657 hardcode_shlibpath_var_CXX
=unsupported
15658 if test "$lt_cv_ld_force_load" = "yes"; then
15659 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15662 whole_archive_flag_spec_CXX
=''
15664 link_all_deplibs_CXX
=yes
15665 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
15666 case $cc_basename in
15667 ifort
*) _lt_dar_can_shared
=yes ;;
15668 *) _lt_dar_can_shared
=$GCC ;;
15670 if test "$_lt_dar_can_shared" = "yes"; then
15671 output_verbose_link_cmd
=func_echo_all
15672 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15673 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15674 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15675 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15676 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15677 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15678 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15688 case $cc_basename in
15690 # FIXME: insert proper C++ library support
15694 # Green Hills C++ Compiler
15695 # FIXME: insert proper C++ library support
15699 # FIXME: insert proper C++ library support
15706 # C++ shared libraries reported to be fairly broken before
15712 archive_cmds_need_lc_CXX
=no
15715 freebsd
* | dragonfly
*)
15716 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15725 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15726 link_all_deplibs_CXX
=yes
15730 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15731 hardcode_libdir_separator_CXX
=:
15732 export_dynamic_flag_spec_CXX
='${wl}-E'
15733 hardcode_direct_CXX
=yes
15734 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15735 # but as the default
15736 # location of the library.
15738 case $cc_basename in
15740 # FIXME: insert proper C++ library support
15744 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15745 # Commands to make compiler produce verbose output that lists
15746 # what "hidden" libraries, object files and flags are used when
15747 # linking a shared library.
15749 # There doesn't appear to be a way to prevent this compiler from
15750 # explicitly linking system object files so we need to strip them
15751 # from the output so that they don't get included in the library
15753 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15756 if test "$GXX" = yes; then
15757 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15759 # FIXME: insert proper C++ library support
15767 if test $with_gnu_ld = no
; then
15768 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15769 hardcode_libdir_separator_CXX
=:
15775 export_dynamic_flag_spec_CXX
='${wl}-E'
15781 hardcode_direct_CXX
=no
15782 hardcode_shlibpath_var_CXX
=no
15785 hardcode_direct_CXX
=yes
15786 hardcode_direct_absolute_CXX
=yes
15787 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15788 # but as the default
15789 # location of the library.
15793 case $cc_basename in
15795 # FIXME: insert proper C++ library support
15801 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15804 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15807 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15810 # Commands to make compiler produce verbose output that lists
15811 # what "hidden" libraries, object files and flags are used when
15812 # linking a shared library.
15814 # There doesn't appear to be a way to prevent this compiler from
15815 # explicitly linking system object files so we need to strip them
15816 # from the output so that they don't get included in the library
15818 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15821 if test "$GXX" = yes; then
15822 if test $with_gnu_ld = no
; then
15825 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15828 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15831 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15836 # FIXME: insert proper C++ library support
15844 hardcode_direct_CXX
=no
15845 hardcode_shlibpath_var_CXX
=no
15846 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15847 export_dynamic_flag_spec_CXX
='${wl}-E'
15848 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15849 # Instead, shared libraries are loaded at an image base (0x10000000 by
15850 # default) and relocated if they conflict, which is a slow very memory
15851 # consuming and fragmenting process. To avoid this, we pick a random,
15852 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15853 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15854 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15855 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15858 case $cc_basename in
15861 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15863 # Archives containing C++ object files must be created using
15864 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15865 # necessary to make sure instantiated templates are included
15867 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15870 if test "$GXX" = yes; then
15871 if test "$with_gnu_ld" = no
; then
15872 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15874 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15877 link_all_deplibs_CXX
=yes
15880 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15881 hardcode_libdir_separator_CXX
=:
15882 inherit_rpath_CXX
=yes
15885 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15886 case $cc_basename in
15888 # Kuck and Associates, Inc. (KAI) C++ Compiler
15890 # KCC will only create a shared library if the output file
15891 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15892 # to its proper name (with version) after linking.
15893 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15894 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15895 # Commands to make compiler produce verbose output that lists
15896 # what "hidden" libraries, object files and flags are used when
15897 # linking a shared library.
15899 # There doesn't appear to be a way to prevent this compiler from
15900 # explicitly linking system object files so we need to strip them
15901 # from the output so that they don't get included in the library
15903 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15906 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15908 # Archives containing C++ object files must be created using
15909 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15910 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15915 # version 8.0 and above of icpc choke on multiply defined symbols
15916 # if we add $predep_objects and $postdep_objects, however 7.1 and
15917 # earlier do not add the objects themselves.
15918 case `$CC -V 2>&1` in
15920 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15921 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15923 *) # Version 8.0 or newer
15926 ia64
*) tmp_idyn
=' -i_dynamic';;
15928 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15929 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15932 archive_cmds_need_lc_CXX
=no
15933 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15934 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15935 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15938 # Portland Group C++ compiler
15940 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
15941 prelink_cmds_CXX
='tpldir=Template.dir~
15943 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15944 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15945 old_archive_cmds_CXX
='tpldir=Template.dir~
15947 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15948 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15950 archive_cmds_CXX
='tpldir=Template.dir~
15952 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15953 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15954 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15956 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15957 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15959 *) # Version 6 and above use weak symbols
15960 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15961 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15965 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15966 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15967 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15971 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15972 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15974 runpath_var
=LD_RUN_PATH
15975 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15976 hardcode_libdir_separator_CXX
=:
15978 # Commands to make compiler produce verbose output that lists
15979 # what "hidden" libraries, object files and flags are used when
15980 # linking a shared library.
15982 # There doesn't appear to be a way to prevent this compiler from
15983 # explicitly linking system object files so we need to strip them
15984 # from the output so that they don't get included in the library
15986 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15988 xl
* | mpixl
* | bgxl
*)
15989 # IBM XL 8.0 on PPC, with GNU ld
15990 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15991 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15992 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15993 if test "x$supports_anon_versioning" = xyes
; then
15994 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15995 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15996 echo "local: *; };" >> $output_objdir/$libname.ver~
15997 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16001 case `$CC -V 2>&1 | sed 5q` in
16004 no_undefined_flag_CXX
=' -zdefs'
16005 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16006 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
16007 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16008 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
16009 compiler_needs_object_CXX
=yes
16011 # Not sure whether something based on
16012 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16014 output_verbose_link_cmd
='func_echo_all'
16016 # Archives containing C++ object files must be created using
16017 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16018 # necessary to make sure instantiated templates are included
16020 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16028 # FIXME: insert proper C++ library support
16033 # FIXME: insert proper C++ library support
16038 case $cc_basename in
16040 # FIXME: insert proper C++ library support
16044 # FIXME: insert proper C++ library support
16051 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16052 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16054 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16055 hardcode_direct_CXX
=yes
16056 hardcode_shlibpath_var_CXX
=no
16058 # Workaround some broken pre-1.5 toolchains
16059 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16067 # C++ shared libraries are fairly broken
16072 if test -f /usr
/libexec
/ld.so
; then
16073 hardcode_direct_CXX
=yes
16074 hardcode_shlibpath_var_CXX
=no
16075 hardcode_direct_absolute_CXX
=yes
16076 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16077 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
16078 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16079 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16080 export_dynamic_flag_spec_CXX
='${wl}-E'
16081 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16083 output_verbose_link_cmd
=func_echo_all
16089 osf3
* | osf4
* | osf5
*)
16090 case $cc_basename in
16092 # Kuck and Associates, Inc. (KAI) C++ Compiler
16094 # KCC will only create a shared library if the output file
16095 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16096 # to its proper name (with version) after linking.
16097 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16099 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
16100 hardcode_libdir_separator_CXX
=:
16102 # Archives containing C++ object files must be created using
16103 # the KAI C++ compiler.
16105 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16106 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16110 # Rational C++ 2.4.1
16111 # FIXME: insert proper C++ library support
16117 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16118 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16119 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16122 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16123 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16124 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16125 echo "-hidden">> $lib.exp~
16126 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
16128 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16132 hardcode_libdir_separator_CXX
=:
16134 # Commands to make compiler produce verbose output that lists
16135 # what "hidden" libraries, object files and flags are used when
16136 # linking a shared library.
16138 # There doesn't appear to be a way to prevent this compiler from
16139 # explicitly linking system object files so we need to strip them
16140 # from the output so that they don't get included in the library
16142 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16145 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16146 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16149 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16152 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16156 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16157 hardcode_libdir_separator_CXX
=:
16159 # Commands to make compiler produce verbose output that lists
16160 # what "hidden" libraries, object files and flags are used when
16161 # linking a shared library.
16162 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16165 # FIXME: insert proper C++ library support
16173 # FIXME: insert proper C++ library support
16178 case $cc_basename in
16181 # FIXME: insert proper C++ library support
16186 # FIXME: insert proper C++ library support
16190 # FIXME: insert proper C++ library support
16197 case $cc_basename in
16199 # Sun C++ 4.2, 5.x and Centerline C++
16200 archive_cmds_need_lc_CXX
=yes
16201 no_undefined_flag_CXX
=' -zdefs'
16202 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16203 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16204 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16206 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16207 hardcode_shlibpath_var_CXX
=no
16209 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16211 # The compiler driver will combine and reorder linker options,
16212 # but understands `-z linker_flag'.
16213 # Supported since Solaris 2.6 (maybe 2.5.1?)
16214 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16217 link_all_deplibs_CXX
=yes
16219 output_verbose_link_cmd
='func_echo_all'
16221 # Archives containing C++ object files must be created using
16222 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16223 # necessary to make sure instantiated templates are included
16225 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16228 # Green Hills C++ Compiler
16229 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16231 # The C++ compiler must be used to create the archive.
16232 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16235 # GNU C++ compiler with Solaris linker
16236 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16237 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
16238 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
16239 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16240 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16241 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16243 # Commands to make compiler produce verbose output that lists
16244 # what "hidden" libraries, object files and flags are used when
16245 # linking a shared library.
16246 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16248 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16250 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16251 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16252 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16254 # Commands to make compiler produce verbose output that lists
16255 # what "hidden" libraries, object files and flags are used when
16256 # linking a shared library.
16257 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16260 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
16262 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16264 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16272 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16273 no_undefined_flag_CXX
='${wl}-z,text'
16274 archive_cmds_need_lc_CXX
=no
16275 hardcode_shlibpath_var_CXX
=no
16276 runpath_var
='LD_RUN_PATH'
16278 case $cc_basename in
16280 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16281 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16284 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16285 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16290 sysv5
* | sco3.2v5
* | sco5v6
*)
16291 # Note: We can NOT use -z defs as we might desire, because we do not
16292 # link with -lc, and that would cause any symbols used from libc to
16293 # always be unresolved, which means just about no library would
16294 # ever link correctly. If we're not using GNU ld we use -z text
16295 # though, which does catch some bad symbols but isn't as heavy-handed
16297 no_undefined_flag_CXX
='${wl}-z,text'
16298 allow_undefined_flag_CXX
='${wl}-z,nodefs'
16299 archive_cmds_need_lc_CXX
=no
16300 hardcode_shlibpath_var_CXX
=no
16301 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
16302 hardcode_libdir_separator_CXX
=':'
16303 link_all_deplibs_CXX
=yes
16304 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
16305 runpath_var
='LD_RUN_PATH'
16307 case $cc_basename in
16309 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16310 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16311 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16312 '"$old_archive_cmds_CXX"
16313 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16314 '"$reload_cmds_CXX"
16317 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16318 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16324 case $cc_basename in
16326 # NonStop-UX NCC 3.20
16327 # FIXME: insert proper C++ library support
16331 # FIXME: insert proper C++ library support
16338 # FIXME: insert proper C++ library support
16343 # FIXME: insert proper C++ library support
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16349 $as_echo "$ld_shlibs_CXX" >&6; }
16350 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16356 ## There is no encapsulation within the following macros, do not change
16357 ## the running order or otherwise move them around unless you know exactly
16358 ## what you are doing...
16359 # Dependencies to place before and after the object being linked:
16360 predep_objects_CXX
=
16361 postdep_objects_CXX
=
16364 compiler_lib_search_path_CXX
=
16366 cat > conftest.
$ac_ext <<_LT_EOF
16370 Foo (void) { a = 0; }
16377 _lt_libdeps_save_CFLAGS
=$CFLAGS
16378 case "$CC $CFLAGS " in #(
16379 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
16380 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
16381 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
16384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16385 (eval $ac_compile) 2>&5
16387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16388 test $ac_status = 0; }; then
16389 # Parse the compiler output and extract the necessary
16390 # objects, libraries and library flags.
16392 # Sentinel used to keep track of whether or not we are before
16393 # the conftest object file.
16394 pre_test_object_deps_done
=no
16396 for p
in `eval "$output_verbose_link_cmd"`; do
16397 case ${prev}${p} in
16400 # Some compilers place space between "-{L,R}" and the path.
16401 # Remove the space.
16402 if test $p = "-L" ||
16403 test $p = "-R"; then
16408 # Expand the sysroot to ease extracting the directories later.
16409 if test -z "$prev"; then
16411 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
16412 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
16413 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
16417 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
16419 if test "$pre_test_object_deps_done" = no
; then
16422 # Internal compiler library paths should come after those
16423 # provided the user. The postdeps already come after the
16424 # user supplied libs so there is no need to process them.
16425 if test -z "$compiler_lib_search_path_CXX"; then
16426 compiler_lib_search_path_CXX
="${prev}${p}"
16428 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
16431 # The "-l" case would never come before the object being
16432 # linked, so don't bother handling this case.
16435 if test -z "$postdeps_CXX"; then
16436 postdeps_CXX
="${prev}${p}"
16438 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
16444 *.lto.
$objext) ;; # Ignore GCC LTO objects
16446 # This assumes that the test object file only shows up
16447 # once in the compiler output.
16448 if test "$p" = "conftest.$objext"; then
16449 pre_test_object_deps_done
=yes
16453 if test "$pre_test_object_deps_done" = no
; then
16454 if test -z "$predep_objects_CXX"; then
16455 predep_objects_CXX
="$p"
16457 predep_objects_CXX
="$predep_objects_CXX $p"
16460 if test -z "$postdep_objects_CXX"; then
16461 postdep_objects_CXX
="$p"
16463 postdep_objects_CXX
="$postdep_objects_CXX $p"
16468 *) ;; # Ignore the rest.
16476 echo "libtool.m4: error: problem compiling CXX test program"
16479 $RM -f confest.
$objext
16480 CFLAGS
=$_lt_libdeps_save_CFLAGS
16482 # PORTME: override above test on systems where it is broken
16485 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16486 # hack all around it, let's just trust "g++" to DTRT.
16487 predep_objects_CXX
=
16488 postdep_objects_CXX
=
16493 case `$CC -V 2>&1 | sed 5q` in
16497 # The more standards-conforming stlport4 library is
16498 # incompatible with the Cstd library. Avoid specifying
16499 # it if it's in CXXFLAGS. Ignore libCrun as
16500 # -library=stlport4 depends on it.
16501 case " $CXX $CXXFLAGS " in
16502 *" -library=stlport4 "*)
16503 solaris_use_stlport4
=yes
16507 if test "$solaris_use_stlport4" != yes; then
16508 postdeps_CXX
='-library=Cstd -library=Crun'
16515 case $cc_basename in
16517 # The more standards-conforming stlport4 library is
16518 # incompatible with the Cstd library. Avoid specifying
16519 # it if it's in CXXFLAGS. Ignore libCrun as
16520 # -library=stlport4 depends on it.
16521 case " $CXX $CXXFLAGS " in
16522 *" -library=stlport4 "*)
16523 solaris_use_stlport4
=yes
16527 # Adding this requires a known-good setup of shared libraries for
16528 # Sun compiler versions before 5.6, else PIC objects from an old
16529 # archive will be linked into the output, leading to subtle bugs.
16530 if test "$solaris_use_stlport4" != yes; then
16531 postdeps_CXX
='-library=Cstd -library=Crun'
16539 case " $postdeps_CXX " in
16540 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16542 compiler_lib_search_dirs_CXX
=
16543 if test -n "${compiler_lib_search_path_CXX}"; then
16544 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16577 lt_prog_compiler_wl_CXX
=
16578 lt_prog_compiler_pic_CXX
=
16579 lt_prog_compiler_static_CXX
=
16582 # C++ specific cases for pic, static, wl, etc.
16583 if test "$GXX" = yes; then
16584 lt_prog_compiler_wl_CXX
='-Wl,'
16585 lt_prog_compiler_static_CXX
='-static'
16589 # All AIX code is PIC.
16590 if test "$host_cpu" = ia64
; then
16591 # AIX 5 now supports IA64 processor
16592 lt_prog_compiler_static_CXX
='-Bstatic'
16599 # see comment about AmigaOS4 .so support
16600 lt_prog_compiler_pic_CXX
='-fPIC'
16603 # FIXME: we need at least 68020 code to build shared libraries, but
16604 # adding the `-m68020' flag to GCC prevents building anything better,
16606 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16611 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16612 # PIC is the default for these OSes.
16614 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16615 # This hack is so that the source file can tell whether it is being
16616 # built for inclusion in a dll (and should export symbols for example).
16617 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16618 # (--disable-auto-import) libraries
16619 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16621 darwin
* | rhapsody
*)
16622 # PIC is the default on this platform
16623 # Common symbols not allowed in MH_DYLIB files
16624 lt_prog_compiler_pic_CXX
='-fno-common'
16627 # DJGPP does not support shared libraries at all
16628 lt_prog_compiler_pic_CXX
=
16631 # PIC is the default for Haiku.
16632 # The "-static" flag exists, but is broken.
16633 lt_prog_compiler_static_CXX
=
16636 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16637 # Instead, we relocate shared libraries at runtime.
16640 if test -d /usr
/nec
; then
16641 lt_prog_compiler_pic_CXX
=-Kconform_pic
16645 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16646 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16647 # sets the default TLS model and affects inlining.
16652 lt_prog_compiler_pic_CXX
='-fPIC'
16657 # QNX uses GNU C++, but need to define -shared option too, otherwise
16658 # it will coredump.
16659 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16662 lt_prog_compiler_pic_CXX
='-fPIC'
16668 # All AIX code is PIC.
16669 if test "$host_cpu" = ia64
; then
16670 # AIX 5 now supports IA64 processor
16671 lt_prog_compiler_static_CXX
='-Bstatic'
16673 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16677 case $cc_basename in
16679 # Green Hills C++ Compiler
16680 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16684 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16685 # This hack is so that the source file can tell whether it is being
16686 # built for inclusion in a dll (and should export symbols for example).
16687 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16690 case $cc_basename in
16692 lt_prog_compiler_pic_CXX
='-KPIC'
16695 # Green Hills C++ Compiler
16696 lt_prog_compiler_pic_CXX
='-pic'
16702 freebsd
* | dragonfly
*)
16703 # FreeBSD uses GNU C++
16705 hpux9
* | hpux10
* | hpux11
*)
16706 case $cc_basename in
16708 lt_prog_compiler_wl_CXX
='-Wl,'
16709 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16710 if test "$host_cpu" != ia64
; then
16711 lt_prog_compiler_pic_CXX
='+Z'
16715 lt_prog_compiler_wl_CXX
='-Wl,'
16716 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16722 lt_prog_compiler_pic_CXX
='+Z'
16731 # This is c89, which is MS Visual C++ (no shared libs)
16732 # Anyone wants to do a port?
16734 irix5
* | irix6
* | nonstopux
*)
16735 case $cc_basename in
16737 lt_prog_compiler_wl_CXX
='-Wl,'
16738 lt_prog_compiler_static_CXX
='-non_shared'
16739 # CC pic flag -KPIC is the default.
16745 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16746 case $cc_basename in
16749 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16750 lt_prog_compiler_pic_CXX
='-fPIC'
16753 # old Intel C++ for x86_64 which still supported -KPIC.
16754 lt_prog_compiler_wl_CXX
='-Wl,'
16755 lt_prog_compiler_pic_CXX
='-KPIC'
16756 lt_prog_compiler_static_CXX
='-static'
16759 # Intel C++, used to be incompatible with GCC.
16760 # ICC 10 doesn't accept -KPIC any more.
16761 lt_prog_compiler_wl_CXX
='-Wl,'
16762 lt_prog_compiler_pic_CXX
='-fPIC'
16763 lt_prog_compiler_static_CXX
='-static'
16766 # Portland Group C++ compiler
16767 lt_prog_compiler_wl_CXX
='-Wl,'
16768 lt_prog_compiler_pic_CXX
='-fpic'
16769 lt_prog_compiler_static_CXX
='-Bstatic'
16773 # Make sure the PIC flag is empty. It appears that all Alpha
16774 # Linux and Compaq Tru64 Unix objects are PIC.
16775 lt_prog_compiler_pic_CXX
=
16776 lt_prog_compiler_static_CXX
='-non_shared'
16778 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16779 # IBM XL 8.0, 9.0 on PPC and BlueGene
16780 lt_prog_compiler_wl_CXX
='-Wl,'
16781 lt_prog_compiler_pic_CXX
='-qpic'
16782 lt_prog_compiler_static_CXX
='-qstaticlink'
16785 case `$CC -V 2>&1 | sed 5q` in
16788 lt_prog_compiler_pic_CXX
='-KPIC'
16789 lt_prog_compiler_static_CXX
='-Bstatic'
16790 lt_prog_compiler_wl_CXX
='-Qoption ld '
16801 case $cc_basename in
16803 lt_prog_compiler_pic_CXX
='-W c,exportall'
16809 netbsd
* | netbsdelf
*-gnu)
16812 # QNX uses GNU C++, but need to define -shared option too, otherwise
16813 # it will coredump.
16814 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16816 osf3
* | osf4
* | osf5
*)
16817 case $cc_basename in
16819 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16822 # Rational C++ 2.4.1
16823 lt_prog_compiler_pic_CXX
='-pic'
16826 # Digital/Compaq C++
16827 lt_prog_compiler_wl_CXX
='-Wl,'
16828 # Make sure the PIC flag is empty. It appears that all Alpha
16829 # Linux and Compaq Tru64 Unix objects are PIC.
16830 lt_prog_compiler_pic_CXX
=
16831 lt_prog_compiler_static_CXX
='-non_shared'
16840 case $cc_basename in
16842 # Sun C++ 4.2, 5.x and Centerline C++
16843 lt_prog_compiler_pic_CXX
='-KPIC'
16844 lt_prog_compiler_static_CXX
='-Bstatic'
16845 lt_prog_compiler_wl_CXX
='-Qoption ld '
16848 # Green Hills C++ Compiler
16849 lt_prog_compiler_pic_CXX
='-PIC'
16856 case $cc_basename in
16859 lt_prog_compiler_pic_CXX
='-pic'
16860 lt_prog_compiler_static_CXX
='-Bstatic'
16864 lt_prog_compiler_pic_CXX
='-pic'
16870 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16871 case $cc_basename in
16873 lt_prog_compiler_wl_CXX
='-Wl,'
16874 lt_prog_compiler_pic_CXX
='-KPIC'
16875 lt_prog_compiler_static_CXX
='-Bstatic'
16880 case $cc_basename in
16882 # NonStop-UX NCC 3.20
16883 lt_prog_compiler_pic_CXX
='-KPIC'
16892 lt_prog_compiler_can_build_shared_CXX
=no
16898 # For platforms which do not support PIC, -DPIC is meaningless:
16900 lt_prog_compiler_pic_CXX
=
16903 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16908 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16909 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
16910 $as_echo_n "(cached) " >&6
16912 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16915 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16916 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
16919 # Check to make sure the PIC flag actually works.
16921 if test -n "$lt_prog_compiler_pic_CXX"; then
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16923 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16924 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16925 $as_echo_n "(cached) " >&6
16927 lt_cv_prog_compiler_pic_works_CXX
=no
16928 ac_outfile
=conftest.
$ac_objext
16929 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16930 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16931 # Insert the option either (1) after the last *FLAGS variable, or
16932 # (2) before a word containing "conftest.", or (3) at the end.
16933 # Note that $ac_compile itself does not contain backslashes and begins
16934 # with a dollar sign (not a hyphen), so the echo should work correctly.
16935 # The option is referenced via a variable to avoid confusing sed.
16936 lt_compile
=`echo "$ac_compile" | $SED \
16937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16939 -e 's:$: $lt_compiler_flag:'`
16940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16941 (eval "$lt_compile" 2>conftest.err
)
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 if (exit $ac_status) && test -s "$ac_outfile"; then
16946 # The compiler can only warn and ignore the option if not recognized
16947 # So say no if there are warnings other than the usual output.
16948 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
16949 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16950 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16951 lt_cv_prog_compiler_pic_works_CXX
=yes
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16958 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16960 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
16961 case $lt_prog_compiler_pic_CXX in
16963 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16966 lt_prog_compiler_pic_CXX
=
16967 lt_prog_compiler_can_build_shared_CXX
=no
16977 # Check to make sure the static flag actually works.
16979 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16981 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16982 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16983 $as_echo_n "(cached) " >&6
16985 lt_cv_prog_compiler_static_works_CXX
=no
16986 save_LDFLAGS
="$LDFLAGS"
16987 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16988 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16989 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16990 # The linker can only warn and ignore the option if not recognized
16991 # So say no if there are warnings
16992 if test -s conftest.err
; then
16993 # Append any errors to the config.log.
16994 cat conftest.err
1>&5
16995 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
16996 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16997 if diff conftest.exp conftest.er2
>/dev
/null
; then
16998 lt_cv_prog_compiler_static_works_CXX
=yes
17001 lt_cv_prog_compiler_static_works_CXX
=yes
17005 LDFLAGS
="$save_LDFLAGS"
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17009 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17011 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
17014 lt_prog_compiler_static_CXX
=
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17022 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17023 $as_echo_n "(cached) " >&6
17025 lt_cv_prog_compiler_c_o_CXX
=no
17026 $RM -r conftest
2>/dev
/null
17030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17032 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17033 # Insert the option either (1) after the last *FLAGS variable, or
17034 # (2) before a word containing "conftest.", or (3) at the end.
17035 # Note that $ac_compile itself does not contain backslashes and begins
17036 # with a dollar sign (not a hyphen), so the echo should work correctly.
17037 lt_compile
=`echo "$ac_compile" | $SED \
17038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17040 -e 's:$: $lt_compiler_flag:'`
17041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17042 (eval "$lt_compile" 2>out
/conftest.err
)
17044 cat out
/conftest.err
>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17048 # The compiler can only warn and ignore the option if not recognized
17049 # So say no if there are warnings
17050 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17051 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17052 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17053 lt_cv_prog_compiler_c_o_CXX
=yes
17058 # SGI C++ compiler will create directory out/ii_files/ for
17059 # template instantiation
17060 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17061 $RM out
/* && rmdir out
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17068 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17073 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17074 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17075 $as_echo_n "(cached) " >&6
17077 lt_cv_prog_compiler_c_o_CXX
=no
17078 $RM -r conftest
2>/dev
/null
17082 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17084 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17085 # Insert the option either (1) after the last *FLAGS variable, or
17086 # (2) before a word containing "conftest.", or (3) at the end.
17087 # Note that $ac_compile itself does not contain backslashes and begins
17088 # with a dollar sign (not a hyphen), so the echo should work correctly.
17089 lt_compile
=`echo "$ac_compile" | $SED \
17090 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17092 -e 's:$: $lt_compiler_flag:'`
17093 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17094 (eval "$lt_compile" 2>out
/conftest.err
)
17096 cat out
/conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17100 # The compiler can only warn and ignore the option if not recognized
17101 # So say no if there are warnings
17102 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17103 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17104 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17105 lt_cv_prog_compiler_c_o_CXX
=yes
17110 # SGI C++ compiler will create directory out/ii_files/ for
17111 # template instantiation
17112 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17113 $RM out
/* && rmdir out
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17120 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17125 hard_links
="nottested"
17126 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
17127 # do not overwrite the value of need_locks provided by the user
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17129 $as_echo_n "checking if we can lock with hard links... " >&6; }
17132 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17134 ln conftest.a conftest.b
2>&5 || hard_links
=no
17135 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17137 $as_echo "$hard_links" >&6; }
17138 if test "$hard_links" = no
; then
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17140 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17150 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17152 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17153 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17156 # If we're using GNU nm, then we don't want the "-C" option.
17157 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17158 # Also, AIX nm treats weak defined symbols like other global defined
17159 # symbols, whereas GNU nm marks them as "W".
17160 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
17161 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17163 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17167 export_symbols_cmds_CXX
="$ltdll_cmds"
17169 cygwin
* | mingw
* | cegcc
*)
17170 case $cc_basename in
17172 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17175 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17176 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17180 linux
* | k
*bsd
*-gnu | gnu
*)
17181 link_all_deplibs_CXX
=no
17184 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17189 $as_echo "$ld_shlibs_CXX" >&6; }
17190 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
17192 with_gnu_ld_CXX
=$with_gnu_ld
17200 # Do we need to explicitly link libc?
17202 case "x$archive_cmds_need_lc_CXX" in
17204 # Assume -lc should be added
17205 archive_cmds_need_lc_CXX
=yes
17207 if test "$enable_shared" = yes && test "$GCC" = yes; then
17208 case $archive_cmds_CXX in
17210 # FIXME: we may have to deal with multi-command sequences.
17213 # Test whether the compiler implicitly links with -lc since on some
17214 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17215 # to ld, don't add -lc before -lgcc.
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17217 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17218 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17219 $as_echo_n "(cached) " >&6
17222 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17225 (eval $ac_compile) 2>&5
17227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17228 test $ac_status = 0; } 2>conftest.err
; then
17231 libobjs
=conftest.
$ac_objext
17233 wl
=$lt_prog_compiler_wl_CXX
17234 pic_flag
=$lt_prog_compiler_pic_CXX
17240 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17241 allow_undefined_flag_CXX
=
17242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17243 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17246 test $ac_status = 0; }
17248 lt_cv_archive_cmds_need_lc_CXX
=no
17250 lt_cv_archive_cmds_need_lc_CXX
=yes
17252 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17254 cat conftest.err
1>&5
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17260 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17261 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17330 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17332 library_names_spec
=
17333 libname_spec
='lib$name'
17337 postuninstall_cmds
=
17341 shlibpath_overrides_runpath
=unknown
17343 dynamic_linker
="$host_os ld.so"
17344 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17345 need_lib_prefix
=unknown
17346 hardcode_into_libs
=no
17348 # when you set need_version to no, make sure it does not cause -set_version
17349 # flags to be left without arguments
17350 need_version
=unknown
17354 version_type
=linux
# correct to gnu/linux during the next big refactor
17355 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17356 shlibpath_var
=LIBPATH
17358 # AIX 3 has no versioning support, so we append a major version to the name.
17359 soname_spec
='${libname}${release}${shared_ext}$major'
17363 version_type
=linux
# correct to gnu/linux during the next big refactor
17366 hardcode_into_libs
=yes
17367 if test "$host_cpu" = ia64
; then
17368 # AIX 5 supports IA64
17369 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17370 shlibpath_var
=LD_LIBRARY_PATH
17372 # With GCC up to 2.95.x, collect2 would create an import file
17373 # for dependence libraries. The import file would start with
17374 # the line `#! .'. This would cause the generated library to
17375 # depend on `.', always an invalid library. This was fixed in
17376 # development snapshots of GCC prior to 3.0.
17378 aix4 | aix4.
[01] | aix4.
[01].
*)
17379 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17381 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17384 can_build_shared
=no
17388 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17389 # soname into executable. Probably we can add versioning support to
17390 # collect2, so additional links can be useful in future.
17391 if test "$aix_use_runtimelinking" = yes; then
17392 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17393 # instead of lib<name>.a to let people know that these are not
17394 # typical AIX shared libraries.
17395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17397 # We preserve .a as extension for shared libraries through AIX4.2
17398 # and later when we are not doing run time linking.
17399 library_names_spec
='${libname}${release}.a $libname.a'
17400 soname_spec
='${libname}${release}${shared_ext}$major'
17402 shlibpath_var
=LIBPATH
17409 # Since July 2007 AmigaOS4 officially supports .so libraries.
17410 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17414 library_names_spec
='$libname.ixlibrary $libname.a'
17415 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17416 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
17422 library_names_spec
='${libname}${shared_ext}'
17423 dynamic_linker
="$host_os ld.so"
17424 shlibpath_var
=LIBRARY_PATH
17428 version_type
=linux
# correct to gnu/linux during the next big refactor
17430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17431 soname_spec
='${libname}${release}${shared_ext}$major'
17432 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17433 shlibpath_var
=LD_LIBRARY_PATH
17434 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17435 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17436 # the default ld.so.conf also contains /usr/contrib/lib and
17437 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17438 # libtool to hard-code these into programs
17441 cygwin
* | mingw
* | pw32
* | cegcc
*)
17442 version_type
=windows
17447 case $GCC,$cc_basename in
17450 library_names_spec
='$libname.dll.a'
17451 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17452 postinstall_cmds
='base_file=`basename \${file}`~
17453 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17454 dldir=$destdir/`dirname \$dlpath`~
17455 test -d \$dldir || mkdir -p \$dldir~
17456 $install_prog $dir/$dlname \$dldir/$dlname~
17457 chmod a+x \$dldir/$dlname~
17458 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17459 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17461 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17462 dlpath=$dir/\$dldll~
17464 shlibpath_overrides_runpath
=yes
17468 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17469 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17473 # MinGW DLLs use traditional 'lib' prefix
17474 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17477 # pw32 DLLs use 'pw' prefix rather than 'lib'
17478 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17481 dynamic_linker
='Win32 ld.exe'
17486 libname_spec
='$name'
17487 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17488 library_names_spec
='${libname}.dll.lib'
17492 sys_lib_search_path_spec
=
17495 for lt_path
in $LIB
17498 # Let DOS variable expansion print the short 8.3 style file name.
17499 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17500 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
17503 # Convert to MSYS style.
17504 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17507 # Convert to unix form, then to dos form, then back to unix form
17508 # but this time dos style (no spaces!) so that the unix form looks
17509 # like /cygdrive/c/PROGRA~1:/cygdr...
17510 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
17511 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17512 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17515 sys_lib_search_path_spec
="$LIB"
17516 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17517 # It is most probably a Windows format PATH.
17518 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17520 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17522 # FIXME: find the short name or the path components, as spaces are
17523 # common. (e.g. "Program Files" -> "PROGRA~1")
17527 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17528 postinstall_cmds
='base_file=`basename \${file}`~
17529 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17530 dldir=$destdir/`dirname \$dlpath`~
17531 test -d \$dldir || mkdir -p \$dldir~
17532 $install_prog $dir/$dlname \$dldir/$dlname'
17533 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17534 dlpath=$dir/\$dldll~
17536 shlibpath_overrides_runpath
=yes
17537 dynamic_linker
='Win32 link.exe'
17541 # Assume MSVC wrapper
17542 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17543 dynamic_linker
='Win32 ld.exe'
17546 # FIXME: first we should search . and the directory the executable is in
17550 darwin
* | rhapsody
*)
17551 dynamic_linker
="$host_os dyld"
17552 version_type
=darwin
17555 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17556 soname_spec
='${libname}${release}${major}$shared_ext'
17557 shlibpath_overrides_runpath
=yes
17558 shlibpath_var
=DYLD_LIBRARY_PATH
17559 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17561 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17565 version_type
=linux
# correct to gnu/linux during the next big refactor
17568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17569 soname_spec
='${libname}${release}${shared_ext}$major'
17570 shlibpath_var
=LD_LIBRARY_PATH
17573 freebsd
* | dragonfly
*)
17574 # DragonFly does not have aout. When/if they implement a new
17575 # versioning mechanism, adjust this.
17576 if test -x /usr
/bin
/objformat
; then
17577 objformat
=`/usr/bin/objformat`
17580 freebsd
[23].
*) objformat
=aout
;;
17581 *) objformat
=elf
;;
17584 version_type
=freebsd-
$objformat
17585 case $version_type in
17587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17592 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17596 shlibpath_var
=LD_LIBRARY_PATH
17599 shlibpath_overrides_runpath
=yes
17601 freebsd3.
[01]* | freebsdelf3.
[01]*)
17602 shlibpath_overrides_runpath
=yes
17603 hardcode_into_libs
=yes
17605 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17606 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17607 shlibpath_overrides_runpath
=no
17608 hardcode_into_libs
=yes
17610 *) # from 4.6 on, and DragonFly
17611 shlibpath_overrides_runpath
=yes
17612 hardcode_into_libs
=yes
17618 version_type
=linux
# correct to gnu/linux during the next big refactor
17621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17622 soname_spec
='${libname}${release}${shared_ext}$major'
17623 shlibpath_var
=LD_LIBRARY_PATH
17624 shlibpath_overrides_runpath
=no
17625 hardcode_into_libs
=yes
17629 version_type
=linux
# correct to gnu/linux during the next big refactor
17632 dynamic_linker
="$host_os runtime_loader"
17633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17634 soname_spec
='${libname}${release}${shared_ext}$major'
17635 shlibpath_var
=LIBRARY_PATH
17636 shlibpath_overrides_runpath
=yes
17637 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17638 hardcode_into_libs
=yes
17641 hpux9
* | hpux10
* | hpux11
*)
17642 # Give a soname corresponding to the major version so that dld.sl refuses to
17643 # link against other versions.
17650 hardcode_into_libs
=yes
17651 dynamic_linker
="$host_os dld.so"
17652 shlibpath_var
=LD_LIBRARY_PATH
17653 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17655 soname_spec
='${libname}${release}${shared_ext}$major'
17656 if test "X$HPUX_IA64_MODE" = X32
; then
17657 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17659 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17661 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17665 hardcode_into_libs
=yes
17666 dynamic_linker
="$host_os dld.sl"
17667 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17668 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17670 soname_spec
='${libname}${release}${shared_ext}$major'
17671 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17672 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17676 dynamic_linker
="$host_os dld.sl"
17677 shlibpath_var
=SHLIB_PATH
17678 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17680 soname_spec
='${libname}${release}${shared_ext}$major'
17683 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17684 postinstall_cmds
='chmod 555 $lib'
17685 # or fails outright, so override atomically:
17686 install_override_mode
=555
17690 version_type
=linux
# correct to gnu/linux during the next big refactor
17693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17694 soname_spec
='${libname}${release}${shared_ext}$major'
17695 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17696 shlibpath_var
=LD_LIBRARY_PATH
17697 shlibpath_overrides_runpath
=no
17698 hardcode_into_libs
=yes
17701 irix5
* | irix6
* | nonstopux
*)
17703 nonstopux
*) version_type
=nonstopux
;;
17705 if test "$lt_cv_prog_gnu_ld" = yes; then
17706 version_type
=linux
# correct to gnu/linux during the next big refactor
17713 soname_spec
='${libname}${release}${shared_ext}$major'
17714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17716 irix5
* | nonstopux
*)
17717 libsuff
= shlibsuff
=
17720 case $LD in # libtool.m4 will add one of these switches to LD
17721 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17722 libsuff
= shlibsuff
= libmagic
=32-bit;;
17723 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17724 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17725 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17726 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17727 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17731 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17732 shlibpath_overrides_runpath
=no
17733 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17734 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17735 hardcode_into_libs
=yes
17738 # No shared lib support for Linux oldld, aout, or coff.
17739 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17743 # This must be glibc/ELF.
17744 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17745 version_type
=linux
# correct to gnu/linux during the next big refactor
17748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17749 soname_spec
='${libname}${release}${shared_ext}$major'
17750 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17751 shlibpath_var
=LD_LIBRARY_PATH
17752 shlibpath_overrides_runpath
=no
17754 # Some binutils ld are patched to set DT_RUNPATH
17755 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17756 $as_echo_n "(cached) " >&6
17758 lt_cv_shlibpath_overrides_runpath
=no
17759 save_LDFLAGS
=$LDFLAGS
17760 save_libdir
=$libdir
17761 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17762 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17774 if ac_fn_cxx_try_link
"$LINENO"; then :
17775 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
17776 lt_cv_shlibpath_overrides_runpath
=yes
17779 rm -f core conftest.err conftest.
$ac_objext \
17780 conftest
$ac_exeext conftest.
$ac_ext
17781 LDFLAGS
=$save_LDFLAGS
17782 libdir
=$save_libdir
17786 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17788 # This implies no fast_install, which is unacceptable.
17789 # Some rework will be needed to allow for fast_install
17790 # before this can be enabled.
17791 hardcode_into_libs
=yes
17793 # Append ld.so.conf contents to the search path
17794 if test -f /etc
/ld.so.conf
; then
17795 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
17796 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17799 # We used to test for /lib/ld.so.1 and disable shared libraries on
17800 # powerpc, because MkLinux only supported shared libraries with the
17801 # GNU dynamic linker. Since this was broken with cross compilers,
17802 # most powerpc-linux boxes support dynamic linking these days and
17803 # people can always --disable-shared, the test was removed, and we
17804 # assume the GNU/Linux dynamic linker is in use.
17805 dynamic_linker
='GNU/Linux ld.so'
17812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17813 soname_spec
='${libname}${release}${shared_ext}$major'
17814 shlibpath_var
=LD_LIBRARY_PATH
17815 shlibpath_overrides_runpath
=no
17816 hardcode_into_libs
=yes
17817 dynamic_linker
='NetBSD ld.elf_so'
17824 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17826 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17827 dynamic_linker
='NetBSD (a.out) ld.so'
17829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17830 soname_spec
='${libname}${release}${shared_ext}$major'
17831 dynamic_linker
='NetBSD ld.elf_so'
17833 shlibpath_var
=LD_LIBRARY_PATH
17834 shlibpath_overrides_runpath
=yes
17835 hardcode_into_libs
=yes
17839 version_type
=linux
# correct to gnu/linux during the next big refactor
17840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17841 shlibpath_var
=LD_LIBRARY_PATH
17842 shlibpath_overrides_runpath
=yes
17849 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17850 soname_spec
='${libname}${release}${shared_ext}$major'
17851 shlibpath_var
=LD_LIBRARY_PATH
17852 shlibpath_overrides_runpath
=no
17853 hardcode_into_libs
=yes
17854 dynamic_linker
='ldqnx.so'
17859 sys_lib_dlsearch_path_spec
="/usr/lib"
17861 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17863 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17864 *) need_version
=no
;;
17866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17867 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17868 shlibpath_var
=LD_LIBRARY_PATH
17869 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17871 openbsd2.
[89] | openbsd2.
[89].
*)
17872 shlibpath_overrides_runpath
=no
17875 shlibpath_overrides_runpath
=yes
17879 shlibpath_overrides_runpath
=yes
17884 libname_spec
='$name'
17887 library_names_spec
='$libname${shared_ext} $libname.a'
17888 dynamic_linker
='OS/2 ld.exe'
17889 shlibpath_var
=LIBPATH
17892 osf3
* | osf4
* | osf5
*)
17896 soname_spec
='${libname}${release}${shared_ext}$major'
17897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17898 shlibpath_var
=LD_LIBRARY_PATH
17899 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17900 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17908 version_type
=linux
# correct to gnu/linux during the next big refactor
17911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17912 soname_spec
='${libname}${release}${shared_ext}$major'
17913 shlibpath_var
=LD_LIBRARY_PATH
17914 shlibpath_overrides_runpath
=yes
17915 hardcode_into_libs
=yes
17916 # ldd complains unless libraries are executable
17917 postinstall_cmds
='chmod +x $lib'
17922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17923 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17924 shlibpath_var
=LD_LIBRARY_PATH
17925 shlibpath_overrides_runpath
=yes
17926 if test "$with_gnu_ld" = yes; then
17933 version_type
=linux
# correct to gnu/linux during the next big refactor
17934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17935 soname_spec
='${libname}${release}${shared_ext}$major'
17936 shlibpath_var
=LD_LIBRARY_PATH
17937 case $host_vendor in
17939 shlibpath_overrides_runpath
=no
17941 runpath_var
=LD_RUN_PATH
17949 shlibpath_overrides_runpath
=no
17950 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17956 if test -d /usr
/nec
;then
17957 version_type
=linux
# correct to gnu/linux during the next big refactor
17958 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17959 soname_spec
='$libname${shared_ext}.$major'
17960 shlibpath_var
=LD_LIBRARY_PATH
17964 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17965 version_type
=freebsd-elf
17968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17969 soname_spec
='${libname}${release}${shared_ext}$major'
17970 shlibpath_var
=LD_LIBRARY_PATH
17971 shlibpath_overrides_runpath
=yes
17972 hardcode_into_libs
=yes
17973 if test "$with_gnu_ld" = yes; then
17974 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17976 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17979 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17983 sys_lib_dlsearch_path_spec
='/usr/lib'
17987 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17988 version_type
=linux
# correct to gnu/linux during the next big refactor
17991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17992 shlibpath_var
=LD_LIBRARY_PATH
17993 shlibpath_overrides_runpath
=no
17994 hardcode_into_libs
=yes
17998 version_type
=linux
# correct to gnu/linux during the next big refactor
17999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18000 soname_spec
='${libname}${release}${shared_ext}$major'
18001 shlibpath_var
=LD_LIBRARY_PATH
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18009 $as_echo "$dynamic_linker" >&6; }
18010 test "$dynamic_linker" = no
&& can_build_shared
=no
18012 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18013 if test "$GCC" = yes; then
18014 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18017 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18018 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18020 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18021 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18062 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18063 hardcode_action_CXX
=
18064 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18065 test -n "$runpath_var_CXX" ||
18066 test "X$hardcode_automatic_CXX" = "Xyes" ; then
18068 # We can hardcode non-existent directories.
18069 if test "$hardcode_direct_CXX" != no
&&
18070 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18071 # have to relink, otherwise we might link with an installed library
18072 # when we should be linking with a yet-to-be-installed one
18073 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18074 test "$hardcode_minus_L_CXX" != no
; then
18075 # Linking always hardcodes the temporary library directory.
18076 hardcode_action_CXX
=relink
18078 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18079 hardcode_action_CXX
=immediate
18082 # We cannot hardcode anything, or else we can only hardcode existing
18084 hardcode_action_CXX
=unsupported
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18087 $as_echo "$hardcode_action_CXX" >&6; }
18089 if test "$hardcode_action_CXX" = relink ||
18090 test "$inherit_rpath_CXX" = yes; then
18091 # Fast installation is not supported
18092 enable_fast_install
=no
18093 elif test "$shlibpath_overrides_runpath" = yes ||
18094 test "$enable_shared" = no
; then
18095 # Fast installation is not necessary
18096 enable_fast_install
=needless
18105 fi # test -n "$compiler"
18108 CFLAGS
=$lt_save_CFLAGS
18112 with_gnu_ld
=$lt_save_with_gnu_ld
18113 lt_cv_path_LDCXX
=$lt_cv_path_LD
18114 lt_cv_path_LD
=$lt_save_path_LD
18115 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
18116 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
18117 fi # test "$_lt_caught_CXX_error" != yes
18120 ac_cpp
='$CPP $CPPFLAGS'
18121 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18122 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18123 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18139 ac_config_commands
="$ac_config_commands libtool"
18144 # Only expand once:
18147 for ac_prog
in gawk mawk nawk
awk
18149 # Extract the first word of "$ac_prog", so it can be a program name with args.
18150 set dummy
$ac_prog; ac_word
=$2
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18152 $as_echo_n "checking for $ac_word... " >&6; }
18153 if ${ac_cv_prog_AWK+:} false
; then :
18154 $as_echo_n "(cached) " >&6
18156 if test -n "$AWK"; then
18157 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
18159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18160 for as_dir
in $PATH
18163 test -z "$as_dir" && as_dir
=.
18164 for ac_exec_ext
in '' $ac_executable_extensions; do
18165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18166 ac_cv_prog_AWK
="$ac_prog"
18167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18176 AWK
=$ac_cv_prog_AWK
18177 if test -n "$AWK"; then
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
18179 $as_echo "$AWK" >&6; }
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18182 $as_echo "no" >&6; }
18186 test -n "$AWK" && break
18191 # Extract the first word of "bison", so it can be a program name with args.
18192 set dummy bison
; ac_word
=$2
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18194 $as_echo_n "checking for $ac_word... " >&6; }
18195 if ${ac_cv_path_BISON+:} false
; then :
18196 $as_echo_n "(cached) " >&6
18200 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
18203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18204 for as_dir
in $PATH
18207 test -z "$as_dir" && as_dir
=.
18208 for ac_exec_ext
in '' $ac_executable_extensions; do
18209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18210 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
18211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18218 test -z "$ac_cv_path_BISON" && ac_cv_path_BISON
="bison"
18222 BISON
=$ac_cv_path_BISON
18223 if test -n "$BISON"; then
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
18225 $as_echo "$BISON" >&6; }
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18228 $as_echo "no" >&6; }
18232 # Extract the first word of "help2man", so it can be a program name with args.
18233 set dummy help2man
; ac_word
=$2
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18235 $as_echo_n "checking for $ac_word... " >&6; }
18236 if ${ac_cv_path_HELP2MAN+:} false
; then :
18237 $as_echo_n "(cached) " >&6
18241 ac_cv_path_HELP2MAN
="$HELP2MAN" # Let the user override the test with a path.
18244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18245 for as_dir
in $PATH
18248 test -z "$as_dir" && as_dir
=.
18249 for ac_exec_ext
in '' $ac_executable_extensions; do
18250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18251 ac_cv_path_HELP2MAN
="$as_dir/$ac_word$ac_exec_ext"
18252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18259 test -z "$ac_cv_path_HELP2MAN" && ac_cv_path_HELP2MAN
="help2man"
18263 HELP2MAN
=$ac_cv_path_HELP2MAN
18264 if test -n "$HELP2MAN"; then
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELP2MAN" >&5
18266 $as_echo "$HELP2MAN" >&6; }
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18269 $as_echo "no" >&6; }
18274 # Check for a m4 that supports -P
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for m4 that supports -P" >&5
18277 $as_echo_n "checking for m4 that supports -P... " >&6; }
18278 if ${ac_cv_path_M4+:} false
; then :
18279 $as_echo_n "(cached) " >&6
18281 if test -z "$M4"; then
18282 ac_path_M4_found
=false
18283 # Loop through the user's path and test for each of PROGNAME-LIST
18284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18285 for as_dir
in $PATH
18288 test -z "$as_dir" && as_dir
=.
18289 for ac_prog
in gm4 gnum4
m4; do
18290 for ac_exec_ext
in '' $ac_executable_extensions; do
18291 ac_path_M4
="$as_dir/$ac_prog$ac_exec_ext"
18292 as_fn_executable_p
"$ac_path_M4" ||
continue
18293 m4out
=`echo 'm''4_divnum' | $ac_path_M4 -P`
18294 test "x$m4out" = x0 \
18295 && ac_cv_path_M4
=$ac_path_M4 ac_path_M4_found
=:
18296 $ac_path_M4_found && break 3
18301 if test -z "$ac_cv_path_M4"; then
18302 as_fn_error $?
"could not find m4 that supports -P" "$LINENO" 5
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_M4" >&5
18310 $as_echo "$ac_cv_path_M4" >&6; }
18314 cat >>confdefs.h
<<_ACEOF
18319 # Extract the first word of "indent", so it can be a program name with args.
18320 set dummy indent
; ac_word
=$2
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18322 $as_echo_n "checking for $ac_word... " >&6; }
18323 if ${ac_cv_path_INDENT+:} false
; then :
18324 $as_echo_n "(cached) " >&6
18328 ac_cv_path_INDENT
="$INDENT" # Let the user override the test with a path.
18331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18332 for as_dir
in $PATH
18335 test -z "$as_dir" && as_dir
=.
18336 for ac_exec_ext
in '' $ac_executable_extensions; do
18337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18338 ac_cv_path_INDENT
="$as_dir/$ac_word$ac_exec_ext"
18339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18346 test -z "$ac_cv_path_INDENT" && ac_cv_path_INDENT
="indent"
18350 INDENT
=$ac_cv_path_INDENT
18351 if test -n "$INDENT"; then
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5
18353 $as_echo "$INDENT" >&6; }
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18356 $as_echo "no" >&6; }
18360 # if INDENT is set to 'indent' then we didn't find indent
18361 if test "$INDENT" != indent
; then
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $INDENT is GNU indent" >&5
18363 $as_echo_n "checking if $INDENT is GNU indent... " >&6; }
18364 if $INDENT --version 2>/dev
/null |
head -n 1|
grep "GNU indent" > /dev
/null
; then
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18366 $as_echo "yes" >&6; }
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18369 $as_echo "no" >&6; }
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $INDENT does not appear to be GNU indent." >&5
18371 $as_echo "$as_me: WARNING: $INDENT does not appear to be GNU indent." >&2;}
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no indent program found: make indent target will not function" >&5
18375 $as_echo "$as_me: WARNING: no indent program found: make indent target will not function" >&2;}
18378 # checks for headers
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18381 $as_echo_n "checking for ANSI C header files... " >&6; }
18382 if ${ac_cv_header_stdc+:} false
; then :
18383 $as_echo_n "(cached) " >&6
18385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18387 #include <stdlib.h>
18388 #include <stdarg.h>
18389 #include <string.h>
18400 if ac_fn_c_try_compile
"$LINENO"; then :
18401 ac_cv_header_stdc
=yes
18403 ac_cv_header_stdc
=no
18405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18407 if test $ac_cv_header_stdc = yes; then
18408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 #include <string.h>
18414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18415 $EGREP "memchr" >/dev
/null
2>&1; then :
18418 ac_cv_header_stdc
=no
18424 if test $ac_cv_header_stdc = yes; then
18425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 #include <stdlib.h>
18431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18432 $EGREP "free" >/dev
/null
2>&1; then :
18435 ac_cv_header_stdc
=no
18441 if test $ac_cv_header_stdc = yes; then
18442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18443 if test "$cross_compiling" = yes; then :
18446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18447 /* end confdefs.h. */
18449 #include <stdlib.h>
18450 #if ((' ' & 0x0FF) == 0x020)
18451 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18452 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18454 # define ISLOWER(c) \
18455 (('a' <= (c) && (c) <= 'i') \
18456 || ('j' <= (c) && (c) <= 'r') \
18457 || ('s' <= (c) && (c) <= 'z'))
18458 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18466 for (i = 0; i < 256; i++)
18467 if (XOR (islower (i), ISLOWER (i))
18468 || toupper (i) != TOUPPER (i))
18473 if ac_fn_c_try_run
"$LINENO"; then :
18476 ac_cv_header_stdc
=no
18478 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18479 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18485 $as_echo "$ac_cv_header_stdc" >&6; }
18486 if test $ac_cv_header_stdc = yes; then
18488 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
18493 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
18494 if ${ac_cv_header_sys_wait_h+:} false
; then :
18495 $as_echo_n "(cached) " >&6
18497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18499 #include <sys/types.h>
18500 #include <sys/wait.h>
18501 #ifndef WEXITSTATUS
18502 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
18505 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
18513 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
18518 if ac_fn_c_try_compile
"$LINENO"; then :
18519 ac_cv_header_sys_wait_h
=yes
18521 ac_cv_header_sys_wait_h
=no
18523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
18526 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
18527 if test $ac_cv_header_sys_wait_h = yes; then
18529 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
18533 for ac_header
in inttypes.h libintl.h limits.h locale.h malloc.h netinet
/in.h regex.h stddef.h stdlib.h string.h
strings.h unistd.h
18535 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18536 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18537 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18538 cat >>confdefs.h
<<_ACEOF
18539 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18547 # checks for libraries
18549 # The test test-pthread uses libpthread, so we check for it here, but
18550 # all we need is the preprocessor symbol defined since we don't need
18551 # LIBS to include libpthread for building flex.
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
18554 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
18555 if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false
; then :
18556 $as_echo_n "(cached) " >&6
18558 ac_check_lib_save_LIBS
=$LIBS
18559 LIBS
="-lpthread $LIBS"
18560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18561 /* end confdefs.h. */
18563 /* Override any GCC internal prototype to avoid an error.
18564 Use char because int might match the return type of a GCC
18565 builtin and then its argument prototype would still apply. */
18569 char pthread_mutex_lock ();
18573 return pthread_mutex_lock ();
18578 if ac_fn_c_try_link
"$LINENO"; then :
18579 ac_cv_lib_pthread_pthread_mutex_lock
=yes
18581 ac_cv_lib_pthread_pthread_mutex_lock
=no
18583 rm -f core conftest.err conftest.
$ac_objext \
18584 conftest
$ac_exeext conftest.
$ac_ext
18585 LIBS
=$ac_check_lib_save_LIBS
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
18588 $as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
18589 if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes
; then :
18591 $as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
18595 $as_echo "#define HAVE_LIBPTHREAD 0" >>confdefs.h
18600 for ac_header
in pthread.h
18602 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
18603 if test "x$ac_cv_header_pthread_h" = xyes
; then :
18604 cat >>confdefs.h
<<_ACEOF
18605 #define HAVE_PTHREAD_H 1
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
18614 $as_echo_n "checking for log10 in -lm... " >&6; }
18615 if ${ac_cv_lib_m_log10+:} false
; then :
18616 $as_echo_n "(cached) " >&6
18618 ac_check_lib_save_LIBS
=$LIBS
18620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18623 /* Override any GCC internal prototype to avoid an error.
18624 Use char because int might match the return type of a GCC
18625 builtin and then its argument prototype would still apply. */
18638 if ac_fn_c_try_link
"$LINENO"; then :
18639 ac_cv_lib_m_log10
=yes
18641 ac_cv_lib_m_log10
=no
18643 rm -f core conftest.err conftest.
$ac_objext \
18644 conftest
$ac_exeext conftest.
$ac_ext
18645 LIBS
=$ac_check_lib_save_LIBS
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
18648 $as_echo "$ac_cv_lib_m_log10" >&6; }
18649 if test "x$ac_cv_lib_m_log10" = xyes
; then :
18650 cat >>confdefs.h
<<_ACEOF
18651 #define HAVE_LIBM 1
18659 # Checks for typedefs, structures, and compiler characteristics.
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18662 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18663 if ${ac_cv_header_stdbool_h+:} false
; then :
18664 $as_echo_n "(cached) " >&6
18666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18667 /* end confdefs.h. */
18669 #include <stdbool.h>
18671 "error: bool is not defined"
18674 "error: false is not defined"
18677 "error: false is not 0"
18680 "error: true is not defined"
18683 "error: true is not 1"
18685 #ifndef __bool_true_false_are_defined
18686 "error: __bool_true_false_are_defined is not defined"
18689 struct s { _Bool s: 1; _Bool t; } s;
18691 char a[true == 1 ? 1 : -1];
18692 char b[false == 0 ? 1 : -1];
18693 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18694 char d[(bool) 0.5 == true ? 1 : -1];
18695 /* See body of main program for 'e'. */
18696 char f[(_Bool) 0.0 == false ? 1 : -1];
18698 char h[sizeof (_Bool)];
18699 char i[sizeof s.t];
18700 enum { j = false, k = true, l = false * true, m = true * 256 };
18701 /* The following fails for
18702 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18704 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18705 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18706 /* Catch a bug in an HP-UX C compiler. See
18707 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18708 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18720 /* Refer to every declared value, to avoid compiler optimizations. */
18721 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18722 + !m + !n + !o + !p + !q + !pq);
18728 if ac_fn_c_try_compile
"$LINENO"; then :
18729 ac_cv_header_stdbool_h
=yes
18731 ac_cv_header_stdbool_h
=no
18733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
18736 $as_echo "$ac_cv_header_stdbool_h" >&6; }
18737 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
18738 if test "x$ac_cv_type__Bool" = xyes
; then :
18740 cat >>confdefs.h
<<_ACEOF
18741 #define HAVE__BOOL 1
18748 if test $ac_cv_header_stdbool_h = yes; then
18750 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18755 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18756 if ${ac_cv_c_const+:} false
; then :
18757 $as_echo_n "(cached) " >&6
18759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18766 #ifndef __cplusplus
18767 /* Ultrix mips cc rejects this sort of thing. */
18768 typedef int charset[2];
18769 const charset cs = { 0, 0 };
18770 /* SunOS 4.1.1 cc rejects this. */
18771 char const *const *pcpcc;
18773 /* NEC SVR4.0.2 mips cc rejects this. */
18774 struct point {int x, y;};
18775 static struct point const zero = {0,0};
18776 /* AIX XL C 1.02.0.0 rejects this.
18777 It does not let you subtract one const X* pointer from another in
18778 an arm of an if-expression whose if-part is not a constant
18780 const char *g = "string";
18781 pcpcc = &g + (g ? g-g : 0);
18782 /* HPUX 7.0 cc rejects these. */
18784 ppc = (char**) pcpcc;
18785 pcpcc = (char const *const *) ppc;
18786 { /* SCO 3.2v4 cc rejects this sort of thing. */
18789 char const *s = 0 ? (char *) 0 : (char const *) 0;
18794 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18795 int x[] = {25, 17};
18796 const int *foo = &x[0];
18799 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18800 typedef const int *iptr;
18804 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
18805 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18806 struct s { int j; const int *ap[3]; } bx;
18807 struct s *b = &bx; b->j = 5;
18809 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18810 const int foo = 10;
18811 if (!foo) return 0;
18813 return !cs[0] && !zero.x;
18820 if ac_fn_c_try_compile
"$LINENO"; then :
18825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18828 $as_echo "$ac_cv_c_const" >&6; }
18829 if test $ac_cv_c_const = no
; then
18831 $as_echo "#define const /**/" >>confdefs.h
18835 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18836 if test "x$ac_cv_type_size_t" = xyes
; then :
18840 cat >>confdefs.h
<<_ACEOF
18841 #define size_t unsigned int
18847 # Checks for library functions.
18849 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
18850 # for constant arguments. Useless!
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
18852 $as_echo_n "checking for working alloca.h... " >&6; }
18853 if ${ac_cv_working_alloca_h+:} false
; then :
18854 $as_echo_n "(cached) " >&6
18856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 #include <alloca.h>
18862 char *p = (char *) alloca (2 * sizeof (int));
18868 if ac_fn_c_try_link
"$LINENO"; then :
18869 ac_cv_working_alloca_h
=yes
18871 ac_cv_working_alloca_h
=no
18873 rm -f core conftest.err conftest.
$ac_objext \
18874 conftest
$ac_exeext conftest.
$ac_ext
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
18877 $as_echo "$ac_cv_working_alloca_h" >&6; }
18878 if test $ac_cv_working_alloca_h = yes; then
18880 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
18885 $as_echo_n "checking for alloca... " >&6; }
18886 if ${ac_cv_func_alloca_works+:} false
; then :
18887 $as_echo_n "(cached) " >&6
18889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18892 # define alloca __builtin_alloca
18895 # include <malloc.h>
18896 # define alloca _alloca
18898 # ifdef HAVE_ALLOCA_H
18899 # include <alloca.h>
18904 # ifndef alloca /* predefined by HP cc +Olibcalls */
18905 void *alloca (size_t);
18915 char *p = (char *) alloca (1);
18921 if ac_fn_c_try_link
"$LINENO"; then :
18922 ac_cv_func_alloca_works
=yes
18924 ac_cv_func_alloca_works
=no
18926 rm -f core conftest.err conftest.
$ac_objext \
18927 conftest
$ac_exeext conftest.
$ac_ext
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
18930 $as_echo "$ac_cv_func_alloca_works" >&6; }
18932 if test $ac_cv_func_alloca_works = yes; then
18934 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
18937 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
18938 # that cause trouble. Some versions do not even contain alloca or
18939 # contain a buggy version. If you still want to use their alloca,
18940 # use ar to extract alloca.o from them instead of compiling alloca.c.
18942 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
18944 $as_echo "#define C_ALLOCA 1" >>confdefs.h
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
18948 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
18949 if ${ac_cv_os_cray+:} false
; then :
18950 $as_echo_n "(cached) " >&6
18952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18954 #if defined CRAY && ! defined CRAY2
18961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18962 $EGREP "webecray" >/dev
/null
2>&1; then :
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
18971 $as_echo "$ac_cv_os_cray" >&6; }
18972 if test $ac_cv_os_cray = yes; then
18973 for ac_func
in _getb67 GETB67 getb67
; do
18974 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18975 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18976 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18978 cat >>confdefs.h
<<_ACEOF
18979 #define CRAY_STACKSEG_END $ac_func
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18989 $as_echo_n "checking stack direction for C alloca... " >&6; }
18990 if ${ac_cv_c_stack_direction+:} false
; then :
18991 $as_echo_n "(cached) " >&6
18993 if test "$cross_compiling" = yes; then :
18994 ac_cv_c_stack_direction
=0
18996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 $ac_includes_default
19000 find_stack_direction (int *addr, int depth)
19002 int dir, dummy = 0;
19005 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
19006 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
19007 return dir + dummy;
19011 main (int argc, char **argv)
19013 return find_stack_direction (0, argc + !argv + 20) < 0;
19016 if ac_fn_c_try_run
"$LINENO"; then :
19017 ac_cv_c_stack_direction
=1
19019 ac_cv_c_stack_direction
=-1
19021 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19022 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
19027 $as_echo "$ac_cv_c_stack_direction" >&6; }
19028 cat >>confdefs.h
<<_ACEOF
19029 #define STACK_DIRECTION $ac_cv_c_stack_direction
19035 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
19036 if test "x$ac_cv_type_pid_t" = xyes
; then :
19040 cat >>confdefs.h
<<_ACEOF
19046 for ac_header
in vfork.h
19048 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
19049 if test "x$ac_cv_header_vfork_h" = xyes
; then :
19050 cat >>confdefs.h
<<_ACEOF
19051 #define HAVE_VFORK_H 1
19058 for ac_func
in fork vfork
19060 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19061 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19062 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19063 cat >>confdefs.h
<<_ACEOF
19064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19070 if test "x$ac_cv_func_fork" = xyes
; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
19072 $as_echo_n "checking for working fork... " >&6; }
19073 if ${ac_cv_func_fork_works+:} false
; then :
19074 $as_echo_n "(cached) " >&6
19076 if test "$cross_compiling" = yes; then :
19077 ac_cv_func_fork_works
=cross
19079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19081 $ac_includes_default
19086 /* By Ruediger Kuhlmann. */
19087 return fork () < 0;
19093 if ac_fn_c_try_run
"$LINENO"; then :
19094 ac_cv_func_fork_works
=yes
19096 ac_cv_func_fork_works
=no
19098 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19099 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
19104 $as_echo "$ac_cv_func_fork_works" >&6; }
19107 ac_cv_func_fork_works
=$ac_cv_func_fork
19109 if test "x$ac_cv_func_fork_works" = xcross
; then
19111 *-*-amigaos* |
*-*-msdosdjgpp*)
19112 # Override, as these systems have only a dummy fork() stub
19113 ac_cv_func_fork_works
=no
19116 ac_cv_func_fork_works
=yes
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
19120 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
19122 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19123 if test "x$ac_cv_func_vfork" = xyes
; then
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
19125 $as_echo_n "checking for working vfork... " >&6; }
19126 if ${ac_cv_func_vfork_works+:} false
; then :
19127 $as_echo_n "(cached) " >&6
19129 if test "$cross_compiling" = yes; then :
19130 ac_cv_func_vfork_works
=cross
19132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19133 /* end confdefs.h. */
19134 /* Thanks to Paul Eggert for this test. */
19135 $ac_includes_default
19136 #include <sys/wait.h>
19137 #ifdef HAVE_VFORK_H
19138 # include <vfork.h>
19140 /* On some sparc systems, changes by the child to local and incoming
19141 argument registers are propagated back to the parent. The compiler
19142 is told about this with #include <vfork.h>, but some compilers
19143 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
19144 static variable whose address is put into a register that is
19145 clobbered by the vfork. */
19148 sparc_address_test (int arg)
19150 sparc_address_test (arg) int arg;
19153 static pid_t child;
19171 pid_t parent = getpid ();
19174 sparc_address_test (0);
19179 /* Here is another test for sparc vfork register problems. This
19180 test uses lots of local variables, at least as many local
19181 variables as main has allocated so far including compiler
19182 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
19183 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
19184 reuse the register of parent for one of the local variables,
19185 since it will think that parent can't possibly be used any more
19186 in this routine. Assigning to the local variable will thus
19187 munge parent in the parent process. */
19189 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19190 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19191 /* Convince the compiler that p..p7 are live; otherwise, it might
19192 use the same hardware register for all 8 local variables. */
19193 if (p != p1 || p != p2 || p != p3 || p != p4
19194 || p != p5 || p != p6 || p != p7)
19197 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19198 from child file descriptors. If the child closes a descriptor
19199 before it execs or exits, this munges the parent's descriptor
19200 as well. Test for this by closing stdout in the child. */
19201 _exit(close(fileno(stdout)) != 0);
19206 while (wait(&status) != child)
19209 /* Was there some problem with vforking? */
19212 /* Did the child fail? (This shouldn't happen.) */
19215 /* Did the vfork/compiler bug occur? */
19216 || parent != getpid()
19218 /* Did the file descriptor bug occur? */
19219 || fstat(fileno(stdout), &st) != 0
19224 if ac_fn_c_try_run
"$LINENO"; then :
19225 ac_cv_func_vfork_works
=yes
19227 ac_cv_func_vfork_works
=no
19229 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19230 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
19235 $as_echo "$ac_cv_func_vfork_works" >&6; }
19238 if test "x$ac_cv_func_fork_works" = xcross
; then
19239 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19241 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19244 if test "x$ac_cv_func_vfork_works" = xyes
; then
19246 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
19250 $as_echo "#define vfork fork" >>confdefs.h
19253 if test "x$ac_cv_func_fork_works" = xyes
; then
19255 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
19259 for ac_header
in stdlib.h
19261 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19262 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
19263 cat >>confdefs.h
<<_ACEOF
19264 #define HAVE_STDLIB_H 1
19271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
19272 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
19273 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
19274 $as_echo_n "(cached) " >&6
19276 if test "$cross_compiling" = yes; then :
19277 ac_cv_func_malloc_0_nonnull
=no
19279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19280 /* end confdefs.h. */
19281 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19282 # include <stdlib.h>
19290 return ! malloc (0);
19295 if ac_fn_c_try_run
"$LINENO"; then :
19296 ac_cv_func_malloc_0_nonnull
=yes
19298 ac_cv_func_malloc_0_nonnull
=no
19300 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19301 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
19306 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
19307 if test $ac_cv_func_malloc_0_nonnull = yes; then :
19309 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
19312 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
19314 case " $LIBOBJS " in
19315 *" malloc.$ac_objext "* ) ;;
19316 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
19321 $as_echo "#define malloc rpl_malloc" >>confdefs.h
19326 for ac_header
in stdlib.h
19328 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
19329 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
19330 cat >>confdefs.h
<<_ACEOF
19331 #define HAVE_STDLIB_H 1
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
19339 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
19340 if ${ac_cv_func_realloc_0_nonnull+:} false
; then :
19341 $as_echo_n "(cached) " >&6
19343 if test "$cross_compiling" = yes; then :
19344 ac_cv_func_realloc_0_nonnull
=no
19346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19347 /* end confdefs.h. */
19348 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
19349 # include <stdlib.h>
19357 return ! realloc (0, 0);
19362 if ac_fn_c_try_run
"$LINENO"; then :
19363 ac_cv_func_realloc_0_nonnull
=yes
19365 ac_cv_func_realloc_0_nonnull
=no
19367 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19368 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
19373 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
19374 if test $ac_cv_func_realloc_0_nonnull = yes; then :
19376 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
19379 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
19381 case " $LIBOBJS " in
19382 *" realloc.$ac_objext "* ) ;;
19383 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
19388 $as_echo "#define realloc rpl_realloc" >>confdefs.h
19393 for ac_func
in dup2 isascii memset pow regcomp setlocale strchr strtol
19395 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19396 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19397 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19398 cat >>confdefs.h
<<_ACEOF
19399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19406 ac_config_files
="$ac_config_files Makefile doc/Makefile examples/Makefile examples/fastwc/Makefile examples/manual/Makefile lib/Makefile po/Makefile.in tests/Makefile tests/TEMPLATE/Makefile tests/test-array-nr/Makefile tests/test-array-r/Makefile tests/test-basic-nr/Makefile tests/test-basic-r/Makefile tests/test-bison-yylloc/Makefile tests/test-bison-yylval/Makefile tests/test-c-cpp-nr/Makefile tests/test-c-cpp-r/Makefile tests/test-header-nr/Makefile tests/test-header-r/Makefile tests/test-include-by-buffer/Makefile tests/test-include-by-push/Makefile tests/test-include-by-reentrant/Makefile tests/test-multiple-scanners-nr/Makefile tests/test-multiple-scanners-r/Makefile tests/test-noansi-nr/Makefile tests/test-noansi-r/Makefile tests/test-prefix-nr/Makefile tests/test-prefix-r/Makefile tests/test-pthread/Makefile tests/test-string-nr/Makefile tests/test-string-r/Makefile tests/test-yyextra/Makefile tests/test-alloc-extra/Makefile tests/test-lineno-nr/Makefile tests/test-lineno-trailing/Makefile tests/test-lineno-r/Makefile tests/test-linedir-r/Makefile tests/test-debug-r/Makefile tests/test-debug-nr/Makefile tests/test-mem-nr/Makefile tests/test-mem-r/Makefile tests/test-posix/Makefile tests/test-posixly-correct/Makefile tests/test-table-opts/Makefile tests/test-c++-basic/Makefile tests/test-bison-nr/Makefile tests/test-reject/Makefile tests/test-c++-multiple-scanners/Makefile tests/test-top/Makefile tests/test-rescan-nr/Makefile tests/test-rescan-r/Makefile tests/test-quotes/Makefile tests/test-ccl/Makefile tests/test-extended/Makefile tests/test-c++-yywrap/Makefile tests/test-concatenated-options/Makefile"
19409 cat >confcache
<<\_ACEOF
19410 # This file is a shell script that caches the results of configure
19411 # tests run on this system so they can be shared between configure
19412 # scripts and configure runs, see configure's option --config-cache.
19413 # It is not useful on other systems. If it contains results you don't
19414 # want to keep, you may remove or edit it.
19416 # config.status only pays attention to the cache file if you give it
19417 # the --recheck option to rerun configure.
19419 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19421 # following values.
19425 # The following way of writing the cache mishandles newlines in values,
19426 # but we know of no workaround that is simple, portable, and efficient.
19427 # So, we kill variables containing newlines.
19428 # Ultrix sh set writes to stderr and can't be redirected directly,
19429 # and sets the high bit in the cache file unless we assign to the vars.
19431 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19432 eval ac_val
=\$
$ac_var
19436 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19437 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19440 _ | IFS | as_nl
) ;; #(
19441 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19442 *) { eval $ac_var=; unset $ac_var;} ;;
19448 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19449 *${as_nl}ac_space
=\
*)
19450 # `set' does not quote correctly, so add quotes: double-quote
19451 # substitution turns \\\\ into \\, and sed turns \\ into \.
19454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19457 # `set' quotes correctly as required by POSIX, so do not add quotes.
19458 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19469 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19471 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19472 if test -w "$cache_file"; then
19473 if test "x$cache_file" != "x/dev/null"; then
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19475 $as_echo "$as_me: updating cache $cache_file" >&6;}
19476 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19477 cat confcache
>"$cache_file"
19479 case $cache_file in #(
19481 mv -f confcache
"$cache_file"$$
&&
19482 mv -f "$cache_file"$$
"$cache_file" ;; #(
19484 mv -f confcache
"$cache_file" ;;
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19490 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19495 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19496 # Let make expand exec_prefix.
19497 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19499 DEFS
=-DHAVE_CONFIG_H
19504 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19505 # 1. Remove the extension, and $U if already installed.
19506 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19507 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19509 # will be set to the directory where LIBOBJS objects are built.
19510 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19511 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19513 LIBOBJS
=$ac_libobjs
19515 LTLIBOBJS
=$ac_ltlibobjs
19518 if test -n "$EXEEXT"; then
19520 am__EXEEXT_FALSE
='#'
19522 am__EXEEXT_TRUE
='#'
19526 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19527 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19530 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19531 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19534 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19535 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19538 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19539 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19543 : "${CONFIG_STATUS=./config.status}"
19545 ac_clean_files_save
=$ac_clean_files
19546 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19548 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19550 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19552 # Generated by $as_me.
19553 # Run this file to recreate the current configuration.
19554 # Compiler output produced by configure, useful for debugging
19555 # configure, is in config.log if it exists.
19558 ac_cs_recheck=false
19561 SHELL=\${CONFIG_SHELL-$SHELL}
19564 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19565 ## -------------------- ##
19566 ## M4sh Initialization. ##
19567 ## -------------------- ##
19569 # Be more Bourne compatible
19570 DUALCASE
=1; export DUALCASE
# for MKS sh
19571 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19574 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19575 # is contrary to our usage. Disable this feature.
19576 alias -g '${1+"$@"}'='"$@"'
19577 setopt NO_GLOB_SUBST
19579 case `(set -o) 2>/dev/null` in #(
19591 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19592 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19593 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19595 # Prefer a ksh shell builtin over an external printf program on Solaris,
19596 # but without wasting forks for bash or zsh.
19597 if test -z "$BASH_VERSION$ZSH_VERSION" \
19598 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19599 as_echo='print
-r --'
19600 as_echo_n='print
-rn --'
19601 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19602 as_echo='printf %s
\n'
19603 as_echo_n='printf %s
'
19605 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19606 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19607 as_echo_n='/usr
/ucb
/echo -n'
19609 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19610 as_echo_n_body='eval
19614 expr "X$arg" : "X\\(.*\\)$as_nl";
19615 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19617 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19619 export as_echo_n_body
19620 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19622 export as_echo_body
19623 as_echo='sh
-c $as_echo_body as_echo
'
19626 # The user is always right.
19627 if test "${PATH_SEPARATOR+set}" != set; then
19629 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19630 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19637 # We need space, tab and new line, in precisely that order. Quoting is
19638 # there to prevent editors from complaining about space-tab.
19639 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19640 # splitting by setting IFS to empty value.)
19643 # Find who we are. Look in the path if we contain no directory separator.
19646 *[\\/]* ) as_myself=$0 ;;
19647 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19648 for as_dir in $PATH
19651 test -z "$as_dir" && as_dir=.
19652 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19658 # We did not find ourselves, most probably we were run as `sh COMMAND'
19659 # in which case we are not to be found in the path.
19660 if test "x$as_myself" = x
; then
19663 if test ! -f "$as_myself"; then
19664 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19668 # Unset variables that we do not need and which cause bugs (e.g. in
19669 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19670 # suppresses any "Segmentation fault" message there. '((' could
19671 # trigger a bug in pdksh 5.2.14.
19672 for as_var
in BASH_ENV ENV MAIL MAILPATH
19673 do eval test x\
${$as_var+set} = xset \
19674 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19687 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19690 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19691 # ----------------------------------------
19692 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19693 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19694 # script with STATUS, using 1 if that was 0.
19697 as_status
=$1; test $as_status -eq 0 && as_status
=1
19699 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19700 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19702 $as_echo "$as_me: error: $2" >&2
19703 as_fn_exit
$as_status
19707 # as_fn_set_status STATUS
19708 # -----------------------
19709 # Set $? to STATUS, without forking.
19710 as_fn_set_status
()
19713 } # as_fn_set_status
19715 # as_fn_exit STATUS
19716 # -----------------
19717 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19721 as_fn_set_status
$1
19727 # Portably unset VAR.
19730 { eval $1=; unset $1;}
19732 as_unset
=as_fn_unset
19733 # as_fn_append VAR VALUE
19734 # ----------------------
19735 # Append the text in VALUE to the end of the definition contained in VAR. Take
19736 # advantage of any shell optimizations that allow amortized linear growth over
19737 # repeated appends, instead of the typical quadratic growth present in naive
19739 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19740 eval 'as_fn_append ()
19751 # as_fn_arith ARG...
19752 # ------------------
19753 # Perform arithmetic evaluation on the ARGs, and store the result in the
19754 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19755 # must be portable across $(()) and expr.
19756 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19757 eval 'as_fn_arith ()
19764 as_val
=`expr "$@" || test $? -eq 1`
19769 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19770 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19776 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19777 as_basename
=basename
19782 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19788 as_me
=`$as_basename -- "$0" ||
19789 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19790 X"$0" : 'X\(//\)$' \| \
19791 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19793 sed '/^.*\/\([^/][^/]*\)\/*$/{
19807 # Avoid depending upon Character Ranges.
19808 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19809 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19810 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19811 as_cr_digits
='0123456789'
19812 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19814 ECHO_C
= ECHO_N
= ECHO_T
=
19815 case `echo -n x` in #(((((
19817 case `echo 'xy\c'` in
19818 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19820 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19827 rm -f conf$$ conf$$.exe conf$$.
file
19828 if test -d conf$$.dir
; then
19829 rm -f conf$$.dir
/conf$$.
file
19832 mkdir conf$$.dir
2>/dev
/null
19834 if (echo >conf$$.
file) 2>/dev
/null
; then
19835 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19837 # ... but there are two gotchas:
19838 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19839 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19840 # In both cases, we have to default to `cp -pR'.
19841 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19843 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19851 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19852 rmdir conf$$.dir
2>/dev
/null
19857 # Create "$as_dir" as a directory, including parents if necessary.
19862 -*) as_dir
=.
/$as_dir;;
19864 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19868 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19869 *) as_qdir
=$as_dir;;
19871 as_dirs
="'$as_qdir' $as_dirs"
19872 as_dir
=`$as_dirname -- "$as_dir" ||
19873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19874 X"$as_dir" : 'X\(//\)[^/]' \| \
19875 X"$as_dir" : 'X\(//\)$' \| \
19876 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19877 $as_echo X"$as_dir" |
19878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19882 /^X\(\/\/\)[^/].*/{
19895 test -d "$as_dir" && break
19897 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19898 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19902 if mkdir
-p .
2>/dev
/null
; then
19903 as_mkdir_p
='mkdir -p "$as_dir"'
19905 test -d .
/-p && rmdir .
/-p
19910 # as_fn_executable_p FILE
19911 # -----------------------
19912 # Test if FILE is an executable regular file.
19913 as_fn_executable_p
()
19915 test -f "$1" && test -x "$1"
19916 } # as_fn_executable_p
19917 as_test_x
='test -x'
19918 as_executable_p
=as_fn_executable_p
19920 # Sed expression to map a string onto a valid CPP name.
19921 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19923 # Sed expression to map a string onto a valid variable name.
19924 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19928 ## ----------------------------------- ##
19929 ## Main body of $CONFIG_STATUS script. ##
19930 ## ----------------------------------- ##
19932 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19935 # Save the log message, to keep $0 and so on meaningful, and to
19936 # report actual input values of CONFIG_FILES etc. instead of their
19937 # values after options handling.
19939 This file was extended by the fast lexical analyser generator $as_me 2.5.39, which was
19940 generated by GNU Autoconf 2.69. Invocation command line was
19942 CONFIG_FILES = $CONFIG_FILES
19943 CONFIG_HEADERS = $CONFIG_HEADERS
19944 CONFIG_LINKS = $CONFIG_LINKS
19945 CONFIG_COMMANDS = $CONFIG_COMMANDS
19948 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19953 case $ac_config_files in *"
19954 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19957 case $ac_config_headers in *"
19958 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19963 # Files that config.status was made for.
19964 config_files="$ac_config_files"
19965 config_headers="$ac_config_headers"
19966 config_commands="$ac_config_commands"
19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19972 \`$as_me' instantiates files and other configuration actions
19973 from templates according to the current configuration. Unless the files
19974 and actions are specified as TAGs, all are instantiated by default.
19976 Usage: $0 [OPTION]... [TAG]...
19978 -h, --help print this help, then exit
19979 -V, --version print version number and configuration settings, then exit
19980 --config print configuration, then exit
19981 -q, --quiet, --silent
19982 do not print progress messages
19983 -d, --debug don't remove temporary files
19984 --recheck update $as_me by reconfiguring in the same conditions
19985 --file=FILE[:TEMPLATE]
19986 instantiate the configuration file FILE
19987 --header=FILE[:TEMPLATE]
19988 instantiate the configuration header FILE
19990 Configuration files:
19993 Configuration headers:
19996 Configuration commands:
19999 Report bugs to <flex-help@lists.sourceforge.net>."
20002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20003 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20005 the fast lexical analyser generator config.status 2.5.39
20006 configured by $0, generated by GNU Autoconf 2.69,
20007 with options \\"\$ac_cs_config\\"
20009 Copyright (C) 2012 Free Software Foundation, Inc.
20010 This config.status script is free software; the Free Software Foundation
20011 gives unlimited permission to copy, distribute and modify it."
20018 test -n "\$AWK" || AWK=awk
20021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20022 # The default lists apply if the user does not specify any file.
20028 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20029 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20033 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20045 # Handling of the options.
20046 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20048 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20049 $as_echo "$ac_cs_version"; exit ;;
20050 --config |
--confi |
--conf |
--con |
--co |
--c )
20051 $as_echo "$ac_cs_config"; exit ;;
20052 --debug |
--debu |
--deb |
--de |
--d |
-d )
20054 --file |
--fil |
--fi |
--f )
20057 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20058 '') as_fn_error $?
"missing file argument" ;;
20060 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20061 ac_need_defaults
=false
;;
20062 --header |
--heade |
--head |
--hea )
20065 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20067 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20068 ac_need_defaults
=false
;;
20070 # Conflict between --help and --header
20071 as_fn_error $?
"ambiguous option: \`$1'
20072 Try \`$0 --help' for more information.";;
20073 --help |
--hel |
-h )
20074 $as_echo "$ac_cs_usage"; exit ;;
20075 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20076 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20079 # This is an error.
20080 -*) as_fn_error $?
"unrecognized option: \`$1'
20081 Try \`$0 --help' for more information." ;;
20083 *) as_fn_append ac_config_targets
" $1"
20084 ac_need_defaults
=false
;;
20090 ac_configure_extra_args
=
20092 if $ac_cs_silent; then
20094 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20099 if \$ac_cs_recheck; then
20100 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20102 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20103 CONFIG_SHELL='$SHELL'
20104 export CONFIG_SHELL
20109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20113 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20114 ## Running $as_me. ##
20120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20124 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20125 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20126 # from automake < 1.5.
20127 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20128 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20129 LINGUAS="${LINGUAS-%UNSET%}"
20131 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20134 # The HP-UX ksh and POSIX shell print the target directory to stdout
20135 # if CDPATH is set.
20136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20138 sed_quote_subst='$sed_quote_subst'
20139 double_quote_subst='$double_quote_subst'
20140 delay_variable_subst='$delay_variable_subst'
20141 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20142 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20143 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20144 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20145 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20146 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20147 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20148 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20149 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20150 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20151 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20152 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20153 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20154 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20155 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20156 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20157 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20158 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20159 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20160 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20161 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20162 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20163 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20164 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20165 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20166 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20167 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20168 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20169 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20170 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20171 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20172 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20173 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20174 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20175 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20176 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20177 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20178 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20179 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20180 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20181 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20182 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20183 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20184 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20185 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20186 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20187 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20188 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20189 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20190 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20191 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20192 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20193 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20194 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20195 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20196 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20197 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20198 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20199 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20200 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20201 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20202 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20203 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20204 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20205 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20206 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20207 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20208 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20209 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20210 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20211 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20212 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20213 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20214 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20215 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20216 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20217 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20218 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20219 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20220 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20221 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20222 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20223 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20224 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20225 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20226 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20227 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20228 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20229 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20230 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20231 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20232 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20233 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20234 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20235 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20236 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20237 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20238 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20239 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20240 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20241 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20242 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20243 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20244 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20245 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20246 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20247 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20248 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20249 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20250 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20251 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20252 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20253 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20254 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20255 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20256 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20257 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20258 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20259 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20260 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20261 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20262 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20263 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20264 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20265 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20266 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20267 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20268 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20269 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20270 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20271 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20272 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20273 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20274 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20275 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20276 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20277 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20278 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20279 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20280 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20281 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20282 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20283 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20284 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20285 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20286 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20287 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20288 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20289 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20290 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20291 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20292 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20293 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20294 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20295 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20296 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20297 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20298 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20299 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20300 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20301 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20302 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20303 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20304 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20305 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20306 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20307 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20308 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20309 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20310 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20311 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20312 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20313 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20314 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20315 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20316 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20317 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20318 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20319 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20320 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20321 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20322 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20323 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20324 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20327 LTCFLAGS='$LTCFLAGS'
20328 compiler='$compiler_DEFAULT'
20330 # A function that is used when there is no print builtin or printf.
20331 func_fallback_echo ()
20333 eval 'cat <<_LTECHO_EOF
20338 # Quote evaled strings.
20353 deplibs_check_method \
20358 sharedlib_from_linklib_cmd \
20361 archiver_list_spec \
20367 lt_cv_sys_global_symbol_pipe \
20368 lt_cv_sys_global_symbol_to_cdecl \
20369 lt_cv_sys_global_symbol_to_c_name_address \
20370 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20371 nm_file_list_spec \
20372 lt_prog_compiler_no_builtin_flag \
20373 lt_prog_compiler_pic \
20374 lt_prog_compiler_wl \
20375 lt_prog_compiler_static \
20376 lt_cv_prog_compiler_c_o \
20385 export_dynamic_flag_spec \
20386 whole_archive_flag_spec \
20387 compiler_needs_object \
20389 allow_undefined_flag \
20390 no_undefined_flag \
20391 hardcode_libdir_flag_spec \
20392 hardcode_libdir_separator \
20396 variables_saved_for_relink \
20398 library_names_spec \
20400 install_override_mode \
20404 compiler_lib_search_dirs \
20409 compiler_lib_search_path \
20413 lt_prog_compiler_no_builtin_flag_CXX \
20414 lt_prog_compiler_pic_CXX \
20415 lt_prog_compiler_wl_CXX \
20416 lt_prog_compiler_static_CXX \
20417 lt_cv_prog_compiler_c_o_CXX \
20418 export_dynamic_flag_spec_CXX \
20419 whole_archive_flag_spec_CXX \
20420 compiler_needs_object_CXX \
20422 allow_undefined_flag_CXX \
20423 no_undefined_flag_CXX \
20424 hardcode_libdir_flag_spec_CXX \
20425 hardcode_libdir_separator_CXX \
20426 exclude_expsyms_CXX \
20427 include_expsyms_CXX \
20428 file_list_spec_CXX \
20429 compiler_lib_search_dirs_CXX \
20430 predep_objects_CXX \
20431 postdep_objects_CXX \
20434 compiler_lib_search_path_CXX; do
20435 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20436 *[\\\\\\\`\\"\\\$]*)
20437 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20440 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20445 # Double-quote double-evaled strings.
20446 for var in reload_cmds \
20447 old_postinstall_cmds \
20448 old_postuninstall_cmds \
20450 extract_expsyms_cmds \
20451 old_archive_from_new_cmds \
20452 old_archive_from_expsyms_cmds \
20454 archive_expsym_cmds \
20456 module_expsym_cmds \
20457 export_symbols_cmds \
20461 postuninstall_cmds \
20463 sys_lib_search_path_spec \
20464 sys_lib_dlsearch_path_spec \
20466 old_archive_cmds_CXX \
20467 old_archive_from_new_cmds_CXX \
20468 old_archive_from_expsyms_cmds_CXX \
20470 archive_expsym_cmds_CXX \
20472 module_expsym_cmds_CXX \
20473 export_symbols_cmds_CXX \
20475 postlink_cmds_CXX; do
20476 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20477 *[\\\\\\\`\\"\\\$]*)
20478 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20481 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20486 ac_aux_dir='$ac_aux_dir'
20487 xsi_shell='$xsi_shell'
20488 lt_shell_append='$lt_shell_append'
20490 # See if we are running on zsh, and set the options which allow our
20491 # commands through without removal of \ escapes INIT.
20492 if test -n "\${ZSH_VERSION+set}" ; then
20493 setopt NO_GLOB_SUBST
20499 TIMESTAMP='$TIMESTAMP'
20510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20512 # Handling of arguments.
20513 for ac_config_target
in $ac_config_targets
20515 case $ac_config_target in
20516 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:conf.in" ;;
20517 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
20518 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20519 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20520 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20521 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
20522 "examples/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
20523 "examples/fastwc/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/fastwc/Makefile" ;;
20524 "examples/manual/Makefile") CONFIG_FILES
="$CONFIG_FILES examples/manual/Makefile" ;;
20525 "lib/Makefile") CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
20526 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20527 "tests/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
20528 "tests/TEMPLATE/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/TEMPLATE/Makefile" ;;
20529 "tests/test-array-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-array-nr/Makefile" ;;
20530 "tests/test-array-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-array-r/Makefile" ;;
20531 "tests/test-basic-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-basic-nr/Makefile" ;;
20532 "tests/test-basic-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-basic-r/Makefile" ;;
20533 "tests/test-bison-yylloc/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-bison-yylloc/Makefile" ;;
20534 "tests/test-bison-yylval/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-bison-yylval/Makefile" ;;
20535 "tests/test-c-cpp-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c-cpp-nr/Makefile" ;;
20536 "tests/test-c-cpp-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c-cpp-r/Makefile" ;;
20537 "tests/test-header-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-header-nr/Makefile" ;;
20538 "tests/test-header-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-header-r/Makefile" ;;
20539 "tests/test-include-by-buffer/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-buffer/Makefile" ;;
20540 "tests/test-include-by-push/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-push/Makefile" ;;
20541 "tests/test-include-by-reentrant/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-include-by-reentrant/Makefile" ;;
20542 "tests/test-multiple-scanners-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-multiple-scanners-nr/Makefile" ;;
20543 "tests/test-multiple-scanners-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-multiple-scanners-r/Makefile" ;;
20544 "tests/test-noansi-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-noansi-nr/Makefile" ;;
20545 "tests/test-noansi-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-noansi-r/Makefile" ;;
20546 "tests/test-prefix-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-prefix-nr/Makefile" ;;
20547 "tests/test-prefix-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-prefix-r/Makefile" ;;
20548 "tests/test-pthread/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-pthread/Makefile" ;;
20549 "tests/test-string-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-string-nr/Makefile" ;;
20550 "tests/test-string-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-string-r/Makefile" ;;
20551 "tests/test-yyextra/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-yyextra/Makefile" ;;
20552 "tests/test-alloc-extra/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-alloc-extra/Makefile" ;;
20553 "tests/test-lineno-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-lineno-nr/Makefile" ;;
20554 "tests/test-lineno-trailing/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-lineno-trailing/Makefile" ;;
20555 "tests/test-lineno-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-lineno-r/Makefile" ;;
20556 "tests/test-linedir-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-linedir-r/Makefile" ;;
20557 "tests/test-debug-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-debug-r/Makefile" ;;
20558 "tests/test-debug-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-debug-nr/Makefile" ;;
20559 "tests/test-mem-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-mem-nr/Makefile" ;;
20560 "tests/test-mem-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-mem-r/Makefile" ;;
20561 "tests/test-posix/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-posix/Makefile" ;;
20562 "tests/test-posixly-correct/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-posixly-correct/Makefile" ;;
20563 "tests/test-table-opts/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-table-opts/Makefile" ;;
20564 "tests/test-c++-basic/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c++-basic/Makefile" ;;
20565 "tests/test-bison-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-bison-nr/Makefile" ;;
20566 "tests/test-reject/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-reject/Makefile" ;;
20567 "tests/test-c++-multiple-scanners/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c++-multiple-scanners/Makefile" ;;
20568 "tests/test-top/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-top/Makefile" ;;
20569 "tests/test-rescan-nr/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-rescan-nr/Makefile" ;;
20570 "tests/test-rescan-r/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-rescan-r/Makefile" ;;
20571 "tests/test-quotes/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-quotes/Makefile" ;;
20572 "tests/test-ccl/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-ccl/Makefile" ;;
20573 "tests/test-extended/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-extended/Makefile" ;;
20574 "tests/test-c++-yywrap/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-c++-yywrap/Makefile" ;;
20575 "tests/test-concatenated-options/Makefile") CONFIG_FILES
="$CONFIG_FILES tests/test-concatenated-options/Makefile" ;;
20577 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20582 # If the user did not use the arguments to specify the items to instantiate,
20583 # then the envvar interface is used. Set only those that are not.
20584 # We use the long form for the default assignment because of an extremely
20585 # bizarre bug on SunOS 4.1.3.
20586 if $ac_need_defaults; then
20587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20589 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20592 # Have a temporary directory for convenience. Make it in the build tree
20593 # simply because there is no reason against having it here, and in addition,
20594 # creating and moving files from /tmp can sometimes cause problems.
20595 # Hook for its removal unless debugging.
20596 # Note that there is a small window in which the directory will not be cleaned:
20597 # after its creation but before its name has been assigned to `$tmp'.
20601 trap 'exit_status=$?
20602 : "${ac_tmp:=$tmp}"
20603 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20605 trap 'as_fn_exit 1' 1 2 13 15
20607 # Create a (secure) tmp directory for tmp files.
20610 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20614 tmp
=.
/conf$$
-$RANDOM
20615 (umask 077 && mkdir
"$tmp")
20616 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20619 # Set up the scripts for CONFIG_FILES section.
20620 # No need to generate them if there are no CONFIG_FILES.
20621 # This happens for instance with `./config.status config.h'.
20622 if test -n "$CONFIG_FILES"; then
20625 ac_cr
=`echo X | tr X '\015'`
20626 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20627 # But we know of no other shell where ac_cr would be empty at this
20628 # point, so we can use a bashism as a fallback.
20629 if test "x$ac_cr" = x
; then
20630 eval ac_cr
=\$
\'\\r
\'
20632 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20633 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20636 ac_cs_awk_cr
=$ac_cr
20639 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20644 echo "cat >conf$$subs.awk <<_ACEOF" &&
20645 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20647 } >conf$$subs.sh ||
20648 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20649 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20651 for ac_last_try in false false false false false :; do
20652 . ./conf$$subs.sh ||
20653 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20655 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20656 if test $ac_delim_n = $ac_delim_num; then
20658 elif $ac_last_try; then
20659 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20661 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20664 rm -f conf$$subs.sh
20666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20667 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20671 s/^/S["/; s
/!.
*/"]=/
20681 s/\(.\{148\}\)..*/\1/
20683 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20688 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20695 s/\(.\{148\}\)..*/\1/
20697 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20701 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20706 ' <conf$$subs.awk | sed '
20711 ' >>$CONFIG_STATUS || ac_write_fail=1
20712 rm -f conf$$subs.awk
20713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20715 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20716 for (key in S) S_is_set[key] = 1
20722 nfields = split(line, field, "@
")
20724 len = length(field[1])
20725 for (i = 2; i < nfields; i++) {
20727 keylen = length(key)
20728 if (S_is_set[key]) {
20730 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20731 len += length(value) + length(field[++i])
20742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20743 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20744 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20747 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20748 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20751 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20752 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20753 # trailing colons and then remove the whole line if VPATH becomes empty
20754 # (actually we leave an empty line to preserve line numbers).
20755 if test "x
$srcdir" = x.; then
20756 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20775 fi # test -n "$CONFIG_FILES"
20777 # Set up the scripts for CONFIG_HEADERS section.
20778 # No need to generate them if there are no CONFIG_HEADERS.
20779 # This happens for instance with `./config.status Makefile'.
20780 if test -n "$CONFIG_HEADERS"; then
20781 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20785 # Transform confdefs.h into an awk script `defines.awk', embedded as
20786 # here-document in config.status, that substitutes the proper values into
20787 # config.h.in to produce config.h.
20789 # Create a delimiter string that does not exist in confdefs.h, to ease
20790 # handling of long lines.
20792 for ac_last_try in false false :; do
20793 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20794 if test -z "$ac_tt"; then
20796 elif $ac_last_try; then
20797 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20799 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20803 # For the awk script, D is an array of macro values keyed by name,
20804 # likewise P contains macro parameters if any. Preserve backslash
20805 # newline sequences.
20807 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20809 s/.\{148\}/&'"$ac_delim"'/g
20812 s/^[ ]*#[ ]*define[ ][ ]*/ /
20819 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20821 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20825 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20826 D["\
1"]=" \
3\\\\\\n
"\\/p
20828 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20833 s/.\{148\}/&'"$ac_delim"'/g
20838 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20841 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20843 ' <confdefs.h | sed '
20844 s/'"$ac_delim"'/"\\\
20845 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20848 for (key in D) D_is_set[key] = 1
20851 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20853 split(line, arg, " ")
20854 if (arg[1] == "#") {
20858 defundef
= substr
(arg
[1], 2)
20861 split(mac1
, mac2
, "(") #)
20863 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20864 if (D_is_set
[macro
]) {
20865 # Preserve the white space surrounding the "#".
20866 print prefix
"define", macro P
[macro
] D
[macro
]
20869 # Replace #undef with comments. This is necessary, for example,
20870 # in the case of _POSIX_SOURCE, which is predefined and required
20871 # on some systems where configure will not decide to define it.
20872 if (defundef
== "undef") {
20873 print
"/*", prefix defundef
, macro
, "*/"
20881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20882 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20883 fi # test -n "$CONFIG_HEADERS"
20886 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20891 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20893 case $ac_mode$ac_tag in
20895 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20896 :[FH
]-) ac_tag
=-:-;;
20897 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20914 -) ac_f
="$ac_tmp/stdin";;
20915 *) # Look for the file first in the build tree, then in the source tree
20916 # (if the path is not absolute). The absolute path cannot be DOS-style,
20917 # because $ac_f cannot contain `:'.
20921 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20923 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20925 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20926 as_fn_append ac_file_inputs
" '$ac_f'"
20929 # Let's still pretend it is `configure' which instantiates (i.e., don't
20930 # use $as_me), people would be surprised to read:
20931 # /* config.h. Generated by config.status. */
20932 configure_input
='Generated from '`
20933 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20935 if test x
"$ac_file" != x-
; then
20936 configure_input
="$ac_file. $configure_input"
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20938 $as_echo "$as_me: creating $ac_file" >&6;}
20940 # Neutralize special characters interpreted by sed in replacement strings.
20941 case $configure_input in #(
20942 *\
&* |
*\|
* |
*\\* )
20943 ac_sed_conf_input
=`$as_echo "$configure_input" |
20944 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20945 *) ac_sed_conf_input
=$configure_input;;
20949 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20950 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20955 ac_dir
=`$as_dirname -- "$ac_file" ||
20956 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20957 X"$ac_file" : 'X\(//\)[^/]' \| \
20958 X"$ac_file" : 'X\(//\)$' \| \
20959 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20960 $as_echo X"$ac_file" |
20961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20965 /^X\(\/\/\)[^/].*/{
20978 as_dir
="$ac_dir"; as_fn_mkdir_p
20982 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20984 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20985 # A ".." for each directory in $ac_dir_suffix.
20986 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20987 case $ac_top_builddir_sub in
20988 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20989 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20992 ac_abs_top_builddir
=$ac_pwd
20993 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20994 # for backward compatibility:
20995 ac_top_builddir
=$ac_top_build_prefix
20998 .
) # We are building in place.
21000 ac_top_srcdir
=$ac_top_builddir_sub
21001 ac_abs_top_srcdir
=$ac_pwd ;;
21002 [\\/]* | ?
:[\\/]* ) # Absolute name.
21003 ac_srcdir
=$srcdir$ac_dir_suffix;
21004 ac_top_srcdir
=$srcdir
21005 ac_abs_top_srcdir
=$srcdir ;;
21006 *) # Relative name.
21007 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21008 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21009 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21011 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21021 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21022 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21024 ac_MKDIR_P
=$MKDIR_P
21026 [\\/$
]* | ?
:[\\/]* ) ;;
21027 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21032 # If the template does not know about datarootdir, expand it.
21033 # FIXME: This hack should be removed a few years after 2.60.
21034 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21045 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21046 *datarootdir
*) ac_datarootdir_seen
=yes;;
21047 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21049 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21052 ac_datarootdir_hack='
21053 s&@datadir@&$datadir&g
21054 s&@docdir@&$docdir&g
21055 s&@infodir@&$infodir&g
21056 s&@localedir@&$localedir&g
21057 s&@mandir@&$mandir&g
21058 s&\\\${datarootdir}&$datarootdir&g' ;;
21062 # Neutralize VPATH when `$srcdir' = `.'.
21063 # Shell code in configure.ac might set extrasub.
21064 # FIXME: do we really want to maintain this feature?
21065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21066 ac_sed_extra="$ac_vpsub
21069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21071 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21072 s|@configure_input@|
$ac_sed_conf_input|
;t t
21073 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21074 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21075 s
&@srcdir@
&$ac_srcdir&;t t
21076 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21077 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21078 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21079 s
&@builddir@
&$ac_builddir&;t t
21080 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21081 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21082 s
&@INSTALL@
&$ac_INSTALL&;t t
21083 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21084 $ac_datarootdir_hack
21086 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21087 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21089 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21090 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21091 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21092 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21094 which seems to be undefined. Please make sure it is defined" >&5
21095 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21096 which seems to be undefined. Please make sure it is defined" >&2;}
21098 rm -f "$ac_tmp/stdin"
21100 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21101 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21103 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21109 if test x"$ac_file" != x-; then
21111 $as_echo "/* $configure_input */" \
21112 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21113 } >"$ac_tmp/config.h" \
21114 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21115 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21117 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21120 mv "$ac_tmp/config.h" "$ac_file" \
21121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21124 $as_echo "/* $configure_input */" \
21125 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21126 || as_fn_error $? "could not create -" "$LINENO" 5
21128 # Compute "$ac_file"'s index
in $config_headers.
21131 for _am_header
in $config_headers :; do
21132 case $_am_header in
21133 $_am_arg |
$_am_arg:* )
21136 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21139 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21140 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21141 X"$_am_arg" : 'X\(//\)[^/]' \| \
21142 X"$_am_arg" : 'X\(//\)$' \| \
21143 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21144 $as_echo X"$_am_arg" |
21145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21149 /^X\(\/\/\)[^/].*/{
21161 s/.*/./; q'`/stamp-h
$_am_stamp_count
21164 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21165 $as_echo "$as_me: executing $ac_file commands" >&6;}
21170 case $ac_file$ac_mode in
21171 "po-directories":C
)
21172 for ac_file
in $CONFIG_FILES; do
21173 # Support "outfile[:infile[:infile...]]"
21175 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21177 # PO directories have a Makefile.in generated from Makefile.in.in.
21178 case "$ac_file" in */Makefile.
in)
21179 # Adjust a relative srcdir.
21180 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
21181 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
21182 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
21183 # In autoconf-2.13 it is called $ac_given_srcdir.
21184 # In autoconf-2.50 it is called $srcdir.
21185 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
21186 case "$ac_given_srcdir" in
21187 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
21188 /*) top_srcdir
="$ac_given_srcdir" ;;
21189 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21191 # Treat a directory as a PO directory if and only if it has a
21192 # POTFILES.in file. This allows packages to have multiple PO
21193 # directories under different names or in different locations.
21194 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
21195 rm -f "$ac_dir/POTFILES"
21196 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
21197 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
21198 POMAKEFILEDEPS
="POTFILES.in"
21199 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
21200 # on $ac_dir but don't depend on user-specified configuration
21202 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
21203 # The LINGUAS file contains the set of available languages.
21204 if test -n "$OBSOLETE_ALL_LINGUAS"; then
21205 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
21207 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
21208 # Hide the ALL_LINGUAS assigment from automake < 1.5.
21209 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
21210 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
21212 # The set of available languages was given in configure.in.
21213 # Hide the ALL_LINGUAS assigment from automake < 1.5.
21214 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
21217 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
21218 # Compute UPDATEPOFILES
21219 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
21220 # Compute DUMMYPOFILES
21221 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
21223 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
21224 case "$ac_given_srcdir" in
21226 *) srcdirpre
='$(srcdir)/' ;;
21232 for lang
in $ALL_LINGUAS; do
21233 POFILES
="$POFILES $srcdirpre$lang.po"
21234 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
21235 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
21236 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
21238 # CATALOGS depends on both $ac_dir and the user's LINGUAS
21239 # environment variable.
21241 if test -n "$ALL_LINGUAS"; then
21242 for presentlang
in $ALL_LINGUAS; do
21244 if test "%UNSET%" != "$LINGUAS"; then
21245 desiredlanguages
="$LINGUAS"
21247 desiredlanguages
="$ALL_LINGUAS"
21249 for desiredlang
in $desiredlanguages; do
21250 # Use the presentlang catalog if desiredlang is
21251 # a. equal to presentlang, or
21252 # b. a variant of presentlang (because in this case,
21253 # presentlang can be used as a fallback for messages
21254 # which are not translated in the desiredlang catalog).
21255 case "$desiredlang" in
21256 "$presentlang"*) useit
=yes;;
21259 if test $useit = yes; then
21260 INST_LINGUAS
="$INST_LINGUAS $presentlang"
21265 if test -n "$INST_LINGUAS"; then
21266 for lang
in $INST_LINGUAS; do
21267 CATALOGS
="$CATALOGS $lang.gmo"
21270 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
21271 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
21272 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
21273 if test -f "$f"; then
21275 *.orig |
*.bak |
*~
) ;;
21276 *) cat "$f" >> "$ac_dir/Makefile" ;;
21284 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21285 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21286 # are listed without --file. Let's play safe and only enable the eval
21287 # if we detect the quoting.
21288 case $CONFIG_FILES in
21289 *\'*) eval set x
"$CONFIG_FILES" ;;
21290 *) set x
$CONFIG_FILES ;;
21295 # Strip MF so we end up with the name of the file.
21296 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21297 # Check whether this is an Automake generated Makefile or not.
21298 # We used to match only the files named `Makefile.in', but
21299 # some people rename them; so instead we look at the file content.
21300 # Grep'ing the first line is not enough: some people post-process
21301 # each Makefile.in and add a new line on top of each file to say so.
21302 # Grep'ing the whole file is not good either: AIX grep has a line
21303 # limit of 2048, but all sed's we know have understand at least 4000.
21304 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21305 dirpart
=`$as_dirname -- "$mf" ||
21306 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21307 X"$mf" : 'X\(//\)[^/]' \| \
21308 X"$mf" : 'X\(//\)$' \| \
21309 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21315 /^X\(\/\/\)[^/].*/{
21331 # Extract the definition of DEPDIR, am__include, and am__quote
21332 # from the Makefile without running `make'.
21333 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21334 test -z "$DEPDIR" && continue
21335 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21336 test -z "am__include" && continue
21337 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21338 # When using ansi2knr, U may be empty or an underscore; expand it
21339 U
=`sed -n 's/^U = //p' < "$mf"`
21340 # Find all dependency output files, they are included files with
21341 # $(DEPDIR) in their names. We invoke sed twice because it is the
21342 # simplest approach to changing $(DEPDIR) to its actual value in the
21344 for file in `sed -n "
21345 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21346 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21347 # Make sure the directory exists.
21348 test -f "$dirpart/$file" && continue
21349 fdir
=`$as_dirname -- "$file" ||
21350 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21351 X"$file" : 'X\(//\)[^/]' \| \
21352 X"$file" : 'X\(//\)$' \| \
21353 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21354 $as_echo X"$file" |
21355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21359 /^X\(\/\/\)[^/].*/{
21372 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21373 # echo "creating $dirpart/$file"
21374 echo '# dummy' > "$dirpart/$file"
21381 # See if we are running on zsh, and set the options which allow our
21382 # commands through without removal of \ escapes.
21383 if test -n "${ZSH_VERSION+set}" ; then
21384 setopt NO_GLOB_SUBST
21387 cfgfile
="${ofile}T"
21388 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21391 cat <<_LT_EOF >> "$cfgfile"
21394 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21395 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21396 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21397 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21399 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21400 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21402 # Written by Gordon Matzigkeit, 1996
21404 # This file is part of GNU Libtool.
21406 # GNU Libtool is free software; you can redistribute it and/or
21407 # modify it under the terms of the GNU General Public License as
21408 # published by the Free Software Foundation; either version 2 of
21409 # the License, or (at your option) any later version.
21411 # As a special exception to the GNU General Public License,
21412 # if you distribute this file as part of a program or library that
21413 # is built using GNU Libtool, you may include this file under the
21414 # same distribution terms that you use for the rest of that program.
21416 # GNU Libtool is distributed in the hope that it will be useful,
21417 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21418 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21419 # GNU General Public License for more details.
21421 # You should have received a copy of the GNU General Public License
21422 # along with GNU Libtool; see the file COPYING. If not, a copy
21423 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21424 # obtained by writing to the Free Software Foundation, Inc.,
21425 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21428 # The names of the tagged configurations supported by this script.
21429 available_tags="CXX "
21431 # ### BEGIN LIBTOOL CONFIG
21433 # Which release of libtool.m4 was used?
21434 macro_version=$macro_version
21435 macro_revision=$macro_revision
21437 # Whether or not to build shared libraries.
21438 build_libtool_libs=$enable_shared
21440 # Whether or not to build static libraries.
21441 build_old_libs=$enable_static
21443 # What type of objects to build.
21446 # Whether or not to optimize for fast installation.
21447 fast_install=$enable_fast_install
21449 # Shell to use when invoking shell scripts.
21452 # An echo program that protects backslashes.
21455 # The PATH separator for the build system.
21456 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21459 host_alias=$host_alias
21463 # The build system.
21464 build_alias=$build_alias
21468 # A sed program that does not truncate output.
21471 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21472 Xsed="\$SED -e 1s/^X//"
21474 # A grep program that handles long lines.
21480 # A literal string matcher.
21483 # A BSD- or MS-compatible name lister.
21486 # Whether we need soft or hard links.
21489 # What is the maximum length of a command?
21490 max_cmd_len=$max_cmd_len
21492 # Object file suffix (normally "o").
21495 # Executable file suffix (normally "").
21498 # whether the shell understands "unset".
21501 # turn spaces into newlines.
21504 # turn newlines into spaces.
21507 # convert \$build file names to \$host format.
21508 to_host_file_cmd=$lt_cv_to_host_file_cmd
21510 # convert \$build files to toolchain format.
21511 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21513 # An object symbol dumper.
21514 OBJDUMP=$lt_OBJDUMP
21516 # Method to check whether dependent libraries are shared objects.
21517 deplibs_check_method=$lt_deplibs_check_method
21519 # Command to use when deplibs_check_method = "file_magic".
21520 file_magic_cmd=$lt_file_magic_cmd
21522 # How to find potential files when deplibs_check_method = "file_magic".
21523 file_magic_glob=$lt_file_magic_glob
21525 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21526 want_nocaseglob=$lt_want_nocaseglob
21528 # DLL creation program.
21529 DLLTOOL=$lt_DLLTOOL
21531 # Command to associate shared and link libraries.
21532 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21537 # Flags to create an archive.
21538 AR_FLAGS=$lt_AR_FLAGS
21540 # How to feed a file listing to the archiver.
21541 archiver_list_spec=$lt_archiver_list_spec
21543 # A symbol stripping program.
21546 # Commands used to install an old-style archive.
21548 old_postinstall_cmds=$lt_old_postinstall_cmds
21549 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21551 # Whether to use a lock for old archive extraction.
21552 lock_old_archive_extraction=$lock_old_archive_extraction
21557 # LTCC compiler flags.
21558 LTCFLAGS=$lt_CFLAGS
21560 # Take the output of nm and produce a listing of raw symbols and C names.
21561 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21563 # Transform the output of nm in a proper C declaration.
21564 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21566 # Transform the output of nm in a C name address pair.
21567 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21569 # Transform the output of nm in a C name address pair when lib prefix is needed.
21570 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21572 # Specify filename containing input files for \$NM.
21573 nm_file_list_spec=$lt_nm_file_list_spec
21575 # The root where to search for dependent libraries,and in which our libraries should be installed.
21576 lt_sysroot=$lt_sysroot
21578 # The name of the directory that contains temporary libtool files.
21581 # Used to examine libraries when file_magic_cmd begins with "file".
21582 MAGIC_CMD=$MAGIC_CMD
21584 # Must we lock files when doing compilation?
21585 need_locks=$lt_need_locks
21588 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21590 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21591 DSYMUTIL=$lt_DSYMUTIL
21593 # Tool to change global to local symbols on Mac OS X.
21596 # Tool to manipulate fat objects and archives on Mac OS X.
21599 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21602 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21603 OTOOL64=$lt_OTOOL64
21605 # Old archive suffix (normally "a").
21608 # Shared library suffix (normally ".so").
21609 shrext_cmds=$lt_shrext_cmds
21611 # The commands to extract the exported symbol list from a shared archive.
21612 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21614 # Variables whose values should be saved in libtool wrapper scripts and
21615 # restored at link time.
21616 variables_saved_for_relink=$lt_variables_saved_for_relink
21618 # Do we need the "lib" prefix for modules?
21619 need_lib_prefix=$need_lib_prefix
21621 # Do we need a version for libraries?
21622 need_version=$need_version
21624 # Library versioning type.
21625 version_type=$version_type
21627 # Shared library runtime path variable.
21628 runpath_var=$runpath_var
21630 # Shared library path variable.
21631 shlibpath_var=$shlibpath_var
21633 # Is shlibpath searched before the hard-coded library search path?
21634 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21636 # Format of library name prefix.
21637 libname_spec=$lt_libname_spec
21639 # List of archive names. First name is the real one, the rest are links.
21640 # The last name is the one that the linker finds with -lNAME
21641 library_names_spec=$lt_library_names_spec
21643 # The coded name of the library, if different from the real name.
21644 soname_spec=$lt_soname_spec
21646 # Permission mode override for installation of shared libraries.
21647 install_override_mode=$lt_install_override_mode
21649 # Command to use after installation of a shared archive.
21650 postinstall_cmds=$lt_postinstall_cmds
21652 # Command to use after uninstallation of a shared archive.
21653 postuninstall_cmds=$lt_postuninstall_cmds
21655 # Commands used to finish a libtool library installation in a directory.
21656 finish_cmds=$lt_finish_cmds
21658 # As "finish_cmds", except a single script fragment to be evaled but
21660 finish_eval=$lt_finish_eval
21662 # Whether we should hardcode library paths into libraries.
21663 hardcode_into_libs=$hardcode_into_libs
21665 # Compile-time system search path for libraries.
21666 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21668 # Run-time system search path for libraries.
21669 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21671 # Whether dlopen is supported.
21672 dlopen_support=$enable_dlopen
21674 # Whether dlopen of programs is supported.
21675 dlopen_self=$enable_dlopen_self
21677 # Whether dlopen of statically linked programs is supported.
21678 dlopen_self_static=$enable_dlopen_self_static
21680 # Commands to strip libraries.
21681 old_striplib=$lt_old_striplib
21682 striplib=$lt_striplib
21685 # The linker used to build libraries.
21688 # How to create reloadable object files.
21689 reload_flag=$lt_reload_flag
21690 reload_cmds=$lt_reload_cmds
21692 # Commands used to build an old-style archive.
21693 old_archive_cmds=$lt_old_archive_cmds
21695 # A language specific compiler.
21698 # Is the compiler the GNU compiler?
21701 # Compiler flag to turn off builtin functions.
21702 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21704 # Additional compiler flags for building library objects.
21705 pic_flag=$lt_lt_prog_compiler_pic
21707 # How to pass a linker flag through the compiler.
21708 wl=$lt_lt_prog_compiler_wl
21710 # Compiler flag to prevent dynamic linking.
21711 link_static_flag=$lt_lt_prog_compiler_static
21713 # Does compiler simultaneously support -c and -o options?
21714 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21716 # Whether or not to add -lc for building shared libraries.
21717 build_libtool_need_lc=$archive_cmds_need_lc
21719 # Whether or not to disallow shared libs when runtime libs are static.
21720 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21722 # Compiler flag to allow reflexive dlopens.
21723 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21725 # Compiler flag to generate shared objects directly from archives.
21726 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21728 # Whether the compiler copes with passing no objects directly.
21729 compiler_needs_object=$lt_compiler_needs_object
21731 # Create an old-style archive from a shared archive.
21732 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21734 # Create a temporary old-style archive to link instead of a shared archive.
21735 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21737 # Commands used to build a shared archive.
21738 archive_cmds=$lt_archive_cmds
21739 archive_expsym_cmds=$lt_archive_expsym_cmds
21741 # Commands used to build a loadable module if different from building
21742 # a shared archive.
21743 module_cmds=$lt_module_cmds
21744 module_expsym_cmds=$lt_module_expsym_cmds
21746 # Whether we are building with GNU ld or not.
21747 with_gnu_ld=$lt_with_gnu_ld
21749 # Flag that allows shared libraries with undefined symbols to be built.
21750 allow_undefined_flag=$lt_allow_undefined_flag
21752 # Flag that enforces no undefined symbols.
21753 no_undefined_flag=$lt_no_undefined_flag
21755 # Flag to hardcode \$libdir into a binary during linking.
21756 # This must work even if \$libdir does not exist
21757 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21759 # Whether we need a single "-rpath" flag with a separated argument.
21760 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21762 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21763 # DIR into the resulting binary.
21764 hardcode_direct=$hardcode_direct
21766 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21767 # DIR into the resulting binary and the resulting library dependency is
21768 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21769 # library is relocated.
21770 hardcode_direct_absolute=$hardcode_direct_absolute
21772 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21773 # into the resulting binary.
21774 hardcode_minus_L=$hardcode_minus_L
21776 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21777 # into the resulting binary.
21778 hardcode_shlibpath_var=$hardcode_shlibpath_var
21780 # Set to "yes" if building a shared library automatically hardcodes DIR
21781 # into the library and all subsequent libraries and executables linked
21783 hardcode_automatic=$hardcode_automatic
21785 # Set to yes if linker adds runtime paths of dependent libraries
21786 # to runtime path list.
21787 inherit_rpath=$inherit_rpath
21789 # Whether libtool must link a program against all its dependency libraries.
21790 link_all_deplibs=$link_all_deplibs
21792 # Set to "yes" if exported symbols are required.
21793 always_export_symbols=$always_export_symbols
21795 # The commands to list exported symbols.
21796 export_symbols_cmds=$lt_export_symbols_cmds
21798 # Symbols that should not be listed in the preloaded symbols.
21799 exclude_expsyms=$lt_exclude_expsyms
21801 # Symbols that must always be exported.
21802 include_expsyms=$lt_include_expsyms
21804 # Commands necessary for linking programs (against libraries) with templates.
21805 prelink_cmds=$lt_prelink_cmds
21807 # Commands necessary for finishing linking programs.
21808 postlink_cmds=$lt_postlink_cmds
21810 # Specify filename containing input files.
21811 file_list_spec=$lt_file_list_spec
21813 # How to hardcode a shared library path into an executable.
21814 hardcode_action=$hardcode_action
21816 # The directories searched by this compiler when creating a shared library.
21817 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21819 # Dependencies to place before and after the objects being linked to
21820 # create a shared library.
21821 predep_objects=$lt_predep_objects
21822 postdep_objects=$lt_postdep_objects
21823 predeps=$lt_predeps
21824 postdeps=$lt_postdeps
21826 # The library search path used internally by the compiler when linking
21827 # a shared library.
21828 compiler_lib_search_path=$lt_compiler_lib_search_path
21830 # ### END LIBTOOL CONFIG
21836 cat <<\_LT_EOF
>> "$cfgfile"
21837 # AIX sometimes has problems with the GCC collect2 program. For some
21838 # reason, if we set the COLLECT_NAMES environment variable, the problems
21839 # vanish in a puff of smoke.
21840 if test "X${COLLECT_NAMES+set}" != Xset
; then
21842 export COLLECT_NAMES
21849 ltmain
="$ac_aux_dir/ltmain.sh"
21852 # We use sed instead of cat because bash on DJGPP gets confused if
21853 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21854 # text mode, it properly converts lines to CR/LF. This bash problem
21855 # is reportedly fixed, but why not run on old versions too?
21856 sed '$q' "$ltmain" >> "$cfgfile" \
21857 ||
(rm -f "$cfgfile"; exit 1)
21859 if test x
"$xsi_shell" = xyes
; then
21860 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21864 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21865 \ * ) func_dirname_result="${3}" ;;\
21867 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21868 && mv -f "$cfgfile.tmp" "$cfgfile" \
21869 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21870 test 0 -eq $? || _lt_function_replace_fail
=:
21873 sed -e '/^func_basename ()$/,/^} # func_basename /c\
21876 \ func_basename_result="${1##*/}"\
21877 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21878 && mv -f "$cfgfile.tmp" "$cfgfile" \
21879 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21880 test 0 -eq $? || _lt_function_replace_fail
=:
21883 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21884 func_dirname_and_basename ()\
21887 \ */*) func_dirname_result="${1%/*}${2}" ;;\
21888 \ * ) func_dirname_result="${3}" ;;\
21890 \ func_basename_result="${1##*/}"\
21891 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21892 && mv -f "$cfgfile.tmp" "$cfgfile" \
21893 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21894 test 0 -eq $? || _lt_function_replace_fail
=:
21897 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21900 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21901 \ # positional parameters, so assign one to ordinary parameter first.\
21902 \ func_stripname_result=${3}\
21903 \ func_stripname_result=${func_stripname_result#"${1}"}\
21904 \ func_stripname_result=${func_stripname_result%"${2}"}\
21905 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21906 && mv -f "$cfgfile.tmp" "$cfgfile" \
21907 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21908 test 0 -eq $? || _lt_function_replace_fail
=:
21911 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21912 func_split_long_opt ()\
21914 \ func_split_long_opt_name=${1%%=*}\
21915 \ func_split_long_opt_arg=${1#*=}\
21916 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21917 && mv -f "$cfgfile.tmp" "$cfgfile" \
21918 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21919 test 0 -eq $? || _lt_function_replace_fail
=:
21922 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21923 func_split_short_opt ()\
21925 \ func_split_short_opt_arg=${1#??}\
21926 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21927 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21928 && mv -f "$cfgfile.tmp" "$cfgfile" \
21929 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21930 test 0 -eq $? || _lt_function_replace_fail
=:
21933 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21937 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21938 \ *) func_lo2o_result=${1} ;;\
21940 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21941 && mv -f "$cfgfile.tmp" "$cfgfile" \
21942 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21943 test 0 -eq $? || _lt_function_replace_fail
=:
21946 sed -e '/^func_xform ()$/,/^} # func_xform /c\
21949 func_xform_result=${1%.*}.lo\
21950 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21951 && mv -f "$cfgfile.tmp" "$cfgfile" \
21952 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21953 test 0 -eq $? || _lt_function_replace_fail
=:
21956 sed -e '/^func_arith ()$/,/^} # func_arith /c\
21959 func_arith_result=$(( $* ))\
21960 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21961 && mv -f "$cfgfile.tmp" "$cfgfile" \
21962 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21963 test 0 -eq $? || _lt_function_replace_fail
=:
21966 sed -e '/^func_len ()$/,/^} # func_len /c\
21969 func_len_result=${#1}\
21970 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21971 && mv -f "$cfgfile.tmp" "$cfgfile" \
21972 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21973 test 0 -eq $? || _lt_function_replace_fail
=:
21977 if test x
"$lt_shell_append" = xyes
; then
21978 sed -e '/^func_append ()$/,/^} # func_append /c\
21981 eval "${1}+=\\${2}"\
21982 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21983 && mv -f "$cfgfile.tmp" "$cfgfile" \
21984 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21985 test 0 -eq $? || _lt_function_replace_fail
=:
21988 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21989 func_append_quoted ()\
21991 \ func_quote_for_eval "${2}"\
21992 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21993 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21994 && mv -f "$cfgfile.tmp" "$cfgfile" \
21995 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21996 test 0 -eq $? || _lt_function_replace_fail
=:
21999 # Save a `func_append' function call where possible by direct use of '+='
22000 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22001 && mv -f "$cfgfile.tmp" "$cfgfile" \
22002 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22003 test 0 -eq $? || _lt_function_replace_fail
=:
22005 # Save a `func_append' function call even when '+=' is not available
22006 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22007 && mv -f "$cfgfile.tmp" "$cfgfile" \
22008 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22009 test 0 -eq $? || _lt_function_replace_fail
=:
22012 if test x
"$_lt_function_replace_fail" = x
":"; then
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22014 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22018 mv -f "$cfgfile" "$ofile" ||
22019 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22023 cat <<_LT_EOF >> "$ofile"
22025 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22027 # The linker used to build libraries.
22030 # How to create reloadable object files.
22031 reload_flag=$lt_reload_flag_CXX
22032 reload_cmds=$lt_reload_cmds_CXX
22034 # Commands used to build an old-style archive.
22035 old_archive_cmds=$lt_old_archive_cmds_CXX
22037 # A language specific compiler.
22038 CC=$lt_compiler_CXX
22040 # Is the compiler the GNU compiler?
22043 # Compiler flag to turn off builtin functions.
22044 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22046 # Additional compiler flags for building library objects.
22047 pic_flag=$lt_lt_prog_compiler_pic_CXX
22049 # How to pass a linker flag through the compiler.
22050 wl=$lt_lt_prog_compiler_wl_CXX
22052 # Compiler flag to prevent dynamic linking.
22053 link_static_flag=$lt_lt_prog_compiler_static_CXX
22055 # Does compiler simultaneously support -c and -o options?
22056 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22058 # Whether or not to add -lc for building shared libraries.
22059 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22061 # Whether or not to disallow shared libs when runtime libs are static.
22062 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22064 # Compiler flag to allow reflexive dlopens.
22065 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22067 # Compiler flag to generate shared objects directly from archives.
22068 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22070 # Whether the compiler copes with passing no objects directly.
22071 compiler_needs_object=$lt_compiler_needs_object_CXX
22073 # Create an old-style archive from a shared archive.
22074 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22076 # Create a temporary old-style archive to link instead of a shared archive.
22077 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22079 # Commands used to build a shared archive.
22080 archive_cmds=$lt_archive_cmds_CXX
22081 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22083 # Commands used to build a loadable module if different from building
22084 # a shared archive.
22085 module_cmds=$lt_module_cmds_CXX
22086 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22088 # Whether we are building with GNU ld or not.
22089 with_gnu_ld=$lt_with_gnu_ld_CXX
22091 # Flag that allows shared libraries with undefined symbols to be built.
22092 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22094 # Flag that enforces no undefined symbols.
22095 no_undefined_flag=$lt_no_undefined_flag_CXX
22097 # Flag to hardcode \$libdir into a binary during linking.
22098 # This must work even if \$libdir does not exist
22099 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22101 # Whether we need a single "-rpath" flag with a separated argument.
22102 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22104 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22105 # DIR into the resulting binary.
22106 hardcode_direct=$hardcode_direct_CXX
22108 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22109 # DIR into the resulting binary and the resulting library dependency is
22110 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22111 # library is relocated.
22112 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22114 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22115 # into the resulting binary.
22116 hardcode_minus_L=$hardcode_minus_L_CXX
22118 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22119 # into the resulting binary.
22120 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22122 # Set to "yes" if building a shared library automatically hardcodes DIR
22123 # into the library and all subsequent libraries and executables linked
22125 hardcode_automatic=$hardcode_automatic_CXX
22127 # Set to yes if linker adds runtime paths of dependent libraries
22128 # to runtime path list.
22129 inherit_rpath=$inherit_rpath_CXX
22131 # Whether libtool must link a program against all its dependency libraries.
22132 link_all_deplibs=$link_all_deplibs_CXX
22134 # Set to "yes" if exported symbols are required.
22135 always_export_symbols=$always_export_symbols_CXX
22137 # The commands to list exported symbols.
22138 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22140 # Symbols that should not be listed in the preloaded symbols.
22141 exclude_expsyms=$lt_exclude_expsyms_CXX
22143 # Symbols that must always be exported.
22144 include_expsyms=$lt_include_expsyms_CXX
22146 # Commands necessary for linking programs (against libraries) with templates.
22147 prelink_cmds=$lt_prelink_cmds_CXX
22149 # Commands necessary for finishing linking programs.
22150 postlink_cmds=$lt_postlink_cmds_CXX
22152 # Specify filename containing input files.
22153 file_list_spec=$lt_file_list_spec_CXX
22155 # How to hardcode a shared library path into an executable.
22156 hardcode_action=$hardcode_action_CXX
22158 # The directories searched by this compiler when creating a shared library.
22159 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22161 # Dependencies to place before and after the objects being linked to
22162 # create a shared library.
22163 predep_objects=$lt_predep_objects_CXX
22164 postdep_objects=$lt_postdep_objects_CXX
22165 predeps=$lt_predeps_CXX
22166 postdeps=$lt_postdeps_CXX
22168 # The library search path used internally by the compiler when linking
22169 # a shared library.
22170 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22172 # ### END LIBTOOL TAG CONFIG: CXX
22183 ac_clean_files
=$ac_clean_files_save
22185 test $ac_write_fail = 0 ||
22186 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22189 # configure is writing to config.log, and then calls config.status.
22190 # config.status does its own redirection, appending to config.log.
22191 # Unfortunately, on DOS this fails, as config.log is still kept open
22192 # by configure, so config.status won't be able to write to it; its
22193 # output is simply discarded. So we exec the FD to /dev/null,
22194 # effectively closing config.log, so it can be properly (re)opened and
22195 # appended to by config.status. When coming back to configure, we
22196 # need to make the FD available again.
22197 if test "$no_create" != yes; then
22199 ac_config_status_args
=
22200 test "$silent" = yes &&
22201 ac_config_status_args
="$ac_config_status_args --quiet"
22203 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22205 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22206 # would make configure fail if this is the last instruction.
22207 $ac_cs_success || as_fn_exit
1
22209 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22211 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}