2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libgm2'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="Makefile.am"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_unique_file
="Makefile.am"
633 ac_subst_vars
='am__EXEEXT_FALSE
667 am__fastdepCCAS_FALSE
678 MAINTAINER_MODE_FALSE
712 INSTALL_STRIP_PROGRAM
778 program_transform_name
791 enable_option_checking
793 enable_dependency_tracking
797 enable_version_specific_runtime_libs
799 enable_maintainer_mode
807 ac_precious_vars
='build_alias
819 # Initialize some variables set by options.
821 ac_init_version
=false
822 ac_unrecognized_opts
=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
833 program_transform_name
=s
,x
,x
,
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir
='${exec_prefix}/bin'
848 sbindir
='${exec_prefix}/sbin'
849 libexecdir
='${exec_prefix}/libexec'
850 datarootdir
='${prefix}/share'
851 datadir
='${datarootdir}'
852 sysconfdir
='${prefix}/etc'
853 sharedstatedir
='${prefix}/com'
854 localstatedir
='${prefix}/var'
855 includedir
='${prefix}/include'
856 oldincludedir
='/usr/include'
857 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
858 infodir
='${datarootdir}/info'
863 libdir
='${exec_prefix}/lib'
864 localedir
='${datarootdir}/locale'
865 mandir
='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\
$ac_option
879 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
884 # Accept the important Cygnus configure options, so we can diagnose typos.
886 case $ac_dashdash$ac_option in
890 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
892 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
895 -build |
--build |
--buil |
--bui |
--bu)
896 ac_prev
=build_alias
;;
897 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
898 build_alias
=$ac_optarg ;;
900 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
901 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
902 ac_prev
=cache_file
;;
903 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
904 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
905 cache_file
=$ac_optarg ;;
908 cache_file
=config.cache
;;
910 -datadir |
--datadir |
--datadi |
--datad)
912 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
913 datadir
=$ac_optarg ;;
915 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
916 |
--dataroo |
--dataro |
--datar)
917 ac_prev
=datarootdir
;;
918 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
919 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
920 datarootdir
=$ac_optarg ;;
922 -disable-* |
--disable-*)
923 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
926 as_fn_error $?
"invalid feature name: $ac_useropt"
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=no
;;
938 -docdir |
--docdir |
--docdi |
--doc |
--do)
940 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
943 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
945 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
948 -enable-* |
--enable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error $?
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=\
$ac_optarg ;;
964 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
965 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
966 |
--exec |
--exe |
--ex)
967 ac_prev
=exec_prefix
;;
968 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
969 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
970 |
--exec=* |
--exe=* |
--ex=*)
971 exec_prefix
=$ac_optarg ;;
973 -gas |
--gas |
--ga |
--g)
974 # Obsolete; use --with-gas.
977 -help |
--help |
--hel |
--he |
-h)
979 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
980 ac_init_help
=recursive
;;
981 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
982 ac_init_help
=short
;;
984 -host |
--host |
--hos |
--ho)
985 ac_prev
=host_alias
;;
986 -host=* |
--host=* |
--hos=* |
--ho=*)
987 host_alias
=$ac_optarg ;;
989 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
991 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
993 htmldir
=$ac_optarg ;;
995 -includedir |
--includedir |
--includedi |
--included |
--include \
996 |
--includ |
--inclu |
--incl |
--inc)
997 ac_prev
=includedir
;;
998 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
999 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1000 includedir
=$ac_optarg ;;
1002 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1004 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1005 infodir
=$ac_optarg ;;
1007 -libdir |
--libdir |
--libdi |
--libd)
1009 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1010 libdir
=$ac_optarg ;;
1012 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1013 |
--libexe |
--libex |
--libe)
1014 ac_prev
=libexecdir
;;
1015 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1016 |
--libexe=* |
--libex=* |
--libe=*)
1017 libexecdir
=$ac_optarg ;;
1019 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1020 ac_prev
=localedir
;;
1021 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1022 localedir
=$ac_optarg ;;
1024 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1025 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1026 ac_prev
=localstatedir
;;
1027 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1028 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1029 localstatedir
=$ac_optarg ;;
1031 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1033 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1034 mandir
=$ac_optarg ;;
1036 -nfp |
--nfp |
--nf)
1037 # Obsolete; use --without-fp.
1040 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1041 |
--no-cr |
--no-c |
-n)
1044 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1045 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1048 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1049 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1050 |
--oldin |
--oldi |
--old |
--ol |
--o)
1051 ac_prev
=oldincludedir
;;
1052 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1053 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1054 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1055 oldincludedir
=$ac_optarg ;;
1057 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1059 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1060 prefix
=$ac_optarg ;;
1062 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1063 |
--program-pre |
--program-pr |
--program-p)
1064 ac_prev
=program_prefix
;;
1065 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1066 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1067 program_prefix
=$ac_optarg ;;
1069 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1070 |
--program-suf |
--program-su |
--program-s)
1071 ac_prev
=program_suffix
;;
1072 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1073 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1074 program_suffix
=$ac_optarg ;;
1076 -program-transform-name |
--program-transform-name \
1077 |
--program-transform-nam |
--program-transform-na \
1078 |
--program-transform-n |
--program-transform- \
1079 |
--program-transform |
--program-transfor \
1080 |
--program-transfo |
--program-transf \
1081 |
--program-trans |
--program-tran \
1082 |
--progr-tra |
--program-tr |
--program-t)
1083 ac_prev
=program_transform_name
;;
1084 -program-transform-name=* |
--program-transform-name=* \
1085 |
--program-transform-nam=* |
--program-transform-na=* \
1086 |
--program-transform-n=* |
--program-transform-=* \
1087 |
--program-transform=* |
--program-transfor=* \
1088 |
--program-transfo=* |
--program-transf=* \
1089 |
--program-trans=* |
--program-tran=* \
1090 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1091 program_transform_name
=$ac_optarg ;;
1093 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1095 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1096 pdfdir
=$ac_optarg ;;
1098 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1100 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1103 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1104 |
-silent |
--silent |
--silen |
--sile |
--sil)
1107 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1109 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1111 sbindir
=$ac_optarg ;;
1113 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1114 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1115 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1117 ac_prev
=sharedstatedir
;;
1118 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1119 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1120 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1122 sharedstatedir
=$ac_optarg ;;
1124 -site |
--site |
--sit)
1126 -site=* |
--site=* |
--sit=*)
1129 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1131 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1132 srcdir
=$ac_optarg ;;
1134 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1135 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1136 ac_prev
=sysconfdir
;;
1137 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1138 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1139 sysconfdir
=$ac_optarg ;;
1141 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1142 ac_prev
=target_alias
;;
1143 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1144 target_alias
=$ac_optarg ;;
1146 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1149 -version |
--version |
--versio |
--versi |
--vers |
-V)
1150 ac_init_version
=: ;;
1153 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1156 as_fn_error $?
"invalid package name: $ac_useropt"
1157 ac_useropt_orig
=$ac_useropt
1158 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1163 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164 ac_unrecognized_sep
=', ';;
1166 eval with_
$ac_useropt=\
$ac_optarg ;;
1168 -without-* |
--without-*)
1169 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1172 as_fn_error $?
"invalid package name: $ac_useropt"
1173 ac_useropt_orig
=$ac_useropt
1174 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1179 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180 ac_unrecognized_sep
=', ';;
1182 eval with_
$ac_useropt=no
;;
1185 # Obsolete; use --with-x.
1188 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1189 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1190 ac_prev
=x_includes
;;
1191 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1192 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1193 x_includes
=$ac_optarg ;;
1195 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1196 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1197 ac_prev
=x_libraries
;;
1198 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1199 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1200 x_libraries
=$ac_optarg ;;
1202 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1203 Try \`$0 --help' for more information"
1207 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1208 # Reject names that are not valid shell variable names.
1209 case $ac_envvar in #(
1210 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1211 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1213 eval $ac_envvar=\
$ac_optarg
1214 export $ac_envvar ;;
1217 # FIXME: should be removed in autoconf 3.0.
1218 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1220 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1227 if test -n "$ac_prev"; then
1228 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1229 as_fn_error $?
"missing argument to $ac_option"
1232 if test -n "$ac_unrecognized_opts"; then
1233 case $enable_option_checking in
1235 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1236 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1240 # Check all directory arguments for consistency.
1241 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242 datadir sysconfdir sharedstatedir localstatedir includedir \
1243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244 libdir localedir mandir
1246 eval ac_val
=\$
$ac_var
1247 # Remove trailing slashes.
1250 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251 eval $ac_var=\
$ac_val;;
1253 # Be sure to have absolute directory names.
1255 [\\/$
]* | ?
:[\\/]* ) continue;;
1256 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1258 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1261 # There might be people who depend on the old broken behavior: `$host'
1262 # used to hold the argument of --host etc.
1263 # FIXME: To remove some day.
1266 target
=$target_alias
1268 # FIXME: To remove some day.
1269 if test "x$host_alias" != x
; then
1270 if test "x$build_alias" = x
; then
1271 cross_compiling
=maybe
1272 elif test "x$build_alias" != "x$host_alias"; then
1278 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1280 test "$silent" = yes && exec 6>/dev
/null
1283 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1284 ac_ls_di
=`ls -di .` &&
1285 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1286 as_fn_error $?
"working directory cannot be determined"
1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288 as_fn_error $?
"pwd does not report name of working directory"
1291 # Find the source files, if location was not specified.
1292 if test -z "$srcdir"; then
1293 ac_srcdir_defaulted
=yes
1294 # Try the directory containing this script, then the parent directory.
1295 ac_confdir
=`$as_dirname -- "$as_myself" ||
1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297 X"$as_myself" : 'X\(//\)[^/]' \| \
1298 X"$as_myself" : 'X\(//\)$' \| \
1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300 $as_echo X"$as_myself" |
1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1323 ac_srcdir_defaulted
=no
1325 if test ! -r "$srcdir/$ac_unique_file"; then
1326 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1327 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1329 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1333 # When building in place, set srcdir=.
1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
1337 # Remove unnecessary trailing slashes from srcdir.
1338 # Double slashes in file names in object file debugging info
1339 # mess up M-x gdb in Emacs.
1341 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1343 for ac_var
in $ac_precious_vars; do
1344 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1345 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1346 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1347 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1351 # Report the --help message.
1353 if test "$ac_init_help" = "long"; then
1354 # Omit some internal or obsolete options to make the list less imposing.
1355 # This message is too long to be a string in the A/UX 3.1 sh.
1357 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1359 Usage: $0 [OPTION]... [VAR=VALUE]...
1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362 VAR=VALUE. See below for descriptions of some of the useful variables.
1364 Defaults for the options are specified in brackets.
1367 -h, --help display this help and exit
1368 --help=short display options specific to this package
1369 --help=recursive display the short help of all the included packages
1370 -V, --version display version information and exit
1371 -q, --quiet, --silent do not print \`checking ...' messages
1372 --cache-file=FILE cache test results in FILE [disabled]
1373 -C, --config-cache alias for \`--cache-file=config.cache'
1374 -n, --no-create do not create output files
1375 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1377 Installation directories:
1378 --prefix=PREFIX install architecture-independent files in PREFIX
1379 [$ac_default_prefix]
1380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1383 By default, \`make install' will install all the files in
1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386 for instance \`--prefix=\$HOME'.
1388 For better control, use the options below.
1390 Fine tuning of the installation directories:
1391 --bindir=DIR user executables [EPREFIX/bin]
1392 --sbindir=DIR system admin executables [EPREFIX/sbin]
1393 --libexecdir=DIR program executables [EPREFIX/libexec]
1394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1396 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1397 --libdir=DIR object code libraries [EPREFIX/lib]
1398 --includedir=DIR C header files [PREFIX/include]
1399 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1400 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1401 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1402 --infodir=DIR info documentation [DATAROOTDIR/info]
1403 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1404 --mandir=DIR man documentation [DATAROOTDIR/man]
1405 --docdir=DIR documentation root [DATAROOTDIR/doc/libgm2]
1406 --htmldir=DIR html documentation [DOCDIR]
1407 --dvidir=DIR dvi documentation [DOCDIR]
1408 --pdfdir=DIR pdf documentation [DOCDIR]
1409 --psdir=DIR ps documentation [DOCDIR]
1415 --program-prefix=PREFIX prepend PREFIX to installed program names
1416 --program-suffix=SUFFIX append SUFFIX to installed program names
1417 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1420 --build=BUILD configure
for building on BUILD
[guessed
]
1421 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1422 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1426 if test -n "$ac_init_help"; then
1427 case $ac_init_help in
1428 short | recursive
) echo "Configuration of package-unused version-unused:";;
1433 --disable-option-checking ignore unrecognized
--enable/--with options
1434 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1435 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1436 --enable-multilib build many library versions
(default
)
1437 --enable-dependency-tracking
1438 do not reject slow dependency extractors
1439 --disable-dependency-tracking
1440 speeds up one-time build
1441 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1442 --disable-silent-rules verbose build output
(undo
: "make V=0")
1443 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1444 --enable-maintainer-mode
1445 enable make rules and dependencies not useful
(and
1446 sometimes confusing
) to the casual installer
1447 --enable-maintainer-mode
1448 enable make rules and dependencies not useful
(and
1449 sometimes confusing
) to the casual installer
1450 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1451 --enable-static[=PKGS
] build static libraries
[default
=yes]
1452 --enable-fast-install[=PKGS
]
1453 optimize
for fast installation
[default
=yes]
1454 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1457 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1458 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1459 --with-cross-host=HOST Configuring with a cross compiler
1460 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1461 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1462 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1464 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1466 Some influential environment variables
:
1467 CC C compiler
command
1468 CFLAGS C compiler flags
1469 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1470 nonstandard directory
<lib dir
>
1471 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1472 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1473 you have headers
in a nonstandard directory
<include dir
>
1475 CXX C
++ compiler
command
1476 CXXFLAGS C
++ compiler flags
1477 CCAS assembler compiler
command (defaults to CC
)
1478 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1479 CXXCPP C
++ preprocessor
1481 Use these variables to override the choices made by
`configure' or to help
1482 it to find libraries and programs with nonstandard names/locations.
1484 Report bugs to the package provider.
1489 if test "$ac_init_help" = "recursive"; then
1490 # If there are subdirs, report their specific --help.
1491 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1492 test -d "$ac_dir" ||
1493 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1498 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1501 # A ".." for each directory in $ac_dir_suffix.
1502 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1503 case $ac_top_builddir_sub in
1504 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1505 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1508 ac_abs_top_builddir=$ac_pwd
1509 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1510 # for backward compatibility:
1511 ac_top_builddir=$ac_top_build_prefix
1514 .) # We are building in place.
1516 ac_top_srcdir=$ac_top_builddir_sub
1517 ac_abs_top_srcdir=$ac_pwd ;;
1518 [\\/]* | ?:[\\/]* ) # Absolute name.
1519 ac_srcdir=$srcdir$ac_dir_suffix;
1520 ac_top_srcdir=$srcdir
1521 ac_abs_top_srcdir=$srcdir ;;
1523 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1524 ac_top_srcdir=$ac_top_build_prefix$srcdir
1525 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1527 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1529 cd "$ac_dir" || { ac_status=$?; continue; }
1530 # Check for guested configure.
1531 if test -f "$ac_srcdir/configure.gnu"; then
1533 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1534 elif test -f "$ac_srcdir/configure"; then
1536 $SHELL "$ac_srcdir/configure" --help=recursive
1538 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1540 cd "$ac_pwd" || { ac_status=$?; break; }
1544 test -n "$ac_init_help" && exit $ac_status
1545 if $ac_init_version; then
1547 package-unused configure version-unused
1548 generated by GNU Autoconf 2.69
1550 Copyright (C) 2012 Free Software Foundation, Inc.
1551 This configure script is free software; the Free Software Foundation
1552 gives unlimited permission to copy, distribute and modify it.
1557 ## ------------------------ ##
1558 ## Autoconf initialization. ##
1559 ## ------------------------ ##
1561 # ac_fn_c_try_compile LINENO
1562 # --------------------------
1563 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1564 ac_fn_c_try_compile ()
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567 rm -f conftest.$ac_objext
1568 if { { ac_try="$ac_compile"
1570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1571 *) ac_try_echo
=$ac_try;;
1573 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_compile") 2>conftest.err
1577 if test -s conftest.err
; then
1578 grep -v '^ *+' conftest.err
>conftest.er1
1579 cat conftest.er1
>&5
1580 mv -f conftest.er1 conftest.err
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; } && {
1584 test -z "$ac_c_werror_flag" ||
1585 test ! -s conftest.err
1586 } && test -s conftest.
$ac_objext; then :
1589 $as_echo "$as_me: failed program was:" >&5
1590 sed 's/^/| /' conftest.
$ac_ext >&5
1594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1595 as_fn_set_status
$ac_retval
1597 } # ac_fn_c_try_compile
1599 # ac_fn_c_try_cpp LINENO
1600 # ----------------------
1601 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1604 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1605 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1608 *) ac_try_echo=$ac_try;;
1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1611 $as_echo "$ac_try_echo"; } >&5
1612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1614 if test -s conftest.err; then
1615 grep -v '^ *+' conftest.err >conftest.er1
1616 cat conftest.er1 >&5
1617 mv -f conftest.er1 conftest.err
1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1620 test $ac_status = 0; } > conftest.i && {
1621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1622 test ! -s conftest.err
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632 as_fn_set_status $ac_retval
1636 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1637 # -------------------------------------------------------
1638 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1639 # the include files in INCLUDES and setting the cache variable VAR
1641 ac_fn_c_check_header_mongrel ()
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 if eval \${$3+:} false; then :
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646 $as_echo_n "checking for $2... " >&6; }
1647 if eval \${$3+:} false; then :
1648 $as_echo_n "(cached) " >&6
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1654 # Is the header compilable?
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1656 $as_echo_n "checking $2 usability... " >&6; }
1657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658 /* end confdefs.h. */
1662 if ac_fn_c_try_compile "$LINENO"; then :
1663 ac_header_compiler=yes
1665 ac_header_compiler=no
1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1669 $as_echo "$ac_header_compiler" >&6; }
1671 # Is the header present?
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1673 $as_echo_n "checking $2 presence... " >&6; }
1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1678 if ac_fn_c_try_cpp "$LINENO"; then :
1679 ac_header_preproc=yes
1681 ac_header_preproc=no
1683 rm -f conftest.err conftest.i conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1685 $as_echo "$ac_header_preproc" >&6; }
1687 # So? What about this header?
1688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1691 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1693 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1697 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1699 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1701 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1703 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1705 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if eval \${$3+:} false; then :
1711 $as_echo_n "(cached) " >&6
1713 eval "$3=\$ac_header_compiler"
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 } # ac_fn_c_check_header_mongrel
1723 # ac_fn_c_try_run LINENO
1724 # ----------------------
1725 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1726 # that executables *can* be run.
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 if { { ac_try="$ac_link"
1732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1733 *) ac_try_echo
=$ac_try;;
1735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_link") 2>&5
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1741 { { case "(($ac_try" in
1742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_try") 2>&5
1749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750 test $ac_status = 0; }; }; then :
1753 $as_echo "$as_me: program exited with status $ac_status" >&5
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1757 ac_retval=$ac_status
1759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761 as_fn_set_status $ac_retval
1765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1766 # -------------------------------------------------------
1767 # Tests whether HEADER exists and can be compiled using the include files in
1768 # INCLUDES, setting the cache variable VAR accordingly.
1769 ac_fn_c_check_header_compile ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if eval \${$3+:} false; then :
1775 $as_echo_n "(cached) " >&6
1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1782 if ac_fn_c_try_compile "$LINENO"; then :
1787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 } # ac_fn_c_check_header_compile
1796 # ac_fn_cxx_try_compile LINENO
1797 # ----------------------------
1798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1799 ac_fn_cxx_try_compile ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 rm -f conftest.$ac_objext
1803 if { { ac_try="$ac_compile"
1805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1806 *) ac_try_echo
=$ac_try;;
1808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_compile") 2>conftest.err
1812 if test -s conftest.err
; then
1813 grep -v '^ *+' conftest.err
>conftest.er1
1814 cat conftest.er1
>&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_cxx_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest.
$ac_objext; then :
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status
$ac_retval
1832 } # ac_fn_cxx_try_compile
1834 # ac_fn_c_try_link LINENO
1835 # -----------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1840 rm -f conftest.
$ac_objext conftest
$ac_exeext
1841 if { { ac_try
="$ac_link"
1843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest$ac_exeext && {
1860 test "$cross_compiling" = yes ||
1861 test -x conftest$ac_exeext
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 as_fn_set_status $ac_retval
1878 } # ac_fn_c_try_link
1880 # ac_fn_c_check_func LINENO FUNC VAR
1881 # ----------------------------------
1882 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1883 ac_fn_c_check_func ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1891 if test x$gcc_no_link = xyes; then
1892 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898 #define $2 innocuous_$2
1900 /* System header to define __stub macros and hopefully few prototypes,
1901 which can conflict with char $2 (); below.
1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903 <limits.h> exists even on freestanding compilers. */
1906 # include <limits.h>
1908 # include <assert.h>
1913 /* Override any GCC internal prototype to avoid an error.
1914 Use char because int might match the return type of a GCC
1915 builtin and then its argument prototype would still apply. */
1920 /* The GNU C library defines this for functions which it implements
1921 to always fail with ENOSYS. Some functions are actually named
1922 something starting with __ and the normal name is an alias. */
1923 #if defined __stub_$2 || defined __stub___$2
1935 if ac_fn_c_try_link "$LINENO"; then :
1940 rm -f core conftest.err conftest.$ac_objext \
1941 conftest$ac_exeext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 } # ac_fn_c_check_func
1950 # ac_fn_cxx_try_cpp LINENO
1951 # ------------------------
1952 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_cpp ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 if { { ac_try="$ac_cpp conftest.$ac_ext"
1958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1959 *) ac_try_echo
=$ac_try;;
1961 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965 if test -s conftest.err
; then
1966 grep -v '^ *+' conftest.err
>conftest.er1
1967 cat conftest.er1
>&5
1968 mv -f conftest.er1 conftest.err
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } > conftest.i
&& {
1972 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1973 test ! -s conftest.err
1977 $as_echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.
$ac_ext >&5
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 as_fn_set_status
$ac_retval
1985 } # ac_fn_cxx_try_cpp
1987 # ac_fn_cxx_try_link LINENO
1988 # -------------------------
1989 # Try to link conftest.$ac_ext, and return whether this succeeded.
1990 ac_fn_cxx_try_link
()
1992 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1993 rm -f conftest.
$ac_objext conftest
$ac_exeext
1994 if { { ac_try
="$ac_link"
1996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_link") 2>conftest.err
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } && {
2010 test -z "$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2012 } && test -s conftest$ac_exeext && {
2013 test "$cross_compiling" = yes ||
2014 test -x conftest$ac_exeext
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2025 # interfere with the next link command; also delete a directory that is
2026 # left behind by Apple's compiler. We do this before executing the actions.
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status $ac_retval
2031 } # ac_fn_cxx_try_link
2033 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2034 # -------------------------------------------
2035 # Tests whether TYPE exists after having included INCLUDES, setting cache
2036 # variable VAR accordingly.
2037 ac_fn_c_check_type ()
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041 $as_echo_n "checking for $2... " >&6; }
2042 if eval \${$3+:} false; then :
2043 $as_echo_n "(cached) " >&6
2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2058 if ac_fn_c_try_compile "$LINENO"; then :
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2071 if ac_fn_c_try_compile "$LINENO"; then :
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2085 } # ac_fn_c_check_type
2086 cat >config.log <<_ACEOF
2087 This file contains any messages produced by compilers while
2088 running configure, to aid debugging if configure makes a mistake.
2090 It was created by package-unused $as_me version-unused, which was
2091 generated by GNU Autoconf 2.69. Invocation command line was
2103 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2104 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2105 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2106 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2107 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2109 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2110 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2112 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2113 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2114 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2115 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2116 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2117 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2118 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir=.
2127 $as_echo "PATH: $as_dir"
2143 # Keep a trace of the command line.
2144 # Strip out --no-create and --no-recursion so they do not pile up.
2145 # Strip out --silent because we don't want to record it for future runs.
2146 # Also quote any args containing shell meta-characters.
2147 # Make two passes to allow for proper duplicate-argument suppression.
2151 ac_must_keep_next=false
2157 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2158 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2159 | -silent | --silent | --silen | --sile | --sil)
2162 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2165 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2167 as_fn_append ac_configure_args1 " '$ac_arg'"
2168 if test $ac_must_keep_next = true; then
2169 ac_must_keep_next=false # Got value, back to normal.
2172 *=* | --config-cache | -C | -disable-* | --disable-* \
2173 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2174 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2175 | -with-* | --with-* | -without-* | --without-* | --x)
2176 case "$ac_configure_args0 " in
2177 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2180 -* ) ac_must_keep_next=true ;;
2183 as_fn_append ac_configure_args " '$ac_arg'"
2188 { ac_configure_args0=; unset ac_configure_args0;}
2189 { ac_configure_args1=; unset ac_configure_args1;}
2191 # When interrupted or exit'd, cleanup temporary files, and complete
2192 # config.log. We remove comments because anyway the quotes in there
2193 # would cause problems or look ugly.
2194 # WARNING: Use '\'' to represent an apostrophe within the trap.
2195 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2196 trap 'exit_status=$?
2197 # Save into config.log some information that might help in debugging.
2201 $as_echo "## ---------------- ##
2202 ## Cache variables. ##
2203 ## ---------------- ##"
2205 # The following way of writing the cache mishandles newlines in values,
2207 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2208 eval ac_val=\$$ac_var
2212 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2213 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2216 _ | IFS | as_nl) ;; #(
2217 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2218 *) { eval $ac_var=; unset $ac_var;} ;;
2223 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2224 *${as_nl}ac_space=\ *)
2226 "s/'\''/'\''\\\\'\'''\''/g;
2227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2230 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2237 $as_echo "## ----------------- ##
2238 ## Output variables. ##
2239 ## ----------------- ##"
2241 for ac_var in $ac_subst_vars
2243 eval ac_val=\$$ac_var
2245 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2247 $as_echo "$ac_var='\''$ac_val'\''"
2251 if test -n "$ac_subst_files"; then
2252 $as_echo "## ------------------- ##
2253 ## File substitutions. ##
2254 ## ------------------- ##"
2256 for ac_var in $ac_subst_files
2258 eval ac_val=\$$ac_var
2260 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 $as_echo "$ac_var='\''$ac_val'\''"
2267 if test -s confdefs.h; then
2268 $as_echo "## ----------- ##
2275 test "$ac_signal" != 0 &&
2276 $as_echo "$as_me: caught signal $ac_signal"
2277 $as_echo "$as_me: exit $exit_status"
2279 rm -f core *.core core.conftest.* &&
2280 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2283 for ac_signal in 1 2 13 15; do
2284 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2288 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2289 rm -f -r conftest* confdefs.h
2291 $as_echo "/* confdefs.h */" > confdefs.h
2293 # Predefined preprocessor variables.
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_NAME "$PACKAGE_NAME"
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2303 cat >>confdefs.h <<_ACEOF
2304 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_STRING "$PACKAGE_STRING"
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_URL "$PACKAGE_URL"
2320 # Let the site file select an alternate cache file if it wants to.
2321 # Prefer an explicitly selected file to automatically selected ones.
2324 if test -n "$CONFIG_SITE"; then
2325 # We do not want a PATH search for config.site.
2326 case $CONFIG_SITE in #((
2327 -*) ac_site_file1=./$CONFIG_SITE;;
2328 */*) ac_site_file1=$CONFIG_SITE;;
2329 *) ac_site_file1=./$CONFIG_SITE;;
2331 elif test "x$prefix" != xNONE; then
2332 ac_site_file1=$prefix/share/config.site
2333 ac_site_file2=$prefix/etc/config.site
2335 ac_site_file1=$ac_default_prefix/share/config.site
2336 ac_site_file2=$ac_default_prefix/etc/config.site
2338 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2340 test "x$ac_site_file" = xNONE && continue
2341 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2343 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2344 sed 's/^/| /' "$ac_site_file" >&5
2346 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 as_fn_error $? "failed to load site
script $ac_site_file
2349 See \
`config.log' for more details" "$LINENO" 5; }
2353 if test -r "$cache_file"; then
2354 # Some versions of bash will fail to source /dev/null (special files
2355 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2356 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2358 $as_echo "$as_me: loading cache $cache_file" >&6;}
2360 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2361 *) . "./$cache_file";;
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2366 $as_echo "$as_me: creating cache $cache_file" >&6;}
2370 # Check that the precious variables saved in the cache have kept the same
2372 ac_cache_corrupted=false
2373 for ac_var in $ac_precious_vars; do
2374 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2375 eval ac_new_set=\$ac_env_${ac_var}_set
2376 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2377 eval ac_new_val=\$ac_env_${ac_var}_value
2378 case $ac_old_set,$ac_new_set in
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2381 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2382 ac_cache_corrupted=: ;;
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2385 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2386 ac_cache_corrupted=: ;;
2389 if test "x$ac_old_val" != "x$ac_new_val"; then
2390 # differences in whitespace do not lead to failure.
2391 ac_old_val_w=`echo x
$ac_old_val`
2392 ac_new_val_w=`echo x
$ac_new_val`
2393 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2395 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2396 ac_cache_corrupted=:
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2399 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2400 eval $ac_var=\$ac_old_val
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2403 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2405 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2408 # Pass precious variables to config.status.
2409 if test "$ac_new_set" = set; then
2411 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2412 *) ac_arg=$ac_var=$ac_new_val ;;
2414 case " $ac_configure_args " in
2415 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2416 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2420 if $ac_cache_corrupted; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2424 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2425 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2427 ## -------------------- ##
2428 ## Main body of script. ##
2429 ## -------------------- ##
2432 ac_cpp='$CPP $CPPFLAGS'
2433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2442 # AC_CONFIG_MACRO_DIR([config])
2443 ac_config_headers="$ac_config_headers config.h"
2446 libtool_VERSION=17:0:0
2449 # Default to --enable-multilib
2450 # Check whether --enable-multilib was given.
2451 if test "${enable_multilib+set}" = set; then :
2452 enableval=$enable_multilib; case "$enableval" in
2453 yes) multilib=yes ;;
2455 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2462 # We may get other options which we leave undocumented:
2463 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2464 # See config-ml.in if you want the gory details.
2466 if test "$srcdir" = "."; then
2467 if test "$with_target_subdir" != "."; then
2468 multi_basedir="$srcdir/$with_multisrctop../.."
2470 multi_basedir="$srcdir/$with_multisrctop.."
2473 multi_basedir="$srcdir/.."
2477 # Even if the default multilib is not a cross compilation,
2478 # it may be that some of the other multilibs are.
2479 if test $cross_compiling = no && test $multilib = yes \
2480 && test "x${with_multisubdir}" != x ; then
2481 cross_compiling=maybe
2484 ac_config_commands="$ac_config_commands default-1"
2490 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2491 if test -f "$ac_dir/install-sh"; then
2493 ac_install_sh="$ac_aux_dir/install-sh -c"
2495 elif test -f "$ac_dir/install.sh"; then
2497 ac_install_sh="$ac_aux_dir/install.sh -c"
2499 elif test -f "$ac_dir/shtool"; then
2501 ac_install_sh="$ac_aux_dir/shtool install -c"
2505 if test -z "$ac_aux_dir"; then
2506 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2509 # These three variables are undocumented and unsupported,
2510 # and are intended to be withdrawn in a future Autoconf release.
2511 # They can cause serious problems if a builder's source tree is in a directory
2512 # whose full name contains unusual characters.
2513 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2514 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2515 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2518 # Expand $ac_aux_dir to an absolute path.
2519 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2522 ac_cpp='$CPP $CPPFLAGS'
2523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2526 if test -n "$ac_tool_prefix"; then
2527 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2528 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if ${ac_cv_prog_CC+:} false; then :
2532 $as_echo_n "(cached) " >&6
2534 if test -n "$CC"; then
2535 ac_cv_prog_CC="$CC" # Let the user override the test.
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir=.
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2544 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 if test -n "$CC"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2557 $as_echo "$CC" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2565 if test -z "$ac_cv_prog_CC"; then
2567 # Extract the first word of "gcc", so it can be a program name with args.
2568 set dummy gcc; ac_word=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2572 $as_echo_n "(cached) " >&6
2574 if test -n "$ac_ct_CC"; then
2575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 for ac_exec_ext in '' $ac_executable_extensions; do
2583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_ac_ct_CC="gcc"
2585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2595 if test -n "$ac_ct_CC"; then
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2597 $as_echo "$ac_ct_CC" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2603 if test "x$ac_ct_CC" = x; then
2606 case $cross_compiling:$ac_tool_warned in
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2610 ac_tool_warned=yes ;;
2618 if test -z "$CC"; then
2619 if test -n "$ac_tool_prefix"; then
2620 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2621 set dummy ${ac_tool_prefix}cc; ac_word=$2
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if ${ac_cv_prog_CC+:} false; then :
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$CC"; then
2628 ac_cv_prog_CC="$CC" # Let the user override the test.
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2637 ac_cv_prog_CC="${ac_tool_prefix}cc"
2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 if test -n "$CC"; then
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2650 $as_echo "$CC" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2653 $as_echo "no" >&6; }
2659 if test -z "$CC"; then
2660 # Extract the first word of "cc", so it can be a program name with args.
2661 set dummy cc; 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_CC+:} false; then :
2665 $as_echo_n "(cached) " >&6
2667 if test -n "$CC"; then
2668 ac_cv_prog_CC="$CC" # Let the user override the test.
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir=.
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2678 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2679 ac_prog_rejected=yes
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 if test $ac_prog_rejected = yes; then
2691 # We found a bogon in the path, so make sure we never use it.
2692 set dummy $ac_cv_prog_CC
2694 if test $# != 0; then
2695 # We chose a different compiler from the bogus one.
2696 # However, it has the same basename, so the bogon will be chosen
2697 # first if we set CC to just the basename; use the full file name.
2699 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2705 if test -n "$CC"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 for ac_prog in cl.exe
2719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_CC+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test -n "$CC"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2749 $as_echo "$CC" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2756 test -n "$CC" && break
2759 if test -z "$CC"; then
2761 for ac_prog in cl.exe
2763 # Extract the first word of "$ac_prog", so it can be a program name with args.
2764 set dummy $ac_prog; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$ac_ct_CC"; then
2771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780 ac_cv_prog_ac_ct_CC="$ac_prog"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2791 if test -n "$ac_ct_CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2793 $as_echo "$ac_ct_CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2800 test -n "$ac_ct_CC" && break
2803 if test "x$ac_ct_CC" = x; then
2806 case $cross_compiling:$ac_tool_warned in
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2810 ac_tool_warned=yes ;;
2819 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2822 See \
`config.log' for more details" "$LINENO" 5; }
2824 # Provide some information about the compiler.
2825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2828 for ac_option in --version -v -V -qversion; do
2829 { { ac_try="$ac_compiler $ac_option >&5"
2831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2832 *) ac_try_echo
=$ac_try;;
2834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2838 if test -s conftest.err
; then
2840 ... rest of stderr output deleted ...
2841 10q' conftest.err
>conftest.er1
2842 cat conftest.er1
>&5
2844 rm -f conftest.er1 conftest.err
2845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2846 test $ac_status = 0; }
2849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2855 printf ("hello world\n");
2861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
2862 (eval $ac_link) 2>&5
2864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2865 test $ac_status = 0; }; then :
2870 if test x
$gcc_no_link = xyes
; then
2871 # Setting cross_compile will disable run tests; it will
2872 # also disable AC_CHECK_FILE but that's generally
2873 # correct if we can't link.
2877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2888 ac_clean_files_save
=$ac_clean_files
2889 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2890 # Try to create an executable without -o first, disregard a.out.
2891 # It will help us diagnose broken compilers, and finding out an intuition
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2894 $as_echo_n "checking whether the C compiler works... " >&6; }
2895 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2897 # The possible output files:
2898 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2901 for ac_file
in $ac_files
2904 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2905 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2910 if { { ac_try
="$ac_link_default"
2912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916 $as_echo "$ac_try_echo"; } >&5
2917 (eval "$ac_link_default") 2>&5
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; }; then :
2921 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2922 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2923 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2924 # so that the user can short-circuit this test for compilers unknown to
2926 for ac_file in $ac_files ''
2928 test -f "$ac_file" || continue
2930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2933 # We found the default executable, but exeext='' is most
2937 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2939 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2941 # We set ac_cv_exeext here because the later test for it is not
2942 # safe: cross compilers may not add the suffix if given an `-o'
2943 # argument, so we may need to know it at that point already.
2944 # Even if this section looks crufty: it has the advantage of
2951 test "$ac_cv_exeext" = no && ac_cv_exeext=
2956 if test -z "$ac_file"; then :
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 $as_echo "no" >&6; }
2959 $as_echo "$as_me: failed program was:" >&5
2960 sed 's
/^
/|
/' conftest.$ac_ext >&5
2962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2963 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2964 as_fn_error 77 "C compiler cannot create executables
2965 See \`config.log
' for more details" "$LINENO" 5; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2968 $as_echo "yes" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2971 $as_echo_n "checking for C compiler default output file name... " >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2973 $as_echo "$ac_file" >&6; }
2974 ac_exeext=$ac_cv_exeext
2976 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2977 ac_clean_files=$ac_clean_files_save
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2979 $as_echo_n "checking for suffix of executables... " >&6; }
2980 if { { ac_try="$ac_link"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_link") 2>&5
2989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2990 test $ac_status = 0; }; then :
2991 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2992 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2993 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2995 for ac_file
in conftest.exe conftest conftest.
*; do
2996 test -f "$ac_file" ||
continue
2998 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2999 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3008 See \`config.log' for more details" "$LINENO" 5; }
3010 rm -f conftest conftest
$ac_cv_exeext
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3012 $as_echo "$ac_cv_exeext" >&6; }
3014 rm -f conftest.
$ac_ext
3015 EXEEXT
=$ac_cv_exeext
3017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3023 FILE *f = fopen ("conftest.out", "w");
3024 return ferror (f) || fclose (f) != 0;
3030 ac_clean_files
="$ac_clean_files conftest.out"
3031 # Check that the compiler produces executables we can run. If not, either
3032 # the compiler is broken, or we cross compile.
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3034 $as_echo_n "checking whether we are cross compiling... " >&6; }
3035 if test "$cross_compiling" != yes; then
3036 { { ac_try
="$ac_link"
3038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_link") 2>&5
3045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3046 test $ac_status = 0; }
3047 if { ac_try='./conftest$ac_cv_exeext'
3048 { { case "(($ac_try" in
3049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3050 *) ac_try_echo
=$ac_try;;
3052 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3053 $as_echo "$ac_try_echo"; } >&5
3054 (eval "$ac_try") 2>&5
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }; }; then
3060 if test "$cross_compiling" = maybe
; then
3063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3065 as_fn_error $?
"cannot run C compiled programs.
3066 If you meant to cross compile, use \`--host'.
3067 See \`config.log' for more details" "$LINENO" 5; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3072 $as_echo "$cross_compiling" >&6; }
3074 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3075 ac_clean_files
=$ac_clean_files_save
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3078 $as_echo_n "checking for suffix of object files... " >&6; }
3079 if ${ac_cv_objext+:} false
; then :
3080 $as_echo_n "(cached) " >&6
3082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3083 /* end confdefs.h. */
3093 rm -f conftest.o conftest.obj
3094 if { { ac_try
="$ac_compile"
3096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3100 $as_echo "$ac_try_echo"; } >&5
3101 (eval "$ac_compile") 2>&5
3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3104 test $ac_status = 0; }; then :
3105 for ac_file in conftest.o conftest.obj conftest.*; do
3106 test -f "$ac_file" || continue;
3108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3109 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3114 $as_echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3119 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3120 See \
`config.log' for more details" "$LINENO" 5; }
3122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3125 $as_echo "$ac_cv_objext" >&6; }
3126 OBJEXT=$ac_cv_objext
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3130 if ${ac_cv_c_compiler_gnu+:} false; then :
3131 $as_echo_n "(cached) " >&6
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3147 if ac_fn_c_try_compile "$LINENO"; then :
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3158 if test $ac_compiler_gnu = yes; then
3163 ac_test_CFLAGS=${CFLAGS+set}
3164 ac_save_CFLAGS=$CFLAGS
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3167 if ${ac_cv_prog_cc_g+:} false; then :
3168 $as_echo_n "(cached) " >&6
3170 ac_save_c_werror_flag=$ac_c_werror_flag
3171 ac_c_werror_flag=yes
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3185 if ac_fn_c_try_compile "$LINENO"; then :
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 if ac_fn_c_try_compile "$LINENO"; then :
3203 ac_c_werror_flag=$ac_save_c_werror_flag
3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3216 if ac_fn_c_try_compile "$LINENO"; then :
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3224 ac_c_werror_flag=$ac_save_c_werror_flag
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3227 $as_echo "$ac_cv_prog_cc_g" >&6; }
3228 if test "$ac_test_CFLAGS" = set; then
3229 CFLAGS=$ac_save_CFLAGS
3230 elif test $ac_cv_prog_cc_g = yes; then
3231 if test "$GCC" = yes; then
3237 if test "$GCC" = yes; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3245 if ${ac_cv_prog_cc_c89+:} false; then :
3246 $as_echo_n "(cached) " >&6
3248 ac_cv_prog_cc_c89=no
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3256 struct buf { int x; };
3257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3258 static char *e (p, i)
3264 static char *f (char * (*g) (char **, int), char **p, ...)
3269 s = g (p, va_arg (v,int));
3274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3275 function prototypes and stuff, but not '\xHH' hex character constants.
3276 These don't provoke an error unfortunately, instead are silently treated
3277 as 'x'. The following induces an error, until -std is added to get
3278 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3279 array size at least. It's necessary to write '\x00'==0 to get something
3280 that's true only with -std. */
3281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3284 inside strings and character constants. */
3286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3288 int test (int i, double x);
3289 struct s1 {int (*f) (int a);};
3290 struct s2 {int (*f) (double a);};
3291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3297 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3303 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3305 CC="$ac_save_CC $ac_arg"
3306 if ac_fn_c_try_compile "$LINENO"; then :
3307 ac_cv_prog_cc_c89=$ac_arg
3309 rm -f core conftest.err conftest.$ac_objext
3310 test "x$ac_cv_prog_cc_c89" != "xno" && break
3312 rm -f conftest.$ac_ext
3317 case "x$ac_cv_prog_cc_c89" in
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3320 $as_echo "none needed" >&6; } ;;
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3323 $as_echo "unsupported" >&6; } ;;
3325 CC="$CC $ac_cv_prog_cc_c89"
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3329 if test "x$ac_cv_prog_cc_c89" != xno; then :
3334 ac_cpp='$CPP $CPPFLAGS'
3335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3340 ac_cpp='$CPP $CPPFLAGS'
3341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3345 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3346 if ${am_cv_prog_cc_c_o+:} false; then :
3347 $as_echo_n "(cached) " >&6
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3360 # Make sure it works both with $CC and with simple cc.
3361 # Following AC_PROG_CC_C_O, we do the test twice because some
3362 # compilers refuse to overwrite an existing .o file with -o,
3363 # though they will create one.
3364 am_cv_prog_cc_c_o=yes
3366 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3367 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } \
3371 && test -f conftest2.$ac_objext; then
3374 am_cv_prog_cc_c_o=no
3378 rm -f core conftest*
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3382 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3383 if test "$am_cv_prog_cc_c_o" != yes; then
3384 # Losing compiler, so override with the script.
3385 # FIXME: It is wrong to rewrite CC.
3386 # But if we don't then we get into trouble of one sort or another.
3387 # A longer-term fix would be to have automake use am__CC in this case,
3388 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3389 CC="$am_aux_dir/compile $CC"
3392 ac_cpp='$CPP $CPPFLAGS'
3393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3400 ac_cpp='$CPP $CPPFLAGS'
3401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3405 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3406 # On Suns, sometimes $CPP names a directory.
3407 if test -n "$CPP" && test -d "$CPP"; then
3410 if test -z "$CPP"; then
3411 if ${ac_cv_prog_CPP+:} false; then :
3412 $as_echo_n "(cached) " >&6
3414 # Double quotes because CPP needs to be expanded
3415 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3418 for ac_c_preproc_warn_flag in '' yes
3420 # Use a header file that comes with gcc, so configuring glibc
3421 # with a fresh cross-compiler works.
3422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3423 # <limits.h> exists even on freestanding compilers.
3424 # On the NeXT, cc -E runs the code through the compiler's parser,
3425 # not just through cpp. "Syntax error" is here to catch this case.
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3429 # include <limits.h>
3431 # include <assert.h>
3435 if ac_fn_c_try_cpp "$LINENO"; then :
3438 # Broken: fails on valid input.
3441 rm -f conftest.err conftest.i conftest.$ac_ext
3443 # OK, works on sane cases. Now check whether nonexistent headers
3444 # can be detected and how.
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3447 #include <ac_nonexistent.h>
3449 if ac_fn_c_try_cpp "$LINENO"; then :
3450 # Broken: success on invalid input.
3453 # Passes both tests.
3457 rm -f conftest.err conftest.i conftest.$ac_ext
3460 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3461 rm -f conftest.i conftest.err conftest.
$ac_ext
3462 if $ac_preproc_ok; then :
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3475 $as_echo "$CPP" >&6; }
3477 for ac_c_preproc_warn_flag
in '' yes
3479 # Use a header file that comes with gcc, so configuring glibc
3480 # with a fresh cross-compiler works.
3481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3482 # <limits.h> exists even on freestanding compilers.
3483 # On the NeXT, cc -E runs the code through the compiler's parser,
3484 # not just through cpp. "Syntax error" is here to catch this case.
3485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3488 # include <limits.h>
3490 # include <assert.h>
3494 if ac_fn_c_try_cpp
"$LINENO"; then :
3497 # Broken: fails on valid input.
3500 rm -f conftest.err conftest.i conftest.
$ac_ext
3502 # OK, works on sane cases. Now check whether nonexistent headers
3503 # can be detected and how.
3504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3506 #include <ac_nonexistent.h>
3508 if ac_fn_c_try_cpp
"$LINENO"; then :
3509 # Broken: success on invalid input.
3512 # Passes both tests.
3516 rm -f conftest.err conftest.i conftest.
$ac_ext
3519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3520 rm -f conftest.i conftest.err conftest.
$ac_ext
3521 if $ac_preproc_ok; then :
3524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3527 See \`config.log' for more details" "$LINENO" 5; }
3531 ac_cpp
='$CPP $CPPFLAGS'
3532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3538 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3539 if ${ac_cv_path_GREP+:} false
; then :
3540 $as_echo_n "(cached) " >&6
3542 if test -z "$GREP"; then
3543 ac_path_GREP_found
=false
3544 # Loop through the user's path and test for each of PROGNAME-LIST
3545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3546 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3549 test -z "$as_dir" && as_dir
=.
3550 for ac_prog
in grep ggrep
; do
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3553 as_fn_executable_p
"$ac_path_GREP" ||
continue
3554 # Check for GNU ac_path_GREP and select it if it is found.
3555 # Check for GNU $ac_path_GREP
3556 case `"$ac_path_GREP" --version 2>&1` in
3558 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3561 $as_echo_n 0123456789 >"conftest.in"
3564 cat "conftest.in" "conftest.in" >"conftest.tmp"
3565 mv "conftest.tmp" "conftest.in"
3566 cp "conftest.in" "conftest.nl"
3567 $as_echo 'GREP' >> "conftest.nl"
3568 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3569 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3570 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3571 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3572 # Best one so far, save it but keep looking for a better one
3573 ac_cv_path_GREP
="$ac_path_GREP"
3574 ac_path_GREP_max
=$ac_count
3576 # 10*(2^10) chars as input seems more than enough
3577 test $ac_count -gt 10 && break
3579 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3582 $ac_path_GREP_found && break 3
3587 if test -z "$ac_cv_path_GREP"; then
3588 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3591 ac_cv_path_GREP
=$GREP
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3596 $as_echo "$ac_cv_path_GREP" >&6; }
3597 GREP
="$ac_cv_path_GREP"
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3601 $as_echo_n "checking for egrep... " >&6; }
3602 if ${ac_cv_path_EGREP+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3606 then ac_cv_path_EGREP
="$GREP -E"
3608 if test -z "$EGREP"; then
3609 ac_path_EGREP_found
=false
3610 # Loop through the user's path and test for each of PROGNAME-LIST
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_prog
in egrep; do
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3619 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3620 # Check for GNU ac_path_EGREP and select it if it is found.
3621 # Check for GNU $ac_path_EGREP
3622 case `"$ac_path_EGREP" --version 2>&1` in
3624 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3627 $as_echo_n 0123456789 >"conftest.in"
3630 cat "conftest.in" "conftest.in" >"conftest.tmp"
3631 mv "conftest.tmp" "conftest.in"
3632 cp "conftest.in" "conftest.nl"
3633 $as_echo 'EGREP' >> "conftest.nl"
3634 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3635 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3636 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3637 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3638 # Best one so far, save it but keep looking for a better one
3639 ac_cv_path_EGREP
="$ac_path_EGREP"
3640 ac_path_EGREP_max
=$ac_count
3642 # 10*(2^10) chars as input seems more than enough
3643 test $ac_count -gt 10 && break
3645 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3648 $ac_path_EGREP_found && break 3
3653 if test -z "$ac_cv_path_EGREP"; then
3654 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3657 ac_cv_path_EGREP
=$EGREP
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3663 $as_echo "$ac_cv_path_EGREP" >&6; }
3664 EGREP
="$ac_cv_path_EGREP"
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3668 $as_echo_n "checking for ANSI C header files... " >&6; }
3669 if ${ac_cv_header_stdc+:} false
; then :
3670 $as_echo_n "(cached) " >&6
3672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3687 if ac_fn_c_try_compile
"$LINENO"; then :
3688 ac_cv_header_stdc
=yes
3690 ac_cv_header_stdc
=no
3692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3694 if test $ac_cv_header_stdc = yes; then
3695 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h. */
3701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3702 $EGREP "memchr" >/dev
/null
2>&1; then :
3705 ac_cv_header_stdc
=no
3711 if test $ac_cv_header_stdc = yes; then
3712 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3714 /* end confdefs.h. */
3718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3719 $EGREP "free" >/dev
/null
2>&1; then :
3722 ac_cv_header_stdc
=no
3728 if test $ac_cv_header_stdc = yes; then
3729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3730 if test "$cross_compiling" = yes; then :
3733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3737 #if ((' ' & 0x0FF) == 0x020)
3738 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3739 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3741 # define ISLOWER(c) \
3742 (('a' <= (c) && (c) <= 'i') \
3743 || ('j' <= (c) && (c) <= 'r') \
3744 || ('s' <= (c) && (c) <= 'z'))
3745 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3748 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3753 for (i = 0; i < 256; i++)
3754 if (XOR (islower (i), ISLOWER (i))
3755 || toupper (i) != TOUPPER (i))
3760 if ac_fn_c_try_run
"$LINENO"; then :
3763 ac_cv_header_stdc
=no
3765 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3766 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3772 $as_echo "$ac_cv_header_stdc" >&6; }
3773 if test $ac_cv_header_stdc = yes; then
3775 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3779 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3780 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3781 inttypes.h stdint.h unistd.h
3783 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3784 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3786 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3787 cat >>confdefs.h
<<_ACEOF
3788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3797 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3798 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3805 if test "$MINIX" = yes; then
3807 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3810 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3813 $as_echo "#define _MINIX 1" >>confdefs.h
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3819 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3820 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3821 $as_echo_n "(cached) " >&6
3823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3826 # define __EXTENSIONS__ 1
3827 $ac_includes_default
3836 if ac_fn_c_try_compile
"$LINENO"; then :
3837 ac_cv_safe_to_define___extensions__
=yes
3839 ac_cv_safe_to_define___extensions__
=no
3841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3844 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3845 test $ac_cv_safe_to_define___extensions__ = yes &&
3846 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3848 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3850 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3852 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3854 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3858 # Do not delete or change the following two lines. For why, see
3859 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3860 # Make sure we can run config.sub.
3861 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3862 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3865 $as_echo_n "checking build system type... " >&6; }
3866 if ${ac_cv_build+:} false
; then :
3867 $as_echo_n "(cached) " >&6
3869 ac_build_alias
=$build_alias
3870 test "x$ac_build_alias" = x
&&
3871 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3872 test "x$ac_build_alias" = x
&&
3873 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3874 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3875 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3879 $as_echo "$ac_cv_build" >&6; }
3880 case $ac_cv_build in
3882 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3885 ac_save_IFS
=$IFS; IFS
='-'
3891 # Remember, the first character of IFS is used to create $*,
3892 # except with old shells:
3895 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3899 $as_echo_n "checking host system type... " >&6; }
3900 if ${ac_cv_host+:} false
; then :
3901 $as_echo_n "(cached) " >&6
3903 if test "x$host_alias" = x
; then
3904 ac_cv_host
=$ac_cv_build
3906 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3907 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3912 $as_echo "$ac_cv_host" >&6; }
3915 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3918 ac_save_IFS
=$IFS; IFS
='-'
3924 # Remember, the first character of IFS is used to create $*,
3925 # except with old shells:
3928 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3932 $as_echo_n "checking target system type... " >&6; }
3933 if ${ac_cv_target+:} false
; then :
3934 $as_echo_n "(cached) " >&6
3936 if test "x$target_alias" = x
; then
3937 ac_cv_target
=$ac_cv_host
3939 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3940 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3945 $as_echo "$ac_cv_target" >&6; }
3946 case $ac_cv_target in
3948 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3950 target
=$ac_cv_target
3951 ac_save_IFS
=$IFS; IFS
='-'
3957 # Remember, the first character of IFS is used to create $*,
3958 # except with old shells:
3961 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3964 # The aliases save the names the user supplied, while $host etc.
3965 # will get canonicalized.
3966 test -n "$target_alias" &&
3967 test "$program_prefix$program_suffix$program_transform_name" = \
3969 program_prefix
=${target_alias}-
3971 target_alias
=${target_alias-$host_alias}
3974 am__api_version
='1.15'
3976 # Find a good install program. We prefer a C program (faster),
3977 # so one script is as good as another. But avoid the broken or
3978 # incompatible versions:
3979 # SysV /etc/install, /usr/sbin/install
3980 # SunOS /usr/etc/install
3981 # IRIX /sbin/install
3983 # AmigaOS /C/install, which installs bootblocks on floppy discs
3984 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3985 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3986 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3987 # OS/2's system install, which has a completely different semantic
3988 # ./install, which can be erroneously created by make from ./install.sh.
3989 # Reject install programs that cannot install multiple files.
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3991 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3992 if test -z "$INSTALL"; then
3993 if ${ac_cv_path_install+:} false
; then :
3994 $as_echo_n "(cached) " >&6
3996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir
=.
4001 # Account for people who put trailing slashes in PATH elements.
4002 case $as_dir/ in #((
4003 .
/ | .
// |
/[cC
]/* | \
4004 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4005 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4008 # OSF1 and SCO ODT 3.0 have their own names for install.
4009 # Don't use installbsd from OSF since it installs stuff as root
4011 for ac_prog
in ginstall scoinst
install; do
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4014 if test $ac_prog = install &&
4015 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4016 # AIX install. It has an incompatible calling convention.
4018 elif test $ac_prog = install &&
4019 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4020 # program-specific install script used by HP pwplus--don't use.
4023 rm -rf conftest.one conftest.two conftest.dir
4024 echo one
> conftest.one
4025 echo two
> conftest.two
4027 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4028 test -s conftest.one
&& test -s conftest.two
&&
4029 test -s conftest.dir
/conftest.one
&&
4030 test -s conftest.dir
/conftest.two
4032 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4045 rm -rf conftest.one conftest.two conftest.dir
4048 if test "${ac_cv_path_install+set}" = set; then
4049 INSTALL
=$ac_cv_path_install
4051 # As a last resort, use the slow shell script. Don't cache a
4052 # value for INSTALL within a source directory, because that will
4053 # break other packages using the cache if that directory is
4054 # removed, or if the value is a relative name.
4055 INSTALL
=$ac_install_sh
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4059 $as_echo "$INSTALL" >&6; }
4061 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4062 # It thinks the first close brace ends the variable substitution.
4063 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4065 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4067 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4070 $as_echo_n "checking whether build environment is sane... " >&6; }
4071 # Reject unsafe characters in $srcdir or the absolute working directory
4072 # name. Accept space and tab only in the latter.
4076 *[\\\"\
#\$\&\'\`$am_lf]*)
4077 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4080 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4081 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4084 # Do 'set' in a subshell so we don't clobber the current shell's
4085 # arguments. Must try -L first in case configure is actually a
4086 # symlink; some systems play weird games with the mod time of symlinks
4087 # (eg FreeBSD returns the mod time of the symlink's containing
4091 for am_try
in 1 2; do
4092 echo "timestamp, slept: $am_has_slept" > conftest.
file
4093 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4094 if test "$*" = "X"; then
4096 set X
`ls -t "$srcdir/configure" conftest.file`
4098 if test "$*" != "X $srcdir/configure conftest.file" \
4099 && test "$*" != "X conftest.file $srcdir/configure"; then
4101 # If neither matched, then we have a broken ls. This can happen
4102 # if, for instance, CONFIG_SHELL is bash and it inherits a
4103 # broken ls alias from the environment. This has actually
4104 # happened. Such a system could not be considered "sane".
4105 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4106 alias in your environment" "$LINENO" 5
4108 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4115 test "$2" = conftest.
file
4121 as_fn_error $?
"newly created file is older than distributed files!
4122 Check your system clock" "$LINENO" 5
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4125 $as_echo "yes" >&6; }
4126 # If we didn't sleep, we still need to ensure time stamps of config.status and
4127 # generated files are strictly newer.
4129 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4136 test "$program_prefix" != NONE
&&
4137 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4138 # Use a double $ so make ignores it.
4139 test "$program_suffix" != NONE
&&
4140 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4141 # Double any \ or $.
4142 # By default was `s,x,x', remove it if useless.
4143 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4144 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4146 if test x
"${MISSING+set}" != xset
; then
4149 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4151 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4154 # Use eval to expand $SHELL
4155 if eval "$MISSING --is-lightweight"; then
4156 am_missing_run
="$MISSING "
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4160 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4163 if test x
"${install_sh+set}" != xset
; then
4166 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4168 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4172 # Installed binaries are usually stripped using 'strip' when the user
4173 # run "make install-strip". However 'strip' might not be the right
4174 # tool to use in cross-compilation environments, therefore Automake
4175 # will honor the 'STRIP' environment variable to overrule this program.
4176 if test "$cross_compiling" != no
; then
4177 if test -n "$ac_tool_prefix"; then
4178 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4179 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if ${ac_cv_prog_STRIP+:} false
; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$STRIP"; then
4186 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4195 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 STRIP
=$ac_cv_prog_STRIP
4206 if test -n "$STRIP"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4208 $as_echo "$STRIP" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4216 if test -z "$ac_cv_prog_STRIP"; then
4218 # Extract the first word of "strip", so it can be a program name with args.
4219 set dummy strip
; ac_word
=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$ac_ct_STRIP"; then
4226 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir
=.
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_ac_ct_STRIP
="strip"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4246 if test -n "$ac_ct_STRIP"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4248 $as_echo "$ac_ct_STRIP" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4254 if test "x$ac_ct_STRIP" = x
; then
4257 case $cross_compiling:$ac_tool_warned in
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4261 ac_tool_warned
=yes ;;
4266 STRIP
="$ac_cv_prog_STRIP"
4270 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4273 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4274 if test -z "$MKDIR_P"; then
4275 if ${ac_cv_path_mkdir+:} false
; then :
4276 $as_echo_n "(cached) " >&6
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_prog
in mkdir gmkdir
; do
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4286 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4287 'mkdir (GNU coreutils) '* | \
4288 'mkdir (coreutils) '* | \
4289 'mkdir (fileutils) '4.1*)
4290 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4300 test -d .
/--version && rmdir .
/--version
4301 if test "${ac_cv_path_mkdir+set}" = set; then
4302 MKDIR_P
="$ac_cv_path_mkdir -p"
4304 # As a last resort, use the slow shell script. Don't cache a
4305 # value for MKDIR_P within a source directory, because that will
4306 # break other packages using the cache if that directory is
4307 # removed, or if the value is a relative name.
4308 MKDIR_P
="$ac_install_sh -d"
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4312 $as_echo "$MKDIR_P" >&6; }
4314 for ac_prog
in gawk mawk nawk
awk
4316 # Extract the first word of "$ac_prog", so it can be a program name with args.
4317 set dummy
$ac_prog; ac_word
=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if ${ac_cv_prog_AWK+:} false
; then :
4321 $as_echo_n "(cached) " >&6
4323 if test -n "$AWK"; then
4324 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_exec_ext
in '' $ac_executable_extensions; do
4332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_AWK
="$ac_prog"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 if test -n "$AWK"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4346 $as_echo "$AWK" >&6; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4353 test -n "$AWK" && break
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4357 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4359 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4360 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4361 $as_echo_n "(cached) " >&6
4363 cat >conftest.
make <<\_ACEOF
4366 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4368 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4369 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4371 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4373 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4377 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4379 $as_echo "yes" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 SET_MAKE
="MAKE=${MAKE-make}"
4387 rm -rf .tst
2>/dev
/null
4388 mkdir .tst
2>/dev
/null
4389 if test -d .tst
; then
4394 rmdir .tst
2>/dev
/null
4396 DEPDIR
="${am__leading_dot}deps"
4398 ac_config_commands
="$ac_config_commands depfiles"
4401 am_make
=${MAKE-make}
4402 cat > confinc
<< 'END'
4404 @
echo this is the am__doit target
4407 # If we don't find an include directive, just comment out the code.
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4409 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4413 # First try GNU make style include.
4414 echo "include confinc" > confmf
4415 # Ignore all kinds of additional output from 'make'.
4416 case `$am_make -s -f confmf 2> /dev/null` in #(
4417 *the\ am__doit\ target
*)
4423 # Now try BSD make style include.
4424 if test "$am__include" = "#"; then
4425 echo '.include "confinc"' > confmf
4426 case `$am_make -s -f confmf 2> /dev/null` in #(
4427 *the\ am__doit\ target
*)
4428 am__include
=.include
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4437 $as_echo "$_am_result" >&6; }
4438 rm -f confinc confmf
4440 # Check whether --enable-dependency-tracking was given.
4441 if test "${enable_dependency_tracking+set}" = set; then :
4442 enableval
=$enable_dependency_tracking;
4445 if test "x$enable_dependency_tracking" != xno
; then
4446 am_depcomp
="$ac_aux_dir/depcomp"
4450 if test "x$enable_dependency_tracking" != xno; then
4459 # Check whether --enable-silent-rules was given.
4460 if test "${enable_silent_rules+set}" = set; then :
4461 enableval
=$enable_silent_rules;
4464 case $enable_silent_rules in # (((
4465 yes) AM_DEFAULT_VERBOSITY
=0;;
4466 no
) AM_DEFAULT_VERBOSITY
=1;;
4467 *) AM_DEFAULT_VERBOSITY
=1;;
4469 am_make
=${MAKE-make}
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4471 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4472 if ${am_cv_make_support_nested_variables+:} false
; then :
4473 $as_echo_n "(cached) " >&6
4475 if $as_echo 'TRUE=$(BAR$(V))
4481 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4482 am_cv_make_support_nested_variables
=yes
4484 am_cv_make_support_nested_variables
=no
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4488 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4489 if test $am_cv_make_support_nested_variables = yes; then
4491 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4493 AM_V
=$AM_DEFAULT_VERBOSITY
4494 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4498 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4499 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4500 # is not polluted with repeated "-I."
4501 am__isrc
=' -I$(srcdir)'
4502 # test to see if srcdir already configured
4503 if test -f $srcdir/config.status
; then
4504 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4508 # test whether we have cygpath
4509 if test -z "$CYGPATH_W"; then
4510 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4511 CYGPATH_W
='cygpath -w'
4518 # Define the identity of the package.
4520 VERSION
='version-unused'
4523 # Some tools Automake needs.
4525 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4528 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4531 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4534 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4537 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4539 # For better backward compatibility. To be removed once Automake 1.9.x
4540 # dies out for good. For more background, see:
4541 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4542 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4543 mkdir_p
='$(MKDIR_P)'
4545 # We need awk for the "check" target (and possibly the TAP driver). The
4546 # system "awk" is bad on some platforms.
4547 # Always define AMTAR for backward compatibility. Yes, it's still used
4548 # in the wild :-( We should find a proper way to deprecate it ...
4552 # We'll loop over all known methods to create a tar archive until one works.
4553 _am_tools
='gnutar pax cpio none'
4555 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4561 depcc
="$CC" am_compiler_list
=
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4564 $as_echo_n "checking dependency style of $depcc... " >&6; }
4565 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4569 # We make a subdir and do the tests there. Otherwise we can end up
4570 # making bogus files that we don't know about and never remove. For
4571 # instance it was reported that on HP-UX the gcc test will end up
4572 # making a dummy file named 'D' -- because '-MD' means "put the output
4576 # Copy depcomp to subdir because otherwise we won't find it if we're
4577 # using a relative directory.
4578 cp "$am_depcomp" conftest.dir
4580 # We will build objects and dependencies in a subdirectory because
4581 # it helps to detect inapplicable dependency modes. For instance
4582 # both Tru64's cc and ICC support -MD to output dependencies as a
4583 # side effect of compilation, but ICC will put the dependencies in
4584 # the current directory while Tru64 will put them in the object
4588 am_cv_CC_dependencies_compiler_type
=none
4589 if test "$am_compiler_list" = ""; then
4590 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4593 case " $depcc " in #(
4594 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4597 for depmode
in $am_compiler_list; do
4598 # Setup a source with many dependencies, because some compilers
4599 # like to wrap large dependency lists on column 80 (with \), and
4600 # we should not choose a depcomp mode which is confused by this.
4602 # We need to recreate these files for each test, as the compiler may
4603 # overwrite some of them when testing with obscure command lines.
4604 # This happens at least with the AIX C compiler.
4606 for i
in 1 2 3 4 5 6; do
4607 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4608 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4609 # Solaris 10 /bin/sh.
4610 echo '/* dummy */' > sub
/conftst
$i.h
4612 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4614 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4615 # mode. It turns out that the SunPro C++ compiler does not properly
4616 # handle '-M -o', and we need to detect this. Also, some Intel
4617 # versions had trouble with output in subdirs.
4618 am__obj
=sub
/conftest.
${OBJEXT-o}
4619 am__minus_obj
="-o $am__obj"
4622 # This depmode causes a compiler race in universal mode.
4623 test "$am__universal" = false ||
continue
4626 # After this tag, mechanisms are not by side-effect, so they'll
4627 # only be used when explicitly requested.
4628 if test "x$enable_dependency_tracking" = xyes
; then
4634 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4635 # This compiler won't grok '-c -o', but also, the minuso test has
4636 # not run yet. These depmodes are late enough in the game, and
4637 # so weak that their functioning should not be impacted.
4638 am__obj
=conftest.
${OBJEXT-o}
4643 if depmode
=$depmode \
4644 source=sub
/conftest.c object
=$am__obj \
4645 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4646 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4647 >/dev
/null
2>conftest.err
&&
4648 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4649 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4650 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4651 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4652 # icc doesn't choke on unknown options, it will just issue warnings
4653 # or remarks (even with -Werror). So we grep stderr for any message
4654 # that says an option was ignored or not supported.
4655 # When given -MP, icc 7.0 and 7.1 complain thusly:
4656 # icc: Command line warning: ignoring option '-M'; no argument required
4657 # The diagnosis changed in icc 8.0:
4658 # icc: Command line remark: option '-MP' not supported
4659 if (grep 'ignoring option' conftest.err ||
4660 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4661 am_cv_CC_dependencies_compiler_type
=$depmode
4670 am_cv_CC_dependencies_compiler_type
=none
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4675 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4676 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4679 test "x$enable_dependency_tracking" != xno \
4680 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4682 am__fastdepCC_FALSE
='#'
4684 am__fastdepCC_TRUE
='#'
4685 am__fastdepCC_FALSE
=
4690 # POSIX will say in a future version that running "rm -f" with no argument
4691 # is OK; and we want to be able to make that assumption in our Makefile
4692 # recipes. So use an aggressive probe to check that the usage we want is
4693 # actually supported "in the wild" to an acceptable degree.
4694 # See automake bug#10828.
4695 # To make any issue more visible, cause the running configure to be aborted
4696 # by default if the 'rm' program in use doesn't match our expectations; the
4697 # user can still override this though.
4698 if rm -f && rm -fr && rm -rf; then : OK
; else
4702 Your 'rm' program seems unable to run without file operands specified
4703 on the command line, even when the '-f' option is present. This is contrary
4704 to the behaviour of most rm programs out there, and not conforming with
4705 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4707 Please tell bug-automake@gnu.org about your system, including the value
4708 of your $PATH and any error possibly output before this message. This
4709 can help us improve future automake versions.
4712 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4713 echo 'Configuration will proceed anyway, since you have set the' >&2
4714 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4718 Aborting the configuration process, to ensure you take notice of the issue.
4720 You can download and install GNU coreutils to get an 'rm' implementation
4721 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4723 If you want to complete the configuration process using your problematic
4724 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4725 to "yes", and re-run configure.
4728 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4737 # Check whether --with-cross-host was given.
4738 if test "${with_cross_host+set}" = set; then :
4739 withval
=$with_cross_host;
4743 # Checks for header files.
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4745 $as_echo_n "checking for ANSI C header files... " >&6; }
4746 if ${ac_cv_header_stdc+:} false
; then :
4747 $as_echo_n "(cached) " >&6
4749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4764 if ac_fn_c_try_compile
"$LINENO"; then :
4765 ac_cv_header_stdc
=yes
4767 ac_cv_header_stdc
=no
4769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4771 if test $ac_cv_header_stdc = yes; then
4772 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4779 $EGREP "memchr" >/dev
/null
2>&1; then :
4782 ac_cv_header_stdc
=no
4788 if test $ac_cv_header_stdc = yes; then
4789 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4796 $EGREP "free" >/dev
/null
2>&1; then :
4799 ac_cv_header_stdc
=no
4805 if test $ac_cv_header_stdc = yes; then
4806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4807 if test "$cross_compiling" = yes; then :
4810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4814 #if ((' ' & 0x0FF) == 0x020)
4815 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4816 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4818 # define ISLOWER(c) \
4819 (('a' <= (c) && (c) <= 'i') \
4820 || ('j' <= (c) && (c) <= 'r') \
4821 || ('s' <= (c) && (c) <= 'z'))
4822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4830 for (i = 0; i < 256; i++)
4831 if (XOR (islower (i), ISLOWER (i))
4832 || toupper (i) != TOUPPER (i))
4837 if ac_fn_c_try_run
"$LINENO"; then :
4840 ac_cv_header_stdc
=no
4842 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4843 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4849 $as_echo "$ac_cv_header_stdc" >&6; }
4850 if test $ac_cv_header_stdc = yes; then
4852 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4857 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4858 if ${ac_cv_header_sys_wait_h+:} false
; then :
4859 $as_echo_n "(cached) " >&6
4861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4863 #include <sys/types.h>
4864 #include <sys/wait.h>
4866 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4869 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4877 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4882 if ac_fn_c_try_compile
"$LINENO"; then :
4883 ac_cv_header_sys_wait_h
=yes
4885 ac_cv_header_sys_wait_h
=no
4887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4890 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4891 if test $ac_cv_header_sys_wait_h = yes; then
4893 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4897 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
4898 if test "x$ac_cv_header_math_h" = xyes
; then :
4900 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
4906 for ac_header
in limits.h stddef.h string.h
strings.h stdlib.h \
4908 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
4909 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
4911 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
4912 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
4913 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
4914 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
4916 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4917 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4918 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4919 cat >>confdefs.h
<<_ACEOF
4920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4930 case ${build_alias} in
4931 "") build_noncanonical
=${build} ;;
4932 *) build_noncanonical
=${build_alias} ;;
4935 case ${host_alias} in
4936 "") host_noncanonical
=${build_noncanonical} ;;
4937 *) host_noncanonical
=${host_alias} ;;
4942 case ${target_alias} in
4943 "") target_noncanonical
=${host_noncanonical} ;;
4944 *) target_noncanonical
=${target_alias} ;;
4950 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
4951 # have matching libraries, they should use host libraries: Makefile.tpl
4952 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
4953 # However, they still use the build modules, because the corresponding
4954 # host modules (e.g. bison) are only built for the host when bootstrap
4956 # - build_subdir is where we find build modules, and never changes.
4957 # - build_libsubdir is where we find build libraries, and can be overridden.
4959 # Prefix 'build-' so this never conflicts with target_subdir.
4960 build_subdir
="build-${build_noncanonical}"
4962 # Check whether --with-build-libsubdir was given.
4963 if test "${with_build_libsubdir+set}" = set; then :
4964 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
4966 build_libsubdir
="$build_subdir"
4969 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
4970 if ( test $srcdir = .
&& test -d gcc
) \
4971 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
4972 host_subdir
="host-${host_noncanonical}"
4977 target_subdir
=${target_noncanonical}
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
4981 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
4982 # Check whether --enable-version-specific-runtime-libs was given.
4983 if test "${enable_version_specific_runtime_libs+set}" = set; then :
4984 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
4985 yes) version_specific_libs
=yes ;;
4986 no
) version_specific_libs
=no
;;
4987 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
4990 version_specific_libs
=no
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
4994 $as_echo "$version_specific_libs" >&6; }
4997 # Check whether --with-slibdir was given.
4998 if test "${with_slibdir+set}" = set; then :
4999 withval
=$with_slibdir; slibdir
="$with_slibdir"
5001 if test "${version_specific_libs}" = yes; then
5002 slibdir
='$(libsubdir)'
5003 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
5004 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
5012 # Command-line options.
5013 # Very limited version of AC_MAINTAINER_MODE.
5014 # Check whether --enable-maintainer-mode was given.
5015 if test "${enable_maintainer_mode+set}" = set; then :
5016 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
5019 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
5021 maintainer_mode
=${enableval}
5030 # Calculate toolexeclibdir
5031 # Also toolexecdir, though it's only used in toolexeclibdir
5032 case ${version_specific_libs} in
5034 # Need the gcc compiler version to know where to install libraries
5035 # and header files if --enable-version-specific-runtime-libs option
5037 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
5038 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5041 if test -n "$with_cross_host" &&
5042 test x
"$with_cross_host" != x
"no"; then
5043 # Install a library built with a cross compiler in tooldir, not libdir.
5044 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
5045 toolexeclibdir
='$(toolexecdir)/lib'
5047 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
5048 toolexeclibdir
='$(libdir)'
5050 multi_os_directory
=`$CC -print-multi-os-directory`
5051 case $multi_os_directory in
5052 .
) ;; # Avoid trailing /.
5053 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5066 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5067 # Check whether --enable-maintainer-mode was given.
5068 if test "${enable_maintainer_mode+set}" = set; then :
5069 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5071 USE_MAINTAINER_MODE
=no
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5075 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5076 if test $USE_MAINTAINER_MODE = yes; then
5077 MAINTAINER_MODE_TRUE
=
5078 MAINTAINER_MODE_FALSE
='#'
5080 MAINTAINER_MODE_TRUE
='#'
5081 MAINTAINER_MODE_FALSE
=
5084 MAINT
=$MAINTAINER_MODE_TRUE
5088 # Check the compiler.
5089 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5090 # We must force CC to /not/ be precious variables; otherwise
5091 # the wrong, non-multilib-adjusted value will be used in multilibs.
5092 # As a side effect, we have to subst CFLAGS ourselves.
5097 ac_cpp
='$CPP $CPPFLAGS'
5098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5101 if test -n "$ac_tool_prefix"; then
5102 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5103 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105 $as_echo_n "checking for $ac_word... " >&6; }
5106 if ${ac_cv_prog_CC+:} false
; then :
5107 $as_echo_n "(cached) " >&6
5109 if test -n "$CC"; then
5110 ac_cv_prog_CC
="$CC" # Let the user override the test.
5112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir
=.
5117 for ac_exec_ext
in '' $ac_executable_extensions; do
5118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5119 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 if test -n "$CC"; then
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5132 $as_echo "$CC" >&6; }
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5140 if test -z "$ac_cv_prog_CC"; then
5142 # Extract the first word of "gcc", so it can be a program name with args.
5143 set dummy gcc
; ac_word
=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5147 $as_echo_n "(cached) " >&6
5149 if test -n "$ac_ct_CC"; then
5150 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir
=.
5157 for ac_exec_ext
in '' $ac_executable_extensions; do
5158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_ac_ct_CC
="gcc"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5170 if test -n "$ac_ct_CC"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5172 $as_echo "$ac_ct_CC" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5178 if test "x$ac_ct_CC" = x
; then
5181 case $cross_compiling:$ac_tool_warned in
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5185 ac_tool_warned
=yes ;;
5193 if test -z "$CC"; then
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5196 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if ${ac_cv_prog_CC+:} false
; then :
5200 $as_echo_n "(cached) " >&6
5202 if test -n "$CC"; then
5203 ac_cv_prog_CC
="$CC" # Let the user override the test.
5205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir
=.
5210 for ac_exec_ext
in '' $ac_executable_extensions; do
5211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 if test -n "$CC"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5225 $as_echo "$CC" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5234 if test -z "$CC"; then
5235 # Extract the first word of "cc", so it can be a program name with args.
5236 set dummy cc
; ac_word
=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if ${ac_cv_prog_CC+:} false
; then :
5240 $as_echo_n "(cached) " >&6
5242 if test -n "$CC"; then
5243 ac_cv_prog_CC
="$CC" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5253 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5254 ac_prog_rejected
=yes
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 if test $ac_prog_rejected = yes; then
5266 # We found a bogon in the path, so make sure we never use it.
5267 set dummy
$ac_cv_prog_CC
5269 if test $# != 0; then
5270 # We chose a different compiler from the bogus one.
5271 # However, it has the same basename, so the bogon will be chosen
5272 # first if we set CC to just the basename; use the full file name.
5274 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5280 if test -n "$CC"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5282 $as_echo "$CC" >&6; }
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5290 if test -z "$CC"; then
5291 if test -n "$ac_tool_prefix"; then
5292 for ac_prog
in cl.exe
5294 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5295 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_CC+:} false
; then :
5299 $as_echo_n "(cached) " >&6
5301 if test -n "$CC"; then
5302 ac_cv_prog_CC
="$CC" # Let the user override the test.
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_exec_ext
in '' $ac_executable_extensions; do
5310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 if test -n "$CC"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5324 $as_echo "$CC" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5331 test -n "$CC" && break
5334 if test -z "$CC"; then
5336 for ac_prog
in cl.exe
5338 # Extract the first word of "$ac_prog", so it can be a program name with args.
5339 set dummy
$ac_prog; ac_word
=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 $as_echo_n "checking for $ac_word... " >&6; }
5342 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5343 $as_echo_n "(cached) " >&6
5345 if test -n "$ac_ct_CC"; then
5346 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_ac_ct_CC
="$ac_prog"
5356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5366 if test -n "$ac_ct_CC"; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5368 $as_echo "$ac_ct_CC" >&6; }
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5371 $as_echo "no" >&6; }
5375 test -n "$ac_ct_CC" && break
5378 if test "x$ac_ct_CC" = x
; then
5381 case $cross_compiling:$ac_tool_warned in
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5385 ac_tool_warned
=yes ;;
5394 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5396 as_fn_error $?
"no acceptable C compiler found in \$PATH
5397 See \`config.log' for more details" "$LINENO" 5; }
5399 # Provide some information about the compiler.
5400 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5403 for ac_option
in --version -v -V -qversion; do
5404 { { ac_try
="$ac_compiler $ac_option >&5"
5406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5407 *) ac_try_echo=$ac_try;;
5409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5410 $as_echo "$ac_try_echo"; } >&5
5411 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5413 if test -s conftest.err; then
5415 ... rest of stderr output deleted ...
5416 10q' conftest.err >conftest.er1
5417 cat conftest.er1 >&5
5419 rm -f conftest.er1 conftest.err
5420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5421 test $ac_status = 0; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5425 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5426 if ${ac_cv_c_compiler_gnu+:} false; then :
5427 $as_echo_n "(cached) " >&6
5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5443 if ac_fn_c_try_compile "$LINENO"; then :
5448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5449 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5453 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5454 if test $ac_compiler_gnu = yes; then
5459 ac_test_CFLAGS=${CFLAGS+set}
5460 ac_save_CFLAGS=$CFLAGS
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5462 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5463 if ${ac_cv_prog_cc_g+:} false; then :
5464 $as_echo_n "(cached) " >&6
5466 ac_save_c_werror_flag=$ac_c_werror_flag
5467 ac_c_werror_flag=yes
5470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5471 /* end confdefs.h. */
5481 if ac_fn_c_try_compile "$LINENO"; then :
5485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5496 if ac_fn_c_try_compile "$LINENO"; then :
5499 ac_c_werror_flag=$ac_save_c_werror_flag
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5512 if ac_fn_c_try_compile "$LINENO"; then :
5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5520 ac_c_werror_flag=$ac_save_c_werror_flag
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5523 $as_echo "$ac_cv_prog_cc_g" >&6; }
5524 if test "$ac_test_CFLAGS" = set; then
5525 CFLAGS=$ac_save_CFLAGS
5526 elif test $ac_cv_prog_cc_g = yes; then
5527 if test "$GCC" = yes; then
5533 if test "$GCC" = yes; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5540 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5541 if ${ac_cv_prog_cc_c89+:} false; then :
5542 $as_echo_n "(cached) " >&6
5544 ac_cv_prog_cc_c89=no
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5551 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5552 struct buf { int x; };
5553 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5554 static char *e (p, i)
5560 static char *f (char * (*g) (char **, int), char **p, ...)
5565 s = g (p, va_arg (v,int));
5570 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5571 function prototypes and stuff, but not '\xHH' hex character constants.
5572 These don't provoke an error unfortunately, instead are silently treated
5573 as 'x'. The following induces an error, until -std is added to get
5574 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5575 array size at least. It's necessary to write '\x00'==0 to get something
5576 that's true only with -std. */
5577 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5579 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5580 inside strings and character constants. */
5582 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5584 int test (int i, double x);
5585 struct s1 {int (*f) (int a);};
5586 struct s2 {int (*f) (double a);};
5587 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5593 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5598 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5599 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5601 CC="$ac_save_CC $ac_arg"
5602 if ac_fn_c_try_compile "$LINENO"; then :
5603 ac_cv_prog_cc_c89=$ac_arg
5605 rm -f core conftest.err conftest.$ac_objext
5606 test "x$ac_cv_prog_cc_c89" != "xno" && break
5608 rm -f conftest.$ac_ext
5613 case "x$ac_cv_prog_cc_c89" in
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5616 $as_echo "none needed" >&6; } ;;
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5619 $as_echo "unsupported" >&6; } ;;
5621 CC="$CC $ac_cv_prog_cc_c89"
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5623 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5625 if test "x$ac_cv_prog_cc_c89" != xno; then :
5630 ac_cpp='$CPP $CPPFLAGS'
5631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5636 ac_cpp='$CPP $CPPFLAGS'
5637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5641 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5642 if ${am_cv_prog_cc_c_o+:} false; then :
5643 $as_echo_n "(cached) " >&6
5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5656 # Make sure it works both with $CC and with simple cc.
5657 # Following AC_PROG_CC_C_O, we do the test twice because some
5658 # compilers refuse to overwrite an existing .o file with -o,
5659 # though they will create one.
5660 am_cv_prog_cc_c_o=yes
5662 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5663 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); } \
5667 && test -f conftest2.$ac_objext; then
5670 am_cv_prog_cc_c_o=no
5674 rm -f core conftest*
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5678 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5679 if test "$am_cv_prog_cc_c_o" != yes; then
5680 # Losing compiler, so override with the script.
5681 # FIXME: It is wrong to rewrite CC.
5682 # But if we don't then we get into trouble of one sort or another.
5683 # A longer-term fix would be to have automake use am__CC in this case,
5684 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5685 CC="$am_aux_dir/compile $CC"
5688 ac_cpp='$CPP $CPPFLAGS'
5689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5695 ac_cpp='$CXXCPP $CPPFLAGS'
5696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5699 if test -z "$CXX"; then
5700 if test -n "$CCC"; then
5703 if test -n "$ac_tool_prefix"; then
5704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_CXX+:} false; then :
5711 $as_echo_n "(cached) " >&6
5713 if test -n "$CXX"; then
5714 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 if test -n "$CXX"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5736 $as_echo "$CXX" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5743 test -n "$CXX" && break
5746 if test -z "$CXX"; then
5748 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5750 # Extract the first word of "$ac_prog", so it can be a program name with args.
5751 set dummy $ac_prog; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5755 $as_echo_n "(cached) " >&6
5757 if test -n "$ac_ct_CXX"; then
5758 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5767 ac_cv_prog_ac_ct_CXX="$ac_prog"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5778 if test -n "$ac_ct_CXX"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5780 $as_echo "$ac_ct_CXX" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5787 test -n "$ac_ct_CXX" && break
5790 if test "x$ac_ct_CXX" = x; then
5793 case $cross_compiling:$ac_tool_warned in
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5797 ac_tool_warned=yes ;;
5805 # Provide some information about the compiler.
5806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5809 for ac_option in --version -v -V -qversion; do
5810 { { ac_try="$ac_compiler $ac_option >&5"
5812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5813 *) ac_try_echo
=$ac_try;;
5815 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5816 $as_echo "$ac_try_echo"; } >&5
5817 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5819 if test -s conftest.err
; then
5821 ... rest of stderr output deleted ...
5822 10q' conftest.err
>conftest.er1
5823 cat conftest.er1
>&5
5825 rm -f conftest.er1 conftest.err
5826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5827 test $ac_status = 0; }
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5831 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5832 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
5833 $as_echo_n "(cached) " >&6
5835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5836 /* end confdefs.h. */
5849 if ac_fn_cxx_try_compile
"$LINENO"; then :
5854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5855 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5859 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5860 if test $ac_compiler_gnu = yes; then
5865 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5866 ac_save_CXXFLAGS
=$CXXFLAGS
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5868 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5869 if ${ac_cv_prog_cxx_g+:} false
; then :
5870 $as_echo_n "(cached) " >&6
5872 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5873 ac_cxx_werror_flag
=yes
5876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5887 if ac_fn_cxx_try_compile
"$LINENO"; then :
5888 ac_cv_prog_cxx_g
=yes
5891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5902 if ac_fn_cxx_try_compile
"$LINENO"; then :
5905 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5918 if ac_fn_cxx_try_compile
"$LINENO"; then :
5919 ac_cv_prog_cxx_g
=yes
5921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5926 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5929 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5930 if test "$ac_test_CXXFLAGS" = set; then
5931 CXXFLAGS
=$ac_save_CXXFLAGS
5932 elif test $ac_cv_prog_cxx_g = yes; then
5933 if test "$GXX" = yes; then
5939 if test "$GXX" = yes; then
5946 ac_cpp
='$CPP $CPPFLAGS'
5947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5951 depcc
="$CXX" am_compiler_list
=
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5954 $as_echo_n "checking dependency style of $depcc... " >&6; }
5955 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
5956 $as_echo_n "(cached) " >&6
5958 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5959 # We make a subdir and do the tests there. Otherwise we can end up
5960 # making bogus files that we don't know about and never remove. For
5961 # instance it was reported that on HP-UX the gcc test will end up
5962 # making a dummy file named 'D' -- because '-MD' means "put the output
5966 # Copy depcomp to subdir because otherwise we won't find it if we're
5967 # using a relative directory.
5968 cp "$am_depcomp" conftest.dir
5970 # We will build objects and dependencies in a subdirectory because
5971 # it helps to detect inapplicable dependency modes. For instance
5972 # both Tru64's cc and ICC support -MD to output dependencies as a
5973 # side effect of compilation, but ICC will put the dependencies in
5974 # the current directory while Tru64 will put them in the object
5978 am_cv_CXX_dependencies_compiler_type
=none
5979 if test "$am_compiler_list" = ""; then
5980 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5983 case " $depcc " in #(
5984 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5987 for depmode
in $am_compiler_list; do
5988 # Setup a source with many dependencies, because some compilers
5989 # like to wrap large dependency lists on column 80 (with \), and
5990 # we should not choose a depcomp mode which is confused by this.
5992 # We need to recreate these files for each test, as the compiler may
5993 # overwrite some of them when testing with obscure command lines.
5994 # This happens at least with the AIX C compiler.
5996 for i
in 1 2 3 4 5 6; do
5997 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5998 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5999 # Solaris 10 /bin/sh.
6000 echo '/* dummy */' > sub
/conftst
$i.h
6002 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6004 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6005 # mode. It turns out that the SunPro C++ compiler does not properly
6006 # handle '-M -o', and we need to detect this. Also, some Intel
6007 # versions had trouble with output in subdirs.
6008 am__obj
=sub
/conftest.
${OBJEXT-o}
6009 am__minus_obj
="-o $am__obj"
6012 # This depmode causes a compiler race in universal mode.
6013 test "$am__universal" = false ||
continue
6016 # After this tag, mechanisms are not by side-effect, so they'll
6017 # only be used when explicitly requested.
6018 if test "x$enable_dependency_tracking" = xyes
; then
6024 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6025 # This compiler won't grok '-c -o', but also, the minuso test has
6026 # not run yet. These depmodes are late enough in the game, and
6027 # so weak that their functioning should not be impacted.
6028 am__obj
=conftest.
${OBJEXT-o}
6033 if depmode
=$depmode \
6034 source=sub
/conftest.c object
=$am__obj \
6035 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6036 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6037 >/dev
/null
2>conftest.err
&&
6038 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6039 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6040 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6041 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6042 # icc doesn't choke on unknown options, it will just issue warnings
6043 # or remarks (even with -Werror). So we grep stderr for any message
6044 # that says an option was ignored or not supported.
6045 # When given -MP, icc 7.0 and 7.1 complain thusly:
6046 # icc: Command line warning: ignoring option '-M'; no argument required
6047 # The diagnosis changed in icc 8.0:
6048 # icc: Command line remark: option '-MP' not supported
6049 if (grep 'ignoring option' conftest.err ||
6050 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6051 am_cv_CXX_dependencies_compiler_type
=$depmode
6060 am_cv_CXX_dependencies_compiler_type
=none
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6065 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6066 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6069 test "x$enable_dependency_tracking" != xno \
6070 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6071 am__fastdepCXX_TRUE
=
6072 am__fastdepCXX_FALSE
='#'
6074 am__fastdepCXX_TRUE
='#'
6075 am__fastdepCXX_FALSE
=
6079 # By default we simply use the C compiler to build assembly code.
6081 test "${CCAS+set}" = set || CCAS
=$CC
6082 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
6086 depcc
="$CCAS" am_compiler_list
=
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6089 $as_echo_n "checking dependency style of $depcc... " >&6; }
6090 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
6091 $as_echo_n "(cached) " >&6
6093 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6094 # We make a subdir and do the tests there. Otherwise we can end up
6095 # making bogus files that we don't know about and never remove. For
6096 # instance it was reported that on HP-UX the gcc test will end up
6097 # making a dummy file named 'D' -- because '-MD' means "put the output
6101 # Copy depcomp to subdir because otherwise we won't find it if we're
6102 # using a relative directory.
6103 cp "$am_depcomp" conftest.dir
6105 # We will build objects and dependencies in a subdirectory because
6106 # it helps to detect inapplicable dependency modes. For instance
6107 # both Tru64's cc and ICC support -MD to output dependencies as a
6108 # side effect of compilation, but ICC will put the dependencies in
6109 # the current directory while Tru64 will put them in the object
6113 am_cv_CCAS_dependencies_compiler_type
=none
6114 if test "$am_compiler_list" = ""; then
6115 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6120 for depmode
in $am_compiler_list; do
6121 # Setup a source with many dependencies, because some compilers
6122 # like to wrap large dependency lists on column 80 (with \), and
6123 # we should not choose a depcomp mode which is confused by this.
6125 # We need to recreate these files for each test, as the compiler may
6126 # overwrite some of them when testing with obscure command lines.
6127 # This happens at least with the AIX C compiler.
6129 for i
in 1 2 3 4 5 6; do
6130 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6131 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6132 # Solaris 10 /bin/sh.
6133 echo '/* dummy */' > sub
/conftst
$i.h
6135 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6137 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6138 # mode. It turns out that the SunPro C++ compiler does not properly
6139 # handle '-M -o', and we need to detect this. Also, some Intel
6140 # versions had trouble with output in subdirs.
6141 am__obj
=sub
/conftest.
${OBJEXT-o}
6142 am__minus_obj
="-o $am__obj"
6145 # This depmode causes a compiler race in universal mode.
6146 test "$am__universal" = false ||
continue
6149 # After this tag, mechanisms are not by side-effect, so they'll
6150 # only be used when explicitly requested.
6151 if test "x$enable_dependency_tracking" = xyes
; then
6157 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6158 # This compiler won't grok '-c -o', but also, the minuso test has
6159 # not run yet. These depmodes are late enough in the game, and
6160 # so weak that their functioning should not be impacted.
6161 am__obj
=conftest.
${OBJEXT-o}
6166 if depmode
=$depmode \
6167 source=sub
/conftest.c object
=$am__obj \
6168 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6169 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6170 >/dev
/null
2>conftest.err
&&
6171 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6172 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6173 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6174 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6175 # icc doesn't choke on unknown options, it will just issue warnings
6176 # or remarks (even with -Werror). So we grep stderr for any message
6177 # that says an option was ignored or not supported.
6178 # When given -MP, icc 7.0 and 7.1 complain thusly:
6179 # icc: Command line warning: ignoring option '-M'; no argument required
6180 # The diagnosis changed in icc 8.0:
6181 # icc: Command line remark: option '-MP' not supported
6182 if (grep 'ignoring option' conftest.err ||
6183 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6184 am_cv_CCAS_dependencies_compiler_type
=$depmode
6193 am_cv_CCAS_dependencies_compiler_type
=none
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6198 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6199 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
6202 test "x$enable_dependency_tracking" != xno \
6203 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
6204 am__fastdepCCAS_TRUE
=
6205 am__fastdepCCAS_FALSE
='#'
6207 am__fastdepCCAS_TRUE
='#'
6208 am__fastdepCCAS_FALSE
=
6216 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
6217 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
6218 # in both places for now and restore CFLAGS at the end of config.
6219 save_CFLAGS
="$CFLAGS"
6221 # Find other programs we need.
6222 if test -n "$ac_tool_prefix"; then
6223 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6224 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if ${ac_cv_prog_AR+:} false
; then :
6228 $as_echo_n "(cached) " >&6
6230 if test -n "$AR"; then
6231 ac_cv_prog_AR
="$AR" # Let the user override the test.
6233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir
=.
6238 for ac_exec_ext
in '' $ac_executable_extensions; do
6239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6240 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 if test -n "$AR"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6253 $as_echo "$AR" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6261 if test -z "$ac_cv_prog_AR"; then
6263 # Extract the first word of "ar", so it can be a program name with args.
6264 set dummy
ar; ac_word
=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6268 $as_echo_n "(cached) " >&6
6270 if test -n "$ac_ct_AR"; then
6271 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir
=.
6278 for ac_exec_ext
in '' $ac_executable_extensions; do
6279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_ac_ct_AR
="ar"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6291 if test -n "$ac_ct_AR"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6293 $as_echo "$ac_ct_AR" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6299 if test "x$ac_ct_AR" = x
; then
6302 case $cross_compiling:$ac_tool_warned in
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6306 ac_tool_warned
=yes ;;
6314 if test -n "$ac_tool_prefix"; then
6315 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6316 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6318 $as_echo_n "checking for $ac_word... " >&6; }
6319 if ${ac_cv_prog_NM+:} false
; then :
6320 $as_echo_n "(cached) " >&6
6322 if test -n "$NM"; then
6323 ac_cv_prog_NM
="$NM" # Let the user override the test.
6325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6329 test -z "$as_dir" && as_dir
=.
6330 for ac_exec_ext
in '' $ac_executable_extensions; do
6331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6332 ac_cv_prog_NM
="${ac_tool_prefix}nm"
6333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6343 if test -n "$NM"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
6345 $as_echo "$NM" >&6; }
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6348 $as_echo "no" >&6; }
6353 if test -z "$ac_cv_prog_NM"; then
6355 # Extract the first word of "nm", so it can be a program name with args.
6356 set dummy nm
; ac_word
=$2
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358 $as_echo_n "checking for $ac_word... " >&6; }
6359 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
6360 $as_echo_n "(cached) " >&6
6362 if test -n "$ac_ct_NM"; then
6363 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
6365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6369 test -z "$as_dir" && as_dir
=.
6370 for ac_exec_ext
in '' $ac_executable_extensions; do
6371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6372 ac_cv_prog_ac_ct_NM
="nm"
6373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
6383 if test -n "$ac_ct_NM"; then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
6385 $as_echo "$ac_ct_NM" >&6; }
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6388 $as_echo "no" >&6; }
6391 if test "x$ac_ct_NM" = x
; then
6394 case $cross_compiling:$ac_tool_warned in
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6398 ac_tool_warned
=yes ;;
6406 if test -n "$ac_tool_prefix"; then
6407 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6408 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6410 $as_echo_n "checking for $ac_word... " >&6; }
6411 if ${ac_cv_prog_RANLIB+:} false
; then :
6412 $as_echo_n "(cached) " >&6
6414 if test -n "$RANLIB"; then
6415 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6421 test -z "$as_dir" && as_dir
=.
6422 for ac_exec_ext
in '' $ac_executable_extensions; do
6423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6424 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6434 RANLIB
=$ac_cv_prog_RANLIB
6435 if test -n "$RANLIB"; then
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6437 $as_echo "$RANLIB" >&6; }
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6440 $as_echo "no" >&6; }
6445 if test -z "$ac_cv_prog_RANLIB"; then
6446 ac_ct_RANLIB
=$RANLIB
6447 # Extract the first word of "ranlib", so it can be a program name with args.
6448 set dummy ranlib
; ac_word
=$2
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6450 $as_echo_n "checking for $ac_word... " >&6; }
6451 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6452 $as_echo_n "(cached) " >&6
6454 if test -n "$ac_ct_RANLIB"; then
6455 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6461 test -z "$as_dir" && as_dir
=.
6462 for ac_exec_ext
in '' $ac_executable_extensions; do
6463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6464 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6475 if test -n "$ac_ct_RANLIB"; then
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6477 $as_echo "$ac_ct_RANLIB" >&6; }
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 $as_echo "no" >&6; }
6483 if test "x$ac_ct_RANLIB" = x
; then
6484 RANLIB
="ranlib-not-found-in-path-error"
6486 case $cross_compiling:$ac_tool_warned in
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6490 ac_tool_warned
=yes ;;
6492 RANLIB
=$ac_ct_RANLIB
6495 RANLIB
="$ac_cv_prog_RANLIB"
6498 # Extract the first word of "perl", so it can be a program name with args.
6499 set dummy perl
; ac_word
=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if ${ac_cv_path_PERL+:} false
; then :
6503 $as_echo_n "(cached) " >&6
6507 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
6510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6514 test -z "$as_dir" && as_dir
=.
6515 for ac_exec_ext
in '' $ac_executable_extensions; do
6516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6517 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="perl-not-found-in-path-error"
6529 PERL
=$ac_cv_path_PERL
6530 if test -n "$PERL"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
6532 $as_echo "$PERL" >&6; }
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6540 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6542 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6543 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6544 $as_echo_n "(cached) " >&6
6546 cat >conftest.
make <<\_ACEOF
6549 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6551 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6552 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6554 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6556 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6560 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6562 $as_echo "yes" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6567 SET_MAKE
="MAKE=${MAKE-make}"
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6575 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6580 macro_version
='2.2.7a'
6581 macro_revision
='1.3134'
6595 ltmain
="$ac_aux_dir/ltmain.sh"
6597 # Backslashify metacharacters that are still active within
6598 # double-quoted strings.
6599 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6601 # Same as above, but do not quote variable references.
6602 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6604 # Sed substitution to delay expansion of an escaped shell variable in a
6605 # double_quote_subst'ed string.
6606 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6608 # Sed substitution to delay expansion of an escaped single quote.
6609 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6611 # Sed substitution to avoid accidental globbing in evaled expressions
6612 no_glob_subst
='s/\*/\\\*/g'
6614 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6615 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6616 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6619 $as_echo_n "checking how to print strings... " >&6; }
6620 # Test print first, because it will be a builtin if present.
6621 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6622 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6624 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6627 # Use this function as a fallback that always works.
6628 func_fallback_echo ()
6630 eval 'cat <<_LTECHO_EOF
6634 ECHO='func_fallback_echo
'
6637 # func_echo_all arg...
6638 # Invoke $ECHO with all args, space-separated.
6645 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6646 $as_echo "printf" >&6; } ;;
6647 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6648 $as_echo "print -r" >&6; } ;;
6649 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6650 $as_echo "cat" >&6; } ;;
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6667 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6668 if ${ac_cv_path_SED+:} false; then :
6669 $as_echo_n "(cached) " >&6
6671 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6672 for ac_i in 1 2 3 4 5 6 7; do
6673 ac_script="$ac_script$as_nl$ac_script"
6675 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6676 { ac_script=; unset ac_script;}
6677 if test -z "$SED"; then
6678 ac_path_SED_found=false
6679 # Loop through the user's path and
test for each of PROGNAME-LIST
6680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir
=.
6685 for ac_prog
in sed gsed
; do
6686 for ac_exec_ext
in '' $ac_executable_extensions; do
6687 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6688 as_fn_executable_p
"$ac_path_SED" ||
continue
6689 # Check for GNU ac_path_SED and select it if it is found.
6690 # Check for GNU $ac_path_SED
6691 case `"$ac_path_SED" --version 2>&1` in
6693 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6696 $as_echo_n 0123456789 >"conftest.in"
6699 cat "conftest.in" "conftest.in" >"conftest.tmp"
6700 mv "conftest.tmp" "conftest.in"
6701 cp "conftest.in" "conftest.nl"
6702 $as_echo '' >> "conftest.nl"
6703 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6704 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6705 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6706 if test $ac_count -gt ${ac_path_SED_max-0}; then
6707 # Best one so far, save it but keep looking for a better one
6708 ac_cv_path_SED
="$ac_path_SED"
6709 ac_path_SED_max
=$ac_count
6711 # 10*(2^10) chars as input seems more than enough
6712 test $ac_count -gt 10 && break
6714 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6717 $ac_path_SED_found && break 3
6722 if test -z "$ac_cv_path_SED"; then
6723 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6731 $as_echo "$ac_cv_path_SED" >&6; }
6732 SED
="$ac_cv_path_SED"
6735 test -z "$SED" && SED
=sed
6736 Xsed
="$SED -e 1s/^X//"
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6749 $as_echo_n "checking for fgrep... " >&6; }
6750 if ${ac_cv_path_FGREP+:} false
; then :
6751 $as_echo_n "(cached) " >&6
6753 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6754 then ac_cv_path_FGREP
="$GREP -F"
6756 if test -z "$FGREP"; then
6757 ac_path_FGREP_found
=false
6758 # Loop through the user's path and test for each of PROGNAME-LIST
6759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6760 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6763 test -z "$as_dir" && as_dir
=.
6764 for ac_prog
in fgrep
; do
6765 for ac_exec_ext
in '' $ac_executable_extensions; do
6766 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6767 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6768 # Check for GNU ac_path_FGREP and select it if it is found.
6769 # Check for GNU $ac_path_FGREP
6770 case `"$ac_path_FGREP" --version 2>&1` in
6772 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6775 $as_echo_n 0123456789 >"conftest.in"
6778 cat "conftest.in" "conftest.in" >"conftest.tmp"
6779 mv "conftest.tmp" "conftest.in"
6780 cp "conftest.in" "conftest.nl"
6781 $as_echo 'FGREP' >> "conftest.nl"
6782 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6783 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6784 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6785 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6786 # Best one so far, save it but keep looking for a better one
6787 ac_cv_path_FGREP
="$ac_path_FGREP"
6788 ac_path_FGREP_max
=$ac_count
6790 # 10*(2^10) chars as input seems more than enough
6791 test $ac_count -gt 10 && break
6793 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6796 $ac_path_FGREP_found && break 3
6801 if test -z "$ac_cv_path_FGREP"; then
6802 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6805 ac_cv_path_FGREP
=$FGREP
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6811 $as_echo "$ac_cv_path_FGREP" >&6; }
6812 FGREP
="$ac_cv_path_FGREP"
6815 test -z "$GREP" && GREP
=grep
6835 # Check whether --with-gnu-ld was given.
6836 if test "${with_gnu_ld+set}" = set; then :
6837 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6843 if test "$GCC" = yes; then
6844 # Check if gcc -print-prog-name=ld gives a path.
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6846 $as_echo_n "checking for ld used by $CC... " >&6; }
6849 # gcc leaves a trailing carriage return which upsets mingw
6850 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6852 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6855 # Accept absolute paths.
6857 re_direlt
='/[^/][^/]*/\.\./'
6858 # Canonicalize the pathname of ld
6859 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6860 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6861 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6863 test -z "$LD" && LD
="$ac_prog"
6866 # If it fails, then pretend we aren't using GCC.
6870 # If it is relative, then search for the first ld in PATH.
6874 elif test "$with_gnu_ld" = yes; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6876 $as_echo_n "checking for GNU ld... " >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6879 $as_echo_n "checking for non-GNU ld... " >&6; }
6881 if ${lt_cv_path_LD+:} false
; then :
6882 $as_echo_n "(cached) " >&6
6884 if test -z "$LD"; then
6885 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6886 for ac_dir
in $PATH; do
6888 test -z "$ac_dir" && ac_dir
=.
6889 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6890 lt_cv_path_LD
="$ac_dir/$ac_prog"
6891 # Check to see if the program is GNU ld. I'd rather use --version,
6892 # but apparently some variants of GNU ld only accept -v.
6893 # Break only if it was the GNU/non-GNU ld that we prefer.
6894 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6895 *GNU
* |
*'with BFD'*)
6896 test "$with_gnu_ld" != no
&& break
6899 test "$with_gnu_ld" != yes && break
6906 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6911 if test -n "$LD"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6913 $as_echo "$LD" >&6; }
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 $as_echo "no" >&6; }
6918 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6920 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6921 if ${lt_cv_prog_gnu_ld+:} false
; then :
6922 $as_echo_n "(cached) " >&6
6924 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6925 case `$LD -v 2>&1 </dev/null` in
6926 *GNU
* |
*'with BFD'*)
6927 lt_cv_prog_gnu_ld
=yes
6930 lt_cv_prog_gnu_ld
=no
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6935 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6936 with_gnu_ld
=$lt_cv_prog_gnu_ld
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6947 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6948 if ${lt_cv_path_NM+:} false
; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$NM"; then
6952 # Let the user override the test.
6955 lt_nm_to_check
="${ac_tool_prefix}nm"
6956 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6957 lt_nm_to_check
="$lt_nm_to_check nm"
6959 for lt_tmp_nm
in $lt_nm_to_check; do
6960 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6961 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6963 test -z "$ac_dir" && ac_dir
=.
6964 tmp_nm
="$ac_dir/$lt_tmp_nm"
6965 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6966 # Check to see if the nm accepts a BSD-compat flag.
6967 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6968 # nm: unknown option "B" ignored
6969 # Tru64's nm complains that /dev/null is an invalid object file
6970 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6971 */dev
/null
* |
*'Invalid file or object type'*)
6972 lt_cv_path_NM
="$tmp_nm -B"
6976 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6978 lt_cv_path_NM
="$tmp_nm -p"
6982 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6983 continue # so that we can try to find one that supports BSD flags
6992 : ${lt_cv_path_NM=no}
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6996 $as_echo "$lt_cv_path_NM" >&6; }
6997 if test "$lt_cv_path_NM" != "no"; then
7000 # Didn't find any BSD compatible name lister, look for dumpbin.
7001 if test -n "$DUMPBIN"; then :
7002 # Let the user override the test.
7004 if test -n "$ac_tool_prefix"; then
7005 for ac_prog
in dumpbin
"link -dump"
7007 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7008 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_DUMPBIN+:} false
; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$DUMPBIN"; then
7015 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir
=.
7022 for ac_exec_ext
in '' $ac_executable_extensions; do
7023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7024 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 DUMPBIN
=$ac_cv_prog_DUMPBIN
7035 if test -n "$DUMPBIN"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7037 $as_echo "$DUMPBIN" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7044 test -n "$DUMPBIN" && break
7047 if test -z "$DUMPBIN"; then
7048 ac_ct_DUMPBIN
=$DUMPBIN
7049 for ac_prog
in dumpbin
"link -dump"
7051 # Extract the first word of "$ac_prog", so it can be a program name with args.
7052 set dummy
$ac_prog; ac_word
=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$ac_ct_DUMPBIN"; then
7059 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir
=.
7066 for ac_exec_ext
in '' $ac_executable_extensions; do
7067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7068 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7079 if test -n "$ac_ct_DUMPBIN"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7081 $as_echo "$ac_ct_DUMPBIN" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7088 test -n "$ac_ct_DUMPBIN" && break
7091 if test "x$ac_ct_DUMPBIN" = x
; then
7094 case $cross_compiling:$ac_tool_warned in
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7098 ac_tool_warned
=yes ;;
7100 DUMPBIN
=$ac_ct_DUMPBIN
7104 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7106 DUMPBIN
="$DUMPBIN -symbols"
7114 if test "$DUMPBIN" != ":"; then
7118 test -z "$NM" && NM
=nm
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7126 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7127 if ${lt_cv_nm_interface+:} false
; then :
7128 $as_echo_n "(cached) " >&6
7130 lt_cv_nm_interface
="BSD nm"
7131 echo "int some_variable = 0;" > conftest.
$ac_ext
7132 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7133 (eval "$ac_compile" 2>conftest.err
)
7134 cat conftest.err
>&5
7135 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7136 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7137 cat conftest.err
>&5
7138 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7139 cat conftest.out
>&5
7140 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7141 lt_cv_nm_interface
="MS dumpbin"
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7146 $as_echo "$lt_cv_nm_interface" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7149 $as_echo_n "checking whether ln -s works... " >&6; }
7151 if test "$LN_S" = "ln -s"; then
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7153 $as_echo "yes" >&6; }
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7156 $as_echo "no, using $LN_S" >&6; }
7159 # find the maximum length of command line arguments
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7161 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7162 if ${lt_cv_sys_max_cmd_len+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7170 # On DJGPP, this test can blow up pretty badly due to problems in libc
7171 # (any single argument exceeding 2000 bytes causes a buffer overrun
7172 # during glob expansion). Even if it were fixed, the result of this
7173 # check would be larger than it should be.
7174 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7178 # Under GNU Hurd, this test is not required because there is
7179 # no limit to the length of command line arguments.
7180 # Libtool will interpret -1 as no limit whatsoever
7181 lt_cv_sys_max_cmd_len
=-1;
7184 cygwin
* | mingw
* | cegcc
*)
7185 # On Win9x/ME, this test blows up -- it succeeds, but takes
7186 # about 5 minutes as the teststring grows exponentially.
7187 # Worse, since 9x/ME are not pre-emptively multitasking,
7188 # you end up with a "frozen" computer, even though with patience
7189 # the test eventually succeeds (with a max line length of 256k).
7190 # Instead, let's just punt: use the minimum linelength reported by
7191 # all of the supported platforms: 8192 (on NT/2K/XP).
7192 lt_cv_sys_max_cmd_len
=8192;
7196 # On MiNT this can take a long time and run out of memory.
7197 lt_cv_sys_max_cmd_len
=8192;
7201 # On AmigaOS with pdksh, this test takes hours, literally.
7202 # So we just punt and use a minimum line length of 8192.
7203 lt_cv_sys_max_cmd_len
=8192;
7206 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7207 # This has been around since 386BSD, at least. Likely further.
7208 if test -x /sbin
/sysctl
; then
7209 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7210 elif test -x /usr
/sbin
/sysctl
; then
7211 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7213 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7215 # And add a safety zone
7216 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7217 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7221 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7222 lt_cv_sys_max_cmd_len
=196608
7226 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7227 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7228 # nice to cause kernel panics so lets avoid the loop below.
7229 # First set a reasonable default.
7230 lt_cv_sys_max_cmd_len
=16384
7232 if test -x /sbin
/sysconfig
; then
7233 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7234 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7239 lt_cv_sys_max_cmd_len
=102400
7241 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7242 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7243 if test -n "$kargmax"; then
7244 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7246 lt_cv_sys_max_cmd_len
=32768
7250 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7251 if test -n "$lt_cv_sys_max_cmd_len"; then
7252 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7253 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7255 # Make teststring a little bigger before we do anything with it.
7256 # a 1K string should be a reasonable start.
7257 for i
in 1 2 3 4 5 6 7 8 ; do
7258 teststring
=$teststring$teststring
7260 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7261 # If test is not a shell built-in, we'll probably end up computing a
7262 # maximum length that is only half of the actual maximum length, but
7264 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7265 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7266 test $i != 17 # 1/2 MB should be enough
7269 teststring
=$teststring$teststring
7271 # Only check the string length outside the loop.
7272 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7274 # Add a significant safety factor because C++ compilers can tack on
7275 # massive amounts of additional arguments before passing them to the
7276 # linker. It appears as though 1/2 is a usable value.
7277 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7284 if test -n $lt_cv_sys_max_cmd_len ; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7286 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7289 $as_echo "none" >&6; }
7291 max_cmd_len
=$lt_cv_sys_max_cmd_len
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7303 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7304 # Try some XSI features
7307 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7309 && eval 'test $(( 1 + 1 )) -eq 2 \
7310 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7313 $as_echo "$xsi_shell" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7317 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7319 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7321 && lt_shell_append=yes
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7323 $as_echo "$lt_shell_append" >&6; }
7326 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7336 # test EBCDIC or ASCII
7337 case `echo X|tr X '\101'` in
7338 A) # ASCII based system
7339 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7340 lt_SP2NL='tr \040 \012'
7341 lt_NL2SP='tr \015\012 \040\040'
7343 *) # EBCDIC based system
7344 lt_SP2NL='tr \100 \n'
7345 lt_NL2SP='tr \r\n \100\100'
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7358 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7359 if ${lt_cv_ld_reload_flag+:} false; then :
7360 $as_echo_n "(cached
) " >&6
7362 lt_cv_ld_reload_flag='-r'
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7365 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7366 reload_flag=$lt_cv_ld_reload_flag
7367 case $reload_flag in
7369 *) reload_flag=" $reload_flag" ;;
7371 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7374 if test "$GCC" = yes; then
7375 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7377 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7390 if test -n "$ac_tool_prefix"; then
7391 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7392 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7394 $as_echo_n "checking
for $ac_word...
" >&6; }
7395 if ${ac_cv_prog_OBJDUMP+:} false; then :
7396 $as_echo_n "(cached
) " >&6
7398 if test -n "$OBJDUMP"; then
7399 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 test -z "$as_dir" && as_dir=.
7406 for ac_exec_ext in '' $ac_executable_extensions; do
7407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7408 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7418 OBJDUMP=$ac_cv_prog_OBJDUMP
7419 if test -n "$OBJDUMP"; then
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7421 $as_echo "$OBJDUMP" >&6; }
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7424 $as_echo "no
" >&6; }
7429 if test -z "$ac_cv_prog_OBJDUMP"; then
7430 ac_ct_OBJDUMP=$OBJDUMP
7431 # Extract the first word of "objdump
", so it can be a program name with args.
7432 set dummy objdump; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7434 $as_echo_n "checking
for $ac_word...
" >&6; }
7435 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7436 $as_echo_n "(cached
) " >&6
7438 if test -n "$ac_ct_OBJDUMP"; then
7439 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7448 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7458 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7459 if test -n "$ac_ct_OBJDUMP"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7461 $as_echo "$ac_ct_OBJDUMP" >&6; }
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7464 $as_echo "no
" >&6; }
7467 if test "x
$ac_ct_OBJDUMP" = x; then
7470 case $cross_compiling:$ac_tool_warned in
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7473 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7474 ac_tool_warned=yes ;;
7476 OBJDUMP=$ac_ct_OBJDUMP
7479 OBJDUMP="$ac_cv_prog_OBJDUMP"
7482 test -z "$OBJDUMP" && OBJDUMP=objdump
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7493 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7494 if ${lt_cv_deplibs_check_method+:} false; then :
7495 $as_echo_n "(cached
) " >&6
7497 lt_cv_file_magic_cmd='$MAGIC_CMD'
7498 lt_cv_file_magic_test_file=
7499 lt_cv_deplibs_check_method='unknown'
7500 # Need to set the preceding variable on all platforms that support
7501 # interlibrary dependencies.
7502 # 'none' -- dependencies not supported.
7503 # `unknown' -- same as none, but documents that we really don't know.
7504 # 'pass_all' -- all dependencies passed with no checks.
7505 # 'test_compile' -- check by making test program.
7506 # 'file_magic [[regex]]' -- check by looking for files in library path
7507 # which responds to the $file_magic_cmd with a given extended regex.
7508 # If you have `file' or equivalent on your system and you're not sure
7509 # whether `pass_all' will *always* work, you probably want this one.
7513 lt_cv_deplibs_check_method=pass_all
7517 lt_cv_deplibs_check_method=pass_all
7521 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7522 lt_cv_file_magic_cmd='/usr/bin/file -L'
7523 lt_cv_file_magic_test_file=/shlib/libc.so
7527 # func_win32_libid is a shell function defined in ltmain.sh
7528 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7529 lt_cv_file_magic_cmd='func_win32_libid'
7533 # Base MSYS/MinGW do not provide the 'file' command needed by
7534 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7535 # unless we find 'file', for example because we are cross-compiling.
7536 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7537 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7538 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7539 lt_cv_file_magic_cmd='func_win32_libid'
7541 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7542 lt_cv_file_magic_cmd='$OBJDUMP -f'
7547 # use the weaker test based on 'objdump'. See mingw*.
7548 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7549 lt_cv_file_magic_cmd='$OBJDUMP -f'
7552 darwin* | rhapsody*)
7553 lt_cv_deplibs_check_method=pass_all
7556 freebsd* | dragonfly*)
7557 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7560 # Not sure whether the presence of OpenBSD here was a mistake.
7561 # Let's accept both of them until this is cleared up.
7562 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7563 lt_cv_file_magic_cmd=/usr/bin/file
7564 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7568 lt_cv_deplibs_check_method=pass_all
7573 lt_cv_deplibs_check_method=pass_all
7577 lt_cv_deplibs_check_method=pass_all
7580 hpux10.20* | hpux11*)
7581 lt_cv_file_magic_cmd=/usr/bin/file
7584 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7585 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7588 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]'
7589 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7592 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7593 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7599 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7600 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7603 irix5* | irix6* | nonstopux*)
7605 *-32|*"-32 ") libmagic=32-bit;;
7606 *-n32|*"-n32 ") libmagic=N32;;
7607 *-64|*"-64 ") libmagic=64-bit;;
7608 *) libmagic=never-match;;
7610 lt_cv_deplibs_check_method=pass_all
7613 # This must be Linux ELF.
7614 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7615 lt_cv_deplibs_check_method=pass_all
7619 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7620 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7622 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7627 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7628 lt_cv_file_magic_cmd=/usr/bin/file
7629 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7633 lt_cv_deplibs_check_method=pass_all
7637 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7638 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7640 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7644 osf3* | osf4* | osf5*)
7645 lt_cv_deplibs_check_method=pass_all
7649 lt_cv_deplibs_check_method=pass_all
7653 lt_cv_deplibs_check_method=pass_all
7656 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7657 lt_cv_deplibs_check_method=pass_all
7661 case $host_vendor in
7663 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]'
7664 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7667 lt_cv_deplibs_check_method=pass_all
7670 lt_cv_file_magic_cmd='/bin/file'
7671 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7674 lt_cv_file_magic_cmd='/bin/file'
7675 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7676 lt_cv_file_magic_test_file=/lib/libc.so
7679 lt_cv_deplibs_check_method=pass_all
7682 lt_cv_deplibs_check_method=pass_all
7688 lt_cv_deplibs_check_method=pass_all
7691 # Assume VxWorks cross toolchains are built on Linux, possibly
7692 # as canadian for Windows hosts.
7693 lt_cv_deplibs_check_method=pass_all
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7699 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7700 file_magic_cmd=$lt_cv_file_magic_cmd
7701 deplibs_check_method=$lt_cv_deplibs_check_method
7702 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7715 if test -n "$ac_tool_prefix"; then
7716 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7717 set dummy ${ac_tool_prefix}ar; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7719 $as_echo_n "checking
for $ac_word...
" >&6; }
7720 if ${ac_cv_prog_AR+:} false; then :
7721 $as_echo_n "(cached
) " >&6
7723 if test -n "$AR"; then
7724 ac_cv_prog_AR="$AR" # Let the user override the test.
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7733 ac_cv_prog_AR="${ac_tool_prefix}ar"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7744 if test -n "$AR"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7746 $as_echo "$AR" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7749 $as_echo "no
" >&6; }
7754 if test -z "$ac_cv_prog_AR"; then
7756 # Extract the first word of "ar", so it can be a program name with args.
7757 set dummy ar; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7759 $as_echo_n "checking
for $ac_word...
" >&6; }
7760 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7761 $as_echo_n "(cached
) " >&6
7763 if test -n "$ac_ct_AR"; then
7764 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7773 ac_cv_prog_ac_ct_AR="ar"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7783 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7784 if test -n "$ac_ct_AR"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7786 $as_echo "$ac_ct_AR" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7789 $as_echo "no
" >&6; }
7792 if test "x
$ac_ct_AR" = x; then
7795 case $cross_compiling:$ac_tool_warned in
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7798 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7799 ac_tool_warned=yes ;;
7807 test -z "$AR" && AR=ar
7808 test -z "$AR_FLAGS" && AR_FLAGS=cru
7820 if test -n "$ac_tool_prefix"; then
7821 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}strip; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7824 $as_echo_n "checking
for $ac_word...
" >&6; }
7825 if ${ac_cv_prog_STRIP+:} false; then :
7826 $as_echo_n "(cached
) " >&6
7828 if test -n "$STRIP"; then
7829 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7835 test -z "$as_dir" && as_dir=.
7836 for ac_exec_ext in '' $ac_executable_extensions; do
7837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7848 STRIP=$ac_cv_prog_STRIP
7849 if test -n "$STRIP"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7851 $as_echo "$STRIP" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7854 $as_echo "no
" >&6; }
7859 if test -z "$ac_cv_prog_STRIP"; then
7861 # Extract the first word of "strip
", so it can be a program name with args.
7862 set dummy strip; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7864 $as_echo_n "checking
for $ac_word...
" >&6; }
7865 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7866 $as_echo_n "(cached
) " >&6
7868 if test -n "$ac_ct_STRIP"; then
7869 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878 ac_cv_prog_ac_ct_STRIP="strip
"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7888 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7889 if test -n "$ac_ct_STRIP"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7891 $as_echo "$ac_ct_STRIP" >&6; }
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7894 $as_echo "no
" >&6; }
7897 if test "x
$ac_ct_STRIP" = x; then
7900 case $cross_compiling:$ac_tool_warned in
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7903 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7904 ac_tool_warned=yes ;;
7909 STRIP="$ac_cv_prog_STRIP"
7912 test -z "$STRIP" && STRIP=:
7919 if test -n "$ac_tool_prefix"; then
7920 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7921 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7923 $as_echo_n "checking
for $ac_word...
" >&6; }
7924 if ${ac_cv_prog_RANLIB+:} false; then :
7925 $as_echo_n "(cached
) " >&6
7927 if test -n "$RANLIB"; then
7928 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7947 RANLIB=$ac_cv_prog_RANLIB
7948 if test -n "$RANLIB"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7950 $as_echo "$RANLIB" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7953 $as_echo "no
" >&6; }
7958 if test -z "$ac_cv_prog_RANLIB"; then
7959 ac_ct_RANLIB=$RANLIB
7960 # Extract the first word of "ranlib
", so it can be a program name with args.
7961 set dummy ranlib; ac_word=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7963 $as_echo_n "checking
for $ac_word...
" >&6; }
7964 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7965 $as_echo_n "(cached
) " >&6
7967 if test -n "$ac_ct_RANLIB"; then
7968 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7987 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7988 if test -n "$ac_ct_RANLIB"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7990 $as_echo "$ac_ct_RANLIB" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7993 $as_echo "no
" >&6; }
7996 if test "x
$ac_ct_RANLIB" = x; then
7999 case $cross_compiling:$ac_tool_warned in
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8002 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8003 ac_tool_warned=yes ;;
8005 RANLIB=$ac_ct_RANLIB
8008 RANLIB="$ac_cv_prog_RANLIB"
8011 test -z "$RANLIB" && RANLIB=:
8018 # Determine commands to create old-style static archives.
8019 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8020 old_postinstall_cmds='chmod 644 $oldlib'
8021 old_postuninstall_cmds=
8023 if test -n "$RANLIB"; then
8026 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8029 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8032 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8037 lock_old_archive_extraction=yes ;;
8039 lock_old_archive_extraction=no ;;
8080 # If no C compiler was specified, use CC.
8083 # If no C compiler flags were specified, use CFLAGS.
8084 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8086 # Allow CC to be a program name with arguments.
8090 # Check for command to grab the raw symbol name followed by C symbol from nm.
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8092 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8093 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8094 $as_echo_n "(cached
) " >&6
8097 # These are sane defaults that work on at least a few old systems.
8098 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8100 # Character class describing NM global symbol codes.
8101 symcode='[BCDEGRST]'
8103 # Regexp to match symbols that can be accessed directly from C.
8104 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8106 # Define system-specific variables.
8111 cygwin* | mingw* | pw32* | cegcc*)
8112 symcode='[ABCDGISTW]'
8115 if test "$host_cpu" = ia64; then
8116 symcode='[ABCDEGRST]'
8120 symcode='[BCDEGRST]'
8123 symcode='[BCDEGQRST]'
8134 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8142 # If we're using GNU nm, then use its standard symbol codes.
8143 case `$NM -V 2>&1` in
8144 *GNU* | *'with BFD'*)
8145 symcode='[ABCDGIRSTW]' ;;
8148 # Transform an extracted symbol line into a proper C declaration.
8149 # Some systems (esp. on ia64) link data and code symbols differently,
8150 # so use this general approach.
8151 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8153 # Transform an extracted symbol line into symbol name and symbol address
8154 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8155 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'"
8157 # Handle CRLF in mingw tool chain
8161 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8165 # Try without a prefix underscore, then with it.
8166 for ac_symprfx in "" "_
"; do
8168 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8169 symxfrm="\\1 $ac_symprfx\\2 \\2"
8171 # Write the raw and C identifiers.
8172 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8173 # Fake it for dumpbin and say T for any non-static function
8174 # and D for any global variable.
8175 # Also find C++ and __fastcall symbols from MSVC++,
8176 # which start with @ or ?.
8177 lt_cv_sys_global_symbol_pipe="$AWK '"\
8178 " {last_section=section; section=\$ 3};"\
8179 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8180 " \$ 0!~/External *\|/{next};"\
8181 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8182 " {if(hide[section]) next};"\
8183 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8184 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8185 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8186 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8187 " ' prfx
=^
$ac_symprfx"
8189 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8192 # Check to see that the pipe works correctly.
8196 cat > conftest.$ac_ext <<_LT_EOF
8201 void nm_test_func(void);
8202 void nm_test_func(void){}
8206 int main(){nm_test_var='a';nm_test_func();return(0);}
8209 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8210 (eval $ac_compile) 2>&5
8212 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8213 test $ac_status = 0; }; then
8214 # Now try to grab the symbols.
8216 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8217 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8219 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8220 test $ac_status = 0; } && test -s "$nlist"; then
8221 # Try sorting and uniquifying the output.
8222 if sort "$nlist" | uniq > "$nlist"T; then
8223 mv -f "$nlist"T "$nlist"
8228 # Make sure that we snagged all the symbols we need.
8229 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8230 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8231 cat <<_LT_EOF > conftest.$ac_ext
8237 # Now generate the symbol file.
8238 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8240 cat <<_LT_EOF >> conftest.$ac_ext
8242 /* The mapping between symbol names and symbols. */
8247 lt__PROGRAM__LTX_preloaded_symbols[] =
8249 { "@PROGRAM@
", (void *) 0 },
8251 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8252 cat <<\_LT_EOF >> conftest.$ac_ext
8256 /* This works around a problem in FreeBSD linker */
8257 #ifdef FREEBSD_WORKAROUND
8258 static const void *lt_preloaded_setup() {
8259 return lt__PROGRAM__LTX_preloaded_symbols;
8267 # Now try linking the two files.
8268 mv conftest.$ac_objext conftstm.$ac_objext
8269 lt_save_LIBS="$LIBS"
8270 lt_save_CFLAGS="$CFLAGS"
8271 LIBS="conftstm.
$ac_objext"
8272 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8273 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8274 (eval $ac_link) 2>&5
8276 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8277 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8280 LIBS="$lt_save_LIBS"
8281 CFLAGS="$lt_save_CFLAGS"
8283 echo "cannot
find nm_test_func
in $nlist" >&5
8286 echo "cannot
find nm_test_var
in $nlist" >&5
8289 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8292 echo "$progname: failed program was
:" >&5
8293 cat conftest.$ac_ext >&5
8295 rm -rf conftest* conftst*
8297 # Do not use the global_symbol_pipe unless it works.
8298 if test "$pipe_works" = yes; then
8301 lt_cv_sys_global_symbol_pipe=
8307 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8308 lt_cv_sys_global_symbol_to_cdecl=
8310 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8312 $as_echo "failed
" >&6; }
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8315 $as_echo "ok
" >&6; }
8339 # Check whether --enable-libtool-lock was given.
8340 if test "${enable_libtool_lock+set}" = set; then :
8341 enableval=$enable_libtool_lock;
8344 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8346 # Some flags need to be propagated to the compiler or linker for good
8350 # Find out which ABI we are using.
8351 echo 'int i;' > conftest.$ac_ext
8352 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8353 (eval $ac_compile) 2>&5
8355 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8356 test $ac_status = 0; }; then
8357 case `/usr/bin/file conftest.$ac_objext` in
8369 # Find out which ABI we are using.
8370 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8371 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8372 (eval $ac_compile) 2>&5
8374 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8375 test $ac_status = 0; }; then
8376 if test "$lt_cv_prog_gnu_ld" = yes; then
8377 case `/usr/bin/file conftest.$ac_objext` in
8379 LD="${LD-ld} -melf32bsmip"
8382 LD="${LD-ld} -melf32bmipn32"
8385 LD="${LD-ld} -melf64bmip"
8389 case `/usr/bin/file conftest.$ac_objext` in
8405 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8406 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8407 # Find out which ABI we are using.
8408 echo 'int i;' > conftest.$ac_ext
8409 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8410 (eval $ac_compile) 2>&5
8412 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8413 test $ac_status = 0; }; then
8414 case `/usr/bin/file conftest.o` in
8417 x86_64-*kfreebsd*-gnu)
8418 LD="${LD-ld} -m elf_i386_fbsd
"
8421 case `/usr/bin/file conftest.o` in
8423 LD="${LD-ld} -m elf32_x86_64
"
8426 LD="${LD-ld} -m elf_i386
"
8430 powerpc64le-*linux*)
8431 LD="${LD-ld} -m elf32lppclinux
"
8434 LD="${LD-ld} -m elf32ppclinux
"
8437 LD="${LD-ld} -m elf_s390
"
8440 LD="${LD-ld} -m elf32_sparc
"
8446 x86_64-*kfreebsd*-gnu)
8447 LD="${LD-ld} -m elf_x86_64_fbsd
"
8450 LD="${LD-ld} -m elf_x86_64
"
8453 LD="${LD-ld} -m elf64lppc
"
8456 LD="${LD-ld} -m elf64ppc
"
8458 s390*-*linux*|s390*-*tpf*)
8459 LD="${LD-ld} -m elf64_s390
"
8462 LD="${LD-ld} -m elf64_sparc
"
8472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8473 SAVE_CFLAGS="$CFLAGS"
8474 CFLAGS="$CFLAGS -belf"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8476 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8477 if ${lt_cv_cc_needs_belf+:} false; then :
8478 $as_echo_n "(cached
) " >&6
8481 ac_cpp='$CPP $CPPFLAGS'
8482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8486 if test x$gcc_no_link = xyes; then
8487 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8500 if ac_fn_c_try_link "$LINENO"; then :
8501 lt_cv_cc_needs_belf=yes
8503 lt_cv_cc_needs_belf=no
8505 rm -f core conftest.err conftest.$ac_objext \
8506 conftest$ac_exeext conftest.$ac_ext
8508 ac_cpp='$CPP $CPPFLAGS'
8509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8515 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8516 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8517 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8518 CFLAGS="$SAVE_CFLAGS"
8522 # Find out which ABI we are using.
8523 echo 'int i;' > conftest.$ac_ext
8524 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8525 (eval $ac_compile) 2>&5
8527 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8528 test $ac_status = 0; }; then
8529 case `/usr/bin/file conftest.o` in
8531 case $lt_cv_prog_gnu_ld in
8532 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8534 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8546 need_locks="$enable_libtool_lock"
8550 rhapsody* | darwin*)
8551 if test -n "$ac_tool_prefix"; then
8552 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8553 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8555 $as_echo_n "checking
for $ac_word...
" >&6; }
8556 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8557 $as_echo_n "(cached
) " >&6
8559 if test -n "$DSYMUTIL"; then
8560 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8569 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8579 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8580 if test -n "$DSYMUTIL"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8582 $as_echo "$DSYMUTIL" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8585 $as_echo "no
" >&6; }
8590 if test -z "$ac_cv_prog_DSYMUTIL"; then
8591 ac_ct_DSYMUTIL=$DSYMUTIL
8592 # Extract the first word of "dsymutil
", so it can be a program name with args.
8593 set dummy dsymutil; ac_word=$2
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8595 $as_echo_n "checking
for $ac_word...
" >&6; }
8596 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8597 $as_echo_n "(cached
) " >&6
8599 if test -n "$ac_ct_DSYMUTIL"; then
8600 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8609 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8619 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8620 if test -n "$ac_ct_DSYMUTIL"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8622 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8625 $as_echo "no
" >&6; }
8628 if test "x
$ac_ct_DSYMUTIL" = x; then
8631 case $cross_compiling:$ac_tool_warned in
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8634 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8635 ac_tool_warned=yes ;;
8637 DSYMUTIL=$ac_ct_DSYMUTIL
8640 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8643 if test -n "$ac_tool_prefix"; then
8644 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8645 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8647 $as_echo_n "checking
for $ac_word...
" >&6; }
8648 if ${ac_cv_prog_NMEDIT+:} false; then :
8649 $as_echo_n "(cached
) " >&6
8651 if test -n "$NMEDIT"; then
8652 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir=.
8659 for ac_exec_ext in '' $ac_executable_extensions; do
8660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8661 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8671 NMEDIT=$ac_cv_prog_NMEDIT
8672 if test -n "$NMEDIT"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8674 $as_echo "$NMEDIT" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8677 $as_echo "no
" >&6; }
8682 if test -z "$ac_cv_prog_NMEDIT"; then
8683 ac_ct_NMEDIT=$NMEDIT
8684 # Extract the first word of "nmedit
", so it can be a program name with args.
8685 set dummy nmedit; ac_word=$2
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8687 $as_echo_n "checking
for $ac_word...
" >&6; }
8688 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8689 $as_echo_n "(cached
) " >&6
8691 if test -n "$ac_ct_NMEDIT"; then
8692 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 test -z "$as_dir" && as_dir=.
8699 for ac_exec_ext in '' $ac_executable_extensions; do
8700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8701 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8711 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8712 if test -n "$ac_ct_NMEDIT"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8714 $as_echo "$ac_ct_NMEDIT" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8717 $as_echo "no
" >&6; }
8720 if test "x
$ac_ct_NMEDIT" = x; then
8723 case $cross_compiling:$ac_tool_warned in
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8726 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8727 ac_tool_warned=yes ;;
8729 NMEDIT=$ac_ct_NMEDIT
8732 NMEDIT="$ac_cv_prog_NMEDIT"
8735 if test -n "$ac_tool_prefix"; then
8736 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8737 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8739 $as_echo_n "checking
for $ac_word...
" >&6; }
8740 if ${ac_cv_prog_LIPO+:} false; then :
8741 $as_echo_n "(cached
) " >&6
8743 if test -n "$LIPO"; then
8744 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8753 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8763 LIPO=$ac_cv_prog_LIPO
8764 if test -n "$LIPO"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8766 $as_echo "$LIPO" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8769 $as_echo "no
" >&6; }
8774 if test -z "$ac_cv_prog_LIPO"; then
8776 # Extract the first word of "lipo
", so it can be a program name with args.
8777 set dummy lipo; ac_word=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8779 $as_echo_n "checking
for $ac_word...
" >&6; }
8780 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8781 $as_echo_n "(cached
) " >&6
8783 if test -n "$ac_ct_LIPO"; then
8784 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_ac_ct_LIPO="lipo
"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8803 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8804 if test -n "$ac_ct_LIPO"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8806 $as_echo "$ac_ct_LIPO" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8809 $as_echo "no
" >&6; }
8812 if test "x
$ac_ct_LIPO" = x; then
8815 case $cross_compiling:$ac_tool_warned in
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8818 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8819 ac_tool_warned=yes ;;
8824 LIPO="$ac_cv_prog_LIPO"
8827 if test -n "$ac_tool_prefix"; then
8828 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8829 set dummy ${ac_tool_prefix}otool; ac_word=$2
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8831 $as_echo_n "checking
for $ac_word...
" >&6; }
8832 if ${ac_cv_prog_OTOOL+:} false; then :
8833 $as_echo_n "(cached
) " >&6
8835 if test -n "$OTOOL"; then
8836 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8842 test -z "$as_dir" && as_dir=.
8843 for ac_exec_ext in '' $ac_executable_extensions; do
8844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8845 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8855 OTOOL=$ac_cv_prog_OTOOL
8856 if test -n "$OTOOL"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8858 $as_echo "$OTOOL" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8861 $as_echo "no
" >&6; }
8866 if test -z "$ac_cv_prog_OTOOL"; then
8868 # Extract the first word of "otool
", so it can be a program name with args.
8869 set dummy otool; ac_word=$2
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8871 $as_echo_n "checking
for $ac_word...
" >&6; }
8872 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8873 $as_echo_n "(cached
) " >&6
8875 if test -n "$ac_ct_OTOOL"; then
8876 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8882 test -z "$as_dir" && as_dir=.
8883 for ac_exec_ext in '' $ac_executable_extensions; do
8884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8885 ac_cv_prog_ac_ct_OTOOL="otool
"
8886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8895 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8896 if test -n "$ac_ct_OTOOL"; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8898 $as_echo "$ac_ct_OTOOL" >&6; }
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8901 $as_echo "no
" >&6; }
8904 if test "x
$ac_ct_OTOOL" = x; then
8907 case $cross_compiling:$ac_tool_warned in
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8910 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8911 ac_tool_warned=yes ;;
8916 OTOOL="$ac_cv_prog_OTOOL"
8919 if test -n "$ac_tool_prefix"; then
8920 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8921 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8923 $as_echo_n "checking
for $ac_word...
" >&6; }
8924 if ${ac_cv_prog_OTOOL64+:} false; then :
8925 $as_echo_n "(cached
) " >&6
8927 if test -n "$OTOOL64"; then
8928 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8934 test -z "$as_dir" && as_dir=.
8935 for ac_exec_ext in '' $ac_executable_extensions; do
8936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8937 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8947 OTOOL64=$ac_cv_prog_OTOOL64
8948 if test -n "$OTOOL64"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8950 $as_echo "$OTOOL64" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8953 $as_echo "no
" >&6; }
8958 if test -z "$ac_cv_prog_OTOOL64"; then
8959 ac_ct_OTOOL64=$OTOOL64
8960 # Extract the first word of "otool64
", so it can be a program name with args.
8961 set dummy otool64; ac_word=$2
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8963 $as_echo_n "checking
for $ac_word...
" >&6; }
8964 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8965 $as_echo_n "(cached
) " >&6
8967 if test -n "$ac_ct_OTOOL64"; then
8968 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8974 test -z "$as_dir" && as_dir=.
8975 for ac_exec_ext in '' $ac_executable_extensions; do
8976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8977 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8987 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8988 if test -n "$ac_ct_OTOOL64"; then
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8990 $as_echo "$ac_ct_OTOOL64" >&6; }
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8993 $as_echo "no
" >&6; }
8996 if test "x
$ac_ct_OTOOL64" = x; then
8999 case $cross_compiling:$ac_tool_warned in
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9002 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9003 ac_tool_warned=yes ;;
9005 OTOOL64=$ac_ct_OTOOL64
9008 OTOOL64="$ac_cv_prog_OTOOL64"
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9038 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9039 if ${lt_cv_apple_cc_single_mod+:} false; then :
9040 $as_echo_n "(cached
) " >&6
9042 lt_cv_apple_cc_single_mod=no
9043 if test -z "${LT_MULTI_MODULE}"; then
9044 # By default we will add the -single_module flag. You can override
9045 # by either setting the environment variable LT_MULTI_MODULE
9046 # non-empty at configure time, or by adding -multi_module to the
9048 rm -rf libconftest.dylib*
9049 echo "int foo
(void
){return 1;}" > conftest.c
9050 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9051 -dynamiclib -Wl,-single_module conftest.c
" >&5
9052 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9053 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9055 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9056 lt_cv_apple_cc_single_mod=yes
9058 cat conftest.err >&5
9060 rm -rf libconftest.dylib*
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9065 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9067 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9068 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9069 $as_echo_n "(cached
) " >&6
9071 lt_cv_ld_exported_symbols_list=no
9072 save_LDFLAGS=$LDFLAGS
9073 echo "_main
" > conftest.sym
9074 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9075 if test x$gcc_no_link = xyes; then
9076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 lt_cv_ld_exported_symbols_list=yes
9092 lt_cv_ld_exported_symbols_list=no
9094 rm -f core conftest.err conftest.$ac_objext \
9095 conftest$ac_exeext conftest.$ac_ext
9096 LDFLAGS="$save_LDFLAGS"
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9100 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9102 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9103 if ${lt_cv_ld_force_load+:} false; then :
9104 $as_echo_n "(cached
) " >&6
9106 lt_cv_ld_force_load=no
9107 cat > conftest.c << _LT_EOF
9108 int forced_loaded() { return 2;}
9110 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9111 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9112 echo "$AR cru libconftest.a conftest.o
" >&5
9113 $AR cru libconftest.a conftest.o 2>&5
9114 cat > conftest.c << _LT_EOF
9115 int main() { return 0;}
9117 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9118 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9120 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9121 lt_cv_ld_force_load=yes
9123 cat conftest.err >&5
9125 rm -f conftest.err libconftest.a conftest conftest.c
9126 rm -rf conftest.dSYM
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9130 $as_echo "$lt_cv_ld_force_load" >&6; }
9131 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9132 # build without first building modern cctools / linker.
9133 case $host_cpu-$host_os in
9134 *-rhapsody* | *-darwin1.[012])
9135 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9137 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9139 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9140 # deployment target is forced to an earlier version.
9141 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9142 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
9145 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9152 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9153 _lt_dar_single_mod='$single_module'
9155 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9156 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9158 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9160 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9161 _lt_dsymutil='~$DSYMUTIL $lib || :'
9168 for ac_header in dlfcn.h
9170 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
9172 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
9173 cat >>confdefs.h <<_ACEOF
9174 #define HAVE_DLFCN_H 1
9196 # Check whether --enable-shared was given.
9197 if test "${enable_shared+set}" = set; then :
9198 enableval=$enable_shared; p=${PACKAGE-default}
9200 yes) enable_shared=yes ;;
9201 no) enable_shared=no ;;
9204 # Look at the argument we got. We use all the common list separators.
9205 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9206 for pkg in $enableval; do
9208 if test "X
$pkg" = "X
$p"; then
9227 # Check whether --enable-static was given.
9228 if test "${enable_static+set}" = set; then :
9229 enableval=$enable_static; p=${PACKAGE-default}
9231 yes) enable_static=yes ;;
9232 no) enable_static=no ;;
9235 # Look at the argument we got. We use all the common list separators.
9236 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9237 for pkg in $enableval; do
9239 if test "X
$pkg" = "X
$p"; then
9259 # Check whether --with-pic was given.
9260 if test "${with_pic+set}" = set; then :
9261 withval=$with_pic; pic_mode="$withval"
9267 test -z "$pic_mode" && pic_mode=default
9275 # Check whether --enable-fast-install was given.
9276 if test "${enable_fast_install+set}" = set; then :
9277 enableval=$enable_fast_install; p=${PACKAGE-default}
9279 yes) enable_fast_install=yes ;;
9280 no) enable_fast_install=no ;;
9282 enable_fast_install=no
9283 # Look at the argument we got. We use all the common list separators.
9284 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9285 for pkg in $enableval; do
9287 if test "X
$pkg" = "X
$p"; then
9288 enable_fast_install=yes
9295 enable_fast_install=yes
9308 # This can be used to rebuild libtool when needed
9309 LIBTOOL_DEPS="$ltmain"
9311 # Always use our own libtool.
9312 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9339 test -z "$LN_S" && LN_S="ln -s"
9354 if test -n "${ZSH_VERSION+set}" ; then
9355 setopt NO_GLOB_SUBST
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
9359 $as_echo_n "checking
for objdir...
" >&6; }
9360 if ${lt_cv_objdir+:} false; then :
9361 $as_echo_n "(cached
) " >&6
9363 rm -f .libs 2>/dev/null
9364 mkdir .libs 2>/dev/null
9365 if test -d .libs; then
9368 # MS-DOS does not allow filenames that begin with a dot.
9371 rmdir .libs 2>/dev/null
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
9374 $as_echo "$lt_cv_objdir" >&6; }
9375 objdir=$lt_cv_objdir
9381 cat >>confdefs.h <<_ACEOF
9382 #define LT_OBJDIR "$lt_cv_objdir/"
9390 # AIX sometimes has problems with the GCC collect2 program. For some
9391 # reason, if we set the COLLECT_NAMES environment variable, the problems
9392 # vanish in a puff of smoke.
9393 if test "X
${COLLECT_NAMES+set}" != Xset; then
9395 export COLLECT_NAMES
9402 can_build_shared=yes
9404 # All known linkers require a `.a' archive for static linking (except MSVC,
9405 # which needs '.lib').
9408 with_gnu_ld="$lt_cv_prog_gnu_ld"
9411 old_CFLAGS="$CFLAGS"
9413 # Set sane defaults for various variables
9414 test -z "$CC" && CC=cc
9415 test -z "$LTCC" && LTCC=$CC
9416 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9417 test -z "$LD" && LD=ld
9418 test -z "$ac_objext" && ac_objext=o
9420 for cc_temp in $compiler""; do
9422 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9423 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9428 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
9431 # Only perform the check for file, if the check method requires it
9432 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9433 case $deplibs_check_method in
9435 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
9437 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
9438 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9439 $as_echo_n "(cached
) " >&6
9443 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9446 lt_save_MAGIC_CMD="$MAGIC_CMD"
9447 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9448 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9449 for ac_dir in $ac_dummy; do
9451 test -z "$ac_dir" && ac_dir=.
9452 if test -f $ac_dir/${ac_tool_prefix}file; then
9453 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9454 if test -n "$file_magic_test_file"; then
9455 case $deplibs_check_method in
9457 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9458 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9459 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9460 $EGREP "$file_magic_regex" > /dev/null; then
9465 *** Warning: the command libtool uses to detect shared libraries,
9466 *** $file_magic_cmd, produces output that libtool cannot recognize.
9467 *** The result is that libtool may fail to recognize shared libraries
9468 *** as such. This will affect the creation of libtool libraries that
9469 *** depend on shared libraries, but programs linked with such libtool
9470 *** libraries will work regardless of this problem. Nevertheless, you
9471 *** may want to report the problem to your system manager and/or to
9472 *** bug-libtool@gnu.org
9482 MAGIC_CMD="$lt_save_MAGIC_CMD"
9487 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9488 if test -n "$MAGIC_CMD"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9490 $as_echo "$MAGIC_CMD" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9493 $as_echo "no
" >&6; }
9500 if test -z "$lt_cv_path_MAGIC_CMD"; then
9501 if test -n "$ac_tool_prefix"; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
9503 $as_echo_n "checking
for file...
" >&6; }
9504 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9505 $as_echo_n "(cached
) " >&6
9509 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9512 lt_save_MAGIC_CMD="$MAGIC_CMD"
9513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9514 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
9515 for ac_dir in $ac_dummy; do
9517 test -z "$ac_dir" && ac_dir=.
9518 if test -f $ac_dir/file; then
9519 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9520 if test -n "$file_magic_test_file"; then
9521 case $deplibs_check_method in
9523 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
9524 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9525 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9526 $EGREP "$file_magic_regex" > /dev/null; then
9531 *** Warning: the command libtool uses to detect shared libraries,
9532 *** $file_magic_cmd, produces output that libtool cannot recognize.
9533 *** The result is that libtool may fail to recognize shared libraries
9534 *** as such. This will affect the creation of libtool libraries that
9535 *** depend on shared libraries, but programs linked with such libtool
9536 *** libraries will work regardless of this problem. Nevertheless, you
9537 *** may want to report the problem to your system manager and/or to
9538 *** bug-libtool@gnu.org
9548 MAGIC_CMD="$lt_save_MAGIC_CMD"
9553 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9554 if test -n "$MAGIC_CMD"; then
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
9556 $as_echo "$MAGIC_CMD" >&6; }
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9559 $as_echo "no
" >&6; }
9572 # Use C for the default configuration in the libtool script
9576 ac_cpp='$CPP $CPPFLAGS'
9577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9582 # Source file extension for C test sources.
9585 # Object file extension for compiled C test sources.
9589 # Code to be used in simple compile tests
9590 lt_simple_compile_test_code="int some_variable
= 0;"
9592 # Code to be used in simple link tests
9593 lt_simple_link_test_code='int main(){return(0);}'
9601 # If no C compiler was specified, use CC.
9604 # If no C compiler flags were specified, use CFLAGS.
9605 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9607 # Allow CC to be a program name with arguments.
9610 # Save the default compiler, since it gets overwritten when the other
9611 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9612 compiler_DEFAULT=$CC
9614 # save warnings/boilerplate of simple test code
9615 ac_outfile=conftest.$ac_objext
9616 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9617 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9618 _lt_compiler_boilerplate=`cat conftest.err`
9621 ac_outfile=conftest.$ac_objext
9622 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9623 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9624 _lt_linker_boilerplate=`cat conftest.err`
9629 ## There is no encapsulation within the following macros, do not change
9630 ## the running order or otherwise move them around unless you know exactly
9631 ## what you are doing...
9632 if test -n "$compiler"; then
9634 lt_prog_compiler_no_builtin_flag=
9636 if test "$GCC" = yes; then
9637 case $cc_basename in
9639 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9641 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
9645 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
9646 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9647 $as_echo_n "(cached
) " >&6
9649 lt_cv_prog_compiler_rtti_exceptions=no
9650 ac_outfile=conftest.$ac_objext
9651 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9652 lt_compiler_flag="-fno-rtti -fno-exceptions"
9653 # Insert the option either (1) after the last *FLAGS variable, or
9654 # (2) before a word containing "conftest.
", or (3) at the end.
9655 # Note that $ac_compile itself does not contain backslashes and begins
9656 # with a dollar sign (not a hyphen), so the echo should work correctly.
9657 # The option is referenced via a variable to avoid confusing sed.
9658 lt_compile=`echo "$ac_compile" | $SED \
9659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9661 -e 's:$: $lt_compiler_flag:'`
9662 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9663 (eval "$lt_compile" 2>conftest.err)
9665 cat conftest.err >&5
9666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9667 if (exit $ac_status) && test -s "$ac_outfile"; then
9668 # The compiler can only warn and ignore the option if not recognized
9669 # So say no if there are warnings other than the usual output.
9670 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9671 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9672 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9673 lt_cv_prog_compiler_rtti_exceptions=yes
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
9680 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9682 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9683 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9695 lt_prog_compiler_wl=
9696 lt_prog_compiler_pic=
9697 lt_prog_compiler_static=
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
9700 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
9702 if test "$GCC" = yes; then
9703 lt_prog_compiler_wl='-Wl,'
9704 lt_prog_compiler_static='-static'
9708 # All AIX code is PIC.
9709 if test "$host_cpu" = ia64; then
9710 # AIX 5 now supports IA64 processor
9711 lt_prog_compiler_static='-Bstatic'
9713 lt_prog_compiler_pic='-fPIC'
9719 # see comment about AmigaOS4 .so support
9720 lt_prog_compiler_pic='-fPIC'
9723 # FIXME: we need at least 68020 code to build shared libraries, but
9724 # adding the `-m68020' flag to GCC prevents building anything better,
9726 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9731 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9732 # PIC is the default for these OSes.
9735 mingw* | cygwin* | pw32* | os2* | cegcc*)
9736 # This hack is so that the source file can tell whether it is being
9737 # built for inclusion in a dll (and should export symbols for example).
9738 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9739 # (--disable-auto-import) libraries
9740 lt_prog_compiler_pic='-DDLL_EXPORT'
9743 darwin* | rhapsody*)
9744 # PIC is the default on this platform
9745 # Common symbols not allowed in MH_DYLIB files
9746 lt_prog_compiler_pic='-fno-common'
9750 # PIC is the default for Haiku.
9751 # The "-static" flag exists, but is broken.
9752 lt_prog_compiler_static=
9756 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9757 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9758 # sets the default TLS model and affects inlining.
9764 lt_prog_compiler_pic='-fPIC'
9770 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9771 # Instead, we relocate shared libraries at runtime.
9775 # Just because we use GCC doesn't mean we suddenly get shared libraries
9776 # on systems that don't support them.
9777 lt_prog_compiler_can_build_shared=no
9782 # QNX uses GNU C++, but need to define -shared option too, otherwise
9784 lt_prog_compiler_pic='-fPIC -shared'
9788 if test -d /usr/nec; then
9789 lt_prog_compiler_pic=-Kconform_pic
9794 lt_prog_compiler_pic='-fPIC'
9798 case $cc_basename in
9799 nvcc*) # Cuda Compiler Driver 2.2
9800 lt_prog_compiler_wl='-Xlinker '
9801 lt_prog_compiler_pic='-Xcompiler -fPIC'
9805 # PORTME Check for flag to pass linker flags through the system compiler.
9808 lt_prog_compiler_wl='-Wl,'
9809 if test "$host_cpu" = ia64; then
9810 # AIX 5 now supports IA64 processor
9811 lt_prog_compiler_static='-Bstatic'
9813 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9817 mingw* | cygwin* | pw32* | os2* | cegcc*)
9818 # This hack is so that the source file can tell whether it is being
9819 # built for inclusion in a dll (and should export symbols for example).
9820 lt_prog_compiler_pic='-DDLL_EXPORT'
9823 hpux9* | hpux10* | hpux11*)
9824 lt_prog_compiler_wl='-Wl,'
9825 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9832 lt_prog_compiler_pic='+Z'
9835 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9836 lt_prog_compiler_static='${wl}-a ${wl}archive'
9839 irix5* | irix6* | nonstopux*)
9840 lt_prog_compiler_wl='-Wl,'
9841 # PIC (with -KPIC) is the default.
9842 lt_prog_compiler_static='-non_shared'
9845 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9846 case $cc_basename in
9847 # old Intel for x86_64 which still supported -KPIC.
9849 lt_prog_compiler_wl='-Wl,'
9850 lt_prog_compiler_pic='-KPIC'
9851 lt_prog_compiler_static='-static'
9853 # icc used to be incompatible with GCC.
9854 # ICC 10 doesn't accept -KPIC any more.
9856 lt_prog_compiler_wl='-Wl,'
9857 lt_prog_compiler_pic='-fPIC'
9858 lt_prog_compiler_static='-static'
9860 # Lahey Fortran 8.1.
9862 lt_prog_compiler_wl='-Wl,'
9863 lt_prog_compiler_pic='--shared'
9864 lt_prog_compiler_static='--static'
9866 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9867 # Portland Group compilers (*not* the Pentium gcc compiler,
9868 # which looks to be a dead project)
9869 lt_prog_compiler_wl='-Wl,'
9870 lt_prog_compiler_pic='-fpic'
9871 lt_prog_compiler_static='-Bstatic'
9874 lt_prog_compiler_wl='-Wl,'
9875 # All Alpha code is PIC.
9876 lt_prog_compiler_static='-non_shared'
9878 xl* | bgxl* | bgf* | mpixl*)
9879 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9880 lt_prog_compiler_wl='-Wl,'
9881 lt_prog_compiler_pic='-qpic'
9882 lt_prog_compiler_static='-qstaticlink'
9885 case `$CC -V 2>&1 | sed 5q` in
9886 *Sun\ F* | *Sun*Fortran*)
9887 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9888 lt_prog_compiler_pic='-KPIC'
9889 lt_prog_compiler_static='-Bstatic'
9890 lt_prog_compiler_wl=''
9894 lt_prog_compiler_pic='-KPIC'
9895 lt_prog_compiler_static='-Bstatic'
9896 lt_prog_compiler_wl='-Wl,'
9904 lt_prog_compiler_pic='-KPIC'
9905 lt_prog_compiler_static='-Bstatic'
9909 # QNX uses GNU C++, but need to define -shared option too, otherwise
9911 lt_prog_compiler_pic='-fPIC -shared'
9914 osf3* | osf4* | osf5*)
9915 lt_prog_compiler_wl='-Wl,'
9916 # All OSF/1 code is PIC.
9917 lt_prog_compiler_static='-non_shared'
9921 lt_prog_compiler_static='-non_shared'
9925 lt_prog_compiler_pic='-KPIC'
9926 lt_prog_compiler_static='-Bstatic'
9927 case $cc_basename in
9929 lt_prog_compiler_wl='-Qoption ld ';;
9931 lt_prog_compiler_wl='-Wl,';;
9936 lt_prog_compiler_wl='-Qoption ld '
9937 lt_prog_compiler_pic='-PIC'
9938 lt_prog_compiler_static='-Bstatic'
9941 sysv4 | sysv4.2uw2* | sysv4.3*)
9942 lt_prog_compiler_wl='-Wl,'
9943 lt_prog_compiler_pic='-KPIC'
9944 lt_prog_compiler_static='-Bstatic'
9948 if test -d /usr/nec ;then
9949 lt_prog_compiler_pic='-Kconform_pic'
9950 lt_prog_compiler_static='-Bstatic'
9954 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9955 lt_prog_compiler_wl='-Wl,'
9956 lt_prog_compiler_pic='-KPIC'
9957 lt_prog_compiler_static='-Bstatic'
9961 lt_prog_compiler_wl='-Wl,'
9962 lt_prog_compiler_can_build_shared=no
9966 lt_prog_compiler_pic='-pic'
9967 lt_prog_compiler_static='-Bstatic'
9971 lt_prog_compiler_can_build_shared=no
9977 # For platforms which do not support PIC, -DPIC is meaningless:
9979 lt_prog_compiler_pic=
9982 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9986 $as_echo "$lt_prog_compiler_pic" >&6; }
9994 # Check to make sure the PIC flag actually works.
9996 if test -n "$lt_prog_compiler_pic"; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9998 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9999 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10000 $as_echo_n "(cached
) " >&6
10002 lt_cv_prog_compiler_pic_works=no
10003 ac_outfile=conftest.$ac_objext
10004 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10005 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10006 # Insert the option either (1) after the last *FLAGS variable, or
10007 # (2) before a word containing "conftest.
", or (3) at the end.
10008 # Note that $ac_compile itself does not contain backslashes and begins
10009 # with a dollar sign (not a hyphen), so the echo should work correctly.
10010 # The option is referenced via a variable to avoid confusing sed.
10011 lt_compile=`echo "$ac_compile" | $SED \
10012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10014 -e 's:$: $lt_compiler_flag:'`
10015 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10016 (eval "$lt_compile" 2>conftest.err)
10018 cat conftest.err >&5
10019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10020 if (exit $ac_status) && test -s "$ac_outfile"; then
10021 # The compiler can only warn and ignore the option if not recognized
10022 # So say no if there are warnings other than the usual output.
10023 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10024 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10025 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10026 lt_cv_prog_compiler_pic_works=yes
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
10033 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10035 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10036 case $lt_prog_compiler_pic in
10038 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10041 lt_prog_compiler_pic=
10042 lt_prog_compiler_can_build_shared=no
10053 # Check to make sure the static flag actually works.
10055 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
10057 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
10058 if ${lt_cv_prog_compiler_static_works+:} false; then :
10059 $as_echo_n "(cached
) " >&6
10061 lt_cv_prog_compiler_static_works=no
10062 save_LDFLAGS="$LDFLAGS"
10063 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10064 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10065 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10066 # The linker can only warn and ignore the option if not recognized
10067 # So say no if there are warnings
10068 if test -s conftest.err; then
10069 # Append any errors to the config.log.
10070 cat conftest.err 1>&5
10071 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10072 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10073 if diff conftest.exp conftest.er2 >/dev/null; then
10074 lt_cv_prog_compiler_static_works=yes
10077 lt_cv_prog_compiler_static_works=yes
10081 LDFLAGS="$save_LDFLAGS"
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
10085 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10087 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10090 lt_prog_compiler_static=
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10100 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10101 if ${lt_cv_prog_compiler_c_o+:} false; then :
10102 $as_echo_n "(cached
) " >&6
10104 lt_cv_prog_compiler_c_o=no
10105 $RM -r conftest 2>/dev/null
10109 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10111 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10112 # Insert the option either (1) after the last *FLAGS variable, or
10113 # (2) before a word containing "conftest.
", or (3) at the end.
10114 # Note that $ac_compile itself does not contain backslashes and begins
10115 # with a dollar sign (not a hyphen), so the echo should work correctly.
10116 lt_compile=`echo "$ac_compile" | $SED \
10117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10119 -e 's:$: $lt_compiler_flag:'`
10120 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10121 (eval "$lt_compile" 2>out/conftest.err)
10123 cat out/conftest.err >&5
10124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10125 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10127 # The compiler can only warn and ignore the option if not recognized
10128 # So say no if there are warnings
10129 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10130 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10131 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10132 lt_cv_prog_compiler_c_o=yes
10137 # SGI C++ compiler will create directory out/ii_files/ for
10138 # template instantiation
10139 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10140 $RM out/* && rmdir out
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10147 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
10155 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
10156 if ${lt_cv_prog_compiler_c_o+:} false; then :
10157 $as_echo_n "(cached
) " >&6
10159 lt_cv_prog_compiler_c_o=no
10160 $RM -r conftest 2>/dev/null
10164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10166 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
10167 # Insert the option either (1) after the last *FLAGS variable, or
10168 # (2) before a word containing "conftest.
", or (3) at the end.
10169 # Note that $ac_compile itself does not contain backslashes and begins
10170 # with a dollar sign (not a hyphen), so the echo should work correctly.
10171 lt_compile=`echo "$ac_compile" | $SED \
10172 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10173 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10174 -e 's:$: $lt_compiler_flag:'`
10175 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
10176 (eval "$lt_compile" 2>out/conftest.err)
10178 cat out/conftest.err >&5
10179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10180 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10182 # The compiler can only warn and ignore the option if not recognized
10183 # So say no if there are warnings
10184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10185 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10186 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10187 lt_cv_prog_compiler_c_o=yes
10192 # SGI C++ compiler will create directory out/ii_files/ for
10193 # template instantiation
10194 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10195 $RM out/* && rmdir out
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
10202 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10207 hard_links="nottested
"
10208 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10209 # do not overwrite the value of need_locks provided by the user
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
10211 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
10214 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10216 ln conftest.a conftest.b 2>&5 || hard_links=no
10217 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
10219 $as_echo "$hard_links" >&6; }
10220 if test "$hard_links" = no; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
10222 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
10235 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
10238 allow_undefined_flag=
10239 always_export_symbols=no
10241 archive_expsym_cmds=
10242 compiler_needs_object=no
10243 enable_shared_with_static_runtimes=no
10244 export_dynamic_flag_spec=
10245 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10246 hardcode_automatic=no
10248 hardcode_direct_absolute=no
10249 hardcode_libdir_flag_spec=
10250 hardcode_libdir_flag_spec_ld=
10251 hardcode_libdir_separator=
10252 hardcode_minus_L=no
10253 hardcode_shlibpath_var=unsupported
10255 link_all_deplibs=unknown
10257 module_expsym_cmds=
10258 old_archive_from_new_cmds=
10259 old_archive_from_expsyms_cmds=
10260 thread_safe_flag_spec=
10261 whole_archive_flag_spec=
10262 # include_expsyms should be a list of space-separated symbols to be *always*
10263 # included in the symbol list
10265 # exclude_expsyms can be an extended regexp of symbols to exclude
10266 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10267 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10268 # as well as any symbol that contains `d'.
10269 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10270 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10271 # platforms (ab)use it in PIC code, but their linkers get confused if
10272 # the symbol is explicitly referenced. Since portable code cannot
10273 # rely on this symbol name, it's probably fine to never include it in
10274 # preloaded symbol tables.
10275 # Exclude shared library initialization/finalization symbols.
10276 extract_expsyms_cmds=
10279 cygwin* | mingw* | pw32* | cegcc*)
10280 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10281 # When not using gcc, we currently assume that we are using
10282 # Microsoft Visual C++.
10283 if test "$GCC" != yes; then
10288 # we just hope/assume this is gcc and not c89 (= MSVC++)
10298 # On some targets, GNU ld is compatible enough with the native linker
10299 # that we're better off using the native interface for both.
10300 lt_use_gnu_ld_interface=no
10301 if test "$with_gnu_ld" = yes; then
10304 # The AIX port of GNU ld has always aspired to compatibility
10305 # with the native linker. However, as the warning in the GNU ld
10306 # block says, versions before 2.19.5* couldn't really create working
10307 # shared libraries, regardless of the interface used.
10308 case `$LD -v 2>&1` in
10309 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10310 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10311 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10313 lt_use_gnu_ld_interface=yes
10318 lt_use_gnu_ld_interface=yes
10323 if test "$lt_use_gnu_ld_interface" = yes; then
10324 # If archive_cmds runs LD, not CC, wlarc should be empty
10327 # Set some defaults for GNU ld with shared library support. These
10328 # are reset later if shared libraries are not supported. Putting them
10329 # here allows them to be overridden if necessary.
10330 runpath_var=LD_RUN_PATH
10331 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10332 export_dynamic_flag_spec='${wl}--export-dynamic'
10333 # ancient GNU ld didn't support --whole-archive et. al.
10334 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10335 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10337 whole_archive_flag_spec=
10339 supports_anon_versioning=no
10340 case `$LD -v 2>&1` in
10341 *GNU\ gold*) supports_anon_versioning=yes ;;
10342 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10343 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10344 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10345 *\ 2.11.*) ;; # other 2.11 versions
10346 *) supports_anon_versioning=yes ;;
10349 # See if GNU ld supports shared libraries.
10352 # On AIX/PPC, the GNU linker is very broken
10353 if test "$host_cpu" != ia64; then
10357 *** Warning: the GNU linker, at least up to release 2.19, is reported
10358 *** to be unable to reliably create shared libraries on AIX.
10359 *** Therefore, libtool is disabling shared libraries support. If you
10360 *** really care for shared libraries, you may want to install binutils
10361 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10362 *** You will then need to restart the configuration process.
10371 # see comment about AmigaOS4 .so support
10372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10373 archive_expsym_cmds=''
10376 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)'
10377 hardcode_libdir_flag_spec
='-L$libdir'
10378 hardcode_minus_L
=yes
10384 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10385 allow_undefined_flag
=unsupported
10386 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10387 # support --undefined. This deserves some investigation. FIXME
10388 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10394 cygwin
* | mingw
* | pw32
* | cegcc
*)
10395 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10396 # as there is no search path for DLLs.
10397 hardcode_libdir_flag_spec
='-L$libdir'
10398 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10399 allow_undefined_flag
=unsupported
10400 always_export_symbols
=no
10401 enable_shared_with_static_runtimes
=yes
10402 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10404 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10406 # If the export-symbols file already is a .def file (1st line
10407 # is EXPORTS), use it as is; otherwise, prepend...
10408 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10409 cp $export_symbols $output_objdir/$soname.def;
10411 echo EXPORTS > $output_objdir/$soname.def;
10412 cat $export_symbols >> $output_objdir/$soname.def;
10414 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10421 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10422 link_all_deplibs
=yes
10427 hardcode_shlibpath_var
=no
10428 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10429 export_dynamic_flag_spec
='${wl}-E'
10430 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10431 # Instead, shared libraries are loaded at an image base (0x10000000 by
10432 # default) and relocated if they conflict, which is a slow very memory
10433 # consuming and fragmenting process. To avoid this, we pick a random,
10434 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10435 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10436 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10437 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'
10440 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10442 if test "$host_os" = linux-dietlibc
; then
10443 case $cc_basename in
10444 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10447 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10448 && test "$tmp_diet" = no
10450 tmp_addflag
=' $pic_flag'
10451 tmp_sharedflag
='-shared'
10452 case $cc_basename,$host_cpu in
10453 pgcc
*) # Portland Group C compiler
10454 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'
10455 tmp_addflag
=' $pic_flag'
10457 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10458 # Portland Group f77 and f90 compilers
10459 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'
10460 tmp_addflag
=' $pic_flag -Mnomain' ;;
10461 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10462 tmp_addflag
=' -i_dynamic' ;;
10463 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10464 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10465 ifc
* | ifort
*) # Intel Fortran compiler
10466 tmp_addflag
=' -nofor_main' ;;
10467 lf95
*) # Lahey Fortran 8.1
10468 whole_archive_flag_spec
=
10469 tmp_sharedflag
='--shared' ;;
10470 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10471 tmp_sharedflag
='-qmkshrobj'
10473 nvcc
*) # Cuda Compiler Driver 2.2
10474 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'
10475 compiler_needs_object
=yes
10478 case `$CC -V 2>&1 | sed 5q` in
10479 *Sun\ C
*) # Sun C 5.9
10480 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'
10481 compiler_needs_object
=yes
10482 tmp_sharedflag
='-G' ;;
10483 *Sun\ F
*) # Sun Fortran 8.3
10484 tmp_sharedflag
='-G' ;;
10486 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10488 if test "x$supports_anon_versioning" = xyes
; then
10489 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10490 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10491 echo "local: *; };" >> $output_objdir/$libname.ver~
10492 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10495 case $cc_basename in
10496 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10497 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10498 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10499 hardcode_libdir_flag_spec
=
10500 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10501 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10502 if test "x$supports_anon_versioning" = xyes
; then
10503 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10504 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10505 echo "local: *; };" >> $output_objdir/$libname.ver~
10506 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10516 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10517 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10520 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10521 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10526 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10530 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10531 *** create shared libraries on Solaris systems. Therefore, libtool
10532 *** is disabling shared libraries support. We urge you to upgrade GNU
10533 *** binutils to release 2.9.1 or newer. Another option is to modify
10534 *** your PATH or compiler configuration so that the native linker is
10535 *** used, and then restart.
10538 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10539 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10540 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10546 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10547 case `$LD -v 2>&1` in
10548 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10552 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10553 *** reliably create shared libraries on SCO systems. Therefore, libtool
10554 *** is disabling shared libraries support. We urge you to upgrade GNU
10555 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10556 *** your PATH or compiler configuration so that the native linker is
10557 *** used, and then restart.
10562 # For security reasons, it is highly recommended that you always
10563 # use absolute paths for naming shared libraries, and exclude the
10564 # DT_RUNPATH tag from executables and libraries. But doing so
10565 # requires that you compile everything twice, which is a pain.
10566 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10567 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10568 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10569 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10578 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10580 hardcode_direct
=yes
10581 hardcode_shlibpath_var
=no
10585 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10586 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10587 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10594 if test "$ld_shlibs" = no
; then
10596 hardcode_libdir_flag_spec
=
10597 export_dynamic_flag_spec
=
10598 whole_archive_flag_spec
=
10601 # PORTME fill in a description of your system's linker (not GNU ld)
10604 allow_undefined_flag
=unsupported
10605 always_export_symbols
=yes
10606 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'
10607 # Note: this linker hardcodes the directories in LIBPATH if there
10608 # are no directories specified by -L.
10609 hardcode_minus_L
=yes
10610 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10611 # Neither direct hardcoding nor static linking is supported with a
10613 hardcode_direct
=unsupported
10618 if test "$host_cpu" = ia64
; then
10619 # On IA64, the linker does run time linking by default, so we don't
10620 # have to do anything special.
10621 aix_use_runtimelinking
=no
10622 exp_sym_flag
='-Bexport'
10625 # If we're using GNU nm, then we don't want the "-C" option.
10626 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10627 # Also, AIX nm treats weak defined symbols like other global
10628 # defined symbols, whereas GNU nm marks them as "W".
10629 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10630 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'
10632 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10634 aix_use_runtimelinking
=no
10636 # Test if we are trying to use run time linking or normal
10637 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10638 # need to do runtime linking.
10639 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10640 for ld_flag
in $LDFLAGS; do
10641 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10642 aix_use_runtimelinking
=yes
10649 exp_sym_flag
='-bexport'
10650 no_entry_flag
='-bnoentry'
10653 # When large executables or shared objects are built, AIX ld can
10654 # have problems creating the table of contents. If linking a library
10655 # or program results in "error TOC overflow" add -mminimal-toc to
10656 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10657 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10660 hardcode_direct
=yes
10661 hardcode_direct_absolute
=yes
10662 hardcode_libdir_separator
=':'
10663 link_all_deplibs
=yes
10664 file_list_spec
='${wl}-f,'
10666 if test "$GCC" = yes; then
10667 case $host_os in aix4.
[012]|aix4.
[012].
*)
10668 # We only want to do this on AIX 4.2 and lower, the check
10669 # below for broken collect2 doesn't work under 4.3+
10670 collect2name
=`${CC} -print-prog-name=collect2`
10671 if test -f "$collect2name" &&
10672 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10674 # We have reworked collect2
10677 # We have old collect2
10678 hardcode_direct
=unsupported
10679 # It fails to find uninstalled libraries when the uninstalled
10680 # path is not listed in the libpath. Setting hardcode_minus_L
10681 # to unsupported forces relinking
10682 hardcode_minus_L
=yes
10683 hardcode_libdir_flag_spec
='-L$libdir'
10684 hardcode_libdir_separator
=
10688 shared_flag
='-shared'
10689 if test "$aix_use_runtimelinking" = yes; then
10690 shared_flag
="$shared_flag "'${wl}-G'
10694 if test "$host_cpu" = ia64
; then
10695 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10696 # chokes on -Wl,-G. The following line is correct:
10699 if test "$aix_use_runtimelinking" = yes; then
10700 shared_flag
='${wl}-G'
10702 shared_flag
='${wl}-bM:SRE'
10707 export_dynamic_flag_spec
='${wl}-bexpall'
10708 # It seems that -bexpall does not export symbols beginning with
10709 # underscore (_), so it is better to generate a list of symbols to export.
10710 always_export_symbols
=yes
10711 if test "$aix_use_runtimelinking" = yes; then
10712 # Warning - without using the other runtime loading flags (-brtl),
10713 # -berok will link without error, but may produce a broken library.
10714 allow_undefined_flag
='-berok'
10715 # Determine the default libpath from the value encoded in an
10716 # empty executable.
10717 if test x
$gcc_no_link = xyes
; then
10718 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10731 if ac_fn_c_try_link
"$LINENO"; then :
10733 lt_aix_libpath_sed
='
10734 /Import File Strings/,/^$/ {
10740 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10741 # Check for a 64-bit object if we didn't find anything.
10742 if test -z "$aix_libpath"; then
10743 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10746 rm -f core conftest.err conftest.
$ac_objext \
10747 conftest
$ac_exeext conftest.
$ac_ext
10748 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10750 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10751 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"
10753 if test "$host_cpu" = ia64
; then
10754 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10755 allow_undefined_flag
="-z nodefs"
10756 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"
10758 # Determine the default libpath from the value encoded in an
10759 # empty executable.
10760 if test x
$gcc_no_link = xyes
; then
10761 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10774 if ac_fn_c_try_link
"$LINENO"; then :
10776 lt_aix_libpath_sed
='
10777 /Import File Strings/,/^$/ {
10783 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10784 # Check for a 64-bit object if we didn't find anything.
10785 if test -z "$aix_libpath"; then
10786 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10789 rm -f core conftest.err conftest.
$ac_objext \
10790 conftest
$ac_exeext conftest.
$ac_ext
10791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10793 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10794 # Warning - without using the other run time loading flags,
10795 # -berok will link without error, but may produce a broken library.
10796 no_undefined_flag
=' ${wl}-bernotok'
10797 allow_undefined_flag
=' ${wl}-berok'
10798 if test "$with_gnu_ld" = yes; then
10799 # We only use this code for GNU lds that support --whole-archive.
10800 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10802 # Exported symbols can be pulled into shared objects from archives
10803 whole_archive_flag_spec
='$convenience'
10805 archive_cmds_need_lc
=yes
10806 # This is similar to how AIX traditionally builds its shared libraries.
10807 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'
10815 # see comment about AmigaOS4 .so support
10816 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10817 archive_expsym_cmds
=''
10820 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)'
10821 hardcode_libdir_flag_spec
='-L$libdir'
10822 hardcode_minus_L
=yes
10828 export_dynamic_flag_spec
=-rdynamic
10831 cygwin
* | mingw
* | pw32
* | cegcc
*)
10832 # When not using gcc, we currently assume that we are using
10833 # Microsoft Visual C++.
10834 # hardcode_libdir_flag_spec is actually meaningless, as there is
10835 # no search path for DLLs.
10836 hardcode_libdir_flag_spec
=' '
10837 allow_undefined_flag
=unsupported
10838 # Tell ltmain to make .lib files, not .a files.
10840 # Tell ltmain to make .dll files, not .so files.
10842 # FIXME: Setting linknames here is a bad hack.
10843 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10844 # The linker will automatically build a .lib file if we build a DLL.
10845 old_archive_from_new_cmds
='true'
10846 # FIXME: Should let the user specify the lib program.
10847 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10848 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10849 enable_shared_with_static_runtimes
=yes
10852 darwin
* | rhapsody
*)
10855 archive_cmds_need_lc
=no
10857 hardcode_automatic
=yes
10858 hardcode_shlibpath_var
=unsupported
10859 if test "$lt_cv_ld_force_load" = "yes"; then
10860 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\"`'
10862 whole_archive_flag_spec
=''
10864 link_all_deplibs
=yes
10865 allow_undefined_flag
="$_lt_dar_allow_undefined"
10866 case $cc_basename in
10867 ifort
*) _lt_dar_can_shared
=yes ;;
10868 *) _lt_dar_can_shared
=$GCC ;;
10870 if test "$_lt_dar_can_shared" = "yes"; then
10871 output_verbose_link_cmd
=func_echo_all
10872 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10873 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10874 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}"
10875 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}"
10884 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_libdir_flag_spec
='-L$libdir'
10886 hardcode_shlibpath_var
=no
10889 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10890 # support. Future versions do this automatically, but an explicit c++rt0.o
10891 # does not break anything, and helps significantly (at the cost of a little
10894 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10895 hardcode_libdir_flag_spec
='-R$libdir'
10896 hardcode_direct
=yes
10897 hardcode_shlibpath_var
=no
10900 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10902 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10903 hardcode_direct
=yes
10904 hardcode_minus_L
=yes
10905 hardcode_shlibpath_var
=no
10908 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10909 freebsd
* | dragonfly
*)
10910 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10911 hardcode_libdir_flag_spec
='-R$libdir'
10912 hardcode_direct
=yes
10913 hardcode_shlibpath_var
=no
10917 if test "$GCC" = yes; then
10918 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10920 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'
10922 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10923 hardcode_libdir_separator
=:
10924 hardcode_direct
=yes
10926 # hardcode_minus_L: Not really in the search PATH,
10927 # but as the default location of the library.
10928 hardcode_minus_L
=yes
10929 export_dynamic_flag_spec
='${wl}-E'
10933 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10934 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10936 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10938 if test "$with_gnu_ld" = no
; then
10939 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10940 hardcode_libdir_flag_spec_ld
='+b $libdir'
10941 hardcode_libdir_separator
=:
10942 hardcode_direct
=yes
10943 hardcode_direct_absolute
=yes
10944 export_dynamic_flag_spec
='${wl}-E'
10945 # hardcode_minus_L: Not really in the search PATH,
10946 # but as the default location of the library.
10947 hardcode_minus_L
=yes
10952 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10955 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10958 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10961 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10967 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10970 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10974 # Older versions of the 11.00 compiler do not understand -b yet
10975 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10977 $as_echo_n "checking if $CC understands -b... " >&6; }
10978 if ${lt_cv_prog_compiler__b+:} false
; then :
10979 $as_echo_n "(cached) " >&6
10981 lt_cv_prog_compiler__b
=no
10982 save_LDFLAGS
="$LDFLAGS"
10983 LDFLAGS
="$LDFLAGS -b"
10984 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10985 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10986 # The linker can only warn and ignore the option if not recognized
10987 # So say no if there are warnings
10988 if test -s conftest.err
; then
10989 # Append any errors to the config.log.
10990 cat conftest.err
1>&5
10991 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10992 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10993 if diff conftest.exp conftest.er2
>/dev
/null
; then
10994 lt_cv_prog_compiler__b
=yes
10997 lt_cv_prog_compiler__b
=yes
11001 LDFLAGS
="$save_LDFLAGS"
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11005 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11007 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11008 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11016 if test "$with_gnu_ld" = no
; then
11017 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11018 hardcode_libdir_separator
=:
11023 hardcode_shlibpath_var
=no
11026 hardcode_direct
=yes
11027 hardcode_direct_absolute
=yes
11028 export_dynamic_flag_spec
='${wl}-E'
11030 # hardcode_minus_L: Not really in the search PATH,
11031 # but as the default location of the library.
11032 hardcode_minus_L
=yes
11038 irix5
* | irix6
* | nonstopux
*)
11039 if test "$GCC" = yes; then
11040 archive_cmds
='$CC -shared $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'
11041 # Try to use the -exported_symbol ld option, if it does not
11042 # work, assume that -exports_file does not work either and
11043 # implicitly export all symbols.
11044 save_LDFLAGS
="$LDFLAGS"
11045 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11046 if test x
$gcc_no_link = xyes
; then
11047 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11053 if ac_fn_c_try_link
"$LINENO"; then :
11054 archive_expsym_cmds
='$CC -shared $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'
11057 rm -f core conftest.err conftest.
$ac_objext \
11058 conftest
$ac_exeext conftest.
$ac_ext
11059 LDFLAGS
="$save_LDFLAGS"
11061 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'
11062 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'
11064 archive_cmds_need_lc
='no'
11065 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11066 hardcode_libdir_separator
=:
11068 link_all_deplibs
=yes
11072 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11073 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11075 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11077 hardcode_libdir_flag_spec
='-R$libdir'
11078 hardcode_direct
=yes
11079 hardcode_shlibpath_var
=no
11083 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11084 hardcode_direct
=yes
11085 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11086 hardcode_libdir_separator
=:
11087 hardcode_shlibpath_var
=no
11094 if test -f /usr
/libexec
/ld.so
; then
11095 hardcode_direct
=yes
11096 hardcode_shlibpath_var
=no
11097 hardcode_direct_absolute
=yes
11098 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11099 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11100 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11101 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11102 export_dynamic_flag_spec
='${wl}-E'
11105 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11106 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11107 hardcode_libdir_flag_spec
='-R$libdir'
11110 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11111 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11121 hardcode_libdir_flag_spec
='-L$libdir'
11122 hardcode_minus_L
=yes
11123 allow_undefined_flag
=unsupported
11124 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'
11125 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11129 if test "$GCC" = yes; then
11130 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11131 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'
11133 allow_undefined_flag
=' -expect_unresolved \*'
11134 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'
11136 archive_cmds_need_lc
='no'
11137 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11138 hardcode_libdir_separator
=:
11141 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11142 if test "$GCC" = yes; then
11143 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11144 archive_cmds
='$CC -shared${allow_undefined_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'
11145 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11147 allow_undefined_flag
=' -expect_unresolved \*'
11148 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'
11149 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~
11150 $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'
11152 # Both c and cxx compiler support -rpath directly
11153 hardcode_libdir_flag_spec
='-rpath $libdir'
11155 archive_cmds_need_lc
='no'
11156 hardcode_libdir_separator
=:
11160 no_undefined_flag
=' -z defs'
11161 if test "$GCC" = yes; then
11163 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11164 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11165 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11167 case `$CC -V 2>&1` in
11170 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11171 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11172 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11176 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11177 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11178 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11182 hardcode_libdir_flag_spec
='-R$libdir'
11183 hardcode_shlibpath_var
=no
11185 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11187 # The compiler driver will combine and reorder linker options,
11188 # but understands `-z linker_flag'. GCC discards it without `$wl',
11189 # but is careful enough not to reorder.
11190 # Supported since Solaris 2.6 (maybe 2.5.1?)
11191 if test "$GCC" = yes; then
11192 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11194 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11198 link_all_deplibs
=yes
11202 if test "x$host_vendor" = xsequent
; then
11203 # Use $CC to link under sequent, because it throws in some extra .o
11204 # files that make .init and .fini sections work.
11205 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11207 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11209 hardcode_libdir_flag_spec
='-L$libdir'
11210 hardcode_direct
=yes
11211 hardcode_minus_L
=yes
11212 hardcode_shlibpath_var
=no
11216 case $host_vendor in
11218 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11219 hardcode_direct
=yes # is this really true???
11222 ## LD is ld it makes a PLAMLIB
11223 ## CC just makes a GrossModule.
11224 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11225 reload_cmds
='$CC -r -o $output$reload_objs'
11229 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11230 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11233 runpath_var
='LD_RUN_PATH'
11234 hardcode_shlibpath_var
=no
11238 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11239 hardcode_shlibpath_var
=no
11240 export_dynamic_flag_spec
='-Bexport'
11244 if test -d /usr
/nec
; then
11245 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246 hardcode_shlibpath_var
=no
11247 runpath_var
=LD_RUN_PATH
11248 hardcode_runpath_var
=yes
11253 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11254 no_undefined_flag
='${wl}-z,text'
11255 archive_cmds_need_lc
=no
11256 hardcode_shlibpath_var
=no
11257 runpath_var
='LD_RUN_PATH'
11259 if test "$GCC" = yes; then
11260 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11261 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11263 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11264 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11268 sysv5
* | sco3.2v5
* | sco5v6
*)
11269 # Note: We can NOT use -z defs as we might desire, because we do not
11270 # link with -lc, and that would cause any symbols used from libc to
11271 # always be unresolved, which means just about no library would
11272 # ever link correctly. If we're not using GNU ld we use -z text
11273 # though, which does catch some bad symbols but isn't as heavy-handed
11275 no_undefined_flag
='${wl}-z,text'
11276 allow_undefined_flag
='${wl}-z,nodefs'
11277 archive_cmds_need_lc
=no
11278 hardcode_shlibpath_var
=no
11279 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11280 hardcode_libdir_separator
=':'
11281 link_all_deplibs
=yes
11282 export_dynamic_flag_spec
='${wl}-Bexport'
11283 runpath_var
='LD_RUN_PATH'
11285 if test "$GCC" = yes; then
11286 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11287 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11289 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11290 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11295 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11296 hardcode_libdir_flag_spec
='-L$libdir'
11297 hardcode_shlibpath_var
=no
11305 if test x
$host_vendor = xsni
; then
11307 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11308 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11315 $as_echo "$ld_shlibs" >&6; }
11316 test "$ld_shlibs" = no
&& can_build_shared
=no
11318 with_gnu_ld
=$with_gnu_ld
11335 # Do we need to explicitly link libc?
11337 case "x$archive_cmds_need_lc" in
11339 # Assume -lc should be added
11340 archive_cmds_need_lc
=yes
11342 if test "$enable_shared" = yes && test "$GCC" = yes; then
11343 case $archive_cmds in
11345 # FIXME: we may have to deal with multi-command sequences.
11348 # Test whether the compiler implicitly links with -lc since on some
11349 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11350 # to ld, don't add -lc before -lgcc.
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11352 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11353 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11354 $as_echo_n "(cached) " >&6
11357 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11360 (eval $ac_compile) 2>&5
11362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11363 test $ac_status = 0; } 2>conftest.err
; then
11366 libobjs
=conftest.
$ac_objext
11368 wl
=$lt_prog_compiler_wl
11369 pic_flag
=$lt_prog_compiler_pic
11375 lt_save_allow_undefined_flag
=$allow_undefined_flag
11376 allow_undefined_flag
=
11377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11378 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11381 test $ac_status = 0; }
11383 lt_cv_archive_cmds_need_lc
=no
11385 lt_cv_archive_cmds_need_lc
=yes
11387 allow_undefined_flag
=$lt_save_allow_undefined_flag
11389 cat conftest.err
1>&5
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11395 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11396 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11560 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11562 if test "$GCC" = yes; then
11564 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11565 *) lt_awk_arg
="/^libraries:/" ;;
11568 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11569 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11571 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11572 case $lt_search_path_spec in
11574 # if the path contains ";" then we assume it to be the separator
11575 # otherwise default to the standard path separator (i.e. ":") - it is
11576 # assumed that no part of a normal pathname contains ";" but that should
11577 # okay in the real world where ";" in dirpaths is itself problematic.
11578 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11581 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11584 # Ok, now we have the path, separated by spaces, we can step through it
11585 # and add multilib dir if necessary.
11586 lt_tmp_lt_search_path_spec
=
11587 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11588 for lt_sys_path
in $lt_search_path_spec; do
11589 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11590 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11592 test -d "$lt_sys_path" && \
11593 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11596 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11597 BEGIN {RS=" "; FS="/|\n";} {
11600 for (lt_i = NF; lt_i > 0; lt_i--) {
11601 if ($lt_i != "" && $lt_i != ".") {
11602 if ($lt_i == "..") {
11605 if (lt_count == 0) {
11606 lt_foo="/" $lt_i lt_foo;
11613 if (lt_foo != "") { lt_freq[lt_foo]++; }
11614 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11616 # AWK program above erroneously prepends '/' to C:/dos/paths
11619 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11620 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11622 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11624 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11626 library_names_spec
=
11627 libname_spec
='lib$name'
11631 postuninstall_cmds
=
11635 shlibpath_overrides_runpath
=unknown
11637 dynamic_linker
="$host_os ld.so"
11638 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11639 need_lib_prefix
=unknown
11640 hardcode_into_libs
=no
11642 # when you set need_version to no, make sure it does not cause -set_version
11643 # flags to be left without arguments
11644 need_version
=unknown
11649 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11650 shlibpath_var
=LIBPATH
11652 # AIX 3 has no versioning support, so we append a major version to the name.
11653 soname_spec
='${libname}${release}${shared_ext}$major'
11660 hardcode_into_libs
=yes
11661 if test "$host_cpu" = ia64
; then
11662 # AIX 5 supports IA64
11663 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11664 shlibpath_var
=LD_LIBRARY_PATH
11666 # With GCC up to 2.95.x, collect2 would create an import file
11667 # for dependence libraries. The import file would start with
11668 # the line `#! .'. This would cause the generated library to
11669 # depend on `.', always an invalid library. This was fixed in
11670 # development snapshots of GCC prior to 3.0.
11672 aix4 | aix4.
[01] | aix4.
[01].
*)
11673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11675 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11678 can_build_shared
=no
11682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11683 # soname into executable. Probably we can add versioning support to
11684 # collect2, so additional links can be useful in future.
11685 if test "$aix_use_runtimelinking" = yes; then
11686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11687 # instead of lib<name>.a to let people know that these are not
11688 # typical AIX shared libraries.
11689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691 # We preserve .a as extension for shared libraries through AIX4.2
11692 # and later when we are not doing run time linking.
11693 library_names_spec
='${libname}${release}.a $libname.a'
11694 soname_spec
='${libname}${release}${shared_ext}$major'
11696 shlibpath_var
=LIBPATH
11703 # Since July 2007 AmigaOS4 officially supports .so libraries.
11704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11708 library_names_spec
='$libname.ixlibrary $libname.a'
11709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11710 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'
11716 library_names_spec
='${libname}${shared_ext}'
11717 dynamic_linker
="$host_os ld.so"
11718 shlibpath_var
=LIBRARY_PATH
11724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11725 soname_spec
='${libname}${release}${shared_ext}$major'
11726 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11727 shlibpath_var
=LD_LIBRARY_PATH
11728 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11729 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11730 # the default ld.so.conf also contains /usr/contrib/lib and
11731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11732 # libtool to hard-code these into programs
11735 cygwin
* | mingw
* | pw32
* | cegcc
*)
11736 version_type
=windows
11741 case $GCC,$host_os in
11742 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11743 library_names_spec
='$libname.dll.a'
11744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11745 postinstall_cmds
='base_file=`basename \${file}`~
11746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11747 dldir=$destdir/`dirname \$dlpath`~
11748 test -d \$dldir || mkdir -p \$dldir~
11749 $install_prog $dir/$dlname \$dldir/$dlname~
11750 chmod a+x \$dldir/$dlname~
11751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11754 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11755 dlpath=$dir/\$dldll~
11757 shlibpath_overrides_runpath
=yes
11761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11762 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11764 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11767 # MinGW DLLs use traditional 'lib' prefix
11768 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11771 # pw32 DLLs use 'pw' prefix rather than 'lib'
11772 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11778 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11781 dynamic_linker
='Win32 ld.exe'
11782 # FIXME: first we should search . and the directory the executable is in
11786 darwin
* | rhapsody
*)
11787 dynamic_linker
="$host_os dyld"
11788 version_type
=darwin
11791 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11792 soname_spec
='${libname}${release}${major}$shared_ext'
11793 shlibpath_overrides_runpath
=yes
11794 shlibpath_var
=DYLD_LIBRARY_PATH
11795 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11797 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11798 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11806 soname_spec
='${libname}${release}${shared_ext}$major'
11807 shlibpath_var
=LD_LIBRARY_PATH
11810 freebsd
* | dragonfly
*)
11811 # DragonFly does not have aout. When/if they implement a new
11812 # versioning mechanism, adjust this.
11813 if test -x /usr
/bin
/objformat
; then
11814 objformat
=`/usr/bin/objformat`
11817 freebsd
[23].
*) objformat
=aout
;;
11818 *) objformat
=elf
;;
11821 version_type
=freebsd-
$objformat
11822 case $version_type in
11824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11829 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11833 shlibpath_var
=LD_LIBRARY_PATH
11836 shlibpath_overrides_runpath
=yes
11838 freebsd3.
[01]* | freebsdelf3.
[01]*)
11839 shlibpath_overrides_runpath
=yes
11840 hardcode_into_libs
=yes
11842 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11843 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11844 shlibpath_overrides_runpath
=no
11845 hardcode_into_libs
=yes
11847 *) # from 4.6 on, and DragonFly
11848 shlibpath_overrides_runpath
=yes
11849 hardcode_into_libs
=yes
11858 dynamic_linker
="$host_os runtime_loader"
11859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11860 soname_spec
='${libname}${release}${shared_ext}$major'
11861 shlibpath_var
=LIBRARY_PATH
11862 shlibpath_overrides_runpath
=yes
11863 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11864 hardcode_into_libs
=yes
11867 hpux9
* | hpux10
* | hpux11
*)
11868 # Give a soname corresponding to the major version so that dld.sl refuses to
11869 # link against other versions.
11876 hardcode_into_libs
=yes
11877 dynamic_linker
="$host_os dld.so"
11878 shlibpath_var
=LD_LIBRARY_PATH
11879 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11881 soname_spec
='${libname}${release}${shared_ext}$major'
11882 if test "X$HPUX_IA64_MODE" = X32
; then
11883 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11885 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11887 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11891 hardcode_into_libs
=yes
11892 dynamic_linker
="$host_os dld.sl"
11893 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11894 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11896 soname_spec
='${libname}${release}${shared_ext}$major'
11897 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11898 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11902 dynamic_linker
="$host_os dld.sl"
11903 shlibpath_var
=SHLIB_PATH
11904 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11906 soname_spec
='${libname}${release}${shared_ext}$major'
11909 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11910 postinstall_cmds
='chmod 555 $lib'
11911 # or fails outright, so override atomically:
11912 install_override_mode
=555
11919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11920 soname_spec
='${libname}${release}${shared_ext}$major'
11921 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11922 shlibpath_var
=LD_LIBRARY_PATH
11923 shlibpath_overrides_runpath
=no
11924 hardcode_into_libs
=yes
11927 irix5
* | irix6
* | nonstopux
*)
11929 nonstopux
*) version_type
=nonstopux
;;
11931 if test "$lt_cv_prog_gnu_ld" = yes; then
11939 soname_spec
='${libname}${release}${shared_ext}$major'
11940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11942 irix5
* | nonstopux
*)
11943 libsuff
= shlibsuff
=
11946 case $LD in # libtool.m4 will add one of these switches to LD
11947 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11948 libsuff
= shlibsuff
= libmagic
=32-bit;;
11949 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11950 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11951 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11952 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11953 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11957 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11958 shlibpath_overrides_runpath
=no
11959 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11960 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11961 hardcode_into_libs
=yes
11964 # No shared lib support for Linux oldld, aout, or coff.
11965 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11969 # This must be Linux ELF.
11971 # uclinux* changes (here and below) have been submitted to the libtool
11972 # project, but have not yet been accepted: they are GCC-local changes
11973 # for the time being. (See
11974 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11975 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11980 soname_spec
='${libname}${release}${shared_ext}$major'
11981 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11982 shlibpath_var
=LD_LIBRARY_PATH
11983 shlibpath_overrides_runpath
=no
11985 # Some binutils ld are patched to set DT_RUNPATH
11986 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11987 $as_echo_n "(cached) " >&6
11989 lt_cv_shlibpath_overrides_runpath
=no
11990 save_LDFLAGS
=$LDFLAGS
11991 save_libdir
=$libdir
11992 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11993 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11994 if test x
$gcc_no_link = xyes
; then
11995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12008 if ac_fn_c_try_link
"$LINENO"; then :
12009 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12010 lt_cv_shlibpath_overrides_runpath
=yes
12013 rm -f core conftest.err conftest.
$ac_objext \
12014 conftest
$ac_exeext conftest.
$ac_ext
12015 LDFLAGS
=$save_LDFLAGS
12016 libdir
=$save_libdir
12020 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12022 # This implies no fast_install, which is unacceptable.
12023 # Some rework will be needed to allow for fast_install
12024 # before this can be enabled.
12025 hardcode_into_libs
=yes
12027 # Append ld.so.conf contents to the search path
12028 if test -f /etc
/ld.so.conf
; then
12029 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' ' '`
12030 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12033 # We used to test for /lib/ld.so.1 and disable shared libraries on
12034 # powerpc, because MkLinux only supported shared libraries with the
12035 # GNU dynamic linker. Since this was broken with cross compilers,
12036 # most powerpc-linux boxes support dynamic linking these days and
12037 # people can always --disable-shared, the test was removed, and we
12038 # assume the GNU/Linux dynamic linker is in use.
12039 dynamic_linker
='GNU/Linux ld.so'
12046 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12048 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12049 dynamic_linker
='NetBSD (a.out) ld.so'
12051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12052 soname_spec
='${libname}${release}${shared_ext}$major'
12053 dynamic_linker
='NetBSD ld.elf_so'
12055 shlibpath_var
=LD_LIBRARY_PATH
12056 shlibpath_overrides_runpath
=yes
12057 hardcode_into_libs
=yes
12062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12063 shlibpath_var
=LD_LIBRARY_PATH
12064 shlibpath_overrides_runpath
=yes
12071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12072 soname_spec
='${libname}${release}${shared_ext}$major'
12073 shlibpath_var
=LD_LIBRARY_PATH
12074 shlibpath_overrides_runpath
=no
12075 hardcode_into_libs
=yes
12076 dynamic_linker
='ldqnx.so'
12081 sys_lib_dlsearch_path_spec
="/usr/lib"
12083 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12085 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12086 *) need_version
=no
;;
12088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12089 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12090 shlibpath_var
=LD_LIBRARY_PATH
12091 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12093 openbsd2.
[89] | openbsd2.
[89].
*)
12094 shlibpath_overrides_runpath
=no
12097 shlibpath_overrides_runpath
=yes
12101 shlibpath_overrides_runpath
=yes
12106 libname_spec
='$name'
12109 library_names_spec
='$libname${shared_ext} $libname.a'
12110 dynamic_linker
='OS/2 ld.exe'
12111 shlibpath_var
=LIBPATH
12114 osf3
* | osf4
* | osf5
*)
12118 soname_spec
='${libname}${release}${shared_ext}$major'
12119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12120 shlibpath_var
=LD_LIBRARY_PATH
12121 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12122 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12134 soname_spec
='${libname}${release}${shared_ext}$major'
12135 shlibpath_var
=LD_LIBRARY_PATH
12136 shlibpath_overrides_runpath
=yes
12137 hardcode_into_libs
=yes
12138 # ldd complains unless libraries are executable
12139 postinstall_cmds
='chmod +x $lib'
12144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12145 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12146 shlibpath_var
=LD_LIBRARY_PATH
12147 shlibpath_overrides_runpath
=yes
12148 if test "$with_gnu_ld" = yes; then
12156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12157 soname_spec
='${libname}${release}${shared_ext}$major'
12158 shlibpath_var
=LD_LIBRARY_PATH
12159 case $host_vendor in
12161 shlibpath_overrides_runpath
=no
12163 runpath_var
=LD_RUN_PATH
12171 shlibpath_overrides_runpath
=no
12172 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12178 if test -d /usr
/nec
;then
12180 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12181 soname_spec
='$libname${shared_ext}.$major'
12182 shlibpath_var
=LD_LIBRARY_PATH
12186 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12187 version_type
=freebsd-elf
12190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12191 soname_spec
='${libname}${release}${shared_ext}$major'
12192 shlibpath_var
=LD_LIBRARY_PATH
12193 shlibpath_overrides_runpath
=yes
12194 hardcode_into_libs
=yes
12195 if test "$with_gnu_ld" = yes; then
12196 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12198 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12201 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12205 sys_lib_dlsearch_path_spec
='/usr/lib'
12209 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12214 shlibpath_var
=LD_LIBRARY_PATH
12215 shlibpath_overrides_runpath
=no
12216 hardcode_into_libs
=yes
12221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12222 soname_spec
='${libname}${release}${shared_ext}$major'
12223 shlibpath_var
=LD_LIBRARY_PATH
12226 # Shared libraries for VwWorks, >= 7 only at this stage
12227 # and (fpic) still incompatible with "large" code models
12228 # in a few configurations. Only for RTP mode in any case,
12229 # and upon explicit request at configure time.
12232 case ${with_multisubdir}-${enable_shared} in
12239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12240 soname_spec
='${libname}${release}${shared_ext}$major'
12241 dynamic_linker
="$host_os module_loader"
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12250 $as_echo "$dynamic_linker" >&6; }
12251 test "$dynamic_linker" = no
&& can_build_shared
=no
12253 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12254 if test "$GCC" = yes; then
12255 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12258 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12259 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12261 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12262 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12357 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12359 if test -n "$hardcode_libdir_flag_spec" ||
12360 test -n "$runpath_var" ||
12361 test "X$hardcode_automatic" = "Xyes" ; then
12363 # We can hardcode non-existent directories.
12364 if test "$hardcode_direct" != no
&&
12365 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12366 # have to relink, otherwise we might link with an installed library
12367 # when we should be linking with a yet-to-be-installed one
12368 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12369 test "$hardcode_minus_L" != no
; then
12370 # Linking always hardcodes the temporary library directory.
12371 hardcode_action
=relink
12373 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12374 hardcode_action
=immediate
12377 # We cannot hardcode anything, or else we can only hardcode existing
12379 hardcode_action
=unsupported
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12382 $as_echo "$hardcode_action" >&6; }
12384 if test "$hardcode_action" = relink ||
12385 test "$inherit_rpath" = yes; then
12386 # Fast installation is not supported
12387 enable_fast_install
=no
12388 elif test "$shlibpath_overrides_runpath" = yes ||
12389 test "$enable_shared" = no
; then
12390 # Fast installation is not necessary
12391 enable_fast_install
=needless
12399 if test "x$enable_dlopen" != xyes
; then
12400 enable_dlopen
=unknown
12401 enable_dlopen_self
=unknown
12402 enable_dlopen_self_static
=unknown
12409 lt_cv_dlopen
="load_add_on"
12411 lt_cv_dlopen_self
=yes
12414 mingw
* | pw32
* | cegcc
*)
12415 lt_cv_dlopen
="LoadLibrary"
12420 lt_cv_dlopen
="dlopen"
12425 # if libdl is installed we need to link against it
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12428 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12429 $as_echo_n "(cached) " >&6
12431 ac_check_lib_save_LIBS
=$LIBS
12433 if test x
$gcc_no_link = xyes
; then
12434 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12454 if ac_fn_c_try_link
"$LINENO"; then :
12455 ac_cv_lib_dl_dlopen
=yes
12457 ac_cv_lib_dl_dlopen
=no
12459 rm -f core conftest.err conftest.
$ac_objext \
12460 conftest
$ac_exeext conftest.
$ac_ext
12461 LIBS
=$ac_check_lib_save_LIBS
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12465 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12466 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12469 lt_cv_dlopen
="dyld"
12471 lt_cv_dlopen_self
=yes
12478 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12479 if test "x$ac_cv_func_shl_load" = xyes
; then :
12480 lt_cv_dlopen
="shl_load"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12483 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12484 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12485 $as_echo_n "(cached) " >&6
12487 ac_check_lib_save_LIBS
=$LIBS
12489 if test x
$gcc_no_link = xyes
; then
12490 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12505 return shl_load ();
12510 if ac_fn_c_try_link
"$LINENO"; then :
12511 ac_cv_lib_dld_shl_load
=yes
12513 ac_cv_lib_dld_shl_load
=no
12515 rm -f core conftest.err conftest.
$ac_objext \
12516 conftest
$ac_exeext conftest.
$ac_ext
12517 LIBS
=$ac_check_lib_save_LIBS
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12520 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12521 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12522 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12524 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12525 if test "x$ac_cv_func_dlopen" = xyes
; then :
12526 lt_cv_dlopen
="dlopen"
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12529 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12530 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12531 $as_echo_n "(cached) " >&6
12533 ac_check_lib_save_LIBS
=$LIBS
12535 if test x
$gcc_no_link = xyes
; then
12536 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12556 if ac_fn_c_try_link
"$LINENO"; then :
12557 ac_cv_lib_dl_dlopen
=yes
12559 ac_cv_lib_dl_dlopen
=no
12561 rm -f core conftest.err conftest.
$ac_objext \
12562 conftest
$ac_exeext conftest.
$ac_ext
12563 LIBS
=$ac_check_lib_save_LIBS
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12566 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12567 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12568 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12571 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12572 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12573 $as_echo_n "(cached) " >&6
12575 ac_check_lib_save_LIBS
=$LIBS
12576 LIBS
="-lsvld $LIBS"
12577 if test x
$gcc_no_link = xyes
; then
12578 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12598 if ac_fn_c_try_link
"$LINENO"; then :
12599 ac_cv_lib_svld_dlopen
=yes
12601 ac_cv_lib_svld_dlopen
=no
12603 rm -f core conftest.err conftest.
$ac_objext \
12604 conftest
$ac_exeext conftest.
$ac_ext
12605 LIBS
=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12608 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12609 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12610 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12613 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12614 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12615 $as_echo_n "(cached) " >&6
12617 ac_check_lib_save_LIBS
=$LIBS
12619 if test x
$gcc_no_link = xyes
; then
12620 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12635 return dld_link ();
12640 if ac_fn_c_try_link
"$LINENO"; then :
12641 ac_cv_lib_dld_dld_link
=yes
12643 ac_cv_lib_dld_dld_link
=no
12645 rm -f core conftest.err conftest.
$ac_objext \
12646 conftest
$ac_exeext conftest.
$ac_ext
12647 LIBS
=$ac_check_lib_save_LIBS
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12650 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12651 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12652 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12673 if test "x$lt_cv_dlopen" != xno
; then
12679 case $lt_cv_dlopen in
12681 save_CPPFLAGS
="$CPPFLAGS"
12682 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12684 save_LDFLAGS
="$LDFLAGS"
12685 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12688 LIBS
="$lt_cv_dlopen_libs $LIBS"
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12691 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12692 if ${lt_cv_dlopen_self+:} false
; then :
12693 $as_echo_n "(cached) " >&6
12695 if test "$cross_compiling" = yes; then :
12696 lt_cv_dlopen_self
=cross
12698 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12699 lt_status
=$lt_dlunknown
12700 cat > conftest.
$ac_ext <<_LT_EOF
12701 #line 12701 "configure"
12702 #include "confdefs.h"
12711 # define LT_DLGLOBAL RTLD_GLOBAL
12714 # define LT_DLGLOBAL DL_GLOBAL
12716 # define LT_DLGLOBAL 0
12720 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12721 find out it does not work in some platform. */
12722 #ifndef LT_DLLAZY_OR_NOW
12724 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12727 # define LT_DLLAZY_OR_NOW DL_LAZY
12730 # define LT_DLLAZY_OR_NOW RTLD_NOW
12733 # define LT_DLLAZY_OR_NOW DL_NOW
12735 # define LT_DLLAZY_OR_NOW 0
12742 /* When -fvisbility=hidden is used, assume the code has been annotated
12743 correspondingly for the symbols needed. */
12744 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12745 void fnord () __attribute__((visibility("default")));
12748 void fnord () { int i=42; }
12751 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12752 int status = $lt_dlunknown;
12756 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12759 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12760 else puts (dlerror ());
12762 /* dlclose (self); */
12770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12771 (eval $ac_link) 2>&5
12773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12774 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12775 (.
/conftest
; exit; ) >&5 2>/dev
/null
12777 case x
$lt_status in
12778 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12779 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12780 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12783 # compilation failed
12784 lt_cv_dlopen_self
=no
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12792 $as_echo "$lt_cv_dlopen_self" >&6; }
12794 if test "x$lt_cv_dlopen_self" = xyes
; then
12795 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12797 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12798 if ${lt_cv_dlopen_self_static+:} false
; then :
12799 $as_echo_n "(cached) " >&6
12801 if test "$cross_compiling" = yes; then :
12802 lt_cv_dlopen_self_static
=cross
12804 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12805 lt_status
=$lt_dlunknown
12806 cat > conftest.
$ac_ext <<_LT_EOF
12807 #line 12807 "configure"
12808 #include "confdefs.h"
12817 # define LT_DLGLOBAL RTLD_GLOBAL
12820 # define LT_DLGLOBAL DL_GLOBAL
12822 # define LT_DLGLOBAL 0
12826 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12827 find out it does not work in some platform. */
12828 #ifndef LT_DLLAZY_OR_NOW
12830 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12833 # define LT_DLLAZY_OR_NOW DL_LAZY
12836 # define LT_DLLAZY_OR_NOW RTLD_NOW
12839 # define LT_DLLAZY_OR_NOW DL_NOW
12841 # define LT_DLLAZY_OR_NOW 0
12848 /* When -fvisbility=hidden is used, assume the code has been annotated
12849 correspondingly for the symbols needed. */
12850 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12851 void fnord () __attribute__((visibility("default")));
12854 void fnord () { int i=42; }
12857 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12858 int status = $lt_dlunknown;
12862 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12865 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12866 else puts (dlerror ());
12868 /* dlclose (self); */
12876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12877 (eval $ac_link) 2>&5
12879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12880 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12881 (.
/conftest
; exit; ) >&5 2>/dev
/null
12883 case x
$lt_status in
12884 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12885 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12886 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12889 # compilation failed
12890 lt_cv_dlopen_self_static
=no
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12898 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12901 CPPFLAGS
="$save_CPPFLAGS"
12902 LDFLAGS
="$save_LDFLAGS"
12907 case $lt_cv_dlopen_self in
12908 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12909 *) enable_dlopen_self
=unknown
;;
12912 case $lt_cv_dlopen_self_static in
12913 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12914 *) enable_dlopen_self_static
=unknown
;;
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12937 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12938 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12939 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12940 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12942 $as_echo "yes" >&6; }
12944 # FIXME - insert some real tests, host_os isn't really good enough
12947 if test -n "$STRIP" ; then
12948 striplib
="$STRIP -x"
12949 old_striplib
="$STRIP -S"
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12951 $as_echo "yes" >&6; }
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12954 $as_echo "no" >&6; }
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12959 $as_echo "no" >&6; }
12975 # Report which library types will actually be built
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12977 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12979 $as_echo "$can_build_shared" >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12982 $as_echo_n "checking whether to build shared libraries... " >&6; }
12983 test "$can_build_shared" = "no" && enable_shared
=no
12985 # On AIX, shared libraries and static libraries use the same namespace, and
12986 # are all built from PIC.
12989 test "$enable_shared" = yes && enable_static
=no
12990 if test -n "$RANLIB"; then
12991 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12992 postinstall_cmds
='$RANLIB $lib'
12997 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12998 test "$enable_shared" = yes && enable_static
=no
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13003 $as_echo "$enable_shared" >&6; }
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13006 $as_echo_n "checking whether to build static libraries... " >&6; }
13007 # Make sure either enable_shared or enable_static is yes.
13008 test "$enable_shared" = yes || enable_static
=yes
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13010 $as_echo "$enable_static" >&6; }
13017 ac_cpp
='$CPP $CPPFLAGS'
13018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13024 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13025 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13026 (test "X$CXX" != "Xg++"))) ; then
13028 ac_cpp
='$CXXCPP $CPPFLAGS'
13029 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13030 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13031 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13033 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13034 if test -z "$CXXCPP"; then
13035 if ${ac_cv_prog_CXXCPP+:} false
; then :
13036 $as_echo_n "(cached) " >&6
13038 # Double quotes because CXXCPP needs to be expanded
13039 for CXXCPP
in "$CXX -E" "/lib/cpp"
13041 ac_preproc_ok
=false
13042 for ac_cxx_preproc_warn_flag
in '' yes
13044 # Use a header file that comes with gcc, so configuring glibc
13045 # with a fresh cross-compiler works.
13046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13047 # <limits.h> exists even on freestanding compilers.
13048 # On the NeXT, cc -E runs the code through the compiler's parser,
13049 # not just through cpp. "Syntax error" is here to catch this case.
13050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 # include <limits.h>
13055 # include <assert.h>
13059 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13062 # Broken: fails on valid input.
13065 rm -f conftest.err conftest.i conftest.
$ac_ext
13067 # OK, works on sane cases. Now check whether nonexistent headers
13068 # can be detected and how.
13069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13071 #include <ac_nonexistent.h>
13073 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13074 # Broken: success on invalid input.
13077 # Passes both tests.
13081 rm -f conftest.err conftest.i conftest.
$ac_ext
13084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13085 rm -f conftest.i conftest.err conftest.
$ac_ext
13086 if $ac_preproc_ok; then :
13091 ac_cv_prog_CXXCPP
=$CXXCPP
13094 CXXCPP
=$ac_cv_prog_CXXCPP
13096 ac_cv_prog_CXXCPP
=$CXXCPP
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13099 $as_echo "$CXXCPP" >&6; }
13100 ac_preproc_ok
=false
13101 for ac_cxx_preproc_warn_flag
in '' yes
13103 # Use a header file that comes with gcc, so configuring glibc
13104 # with a fresh cross-compiler works.
13105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13106 # <limits.h> exists even on freestanding compilers.
13107 # On the NeXT, cc -E runs the code through the compiler's parser,
13108 # not just through cpp. "Syntax error" is here to catch this case.
13109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 # include <limits.h>
13114 # include <assert.h>
13118 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13121 # Broken: fails on valid input.
13124 rm -f conftest.err conftest.i conftest.
$ac_ext
13126 # OK, works on sane cases. Now check whether nonexistent headers
13127 # can be detected and how.
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13130 #include <ac_nonexistent.h>
13132 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13133 # Broken: success on invalid input.
13136 # Passes both tests.
13140 rm -f conftest.err conftest.i conftest.
$ac_ext
13143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13144 rm -f conftest.i conftest.err conftest.
$ac_ext
13145 if $ac_preproc_ok; then :
13148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13150 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13151 See \`config.log' for more details" "$LINENO" 5; }
13155 ac_cpp
='$CPP $CPPFLAGS'
13156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13161 _lt_caught_CXX_error
=yes
13165 ac_cpp
='$CXXCPP $CPPFLAGS'
13166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13170 archive_cmds_need_lc_CXX
=no
13171 allow_undefined_flag_CXX
=
13172 always_export_symbols_CXX
=no
13173 archive_expsym_cmds_CXX
=
13174 compiler_needs_object_CXX
=no
13175 export_dynamic_flag_spec_CXX
=
13176 hardcode_direct_CXX
=no
13177 hardcode_direct_absolute_CXX
=no
13178 hardcode_libdir_flag_spec_CXX
=
13179 hardcode_libdir_flag_spec_ld_CXX
=
13180 hardcode_libdir_separator_CXX
=
13181 hardcode_minus_L_CXX
=no
13182 hardcode_shlibpath_var_CXX
=unsupported
13183 hardcode_automatic_CXX
=no
13184 inherit_rpath_CXX
=no
13186 module_expsym_cmds_CXX
=
13187 link_all_deplibs_CXX
=unknown
13188 old_archive_cmds_CXX
=$old_archive_cmds
13189 reload_flag_CXX
=$reload_flag
13190 reload_cmds_CXX
=$reload_cmds
13191 no_undefined_flag_CXX
=
13192 whole_archive_flag_spec_CXX
=
13193 enable_shared_with_static_runtimes_CXX
=no
13195 # Source file extension for C++ test sources.
13198 # Object file extension for compiled C++ test sources.
13202 # No sense in running all these tests if we already determined that
13203 # the CXX compiler isn't working. Some variables (like enable_shared)
13204 # are currently assumed to apply to all compilers on this platform,
13205 # and will be corrupted by setting them based on a non-working compiler.
13206 if test "$_lt_caught_CXX_error" != yes; then
13207 # Code to be used in simple compile tests
13208 lt_simple_compile_test_code
="int some_variable = 0;"
13210 # Code to be used in simple link tests
13211 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13213 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13220 # If no C compiler was specified, use CC.
13223 # If no C compiler flags were specified, use CFLAGS.
13224 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13226 # Allow CC to be a program name with arguments.
13230 # save warnings/boilerplate of simple test code
13231 ac_outfile
=conftest.
$ac_objext
13232 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13233 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13234 _lt_compiler_boilerplate
=`cat conftest.err`
13237 ac_outfile
=conftest.
$ac_objext
13238 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13239 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13240 _lt_linker_boilerplate
=`cat conftest.err`
13244 # Allow CC to be a program name with arguments.
13249 lt_save_with_gnu_ld
=$with_gnu_ld
13250 lt_save_path_LD
=$lt_cv_path_LD
13251 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13252 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13254 $as_unset lt_cv_prog_gnu_ld
13256 if test -n "${lt_cv_path_LDCXX+set}"; then
13257 lt_cv_path_LD
=$lt_cv_path_LDCXX
13259 $as_unset lt_cv_path_LD
13261 test -z "${LDCXX+set}" || LD
=$LDCXX
13265 for cc_temp
in $compiler""; do
13267 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13268 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13273 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13276 if test -n "$compiler"; then
13277 # We don't want -fno-exception when compiling C++ code, so set the
13278 # no_builtin_flag separately
13279 if test "$GXX" = yes; then
13280 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13282 lt_prog_compiler_no_builtin_flag_CXX
=
13285 if test "$GXX" = yes; then
13286 # Set up default GNU C++ configuration
13290 # Check whether --with-gnu-ld was given.
13291 if test "${with_gnu_ld+set}" = set; then :
13292 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13298 if test "$GCC" = yes; then
13299 # Check if gcc -print-prog-name=ld gives a path.
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13301 $as_echo_n "checking for ld used by $CC... " >&6; }
13304 # gcc leaves a trailing carriage return which upsets mingw
13305 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13307 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13310 # Accept absolute paths.
13312 re_direlt
='/[^/][^/]*/\.\./'
13313 # Canonicalize the pathname of ld
13314 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13315 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13316 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13318 test -z "$LD" && LD
="$ac_prog"
13321 # If it fails, then pretend we aren't using GCC.
13325 # If it is relative, then search for the first ld in PATH.
13326 with_gnu_ld
=unknown
13329 elif test "$with_gnu_ld" = yes; then
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13331 $as_echo_n "checking for GNU ld... " >&6; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13334 $as_echo_n "checking for non-GNU ld... " >&6; }
13336 if ${lt_cv_path_LD+:} false
; then :
13337 $as_echo_n "(cached) " >&6
13339 if test -z "$LD"; then
13340 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13341 for ac_dir
in $PATH; do
13343 test -z "$ac_dir" && ac_dir
=.
13344 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13345 lt_cv_path_LD
="$ac_dir/$ac_prog"
13346 # Check to see if the program is GNU ld. I'd rather use --version,
13347 # but apparently some variants of GNU ld only accept -v.
13348 # Break only if it was the GNU/non-GNU ld that we prefer.
13349 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13350 *GNU
* |
*'with BFD'*)
13351 test "$with_gnu_ld" != no
&& break
13354 test "$with_gnu_ld" != yes && break
13361 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13365 LD
="$lt_cv_path_LD"
13366 if test -n "$LD"; then
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13368 $as_echo "$LD" >&6; }
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13371 $as_echo "no" >&6; }
13373 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13375 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13376 if ${lt_cv_prog_gnu_ld+:} false
; then :
13377 $as_echo_n "(cached) " >&6
13379 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13380 case `$LD -v 2>&1 </dev/null` in
13381 *GNU
* |
*'with BFD'*)
13382 lt_cv_prog_gnu_ld
=yes
13385 lt_cv_prog_gnu_ld
=no
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13390 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13391 with_gnu_ld
=$lt_cv_prog_gnu_ld
13399 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13400 # archiving commands below assume that GNU ld is being used.
13401 if test "$with_gnu_ld" = yes; then
13402 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13403 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'
13405 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13406 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13408 # If archive_cmds runs LD, not CC, wlarc should be empty
13409 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13410 # investigate it a little bit more. (MM)
13413 # ancient GNU ld didn't support --whole-archive et. al.
13414 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13415 $GREP 'no-whole-archive' > /dev
/null
; then
13416 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13418 whole_archive_flag_spec_CXX
=
13424 # A generic and very simple default shared library creation
13425 # command for GNU C++ for the case where it uses the native
13426 # linker, instead of GNU ld. If possible, this setting should
13427 # overridden to take advantage of the native linker features on
13428 # the platform it is being used on.
13429 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13432 # Commands to make compiler produce verbose output that lists
13433 # what "hidden" libraries, object files and flags are used when
13434 # linking a shared library.
13435 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13443 # PORTME: fill in a description of your system's C++ link characteristics
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13445 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13449 # FIXME: insert proper C++ library support
13453 if test "$host_cpu" = ia64
; then
13454 # On IA64, the linker does run time linking by default, so we don't
13455 # have to do anything special.
13456 aix_use_runtimelinking
=no
13457 exp_sym_flag
='-Bexport'
13460 aix_use_runtimelinking
=no
13462 # Test if we are trying to use run time linking or normal
13463 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13464 # need to do runtime linking.
13465 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13466 for ld_flag
in $LDFLAGS; do
13469 aix_use_runtimelinking
=yes
13477 exp_sym_flag
='-bexport'
13478 no_entry_flag
='-bnoentry'
13481 # When large executables or shared objects are built, AIX ld can
13482 # have problems creating the table of contents. If linking a library
13483 # or program results in "error TOC overflow" add -mminimal-toc to
13484 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13485 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13487 archive_cmds_CXX
=''
13488 hardcode_direct_CXX
=yes
13489 hardcode_direct_absolute_CXX
=yes
13490 hardcode_libdir_separator_CXX
=':'
13491 link_all_deplibs_CXX
=yes
13492 file_list_spec_CXX
='${wl}-f,'
13494 if test "$GXX" = yes; then
13495 case $host_os in aix4.
[012]|aix4.
[012].
*)
13496 # We only want to do this on AIX 4.2 and lower, the check
13497 # below for broken collect2 doesn't work under 4.3+
13498 collect2name
=`${CC} -print-prog-name=collect2`
13499 if test -f "$collect2name" &&
13500 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13502 # We have reworked collect2
13505 # We have old collect2
13506 hardcode_direct_CXX
=unsupported
13507 # It fails to find uninstalled libraries when the uninstalled
13508 # path is not listed in the libpath. Setting hardcode_minus_L
13509 # to unsupported forces relinking
13510 hardcode_minus_L_CXX
=yes
13511 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13512 hardcode_libdir_separator_CXX
=
13515 shared_flag
='-shared'
13516 if test "$aix_use_runtimelinking" = yes; then
13517 shared_flag
="$shared_flag "'${wl}-G'
13521 if test "$host_cpu" = ia64
; then
13522 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13523 # chokes on -Wl,-G. The following line is correct:
13526 if test "$aix_use_runtimelinking" = yes; then
13527 shared_flag
='${wl}-G'
13529 shared_flag
='${wl}-bM:SRE'
13534 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13535 # It seems that -bexpall does not export symbols beginning with
13536 # underscore (_), so it is better to generate a list of symbols to
13538 always_export_symbols_CXX
=yes
13539 if test "$aix_use_runtimelinking" = yes; then
13540 # Warning - without using the other runtime loading flags (-brtl),
13541 # -berok will link without error, but may produce a broken library.
13542 allow_undefined_flag_CXX
='-berok'
13543 # Determine the default libpath from the value encoded in an empty
13545 if test x
$gcc_no_link = xyes
; then
13546 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13559 if ac_fn_cxx_try_link
"$LINENO"; then :
13561 lt_aix_libpath_sed
='
13562 /Import File Strings/,/^$/ {
13568 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13569 # Check for a 64-bit object if we didn't find anything.
13570 if test -z "$aix_libpath"; then
13571 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13574 rm -f core conftest.err conftest.
$ac_objext \
13575 conftest
$ac_exeext conftest.
$ac_ext
13576 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13578 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13580 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"
13582 if test "$host_cpu" = ia64
; then
13583 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13584 allow_undefined_flag_CXX
="-z nodefs"
13585 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"
13587 # Determine the default libpath from the value encoded in an
13588 # empty executable.
13589 if test x
$gcc_no_link = xyes
; then
13590 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13603 if ac_fn_cxx_try_link
"$LINENO"; then :
13605 lt_aix_libpath_sed
='
13606 /Import File Strings/,/^$/ {
13612 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13613 # Check for a 64-bit object if we didn't find anything.
13614 if test -z "$aix_libpath"; then
13615 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13618 rm -f core conftest.err conftest.
$ac_objext \
13619 conftest
$ac_exeext conftest.
$ac_ext
13620 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13622 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13623 # Warning - without using the other run time loading flags,
13624 # -berok will link without error, but may produce a broken library.
13625 no_undefined_flag_CXX
=' ${wl}-bernotok'
13626 allow_undefined_flag_CXX
=' ${wl}-berok'
13627 if test "$with_gnu_ld" = yes; then
13628 # We only use this code for GNU lds that support --whole-archive.
13629 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13631 # Exported symbols can be pulled into shared objects from archives
13632 whole_archive_flag_spec_CXX
='$convenience'
13634 archive_cmds_need_lc_CXX
=yes
13635 # This is similar to how AIX traditionally builds its shared
13637 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'
13643 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13644 allow_undefined_flag_CXX
=unsupported
13645 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13646 # support --undefined. This deserves some investigation. FIXME
13647 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13654 case $cc_basename in
13656 # FIXME: insert proper C++ library support
13662 cygwin
* | mingw
* | pw32
* | cegcc
*)
13663 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13664 # as there is no search path for DLLs.
13665 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13666 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13667 allow_undefined_flag_CXX
=unsupported
13668 always_export_symbols_CXX
=no
13669 enable_shared_with_static_runtimes_CXX
=yes
13671 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13672 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'
13673 # If the export-symbols file already is a .def file (1st line
13674 # is EXPORTS), use it as is; otherwise, prepend...
13675 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13676 cp $export_symbols $output_objdir/$soname.def;
13678 echo EXPORTS > $output_objdir/$soname.def;
13679 cat $export_symbols >> $output_objdir/$soname.def;
13681 $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'
13686 darwin
* | rhapsody
*)
13689 archive_cmds_need_lc_CXX
=no
13690 hardcode_direct_CXX
=no
13691 hardcode_automatic_CXX
=yes
13692 hardcode_shlibpath_var_CXX
=unsupported
13693 if test "$lt_cv_ld_force_load" = "yes"; then
13694 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\"`'
13696 whole_archive_flag_spec_CXX
=''
13698 link_all_deplibs_CXX
=yes
13699 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13700 case $cc_basename in
13701 ifort
*) _lt_dar_can_shared
=yes ;;
13702 *) _lt_dar_can_shared
=$GCC ;;
13704 if test "$_lt_dar_can_shared" = "yes"; then
13705 output_verbose_link_cmd
=func_echo_all
13706 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}"
13707 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13708 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}"
13709 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}"
13710 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13711 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}"
13712 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}"
13722 case $cc_basename in
13724 # FIXME: insert proper C++ library support
13728 # Green Hills C++ Compiler
13729 # FIXME: insert proper C++ library support
13733 # FIXME: insert proper C++ library support
13740 # C++ shared libraries reported to be fairly broken before
13746 archive_cmds_need_lc_CXX
=no
13749 freebsd
* | dragonfly
*)
13750 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13759 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13760 link_all_deplibs_CXX
=yes
13764 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13765 hardcode_libdir_separator_CXX
=:
13766 export_dynamic_flag_spec_CXX
='${wl}-E'
13767 hardcode_direct_CXX
=yes
13768 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13769 # but as the default
13770 # location of the library.
13772 case $cc_basename in
13774 # FIXME: insert proper C++ library support
13778 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'
13779 # Commands to make compiler produce verbose output that lists
13780 # what "hidden" libraries, object files and flags are used when
13781 # linking a shared library.
13783 # There doesn't appear to be a way to prevent this compiler from
13784 # explicitly linking system object files so we need to strip them
13785 # from the output so that they don't get included in the library
13787 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"'
13790 if test "$GXX" = yes; then
13791 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
13793 # FIXME: insert proper C++ library support
13801 if test $with_gnu_ld = no
; then
13802 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13803 hardcode_libdir_separator_CXX
=:
13809 export_dynamic_flag_spec_CXX
='${wl}-E'
13815 hardcode_direct_CXX
=no
13816 hardcode_shlibpath_var_CXX
=no
13819 hardcode_direct_CXX
=yes
13820 hardcode_direct_absolute_CXX
=yes
13821 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13822 # but as the default
13823 # location of the library.
13827 case $cc_basename in
13829 # FIXME: insert proper C++ library support
13835 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13838 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13841 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13844 # Commands to make compiler produce verbose output that lists
13845 # what "hidden" libraries, object files and flags are used when
13846 # linking a shared library.
13848 # There doesn't appear to be a way to prevent this compiler from
13849 # explicitly linking system object files so we need to strip them
13850 # from the output so that they don't get included in the library
13852 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"'
13855 if test "$GXX" = yes; then
13856 if test $with_gnu_ld = no
; then
13859 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13862 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13865 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13870 # FIXME: insert proper C++ library support
13878 hardcode_direct_CXX
=no
13879 hardcode_shlibpath_var_CXX
=no
13880 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13881 export_dynamic_flag_spec_CXX
='${wl}-E'
13882 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13883 # Instead, shared libraries are loaded at an image base (0x10000000 by
13884 # default) and relocated if they conflict, which is a slow very memory
13885 # consuming and fragmenting process. To avoid this, we pick a random,
13886 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13887 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13888 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'
13889 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'
13892 case $cc_basename in
13895 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'
13897 # Archives containing C++ object files must be created using
13898 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13899 # necessary to make sure instantiated templates are included
13901 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13904 if test "$GXX" = yes; then
13905 if test "$with_gnu_ld" = no
; then
13906 archive_cmds_CXX
='$CC -shared -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'
13908 archive_cmds_CXX
='$CC -shared -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'
13911 link_all_deplibs_CXX
=yes
13914 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13915 hardcode_libdir_separator_CXX
=:
13916 inherit_rpath_CXX
=yes
13919 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13920 case $cc_basename in
13922 # Kuck and Associates, Inc. (KAI) C++ Compiler
13924 # KCC will only create a shared library if the output file
13925 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13926 # to its proper name (with version) after linking.
13927 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'
13928 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'
13929 # Commands to make compiler produce verbose output that lists
13930 # what "hidden" libraries, object files and flags are used when
13931 # linking a shared library.
13933 # There doesn't appear to be a way to prevent this compiler from
13934 # explicitly linking system object files so we need to strip them
13935 # from the output so that they don't get included in the library
13937 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"'
13939 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13940 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13942 # Archives containing C++ object files must be created using
13943 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13944 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13949 # version 8.0 and above of icpc choke on multiply defined symbols
13950 # if we add $predep_objects and $postdep_objects, however 7.1 and
13951 # earlier do not add the objects themselves.
13952 case `$CC -V 2>&1` in
13954 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13955 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'
13957 *) # Version 8.0 or newer
13960 ia64
*) tmp_idyn
=' -i_dynamic';;
13962 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13963 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'
13966 archive_cmds_need_lc_CXX
=no
13967 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13968 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13969 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13972 # Portland Group C++ compiler
13974 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13975 prelink_cmds_CXX
='tpldir=Template.dir~
13977 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13978 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13979 old_archive_cmds_CXX
='tpldir=Template.dir~
13981 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13982 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13984 archive_cmds_CXX
='tpldir=Template.dir~
13986 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13987 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13988 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13990 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13991 $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'
13993 *) # Version 6 and above use weak symbols
13994 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13995 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'
13999 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14000 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14001 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'
14005 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14006 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'
14008 runpath_var
=LD_RUN_PATH
14009 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14010 hardcode_libdir_separator_CXX
=:
14012 # Commands to make compiler produce verbose output that lists
14013 # what "hidden" libraries, object files and flags are used when
14014 # linking a shared library.
14016 # There doesn't appear to be a way to prevent this compiler from
14017 # explicitly linking system object files so we need to strip them
14018 # from the output so that they don't get included in the library
14020 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'
14022 xl
* | mpixl
* | bgxl
*)
14023 # IBM XL 8.0 on PPC, with GNU ld
14024 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14025 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14026 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14027 if test "x$supports_anon_versioning" = xyes
; then
14028 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14029 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14030 echo "local: *; };" >> $output_objdir/$libname.ver~
14031 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14035 case `$CC -V 2>&1 | sed 5q` in
14038 no_undefined_flag_CXX
=' -zdefs'
14039 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14040 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'
14041 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14042 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'
14043 compiler_needs_object_CXX
=yes
14045 # Not sure whether something based on
14046 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14048 output_verbose_link_cmd
='func_echo_all'
14050 # Archives containing C++ object files must be created using
14051 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14052 # necessary to make sure instantiated templates are included
14054 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14062 # FIXME: insert proper C++ library support
14067 # FIXME: insert proper C++ library support
14072 case $cc_basename in
14074 # FIXME: insert proper C++ library support
14078 # FIXME: insert proper C++ library support
14085 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14086 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14088 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14089 hardcode_direct_CXX
=yes
14090 hardcode_shlibpath_var_CXX
=no
14092 # Workaround some broken pre-1.5 toolchains
14093 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14101 # C++ shared libraries are fairly broken
14106 if test -f /usr
/libexec
/ld.so
; then
14107 hardcode_direct_CXX
=yes
14108 hardcode_shlibpath_var_CXX
=no
14109 hardcode_direct_absolute_CXX
=yes
14110 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14111 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14112 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14113 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14114 export_dynamic_flag_spec_CXX
='${wl}-E'
14115 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14117 output_verbose_link_cmd
=func_echo_all
14123 osf3
* | osf4
* | osf5
*)
14124 case $cc_basename in
14126 # Kuck and Associates, Inc. (KAI) C++ Compiler
14128 # KCC will only create a shared library if the output file
14129 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14130 # to its proper name (with version) after linking.
14131 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'
14133 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14134 hardcode_libdir_separator_CXX
=:
14136 # Archives containing C++ object files must be created using
14137 # the KAI C++ compiler.
14139 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14140 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14144 # Rational C++ 2.4.1
14145 # FIXME: insert proper C++ library support
14151 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14152 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'
14153 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14156 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14157 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'
14158 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14159 echo "-hidden">> $lib.exp~
14160 $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~
14162 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14166 hardcode_libdir_separator_CXX
=:
14168 # Commands to make compiler produce verbose output that lists
14169 # what "hidden" libraries, object files and flags are used when
14170 # linking a shared library.
14172 # There doesn't appear to be a way to prevent this compiler from
14173 # explicitly linking system object files so we need to strip them
14174 # from the output so that they don't get included in the library
14176 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"'
14179 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14180 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14183 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'
14186 archive_cmds_CXX
='$CC -shared -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'
14190 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14191 hardcode_libdir_separator_CXX
=:
14193 # Commands to make compiler produce verbose output that lists
14194 # what "hidden" libraries, object files and flags are used when
14195 # linking a shared library.
14196 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14199 # FIXME: insert proper C++ library support
14207 # FIXME: insert proper C++ library support
14212 case $cc_basename in
14215 # FIXME: insert proper C++ library support
14220 # FIXME: insert proper C++ library support
14224 # FIXME: insert proper C++ library support
14231 case $cc_basename in
14233 # Sun C++ 4.2, 5.x and Centerline C++
14234 archive_cmds_need_lc_CXX
=yes
14235 no_undefined_flag_CXX
=' -zdefs'
14236 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14237 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14238 $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'
14240 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14241 hardcode_shlibpath_var_CXX
=no
14243 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14245 # The compiler driver will combine and reorder linker options,
14246 # but understands `-z linker_flag'.
14247 # Supported since Solaris 2.6 (maybe 2.5.1?)
14248 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14251 link_all_deplibs_CXX
=yes
14253 output_verbose_link_cmd
='func_echo_all'
14255 # Archives containing C++ object files must be created using
14256 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14257 # necessary to make sure instantiated templates are included
14259 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14262 # Green Hills C++ Compiler
14263 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14265 # The C++ compiler must be used to create the archive.
14266 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14269 # GNU C++ compiler with Solaris linker
14270 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14271 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14272 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14273 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14274 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14275 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14277 # Commands to make compiler produce verbose output that lists
14278 # what "hidden" libraries, object files and flags are used when
14279 # linking a shared library.
14280 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14282 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14284 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14285 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14286 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14288 # Commands to make compiler produce verbose output that lists
14289 # what "hidden" libraries, object files and flags are used when
14290 # linking a shared library.
14291 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14294 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14296 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14298 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14306 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14307 no_undefined_flag_CXX
='${wl}-z,text'
14308 archive_cmds_need_lc_CXX
=no
14309 hardcode_shlibpath_var_CXX
=no
14310 runpath_var
='LD_RUN_PATH'
14312 case $cc_basename in
14314 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14315 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14318 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14319 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14324 sysv5
* | sco3.2v5
* | sco5v6
*)
14325 # Note: We can NOT use -z defs as we might desire, because we do not
14326 # link with -lc, and that would cause any symbols used from libc to
14327 # always be unresolved, which means just about no library would
14328 # ever link correctly. If we're not using GNU ld we use -z text
14329 # though, which does catch some bad symbols but isn't as heavy-handed
14331 no_undefined_flag_CXX
='${wl}-z,text'
14332 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14333 archive_cmds_need_lc_CXX
=no
14334 hardcode_shlibpath_var_CXX
=no
14335 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14336 hardcode_libdir_separator_CXX
=':'
14337 link_all_deplibs_CXX
=yes
14338 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14339 runpath_var
='LD_RUN_PATH'
14341 case $cc_basename in
14343 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14344 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14345 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14346 '"$old_archive_cmds_CXX"
14347 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14348 '"$reload_cmds_CXX"
14351 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14352 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14358 case $cc_basename in
14360 # NonStop-UX NCC 3.20
14361 # FIXME: insert proper C++ library support
14365 # FIXME: insert proper C++ library support
14372 # For VxWorks ports, we assume the use of a GNU linker with
14373 # standard elf conventions.
14378 # FIXME: insert proper C++ library support
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14384 $as_echo "$ld_shlibs_CXX" >&6; }
14385 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14391 ## There is no encapsulation within the following macros, do not change
14392 ## the running order or otherwise move them around unless you know exactly
14393 ## what you are doing...
14394 # Dependencies to place before and after the object being linked:
14395 predep_objects_CXX
=
14396 postdep_objects_CXX
=
14399 compiler_lib_search_path_CXX
=
14401 cat > conftest.
$ac_ext <<_LT_EOF
14405 Foo (void) { a = 0; }
14411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14412 (eval $ac_compile) 2>&5
14414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14415 test $ac_status = 0; }; then
14416 # Parse the compiler output and extract the necessary
14417 # objects, libraries and library flags.
14419 # Sentinel used to keep track of whether or not we are before
14420 # the conftest object file.
14421 pre_test_object_deps_done
=no
14423 for p
in `eval "$output_verbose_link_cmd"`; do
14427 # Some compilers place space between "-{L,R}" and the path.
14428 # Remove the space.
14429 if test $p = "-L" ||
14430 test $p = "-R"; then
14437 if test "$pre_test_object_deps_done" = no
; then
14440 # Internal compiler library paths should come after those
14441 # provided the user. The postdeps already come after the
14442 # user supplied libs so there is no need to process them.
14443 if test -z "$compiler_lib_search_path_CXX"; then
14444 compiler_lib_search_path_CXX
="${prev}${p}"
14446 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14449 # The "-l" case would never come before the object being
14450 # linked, so don't bother handling this case.
14453 if test -z "$postdeps_CXX"; then
14454 postdeps_CXX
="${prev}${p}"
14456 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14462 # This assumes that the test object file only shows up
14463 # once in the compiler output.
14464 if test "$p" = "conftest.$objext"; then
14465 pre_test_object_deps_done
=yes
14469 if test "$pre_test_object_deps_done" = no
; then
14470 if test -z "$predep_objects_CXX"; then
14471 predep_objects_CXX
="$p"
14473 predep_objects_CXX
="$predep_objects_CXX $p"
14476 if test -z "$postdep_objects_CXX"; then
14477 postdep_objects_CXX
="$p"
14479 postdep_objects_CXX
="$postdep_objects_CXX $p"
14484 *) ;; # Ignore the rest.
14492 echo "libtool.m4: error: problem compiling CXX test program"
14495 $RM -f confest.
$objext
14497 # PORTME: override above test on systems where it is broken
14500 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14501 # hack all around it, let's just trust "g++" to DTRT.
14502 predep_objects_CXX
=
14503 postdep_objects_CXX
=
14508 case `$CC -V 2>&1 | sed 5q` in
14512 # The more standards-conforming stlport4 library is
14513 # incompatible with the Cstd library. Avoid specifying
14514 # it if it's in CXXFLAGS. Ignore libCrun as
14515 # -library=stlport4 depends on it.
14516 case " $CXX $CXXFLAGS " in
14517 *" -library=stlport4 "*)
14518 solaris_use_stlport4
=yes
14522 if test "$solaris_use_stlport4" != yes; then
14523 postdeps_CXX
='-library=Cstd -library=Crun'
14530 case $cc_basename in
14532 # The more standards-conforming stlport4 library is
14533 # incompatible with the Cstd library. Avoid specifying
14534 # it if it's in CXXFLAGS. Ignore libCrun as
14535 # -library=stlport4 depends on it.
14536 case " $CXX $CXXFLAGS " in
14537 *" -library=stlport4 "*)
14538 solaris_use_stlport4
=yes
14542 # Adding this requires a known-good setup of shared libraries for
14543 # Sun compiler versions before 5.6, else PIC objects from an old
14544 # archive will be linked into the output, leading to subtle bugs.
14545 if test "$solaris_use_stlport4" != yes; then
14546 postdeps_CXX
='-library=Cstd -library=Crun'
14554 case " $postdeps_CXX " in
14555 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14557 compiler_lib_search_dirs_CXX
=
14558 if test -n "${compiler_lib_search_path_CXX}"; then
14559 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14592 lt_prog_compiler_wl_CXX
=
14593 lt_prog_compiler_pic_CXX
=
14594 lt_prog_compiler_static_CXX
=
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14597 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14599 # C++ specific cases for pic, static, wl, etc.
14600 if test "$GXX" = yes; then
14601 lt_prog_compiler_wl_CXX
='-Wl,'
14602 lt_prog_compiler_static_CXX
='-static'
14606 # All AIX code is PIC.
14607 if test "$host_cpu" = ia64
; then
14608 # AIX 5 now supports IA64 processor
14609 lt_prog_compiler_static_CXX
='-Bstatic'
14611 lt_prog_compiler_pic_CXX
='-fPIC'
14617 # see comment about AmigaOS4 .so support
14618 lt_prog_compiler_pic_CXX
='-fPIC'
14621 # FIXME: we need at least 68020 code to build shared libraries, but
14622 # adding the `-m68020' flag to GCC prevents building anything better,
14624 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14629 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14630 # PIC is the default for these OSes.
14632 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14633 # This hack is so that the source file can tell whether it is being
14634 # built for inclusion in a dll (and should export symbols for example).
14635 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14636 # (--disable-auto-import) libraries
14637 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14639 darwin
* | rhapsody
*)
14640 # PIC is the default on this platform
14641 # Common symbols not allowed in MH_DYLIB files
14642 lt_prog_compiler_pic_CXX
='-fno-common'
14645 # DJGPP does not support shared libraries at all
14646 lt_prog_compiler_pic_CXX
=
14649 # PIC is the default for Haiku.
14650 # The "-static" flag exists, but is broken.
14651 lt_prog_compiler_static_CXX
=
14654 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14655 # Instead, we relocate shared libraries at runtime.
14658 if test -d /usr
/nec
; then
14659 lt_prog_compiler_pic_CXX
=-Kconform_pic
14663 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14664 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14665 # sets the default TLS model and affects inlining.
14670 lt_prog_compiler_pic_CXX
='-fPIC'
14675 # QNX uses GNU C++, but need to define -shared option too, otherwise
14676 # it will coredump.
14677 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14680 lt_prog_compiler_pic_CXX
='-fPIC'
14686 # All AIX code is PIC.
14687 if test "$host_cpu" = ia64
; then
14688 # AIX 5 now supports IA64 processor
14689 lt_prog_compiler_static_CXX
='-Bstatic'
14691 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14695 case $cc_basename in
14697 # Green Hills C++ Compiler
14698 # _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"
14703 case $cc_basename in
14705 lt_prog_compiler_pic_CXX
='-KPIC'
14708 # Green Hills C++ Compiler
14709 lt_prog_compiler_pic_CXX
='-pic'
14715 freebsd
* | dragonfly
*)
14716 # FreeBSD uses GNU C++
14718 hpux9
* | hpux10
* | hpux11
*)
14719 case $cc_basename in
14721 lt_prog_compiler_wl_CXX
='-Wl,'
14722 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14723 if test "$host_cpu" != ia64
; then
14724 lt_prog_compiler_pic_CXX
='+Z'
14728 lt_prog_compiler_wl_CXX
='-Wl,'
14729 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14735 lt_prog_compiler_pic_CXX
='+Z'
14744 # This is c89, which is MS Visual C++ (no shared libs)
14745 # Anyone wants to do a port?
14747 irix5
* | irix6
* | nonstopux
*)
14748 case $cc_basename in
14750 lt_prog_compiler_wl_CXX
='-Wl,'
14751 lt_prog_compiler_static_CXX
='-non_shared'
14752 # CC pic flag -KPIC is the default.
14758 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14759 case $cc_basename in
14762 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14763 lt_prog_compiler_pic_CXX
='-fPIC'
14766 # old Intel C++ for x86_64 which still supported -KPIC.
14767 lt_prog_compiler_wl_CXX
='-Wl,'
14768 lt_prog_compiler_pic_CXX
='-KPIC'
14769 lt_prog_compiler_static_CXX
='-static'
14772 # Intel C++, used to be incompatible with GCC.
14773 # ICC 10 doesn't accept -KPIC any more.
14774 lt_prog_compiler_wl_CXX
='-Wl,'
14775 lt_prog_compiler_pic_CXX
='-fPIC'
14776 lt_prog_compiler_static_CXX
='-static'
14779 # Portland Group C++ compiler
14780 lt_prog_compiler_wl_CXX
='-Wl,'
14781 lt_prog_compiler_pic_CXX
='-fpic'
14782 lt_prog_compiler_static_CXX
='-Bstatic'
14786 # Make sure the PIC flag is empty. It appears that all Alpha
14787 # Linux and Compaq Tru64 Unix objects are PIC.
14788 lt_prog_compiler_pic_CXX
=
14789 lt_prog_compiler_static_CXX
='-non_shared'
14791 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14792 # IBM XL 8.0, 9.0 on PPC and BlueGene
14793 lt_prog_compiler_wl_CXX
='-Wl,'
14794 lt_prog_compiler_pic_CXX
='-qpic'
14795 lt_prog_compiler_static_CXX
='-qstaticlink'
14798 case `$CC -V 2>&1 | sed 5q` in
14801 lt_prog_compiler_pic_CXX
='-KPIC'
14802 lt_prog_compiler_static_CXX
='-Bstatic'
14803 lt_prog_compiler_wl_CXX
='-Qoption ld '
14814 case $cc_basename in
14816 lt_prog_compiler_pic_CXX
='-W c,exportall'
14825 # QNX uses GNU C++, but need to define -shared option too, otherwise
14826 # it will coredump.
14827 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14829 osf3
* | osf4
* | osf5
*)
14830 case $cc_basename in
14832 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14835 # Rational C++ 2.4.1
14836 lt_prog_compiler_pic_CXX
='-pic'
14839 # Digital/Compaq C++
14840 lt_prog_compiler_wl_CXX
='-Wl,'
14841 # Make sure the PIC flag is empty. It appears that all Alpha
14842 # Linux and Compaq Tru64 Unix objects are PIC.
14843 lt_prog_compiler_pic_CXX
=
14844 lt_prog_compiler_static_CXX
='-non_shared'
14853 case $cc_basename in
14855 # Sun C++ 4.2, 5.x and Centerline C++
14856 lt_prog_compiler_pic_CXX
='-KPIC'
14857 lt_prog_compiler_static_CXX
='-Bstatic'
14858 lt_prog_compiler_wl_CXX
='-Qoption ld '
14861 # Green Hills C++ Compiler
14862 lt_prog_compiler_pic_CXX
='-PIC'
14869 case $cc_basename in
14872 lt_prog_compiler_pic_CXX
='-pic'
14873 lt_prog_compiler_static_CXX
='-Bstatic'
14877 lt_prog_compiler_pic_CXX
='-pic'
14883 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14884 case $cc_basename in
14886 lt_prog_compiler_wl_CXX
='-Wl,'
14887 lt_prog_compiler_pic_CXX
='-KPIC'
14888 lt_prog_compiler_static_CXX
='-Bstatic'
14893 case $cc_basename in
14895 # NonStop-UX NCC 3.20
14896 lt_prog_compiler_pic_CXX
='-KPIC'
14905 lt_prog_compiler_can_build_shared_CXX
=no
14911 # For platforms which do not support PIC, -DPIC is meaningless:
14913 lt_prog_compiler_pic_CXX
=
14916 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14920 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14925 # Check to make sure the PIC flag actually works.
14927 if test -n "$lt_prog_compiler_pic_CXX"; then
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14929 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14930 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14931 $as_echo_n "(cached) " >&6
14933 lt_cv_prog_compiler_pic_works_CXX
=no
14934 ac_outfile
=conftest.
$ac_objext
14935 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14936 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14937 # Insert the option either (1) after the last *FLAGS variable, or
14938 # (2) before a word containing "conftest.", or (3) at the end.
14939 # Note that $ac_compile itself does not contain backslashes and begins
14940 # with a dollar sign (not a hyphen), so the echo should work correctly.
14941 # The option is referenced via a variable to avoid confusing sed.
14942 lt_compile
=`echo "$ac_compile" | $SED \
14943 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14944 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14945 -e 's:$: $lt_compiler_flag:'`
14946 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14947 (eval "$lt_compile" 2>conftest.err
)
14949 cat conftest.err
>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 if (exit $ac_status) && test -s "$ac_outfile"; then
14952 # The compiler can only warn and ignore the option if not recognized
14953 # So say no if there are warnings other than the usual output.
14954 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14955 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14956 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14957 lt_cv_prog_compiler_pic_works_CXX
=yes
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14964 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14966 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14967 case $lt_prog_compiler_pic_CXX in
14969 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14972 lt_prog_compiler_pic_CXX
=
14973 lt_prog_compiler_can_build_shared_CXX
=no
14981 # Check to make sure the static flag actually works.
14983 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14985 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14986 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14987 $as_echo_n "(cached) " >&6
14989 lt_cv_prog_compiler_static_works_CXX
=no
14990 save_LDFLAGS
="$LDFLAGS"
14991 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14992 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14993 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14994 # The linker can only warn and ignore the option if not recognized
14995 # So say no if there are warnings
14996 if test -s conftest.err
; then
14997 # Append any errors to the config.log.
14998 cat conftest.err
1>&5
14999 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15000 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15001 if diff conftest.exp conftest.er2
>/dev
/null
; then
15002 lt_cv_prog_compiler_static_works_CXX
=yes
15005 lt_cv_prog_compiler_static_works_CXX
=yes
15009 LDFLAGS
="$save_LDFLAGS"
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15013 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15015 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15018 lt_prog_compiler_static_CXX
=
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15026 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15027 $as_echo_n "(cached) " >&6
15029 lt_cv_prog_compiler_c_o_CXX
=no
15030 $RM -r conftest
2>/dev
/null
15034 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15036 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15037 # Insert the option either (1) after the last *FLAGS variable, or
15038 # (2) before a word containing "conftest.", or (3) at the end.
15039 # Note that $ac_compile itself does not contain backslashes and begins
15040 # with a dollar sign (not a hyphen), so the echo should work correctly.
15041 lt_compile
=`echo "$ac_compile" | $SED \
15042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15044 -e 's:$: $lt_compiler_flag:'`
15045 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15046 (eval "$lt_compile" 2>out
/conftest.err
)
15048 cat out
/conftest.err
>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15052 # The compiler can only warn and ignore the option if not recognized
15053 # So say no if there are warnings
15054 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15055 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15056 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15057 lt_cv_prog_compiler_c_o_CXX
=yes
15062 # SGI C++ compiler will create directory out/ii_files/ for
15063 # template instantiation
15064 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15065 $RM out
/* && rmdir out
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15072 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15077 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15078 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15079 $as_echo_n "(cached) " >&6
15081 lt_cv_prog_compiler_c_o_CXX
=no
15082 $RM -r conftest
2>/dev
/null
15086 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15088 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15089 # Insert the option either (1) after the last *FLAGS variable, or
15090 # (2) before a word containing "conftest.", or (3) at the end.
15091 # Note that $ac_compile itself does not contain backslashes and begins
15092 # with a dollar sign (not a hyphen), so the echo should work correctly.
15093 lt_compile
=`echo "$ac_compile" | $SED \
15094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15096 -e 's:$: $lt_compiler_flag:'`
15097 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15098 (eval "$lt_compile" 2>out
/conftest.err
)
15100 cat out
/conftest.err
>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15104 # The compiler can only warn and ignore the option if not recognized
15105 # So say no if there are warnings
15106 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15107 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15108 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15109 lt_cv_prog_compiler_c_o_CXX
=yes
15114 # SGI C++ compiler will create directory out/ii_files/ for
15115 # template instantiation
15116 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15117 $RM out
/* && rmdir out
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15124 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15129 hard_links
="nottested"
15130 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15131 # do not overwrite the value of need_locks provided by the user
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15133 $as_echo_n "checking if we can lock with hard links... " >&6; }
15136 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15138 ln conftest.a conftest.b
2>&5 || hard_links
=no
15139 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15141 $as_echo "$hard_links" >&6; }
15142 if test "$hard_links" = no
; then
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15144 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15154 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15156 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15159 # If we're using GNU nm, then we don't want the "-C" option.
15160 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15161 # Also, AIX nm treats weak defined symbols like other global defined
15162 # symbols, whereas GNU nm marks them as "W".
15163 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15164 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'
15166 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15170 export_symbols_cmds_CXX
="$ltdll_cmds"
15172 cygwin
* | mingw
* | cegcc
*)
15173 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15176 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15179 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15182 $as_echo "$ld_shlibs_CXX" >&6; }
15183 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15185 with_gnu_ld_CXX
=$with_gnu_ld
15193 # Do we need to explicitly link libc?
15195 case "x$archive_cmds_need_lc_CXX" in
15197 # Assume -lc should be added
15198 archive_cmds_need_lc_CXX
=yes
15200 if test "$enable_shared" = yes && test "$GCC" = yes; then
15201 case $archive_cmds_CXX in
15203 # FIXME: we may have to deal with multi-command sequences.
15206 # Test whether the compiler implicitly links with -lc since on some
15207 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15208 # to ld, don't add -lc before -lgcc.
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15210 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15211 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15212 $as_echo_n "(cached) " >&6
15215 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15218 (eval $ac_compile) 2>&5
15220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15221 test $ac_status = 0; } 2>conftest.err
; then
15224 libobjs
=conftest.
$ac_objext
15226 wl
=$lt_prog_compiler_wl_CXX
15227 pic_flag
=$lt_prog_compiler_pic_CXX
15233 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15234 allow_undefined_flag_CXX
=
15235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15236 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15239 test $ac_status = 0; }
15241 lt_cv_archive_cmds_need_lc_CXX
=no
15243 lt_cv_archive_cmds_need_lc_CXX
=yes
15245 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15247 cat conftest.err
1>&5
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15253 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15254 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15325 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15327 library_names_spec
=
15328 libname_spec
='lib$name'
15332 postuninstall_cmds
=
15336 shlibpath_overrides_runpath
=unknown
15338 dynamic_linker
="$host_os ld.so"
15339 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15340 need_lib_prefix
=unknown
15341 hardcode_into_libs
=no
15343 # when you set need_version to no, make sure it does not cause -set_version
15344 # flags to be left without arguments
15345 need_version
=unknown
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15351 shlibpath_var
=LIBPATH
15353 # AIX 3 has no versioning support, so we append a major version to the name.
15354 soname_spec
='${libname}${release}${shared_ext}$major'
15361 hardcode_into_libs
=yes
15362 if test "$host_cpu" = ia64
; then
15363 # AIX 5 supports IA64
15364 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15365 shlibpath_var
=LD_LIBRARY_PATH
15367 # With GCC up to 2.95.x, collect2 would create an import file
15368 # for dependence libraries. The import file would start with
15369 # the line `#! .'. This would cause the generated library to
15370 # depend on `.', always an invalid library. This was fixed in
15371 # development snapshots of GCC prior to 3.0.
15373 aix4 | aix4.
[01] | aix4.
[01].
*)
15374 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15376 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15379 can_build_shared
=no
15383 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15384 # soname into executable. Probably we can add versioning support to
15385 # collect2, so additional links can be useful in future.
15386 if test "$aix_use_runtimelinking" = yes; then
15387 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15388 # instead of lib<name>.a to let people know that these are not
15389 # typical AIX shared libraries.
15390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 # We preserve .a as extension for shared libraries through AIX4.2
15393 # and later when we are not doing run time linking.
15394 library_names_spec
='${libname}${release}.a $libname.a'
15395 soname_spec
='${libname}${release}${shared_ext}$major'
15397 shlibpath_var
=LIBPATH
15404 # Since July 2007 AmigaOS4 officially supports .so libraries.
15405 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15409 library_names_spec
='$libname.ixlibrary $libname.a'
15410 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15411 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'
15417 library_names_spec
='${libname}${shared_ext}'
15418 dynamic_linker
="$host_os ld.so"
15419 shlibpath_var
=LIBRARY_PATH
15425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15426 soname_spec
='${libname}${release}${shared_ext}$major'
15427 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15430 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15431 # the default ld.so.conf also contains /usr/contrib/lib and
15432 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15433 # libtool to hard-code these into programs
15436 cygwin
* | mingw
* | pw32
* | cegcc
*)
15437 version_type
=windows
15442 case $GCC,$host_os in
15443 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15444 library_names_spec
='$libname.dll.a'
15445 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15446 postinstall_cmds
='base_file=`basename \${file}`~
15447 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15448 dldir=$destdir/`dirname \$dlpath`~
15449 test -d \$dldir || mkdir -p \$dldir~
15450 $install_prog $dir/$dlname \$dldir/$dlname~
15451 chmod a+x \$dldir/$dlname~
15452 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15453 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15455 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15456 dlpath=$dir/\$dldll~
15458 shlibpath_overrides_runpath
=yes
15462 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15463 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15467 # MinGW DLLs use traditional 'lib' prefix
15468 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15471 # pw32 DLLs use 'pw' prefix rather than 'lib'
15472 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15478 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15481 dynamic_linker
='Win32 ld.exe'
15482 # FIXME: first we should search . and the directory the executable is in
15486 darwin
* | rhapsody
*)
15487 dynamic_linker
="$host_os dyld"
15488 version_type
=darwin
15491 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15492 soname_spec
='${libname}${release}${major}$shared_ext'
15493 shlibpath_overrides_runpath
=yes
15494 shlibpath_var
=DYLD_LIBRARY_PATH
15495 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15497 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15505 soname_spec
='${libname}${release}${shared_ext}$major'
15506 shlibpath_var
=LD_LIBRARY_PATH
15509 freebsd
* | dragonfly
*)
15510 # DragonFly does not have aout. When/if they implement a new
15511 # versioning mechanism, adjust this.
15512 if test -x /usr
/bin
/objformat
; then
15513 objformat
=`/usr/bin/objformat`
15516 freebsd
[23].
*) objformat
=aout
;;
15517 *) objformat
=elf
;;
15520 version_type
=freebsd-
$objformat
15521 case $version_type in
15523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15528 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15532 shlibpath_var
=LD_LIBRARY_PATH
15535 shlibpath_overrides_runpath
=yes
15537 freebsd3.
[01]* | freebsdelf3.
[01]*)
15538 shlibpath_overrides_runpath
=yes
15539 hardcode_into_libs
=yes
15541 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15542 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15543 shlibpath_overrides_runpath
=no
15544 hardcode_into_libs
=yes
15546 *) # from 4.6 on, and DragonFly
15547 shlibpath_overrides_runpath
=yes
15548 hardcode_into_libs
=yes
15557 dynamic_linker
="$host_os runtime_loader"
15558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15559 soname_spec
='${libname}${release}${shared_ext}$major'
15560 shlibpath_var
=LIBRARY_PATH
15561 shlibpath_overrides_runpath
=yes
15562 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15563 hardcode_into_libs
=yes
15566 hpux9
* | hpux10
* | hpux11
*)
15567 # Give a soname corresponding to the major version so that dld.sl refuses to
15568 # link against other versions.
15575 hardcode_into_libs
=yes
15576 dynamic_linker
="$host_os dld.so"
15577 shlibpath_var
=LD_LIBRARY_PATH
15578 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15580 soname_spec
='${libname}${release}${shared_ext}$major'
15581 if test "X$HPUX_IA64_MODE" = X32
; then
15582 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15584 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15586 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15590 hardcode_into_libs
=yes
15591 dynamic_linker
="$host_os dld.sl"
15592 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15593 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15595 soname_spec
='${libname}${release}${shared_ext}$major'
15596 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15597 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15601 dynamic_linker
="$host_os dld.sl"
15602 shlibpath_var
=SHLIB_PATH
15603 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605 soname_spec
='${libname}${release}${shared_ext}$major'
15608 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15609 postinstall_cmds
='chmod 555 $lib'
15610 # or fails outright, so override atomically:
15611 install_override_mode
=555
15618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15619 soname_spec
='${libname}${release}${shared_ext}$major'
15620 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15621 shlibpath_var
=LD_LIBRARY_PATH
15622 shlibpath_overrides_runpath
=no
15623 hardcode_into_libs
=yes
15626 irix5
* | irix6
* | nonstopux
*)
15628 nonstopux
*) version_type
=nonstopux
;;
15630 if test "$lt_cv_prog_gnu_ld" = yes; then
15638 soname_spec
='${libname}${release}${shared_ext}$major'
15639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15641 irix5
* | nonstopux
*)
15642 libsuff
= shlibsuff
=
15645 case $LD in # libtool.m4 will add one of these switches to LD
15646 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15647 libsuff
= shlibsuff
= libmagic
=32-bit;;
15648 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15649 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15650 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15651 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15652 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15656 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15657 shlibpath_overrides_runpath
=no
15658 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15659 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15660 hardcode_into_libs
=yes
15663 # No shared lib support for Linux oldld, aout, or coff.
15664 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15668 # This must be Linux ELF.
15670 # uclinux* changes (here and below) have been submitted to the libtool
15671 # project, but have not yet been accepted: they are GCC-local changes
15672 # for the time being. (See
15673 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15674 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15679 soname_spec
='${libname}${release}${shared_ext}$major'
15680 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15681 shlibpath_var
=LD_LIBRARY_PATH
15682 shlibpath_overrides_runpath
=no
15684 # Some binutils ld are patched to set DT_RUNPATH
15685 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15686 $as_echo_n "(cached) " >&6
15688 lt_cv_shlibpath_overrides_runpath
=no
15689 save_LDFLAGS
=$LDFLAGS
15690 save_libdir
=$libdir
15691 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15692 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15693 if test x
$gcc_no_link = xyes
; then
15694 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15707 if ac_fn_cxx_try_link
"$LINENO"; then :
15708 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15709 lt_cv_shlibpath_overrides_runpath
=yes
15712 rm -f core conftest.err conftest.
$ac_objext \
15713 conftest
$ac_exeext conftest.
$ac_ext
15714 LDFLAGS
=$save_LDFLAGS
15715 libdir
=$save_libdir
15719 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15721 # This implies no fast_install, which is unacceptable.
15722 # Some rework will be needed to allow for fast_install
15723 # before this can be enabled.
15724 hardcode_into_libs
=yes
15726 # Append ld.so.conf contents to the search path
15727 if test -f /etc
/ld.so.conf
; then
15728 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' ' '`
15729 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15732 # We used to test for /lib/ld.so.1 and disable shared libraries on
15733 # powerpc, because MkLinux only supported shared libraries with the
15734 # GNU dynamic linker. Since this was broken with cross compilers,
15735 # most powerpc-linux boxes support dynamic linking these days and
15736 # people can always --disable-shared, the test was removed, and we
15737 # assume the GNU/Linux dynamic linker is in use.
15738 dynamic_linker
='GNU/Linux ld.so'
15745 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15747 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15748 dynamic_linker
='NetBSD (a.out) ld.so'
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15751 soname_spec
='${libname}${release}${shared_ext}$major'
15752 dynamic_linker
='NetBSD ld.elf_so'
15754 shlibpath_var
=LD_LIBRARY_PATH
15755 shlibpath_overrides_runpath
=yes
15756 hardcode_into_libs
=yes
15761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=yes
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec
='${libname}${release}${shared_ext}$major'
15772 shlibpath_var
=LD_LIBRARY_PATH
15773 shlibpath_overrides_runpath
=no
15774 hardcode_into_libs
=yes
15775 dynamic_linker
='ldqnx.so'
15780 sys_lib_dlsearch_path_spec
="/usr/lib"
15782 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15784 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15785 *) need_version
=no
;;
15787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15788 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15789 shlibpath_var
=LD_LIBRARY_PATH
15790 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15792 openbsd2.
[89] | openbsd2.
[89].
*)
15793 shlibpath_overrides_runpath
=no
15796 shlibpath_overrides_runpath
=yes
15800 shlibpath_overrides_runpath
=yes
15805 libname_spec
='$name'
15808 library_names_spec
='$libname${shared_ext} $libname.a'
15809 dynamic_linker
='OS/2 ld.exe'
15810 shlibpath_var
=LIBPATH
15813 osf3
* | osf4
* | osf5
*)
15817 soname_spec
='${libname}${release}${shared_ext}$major'
15818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15819 shlibpath_var
=LD_LIBRARY_PATH
15820 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15821 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15833 soname_spec
='${libname}${release}${shared_ext}$major'
15834 shlibpath_var
=LD_LIBRARY_PATH
15835 shlibpath_overrides_runpath
=yes
15836 hardcode_into_libs
=yes
15837 # ldd complains unless libraries are executable
15838 postinstall_cmds
='chmod +x $lib'
15843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15844 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15845 shlibpath_var
=LD_LIBRARY_PATH
15846 shlibpath_overrides_runpath
=yes
15847 if test "$with_gnu_ld" = yes; then
15855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15856 soname_spec
='${libname}${release}${shared_ext}$major'
15857 shlibpath_var
=LD_LIBRARY_PATH
15858 case $host_vendor in
15860 shlibpath_overrides_runpath
=no
15862 runpath_var
=LD_RUN_PATH
15870 shlibpath_overrides_runpath
=no
15871 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15877 if test -d /usr
/nec
;then
15879 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15880 soname_spec
='$libname${shared_ext}.$major'
15881 shlibpath_var
=LD_LIBRARY_PATH
15885 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15886 version_type
=freebsd-elf
15889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15890 soname_spec
='${libname}${release}${shared_ext}$major'
15891 shlibpath_var
=LD_LIBRARY_PATH
15892 shlibpath_overrides_runpath
=yes
15893 hardcode_into_libs
=yes
15894 if test "$with_gnu_ld" = yes; then
15895 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15897 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15900 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15904 sys_lib_dlsearch_path_spec
='/usr/lib'
15908 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15912 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15913 shlibpath_var
=LD_LIBRARY_PATH
15914 shlibpath_overrides_runpath
=no
15915 hardcode_into_libs
=yes
15920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15921 soname_spec
='${libname}${release}${shared_ext}$major'
15922 shlibpath_var
=LD_LIBRARY_PATH
15925 # Shared libraries for VwWorks, >= 7 only at this stage
15926 # and (fpic) still incompatible with "large" code models
15927 # in a few configurations. Only for RTP mode in any case,
15928 # and upon explicit request at configure time.
15931 case ${with_multisubdir}-${enable_shared} in
15938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15939 soname_spec
='${libname}${release}${shared_ext}$major'
15940 dynamic_linker
="$host_os module_loader"
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15949 $as_echo "$dynamic_linker" >&6; }
15950 test "$dynamic_linker" = no
&& can_build_shared
=no
15952 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15953 if test "$GCC" = yes; then
15954 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15957 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15958 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15960 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15961 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16002 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16003 hardcode_action_CXX
=
16004 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16005 test -n "$runpath_var_CXX" ||
16006 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16008 # We can hardcode non-existent directories.
16009 if test "$hardcode_direct_CXX" != no
&&
16010 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16011 # have to relink, otherwise we might link with an installed library
16012 # when we should be linking with a yet-to-be-installed one
16013 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16014 test "$hardcode_minus_L_CXX" != no
; then
16015 # Linking always hardcodes the temporary library directory.
16016 hardcode_action_CXX
=relink
16018 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16019 hardcode_action_CXX
=immediate
16022 # We cannot hardcode anything, or else we can only hardcode existing
16024 hardcode_action_CXX
=unsupported
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16027 $as_echo "$hardcode_action_CXX" >&6; }
16029 if test "$hardcode_action_CXX" = relink ||
16030 test "$inherit_rpath_CXX" = yes; then
16031 # Fast installation is not supported
16032 enable_fast_install
=no
16033 elif test "$shlibpath_overrides_runpath" = yes ||
16034 test "$enable_shared" = no
; then
16035 # Fast installation is not necessary
16036 enable_fast_install
=needless
16045 fi # test -n "$compiler"
16051 with_gnu_ld
=$lt_save_with_gnu_ld
16052 lt_cv_path_LDCXX
=$lt_cv_path_LD
16053 lt_cv_path_LD
=$lt_save_path_LD
16054 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16055 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16056 fi # test "$_lt_caught_CXX_error" != yes
16059 ac_cpp
='$CPP $CPPFLAGS'
16060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16076 ac_config_commands
="$ac_config_commands libtool"
16081 # Only expand once:
16092 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
16093 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
16095 cat >>confdefs.h
<<_ACEOF
16096 #define HAVE_STRUCT_TIMEZONE 1
16101 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
16102 if test "x$ac_cv_type_struct_stat" = xyes
; then :
16104 cat >>confdefs.h
<<_ACEOF
16105 #define HAVE_STRUCT_STAT 1
16110 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
16111 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
16113 cat >>confdefs.h
<<_ACEOF
16114 #define HAVE_STRUCT_TIMEVAL 1
16122 ac_cpp
='$CPP $CPPFLAGS'
16123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16127 # Check the compiler.
16128 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
16129 # We must force CC to /not/ be precious variables; otherwise
16130 # the wrong, non-multilib-adjusted value will be used in multilibs.
16131 # As a side effect, we have to subst CFLAGS ourselves.
16136 ac_cpp
='$CPP $CPPFLAGS'
16137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16140 if test -n "$ac_tool_prefix"; then
16141 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16142 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16144 $as_echo_n "checking for $ac_word... " >&6; }
16145 if ${ac_cv_prog_CC+:} false
; then :
16146 $as_echo_n "(cached) " >&6
16148 if test -n "$CC"; then
16149 ac_cv_prog_CC
="$CC" # Let the user override the test.
16151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16152 for as_dir
in $PATH
16155 test -z "$as_dir" && as_dir
=.
16156 for ac_exec_ext
in '' $ac_executable_extensions; do
16157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16158 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16169 if test -n "$CC"; then
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16171 $as_echo "$CC" >&6; }
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16174 $as_echo "no" >&6; }
16179 if test -z "$ac_cv_prog_CC"; then
16181 # Extract the first word of "gcc", so it can be a program name with args.
16182 set dummy gcc
; ac_word
=$2
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16184 $as_echo_n "checking for $ac_word... " >&6; }
16185 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16186 $as_echo_n "(cached) " >&6
16188 if test -n "$ac_ct_CC"; then
16189 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16192 for as_dir
in $PATH
16195 test -z "$as_dir" && as_dir
=.
16196 for ac_exec_ext
in '' $ac_executable_extensions; do
16197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16198 ac_cv_prog_ac_ct_CC
="gcc"
16199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16208 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16209 if test -n "$ac_ct_CC"; then
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16211 $as_echo "$ac_ct_CC" >&6; }
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16214 $as_echo "no" >&6; }
16217 if test "x$ac_ct_CC" = x
; then
16220 case $cross_compiling:$ac_tool_warned in
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16224 ac_tool_warned
=yes ;;
16229 CC
="$ac_cv_prog_CC"
16232 if test -z "$CC"; then
16233 if test -n "$ac_tool_prefix"; then
16234 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16235 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16237 $as_echo_n "checking for $ac_word... " >&6; }
16238 if ${ac_cv_prog_CC+:} false
; then :
16239 $as_echo_n "(cached) " >&6
16241 if test -n "$CC"; then
16242 ac_cv_prog_CC
="$CC" # Let the user override the test.
16244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16245 for as_dir
in $PATH
16248 test -z "$as_dir" && as_dir
=.
16249 for ac_exec_ext
in '' $ac_executable_extensions; do
16250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16251 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16262 if test -n "$CC"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16264 $as_echo "$CC" >&6; }
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16267 $as_echo "no" >&6; }
16273 if test -z "$CC"; then
16274 # Extract the first word of "cc", so it can be a program name with args.
16275 set dummy cc
; ac_word
=$2
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16277 $as_echo_n "checking for $ac_word... " >&6; }
16278 if ${ac_cv_prog_CC+:} false
; then :
16279 $as_echo_n "(cached) " >&6
16281 if test -n "$CC"; then
16282 ac_cv_prog_CC
="$CC" # Let the user override the test.
16284 ac_prog_rejected
=no
16285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16286 for as_dir
in $PATH
16289 test -z "$as_dir" && as_dir
=.
16290 for ac_exec_ext
in '' $ac_executable_extensions; do
16291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16292 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16293 ac_prog_rejected
=yes
16297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16304 if test $ac_prog_rejected = yes; then
16305 # We found a bogon in the path, so make sure we never use it.
16306 set dummy
$ac_cv_prog_CC
16308 if test $# != 0; then
16309 # We chose a different compiler from the bogus one.
16310 # However, it has the same basename, so the bogon will be chosen
16311 # first if we set CC to just the basename; use the full file name.
16313 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16319 if test -n "$CC"; then
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16321 $as_echo "$CC" >&6; }
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16324 $as_echo "no" >&6; }
16329 if test -z "$CC"; then
16330 if test -n "$ac_tool_prefix"; then
16331 for ac_prog
in cl.exe
16333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16334 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16336 $as_echo_n "checking for $ac_word... " >&6; }
16337 if ${ac_cv_prog_CC+:} false
; then :
16338 $as_echo_n "(cached) " >&6
16340 if test -n "$CC"; then
16341 ac_cv_prog_CC
="$CC" # Let the user override the test.
16343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16344 for as_dir
in $PATH
16347 test -z "$as_dir" && as_dir
=.
16348 for ac_exec_ext
in '' $ac_executable_extensions; do
16349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16350 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16361 if test -n "$CC"; then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16363 $as_echo "$CC" >&6; }
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16366 $as_echo "no" >&6; }
16370 test -n "$CC" && break
16373 if test -z "$CC"; then
16375 for ac_prog
in cl.exe
16377 # Extract the first word of "$ac_prog", so it can be a program name with args.
16378 set dummy
$ac_prog; ac_word
=$2
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16380 $as_echo_n "checking for $ac_word... " >&6; }
16381 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16382 $as_echo_n "(cached) " >&6
16384 if test -n "$ac_ct_CC"; then
16385 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16388 for as_dir
in $PATH
16391 test -z "$as_dir" && as_dir
=.
16392 for ac_exec_ext
in '' $ac_executable_extensions; do
16393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16394 ac_cv_prog_ac_ct_CC
="$ac_prog"
16395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16405 if test -n "$ac_ct_CC"; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16407 $as_echo "$ac_ct_CC" >&6; }
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16410 $as_echo "no" >&6; }
16414 test -n "$ac_ct_CC" && break
16417 if test "x$ac_ct_CC" = x
; then
16420 case $cross_compiling:$ac_tool_warned in
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16424 ac_tool_warned
=yes ;;
16433 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16435 as_fn_error $?
"no acceptable C compiler found in \$PATH
16436 See \`config.log' for more details" "$LINENO" 5; }
16438 # Provide some information about the compiler.
16439 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16442 for ac_option
in --version -v -V -qversion; do
16443 { { ac_try
="$ac_compiler $ac_option >&5"
16444 case "(($ac_try" in
16445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16446 *) ac_try_echo=$ac_try;;
16448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16449 $as_echo "$ac_try_echo"; } >&5
16450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16452 if test -s conftest.err; then
16454 ... rest of stderr output deleted ...
16455 10q' conftest.err >conftest.er1
16456 cat conftest.er1 >&5
16458 rm -f conftest.er1 conftest.err
16459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16460 test $ac_status = 0; }
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16464 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16465 if ${ac_cv_c_compiler_gnu+:} false; then :
16466 $as_echo_n "(cached) " >&6
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16482 if ac_fn_c_try_compile "$LINENO"; then :
16483 ac_compiler_gnu=yes
16487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16488 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16492 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16493 if test $ac_compiler_gnu = yes; then
16498 ac_test_CFLAGS=${CFLAGS+set}
16499 ac_save_CFLAGS=$CFLAGS
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16501 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16502 if ${ac_cv_prog_cc_g+:} false; then :
16503 $as_echo_n "(cached) " >&6
16505 ac_save_c_werror_flag=$ac_c_werror_flag
16506 ac_c_werror_flag=yes
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16520 if ac_fn_c_try_compile "$LINENO"; then :
16521 ac_cv_prog_cc_g=yes
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16535 if ac_fn_c_try_compile "$LINENO"; then :
16538 ac_c_werror_flag=$ac_save_c_werror_flag
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16551 if ac_fn_c_try_compile "$LINENO"; then :
16552 ac_cv_prog_cc_g=yes
16554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16559 ac_c_werror_flag=$ac_save_c_werror_flag
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16562 $as_echo "$ac_cv_prog_cc_g" >&6; }
16563 if test "$ac_test_CFLAGS" = set; then
16564 CFLAGS=$ac_save_CFLAGS
16565 elif test $ac_cv_prog_cc_g = yes; then
16566 if test "$GCC" = yes; then
16572 if test "$GCC" = yes; then
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16579 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16580 if ${ac_cv_prog_cc_c89+:} false; then :
16581 $as_echo_n "(cached) " >&6
16583 ac_cv_prog_cc_c89=no
16585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16587 #include <stdarg.h>
16590 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16591 struct buf { int x; };
16592 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16593 static char *e (p, i)
16599 static char *f (char * (*g) (char **, int), char **p, ...)
16604 s = g (p, va_arg (v,int));
16609 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16610 function prototypes and stuff, but not '\xHH' hex character constants.
16611 These don't provoke an error unfortunately, instead are silently treated
16612 as 'x'. The following induces an error, until -std is added to get
16613 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16614 array size at least. It's necessary to write '\x00'==0 to get something
16615 that's true only with -std. */
16616 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16618 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16619 inside strings and character constants. */
16621 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16623 int test (int i, double x);
16624 struct s1 {int (*f) (int a);};
16625 struct s2 {int (*f) (double a);};
16626 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16632 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16637 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16638 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16640 CC="$ac_save_CC $ac_arg"
16641 if ac_fn_c_try_compile "$LINENO"; then :
16642 ac_cv_prog_cc_c89=$ac_arg
16644 rm -f core conftest.err conftest.$ac_objext
16645 test "x$ac_cv_prog_cc_c89" != "xno" && break
16647 rm -f conftest.$ac_ext
16652 case "x$ac_cv_prog_cc_c89" in
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16655 $as_echo "none needed" >&6; } ;;
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16658 $as_echo "unsupported" >&6; } ;;
16660 CC="$CC $ac_cv_prog_cc_c89"
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16662 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16664 if test "x$ac_cv_prog_cc_c89" != xno; then :
16669 ac_cpp='$CPP $CPPFLAGS'
16670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16675 ac_cpp='$CPP $CPPFLAGS'
16676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16680 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16681 if ${am_cv_prog_cc_c_o+:} false; then :
16682 $as_echo_n "(cached) " >&6
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16695 # Make sure it works both with $CC and with simple cc.
16696 # Following AC_PROG_CC_C_O, we do the test twice because some
16697 # compilers refuse to overwrite an existing .o file with -o,
16698 # though they will create one.
16699 am_cv_prog_cc_c_o=yes
16700 for am_i in 1 2; do
16701 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16702 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } \
16706 && test -f conftest2.$ac_objext; then
16709 am_cv_prog_cc_c_o=no
16713 rm -f core conftest*
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16717 $as_echo "$am_cv_prog_cc_c_o" >&6; }
16718 if test "$am_cv_prog_cc_c_o" != yes; then
16719 # Losing compiler, so override with the script.
16720 # FIXME: It is wrong to rewrite CC.
16721 # But if we don't then we get into trouble of one sort or another.
16722 # A longer-term fix would be to have automake use am__CC in this case,
16723 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16724 CC="$am_aux_dir/compile $CC"
16727 ac_cpp='$CPP $CPPFLAGS'
16728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
16743 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
16744 if test x$gcc_no_link != xyes; then
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
16746 $as_echo_n "checking for access in -lc... " >&6; }
16747 if ${ac_cv_lib_c_access+:} false; then :
16748 $as_echo_n "(cached) " >&6
16750 ac_check_lib_save_LIBS=$LIBS
16752 if test x$gcc_no_link = xyes; then
16753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16758 /* Override any GCC internal prototype to avoid an error.
16759 Use char because int might match the return type of a GCC
16760 builtin and then its argument prototype would still apply. */
16773 if ac_fn_c_try_link "$LINENO"; then :
16774 ac_cv_lib_c_access=yes
16776 ac_cv_lib_c_access=no
16778 rm -f core conftest.err conftest.$ac_objext \
16779 conftest$ac_exeext conftest.$ac_ext
16780 LIBS=$ac_check_lib_save_LIBS
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
16783 $as_echo "$ac_cv_lib_c_access" >&6; }
16784 if test "x$ac_cv_lib_c_access" = xyes; then :
16786 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16790 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16795 if test "x$ac_cv_lib_c_access" = xyes; then
16797 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16799 elif test "x$ac_cv_func_access" = xyes; then
16801 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
16805 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
16812 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
16813 if test x$gcc_no_link != xyes; then
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
16815 $as_echo_n "checking for brk in -lc... " >&6; }
16816 if ${ac_cv_lib_c_brk+:} false; then :
16817 $as_echo_n "(cached) " >&6
16819 ac_check_lib_save_LIBS=$LIBS
16821 if test x$gcc_no_link = xyes; then
16822 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16827 /* Override any GCC internal prototype to avoid an error.
16828 Use char because int might match the return type of a GCC
16829 builtin and then its argument prototype would still apply. */
16842 if ac_fn_c_try_link "$LINENO"; then :
16843 ac_cv_lib_c_brk=yes
16847 rm -f core conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16849 LIBS=$ac_check_lib_save_LIBS
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
16852 $as_echo "$ac_cv_lib_c_brk" >&6; }
16853 if test "x$ac_cv_lib_c_brk" = xyes; then :
16855 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16859 $as_echo "#undef HAVE_BRK" >>confdefs.h
16864 if test "x$ac_cv_lib_c_brk" = xyes; then
16866 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16868 elif test "x$ac_cv_func_brk" = xyes; then
16870 $as_echo "#define HAVE_BRK 1" >>confdefs.h
16874 $as_echo "#undef HAVE_BRK" >>confdefs.h
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
16881 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
16882 if test x$gcc_no_link != xyes; then
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
16884 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
16885 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
16886 $as_echo_n "(cached) " >&6
16888 ac_check_lib_save_LIBS=$LIBS
16890 if test x$gcc_no_link = xyes; then
16891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16894 /* end confdefs.h. */
16896 /* Override any GCC internal prototype to avoid an error.
16897 Use char because int might match the return type of a GCC
16898 builtin and then its argument prototype would still apply. */
16906 return cfmakeraw ();
16911 if ac_fn_c_try_link "$LINENO"; then :
16912 ac_cv_lib_c_cfmakeraw=yes
16914 ac_cv_lib_c_cfmakeraw=no
16916 rm -f core conftest.err conftest.$ac_objext \
16917 conftest$ac_exeext conftest.$ac_ext
16918 LIBS=$ac_check_lib_save_LIBS
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
16921 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
16922 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
16924 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
16928 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
16933 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
16935 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
16937 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
16939 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
16943 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
16950 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
16951 if test x$gcc_no_link != xyes; then
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
16953 $as_echo_n "checking for close in -lc... " >&6; }
16954 if ${ac_cv_lib_c_close+:} false; then :
16955 $as_echo_n "(cached) " >&6
16957 ac_check_lib_save_LIBS=$LIBS
16959 if test x$gcc_no_link = xyes; then
16960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16965 /* Override any GCC internal prototype to avoid an error.
16966 Use char because int might match the return type of a GCC
16967 builtin and then its argument prototype would still apply. */
16980 if ac_fn_c_try_link "$LINENO"; then :
16981 ac_cv_lib_c_close=yes
16983 ac_cv_lib_c_close=no
16985 rm -f core conftest.err conftest.$ac_objext \
16986 conftest$ac_exeext conftest.$ac_ext
16987 LIBS=$ac_check_lib_save_LIBS
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
16990 $as_echo "$ac_cv_lib_c_close" >&6; }
16991 if test "x$ac_cv_lib_c_close" = xyes; then :
16993 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
16997 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17002 if test "x$ac_cv_lib_c_close" = xyes; then
17004 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17006 elif test "x$ac_cv_func_close" = xyes; then
17008 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
17012 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
17019 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
17020 if test x$gcc_no_link != xyes; then
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
17022 $as_echo_n "checking for ctime in -lc... " >&6; }
17023 if ${ac_cv_lib_c_ctime+:} false; then :
17024 $as_echo_n "(cached) " >&6
17026 ac_check_lib_save_LIBS=$LIBS
17028 if test x$gcc_no_link = xyes; then
17029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17049 if ac_fn_c_try_link "$LINENO"; then :
17050 ac_cv_lib_c_ctime=yes
17052 ac_cv_lib_c_ctime=no
17054 rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17056 LIBS=$ac_check_lib_save_LIBS
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
17059 $as_echo "$ac_cv_lib_c_ctime" >&6; }
17060 if test "x$ac_cv_lib_c_ctime" = xyes; then :
17062 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17066 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17071 if test "x$ac_cv_lib_c_ctime" = xyes; then
17073 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17075 elif test "x$ac_cv_func_ctime" = xyes; then
17077 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
17081 $as_echo "#undef HAVE_CTIME" >>confdefs.h
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
17088 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
17089 if test x$gcc_no_link != xyes; then
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
17091 $as_echo_n "checking for creat in -lc... " >&6; }
17092 if ${ac_cv_lib_c_creat+:} false; then :
17093 $as_echo_n "(cached) " >&6
17095 ac_check_lib_save_LIBS=$LIBS
17097 if test x$gcc_no_link = xyes; then
17098 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17103 /* Override any GCC internal prototype to avoid an error.
17104 Use char because int might match the return type of a GCC
17105 builtin and then its argument prototype would still apply. */
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_lib_c_creat=yes
17121 ac_cv_lib_c_creat=no
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17125 LIBS=$ac_check_lib_save_LIBS
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
17128 $as_echo "$ac_cv_lib_c_creat" >&6; }
17129 if test "x$ac_cv_lib_c_creat" = xyes; then :
17131 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17135 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17140 if test "x$ac_cv_lib_c_creat" = xyes; then
17142 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17144 elif test "x$ac_cv_func_creat" = xyes; then
17146 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
17150 $as_echo "#undef HAVE_CREAT" >>confdefs.h
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
17157 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
17158 if test x$gcc_no_link != xyes; then
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
17160 $as_echo_n "checking for dup in -lc... " >&6; }
17161 if ${ac_cv_lib_c_dup+:} false; then :
17162 $as_echo_n "(cached) " >&6
17164 ac_check_lib_save_LIBS=$LIBS
17166 if test x$gcc_no_link = xyes; then
17167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17172 /* Override any GCC internal prototype to avoid an error.
17173 Use char because int might match the return type of a GCC
17174 builtin and then its argument prototype would still apply. */
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_lib_c_dup=yes
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 LIBS=$ac_check_lib_save_LIBS
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
17197 $as_echo "$ac_cv_lib_c_dup" >&6; }
17198 if test "x$ac_cv_lib_c_dup" = xyes; then :
17200 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17204 $as_echo "#undef HAVE_DUP" >>confdefs.h
17209 if test "x$ac_cv_lib_c_dup" = xyes; then
17211 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17213 elif test "x$ac_cv_func_dup" = xyes; then
17215 $as_echo "#define HAVE_DUP 1" >>confdefs.h
17219 $as_echo "#undef HAVE_DUP" >>confdefs.h
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
17226 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
17227 if test x$gcc_no_link != xyes; then
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
17229 $as_echo_n "checking for execve in -lc... " >&6; }
17230 if ${ac_cv_lib_c_execve+:} false; then :
17231 $as_echo_n "(cached) " >&6
17233 ac_check_lib_save_LIBS=$LIBS
17235 if test x$gcc_no_link = xyes; then
17236 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17241 /* Override any GCC internal prototype to avoid an error.
17242 Use char because int might match the return type of a GCC
17243 builtin and then its argument prototype would still apply. */
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_lib_c_execve=yes
17259 ac_cv_lib_c_execve=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 LIBS=$ac_check_lib_save_LIBS
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
17266 $as_echo "$ac_cv_lib_c_execve" >&6; }
17267 if test "x$ac_cv_lib_c_execve" = xyes; then :
17269 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17273 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17278 if test "x$ac_cv_lib_c_execve" = xyes; then
17280 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17282 elif test "x$ac_cv_func_execve" = xyes; then
17284 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
17288 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
17295 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
17296 if test x$gcc_no_link != xyes; then
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
17298 $as_echo_n "checking for exit in -lc... " >&6; }
17299 if ${ac_cv_lib_c_exit+:} false; then :
17300 $as_echo_n "(cached) " >&6
17302 ac_check_lib_save_LIBS=$LIBS
17304 if test x$gcc_no_link = xyes; then
17305 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17310 /* Override any GCC internal prototype to avoid an error.
17311 Use char because int might match the return type of a GCC
17312 builtin and then its argument prototype would still apply. */
17325 if ac_fn_c_try_link "$LINENO"; then :
17326 ac_cv_lib_c_exit=yes
17328 ac_cv_lib_c_exit=no
17330 rm -f core conftest.err conftest.$ac_objext \
17331 conftest$ac_exeext conftest.$ac_ext
17332 LIBS=$ac_check_lib_save_LIBS
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
17335 $as_echo "$ac_cv_lib_c_exit" >&6; }
17336 if test "x$ac_cv_lib_c_exit" = xyes; then :
17338 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17342 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17347 if test "x$ac_cv_lib_c_exit" = xyes; then
17349 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17351 elif test "x$ac_cv_func_exit" = xyes; then
17353 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
17357 $as_echo "#undef HAVE_EXIT" >>confdefs.h
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
17364 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
17365 if test x$gcc_no_link != xyes; then
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
17367 $as_echo_n "checking for fcntl in -lc... " >&6; }
17368 if ${ac_cv_lib_c_fcntl+:} false; then :
17369 $as_echo_n "(cached) " >&6
17371 ac_check_lib_save_LIBS=$LIBS
17373 if test x$gcc_no_link = xyes; then
17374 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17379 /* Override any GCC internal prototype to avoid an error.
17380 Use char because int might match the return type of a GCC
17381 builtin and then its argument prototype would still apply. */
17394 if ac_fn_c_try_link "$LINENO"; then :
17395 ac_cv_lib_c_fcntl=yes
17397 ac_cv_lib_c_fcntl=no
17399 rm -f core conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 LIBS=$ac_check_lib_save_LIBS
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
17404 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
17405 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
17407 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17411 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17416 if test "x$ac_cv_lib_c_fcntl" = xyes; then
17418 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17420 elif test "x$ac_cv_func_fcntl" = xyes; then
17422 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
17426 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
17433 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
17434 if test x$gcc_no_link != xyes; then
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
17436 $as_echo_n "checking for fstat in -lc... " >&6; }
17437 if ${ac_cv_lib_c_fstat+:} false; then :
17438 $as_echo_n "(cached) " >&6
17440 ac_check_lib_save_LIBS=$LIBS
17442 if test x$gcc_no_link = xyes; then
17443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17448 /* Override any GCC internal prototype to avoid an error.
17449 Use char because int might match the return type of a GCC
17450 builtin and then its argument prototype would still apply. */
17463 if ac_fn_c_try_link "$LINENO"; then :
17464 ac_cv_lib_c_fstat=yes
17466 ac_cv_lib_c_fstat=no
17468 rm -f core conftest.err conftest.$ac_objext \
17469 conftest$ac_exeext conftest.$ac_ext
17470 LIBS=$ac_check_lib_save_LIBS
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
17473 $as_echo "$ac_cv_lib_c_fstat" >&6; }
17474 if test "x$ac_cv_lib_c_fstat" = xyes; then :
17476 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17480 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17485 if test "x$ac_cv_lib_c_fstat" = xyes; then
17487 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17489 elif test "x$ac_cv_func_fstat" = xyes; then
17491 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
17495 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
17502 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
17503 if test x$gcc_no_link != xyes; then
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
17505 $as_echo_n "checking for getdents in -lc... " >&6; }
17506 if ${ac_cv_lib_c_getdents+:} false; then :
17507 $as_echo_n "(cached) " >&6
17509 ac_check_lib_save_LIBS=$LIBS
17511 if test x$gcc_no_link = xyes; then
17512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17517 /* Override any GCC internal prototype to avoid an error.
17518 Use char because int might match the return type of a GCC
17519 builtin and then its argument prototype would still apply. */
17527 return getdents ();
17532 if ac_fn_c_try_link "$LINENO"; then :
17533 ac_cv_lib_c_getdents=yes
17535 ac_cv_lib_c_getdents=no
17537 rm -f core conftest.err conftest.$ac_objext \
17538 conftest$ac_exeext conftest.$ac_ext
17539 LIBS=$ac_check_lib_save_LIBS
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
17542 $as_echo "$ac_cv_lib_c_getdents" >&6; }
17543 if test "x$ac_cv_lib_c_getdents" = xyes; then :
17545 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17549 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17554 if test "x$ac_cv_lib_c_getdents" = xyes; then
17556 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17558 elif test "x$ac_cv_func_getdents" = xyes; then
17560 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
17564 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
17571 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
17572 if test x$gcc_no_link != xyes; then
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
17574 $as_echo_n "checking for getgid in -lc... " >&6; }
17575 if ${ac_cv_lib_c_getgid+:} false; then :
17576 $as_echo_n "(cached) " >&6
17578 ac_check_lib_save_LIBS=$LIBS
17580 if test x$gcc_no_link = xyes; then
17581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17586 /* Override any GCC internal prototype to avoid an error.
17587 Use char because int might match the return type of a GCC
17588 builtin and then its argument prototype would still apply. */
17601 if ac_fn_c_try_link "$LINENO"; then :
17602 ac_cv_lib_c_getgid=yes
17604 ac_cv_lib_c_getgid=no
17606 rm -f core conftest.err conftest.$ac_objext \
17607 conftest$ac_exeext conftest.$ac_ext
17608 LIBS=$ac_check_lib_save_LIBS
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
17611 $as_echo "$ac_cv_lib_c_getgid" >&6; }
17612 if test "x$ac_cv_lib_c_getgid" = xyes; then :
17614 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17618 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17623 if test "x$ac_cv_lib_c_getgid" = xyes; then
17625 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17627 elif test "x$ac_cv_func_getgid" = xyes; then
17629 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
17633 $as_echo "#undef HAVE_GETGID" >>confdefs.h
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
17640 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
17641 if test x$gcc_no_link != xyes; then
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
17643 $as_echo_n "checking for getpid in -lc... " >&6; }
17644 if ${ac_cv_lib_c_getpid+:} false; then :
17645 $as_echo_n "(cached) " >&6
17647 ac_check_lib_save_LIBS=$LIBS
17649 if test x$gcc_no_link = xyes; then
17650 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17653 /* end confdefs.h. */
17655 /* Override any GCC internal prototype to avoid an error.
17656 Use char because int might match the return type of a GCC
17657 builtin and then its argument prototype would still apply. */
17670 if ac_fn_c_try_link "$LINENO"; then :
17671 ac_cv_lib_c_getpid=yes
17673 ac_cv_lib_c_getpid=no
17675 rm -f core conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17677 LIBS=$ac_check_lib_save_LIBS
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
17680 $as_echo "$ac_cv_lib_c_getpid" >&6; }
17681 if test "x$ac_cv_lib_c_getpid" = xyes; then :
17683 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17687 $as_echo "#undef HAVE_GETPID" >>confdefs.h
17692 if test "x$ac_cv_lib_c_getpid" = xyes; then
17694 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17696 elif test "x$ac_cv_func_getpid" = xyes; then
17698 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
17702 $as_echo "#undef HAVE_GETPID" >>confdefs.h
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
17709 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
17710 if test x$gcc_no_link != xyes; then
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
17712 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
17713 if ${ac_cv_lib_c_gettimeofday+:} false; then :
17714 $as_echo_n "(cached) " >&6
17716 ac_check_lib_save_LIBS=$LIBS
17718 if test x$gcc_no_link = xyes; then
17719 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17724 /* Override any GCC internal prototype to avoid an error.
17725 Use char because int might match the return type of a GCC
17726 builtin and then its argument prototype would still apply. */
17730 char gettimeofday ();
17734 return gettimeofday ();
17739 if ac_fn_c_try_link "$LINENO"; then :
17740 ac_cv_lib_c_gettimeofday=yes
17742 ac_cv_lib_c_gettimeofday=no
17744 rm -f core conftest.err conftest.$ac_objext \
17745 conftest$ac_exeext conftest.$ac_ext
17746 LIBS=$ac_check_lib_save_LIBS
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
17749 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
17750 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
17752 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
17756 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
17761 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
17763 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
17765 elif test "x$ac_cv_func_gettimeofday" = xyes; then
17767 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
17771 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
17778 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
17779 if test x$gcc_no_link != xyes; then
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
17781 $as_echo_n "checking for getuid in -lc... " >&6; }
17782 if ${ac_cv_lib_c_getuid+:} false; then :
17783 $as_echo_n "(cached) " >&6
17785 ac_check_lib_save_LIBS=$LIBS
17787 if test x$gcc_no_link = xyes; then
17788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17793 /* Override any GCC internal prototype to avoid an error.
17794 Use char because int might match the return type of a GCC
17795 builtin and then its argument prototype would still apply. */
17808 if ac_fn_c_try_link "$LINENO"; then :
17809 ac_cv_lib_c_getuid=yes
17811 ac_cv_lib_c_getuid=no
17813 rm -f core conftest.err conftest.$ac_objext \
17814 conftest$ac_exeext conftest.$ac_ext
17815 LIBS=$ac_check_lib_save_LIBS
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
17818 $as_echo "$ac_cv_lib_c_getuid" >&6; }
17819 if test "x$ac_cv_lib_c_getuid" = xyes; then :
17821 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
17825 $as_echo "#undef HAVE_GETUID" >>confdefs.h
17830 if test "x$ac_cv_lib_c_getuid" = xyes; then
17832 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
17834 elif test "x$ac_cv_func_getuid" = xyes; then
17836 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
17840 $as_echo "#undef HAVE_GETUID" >>confdefs.h
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
17847 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
17848 if test x$gcc_no_link != xyes; then
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
17850 $as_echo_n "checking for ioctl in -lc... " >&6; }
17851 if ${ac_cv_lib_c_ioctl+:} false; then :
17852 $as_echo_n "(cached) " >&6
17854 ac_check_lib_save_LIBS=$LIBS
17856 if test x$gcc_no_link = xyes; then
17857 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17862 /* Override any GCC internal prototype to avoid an error.
17863 Use char because int might match the return type of a GCC
17864 builtin and then its argument prototype would still apply. */
17877 if ac_fn_c_try_link "$LINENO"; then :
17878 ac_cv_lib_c_ioctl=yes
17880 ac_cv_lib_c_ioctl=no
17882 rm -f core conftest.err conftest.$ac_objext \
17883 conftest$ac_exeext conftest.$ac_ext
17884 LIBS=$ac_check_lib_save_LIBS
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
17887 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
17888 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
17890 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
17894 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
17899 if test "x$ac_cv_lib_c_ioctl" = xyes; then
17901 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
17903 elif test "x$ac_cv_func_ioctl" = xyes; then
17905 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
17909 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
17916 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
17917 if test x$gcc_no_link != xyes; then
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
17919 $as_echo_n "checking for kill in -lc... " >&6; }
17920 if ${ac_cv_lib_c_kill+:} false; then :
17921 $as_echo_n "(cached) " >&6
17923 ac_check_lib_save_LIBS=$LIBS
17925 if test x$gcc_no_link = xyes; then
17926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17931 /* Override any GCC internal prototype to avoid an error.
17932 Use char because int might match the return type of a GCC
17933 builtin and then its argument prototype would still apply. */
17946 if ac_fn_c_try_link "$LINENO"; then :
17947 ac_cv_lib_c_kill=yes
17949 ac_cv_lib_c_kill=no
17951 rm -f core conftest.err conftest.$ac_objext \
17952 conftest$ac_exeext conftest.$ac_ext
17953 LIBS=$ac_check_lib_save_LIBS
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
17956 $as_echo "$ac_cv_lib_c_kill" >&6; }
17957 if test "x$ac_cv_lib_c_kill" = xyes; then :
17959 $as_echo "#define HAVE_KILL 1" >>confdefs.h
17963 $as_echo "#undef HAVE_KILL" >>confdefs.h
17968 if test "x$ac_cv_lib_c_kill" = xyes; then
17970 $as_echo "#define HAVE_KILL 1" >>confdefs.h
17972 elif test "x$ac_cv_func_kill" = xyes; then
17974 $as_echo "#define HAVE_KILL 1" >>confdefs.h
17978 $as_echo "#undef HAVE_KILL" >>confdefs.h
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
17985 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
17986 if test x$gcc_no_link != xyes; then
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
17988 $as_echo_n "checking for link in -lc... " >&6; }
17989 if ${ac_cv_lib_c_link+:} false; then :
17990 $as_echo_n "(cached) " >&6
17992 ac_check_lib_save_LIBS=$LIBS
17994 if test x$gcc_no_link = xyes; then
17995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
18000 /* Override any GCC internal prototype to avoid an error.
18001 Use char because int might match the return type of a GCC
18002 builtin and then its argument prototype would still apply. */
18015 if ac_fn_c_try_link "$LINENO"; then :
18016 ac_cv_lib_c_link=yes
18018 ac_cv_lib_c_link=no
18020 rm -f core conftest.err conftest.$ac_objext \
18021 conftest$ac_exeext conftest.$ac_ext
18022 LIBS=$ac_check_lib_save_LIBS
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
18025 $as_echo "$ac_cv_lib_c_link" >&6; }
18026 if test "x$ac_cv_lib_c_link" = xyes; then :
18028 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18032 $as_echo "#undef HAVE_LINK" >>confdefs.h
18037 if test "x$ac_cv_lib_c_link" = xyes; then
18039 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18041 elif test "x$ac_cv_func_link" = xyes; then
18043 $as_echo "#define HAVE_LINK 1" >>confdefs.h
18047 $as_echo "#undef HAVE_LINK" >>confdefs.h
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
18054 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
18055 if test x$gcc_no_link != xyes; then
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
18057 $as_echo_n "checking for lseek in -lc... " >&6; }
18058 if ${ac_cv_lib_c_lseek+:} false; then :
18059 $as_echo_n "(cached) " >&6
18061 ac_check_lib_save_LIBS=$LIBS
18063 if test x$gcc_no_link = xyes; then
18064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18069 /* Override any GCC internal prototype to avoid an error.
18070 Use char because int might match the return type of a GCC
18071 builtin and then its argument prototype would still apply. */
18084 if ac_fn_c_try_link "$LINENO"; then :
18085 ac_cv_lib_c_lseek=yes
18087 ac_cv_lib_c_lseek=no
18089 rm -f core conftest.err conftest.$ac_objext \
18090 conftest$ac_exeext conftest.$ac_ext
18091 LIBS=$ac_check_lib_save_LIBS
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
18094 $as_echo "$ac_cv_lib_c_lseek" >&6; }
18095 if test "x$ac_cv_lib_c_lseek" = xyes; then :
18097 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18101 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18106 if test "x$ac_cv_lib_c_lseek" = xyes; then
18108 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18110 elif test "x$ac_cv_func_lseek" = xyes; then
18112 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
18116 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
18123 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
18124 if test x$gcc_no_link != xyes; then
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
18126 $as_echo_n "checking for open in -lc... " >&6; }
18127 if ${ac_cv_lib_c_open+:} false; then :
18128 $as_echo_n "(cached) " >&6
18130 ac_check_lib_save_LIBS=$LIBS
18132 if test x$gcc_no_link = xyes; then
18133 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18138 /* Override any GCC internal prototype to avoid an error.
18139 Use char because int might match the return type of a GCC
18140 builtin and then its argument prototype would still apply. */
18153 if ac_fn_c_try_link "$LINENO"; then :
18154 ac_cv_lib_c_open=yes
18156 ac_cv_lib_c_open=no
18158 rm -f core conftest.err conftest.$ac_objext \
18159 conftest$ac_exeext conftest.$ac_ext
18160 LIBS=$ac_check_lib_save_LIBS
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
18163 $as_echo "$ac_cv_lib_c_open" >&6; }
18164 if test "x$ac_cv_lib_c_open" = xyes; then :
18166 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18170 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18175 if test "x$ac_cv_lib_c_open" = xyes; then
18177 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18179 elif test "x$ac_cv_func_open" = xyes; then
18181 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
18185 $as_echo "#undef HAVE_OPEN" >>confdefs.h
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
18192 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
18193 if test x$gcc_no_link != xyes; then
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
18195 $as_echo_n "checking for pause in -lc... " >&6; }
18196 if ${ac_cv_lib_c_pause+:} false; then :
18197 $as_echo_n "(cached) " >&6
18199 ac_check_lib_save_LIBS=$LIBS
18201 if test x$gcc_no_link = xyes; then
18202 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205 /* end confdefs.h. */
18207 /* Override any GCC internal prototype to avoid an error.
18208 Use char because int might match the return type of a GCC
18209 builtin and then its argument prototype would still apply. */
18222 if ac_fn_c_try_link "$LINENO"; then :
18223 ac_cv_lib_c_pause=yes
18225 ac_cv_lib_c_pause=no
18227 rm -f core conftest.err conftest.$ac_objext \
18228 conftest$ac_exeext conftest.$ac_ext
18229 LIBS=$ac_check_lib_save_LIBS
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
18232 $as_echo "$ac_cv_lib_c_pause" >&6; }
18233 if test "x$ac_cv_lib_c_pause" = xyes; then :
18235 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18239 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18244 if test "x$ac_cv_lib_c_pause" = xyes; then
18246 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18248 elif test "x$ac_cv_func_pause" = xyes; then
18250 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
18254 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
18261 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
18262 if test x$gcc_no_link != xyes; then
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
18264 $as_echo_n "checking for pipe in -lc... " >&6; }
18265 if ${ac_cv_lib_c_pipe+:} false; then :
18266 $as_echo_n "(cached) " >&6
18268 ac_check_lib_save_LIBS=$LIBS
18270 if test x$gcc_no_link = xyes; then
18271 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18276 /* Override any GCC internal prototype to avoid an error.
18277 Use char because int might match the return type of a GCC
18278 builtin and then its argument prototype would still apply. */
18291 if ac_fn_c_try_link "$LINENO"; then :
18292 ac_cv_lib_c_pipe=yes
18294 ac_cv_lib_c_pipe=no
18296 rm -f core conftest.err conftest.$ac_objext \
18297 conftest$ac_exeext conftest.$ac_ext
18298 LIBS=$ac_check_lib_save_LIBS
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
18301 $as_echo "$ac_cv_lib_c_pipe" >&6; }
18302 if test "x$ac_cv_lib_c_pipe" = xyes; then :
18304 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18308 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18313 if test "x$ac_cv_lib_c_pipe" = xyes; then
18315 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18317 elif test "x$ac_cv_func_pipe" = xyes; then
18319 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
18323 $as_echo "#undef HAVE_PIPE" >>confdefs.h
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
18330 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
18331 if test x$gcc_no_link != xyes; then
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
18333 $as_echo_n "checking for rand in -lc... " >&6; }
18334 if ${ac_cv_lib_c_rand+:} false; then :
18335 $as_echo_n "(cached) " >&6
18337 ac_check_lib_save_LIBS=$LIBS
18339 if test x$gcc_no_link = xyes; then
18340 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18345 /* Override any GCC internal prototype to avoid an error.
18346 Use char because int might match the return type of a GCC
18347 builtin and then its argument prototype would still apply. */
18360 if ac_fn_c_try_link "$LINENO"; then :
18361 ac_cv_lib_c_rand=yes
18363 ac_cv_lib_c_rand=no
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18367 LIBS=$ac_check_lib_save_LIBS
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
18370 $as_echo "$ac_cv_lib_c_rand" >&6; }
18371 if test "x$ac_cv_lib_c_rand" = xyes; then :
18373 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18377 $as_echo "#undef HAVE_RAND" >>confdefs.h
18382 if test "x$ac_cv_lib_c_rand" = xyes; then
18384 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18386 elif test "x$ac_cv_func_rand" = xyes; then
18388 $as_echo "#define HAVE_RAND 1" >>confdefs.h
18392 $as_echo "#undef HAVE_RAND" >>confdefs.h
18398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
18399 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
18400 if test x$gcc_no_link != xyes; then
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
18402 $as_echo_n "checking for read in -lc... " >&6; }
18403 if ${ac_cv_lib_c_read+:} false; then :
18404 $as_echo_n "(cached) " >&6
18406 ac_check_lib_save_LIBS=$LIBS
18408 if test x$gcc_no_link = xyes; then
18409 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18414 /* Override any GCC internal prototype to avoid an error.
18415 Use char because int might match the return type of a GCC
18416 builtin and then its argument prototype would still apply. */
18429 if ac_fn_c_try_link "$LINENO"; then :
18430 ac_cv_lib_c_read=yes
18432 ac_cv_lib_c_read=no
18434 rm -f core conftest.err conftest.$ac_objext \
18435 conftest$ac_exeext conftest.$ac_ext
18436 LIBS=$ac_check_lib_save_LIBS
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
18439 $as_echo "$ac_cv_lib_c_read" >&6; }
18440 if test "x$ac_cv_lib_c_read" = xyes; then :
18442 $as_echo "#define HAVE_READ 1" >>confdefs.h
18446 $as_echo "#undef HAVE_READ" >>confdefs.h
18451 if test "x$ac_cv_lib_c_read" = xyes; then
18453 $as_echo "#define HAVE_READ 1" >>confdefs.h
18455 elif test "x$ac_cv_func_read" = xyes; then
18457 $as_echo "#define HAVE_READ 1" >>confdefs.h
18461 $as_echo "#undef HAVE_READ" >>confdefs.h
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
18468 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
18469 if test x$gcc_no_link != xyes; then
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
18471 $as_echo_n "checking for select in -lc... " >&6; }
18472 if ${ac_cv_lib_c_select+:} false; then :
18473 $as_echo_n "(cached) " >&6
18475 ac_check_lib_save_LIBS=$LIBS
18477 if test x$gcc_no_link = xyes; then
18478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18483 /* Override any GCC internal prototype to avoid an error.
18484 Use char because int might match the return type of a GCC
18485 builtin and then its argument prototype would still apply. */
18498 if ac_fn_c_try_link "$LINENO"; then :
18499 ac_cv_lib_c_select=yes
18501 ac_cv_lib_c_select=no
18503 rm -f core conftest.err conftest.$ac_objext \
18504 conftest$ac_exeext conftest.$ac_ext
18505 LIBS=$ac_check_lib_save_LIBS
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
18508 $as_echo "$ac_cv_lib_c_select" >&6; }
18509 if test "x$ac_cv_lib_c_select" = xyes; then :
18511 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18515 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18520 if test "x$ac_cv_lib_c_select" = xyes; then
18522 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18524 elif test "x$ac_cv_func_select" = xyes; then
18526 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
18530 $as_echo "#undef HAVE_SELECT" >>confdefs.h
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
18537 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
18538 if test x$gcc_no_link != xyes; then
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
18540 $as_echo_n "checking for setitimer in -lc... " >&6; }
18541 if ${ac_cv_lib_c_setitimer+:} false; then :
18542 $as_echo_n "(cached) " >&6
18544 ac_check_lib_save_LIBS=$LIBS
18546 if test x$gcc_no_link = xyes; then
18547 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18552 /* Override any GCC internal prototype to avoid an error.
18553 Use char because int might match the return type of a GCC
18554 builtin and then its argument prototype would still apply. */
18562 return setitimer ();
18567 if ac_fn_c_try_link "$LINENO"; then :
18568 ac_cv_lib_c_setitimer=yes
18570 ac_cv_lib_c_setitimer=no
18572 rm -f core conftest.err conftest.$ac_objext \
18573 conftest$ac_exeext conftest.$ac_ext
18574 LIBS=$ac_check_lib_save_LIBS
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
18577 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
18578 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
18580 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18584 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18589 if test "x$ac_cv_lib_c_setitimer" = xyes; then
18591 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18593 elif test "x$ac_cv_func_setitimer" = xyes; then
18595 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
18599 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
18606 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
18607 if test x$gcc_no_link != xyes; then
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
18609 $as_echo_n "checking for setgid in -lc... " >&6; }
18610 if ${ac_cv_lib_c_setgid+:} false; then :
18611 $as_echo_n "(cached) " >&6
18613 ac_check_lib_save_LIBS=$LIBS
18615 if test x$gcc_no_link = xyes; then
18616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18621 /* Override any GCC internal prototype to avoid an error.
18622 Use char because int might match the return type of a GCC
18623 builtin and then its argument prototype would still apply. */
18636 if ac_fn_c_try_link "$LINENO"; then :
18637 ac_cv_lib_c_setgid=yes
18639 ac_cv_lib_c_setgid=no
18641 rm -f core conftest.err conftest.$ac_objext \
18642 conftest$ac_exeext conftest.$ac_ext
18643 LIBS=$ac_check_lib_save_LIBS
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
18646 $as_echo "$ac_cv_lib_c_setgid" >&6; }
18647 if test "x$ac_cv_lib_c_setgid" = xyes; then :
18649 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18653 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18658 if test "x$ac_cv_lib_c_setgid" = xyes; then
18660 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18662 elif test "x$ac_cv_func_setgid" = xyes; then
18664 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
18668 $as_echo "#undef HAVE_SETGID" >>confdefs.h
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
18675 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
18676 if test x$gcc_no_link != xyes; then
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
18678 $as_echo_n "checking for setuid in -lc... " >&6; }
18679 if ${ac_cv_lib_c_setuid+:} false; then :
18680 $as_echo_n "(cached) " >&6
18682 ac_check_lib_save_LIBS=$LIBS
18684 if test x$gcc_no_link = xyes; then
18685 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18690 /* Override any GCC internal prototype to avoid an error.
18691 Use char because int might match the return type of a GCC
18692 builtin and then its argument prototype would still apply. */
18705 if ac_fn_c_try_link "$LINENO"; then :
18706 ac_cv_lib_c_setuid=yes
18708 ac_cv_lib_c_setuid=no
18710 rm -f core conftest.err conftest.$ac_objext \
18711 conftest$ac_exeext conftest.$ac_ext
18712 LIBS=$ac_check_lib_save_LIBS
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
18715 $as_echo "$ac_cv_lib_c_setuid" >&6; }
18716 if test "x$ac_cv_lib_c_setuid" = xyes; then :
18718 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
18722 $as_echo "#undef HAVE_SETUID" >>confdefs.h
18727 if test "x$ac_cv_lib_c_setuid" = xyes; then
18729 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
18731 elif test "x$ac_cv_func_setuid" = xyes; then
18733 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
18737 $as_echo "#undef HAVE_SETUID" >>confdefs.h
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
18744 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
18745 if test x$gcc_no_link != xyes; then
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
18747 $as_echo_n "checking for stat in -lc... " >&6; }
18748 if ${ac_cv_lib_c_stat+:} false; then :
18749 $as_echo_n "(cached) " >&6
18751 ac_check_lib_save_LIBS=$LIBS
18753 if test x$gcc_no_link = xyes; then
18754 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18757 /* end confdefs.h. */
18759 /* Override any GCC internal prototype to avoid an error.
18760 Use char because int might match the return type of a GCC
18761 builtin and then its argument prototype would still apply. */
18774 if ac_fn_c_try_link "$LINENO"; then :
18775 ac_cv_lib_c_stat=yes
18777 ac_cv_lib_c_stat=no
18779 rm -f core conftest.err conftest.$ac_objext \
18780 conftest$ac_exeext conftest.$ac_ext
18781 LIBS=$ac_check_lib_save_LIBS
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
18784 $as_echo "$ac_cv_lib_c_stat" >&6; }
18785 if test "x$ac_cv_lib_c_stat" = xyes; then :
18787 $as_echo "#define HAVE_STAT 1" >>confdefs.h
18791 $as_echo "#undef HAVE_STAT" >>confdefs.h
18796 if test "x$ac_cv_lib_c_stat" = xyes; then
18798 $as_echo "#define HAVE_STAT 1" >>confdefs.h
18800 elif test "x$ac_cv_func_stat" = xyes; then
18802 $as_echo "#define HAVE_STAT 1" >>confdefs.h
18806 $as_echo "#undef HAVE_STAT" >>confdefs.h
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
18813 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
18814 if test x$gcc_no_link != xyes; then
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
18816 $as_echo_n "checking for strsignal in -lc... " >&6; }
18817 if ${ac_cv_lib_c_strsignal+:} false; then :
18818 $as_echo_n "(cached) " >&6
18820 ac_check_lib_save_LIBS=$LIBS
18822 if test x$gcc_no_link = xyes; then
18823 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 /* end confdefs.h. */
18828 /* Override any GCC internal prototype to avoid an error.
18829 Use char because int might match the return type of a GCC
18830 builtin and then its argument prototype would still apply. */
18838 return strsignal ();
18843 if ac_fn_c_try_link "$LINENO"; then :
18844 ac_cv_lib_c_strsignal=yes
18846 ac_cv_lib_c_strsignal=no
18848 rm -f core conftest.err conftest.$ac_objext \
18849 conftest$ac_exeext conftest.$ac_ext
18850 LIBS=$ac_check_lib_save_LIBS
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
18853 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
18854 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
18856 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
18860 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
18865 if test "x$ac_cv_lib_c_strsignal" = xyes; then
18867 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
18869 elif test "x$ac_cv_func_strsignal" = xyes; then
18871 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
18875 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
18882 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
18883 if test x$gcc_no_link != xyes; then
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
18885 $as_echo_n "checking for strtod in -lc... " >&6; }
18886 if ${ac_cv_lib_c_strtod+:} false; then :
18887 $as_echo_n "(cached) " >&6
18889 ac_check_lib_save_LIBS=$LIBS
18891 if test x$gcc_no_link = xyes; then
18892 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h. */
18897 /* Override any GCC internal prototype to avoid an error.
18898 Use char because int might match the return type of a GCC
18899 builtin and then its argument prototype would still apply. */
18912 if ac_fn_c_try_link "$LINENO"; then :
18913 ac_cv_lib_c_strtod=yes
18915 ac_cv_lib_c_strtod=no
18917 rm -f core conftest.err conftest.$ac_objext \
18918 conftest$ac_exeext conftest.$ac_ext
18919 LIBS=$ac_check_lib_save_LIBS
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
18922 $as_echo "$ac_cv_lib_c_strtod" >&6; }
18923 if test "x$ac_cv_lib_c_strtod" = xyes; then :
18925 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
18929 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
18934 if test "x$ac_cv_lib_c_strtod" = xyes; then
18936 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
18938 elif test "x$ac_cv_func_strtod" = xyes; then
18940 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
18944 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
18951 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
18952 if test x$gcc_no_link != xyes; then
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
18954 $as_echo_n "checking for strtold in -lc... " >&6; }
18955 if ${ac_cv_lib_c_strtold+:} false; then :
18956 $as_echo_n "(cached) " >&6
18958 ac_check_lib_save_LIBS=$LIBS
18960 if test x$gcc_no_link = xyes; then
18961 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18964 /* end confdefs.h. */
18966 /* Override any GCC internal prototype to avoid an error.
18967 Use char because int might match the return type of a GCC
18968 builtin and then its argument prototype would still apply. */
18981 if ac_fn_c_try_link "$LINENO"; then :
18982 ac_cv_lib_c_strtold=yes
18984 ac_cv_lib_c_strtold=no
18986 rm -f core conftest.err conftest.$ac_objext \
18987 conftest$ac_exeext conftest.$ac_ext
18988 LIBS=$ac_check_lib_save_LIBS
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
18991 $as_echo "$ac_cv_lib_c_strtold" >&6; }
18992 if test "x$ac_cv_lib_c_strtold" = xyes; then :
18994 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
18998 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19003 if test "x$ac_cv_lib_c_strtold" = xyes; then
19005 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19007 elif test "x$ac_cv_func_strtold" = xyes; then
19009 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
19013 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
19020 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
19021 if test x$gcc_no_link != xyes; then
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
19023 $as_echo_n "checking for times in -lc... " >&6; }
19024 if ${ac_cv_lib_c_times+:} false; then :
19025 $as_echo_n "(cached) " >&6
19027 ac_check_lib_save_LIBS=$LIBS
19029 if test x$gcc_no_link = xyes; then
19030 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19035 /* Override any GCC internal prototype to avoid an error.
19036 Use char because int might match the return type of a GCC
19037 builtin and then its argument prototype would still apply. */
19050 if ac_fn_c_try_link "$LINENO"; then :
19051 ac_cv_lib_c_times=yes
19053 ac_cv_lib_c_times=no
19055 rm -f core conftest.err conftest.$ac_objext \
19056 conftest$ac_exeext conftest.$ac_ext
19057 LIBS=$ac_check_lib_save_LIBS
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
19060 $as_echo "$ac_cv_lib_c_times" >&6; }
19061 if test "x$ac_cv_lib_c_times" = xyes; then :
19063 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19067 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19072 if test "x$ac_cv_lib_c_times" = xyes; then
19074 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19076 elif test "x$ac_cv_func_times" = xyes; then
19078 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
19082 $as_echo "#undef HAVE_TIMES" >>confdefs.h
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
19089 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
19090 if test x$gcc_no_link != xyes; then
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
19092 $as_echo_n "checking for unlink in -lc... " >&6; }
19093 if ${ac_cv_lib_c_unlink+:} false; then :
19094 $as_echo_n "(cached) " >&6
19096 ac_check_lib_save_LIBS=$LIBS
19098 if test x$gcc_no_link = xyes; then
19099 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19102 /* end confdefs.h. */
19104 /* Override any GCC internal prototype to avoid an error.
19105 Use char because int might match the return type of a GCC
19106 builtin and then its argument prototype would still apply. */
19119 if ac_fn_c_try_link "$LINENO"; then :
19120 ac_cv_lib_c_unlink=yes
19122 ac_cv_lib_c_unlink=no
19124 rm -f core conftest.err conftest.$ac_objext \
19125 conftest$ac_exeext conftest.$ac_ext
19126 LIBS=$ac_check_lib_save_LIBS
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
19129 $as_echo "$ac_cv_lib_c_unlink" >&6; }
19130 if test "x$ac_cv_lib_c_unlink" = xyes; then :
19132 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19136 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19141 if test "x$ac_cv_lib_c_unlink" = xyes; then
19143 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19145 elif test "x$ac_cv_func_unlink" = xyes; then
19147 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
19151 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
19158 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
19159 if test x$gcc_no_link != xyes; then
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
19161 $as_echo_n "checking for wait in -lc... " >&6; }
19162 if ${ac_cv_lib_c_wait+:} false; then :
19163 $as_echo_n "(cached) " >&6
19165 ac_check_lib_save_LIBS=$LIBS
19167 if test x$gcc_no_link = xyes; then
19168 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h. */
19173 /* Override any GCC internal prototype to avoid an error.
19174 Use char because int might match the return type of a GCC
19175 builtin and then its argument prototype would still apply. */
19188 if ac_fn_c_try_link "$LINENO"; then :
19189 ac_cv_lib_c_wait=yes
19191 ac_cv_lib_c_wait=no
19193 rm -f core conftest.err conftest.$ac_objext \
19194 conftest$ac_exeext conftest.$ac_ext
19195 LIBS=$ac_check_lib_save_LIBS
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
19198 $as_echo "$ac_cv_lib_c_wait" >&6; }
19199 if test "x$ac_cv_lib_c_wait" = xyes; then :
19201 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19205 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19210 if test "x$ac_cv_lib_c_wait" = xyes; then
19212 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19214 elif test "x$ac_cv_func_wait" = xyes; then
19216 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
19220 $as_echo "#undef HAVE_WAIT" >>confdefs.h
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
19227 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
19228 if test x$gcc_no_link != xyes; then
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
19230 $as_echo_n "checking for write in -lc... " >&6; }
19231 if ${ac_cv_lib_c_write+:} false; then :
19232 $as_echo_n "(cached) " >&6
19234 ac_check_lib_save_LIBS=$LIBS
19236 if test x$gcc_no_link = xyes; then
19237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19240 /* end confdefs.h. */
19242 /* Override any GCC internal prototype to avoid an error.
19243 Use char because int might match the return type of a GCC
19244 builtin and then its argument prototype would still apply. */
19257 if ac_fn_c_try_link "$LINENO"; then :
19258 ac_cv_lib_c_write=yes
19260 ac_cv_lib_c_write=no
19262 rm -f core conftest.err conftest.$ac_objext \
19263 conftest$ac_exeext conftest.$ac_ext
19264 LIBS=$ac_check_lib_save_LIBS
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
19267 $as_echo "$ac_cv_lib_c_write" >&6; }
19268 if test "x$ac_cv_lib_c_write" = xyes; then :
19270 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19274 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19279 if test "x$ac_cv_lib_c_write" = xyes; then
19281 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19283 elif test "x$ac_cv_func_write" = xyes; then
19285 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
19289 $as_echo "#undef HAVE_WRITE" >>confdefs.h
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
19297 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
19298 if test x$gcc_no_link != xyes; then
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
19300 $as_echo_n "checking for signbit in -lm... " >&6; }
19301 if ${ac_cv_lib_m_signbit+:} false; then :
19302 $as_echo_n "(cached) " >&6
19304 ac_check_lib_save_LIBS=$LIBS
19306 if test x$gcc_no_link = xyes; then
19307 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19312 /* Override any GCC internal prototype to avoid an error.
19313 Use char because int might match the return type of a GCC
19314 builtin and then its argument prototype would still apply. */
19327 if ac_fn_c_try_link "$LINENO"; then :
19328 ac_cv_lib_m_signbit=yes
19330 ac_cv_lib_m_signbit=no
19332 rm -f core conftest.err conftest.$ac_objext \
19333 conftest$ac_exeext conftest.$ac_ext
19334 LIBS=$ac_check_lib_save_LIBS
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
19337 $as_echo "$ac_cv_lib_m_signbit" >&6; }
19338 if test "x$ac_cv_lib_m_signbit" = xyes; then :
19340 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19344 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19349 if test "x$ac_cv_lib_m_signbit" = xyes; then
19351 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19353 elif test "x$ac_cv_func_signbit" = xyes; then
19355 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
19359 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
19366 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
19367 if test x$gcc_no_link != xyes; then
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
19369 $as_echo_n "checking for signbitf in -lm... " >&6; }
19370 if ${ac_cv_lib_m_signbitf+:} false; then :
19371 $as_echo_n "(cached) " >&6
19373 ac_check_lib_save_LIBS=$LIBS
19375 if test x$gcc_no_link = xyes; then
19376 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19381 /* Override any GCC internal prototype to avoid an error.
19382 Use char because int might match the return type of a GCC
19383 builtin and then its argument prototype would still apply. */
19391 return signbitf ();
19396 if ac_fn_c_try_link "$LINENO"; then :
19397 ac_cv_lib_m_signbitf=yes
19399 ac_cv_lib_m_signbitf=no
19401 rm -f core conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext conftest.$ac_ext
19403 LIBS=$ac_check_lib_save_LIBS
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
19406 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
19407 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
19409 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19413 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19418 if test "x$ac_cv_lib_m_signbitf" = xyes; then
19420 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19422 elif test "x$ac_cv_func_signbitf" = xyes; then
19424 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
19428 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
19435 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
19436 if test x$gcc_no_link != xyes; then
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
19438 $as_echo_n "checking for signbitl in -lm... " >&6; }
19439 if ${ac_cv_lib_m_signbitl+:} false; then :
19440 $as_echo_n "(cached) " >&6
19442 ac_check_lib_save_LIBS=$LIBS
19444 if test x$gcc_no_link = xyes; then
19445 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19448 /* end confdefs.h. */
19450 /* Override any GCC internal prototype to avoid an error.
19451 Use char because int might match the return type of a GCC
19452 builtin and then its argument prototype would still apply. */
19460 return signbitl ();
19465 if ac_fn_c_try_link "$LINENO"; then :
19466 ac_cv_lib_m_signbitl=yes
19468 ac_cv_lib_m_signbitl=no
19470 rm -f core conftest.err conftest.$ac_objext \
19471 conftest$ac_exeext conftest.$ac_ext
19472 LIBS=$ac_check_lib_save_LIBS
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
19475 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
19476 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
19478 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19482 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19487 if test "x$ac_cv_lib_m_signbitl" = xyes; then
19489 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19491 elif test "x$ac_cv_func_signbitl" = xyes; then
19493 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
19497 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
19504 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
19506 # We test the host here and later on check the target.
19508 # All known M2_HOST_OS values. This is the union of all host operating systems
19509 # supported by gm2.
19511 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows"
19516 *-*-darwin*) M2_HOST_OS=darwin ;;
19517 *-*-freebsd*) M2_HOST_OS=freebsd ;;
19518 *-*-linux*) M2_HOST_OS=linux ;;
19519 *-*-netbsd*) M2_HOST_OS=netbsd ;;
19520 *-*-openbsd*) M2_HOST_OS=openbsd ;;
19521 *-*-solaris2*) M2_HOST_OS=solaris ;;
19522 *-*-aix*) M2_HOST_OS=aix ;;
19523 *-*-gnu*) M2_HOST_OS=hurd ;;
19526 # M2_HOST_OS=unknown
19527 if test x${M2_HOST_OS} = xunknown; then
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
19529 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
19536 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
19543 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
19546 # Propagate GM2_FOR_TARGET into Makefiles
19547 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
19550 # Now we check the target as long as it is a supported host.
19551 # For some embedded targets we choose minimal runtime system which is
19552 # just enough to satisfy the linker targetting raw metal.
19553 if test x${M2_HOST_OS} != xunknown; then
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
19555 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
19558 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
19565 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
19588 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
19589 # in the second parameter is printed as a "yes" or "no".
19593 if test x${M2_HOST_OS} = xunknown; then
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
19595 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
19599 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
19600 if test x${BUILD_PIMLIB} = xtrue; then
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19602 $as_echo "yes" >&6; }
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19605 $as_echo "no" >&6; }
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
19610 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
19611 if test x${BUILD_ISOLIB} = xtrue; then
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19613 $as_echo "yes" >&6; }
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19616 $as_echo "no" >&6; }
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
19621 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
19622 if test x${BUILD_CORLIB} = xtrue; then
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19624 $as_echo "yes" >&6; }
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19627 $as_echo "no" >&6; }
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
19632 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
19633 if test x${BUILD_LOGLIB} = xtrue; then
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19635 $as_echo "yes" >&6; }
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19638 $as_echo "no" >&6; }
19643 if test x$BUILD_PIMLIB = xtrue; then
19645 BUILD_PIMLIB_FALSE='#'
19647 BUILD_PIMLIB_TRUE='#'
19648 BUILD_PIMLIB_FALSE=
19651 if test x$BUILD_ISOLIB = xtrue; then
19653 BUILD_ISOLIB_FALSE='#'
19655 BUILD_ISOLIB_TRUE='#'
19656 BUILD_ISOLIB_FALSE=
19659 if test x$BUILD_CORLIB = xtrue; then
19661 BUILD_CORLIB_FALSE='#'
19663 BUILD_CORLIB_TRUE='#'
19664 BUILD_CORLIB_FALSE=
19667 if test x$BUILD_LOGLIB = xtrue; then
19669 BUILD_LOGLIB_FALSE='#'
19671 BUILD_LOGLIB_TRUE='#'
19672 BUILD_LOGLIB_FALSE=
19677 ac_config_files="$ac_config_files Makefile libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
19681 $as_echo "$as_me: libgm2 has been configured." >&6;}
19683 cat >confcache <<\_ACEOF
19684 # This file is a shell script that caches the results of configure
19685 # tests run on this system so they can be shared between configure
19686 # scripts and configure runs, see configure's option --config-cache.
19687 # It is not useful on other systems. If it contains results you don't
19688 # want to keep, you may remove or edit it.
19690 # config.status only pays attention to the cache file if you give it
19691 # the --recheck option to rerun configure.
19693 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19695 # following values.
19699 # The following way of writing the cache mishandles newlines in values,
19700 # but we know of no workaround that is simple, portable, and efficient.
19701 # So, we kill variables containing newlines.
19702 # Ultrix sh set writes to stderr and can't be redirected directly,
19703 # and sets the high bit in the cache file unless we assign to the vars.
19705 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19706 eval ac_val
=\$
$ac_var
19710 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19711 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19714 _ | IFS | as_nl
) ;; #(
19715 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19716 *) { eval $ac_var=; unset $ac_var;} ;;
19722 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19723 *${as_nl}ac_space
=\
*)
19724 # `set' does not quote correctly, so add quotes: double-quote
19725 # substitution turns \\\\ into \\, and sed turns \\ into \.
19728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19731 # `set' quotes correctly as required by POSIX, so do not add quotes.
19732 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19741 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19743 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19745 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19746 if test -w "$cache_file"; then
19747 if test "x$cache_file" != "x/dev/null"; then
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19749 $as_echo "$as_me: updating cache $cache_file" >&6;}
19750 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19751 cat confcache
>"$cache_file"
19753 case $cache_file in #(
19755 mv -f confcache
"$cache_file"$$
&&
19756 mv -f "$cache_file"$$
"$cache_file" ;; #(
19758 mv -f confcache
"$cache_file" ;;
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19764 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19769 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19770 # Let make expand exec_prefix.
19771 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19773 DEFS
=-DHAVE_CONFIG_H
19778 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19779 # 1. Remove the extension, and $U if already installed.
19780 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19781 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19782 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19783 # will be set to the directory where LIBOBJS objects are built.
19784 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19785 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19787 LIBOBJS
=$ac_libobjs
19789 LTLIBOBJS
=$ac_ltlibobjs
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19793 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19794 if test -n "$am_sleep_pid"; then
19795 # Hide warnings about reused PIDs.
19796 wait $am_sleep_pid 2>/dev
/null
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19799 $as_echo "done" >&6; }
19800 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19801 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19804 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19805 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19808 if test -n "$EXEEXT"; then
19810 am__EXEEXT_FALSE
='#'
19812 am__EXEEXT_TRUE
='#'
19816 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19817 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19820 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19821 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19824 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
19825 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
19826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19828 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
19829 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
19830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19832 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
19833 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
19834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19836 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
19837 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
19838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19840 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
19841 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
19842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19845 : "${CONFIG_STATUS=./config.status}"
19847 ac_clean_files_save
=$ac_clean_files
19848 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19850 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19852 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19854 # Generated by $as_me.
19855 # Run this file to recreate the current configuration.
19856 # Compiler output produced by configure, useful for debugging
19857 # configure, is in config.log if it exists.
19860 ac_cs_recheck=false
19863 SHELL=\${CONFIG_SHELL-$SHELL}
19866 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19867 ## -------------------- ##
19868 ## M4sh Initialization. ##
19869 ## -------------------- ##
19871 # Be more Bourne compatible
19872 DUALCASE
=1; export DUALCASE
# for MKS sh
19873 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19876 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19877 # is contrary to our usage. Disable this feature.
19878 alias -g '${1+"$@"}'='"$@"'
19879 setopt NO_GLOB_SUBST
19881 case `(set -o) 2>/dev/null` in #(
19893 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19894 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19895 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19896 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19897 # Prefer a ksh shell builtin over an external printf program on Solaris,
19898 # but without wasting forks for bash or zsh.
19899 if test -z "$BASH_VERSION$ZSH_VERSION" \
19900 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19901 as_echo='print
-r --'
19902 as_echo_n='print
-rn --'
19903 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19904 as_echo='printf %s
\n'
19905 as_echo_n='printf %s
'
19907 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19908 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19909 as_echo_n='/usr
/ucb
/echo -n'
19911 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19912 as_echo_n_body='eval
19916 expr "X$arg" : "X\\(.*\\)$as_nl";
19917 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19919 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19921 export as_echo_n_body
19922 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19924 export as_echo_body
19925 as_echo='sh
-c $as_echo_body as_echo
'
19928 # The user is always right.
19929 if test "${PATH_SEPARATOR+set}" != set; then
19931 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19932 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19939 # We need space, tab and new line, in precisely that order. Quoting is
19940 # there to prevent editors from complaining about space-tab.
19941 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19942 # splitting by setting IFS to empty value.)
19945 # Find who we are. Look in the path if we contain no directory separator.
19948 *[\\/]* ) as_myself=$0 ;;
19949 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19950 for as_dir in $PATH
19953 test -z "$as_dir" && as_dir=.
19954 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19960 # We did not find ourselves, most probably we were run as `sh COMMAND'
19961 # in which case we are not to be found in the path.
19962 if test "x$as_myself" = x
; then
19965 if test ! -f "$as_myself"; then
19966 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19970 # Unset variables that we do not need and which cause bugs (e.g. in
19971 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19972 # suppresses any "Segmentation fault" message there. '((' could
19973 # trigger a bug in pdksh 5.2.14.
19974 for as_var
in BASH_ENV ENV MAIL MAILPATH
19975 do eval test x\
${$as_var+set} = xset \
19976 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19989 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19992 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19993 # ----------------------------------------
19994 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19995 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19996 # script with STATUS, using 1 if that was 0.
19999 as_status
=$1; test $as_status -eq 0 && as_status
=1
20001 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20002 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20004 $as_echo "$as_me: error: $2" >&2
20005 as_fn_exit
$as_status
20009 # as_fn_set_status STATUS
20010 # -----------------------
20011 # Set $? to STATUS, without forking.
20012 as_fn_set_status
()
20015 } # as_fn_set_status
20017 # as_fn_exit STATUS
20018 # -----------------
20019 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20023 as_fn_set_status
$1
20029 # Portably unset VAR.
20032 { eval $1=; unset $1;}
20034 as_unset
=as_fn_unset
20035 # as_fn_append VAR VALUE
20036 # ----------------------
20037 # Append the text in VALUE to the end of the definition contained in VAR. Take
20038 # advantage of any shell optimizations that allow amortized linear growth over
20039 # repeated appends, instead of the typical quadratic growth present in naive
20041 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20042 eval 'as_fn_append ()
20053 # as_fn_arith ARG...
20054 # ------------------
20055 # Perform arithmetic evaluation on the ARGs, and store the result in the
20056 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20057 # must be portable across $(()) and expr.
20058 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20059 eval 'as_fn_arith ()
20066 as_val
=`expr "$@" || test $? -eq 1`
20071 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20072 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20078 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20079 as_basename
=basename
20084 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20090 as_me
=`$as_basename -- "$0" ||
20091 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20092 X"$0" : 'X\(//\)$' \| \
20093 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20095 sed '/^.*\/\([^/][^/]*\)\/*$/{
20109 # Avoid depending upon Character Ranges.
20110 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20111 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20112 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20113 as_cr_digits
='0123456789'
20114 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20116 ECHO_C
= ECHO_N
= ECHO_T
=
20117 case `echo -n x` in #(((((
20119 case `echo 'xy\c'` in
20120 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20122 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20129 rm -f conf$$ conf$$.exe conf$$.
file
20130 if test -d conf$$.dir
; then
20131 rm -f conf$$.dir
/conf$$.
file
20134 mkdir conf$$.dir
2>/dev
/null
20136 if (echo >conf$$.
file) 2>/dev
/null
; then
20137 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20139 # ... but there are two gotchas:
20140 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20141 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20142 # In both cases, we have to default to `cp -pR'.
20143 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20145 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20153 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20154 rmdir conf$$.dir
2>/dev
/null
20159 # Create "$as_dir" as a directory, including parents if necessary.
20164 -*) as_dir
=.
/$as_dir;;
20166 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20170 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20171 *) as_qdir
=$as_dir;;
20173 as_dirs
="'$as_qdir' $as_dirs"
20174 as_dir
=`$as_dirname -- "$as_dir" ||
20175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20176 X"$as_dir" : 'X\(//\)[^/]' \| \
20177 X"$as_dir" : 'X\(//\)$' \| \
20178 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20179 $as_echo X"$as_dir" |
20180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20184 /^X\(\/\/\)[^/].*/{
20197 test -d "$as_dir" && break
20199 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20200 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20204 if mkdir
-p .
2>/dev
/null
; then
20205 as_mkdir_p
='mkdir -p "$as_dir"'
20207 test -d .
/-p && rmdir .
/-p
20212 # as_fn_executable_p FILE
20213 # -----------------------
20214 # Test if FILE is an executable regular file.
20215 as_fn_executable_p
()
20217 test -f "$1" && test -x "$1"
20218 } # as_fn_executable_p
20219 as_test_x
='test -x'
20220 as_executable_p
=as_fn_executable_p
20222 # Sed expression to map a string onto a valid CPP name.
20223 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20225 # Sed expression to map a string onto a valid variable name.
20226 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20230 ## ----------------------------------- ##
20231 ## Main body of $CONFIG_STATUS script. ##
20232 ## ----------------------------------- ##
20234 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20237 # Save the log message, to keep $0 and so on meaningful, and to
20238 # report actual input values of CONFIG_FILES etc. instead of their
20239 # values after options handling.
20241 This file was extended by package-unused $as_me version-unused, which was
20242 generated by GNU Autoconf 2.69. Invocation command line was
20244 CONFIG_FILES = $CONFIG_FILES
20245 CONFIG_HEADERS = $CONFIG_HEADERS
20246 CONFIG_LINKS = $CONFIG_LINKS
20247 CONFIG_COMMANDS = $CONFIG_COMMANDS
20250 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20255 case $ac_config_files in *"
20256 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20259 case $ac_config_headers in *"
20260 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20265 # Files that config.status was made for.
20266 config_files="$ac_config_files"
20267 config_headers="$ac_config_headers"
20268 config_commands="$ac_config_commands"
20272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20274 \`$as_me' instantiates files and other configuration actions
20275 from templates according to the current configuration. Unless the files
20276 and actions are specified as TAGs, all are instantiated by default.
20278 Usage: $0 [OPTION]... [TAG]...
20280 -h, --help print this help, then exit
20281 -V, --version print version number and configuration settings, then exit
20282 --config print configuration, then exit
20283 -q, --quiet, --silent
20284 do not print progress messages
20285 -d, --debug don't remove temporary files
20286 --recheck update $as_me by reconfiguring in the same conditions
20287 --file=FILE[:TEMPLATE]
20288 instantiate the configuration file FILE
20289 --header=FILE[:TEMPLATE]
20290 instantiate the configuration header FILE
20292 Configuration files:
20295 Configuration headers:
20298 Configuration commands:
20301 Report bugs to the package provider."
20304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20305 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20307 package-unused config.status version-unused
20308 configured by $0, generated by GNU Autoconf 2.69,
20309 with options \\"\$ac_cs_config\\"
20311 Copyright (C) 2012 Free Software Foundation, Inc.
20312 This config.status script is free software; the Free Software Foundation
20313 gives unlimited permission to copy, distribute and modify it."
20320 test -n "\$AWK" || AWK=awk
20323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20324 # The default lists apply if the user does not specify any file.
20330 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20331 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20335 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20347 # Handling of the options.
20348 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20350 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20351 $as_echo "$ac_cs_version"; exit ;;
20352 --config |
--confi |
--conf |
--con |
--co |
--c )
20353 $as_echo "$ac_cs_config"; exit ;;
20354 --debug |
--debu |
--deb |
--de |
--d |
-d )
20356 --file |
--fil |
--fi |
--f )
20359 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20360 '') as_fn_error $?
"missing file argument" ;;
20362 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20363 ac_need_defaults
=false
;;
20364 --header |
--heade |
--head |
--hea )
20367 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20369 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20370 ac_need_defaults
=false
;;
20372 # Conflict between --help and --header
20373 as_fn_error $?
"ambiguous option: \`$1'
20374 Try \`$0 --help' for more information.";;
20375 --help |
--hel |
-h )
20376 $as_echo "$ac_cs_usage"; exit ;;
20377 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20378 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20381 # This is an error.
20382 -*) as_fn_error $?
"unrecognized option: \`$1'
20383 Try \`$0 --help' for more information." ;;
20385 *) as_fn_append ac_config_targets
" $1"
20386 ac_need_defaults
=false
;;
20392 ac_configure_extra_args
=
20394 if $ac_cs_silent; then
20396 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20401 if \$ac_cs_recheck; then
20402 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20404 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20405 CONFIG_SHELL='$SHELL'
20406 export CONFIG_SHELL
20411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20415 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20416 ## Running $as_me. ##
20422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20430 with_multisubdir="$with_multisubdir"
20431 with_multisrctop="$with_multisrctop"
20432 with_target_subdir="$with_target_subdir"
20433 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20434 multi_basedir="$multi_basedir"
20435 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20438 GFORTRAN="$GFORTRAN"
20440 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20443 # The HP-UX ksh and POSIX shell print the target directory to stdout
20444 # if CDPATH is set.
20445 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20447 sed_quote_subst='$sed_quote_subst'
20448 double_quote_subst='$double_quote_subst'
20449 delay_variable_subst='$delay_variable_subst'
20450 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20451 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20452 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20453 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20454 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20455 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20456 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20457 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20458 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20459 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20460 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20461 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20462 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20463 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20464 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20465 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20466 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20467 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20468 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20469 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20470 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20471 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20472 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20473 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20474 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20475 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20476 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20477 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20478 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20479 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20480 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20481 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20482 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20483 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20484 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20485 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20486 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20487 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20488 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20489 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20490 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20491 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20492 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20493 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20494 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20495 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20496 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20497 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20498 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"`'
20499 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20500 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20501 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20502 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20503 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20504 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20505 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20506 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20507 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20508 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20509 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20510 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20511 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20512 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20513 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20514 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20515 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20516 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20517 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20518 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20519 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20520 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20521 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20522 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20523 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20524 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20525 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20526 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20527 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20528 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20529 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20530 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
20531 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20532 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20533 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20534 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20535 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20536 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20537 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20538 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20539 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
20540 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20541 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20542 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20543 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20544 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20545 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20546 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20547 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20548 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20549 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20550 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20551 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20552 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20553 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20554 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20555 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20556 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20557 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20558 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20559 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20560 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20561 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20562 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20563 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20564 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20565 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20566 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20567 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20568 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20569 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20570 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20571 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20572 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20573 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20574 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20575 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20576 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20577 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20578 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20579 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20580 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20581 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20582 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20583 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20584 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20585 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20586 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20587 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20588 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20589 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20590 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20591 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20592 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20593 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20594 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20595 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20596 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20597 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20598 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20599 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20600 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20601 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20602 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
20603 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20604 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20605 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20606 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20607 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20608 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20609 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20610 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20611 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
20612 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20613 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20614 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20615 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20616 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20617 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20618 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20619 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20620 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20621 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20622 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20623 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20624 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20627 LTCFLAGS='$LTCFLAGS'
20628 compiler='$compiler_DEFAULT'
20630 # A function that is used when there is no print builtin or printf.
20631 func_fallback_echo ()
20633 eval 'cat <<_LTECHO_EOF
20638 # Quote evaled strings.
20652 deplibs_check_method \
20661 lt_cv_sys_global_symbol_pipe \
20662 lt_cv_sys_global_symbol_to_cdecl \
20663 lt_cv_sys_global_symbol_to_c_name_address \
20664 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20665 lt_prog_compiler_no_builtin_flag \
20666 lt_prog_compiler_wl \
20667 lt_prog_compiler_pic \
20668 lt_prog_compiler_static \
20669 lt_cv_prog_compiler_c_o \
20677 export_dynamic_flag_spec \
20678 whole_archive_flag_spec \
20679 compiler_needs_object \
20681 allow_undefined_flag \
20682 no_undefined_flag \
20683 hardcode_libdir_flag_spec \
20684 hardcode_libdir_flag_spec_ld \
20685 hardcode_libdir_separator \
20690 variables_saved_for_relink \
20692 library_names_spec \
20694 install_override_mode \
20698 compiler_lib_search_dirs \
20703 compiler_lib_search_path \
20707 lt_prog_compiler_no_builtin_flag_CXX \
20708 lt_prog_compiler_wl_CXX \
20709 lt_prog_compiler_pic_CXX \
20710 lt_prog_compiler_static_CXX \
20711 lt_cv_prog_compiler_c_o_CXX \
20712 export_dynamic_flag_spec_CXX \
20713 whole_archive_flag_spec_CXX \
20714 compiler_needs_object_CXX \
20716 allow_undefined_flag_CXX \
20717 no_undefined_flag_CXX \
20718 hardcode_libdir_flag_spec_CXX \
20719 hardcode_libdir_flag_spec_ld_CXX \
20720 hardcode_libdir_separator_CXX \
20721 fix_srcfile_path_CXX \
20722 exclude_expsyms_CXX \
20723 include_expsyms_CXX \
20724 file_list_spec_CXX \
20725 compiler_lib_search_dirs_CXX \
20726 predep_objects_CXX \
20727 postdep_objects_CXX \
20730 compiler_lib_search_path_CXX; do
20731 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20732 *[\\\\\\\`\\"\\\$]*)
20733 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20736 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20741 # Double-quote double-evaled strings.
20742 for var in reload_cmds \
20743 old_postinstall_cmds \
20744 old_postuninstall_cmds \
20746 extract_expsyms_cmds \
20747 old_archive_from_new_cmds \
20748 old_archive_from_expsyms_cmds \
20750 archive_expsym_cmds \
20752 module_expsym_cmds \
20753 export_symbols_cmds \
20756 postuninstall_cmds \
20758 sys_lib_search_path_spec \
20759 sys_lib_dlsearch_path_spec \
20761 old_archive_cmds_CXX \
20762 old_archive_from_new_cmds_CXX \
20763 old_archive_from_expsyms_cmds_CXX \
20765 archive_expsym_cmds_CXX \
20767 module_expsym_cmds_CXX \
20768 export_symbols_cmds_CXX \
20769 prelink_cmds_CXX; do
20770 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20771 *[\\\\\\\`\\"\\\$]*)
20772 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20775 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20780 ac_aux_dir='$ac_aux_dir'
20781 xsi_shell='$xsi_shell'
20782 lt_shell_append='$lt_shell_append'
20784 # See if we are running on zsh, and set the options which allow our
20785 # commands through without removal of \ escapes INIT.
20786 if test -n "\${ZSH_VERSION+set}" ; then
20787 setopt NO_GLOB_SUBST
20793 TIMESTAMP='$TIMESTAMP'
20804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20806 # Handling of arguments.
20807 for ac_config_target
in $ac_config_targets
20809 case $ac_config_target in
20810 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20811 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20812 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20813 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20814 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20815 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
20816 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
20817 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
20818 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
20819 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
20821 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20826 # If the user did not use the arguments to specify the items to instantiate,
20827 # then the envvar interface is used. Set only those that are not.
20828 # We use the long form for the default assignment because of an extremely
20829 # bizarre bug on SunOS 4.1.3.
20830 if $ac_need_defaults; then
20831 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20832 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20833 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20836 # Have a temporary directory for convenience. Make it in the build tree
20837 # simply because there is no reason against having it here, and in addition,
20838 # creating and moving files from /tmp can sometimes cause problems.
20839 # Hook for its removal unless debugging.
20840 # Note that there is a small window in which the directory will not be cleaned:
20841 # after its creation but before its name has been assigned to `$tmp'.
20845 trap 'exit_status=$?
20846 : "${ac_tmp:=$tmp}"
20847 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20849 trap 'as_fn_exit 1' 1 2 13 15
20851 # Create a (secure) tmp directory for tmp files.
20854 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20858 tmp
=.
/conf$$
-$RANDOM
20859 (umask 077 && mkdir
"$tmp")
20860 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20863 # Set up the scripts for CONFIG_FILES section.
20864 # No need to generate them if there are no CONFIG_FILES.
20865 # This happens for instance with `./config.status config.h'.
20866 if test -n "$CONFIG_FILES"; then
20869 ac_cr
=`echo X | tr X '\015'`
20870 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20871 # But we know of no other shell where ac_cr would be empty at this
20872 # point, so we can use a bashism as a fallback.
20873 if test "x$ac_cr" = x
; then
20874 eval ac_cr
=\$
\'\\r
\'
20876 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20877 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20880 ac_cs_awk_cr
=$ac_cr
20883 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20888 echo "cat >conf$$subs.awk <<_ACEOF" &&
20889 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20891 } >conf$$subs.sh ||
20892 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20893 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20895 for ac_last_try in false false false false false :; do
20896 . ./conf$$subs.sh ||
20897 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20899 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20900 if test $ac_delim_n = $ac_delim_num; then
20902 elif $ac_last_try; then
20903 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20905 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20908 rm -f conf$$subs.sh
20910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20911 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20915 s/^/S["/; s
/!.
*/"]=/
20925 s/\(.\{148\}\)..*/\1/
20927 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20932 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20939 s/\(.\{148\}\)..*/\1/
20941 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20945 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20950 ' <conf$$subs.awk | sed '
20955 ' >>$CONFIG_STATUS || ac_write_fail=1
20956 rm -f conf$$subs.awk
20957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20959 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20960 for (key in S) S_is_set[key] = 1
20966 nfields = split(line, field, "@
")
20968 len = length(field[1])
20969 for (i = 2; i < nfields; i++) {
20971 keylen = length(key)
20972 if (S_is_set[key]) {
20974 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20975 len += length(value) + length(field[++i])
20986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20987 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20988 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20991 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20992 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20995 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20996 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20997 # trailing colons and then remove the whole line if VPATH becomes empty
20998 # (actually we leave an empty line to preserve line numbers).
20999 if test "x
$srcdir" = x.; then
21000 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21019 fi # test -n "$CONFIG_FILES"
21021 # Set up the scripts for CONFIG_HEADERS section.
21022 # No need to generate them if there are no CONFIG_HEADERS.
21023 # This happens for instance with `./config.status Makefile'.
21024 if test -n "$CONFIG_HEADERS"; then
21025 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21029 # Transform confdefs.h into an awk script `defines.awk', embedded as
21030 # here-document in config.status, that substitutes the proper values into
21031 # config.h.in to produce config.h.
21033 # Create a delimiter string that does not exist in confdefs.h, to ease
21034 # handling of long lines.
21036 for ac_last_try in false false :; do
21037 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21038 if test -z "$ac_tt"; then
21040 elif $ac_last_try; then
21041 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21043 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21047 # For the awk script, D is an array of macro values keyed by name,
21048 # likewise P contains macro parameters if any. Preserve backslash
21049 # newline sequences.
21051 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21053 s/.\{148\}/&'"$ac_delim"'/g
21056 s/^[ ]*#[ ]*define[ ][ ]*/ /
21063 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21065 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21069 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21070 D["\
1"]=" \
3\\\\\\n
"\\/p
21072 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21077 s/.\{148\}/&'"$ac_delim"'/g
21082 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21085 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21087 ' <confdefs.h | sed '
21088 s/'"$ac_delim"'/"\\\
21089 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21092 for (key in D) D_is_set[key] = 1
21095 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21097 split(line, arg, " ")
21098 if (arg[1] == "#") {
21102 defundef
= substr
(arg
[1], 2)
21105 split(mac1
, mac2
, "(") #)
21107 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21108 if (D_is_set
[macro
]) {
21109 # Preserve the white space surrounding the "#".
21110 print prefix
"define", macro P
[macro
] D
[macro
]
21113 # Replace #undef with comments. This is necessary, for example,
21114 # in the case of _POSIX_SOURCE, which is predefined and required
21115 # on some systems where configure will not decide to define it.
21116 if (defundef
== "undef") {
21117 print
"/*", prefix defundef
, macro
, "*/"
21125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21126 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21127 fi # test -n "$CONFIG_HEADERS"
21130 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21135 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21137 case $ac_mode$ac_tag in
21139 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21140 :[FH
]-) ac_tag
=-:-;;
21141 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21158 -) ac_f
="$ac_tmp/stdin";;
21159 *) # Look for the file first in the build tree, then in the source tree
21160 # (if the path is not absolute). The absolute path cannot be DOS-style,
21161 # because $ac_f cannot contain `:'.
21165 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21167 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21169 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21170 as_fn_append ac_file_inputs
" '$ac_f'"
21173 # Let's still pretend it is `configure' which instantiates (i.e., don't
21174 # use $as_me), people would be surprised to read:
21175 # /* config.h. Generated by config.status. */
21176 configure_input
='Generated from '`
21177 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21179 if test x
"$ac_file" != x-
; then
21180 configure_input
="$ac_file. $configure_input"
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21182 $as_echo "$as_me: creating $ac_file" >&6;}
21184 # Neutralize special characters interpreted by sed in replacement strings.
21185 case $configure_input in #(
21186 *\
&* |
*\|
* |
*\\* )
21187 ac_sed_conf_input
=`$as_echo "$configure_input" |
21188 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21189 *) ac_sed_conf_input
=$configure_input;;
21193 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21194 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21199 ac_dir
=`$as_dirname -- "$ac_file" ||
21200 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21201 X"$ac_file" : 'X\(//\)[^/]' \| \
21202 X"$ac_file" : 'X\(//\)$' \| \
21203 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21204 $as_echo X"$ac_file" |
21205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21209 /^X\(\/\/\)[^/].*/{
21222 as_dir
="$ac_dir"; as_fn_mkdir_p
21226 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21228 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21229 # A ".." for each directory in $ac_dir_suffix.
21230 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21231 case $ac_top_builddir_sub in
21232 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21233 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21236 ac_abs_top_builddir
=$ac_pwd
21237 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21238 # for backward compatibility:
21239 ac_top_builddir
=$ac_top_build_prefix
21242 .
) # We are building in place.
21244 ac_top_srcdir
=$ac_top_builddir_sub
21245 ac_abs_top_srcdir
=$ac_pwd ;;
21246 [\\/]* | ?
:[\\/]* ) # Absolute name.
21247 ac_srcdir
=$srcdir$ac_dir_suffix;
21248 ac_top_srcdir
=$srcdir
21249 ac_abs_top_srcdir
=$srcdir ;;
21250 *) # Relative name.
21251 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21252 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21253 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21255 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21265 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21266 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21268 ac_MKDIR_P
=$MKDIR_P
21270 [\\/$
]* | ?
:[\\/]* ) ;;
21271 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21276 # If the template does not know about datarootdir, expand it.
21277 # FIXME: This hack should be removed a few years after 2.60.
21278 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21289 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21290 *datarootdir
*) ac_datarootdir_seen
=yes;;
21291 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21293 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21296 ac_datarootdir_hack='
21297 s&@datadir@&$datadir&g
21298 s&@docdir@&$docdir&g
21299 s&@infodir@&$infodir&g
21300 s&@localedir@&$localedir&g
21301 s&@mandir@&$mandir&g
21302 s&\\\${datarootdir}&$datarootdir&g' ;;
21306 # Neutralize VPATH when `$srcdir' = `.'.
21307 # Shell code in configure.ac might set extrasub.
21308 # FIXME: do we really want to maintain this feature?
21309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21310 ac_sed_extra="$ac_vpsub
21313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21315 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21316 s|@configure_input@|
$ac_sed_conf_input|
;t t
21317 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21318 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21319 s
&@srcdir@
&$ac_srcdir&;t t
21320 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21321 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21322 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21323 s
&@builddir@
&$ac_builddir&;t t
21324 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21325 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21326 s
&@INSTALL@
&$ac_INSTALL&;t t
21327 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21328 $ac_datarootdir_hack
21330 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21331 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21333 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21334 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21335 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21336 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21338 which seems to be undefined. Please make sure it is defined" >&5
21339 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21340 which seems to be undefined. Please make sure it is defined" >&2;}
21342 rm -f "$ac_tmp/stdin"
21344 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21345 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21347 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21353 if test x"$ac_file" != x-; then
21355 $as_echo "/* $configure_input */" \
21356 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21357 } >"$ac_tmp/config.h" \
21358 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21359 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21361 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21364 mv "$ac_tmp/config.h" "$ac_file" \
21365 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21368 $as_echo "/* $configure_input */" \
21369 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21370 || as_fn_error $? "could not create -" "$LINENO" 5
21372 # Compute "$ac_file"'s index
in $config_headers.
21375 for _am_header
in $config_headers :; do
21376 case $_am_header in
21377 $_am_arg |
$_am_arg:* )
21380 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21383 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21384 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21385 X"$_am_arg" : 'X\(//\)[^/]' \| \
21386 X"$_am_arg" : 'X\(//\)$' \| \
21387 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21388 $as_echo X"$_am_arg" |
21389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21393 /^X\(\/\/\)[^/].*/{
21405 s/.*/./; q'`/stamp-h
$_am_stamp_count
21408 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21409 $as_echo "$as_me: executing $ac_file commands" >&6;}
21414 case $ac_file$ac_mode in
21416 # Only add multilib support code if we just rebuilt the top-level
21418 case " $CONFIG_FILES " in
21420 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21423 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21424 # Older Autoconf quotes --file arguments for eval, but not when files
21425 # are listed without --file. Let's play safe and only enable the eval
21426 # if we detect the quoting.
21427 case $CONFIG_FILES in
21428 *\'*) eval set x
"$CONFIG_FILES" ;;
21429 *) set x
$CONFIG_FILES ;;
21434 # Strip MF so we end up with the name of the file.
21435 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21436 # Check whether this is an Automake generated Makefile or not.
21437 # We used to match only the files named 'Makefile.in', but
21438 # some people rename them; so instead we look at the file content.
21439 # Grep'ing the first line is not enough: some people post-process
21440 # each Makefile.in and add a new line on top of each file to say so.
21441 # Grep'ing the whole file is not good either: AIX grep has a line
21442 # limit of 2048, but all sed's we know have understand at least 4000.
21443 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21444 dirpart
=`$as_dirname -- "$mf" ||
21445 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21446 X"$mf" : 'X\(//\)[^/]' \| \
21447 X"$mf" : 'X\(//\)$' \| \
21448 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21454 /^X\(\/\/\)[^/].*/{
21470 # Extract the definition of DEPDIR, am__include, and am__quote
21471 # from the Makefile without running 'make'.
21472 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21473 test -z "$DEPDIR" && continue
21474 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21475 test -z "$am__include" && continue
21476 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21477 # Find all dependency output files, they are included files with
21478 # $(DEPDIR) in their names. We invoke sed twice because it is the
21479 # simplest approach to changing $(DEPDIR) to its actual value in the
21481 for file in `sed -n "
21482 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21483 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21484 # Make sure the directory exists.
21485 test -f "$dirpart/$file" && continue
21486 fdir
=`$as_dirname -- "$file" ||
21487 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21488 X"$file" : 'X\(//\)[^/]' \| \
21489 X"$file" : 'X\(//\)$' \| \
21490 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21491 $as_echo X"$file" |
21492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21496 /^X\(\/\/\)[^/].*/{
21509 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21510 # echo "creating $dirpart/$file"
21511 echo '# dummy' > "$dirpart/$file"
21518 # See if we are running on zsh, and set the options which allow our
21519 # commands through without removal of \ escapes.
21520 if test -n "${ZSH_VERSION+set}" ; then
21521 setopt NO_GLOB_SUBST
21524 cfgfile
="${ofile}T"
21525 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21528 cat <<_LT_EOF >> "$cfgfile"
21531 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21532 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21533 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21534 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21536 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21537 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
21538 # Written by Gordon Matzigkeit, 1996
21540 # This file is part of GNU Libtool.
21542 # GNU Libtool is free software; you can redistribute it and/or
21543 # modify it under the terms of the GNU General Public License as
21544 # published by the Free Software Foundation; either version 2 of
21545 # the License, or (at your option) any later version.
21547 # As a special exception to the GNU General Public License,
21548 # if you distribute this file as part of a program or library that
21549 # is built using GNU Libtool, you may include this file under the
21550 # same distribution terms that you use for the rest of that program.
21552 # GNU Libtool is distributed in the hope that it will be useful,
21553 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21554 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21555 # GNU General Public License for more details.
21557 # You should have received a copy of the GNU General Public License
21558 # along with GNU Libtool; see the file COPYING. If not, a copy
21559 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21560 # obtained by writing to the Free Software Foundation, Inc.,
21561 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21564 # The names of the tagged configurations supported by this script.
21565 available_tags="CXX "
21567 # ### BEGIN LIBTOOL CONFIG
21569 # Which release of libtool.m4 was used?
21570 macro_version=$macro_version
21571 macro_revision=$macro_revision
21573 # Whether or not to build shared libraries.
21574 build_libtool_libs=$enable_shared
21576 # Whether or not to build static libraries.
21577 build_old_libs=$enable_static
21579 # What type of objects to build.
21582 # Whether or not to optimize for fast installation.
21583 fast_install=$enable_fast_install
21585 # Shell to use when invoking shell scripts.
21588 # An echo program that protects backslashes.
21592 host_alias=$host_alias
21596 # The build system.
21597 build_alias=$build_alias
21601 # A sed program that does not truncate output.
21604 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21605 Xsed="\$SED -e 1s/^X//"
21607 # A grep program that handles long lines.
21613 # A literal string matcher.
21616 # A BSD- or MS-compatible name lister.
21619 # Whether we need soft or hard links.
21622 # What is the maximum length of a command?
21623 max_cmd_len=$max_cmd_len
21625 # Object file suffix (normally "o").
21628 # Executable file suffix (normally "").
21631 # whether the shell understands "unset".
21634 # turn spaces into newlines.
21637 # turn newlines into spaces.
21640 # An object symbol dumper.
21641 OBJDUMP=$lt_OBJDUMP
21643 # Method to check whether dependent libraries are shared objects.
21644 deplibs_check_method=$lt_deplibs_check_method
21646 # Command to use when deplibs_check_method == "file_magic".
21647 file_magic_cmd=$lt_file_magic_cmd
21651 AR_FLAGS=$lt_AR_FLAGS
21653 # A symbol stripping program.
21656 # Commands used to install an old-style archive.
21658 old_postinstall_cmds=$lt_old_postinstall_cmds
21659 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21661 # Whether to use a lock for old archive extraction.
21662 lock_old_archive_extraction=$lock_old_archive_extraction
21667 # LTCC compiler flags.
21668 LTCFLAGS=$lt_CFLAGS
21670 # Take the output of nm and produce a listing of raw symbols and C names.
21671 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21673 # Transform the output of nm in a proper C declaration.
21674 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21676 # Transform the output of nm in a C name address pair.
21677 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21679 # Transform the output of nm in a C name address pair when lib prefix is needed.
21680 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21682 # The name of the directory that contains temporary libtool files.
21685 # Used to examine libraries when file_magic_cmd begins with "file".
21686 MAGIC_CMD=$MAGIC_CMD
21688 # Must we lock files when doing compilation?
21689 need_locks=$lt_need_locks
21691 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21692 DSYMUTIL=$lt_DSYMUTIL
21694 # Tool to change global to local symbols on Mac OS X.
21697 # Tool to manipulate fat objects and archives on Mac OS X.
21700 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21703 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21704 OTOOL64=$lt_OTOOL64
21706 # Old archive suffix (normally "a").
21709 # Shared library suffix (normally ".so").
21710 shrext_cmds=$lt_shrext_cmds
21712 # The commands to extract the exported symbol list from a shared archive.
21713 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21715 # Variables whose values should be saved in libtool wrapper scripts and
21716 # restored at link time.
21717 variables_saved_for_relink=$lt_variables_saved_for_relink
21719 # Do we need the "lib" prefix for modules?
21720 need_lib_prefix=$need_lib_prefix
21722 # Do we need a version for libraries?
21723 need_version=$need_version
21725 # Library versioning type.
21726 version_type=$version_type
21728 # Shared library runtime path variable.
21729 runpath_var=$runpath_var
21731 # Shared library path variable.
21732 shlibpath_var=$shlibpath_var
21734 # Is shlibpath searched before the hard-coded library search path?
21735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21737 # Format of library name prefix.
21738 libname_spec=$lt_libname_spec
21740 # List of archive names. First name is the real one, the rest are links.
21741 # The last name is the one that the linker finds with -lNAME
21742 library_names_spec=$lt_library_names_spec
21744 # The coded name of the library, if different from the real name.
21745 soname_spec=$lt_soname_spec
21747 # Permission mode override for installation of shared libraries.
21748 install_override_mode=$lt_install_override_mode
21750 # Command to use after installation of a shared archive.
21751 postinstall_cmds=$lt_postinstall_cmds
21753 # Command to use after uninstallation of a shared archive.
21754 postuninstall_cmds=$lt_postuninstall_cmds
21756 # Commands used to finish a libtool library installation in a directory.
21757 finish_cmds=$lt_finish_cmds
21759 # As "finish_cmds", except a single script fragment to be evaled but
21761 finish_eval=$lt_finish_eval
21763 # Whether we should hardcode library paths into libraries.
21764 hardcode_into_libs=$hardcode_into_libs
21766 # Compile-time system search path for libraries.
21767 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21769 # Run-time system search path for libraries.
21770 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21772 # Whether dlopen is supported.
21773 dlopen_support=$enable_dlopen
21775 # Whether dlopen of programs is supported.
21776 dlopen_self=$enable_dlopen_self
21778 # Whether dlopen of statically linked programs is supported.
21779 dlopen_self_static=$enable_dlopen_self_static
21781 # Commands to strip libraries.
21782 old_striplib=$lt_old_striplib
21783 striplib=$lt_striplib
21786 # The linker used to build libraries.
21789 # How to create reloadable object files.
21790 reload_flag=$lt_reload_flag
21791 reload_cmds=$lt_reload_cmds
21793 # Commands used to build an old-style archive.
21794 old_archive_cmds=$lt_old_archive_cmds
21796 # A language specific compiler.
21799 # Is the compiler the GNU compiler?
21802 # Compiler flag to turn off builtin functions.
21803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21805 # How to pass a linker flag through the compiler.
21806 wl=$lt_lt_prog_compiler_wl
21808 # Additional compiler flags for building library objects.
21809 pic_flag=$lt_lt_prog_compiler_pic
21811 # Compiler flag to prevent dynamic linking.
21812 link_static_flag=$lt_lt_prog_compiler_static
21814 # Does compiler simultaneously support -c and -o options?
21815 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21817 # Whether or not to add -lc for building shared libraries.
21818 build_libtool_need_lc=$archive_cmds_need_lc
21820 # Whether or not to disallow shared libs when runtime libs are static.
21821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21823 # Compiler flag to allow reflexive dlopens.
21824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21826 # Compiler flag to generate shared objects directly from archives.
21827 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21829 # Whether the compiler copes with passing no objects directly.
21830 compiler_needs_object=$lt_compiler_needs_object
21832 # Create an old-style archive from a shared archive.
21833 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21835 # Create a temporary old-style archive to link instead of a shared archive.
21836 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21838 # Commands used to build a shared archive.
21839 archive_cmds=$lt_archive_cmds
21840 archive_expsym_cmds=$lt_archive_expsym_cmds
21842 # Commands used to build a loadable module if different from building
21843 # a shared archive.
21844 module_cmds=$lt_module_cmds
21845 module_expsym_cmds=$lt_module_expsym_cmds
21847 # Whether we are building with GNU ld or not.
21848 with_gnu_ld=$lt_with_gnu_ld
21850 # Flag that allows shared libraries with undefined symbols to be built.
21851 allow_undefined_flag=$lt_allow_undefined_flag
21853 # Flag that enforces no undefined symbols.
21854 no_undefined_flag=$lt_no_undefined_flag
21856 # Flag to hardcode \$libdir into a binary during linking.
21857 # This must work even if \$libdir does not exist
21858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21860 # If ld is used when linking, flag to hardcode \$libdir into a binary
21861 # during linking. This must work even if \$libdir does not exist.
21862 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21864 # Whether we need a single "-rpath" flag with a separated argument.
21865 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21868 # DIR into the resulting binary.
21869 hardcode_direct=$hardcode_direct
21871 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21872 # DIR into the resulting binary and the resulting library dependency is
21873 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21874 # library is relocated.
21875 hardcode_direct_absolute=$hardcode_direct_absolute
21877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21878 # into the resulting binary.
21879 hardcode_minus_L=$hardcode_minus_L
21881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21882 # into the resulting binary.
21883 hardcode_shlibpath_var=$hardcode_shlibpath_var
21885 # Set to "yes" if building a shared library automatically hardcodes DIR
21886 # into the library and all subsequent libraries and executables linked
21888 hardcode_automatic=$hardcode_automatic
21890 # Set to yes if linker adds runtime paths of dependent libraries
21891 # to runtime path list.
21892 inherit_rpath=$inherit_rpath
21894 # Whether libtool must link a program against all its dependency libraries.
21895 link_all_deplibs=$link_all_deplibs
21897 # Fix the shell variable \$srcfile for the compiler.
21898 fix_srcfile_path=$lt_fix_srcfile_path
21900 # Set to "yes" if exported symbols are required.
21901 always_export_symbols=$always_export_symbols
21903 # The commands to list exported symbols.
21904 export_symbols_cmds=$lt_export_symbols_cmds
21906 # Symbols that should not be listed in the preloaded symbols.
21907 exclude_expsyms=$lt_exclude_expsyms
21909 # Symbols that must always be exported.
21910 include_expsyms=$lt_include_expsyms
21912 # Commands necessary for linking programs (against libraries) with templates.
21913 prelink_cmds=$lt_prelink_cmds
21915 # Specify filename containing input files.
21916 file_list_spec=$lt_file_list_spec
21918 # How to hardcode a shared library path into an executable.
21919 hardcode_action=$hardcode_action
21921 # The directories searched by this compiler when creating a shared library.
21922 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21924 # Dependencies to place before and after the objects being linked to
21925 # create a shared library.
21926 predep_objects=$lt_predep_objects
21927 postdep_objects=$lt_postdep_objects
21928 predeps=$lt_predeps
21929 postdeps=$lt_postdeps
21931 # The library search path used internally by the compiler when linking
21932 # a shared library.
21933 compiler_lib_search_path=$lt_compiler_lib_search_path
21935 # ### END LIBTOOL CONFIG
21941 cat <<\_LT_EOF
>> "$cfgfile"
21942 # AIX sometimes has problems with the GCC collect2 program. For some
21943 # reason, if we set the COLLECT_NAMES environment variable, the problems
21944 # vanish in a puff of smoke.
21945 if test "X${COLLECT_NAMES+set}" != Xset
; then
21947 export COLLECT_NAMES
21954 ltmain
="$ac_aux_dir/ltmain.sh"
21957 # We use sed instead of cat because bash on DJGPP gets confused if
21958 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21959 # text mode, it properly converts lines to CR/LF. This bash problem
21960 # is reportedly fixed, but why not run on old versions too?
21961 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21962 ||
(rm -f "$cfgfile"; exit 1)
21966 cat << \_LT_EOF
>> "$cfgfile"
21968 # func_dirname file append nondir_replacement
21969 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21970 # otherwise set result to NONDIR_REPLACEMENT.
21974 */*) func_dirname_result
="${1%/*}${2}" ;;
21975 * ) func_dirname_result
="${3}" ;;
21979 # func_basename file
21982 func_basename_result
="${1##*/}"
21985 # func_dirname_and_basename file append nondir_replacement
21986 # perform func_basename and func_dirname in a single function
21988 # dirname: Compute the dirname of FILE. If nonempty,
21989 # add APPEND to the result, otherwise set result
21990 # to NONDIR_REPLACEMENT.
21991 # value returned in "$func_dirname_result"
21992 # basename: Compute filename of FILE.
21993 # value retuned in "$func_basename_result"
21994 # Implementation must be kept synchronized with func_dirname
21995 # and func_basename. For efficiency, we do not delegate to
21996 # those functions but instead duplicate the functionality here.
21997 func_dirname_and_basename
()
22000 */*) func_dirname_result
="${1%/*}${2}" ;;
22001 * ) func_dirname_result
="${3}" ;;
22003 func_basename_result
="${1##*/}"
22006 # func_stripname prefix suffix name
22007 # strip PREFIX and SUFFIX off of NAME.
22008 # PREFIX and SUFFIX must not contain globbing or regex special
22009 # characters, hashes, percent signs, but SUFFIX may contain a leading
22010 # dot (in which case that matches only a dot).
22013 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22014 # positional parameters, so assign one to ordinary parameter first.
22015 func_stripname_result
=${3}
22016 func_stripname_result
=${func_stripname_result#"${1}"}
22017 func_stripname_result
=${func_stripname_result%"${2}"}
22023 func_opt_split_opt
=${1%%=*}
22024 func_opt_split_arg
=${1#*=}
22031 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22032 *) func_lo2o_result
=${1} ;;
22036 # func_xform libobj-or-source
22039 func_xform_result
=${1%.*}.lo
22042 # func_arith arithmetic-term...
22045 func_arith_result
=$
(( $
* ))
22049 # STRING may not start with a hyphen.
22052 func_len_result
=${#1}
22057 *) # Bourne compatible functions.
22058 cat << \_LT_EOF
>> "$cfgfile"
22060 # func_dirname file append nondir_replacement
22061 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22062 # otherwise set result to NONDIR_REPLACEMENT.
22065 # Extract subdirectory from the argument.
22066 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
22067 if test "X$func_dirname_result" = "X${1}"; then
22068 func_dirname_result
="${3}"
22070 func_dirname_result
="$func_dirname_result${2}"
22074 # func_basename file
22077 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
22081 # func_stripname prefix suffix name
22082 # strip PREFIX and SUFFIX off of NAME.
22083 # PREFIX and SUFFIX must not contain globbing or regex special
22084 # characters, hashes, percent signs, but SUFFIX may contain a leading
22085 # dot (in which case that matches only a dot).
22086 # func_strip_suffix prefix name
22090 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
22091 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
22096 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22097 my_sed_long_arg
='1s/^-[^=]*=//'
22102 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
22103 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
22109 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
22112 # func_xform libobj-or-source
22115 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
22118 # func_arith arithmetic-term...
22121 func_arith_result
=`expr "$@"`
22125 # STRING may not start with a hyphen.
22128 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22134 case $lt_shell_append in
22136 cat << \_LT_EOF
>> "$cfgfile"
22138 # func_append var value
22139 # Append VALUE to the end of shell variable VAR.
22147 cat << \_LT_EOF
>> "$cfgfile"
22149 # func_append var value
22150 # Append VALUE to the end of shell variable VAR.
22161 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22162 ||
(rm -f "$cfgfile"; exit 1)
22164 mv -f "$cfgfile" "$ofile" ||
22165 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22169 cat <<_LT_EOF >> "$ofile"
22171 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22173 # The linker used to build libraries.
22176 # How to create reloadable object files.
22177 reload_flag=$lt_reload_flag_CXX
22178 reload_cmds=$lt_reload_cmds_CXX
22180 # Commands used to build an old-style archive.
22181 old_archive_cmds=$lt_old_archive_cmds_CXX
22183 # A language specific compiler.
22184 CC=$lt_compiler_CXX
22186 # Is the compiler the GNU compiler?
22189 # Compiler flag to turn off builtin functions.
22190 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22192 # How to pass a linker flag through the compiler.
22193 wl=$lt_lt_prog_compiler_wl_CXX
22195 # Additional compiler flags for building library objects.
22196 pic_flag=$lt_lt_prog_compiler_pic_CXX
22198 # Compiler flag to prevent dynamic linking.
22199 link_static_flag=$lt_lt_prog_compiler_static_CXX
22201 # Does compiler simultaneously support -c and -o options?
22202 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22204 # Whether or not to add -lc for building shared libraries.
22205 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22207 # Whether or not to disallow shared libs when runtime libs are static.
22208 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22210 # Compiler flag to allow reflexive dlopens.
22211 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22213 # Compiler flag to generate shared objects directly from archives.
22214 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22216 # Whether the compiler copes with passing no objects directly.
22217 compiler_needs_object=$lt_compiler_needs_object_CXX
22219 # Create an old-style archive from a shared archive.
22220 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22222 # Create a temporary old-style archive to link instead of a shared archive.
22223 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22225 # Commands used to build a shared archive.
22226 archive_cmds=$lt_archive_cmds_CXX
22227 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22229 # Commands used to build a loadable module if different from building
22230 # a shared archive.
22231 module_cmds=$lt_module_cmds_CXX
22232 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22234 # Whether we are building with GNU ld or not.
22235 with_gnu_ld=$lt_with_gnu_ld_CXX
22237 # Flag that allows shared libraries with undefined symbols to be built.
22238 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22240 # Flag that enforces no undefined symbols.
22241 no_undefined_flag=$lt_no_undefined_flag_CXX
22243 # Flag to hardcode \$libdir into a binary during linking.
22244 # This must work even if \$libdir does not exist
22245 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22247 # If ld is used when linking, flag to hardcode \$libdir into a binary
22248 # during linking. This must work even if \$libdir does not exist.
22249 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
22251 # Whether we need a single "-rpath" flag with a separated argument.
22252 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22254 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22255 # DIR into the resulting binary.
22256 hardcode_direct=$hardcode_direct_CXX
22258 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22259 # DIR into the resulting binary and the resulting library dependency is
22260 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22261 # library is relocated.
22262 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22264 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22265 # into the resulting binary.
22266 hardcode_minus_L=$hardcode_minus_L_CXX
22268 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22269 # into the resulting binary.
22270 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22272 # Set to "yes" if building a shared library automatically hardcodes DIR
22273 # into the library and all subsequent libraries and executables linked
22275 hardcode_automatic=$hardcode_automatic_CXX
22277 # Set to yes if linker adds runtime paths of dependent libraries
22278 # to runtime path list.
22279 inherit_rpath=$inherit_rpath_CXX
22281 # Whether libtool must link a program against all its dependency libraries.
22282 link_all_deplibs=$link_all_deplibs_CXX
22284 # Fix the shell variable \$srcfile for the compiler.
22285 fix_srcfile_path=$lt_fix_srcfile_path_CXX
22287 # Set to "yes" if exported symbols are required.
22288 always_export_symbols=$always_export_symbols_CXX
22290 # The commands to list exported symbols.
22291 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22293 # Symbols that should not be listed in the preloaded symbols.
22294 exclude_expsyms=$lt_exclude_expsyms_CXX
22296 # Symbols that must always be exported.
22297 include_expsyms=$lt_include_expsyms_CXX
22299 # Commands necessary for linking programs (against libraries) with templates.
22300 prelink_cmds=$lt_prelink_cmds_CXX
22302 # Specify filename containing input files.
22303 file_list_spec=$lt_file_list_spec_CXX
22305 # How to hardcode a shared library path into an executable.
22306 hardcode_action=$hardcode_action_CXX
22308 # The directories searched by this compiler when creating a shared library.
22309 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22311 # Dependencies to place before and after the objects being linked to
22312 # create a shared library.
22313 predep_objects=$lt_predep_objects_CXX
22314 postdep_objects=$lt_postdep_objects_CXX
22315 predeps=$lt_predeps_CXX
22316 postdeps=$lt_postdeps_CXX
22318 # The library search path used internally by the compiler when linking
22319 # a shared library.
22320 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22322 # ### END LIBTOOL TAG CONFIG: CXX
22333 ac_clean_files
=$ac_clean_files_save
22335 test $ac_write_fail = 0 ||
22336 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22339 # configure is writing to config.log, and then calls config.status.
22340 # config.status does its own redirection, appending to config.log.
22341 # Unfortunately, on DOS this fails, as config.log is still kept open
22342 # by configure, so config.status won't be able to write to it; its
22343 # output is simply discarded. So we exec the FD to /dev/null,
22344 # effectively closing config.log, so it can be properly (re)opened and
22345 # appended to by config.status. When coming back to configure, we
22346 # need to make the FD available again.
22347 if test "$no_create" != yes; then
22349 ac_config_status_args
=
22350 test "$silent" = yes &&
22351 ac_config_status_args
="$ac_config_status_args --quiet"
22353 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22355 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22356 # would make configure fail if this is the last instruction.
22357 $ac_cs_success || as_fn_exit
1
22359 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22361 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}