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
652 ENABLE_DARWIN_AT_RPATH_FALSE
653 ENABLE_DARWIN_AT_RPATH_TRUE
667 am__fastdepCCAS_FALSE
706 INSTALL_STRIP_PROGRAM
727 MAINTAINER_MODE_FALSE
788 program_transform_name
801 enable_option_checking
806 enable_maintainer_mode
807 enable_libstdcxx_time
808 enable_dependency_tracking
811 enable_version_specific_runtime_libs
819 enable_darwin_at_rpath
820 with_gcc_major_version_only
822 ac_precious_vars
='build_alias
837 # Initialize some variables set by options.
839 ac_init_version
=false
840 ac_unrecognized_opts
=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name
=s
,x
,x
,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir
='${exec_prefix}/bin'
866 sbindir
='${exec_prefix}/sbin'
867 libexecdir
='${exec_prefix}/libexec'
868 datarootdir
='${prefix}/share'
869 datadir
='${datarootdir}'
870 sysconfdir
='${prefix}/etc'
871 sharedstatedir
='${prefix}/com'
872 localstatedir
='${prefix}/var'
873 includedir
='${prefix}/include'
874 oldincludedir
='/usr/include'
875 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir
='${datarootdir}/info'
881 libdir
='${exec_prefix}/lib'
882 localedir
='${datarootdir}/locale'
883 mandir
='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\
$ac_option
897 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
910 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
913 -build |
--build |
--buil |
--bui |
--bu)
914 ac_prev
=build_alias
;;
915 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
916 build_alias
=$ac_optarg ;;
918 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
919 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
920 ac_prev
=cache_file
;;
921 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
922 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
923 cache_file
=$ac_optarg ;;
926 cache_file
=config.cache
;;
928 -datadir |
--datadir |
--datadi |
--datad)
930 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
931 datadir
=$ac_optarg ;;
933 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
934 |
--dataroo |
--dataro |
--datar)
935 ac_prev
=datarootdir
;;
936 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
937 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
938 datarootdir
=$ac_optarg ;;
940 -disable-* |
--disable-*)
941 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
944 as_fn_error $?
"invalid feature name: $ac_useropt"
945 ac_useropt_orig
=$ac_useropt
946 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep
=', ';;
954 eval enable_
$ac_useropt=no
;;
956 -docdir |
--docdir |
--docdi |
--doc |
--do)
958 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
961 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
963 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
966 -enable-* |
--enable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=\
$ac_optarg ;;
982 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
983 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
984 |
--exec |
--exe |
--ex)
985 ac_prev
=exec_prefix
;;
986 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
987 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
988 |
--exec=* |
--exe=* |
--ex=*)
989 exec_prefix
=$ac_optarg ;;
991 -gas |
--gas |
--ga |
--g)
992 # Obsolete; use --with-gas.
995 -help |
--help |
--hel |
--he |
-h)
997 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
998 ac_init_help
=recursive
;;
999 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1000 ac_init_help
=short
;;
1002 -host |
--host |
--hos |
--ho)
1003 ac_prev
=host_alias
;;
1004 -host=* |
--host=* |
--hos=* |
--ho=*)
1005 host_alias
=$ac_optarg ;;
1007 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1009 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1011 htmldir
=$ac_optarg ;;
1013 -includedir |
--includedir |
--includedi |
--included |
--include \
1014 |
--includ |
--inclu |
--incl |
--inc)
1015 ac_prev
=includedir
;;
1016 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1017 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1018 includedir
=$ac_optarg ;;
1020 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1022 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1023 infodir
=$ac_optarg ;;
1025 -libdir |
--libdir |
--libdi |
--libd)
1027 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1028 libdir
=$ac_optarg ;;
1030 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1031 |
--libexe |
--libex |
--libe)
1032 ac_prev
=libexecdir
;;
1033 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1034 |
--libexe=* |
--libex=* |
--libe=*)
1035 libexecdir
=$ac_optarg ;;
1037 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1038 ac_prev
=localedir
;;
1039 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1040 localedir
=$ac_optarg ;;
1042 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1043 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1044 ac_prev
=localstatedir
;;
1045 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1046 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1047 localstatedir
=$ac_optarg ;;
1049 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1051 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1052 mandir
=$ac_optarg ;;
1054 -nfp |
--nfp |
--nf)
1055 # Obsolete; use --without-fp.
1058 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1059 |
--no-cr |
--no-c |
-n)
1062 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1063 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1066 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1067 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1068 |
--oldin |
--oldi |
--old |
--ol |
--o)
1069 ac_prev
=oldincludedir
;;
1070 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1071 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1072 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1073 oldincludedir
=$ac_optarg ;;
1075 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1077 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1078 prefix
=$ac_optarg ;;
1080 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1081 |
--program-pre |
--program-pr |
--program-p)
1082 ac_prev
=program_prefix
;;
1083 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1084 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1085 program_prefix
=$ac_optarg ;;
1087 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1088 |
--program-suf |
--program-su |
--program-s)
1089 ac_prev
=program_suffix
;;
1090 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1091 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1092 program_suffix
=$ac_optarg ;;
1094 -program-transform-name |
--program-transform-name \
1095 |
--program-transform-nam |
--program-transform-na \
1096 |
--program-transform-n |
--program-transform- \
1097 |
--program-transform |
--program-transfor \
1098 |
--program-transfo |
--program-transf \
1099 |
--program-trans |
--program-tran \
1100 |
--progr-tra |
--program-tr |
--program-t)
1101 ac_prev
=program_transform_name
;;
1102 -program-transform-name=* |
--program-transform-name=* \
1103 |
--program-transform-nam=* |
--program-transform-na=* \
1104 |
--program-transform-n=* |
--program-transform-=* \
1105 |
--program-transform=* |
--program-transfor=* \
1106 |
--program-transfo=* |
--program-transf=* \
1107 |
--program-trans=* |
--program-tran=* \
1108 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1109 program_transform_name
=$ac_optarg ;;
1111 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1113 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1114 pdfdir
=$ac_optarg ;;
1116 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1118 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1122 |
-silent |
--silent |
--silen |
--sile |
--sil)
1125 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1127 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1129 sbindir
=$ac_optarg ;;
1131 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1132 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1133 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1135 ac_prev
=sharedstatedir
;;
1136 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1137 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1138 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1140 sharedstatedir
=$ac_optarg ;;
1142 -site |
--site |
--sit)
1144 -site=* |
--site=* |
--sit=*)
1147 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1149 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1150 srcdir
=$ac_optarg ;;
1152 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1153 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1154 ac_prev
=sysconfdir
;;
1155 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1156 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1157 sysconfdir
=$ac_optarg ;;
1159 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1160 ac_prev
=target_alias
;;
1161 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1162 target_alias
=$ac_optarg ;;
1164 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1167 -version |
--version |
--versio |
--versi |
--vers |
-V)
1168 ac_init_version
=: ;;
1171 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error $?
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=\
$ac_optarg ;;
1186 -without-* |
--without-*)
1187 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=no
;;
1203 # Obsolete; use --with-x.
1206 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1207 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1208 ac_prev
=x_includes
;;
1209 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1210 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1211 x_includes
=$ac_optarg ;;
1213 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1214 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1215 ac_prev
=x_libraries
;;
1216 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1217 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1218 x_libraries
=$ac_optarg ;;
1220 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1229 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\
$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $?
"missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val
=\$
$ac_var
1265 # Remove trailing slashes.
1268 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\
$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$
]* | ?
:[\\/]* ) continue;;
1274 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1276 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target
=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x
; then
1288 if test "x$build_alias" = x
; then
1289 cross_compiling
=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1298 test "$silent" = yes && exec 6>/dev
/null
1301 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di
=`ls -di .` &&
1303 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $?
"working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $?
"pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted
=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir
=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted
=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1345 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var
in $ac_precious_vars; do
1362 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1364 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/libgm2]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1438 --build=BUILD configure
for building on BUILD
[guessed
]
1439 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1440 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1444 if test -n "$ac_init_help"; then
1445 case $ac_init_help in
1446 short | recursive
) echo "Configuration of package-unused version-unused:";;
1451 --disable-option-checking ignore unrecognized
--enable/--with options
1452 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1453 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1454 --enable-multilib build many library versions
(default
)
1455 --enable-maintainer-mode
1456 enable make rules and dependencies not useful
(and
1457 sometimes confusing
) to the casual installer
1458 --enable-libstdcxx-time[=KIND
]
1459 use KIND
for check
type [default
=auto
]
1460 --enable-dependency-tracking
1461 do not reject slow dependency extractors
1462 --disable-dependency-tracking
1463 speeds up one-time build
1464 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1465 --disable-silent-rules verbose build output
(undo
: "make V=0")
1466 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1467 --enable-maintainer-mode
1468 enable make rules and dependencies not useful
(and
1469 sometimes confusing
) to the casual installer
1470 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1471 --enable-static[=PKGS
] build static libraries
[default
=yes]
1472 --enable-fast-install[=PKGS
]
1473 optimize
for fast installation
[default
=yes]
1474 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1475 --enable-darwin-at-rpath
1476 install libraries with @rpath
/library-name
, requires
1477 rpaths to be added to executables
1480 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1481 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1482 --with-target-subdir=SUBDIR
1483 configuring
in a subdirectory
1484 --with-cross-host=HOST configuring with a cross compiler
1485 --with-newlib assume newlib as a system C library
1486 --with-cross-host=HOST Configuring with a cross compiler
1487 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1488 --with-slibdir=DIR shared libraries
in DIR LIBDIR
1489 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-gcc-major-version-only
1493 use only GCC major number
in filesystem paths
1495 Some influential environment variables
:
1496 CC C compiler
command
1497 CFLAGS C compiler flags
1498 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1499 nonstandard directory
<lib dir
>
1500 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1501 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1502 you have headers
in a nonstandard directory
<include dir
>
1504 CXX C
++ compiler
command
1505 CXXFLAGS C
++ compiler flags
1506 CXXCPP C
++ preprocessor
1507 CCAS assembler compiler
command (defaults to CC
)
1508 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1510 Use these variables to override the choices made by
`configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to the package provider.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 package-unused configure version-unused
1577 generated by GNU Autoconf 2.69
1579 Copyright (C) 2012 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1586 ## ------------------------ ##
1587 ## Autoconf initialization. ##
1588 ## ------------------------ ##
1590 # ac_fn_c_try_compile LINENO
1591 # --------------------------
1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1593 ac_fn_c_try_compile ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext
1597 if { { ac_try="$ac_compile"
1599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1600 *) ac_try_echo
=$ac_try;;
1602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_compile") 2>conftest.err
1606 if test -s conftest.err
; then
1607 grep -v '^ *+' conftest.err
>conftest.er1
1608 cat conftest.er1
>&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest.
$ac_objext; then :
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.
$ac_ext >&5
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status
$ac_retval
1626 } # ac_fn_c_try_compile
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1634 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } > conftest.i && {
1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1665 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1666 # -------------------------------------------------------
1667 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1668 # the include files in INCLUDES and setting the cache variable VAR
1670 ac_fn_c_check_header_mongrel ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if eval \${$3+:} false; then :
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1683 # Is the header compilable?
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1685 $as_echo_n "checking $2 usability... " >&6; }
1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1691 if ac_fn_c_try_compile "$LINENO"; then :
1692 ac_header_compiler=yes
1694 ac_header_compiler=no
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1698 $as_echo "$ac_header_compiler" >&6; }
1700 # Is the header present?
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1702 $as_echo_n "checking $2 presence... " >&6; }
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1707 if ac_fn_c_try_cpp "$LINENO"; then :
1708 ac_header_preproc=yes
1710 ac_header_preproc=no
1712 rm -f conftest.err conftest.i conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1714 $as_echo "$ac_header_preproc" >&6; }
1716 # So? What about this header?
1717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1720 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1726 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1728 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1730 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1732 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \${$3+:} false; then :
1740 $as_echo_n "(cached) " >&6
1742 eval "$3=\$ac_header_compiler"
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 } # ac_fn_c_check_header_mongrel
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_link"
1761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1762 *) ac_try_echo
=$ac_try;;
1764 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>&5
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1770 { { case "(($ac_try" in
1771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_try") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; }; }; then :
1782 $as_echo "$as_me: program exited with status $ac_status" >&5
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786 ac_retval=$ac_status
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists and can be compiled using the include files in
1797 # INCLUDES, setting the cache variable VAR accordingly.
1798 ac_fn_c_check_header_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_header_compile
1825 # ac_fn_cxx_try_compile LINENO
1826 # ----------------------------
1827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_cxx_try_compile ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext
1832 if { { ac_try="$ac_compile"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_compile") 2>conftest.err
1841 if test -s conftest.err
; then
1842 grep -v '^ *+' conftest.err
>conftest.er1
1843 cat conftest.er1
>&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_cxx_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest.
$ac_objext; then :
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status
$ac_retval
1861 } # ac_fn_cxx_try_compile
1863 # ac_fn_cxx_try_cpp LINENO
1864 # ------------------------
1865 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1866 ac_fn_cxx_try_cpp
()
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1878 if test -s conftest.err; then
1879 grep -v '^ *+' conftest.err >conftest.er1
1880 cat conftest.er1 >&5
1881 mv -f conftest.er1 conftest.err
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; } > conftest.i && {
1885 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1886 test ! -s conftest.err
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1896 as_fn_set_status $ac_retval
1898 } # ac_fn_cxx_try_cpp
1900 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1901 # ---------------------------------------------------------
1902 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1903 # the include files in INCLUDES and setting the cache variable VAR
1905 ac_fn_cxx_check_header_mongrel ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if eval \${$3+:} false; then :
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if eval \${$3+:} false; then :
1912 $as_echo_n "(cached) " >&6
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1918 # Is the header compilable?
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1920 $as_echo_n "checking $2 usability... " >&6; }
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1926 if ac_fn_cxx_try_compile "$LINENO"; then :
1927 ac_header_compiler=yes
1929 ac_header_compiler=no
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1933 $as_echo "$ac_header_compiler" >&6; }
1935 # Is the header present?
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1937 $as_echo_n "checking $2 presence... " >&6; }
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1942 if ac_fn_cxx_try_cpp "$LINENO"; then :
1943 ac_header_preproc=yes
1945 ac_header_preproc=no
1947 rm -f conftest.err conftest.i conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1949 $as_echo "$ac_header_preproc" >&6; }
1951 # So? What about this header?
1952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1955 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1957 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1961 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1963 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1965 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1967 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1969 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1973 $as_echo_n "checking for $2... " >&6; }
1974 if eval \${$3+:} false; then :
1975 $as_echo_n "(cached) " >&6
1977 eval "$3=\$ac_header_compiler"
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 } # ac_fn_cxx_check_header_mongrel
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_cxx_check_func LINENO FUNC VAR
2034 # ------------------------------------
2035 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2036 ac_fn_cxx_check_func
()
2038 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \
${$3+:} false
; then :
2042 $as_echo_n "(cached) " >&6
2044 if test x
$gcc_no_link = xyes
; then
2045 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2049 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2051 #define $2 innocuous_$2
2053 /* System header to define __stub macros and hopefully few prototypes,
2054 which can conflict with char $2 (); below.
2055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2056 <limits.h> exists even on freestanding compilers. */
2059 # include <limits.h>
2061 # include <assert.h>
2066 /* Override any GCC internal prototype to avoid an error.
2067 Use char because int might match the return type of a GCC
2068 builtin and then its argument prototype would still apply. */
2073 /* The GNU C library defines this for functions which it implements
2074 to always fail with ENOSYS. Some functions are actually named
2075 something starting with __ and the normal name is an alias. */
2076 #if defined __stub_$2 || defined __stub___$2
2088 if ac_fn_cxx_try_link
"$LINENO"; then :
2093 rm -f core conftest.err conftest.
$ac_objext \
2094 conftest
$ac_exeext conftest.
$ac_ext
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2098 $as_echo "$ac_res" >&6; }
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 } # ac_fn_cxx_check_func
2103 # ac_fn_c_try_link LINENO
2104 # -----------------------
2105 # Try to link conftest.$ac_ext, and return whether this succeeded.
2108 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2109 rm -f conftest.
$ac_objext conftest
$ac_exeext
2110 if { { ac_try
="$ac_link"
2112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2116 $as_echo "$ac_try_echo"; } >&5
2117 (eval "$ac_link") 2>conftest.err
2119 if test -s conftest.err; then
2120 grep -v '^ *+' conftest.err >conftest.er1
2121 cat conftest.er1 >&5
2122 mv -f conftest.er1 conftest.err
2124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2125 test $ac_status = 0; } && {
2126 test -z "$ac_c_werror_flag" ||
2127 test ! -s conftest.err
2128 } && test -s conftest$ac_exeext && {
2129 test "$cross_compiling" = yes ||
2130 test -x conftest$ac_exeext
2134 $as_echo "$as_me: failed program was:" >&5
2135 sed 's/^/| /' conftest.$ac_ext >&5
2139 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2140 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2141 # interfere with the next link command; also delete a directory that is
2142 # left behind by Apple's compiler. We do this before executing the actions.
2143 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2144 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2145 as_fn_set_status $ac_retval
2147 } # ac_fn_c_try_link
2149 # ac_fn_c_check_func LINENO FUNC VAR
2150 # ----------------------------------
2151 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2152 ac_fn_c_check_func ()
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if eval \${$3+:} false; then :
2158 $as_echo_n "(cached) " >&6
2160 if test x$gcc_no_link = xyes; then
2161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2165 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2167 #define $2 innocuous_$2
2169 /* System header to define __stub macros and hopefully few prototypes,
2170 which can conflict with char $2 (); below.
2171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2172 <limits.h> exists even on freestanding compilers. */
2175 # include <limits.h>
2177 # include <assert.h>
2182 /* Override any GCC internal prototype to avoid an error.
2183 Use char because int might match the return type of a GCC
2184 builtin and then its argument prototype would still apply. */
2189 /* The GNU C library defines this for functions which it implements
2190 to always fail with ENOSYS. Some functions are actually named
2191 something starting with __ and the normal name is an alias. */
2192 #if defined __stub_$2 || defined __stub___$2
2204 if ac_fn_c_try_link "$LINENO"; then :
2209 rm -f core conftest.err conftest.$ac_objext \
2210 conftest$ac_exeext conftest.$ac_ext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2214 $as_echo "$ac_res" >&6; }
2215 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2217 } # ac_fn_c_check_func
2219 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2220 # -------------------------------------------
2221 # Tests whether TYPE exists after having included INCLUDES, setting cache
2222 # variable VAR accordingly.
2223 ac_fn_c_check_type ()
2225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if eval \${$3+:} false; then :
2229 $as_echo_n "(cached) " >&6
2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 /* end confdefs.h. */
2244 if ac_fn_c_try_compile "$LINENO"; then :
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2257 if ac_fn_c_try_compile "$LINENO"; then :
2262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2271 } # ac_fn_c_check_type
2273 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2274 # ---------------------------------------------
2275 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2277 ac_fn_c_check_decl ()
2279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2280 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2281 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2283 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2284 if eval \${$3+:} false; then :
2285 $as_echo_n "(cached) " >&6
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2293 #ifndef $as_decl_name
2295 (void) $as_decl_use;
2297 (void) $as_decl_name;
2305 if ac_fn_c_try_compile "$LINENO"; then :
2310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2314 $as_echo "$ac_res" >&6; }
2315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2317 } # ac_fn_c_check_decl
2318 cat >config.log <<_ACEOF
2319 This file contains any messages produced by compilers while
2320 running configure, to aid debugging if configure makes a mistake.
2322 It was created by package-unused $as_me version-unused, which was
2323 generated by GNU Autoconf 2.69. Invocation command line was
2335 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2336 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2337 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2338 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2339 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2341 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2342 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2344 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2345 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2346 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2347 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2348 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2349 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2350 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir=.
2359 $as_echo "PATH: $as_dir"
2375 # Keep a trace of the command line.
2376 # Strip out --no-create and --no-recursion so they do not pile up.
2377 # Strip out --silent because we don't want to record it for future runs.
2378 # Also quote any args containing shell meta-characters.
2379 # Make two passes to allow for proper duplicate-argument suppression.
2383 ac_must_keep_next=false
2389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2391 | -silent | --silent | --silen | --sile | --sil)
2394 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2397 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2399 as_fn_append ac_configure_args1 " '$ac_arg'"
2400 if test $ac_must_keep_next = true; then
2401 ac_must_keep_next=false # Got value, back to normal.
2404 *=* | --config-cache | -C | -disable-* | --disable-* \
2405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2407 | -with-* | --with-* | -without-* | --without-* | --x)
2408 case "$ac_configure_args0 " in
2409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2412 -* ) ac_must_keep_next=true ;;
2415 as_fn_append ac_configure_args " '$ac_arg'"
2420 { ac_configure_args0=; unset ac_configure_args0;}
2421 { ac_configure_args1=; unset ac_configure_args1;}
2423 # When interrupted or exit'd, cleanup temporary files, and complete
2424 # config.log. We remove comments because anyway the quotes in there
2425 # would cause problems or look ugly.
2426 # WARNING: Use '\'' to represent an apostrophe within the trap.
2427 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2428 trap 'exit_status=$?
2429 # Save into config.log some information that might help in debugging.
2433 $as_echo "## ---------------- ##
2434 ## Cache variables. ##
2435 ## ---------------- ##"
2437 # The following way of writing the cache mishandles newlines in values,
2439 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2440 eval ac_val=\$$ac_var
2444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2448 _ | IFS | as_nl) ;; #(
2449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2450 *) { eval $ac_var=; unset $ac_var;} ;;
2455 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2456 *${as_nl}ac_space=\ *)
2458 "s/'\''/'\''\\\\'\'''\''/g;
2459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2469 $as_echo "## ----------------- ##
2470 ## Output variables. ##
2471 ## ----------------- ##"
2473 for ac_var in $ac_subst_vars
2475 eval ac_val=\$$ac_var
2477 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2479 $as_echo "$ac_var='\''$ac_val'\''"
2483 if test -n "$ac_subst_files"; then
2484 $as_echo "## ------------------- ##
2485 ## File substitutions. ##
2486 ## ------------------- ##"
2488 for ac_var in $ac_subst_files
2490 eval ac_val=\$$ac_var
2492 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2494 $as_echo "$ac_var='\''$ac_val'\''"
2499 if test -s confdefs.h; then
2500 $as_echo "## ----------- ##
2507 test "$ac_signal" != 0 &&
2508 $as_echo "$as_me: caught signal $ac_signal"
2509 $as_echo "$as_me: exit $exit_status"
2511 rm -f core *.core core.conftest.* &&
2512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2515 for ac_signal in 1 2 13 15; do
2516 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2521 rm -f -r conftest* confdefs.h
2523 $as_echo "/* confdefs.h */" > confdefs.h
2525 # Predefined preprocessor variables.
2527 cat >>confdefs.h <<_ACEOF
2528 #define PACKAGE_NAME "$PACKAGE_NAME"
2531 cat >>confdefs.h <<_ACEOF
2532 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2535 cat >>confdefs.h <<_ACEOF
2536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2539 cat >>confdefs.h <<_ACEOF
2540 #define PACKAGE_STRING "$PACKAGE_STRING"
2543 cat >>confdefs.h <<_ACEOF
2544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2547 cat >>confdefs.h <<_ACEOF
2548 #define PACKAGE_URL "$PACKAGE_URL"
2552 # Let the site file select an alternate cache file if it wants to.
2553 # Prefer an explicitly selected file to automatically selected ones.
2556 if test -n "$CONFIG_SITE"; then
2557 # We do not want a PATH search for config.site.
2558 case $CONFIG_SITE in #((
2559 -*) ac_site_file1=./$CONFIG_SITE;;
2560 */*) ac_site_file1=$CONFIG_SITE;;
2561 *) ac_site_file1=./$CONFIG_SITE;;
2563 elif test "x$prefix" != xNONE; then
2564 ac_site_file1=$prefix/share/config.site
2565 ac_site_file2=$prefix/etc/config.site
2567 ac_site_file1=$ac_default_prefix/share/config.site
2568 ac_site_file2=$ac_default_prefix/etc/config.site
2570 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2572 test "x$ac_site_file" = xNONE && continue
2573 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2575 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2576 sed 's/^/| /' "$ac_site_file" >&5
2578 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error $? "failed to load site
script $ac_site_file
2581 See \
`config.log' for more details" "$LINENO" 5; }
2585 if test -r "$cache_file"; then
2586 # Some versions of bash will fail to source /dev/null (special files
2587 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2588 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2590 $as_echo "$as_me: loading cache $cache_file" >&6;}
2592 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2593 *) . "./$cache_file";;
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2598 $as_echo "$as_me: creating cache $cache_file" >&6;}
2602 # Check that the precious variables saved in the cache have kept the same
2604 ac_cache_corrupted=false
2605 for ac_var in $ac_precious_vars; do
2606 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2607 eval ac_new_set=\$ac_env_${ac_var}_set
2608 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2609 eval ac_new_val=\$ac_env_${ac_var}_value
2610 case $ac_old_set,$ac_new_set in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2613 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2614 ac_cache_corrupted=: ;;
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2617 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2618 ac_cache_corrupted=: ;;
2621 if test "x$ac_old_val" != "x$ac_new_val"; then
2622 # differences in whitespace do not lead to failure.
2623 ac_old_val_w=`echo x
$ac_old_val`
2624 ac_new_val_w=`echo x
$ac_new_val`
2625 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2627 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2628 ac_cache_corrupted=:
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2631 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2632 eval $ac_var=\$ac_old_val
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2635 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2637 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2640 # Pass precious variables to config.status.
2641 if test "$ac_new_set" = set; then
2643 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2644 *) ac_arg=$ac_var=$ac_new_val ;;
2646 case " $ac_configure_args " in
2647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2648 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2652 if $ac_cache_corrupted; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2656 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2657 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2659 ## -------------------- ##
2660 ## Main body of script. ##
2661 ## -------------------- ##
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2674 # AC_CONFIG_MACRO_DIR([config])
2675 ac_config_headers="$ac_config_headers config.h"
2678 libtool_VERSION=20:0:0
2681 # Default to --enable-multilib
2682 # Check whether --enable-multilib was given.
2683 if test "${enable_multilib+set}" = set; then :
2684 enableval=$enable_multilib; case "$enableval" in
2685 yes) multilib=yes ;;
2687 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2694 # We may get other options which we leave undocumented:
2695 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2696 # See config-ml.in if you want the gory details.
2698 if test "$srcdir" = "."; then
2699 if test "$with_target_subdir" != "."; then
2700 multi_basedir="$srcdir/$with_multisrctop../.."
2702 multi_basedir="$srcdir/$with_multisrctop.."
2705 multi_basedir="$srcdir/.."
2709 # Even if the default multilib is not a cross compilation,
2710 # it may be that some of the other multilibs are.
2711 if test $cross_compiling = no && test $multilib = yes \
2712 && test "x${with_multisubdir}" != x ; then
2713 cross_compiling=maybe
2716 ac_config_commands="$ac_config_commands default-1"
2722 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2723 if test -f "$ac_dir/install-sh"; then
2725 ac_install_sh="$ac_aux_dir/install-sh -c"
2727 elif test -f "$ac_dir/install.sh"; then
2729 ac_install_sh="$ac_aux_dir/install.sh -c"
2731 elif test -f "$ac_dir/shtool"; then
2733 ac_install_sh="$ac_aux_dir/shtool install -c"
2737 if test -z "$ac_aux_dir"; then
2738 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2741 # These three variables are undocumented and unsupported,
2742 # and are intended to be withdrawn in a future Autoconf release.
2743 # They can cause serious problems if a builder's source tree is in a directory
2744 # whose full name contains unusual characters.
2745 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2746 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2747 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2750 # Expand $ac_aux_dir to an absolute path.
2751 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2754 ac_cpp='$CPP $CPPFLAGS'
2755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2758 if test -n "$ac_tool_prefix"; then
2759 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2760 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_CC+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$CC"; then
2767 ac_cv_prog_CC="$CC" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2776 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 if test -n "$CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2789 $as_echo "$CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2797 if test -z "$ac_cv_prog_CC"; then
2799 # Extract the first word of "gcc", so it can be a program name with args.
2800 set dummy gcc; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$ac_ct_CC"; then
2807 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_ac_ct_CC="gcc"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827 if test -n "$ac_ct_CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2829 $as_echo "$ac_ct_CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2835 if test "x$ac_ct_CC" = x; then
2838 case $cross_compiling:$ac_tool_warned in
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2842 ac_tool_warned=yes ;;
2850 if test -z "$CC"; then
2851 if test -n "$ac_tool_prefix"; then
2852 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2853 set dummy ${ac_tool_prefix}cc; ac_word=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if ${ac_cv_prog_CC+:} false; then :
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$CC"; then
2860 ac_cv_prog_CC="$CC" # Let the user override the test.
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869 ac_cv_prog_CC="${ac_tool_prefix}cc"
2870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test -n "$CC"; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2882 $as_echo "$CC" >&6; }
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2891 if test -z "$CC"; then
2892 # Extract the first word of "cc", so it can be a program name with args.
2893 set dummy cc; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2911 ac_prog_rejected=yes
2915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test $ac_prog_rejected = yes; then
2923 # We found a bogon in the path, so make sure we never use it.
2924 set dummy $ac_cv_prog_CC
2926 if test $# != 0; then
2927 # We chose a different compiler from the bogus one.
2928 # However, it has the same basename, so the bogon will be chosen
2929 # first if we set CC to just the basename; use the full file name.
2931 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2947 if test -z "$CC"; then
2948 if test -n "$ac_tool_prefix"; then
2949 for ac_prog in cl.exe
2951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2952 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954 $as_echo_n "checking for $ac_word... " >&6; }
2955 if ${ac_cv_prog_CC+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 if test -n "$CC"; then
2959 ac_cv_prog_CC="$CC" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test -n "$CC"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981 $as_echo "$CC" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2988 test -n "$CC" && break
2991 if test -z "$CC"; then
2993 for ac_prog in cl.exe
2995 # Extract the first word of "$ac_prog", so it can be a program name with args.
2996 set dummy $ac_prog; ac_word=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$ac_ct_CC"; then
3003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir=.
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_ac_ct_CC="$ac_prog"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3023 if test -n "$ac_ct_CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3025 $as_echo "$ac_ct_CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3032 test -n "$ac_ct_CC" && break
3035 if test "x$ac_ct_CC" = x; then
3038 case $cross_compiling:$ac_tool_warned in
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3042 ac_tool_warned=yes ;;
3051 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3054 See \
`config.log' for more details" "$LINENO" 5; }
3056 # Provide some information about the compiler.
3057 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3060 for ac_option in --version -v -V -qversion; do
3061 { { ac_try="$ac_compiler $ac_option >&5"
3063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3064 *) ac_try_echo
=$ac_try;;
3066 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3070 if test -s conftest.err
; then
3072 ... rest of stderr output deleted ...
3073 10q' conftest.err
>conftest.er1
3074 cat conftest.er1
>&5
3076 rm -f conftest.er1 conftest.err
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; }
3081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3087 printf ("hello world\n");
3093 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3094 (eval $ac_link) 2>&5
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; }; then :
3102 if test x
$gcc_no_link = xyes
; then
3103 # Setting cross_compile will disable run tests; it will
3104 # also disable AC_CHECK_FILE but that's generally
3105 # correct if we can't link.
3109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3120 ac_clean_files_save
=$ac_clean_files
3121 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3122 # Try to create an executable without -o first, disregard a.out.
3123 # It will help us diagnose broken compilers, and finding out an intuition
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3126 $as_echo_n "checking whether the C compiler works... " >&6; }
3127 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3129 # The possible output files:
3130 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3133 for ac_file
in $ac_files
3136 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3137 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3142 if { { ac_try
="$ac_link_default"
3144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3145 *) ac_try_echo=$ac_try;;
3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_link_default") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; then :
3153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3154 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3156 # so that the user can short-circuit this test for compilers unknown to
3158 for ac_file in $ac_files ''
3160 test -f "$ac_file" || continue
3162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3165 # We found the default executable, but exeext='' is most
3169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 # We set ac_cv_exeext here because the later test for it is not
3174 # safe: cross compilers may not add the suffix if given an `-o'
3175 # argument, so we may need to know it at that point already.
3176 # Even if this section looks crufty: it has the advantage of
3183 test "$ac_cv_exeext" = no && ac_cv_exeext=
3188 if test -z "$ac_file"; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 $as_echo "$as_me: failed program was:" >&5
3192 sed 's
/^
/|
/' conftest.$ac_ext >&5
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3196 as_fn_error 77 "C compiler cannot create executables
3197 See \`config.log
' for more details" "$LINENO" 5; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3203 $as_echo_n "checking for C compiler default output file name... " >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3205 $as_echo "$ac_file" >&6; }
3206 ac_exeext=$ac_cv_exeext
3208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3209 ac_clean_files=$ac_clean_files_save
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3211 $as_echo_n "checking for suffix of executables... " >&6; }
3212 if { { ac_try="$ac_link"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_link") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3224 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3225 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3227 for ac_file
in conftest.exe conftest conftest.
*; do
3228 test -f "$ac_file" ||
continue
3230 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3231 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3240 See \`config.log' for more details" "$LINENO" 5; }
3242 rm -f conftest conftest
$ac_cv_exeext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3244 $as_echo "$ac_cv_exeext" >&6; }
3246 rm -f conftest.
$ac_ext
3247 EXEEXT
=$ac_cv_exeext
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3255 FILE *f = fopen ("conftest.out", "w");
3256 return ferror (f) || fclose (f) != 0;
3262 ac_clean_files
="$ac_clean_files conftest.out"
3263 # Check that the compiler produces executables we can run. If not, either
3264 # the compiler is broken, or we cross compile.
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3266 $as_echo_n "checking whether we are cross compiling... " >&6; }
3267 if test "$cross_compiling" != yes; then
3268 { { ac_try
="$ac_link"
3270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }
3279 if { ac_try='./conftest$ac_cv_exeext'
3280 { { case "(($ac_try" in
3281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3282 *) ac_try_echo
=$ac_try;;
3284 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_try") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }; }; then
3292 if test "$cross_compiling" = maybe
; then
3295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 as_fn_error $?
"cannot run C compiled programs.
3298 If you meant to cross compile, use \`--host'.
3299 See \`config.log' for more details" "$LINENO" 5; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3304 $as_echo "$cross_compiling" >&6; }
3306 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3307 ac_clean_files
=$ac_clean_files_save
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3310 $as_echo_n "checking for suffix of object files... " >&6; }
3311 if ${ac_cv_objext+:} false
; then :
3312 $as_echo_n "(cached) " >&6
3314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 rm -f conftest.o conftest.obj
3326 if { { ac_try
="$ac_compile"
3328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_compile") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 for ac_file in conftest.o conftest.obj conftest.*; do
3338 test -f "$ac_file" || continue;
3340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3341 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3346 $as_echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3352 See \
`config.log' for more details" "$LINENO" 5; }
3354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3357 $as_echo "$ac_cv_objext" >&6; }
3358 OBJEXT=$ac_cv_objext
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3361 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3362 if ${ac_cv_c_compiler_gnu+:} false; then :
3363 $as_echo_n "(cached) " >&6
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3379 if ac_fn_c_try_compile "$LINENO"; then :
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3389 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3390 if test $ac_compiler_gnu = yes; then
3395 ac_test_CFLAGS=${CFLAGS+set}
3396 ac_save_CFLAGS=$CFLAGS
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3398 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3399 if ${ac_cv_prog_cc_g+:} false; then :
3400 $as_echo_n "(cached) " >&6
3402 ac_save_c_werror_flag=$ac_c_werror_flag
3403 ac_c_werror_flag=yes
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3417 if ac_fn_c_try_compile "$LINENO"; then :
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 if ac_fn_c_try_compile "$LINENO"; then :
3435 ac_c_werror_flag=$ac_save_c_werror_flag
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 if ac_fn_c_try_compile "$LINENO"; then :
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3459 $as_echo "$ac_cv_prog_cc_g" >&6; }
3460 if test "$ac_test_CFLAGS" = set; then
3461 CFLAGS=$ac_save_CFLAGS
3462 elif test $ac_cv_prog_cc_g = yes; then
3463 if test "$GCC" = yes; then
3469 if test "$GCC" = yes; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3476 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3477 if ${ac_cv_prog_cc_c89+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 ac_cv_prog_cc_c89=no
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3488 struct buf { int x; };
3489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3490 static char *e (p, i)
3496 static char *f (char * (*g) (char **, int), char **p, ...)
3501 s = g (p, va_arg (v,int));
3506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3507 function prototypes and stuff, but not '\xHH' hex character constants.
3508 These don't provoke an error unfortunately, instead are silently treated
3509 as 'x'. The following induces an error, until -std is added to get
3510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3511 array size at least. It's necessary to write '\x00'==0 to get something
3512 that's true only with -std. */
3513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3515 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3516 inside strings and character constants. */
3518 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3520 int test (int i, double x);
3521 struct s1 {int (*f) (int a);};
3522 struct s2 {int (*f) (double a);};
3523 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3529 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3534 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3535 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3537 CC="$ac_save_CC $ac_arg"
3538 if ac_fn_c_try_compile "$LINENO"; then :
3539 ac_cv_prog_cc_c89=$ac_arg
3541 rm -f core conftest.err conftest.$ac_objext
3542 test "x$ac_cv_prog_cc_c89" != "xno" && break
3544 rm -f conftest.$ac_ext
3549 case "x$ac_cv_prog_cc_c89" in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3552 $as_echo "none needed" >&6; } ;;
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3555 $as_echo "unsupported" >&6; } ;;
3557 CC="$CC $ac_cv_prog_cc_c89"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3561 if test "x$ac_cv_prog_cc_c89" != xno; then :
3566 ac_cpp='$CPP $CPPFLAGS'
3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3577 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3578 if ${am_cv_prog_cc_c_o+:} false; then :
3579 $as_echo_n "(cached) " >&6
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 # Make sure it works both with $CC and with simple cc.
3593 # Following AC_PROG_CC_C_O, we do the test twice because some
3594 # compilers refuse to overwrite an existing .o file with -o,
3595 # though they will create one.
3596 am_cv_prog_cc_c_o=yes
3598 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3599 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } \
3603 && test -f conftest2.$ac_objext; then
3606 am_cv_prog_cc_c_o=no
3610 rm -f core conftest*
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3614 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3615 if test "$am_cv_prog_cc_c_o" != yes; then
3616 # Losing compiler, so override with the script.
3617 # FIXME: It is wrong to rewrite CC.
3618 # But if we don't then we get into trouble of one sort or another.
3619 # A longer-term fix would be to have automake use am__CC in this case,
3620 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3621 CC="$am_aux_dir/compile $CC"
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 ac_cpp='$CPP $CPPFLAGS'
3633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3637 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3638 # On Suns, sometimes $CPP names a directory.
3639 if test -n "$CPP" && test -d "$CPP"; then
3642 if test -z "$CPP"; then
3643 if ${ac_cv_prog_CPP+:} false; then :
3644 $as_echo_n "(cached) " >&6
3646 # Double quotes because CPP needs to be expanded
3647 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3650 for ac_c_preproc_warn_flag in '' yes
3652 # Use a header file that comes with gcc, so configuring glibc
3653 # with a fresh cross-compiler works.
3654 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3655 # <limits.h> exists even on freestanding compilers.
3656 # On the NeXT, cc -E runs the code through the compiler's parser,
3657 # not just through cpp. "Syntax error" is here to catch this case.
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3661 # include <limits.h>
3663 # include <assert.h>
3667 if ac_fn_c_try_cpp "$LINENO"; then :
3670 # Broken: fails on valid input.
3673 rm -f conftest.err conftest.i conftest.$ac_ext
3675 # OK, works on sane cases. Now check whether nonexistent headers
3676 # can be detected and how.
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3679 #include <ac_nonexistent.h>
3681 if ac_fn_c_try_cpp "$LINENO"; then :
3682 # Broken: success on invalid input.
3685 # Passes both tests.
3689 rm -f conftest.err conftest.i conftest.$ac_ext
3692 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3693 rm -f conftest.i conftest.err conftest.
$ac_ext
3694 if $ac_preproc_ok; then :
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3707 $as_echo "$CPP" >&6; }
3709 for ac_c_preproc_warn_flag
in '' yes
3711 # Use a header file that comes with gcc, so configuring glibc
3712 # with a fresh cross-compiler works.
3713 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3714 # <limits.h> exists even on freestanding compilers.
3715 # On the NeXT, cc -E runs the code through the compiler's parser,
3716 # not just through cpp. "Syntax error" is here to catch this case.
3717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3720 # include <limits.h>
3722 # include <assert.h>
3726 if ac_fn_c_try_cpp
"$LINENO"; then :
3729 # Broken: fails on valid input.
3732 rm -f conftest.err conftest.i conftest.
$ac_ext
3734 # OK, works on sane cases. Now check whether nonexistent headers
3735 # can be detected and how.
3736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3737 /* end confdefs.h. */
3738 #include <ac_nonexistent.h>
3740 if ac_fn_c_try_cpp
"$LINENO"; then :
3741 # Broken: success on invalid input.
3744 # Passes both tests.
3748 rm -f conftest.err conftest.i conftest.
$ac_ext
3751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3752 rm -f conftest.i conftest.err conftest.
$ac_ext
3753 if $ac_preproc_ok; then :
3756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3758 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3759 See \`config.log' for more details" "$LINENO" 5; }
3763 ac_cpp
='$CPP $CPPFLAGS'
3764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3770 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3771 if ${ac_cv_path_GREP+:} false
; then :
3772 $as_echo_n "(cached) " >&6
3774 if test -z "$GREP"; then
3775 ac_path_GREP_found
=false
3776 # Loop through the user's path and test for each of PROGNAME-LIST
3777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3778 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3781 test -z "$as_dir" && as_dir
=.
3782 for ac_prog
in grep ggrep
; do
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3785 as_fn_executable_p
"$ac_path_GREP" ||
continue
3786 # Check for GNU ac_path_GREP and select it if it is found.
3787 # Check for GNU $ac_path_GREP
3788 case `"$ac_path_GREP" --version 2>&1` in
3790 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3793 $as_echo_n 0123456789 >"conftest.in"
3796 cat "conftest.in" "conftest.in" >"conftest.tmp"
3797 mv "conftest.tmp" "conftest.in"
3798 cp "conftest.in" "conftest.nl"
3799 $as_echo 'GREP' >> "conftest.nl"
3800 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3801 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3802 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3803 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3804 # Best one so far, save it but keep looking for a better one
3805 ac_cv_path_GREP
="$ac_path_GREP"
3806 ac_path_GREP_max
=$ac_count
3808 # 10*(2^10) chars as input seems more than enough
3809 test $ac_count -gt 10 && break
3811 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3814 $ac_path_GREP_found && break 3
3819 if test -z "$ac_cv_path_GREP"; then
3820 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3823 ac_cv_path_GREP
=$GREP
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3828 $as_echo "$ac_cv_path_GREP" >&6; }
3829 GREP
="$ac_cv_path_GREP"
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3833 $as_echo_n "checking for egrep... " >&6; }
3834 if ${ac_cv_path_EGREP+:} false
; then :
3835 $as_echo_n "(cached) " >&6
3837 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3838 then ac_cv_path_EGREP
="$GREP -E"
3840 if test -z "$EGREP"; then
3841 ac_path_EGREP_found
=false
3842 # Loop through the user's path and test for each of PROGNAME-LIST
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_prog
in egrep; do
3849 for ac_exec_ext
in '' $ac_executable_extensions; do
3850 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3851 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3852 # Check for GNU ac_path_EGREP and select it if it is found.
3853 # Check for GNU $ac_path_EGREP
3854 case `"$ac_path_EGREP" --version 2>&1` in
3856 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3859 $as_echo_n 0123456789 >"conftest.in"
3862 cat "conftest.in" "conftest.in" >"conftest.tmp"
3863 mv "conftest.tmp" "conftest.in"
3864 cp "conftest.in" "conftest.nl"
3865 $as_echo 'EGREP' >> "conftest.nl"
3866 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3867 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3868 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3869 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3870 # Best one so far, save it but keep looking for a better one
3871 ac_cv_path_EGREP
="$ac_path_EGREP"
3872 ac_path_EGREP_max
=$ac_count
3874 # 10*(2^10) chars as input seems more than enough
3875 test $ac_count -gt 10 && break
3877 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3880 $ac_path_EGREP_found && break 3
3885 if test -z "$ac_cv_path_EGREP"; then
3886 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3889 ac_cv_path_EGREP
=$EGREP
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3895 $as_echo "$ac_cv_path_EGREP" >&6; }
3896 EGREP
="$ac_cv_path_EGREP"
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3900 $as_echo_n "checking for ANSI C header files... " >&6; }
3901 if ${ac_cv_header_stdc+:} false
; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3919 if ac_fn_c_try_compile
"$LINENO"; then :
3920 ac_cv_header_stdc
=yes
3922 ac_cv_header_stdc
=no
3924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3926 if test $ac_cv_header_stdc = yes; then
3927 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h. */
3933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3934 $EGREP "memchr" >/dev
/null
2>&1; then :
3937 ac_cv_header_stdc
=no
3943 if test $ac_cv_header_stdc = yes; then
3944 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3951 $EGREP "free" >/dev
/null
2>&1; then :
3954 ac_cv_header_stdc
=no
3960 if test $ac_cv_header_stdc = yes; then
3961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3962 if test "$cross_compiling" = yes; then :
3965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3969 #if ((' ' & 0x0FF) == 0x020)
3970 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3971 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3973 # define ISLOWER(c) \
3974 (('a' <= (c) && (c) <= 'i') \
3975 || ('j' <= (c) && (c) <= 'r') \
3976 || ('s' <= (c) && (c) <= 'z'))
3977 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3980 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3985 for (i = 0; i < 256; i++)
3986 if (XOR (islower (i), ISLOWER (i))
3987 || toupper (i) != TOUPPER (i))
3992 if ac_fn_c_try_run
"$LINENO"; then :
3995 ac_cv_header_stdc
=no
3997 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3998 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4004 $as_echo "$ac_cv_header_stdc" >&6; }
4005 if test $ac_cv_header_stdc = yes; then
4007 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4011 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4012 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4013 inttypes.h stdint.h unistd.h
4015 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4016 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4019 cat >>confdefs.h
<<_ACEOF
4020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4029 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4030 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4037 if test "$MINIX" = yes; then
4039 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4042 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4045 $as_echo "#define _MINIX 1" >>confdefs.h
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4051 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4052 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4058 # define __EXTENSIONS__ 1
4059 $ac_includes_default
4068 if ac_fn_c_try_compile
"$LINENO"; then :
4069 ac_cv_safe_to_define___extensions__
=yes
4071 ac_cv_safe_to_define___extensions__
=no
4073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4076 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4077 test $ac_cv_safe_to_define___extensions__ = yes &&
4078 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4080 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4082 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4084 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4086 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4090 # Do not delete or change the following two lines. For why, see
4091 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
4092 # Make sure we can run config.sub.
4093 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4094 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4097 $as_echo_n "checking build system type... " >&6; }
4098 if ${ac_cv_build+:} false
; then :
4099 $as_echo_n "(cached) " >&6
4101 ac_build_alias
=$build_alias
4102 test "x$ac_build_alias" = x
&&
4103 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4104 test "x$ac_build_alias" = x
&&
4105 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4106 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4107 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4111 $as_echo "$ac_cv_build" >&6; }
4112 case $ac_cv_build in
4114 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4117 ac_save_IFS
=$IFS; IFS
='-'
4123 # Remember, the first character of IFS is used to create $*,
4124 # except with old shells:
4127 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4131 $as_echo_n "checking host system type... " >&6; }
4132 if ${ac_cv_host+:} false
; then :
4133 $as_echo_n "(cached) " >&6
4135 if test "x$host_alias" = x
; then
4136 ac_cv_host
=$ac_cv_build
4138 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4139 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4144 $as_echo "$ac_cv_host" >&6; }
4147 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4150 ac_save_IFS
=$IFS; IFS
='-'
4156 # Remember, the first character of IFS is used to create $*,
4157 # except with old shells:
4160 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4164 $as_echo_n "checking target system type... " >&6; }
4165 if ${ac_cv_target+:} false
; then :
4166 $as_echo_n "(cached) " >&6
4168 if test "x$target_alias" = x
; then
4169 ac_cv_target
=$ac_cv_host
4171 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4172 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4177 $as_echo "$ac_cv_target" >&6; }
4178 case $ac_cv_target in
4180 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4182 target
=$ac_cv_target
4183 ac_save_IFS
=$IFS; IFS
='-'
4189 # Remember, the first character of IFS is used to create $*,
4190 # except with old shells:
4193 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4196 # The aliases save the names the user supplied, while $host etc.
4197 # will get canonicalized.
4198 test -n "$target_alias" &&
4199 test "$program_prefix$program_suffix$program_transform_name" = \
4201 program_prefix
=${target_alias}-
4203 target_alias
=${target_alias-$host_alias}
4206 if test "$build" != "$host"; then
4207 # We are being configured with some form of cross compiler.
4208 GLIBCXX_IS_NATIVE
=false
4209 case "$host","$target" in
4210 # Darwin crosses can use the host system's libraries and headers,
4211 # because of the fat library support. Of course, it must be the
4212 # same version of Darwin on both sides. Allow the user to
4213 # just say --target=foo-darwin without a version number to mean
4214 # "the version on this system".
4215 *-*-darwin*,*-*-darwin*)
4216 hostos
=`echo $host | sed 's/.*-darwin/darwin/'`
4217 targetos
=`echo $target | sed 's/.*-darwin/darwin/'`
4218 if test $hostos = $targetos ||
test $targetos = darwin
; then
4219 GLIBCXX_IS_NATIVE
=true
4228 GLIBCXX_IS_NATIVE
=true
4231 # Runs configure.host, and assorted other critical bits. Sets
4232 # up critical shell variables.
4234 # Keep these sync'd with the list in Makefile.am. The first provides an
4235 # expandable list at autoconf time; the second provides an expandable list
4236 # (i.e., shell variable) at configure time.
4240 # These need to be absolute paths, yet at the same time need to
4241 # canonicalize only relative paths, because then amd will not unmount
4242 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4243 glibcxx_builddir
=`${PWDCMD-pwd}`
4245 \\/$
* | ?
:\\/*) glibcxx_srcdir
=${srcdir} ;;
4246 *) glibcxx_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4248 toplevel_builddir
=${glibcxx_builddir}/..
4249 toplevel_srcdir
=${glibcxx_srcdir}/..
4255 # We use these options to decide which functions to include. They are
4256 # set from the top level.
4258 # Check whether --with-target-subdir was given.
4259 if test "${with_target_subdir+set}" = set; then :
4260 withval
=$with_target_subdir;
4265 # Check whether --with-cross-host was given.
4266 if test "${with_cross_host+set}" = set; then :
4267 withval
=$with_cross_host;
4272 # Check whether --with-newlib was given.
4273 if test "${with_newlib+set}" = set; then :
4274 withval
=$with_newlib;
4278 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4279 # available). Uncomment the next line to force a particular method.
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4281 $as_echo_n "checking whether ln -s works... " >&6; }
4283 if test "$LN_S" = "ln -s"; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4285 $as_echo "yes" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4288 $as_echo "no, using $LN_S" >&6; }
4293 if test -n "$ac_tool_prefix"; then
4294 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4295 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4297 $as_echo_n "checking for $ac_word... " >&6; }
4298 if ${ac_cv_prog_AS+:} false
; then :
4299 $as_echo_n "(cached) " >&6
4301 if test -n "$AS"; then
4302 ac_cv_prog_AS
="$AS" # Let the user override the test.
4304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4308 test -z "$as_dir" && as_dir
=.
4309 for ac_exec_ext
in '' $ac_executable_extensions; do
4310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4311 ac_cv_prog_AS
="${ac_tool_prefix}as"
4312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 if test -n "$AS"; then
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4324 $as_echo "$AS" >&6; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4332 if test -z "$ac_cv_prog_AS"; then
4334 # Extract the first word of "as", so it can be a program name with args.
4335 set dummy as
; ac_word
=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -n "$ac_ct_AS"; then
4342 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir
=.
4349 for ac_exec_ext
in '' $ac_executable_extensions; do
4350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_ac_ct_AS
="as"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4362 if test -n "$ac_ct_AS"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4364 $as_echo "$ac_ct_AS" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4370 if test "x$ac_ct_AS" = x
; then
4373 case $cross_compiling:$ac_tool_warned in
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4377 ac_tool_warned
=yes ;;
4385 if test -n "$ac_tool_prefix"; then
4386 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4387 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_prog_AR+:} false
; then :
4391 $as_echo_n "(cached) " >&6
4393 if test -n "$AR"; then
4394 ac_cv_prog_AR
="$AR" # Let the user override the test.
4396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4400 test -z "$as_dir" && as_dir
=.
4401 for ac_exec_ext
in '' $ac_executable_extensions; do
4402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 if test -n "$AR"; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4416 $as_echo "$AR" >&6; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4424 if test -z "$ac_cv_prog_AR"; then
4426 # Extract the first word of "ar", so it can be a program name with args.
4427 set dummy
ar; ac_word
=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -n "$ac_ct_AR"; then
4434 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir
=.
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_ac_ct_AR
="ar"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4454 if test -n "$ac_ct_AR"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4456 $as_echo "$ac_ct_AR" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4462 if test "x$ac_ct_AR" = x
; then
4465 case $cross_compiling:$ac_tool_warned in
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4469 ac_tool_warned
=yes ;;
4477 if test -n "$ac_tool_prefix"; then
4478 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4479 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if ${ac_cv_prog_RANLIB+:} false
; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$RANLIB"; then
4486 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir
=.
4493 for ac_exec_ext
in '' $ac_executable_extensions; do
4494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 RANLIB
=$ac_cv_prog_RANLIB
4506 if test -n "$RANLIB"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4508 $as_echo "$RANLIB" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4516 if test -z "$ac_cv_prog_RANLIB"; then
4517 ac_ct_RANLIB
=$RANLIB
4518 # Extract the first word of "ranlib", so it can be a program name with args.
4519 set dummy ranlib
; ac_word
=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$ac_ct_RANLIB"; then
4526 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir
=.
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4546 if test -n "$ac_ct_RANLIB"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4548 $as_echo "$ac_ct_RANLIB" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4554 if test "x$ac_ct_RANLIB" = x
; then
4555 RANLIB
="ranlib-not-found-in-path-error"
4557 case $cross_compiling:$ac_tool_warned in
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561 ac_tool_warned
=yes ;;
4563 RANLIB
=$ac_ct_RANLIB
4566 RANLIB
="$ac_cv_prog_RANLIB"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4572 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4573 # Check whether --enable-maintainer-mode was given.
4574 if test "${enable_maintainer_mode+set}" = set; then :
4575 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4577 USE_MAINTAINER_MODE
=no
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4581 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4582 if test $USE_MAINTAINER_MODE = yes; then
4583 MAINTAINER_MODE_TRUE
=
4584 MAINTAINER_MODE_FALSE
='#'
4586 MAINTAINER_MODE_TRUE
='#'
4587 MAINTAINER_MODE_FALSE
=
4590 MAINT
=$MAINTAINER_MODE_TRUE
4594 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4595 # which are themselves conditionally expanded.
4596 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4597 ## other macros from doing the same. This should be automated.) -pme
4599 # Check for C library flavor since GNU/Linux platforms use different
4600 # configuration directories depending on the C library in use.
4601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4611 $EGREP "_using_uclibc" >/dev
/null
2>&1; then :
4619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4629 $EGREP "_using_bionic" >/dev
/null
2>&1; then :
4637 # Find platform-specific directories containing configuration info.
4638 # Also possibly modify flags used elsewhere, as needed by the platform.
4640 .
$glibcxx_srcdir/configure.
host
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
4642 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
4644 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
4648 # For gettimeofday support.
4650 ac_cpp
='$CXXCPP $CPPFLAGS'
4651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4654 if test -z "$CXX"; then
4655 if test -n "$CCC"; then
4658 if test -n "$ac_tool_prefix"; then
4659 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_prog_CXX+:} false
; then :
4666 $as_echo_n "(cached) " >&6
4668 if test -n "$CXX"; then
4669 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 if test -n "$CXX"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4691 $as_echo "$CXX" >&6; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4698 test -n "$CXX" && break
4701 if test -z "$CXX"; then
4703 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4705 # Extract the first word of "$ac_prog", so it can be a program name with args.
4706 set dummy
$ac_prog; ac_word
=$2
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 $as_echo_n "checking for $ac_word... " >&6; }
4709 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
4710 $as_echo_n "(cached) " >&6
4712 if test -n "$ac_ct_CXX"; then
4713 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir
=.
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4722 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4733 if test -n "$ac_ct_CXX"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4735 $as_echo "$ac_ct_CXX" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4742 test -n "$ac_ct_CXX" && break
4745 if test "x$ac_ct_CXX" = x
; then
4748 case $cross_compiling:$ac_tool_warned in
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752 ac_tool_warned
=yes ;;
4760 # Provide some information about the compiler.
4761 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4764 for ac_option
in --version -v -V -qversion; do
4765 { { ac_try
="$ac_compiler $ac_option >&5"
4767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4768 *) ac_try_echo=$ac_try;;
4770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4771 $as_echo "$ac_try_echo"; } >&5
4772 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4774 if test -s conftest.err; then
4776 ... rest of stderr output deleted ...
4777 10q' conftest.err >conftest.er1
4778 cat conftest.er1 >&5
4780 rm -f conftest.er1 conftest.err
4781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4782 test $ac_status = 0; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4786 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4787 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4788 $as_echo_n "(cached) " >&6
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4804 if ac_fn_cxx_try_compile "$LINENO"; then :
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4814 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4815 if test $ac_compiler_gnu = yes; then
4820 ac_test_CXXFLAGS=${CXXFLAGS+set}
4821 ac_save_CXXFLAGS=$CXXFLAGS
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4823 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4824 if ${ac_cv_prog_cxx_g+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4828 ac_cxx_werror_flag=yes
4831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832 /* end confdefs.h. */
4842 if ac_fn_cxx_try_compile "$LINENO"; then :
4843 ac_cv_prog_cxx_g=yes
4846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4847 /* end confdefs.h. */
4857 if ac_fn_cxx_try_compile "$LINENO"; then :
4860 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4873 if ac_fn_cxx_try_compile "$LINENO"; then :
4874 ac_cv_prog_cxx_g=yes
4876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4884 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4885 if test "$ac_test_CXXFLAGS" = set; then
4886 CXXFLAGS=$ac_save_CXXFLAGS
4887 elif test $ac_cv_prog_cxx_g = yes; then
4888 if test "$GXX" = yes; then
4894 if test "$GXX" = yes; then
4901 ac_cpp='$CXXCPP $CPPFLAGS'
4902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4908 ac_cpp='$CXXCPP $CPPFLAGS'
4909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4913 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4914 if test -z "$CXXCPP"; then
4915 if ${ac_cv_prog_CXXCPP+:} false; then :
4916 $as_echo_n "(cached) " >&6
4918 # Double quotes because CXXCPP needs to be expanded
4919 for CXXCPP in "$CXX -E" "/lib/cpp"
4922 for ac_cxx_preproc_warn_flag in '' yes
4924 # Use a header file that comes with gcc, so configuring glibc
4925 # with a fresh cross-compiler works.
4926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4927 # <limits.h> exists even on freestanding compilers.
4928 # On the NeXT, cc -E runs the code through the compiler's parser,
4929 # not just through cpp. "Syntax error" is here to catch this case.
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4933 # include <limits.h>
4935 # include <assert.h>
4939 if ac_fn_cxx_try_cpp "$LINENO"; then :
4942 # Broken: fails on valid input.
4945 rm -f conftest.err conftest.i conftest.$ac_ext
4947 # OK, works on sane cases. Now check whether nonexistent headers
4948 # can be detected and how.
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4951 #include <ac_nonexistent.h>
4953 if ac_fn_cxx_try_cpp "$LINENO"; then :
4954 # Broken: success on invalid input.
4957 # Passes both tests.
4961 rm -f conftest.err conftest.i conftest.$ac_ext
4964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4965 rm -f conftest.i conftest.err conftest.
$ac_ext
4966 if $ac_preproc_ok; then :
4971 ac_cv_prog_CXXCPP
=$CXXCPP
4974 CXXCPP
=$ac_cv_prog_CXXCPP
4976 ac_cv_prog_CXXCPP
=$CXXCPP
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4979 $as_echo "$CXXCPP" >&6; }
4981 for ac_cxx_preproc_warn_flag
in '' yes
4983 # Use a header file that comes with gcc, so configuring glibc
4984 # with a fresh cross-compiler works.
4985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4986 # <limits.h> exists even on freestanding compilers.
4987 # On the NeXT, cc -E runs the code through the compiler's parser,
4988 # not just through cpp. "Syntax error" is here to catch this case.
4989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4992 # include <limits.h>
4994 # include <assert.h>
4998 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5001 # Broken: fails on valid input.
5004 rm -f conftest.err conftest.i conftest.
$ac_ext
5006 # OK, works on sane cases. Now check whether nonexistent headers
5007 # can be detected and how.
5008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5010 #include <ac_nonexistent.h>
5012 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5013 # Broken: success on invalid input.
5016 # Passes both tests.
5020 rm -f conftest.err conftest.i conftest.
$ac_ext
5023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5024 rm -f conftest.i conftest.err conftest.
$ac_ext
5025 if $ac_preproc_ok; then :
5028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5030 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
5031 See \`config.log' for more details" "$LINENO" 5; }
5035 ac_cpp
='$CXXCPP $CPPFLAGS'
5036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
5044 $as_echo_n "checking for gettimeofday... " >&6; }
5048 ac_cpp
='$CXXCPP $CPPFLAGS'
5049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5053 ac_save_CXXFLAGS
="$CXXFLAGS"
5054 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5056 ac_has_gettimeofday
=no
;
5057 for ac_header
in sys
/time.h
5059 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
5060 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
5061 cat >>confdefs.h
<<_ACEOF
5062 #define HAVE_SYS_TIME_H 1
5064 ac_has_sys_time_h
=yes
5066 ac_has_sys_time_h
=no
5071 if test x
"$ac_has_sys_time_h" = x
"yes"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
5073 $as_echo_n "checking for gettimeofday... " >&6; }
5074 if test x
$gcc_no_link = xyes
; then
5075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5077 #include <sys/time.h>
5081 timeval tv; gettimeofday(&tv, 0);
5086 if ac_fn_cxx_try_compile
"$LINENO"; then :
5087 ac_has_gettimeofday
=yes
5089 ac_has_gettimeofday
=no
5091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5093 if test x
$gcc_no_link = xyes
; then
5094 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <sys/time.h>
5102 timeval tv; gettimeofday(&tv, 0);
5107 if ac_fn_cxx_try_link
"$LINENO"; then :
5108 ac_has_gettimeofday
=yes
5110 ac_has_gettimeofday
=no
5112 rm -f core conftest.err conftest.
$ac_objext \
5113 conftest
$ac_exeext conftest.
$ac_ext
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
5117 $as_echo "$ac_has_gettimeofday" >&6; }
5120 if test x
"$ac_has_gettimeofday" = x
"yes"; then
5122 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
5126 CXXFLAGS
="$ac_save_CXXFLAGS"
5128 ac_cpp
='$CPP $CPPFLAGS'
5129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5135 # For clock_gettime, nanosleep and sched_yield support.
5138 # Check whether --enable-libstdcxx-time was given.
5139 if test "${enable_libstdcxx_time+set}" = set; then :
5140 enableval
=$enable_libstdcxx_time;
5141 case "$enableval" in
5143 *) as_fn_error $?
"Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
5147 enable_libstdcxx_time
=auto
5154 ac_cpp
='$CXXCPP $CPPFLAGS'
5155 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5156 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5159 ac_save_CXXFLAGS
="$CXXFLAGS"
5160 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5161 ac_save_LIBS
="$LIBS"
5163 ac_has_clock_monotonic
=no
5164 ac_has_clock_realtime
=no
5166 ac_has_sched_yield
=no
5168 if test x
"$enable_libstdcxx_time" = x
"auto"; then
5170 case "${target_os}" in
5172 ac_has_nanosleep
=yes
5175 ac_has_win32_sleep
=yes
5176 ac_has_sched_yield
=yes
5179 ac_has_nanosleep
=yes
5180 ac_has_sched_yield
=yes
5182 # VxWorks has nanosleep as soon as the kernel is configured with
5183 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
5185 ac_has_nanosleep
=yes
5187 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
5188 # Don't use link test for freestanding library, in case gcc_no_link=yes
5189 if test x
"$is_hosted" = xyes
; then
5190 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5192 $as_echo_n "checking for library containing clock_gettime... " >&6; }
5193 if ${ac_cv_search_clock_gettime+:} false
; then :
5194 $as_echo_n "(cached) " >&6
5196 ac_func_search_save_LIBS
=$LIBS
5197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5198 /* end confdefs.h. */
5200 /* Override any GCC internal prototype to avoid an error.
5201 Use char because int might match the return type of a GCC
5202 builtin and then its argument prototype would still apply. */
5206 char clock_gettime ();
5210 return clock_gettime ();
5215 for ac_lib
in '' rt
; do
5216 if test -z "$ac_lib"; then
5217 ac_res
="none required"
5220 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5222 if test x
$gcc_no_link = xyes
; then
5223 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5225 if ac_fn_cxx_try_link
"$LINENO"; then :
5226 ac_cv_search_clock_gettime
=$ac_res
5228 rm -f core conftest.err conftest.
$ac_objext \
5230 if ${ac_cv_search_clock_gettime+:} false
; then :
5234 if ${ac_cv_search_clock_gettime+:} false
; then :
5237 ac_cv_search_clock_gettime
=no
5240 LIBS
=$ac_func_search_save_LIBS
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5243 $as_echo "$ac_cv_search_clock_gettime" >&6; }
5244 ac_res
=$ac_cv_search_clock_gettime
5245 if test "$ac_res" != no
; then :
5246 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5250 if test x
"$ac_cv_search_clock_gettime" = x
"none required"; then
5251 ac_has_clock_monotonic
=yes
5252 ac_has_clock_realtime
=yes
5255 ac_has_nanosleep
=yes
5256 ac_has_sched_yield
=yes
5258 freebsd
*|netbsd
*|dragonfly
*|rtems
*)
5259 ac_has_clock_monotonic
=yes
5260 ac_has_clock_realtime
=yes
5261 ac_has_nanosleep
=yes
5262 ac_has_sched_yield
=yes
5265 ac_has_clock_monotonic
=yes
5266 ac_has_clock_realtime
=yes
5267 ac_has_nanosleep
=yes
5270 ac_has_clock_monotonic
=yes
5271 ac_has_clock_realtime
=yes
5272 ac_has_nanosleep
=yes
5273 ac_has_sched_yield
=yes
5276 ac_has_nanosleep
=yes
5277 ac_has_sched_yield
=yes
5280 elif test x
"$enable_libstdcxx_time" != x
"no"; then
5282 if test x
"$enable_libstdcxx_time" = x
"rt"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5284 $as_echo_n "checking for library containing clock_gettime... " >&6; }
5285 if ${ac_cv_search_clock_gettime+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 ac_func_search_save_LIBS
=$LIBS
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5292 /* Override any GCC internal prototype to avoid an error.
5293 Use char because int might match the return type of a GCC
5294 builtin and then its argument prototype would still apply. */
5298 char clock_gettime ();
5302 return clock_gettime ();
5307 for ac_lib
in '' rt
; do
5308 if test -z "$ac_lib"; then
5309 ac_res
="none required"
5312 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5314 if test x
$gcc_no_link = xyes
; then
5315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5317 if ac_fn_cxx_try_link
"$LINENO"; then :
5318 ac_cv_search_clock_gettime
=$ac_res
5320 rm -f core conftest.err conftest.
$ac_objext \
5322 if ${ac_cv_search_clock_gettime+:} false
; then :
5326 if ${ac_cv_search_clock_gettime+:} false
; then :
5329 ac_cv_search_clock_gettime
=no
5332 LIBS
=$ac_func_search_save_LIBS
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5335 $as_echo "$ac_cv_search_clock_gettime" >&6; }
5336 ac_res
=$ac_cv_search_clock_gettime
5337 if test "$ac_res" != no
; then :
5338 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
5343 $as_echo_n "checking for library containing nanosleep... " >&6; }
5344 if ${ac_cv_search_nanosleep+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5347 ac_func_search_save_LIBS
=$LIBS
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5351 /* Override any GCC internal prototype to avoid an error.
5352 Use char because int might match the return type of a GCC
5353 builtin and then its argument prototype would still apply. */
5361 return nanosleep ();
5366 for ac_lib
in '' rt
; do
5367 if test -z "$ac_lib"; then
5368 ac_res
="none required"
5371 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5373 if test x
$gcc_no_link = xyes
; then
5374 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5376 if ac_fn_cxx_try_link
"$LINENO"; then :
5377 ac_cv_search_nanosleep
=$ac_res
5379 rm -f core conftest.err conftest.
$ac_objext \
5381 if ${ac_cv_search_nanosleep+:} false
; then :
5385 if ${ac_cv_search_nanosleep+:} false
; then :
5388 ac_cv_search_nanosleep
=no
5391 LIBS
=$ac_func_search_save_LIBS
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
5394 $as_echo "$ac_cv_search_nanosleep" >&6; }
5395 ac_res
=$ac_cv_search_nanosleep
5396 if test "$ac_res" != no
; then :
5397 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5402 ac_fn_cxx_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5403 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
5407 ac_fn_cxx_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5408 if test "x$ac_cv_func_nanosleep" = xyes
; then :
5414 case "$ac_cv_search_clock_gettime" in
5415 -l*) GLIBCXX_LIBS
=$ac_cv_search_clock_gettime
5418 case "$ac_cv_search_nanosleep" in
5419 -l*) GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
5424 $as_echo_n "checking for library containing sched_yield... " >&6; }
5425 if ${ac_cv_search_sched_yield+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5428 ac_func_search_save_LIBS
=$LIBS
5429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5432 /* Override any GCC internal prototype to avoid an error.
5433 Use char because int might match the return type of a GCC
5434 builtin and then its argument prototype would still apply. */
5438 char sched_yield ();
5442 return sched_yield ();
5447 for ac_lib
in '' rt
; do
5448 if test -z "$ac_lib"; then
5449 ac_res
="none required"
5452 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5454 if test x
$gcc_no_link = xyes
; then
5455 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5457 if ac_fn_cxx_try_link
"$LINENO"; then :
5458 ac_cv_search_sched_yield
=$ac_res
5460 rm -f core conftest.err conftest.
$ac_objext \
5462 if ${ac_cv_search_sched_yield+:} false
; then :
5466 if ${ac_cv_search_sched_yield+:} false
; then :
5469 ac_cv_search_sched_yield
=no
5472 LIBS
=$ac_func_search_save_LIBS
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
5475 $as_echo "$ac_cv_search_sched_yield" >&6; }
5476 ac_res
=$ac_cv_search_sched_yield
5477 if test "$ac_res" != no
; then :
5478 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5483 case "$ac_cv_search_sched_yield" in
5485 if test x
"$enable_libstdcxx_time" = x
"rt"; then
5486 GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
5487 ac_has_sched_yield
=yes
5491 ac_has_sched_yield
=yes
5495 for ac_header
in unistd.h
5497 ac_fn_cxx_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5498 if test "x$ac_cv_header_unistd_h" = xyes
; then :
5499 cat >>confdefs.h
<<_ACEOF
5500 #define HAVE_UNISTD_H 1
5510 if test x
"$ac_has_unistd_h" = x
"yes"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
5512 $as_echo_n "checking for monotonic clock... " >&6; }
5513 if test x
$gcc_no_link = xyes
; then
5514 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5524 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
5527 clock_gettime(CLOCK_MONOTONIC, &tp);
5533 if ac_fn_cxx_try_link
"$LINENO"; then :
5534 ac_has_clock_monotonic
=yes
5536 ac_has_clock_monotonic
=no
5538 rm -f core conftest.err conftest.
$ac_objext \
5539 conftest
$ac_exeext conftest.
$ac_ext
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
5542 $as_echo "$ac_has_clock_monotonic" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
5545 $as_echo_n "checking for realtime clock... " >&6; }
5546 if test x
$gcc_no_link = xyes
; then
5547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5557 #if _POSIX_TIMERS > 0
5560 clock_gettime(CLOCK_REALTIME, &tp);
5566 if ac_fn_cxx_try_link
"$LINENO"; then :
5567 ac_has_clock_realtime
=yes
5569 ac_has_clock_realtime
=no
5571 rm -f core conftest.err conftest.
$ac_objext \
5572 conftest
$ac_exeext conftest.
$ac_ext
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
5575 $as_echo "$ac_has_clock_realtime" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
5578 $as_echo_n "checking for nanosleep... " >&6; }
5579 if test x
$gcc_no_link = xyes
; then
5580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5590 #if _POSIX_TIMERS > 0
5599 if ac_fn_cxx_try_link
"$LINENO"; then :
5600 ac_has_nanosleep
=yes
5604 rm -f core conftest.err conftest.
$ac_objext \
5605 conftest
$ac_exeext conftest.
$ac_ext
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
5608 $as_echo "$ac_has_nanosleep" >&6; }
5612 if test x
"$ac_has_clock_monotonic" != x
"yes"; then
5613 case ${target_os} in
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
5616 $as_echo_n "checking for clock_gettime syscall... " >&6; }
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5621 #include <sys/syscall.h>
5626 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
5629 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
5630 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
5636 if ac_fn_cxx_try_compile
"$LINENO"; then :
5637 ac_has_clock_gettime_syscall
=yes
5639 ac_has_clock_gettime_syscall
=no
5641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
5643 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
5644 if test x
"$ac_has_clock_gettime_syscall" = x
"yes"; then
5646 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
5648 ac_has_clock_monotonic
=yes
5649 ac_has_clock_realtime
=yes
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
5651 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
5652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5655 #include <sys/syscall.h>
5660 #ifdef SYS_clock_gettime64
5661 #if SYS_clock_gettime64 != SYS_clock_gettime
5662 // We need to use SYS_clock_gettime and libc appears to
5663 // also know about the SYS_clock_gettime64 syscall.
5664 // Check that userspace doesn't use time64 version of timespec.
5665 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
5666 "struct timespec must be compatible with SYS_clock_gettime");
5674 if ac_fn_cxx_try_compile
"$LINENO"; then :
5675 ac_timespec_matches_syscall
=yes
5677 ac_timespec_matches_syscall
=no
5679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
5681 $as_echo "$ac_timespec_matches_syscall" >&6; }
5682 if test x
"$ac_timespec_matches_syscall" = no
; then
5683 as_fn_error $?
"struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
5689 if test x
"$ac_has_clock_monotonic" = x
"yes"; then
5691 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
5695 if test x
"$ac_has_clock_realtime" = x
"yes"; then
5697 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
5701 if test x
"$ac_has_sched_yield" = x
"yes"; then
5703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
5707 if test x
"$ac_has_nanosleep" = x
"yes"; then
5709 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
5711 elif test x
"$ac_has_win32_sleep" = x
"yes"; then
5713 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
5717 $as_echo_n "checking for sleep... " >&6; }
5718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5719 /* end confdefs.h. */
5729 if ac_fn_cxx_try_compile
"$LINENO"; then :
5734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5735 if test x
"$ac_has_sleep" = x
"yes"; then
5737 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
5741 $as_echo "$ac_has_sleep" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
5743 $as_echo_n "checking for usleep... " >&6; }
5744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5756 if ac_fn_cxx_try_compile
"$LINENO"; then :
5761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5762 if test x
"$ac_has_usleep" = x
"yes"; then
5764 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
5768 $as_echo "$ac_has_usleep" >&6; }
5771 if test x
"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x
"nonono"; then
5773 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
5779 CXXFLAGS
="$ac_save_CXXFLAGS"
5780 LIBS
="$ac_save_LIBS"
5782 ac_cpp
='$CPP $CPPFLAGS'
5783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5789 am__api_version
='1.15'
5791 # Find a good install program. We prefer a C program (faster),
5792 # so one script is as good as another. But avoid the broken or
5793 # incompatible versions:
5794 # SysV /etc/install, /usr/sbin/install
5795 # SunOS /usr/etc/install
5796 # IRIX /sbin/install
5798 # AmigaOS /C/install, which installs bootblocks on floppy discs
5799 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5800 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5801 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5802 # OS/2's system install, which has a completely different semantic
5803 # ./install, which can be erroneously created by make from ./install.sh.
5804 # Reject install programs that cannot install multiple files.
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5806 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5807 if test -z "$INSTALL"; then
5808 if ${ac_cv_path_install+:} false
; then :
5809 $as_echo_n "(cached) " >&6
5811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir
=.
5816 # Account for people who put trailing slashes in PATH elements.
5817 case $as_dir/ in #((
5818 .
/ | .
// |
/[cC
]/* | \
5819 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5820 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5823 # OSF1 and SCO ODT 3.0 have their own names for install.
5824 # Don't use installbsd from OSF since it installs stuff as root
5826 for ac_prog
in ginstall scoinst
install; do
5827 for ac_exec_ext
in '' $ac_executable_extensions; do
5828 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5829 if test $ac_prog = install &&
5830 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5831 # AIX install. It has an incompatible calling convention.
5833 elif test $ac_prog = install &&
5834 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5835 # program-specific install script used by HP pwplus--don't use.
5838 rm -rf conftest.one conftest.two conftest.dir
5839 echo one
> conftest.one
5840 echo two
> conftest.two
5842 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5843 test -s conftest.one
&& test -s conftest.two
&&
5844 test -s conftest.dir
/conftest.one
&&
5845 test -s conftest.dir
/conftest.two
5847 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5860 rm -rf conftest.one conftest.two conftest.dir
5863 if test "${ac_cv_path_install+set}" = set; then
5864 INSTALL
=$ac_cv_path_install
5866 # As a last resort, use the slow shell script. Don't cache a
5867 # value for INSTALL within a source directory, because that will
5868 # break other packages using the cache if that directory is
5869 # removed, or if the value is a relative name.
5870 INSTALL
=$ac_install_sh
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5874 $as_echo "$INSTALL" >&6; }
5876 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5877 # It thinks the first close brace ends the variable substitution.
5878 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5880 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5882 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5885 $as_echo_n "checking whether build environment is sane... " >&6; }
5886 # Reject unsafe characters in $srcdir or the absolute working directory
5887 # name. Accept space and tab only in the latter.
5891 *[\\\"\
#\$\&\'\`$am_lf]*)
5892 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
5895 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
5896 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5899 # Do 'set' in a subshell so we don't clobber the current shell's
5900 # arguments. Must try -L first in case configure is actually a
5901 # symlink; some systems play weird games with the mod time of symlinks
5902 # (eg FreeBSD returns the mod time of the symlink's containing
5906 for am_try
in 1 2; do
5907 echo "timestamp, slept: $am_has_slept" > conftest.
file
5908 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5909 if test "$*" = "X"; then
5911 set X
`ls -t "$srcdir/configure" conftest.file`
5913 if test "$*" != "X $srcdir/configure conftest.file" \
5914 && test "$*" != "X conftest.file $srcdir/configure"; then
5916 # If neither matched, then we have a broken ls. This can happen
5917 # if, for instance, CONFIG_SHELL is bash and it inherits a
5918 # broken ls alias from the environment. This has actually
5919 # happened. Such a system could not be considered "sane".
5920 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
5921 alias in your environment" "$LINENO" 5
5923 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
5930 test "$2" = conftest.
file
5936 as_fn_error $?
"newly created file is older than distributed files!
5937 Check your system clock" "$LINENO" 5
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5940 $as_echo "yes" >&6; }
5941 # If we didn't sleep, we still need to ensure time stamps of config.status and
5942 # generated files are strictly newer.
5944 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
5951 test "$program_prefix" != NONE
&&
5952 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
5953 # Use a double $ so make ignores it.
5954 test "$program_suffix" != NONE
&&
5955 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
5956 # Double any \ or $.
5957 # By default was `s,x,x', remove it if useless.
5958 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
5959 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
5961 if test x
"${MISSING+set}" != xset
; then
5964 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5966 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5969 # Use eval to expand $SHELL
5970 if eval "$MISSING --is-lightweight"; then
5971 am_missing_run
="$MISSING "
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5975 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5978 if test x
"${install_sh+set}" != xset
; then
5981 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5983 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5987 # Installed binaries are usually stripped using 'strip' when the user
5988 # run "make install-strip". However 'strip' might not be the right
5989 # tool to use in cross-compilation environments, therefore Automake
5990 # will honor the 'STRIP' environment variable to overrule this program.
5991 if test "$cross_compiling" != no
; then
5992 if test -n "$ac_tool_prefix"; then
5993 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5994 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_STRIP+:} false
; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$STRIP"; then
6001 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir
=.
6008 for ac_exec_ext
in '' $ac_executable_extensions; do
6009 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 STRIP
=$ac_cv_prog_STRIP
6021 if test -n "$STRIP"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6023 $as_echo "$STRIP" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6031 if test -z "$ac_cv_prog_STRIP"; then
6033 # Extract the first word of "strip", so it can be a program name with args.
6034 set dummy strip
; ac_word
=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6038 $as_echo_n "(cached) " >&6
6040 if test -n "$ac_ct_STRIP"; then
6041 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6047 test -z "$as_dir" && as_dir
=.
6048 for ac_exec_ext
in '' $ac_executable_extensions; do
6049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6050 ac_cv_prog_ac_ct_STRIP
="strip"
6051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6061 if test -n "$ac_ct_STRIP"; then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6063 $as_echo "$ac_ct_STRIP" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6069 if test "x$ac_ct_STRIP" = x
; then
6072 case $cross_compiling:$ac_tool_warned in
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076 ac_tool_warned
=yes ;;
6081 STRIP
="$ac_cv_prog_STRIP"
6085 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6088 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6089 if test -z "$MKDIR_P"; then
6090 if ${ac_cv_path_mkdir+:} false
; then :
6091 $as_echo_n "(cached) " >&6
6093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6094 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
6097 test -z "$as_dir" && as_dir
=.
6098 for ac_prog
in mkdir gmkdir
; do
6099 for ac_exec_ext
in '' $ac_executable_extensions; do
6100 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
6101 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6102 'mkdir (GNU coreutils) '* | \
6103 'mkdir (coreutils) '* | \
6104 'mkdir (fileutils) '4.1*)
6105 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
6115 test -d .
/--version && rmdir .
/--version
6116 if test "${ac_cv_path_mkdir+set}" = set; then
6117 MKDIR_P
="$ac_cv_path_mkdir -p"
6119 # As a last resort, use the slow shell script. Don't cache a
6120 # value for MKDIR_P within a source directory, because that will
6121 # break other packages using the cache if that directory is
6122 # removed, or if the value is a relative name.
6123 MKDIR_P
="$ac_install_sh -d"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6127 $as_echo "$MKDIR_P" >&6; }
6129 for ac_prog
in gawk mawk nawk
awk
6131 # Extract the first word of "$ac_prog", so it can be a program name with args.
6132 set dummy
$ac_prog; ac_word
=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_AWK+:} false
; then :
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$AWK"; then
6139 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir
=.
6146 for ac_exec_ext
in '' $ac_executable_extensions; do
6147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_AWK
="$ac_prog"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 if test -n "$AWK"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6161 $as_echo "$AWK" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6168 test -n "$AWK" && break
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6172 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6174 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6175 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6176 $as_echo_n "(cached) " >&6
6178 cat >conftest.
make <<\_ACEOF
6181 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6183 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6184 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6186 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6188 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6192 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6194 $as_echo "yes" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6199 SET_MAKE
="MAKE=${MAKE-make}"
6202 rm -rf .tst
2>/dev
/null
6203 mkdir .tst
2>/dev
/null
6204 if test -d .tst
; then
6209 rmdir .tst
2>/dev
/null
6211 DEPDIR
="${am__leading_dot}deps"
6213 ac_config_commands
="$ac_config_commands depfiles"
6216 am_make
=${MAKE-make}
6217 cat > confinc
<< 'END'
6219 @
echo this is the am__doit target
6222 # If we don't find an include directive, just comment out the code.
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
6224 $as_echo_n "checking for style of include used by $am_make... " >&6; }
6228 # First try GNU make style include.
6229 echo "include confinc" > confmf
6230 # Ignore all kinds of additional output from 'make'.
6231 case `$am_make -s -f confmf 2> /dev/null` in #(
6232 *the\ am__doit\ target
*)
6238 # Now try BSD make style include.
6239 if test "$am__include" = "#"; then
6240 echo '.include "confinc"' > confmf
6241 case `$am_make -s -f confmf 2> /dev/null` in #(
6242 *the\ am__doit\ target
*)
6243 am__include
=.include
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
6252 $as_echo "$_am_result" >&6; }
6253 rm -f confinc confmf
6255 # Check whether --enable-dependency-tracking was given.
6256 if test "${enable_dependency_tracking+set}" = set; then :
6257 enableval
=$enable_dependency_tracking;
6260 if test "x$enable_dependency_tracking" != xno
; then
6261 am_depcomp
="$ac_aux_dir/depcomp"
6265 if test "x$enable_dependency_tracking" != xno; then
6274 # Check whether --enable-silent-rules was given.
6275 if test "${enable_silent_rules+set}" = set; then :
6276 enableval
=$enable_silent_rules;
6279 case $enable_silent_rules in # (((
6280 yes) AM_DEFAULT_VERBOSITY
=0;;
6281 no
) AM_DEFAULT_VERBOSITY
=1;;
6282 *) AM_DEFAULT_VERBOSITY
=1;;
6284 am_make
=${MAKE-make}
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
6286 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
6287 if ${am_cv_make_support_nested_variables+:} false
; then :
6288 $as_echo_n "(cached) " >&6
6290 if $as_echo 'TRUE=$(BAR$(V))
6296 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
6297 am_cv_make_support_nested_variables
=yes
6299 am_cv_make_support_nested_variables
=no
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
6303 $as_echo "$am_cv_make_support_nested_variables" >&6; }
6304 if test $am_cv_make_support_nested_variables = yes; then
6306 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
6308 AM_V
=$AM_DEFAULT_VERBOSITY
6309 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
6313 if test "`cd $srcdir && pwd`" != "`pwd`"; then
6314 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6315 # is not polluted with repeated "-I."
6316 am__isrc
=' -I$(srcdir)'
6317 # test to see if srcdir already configured
6318 if test -f $srcdir/config.status
; then
6319 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
6323 # test whether we have cygpath
6324 if test -z "$CYGPATH_W"; then
6325 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6326 CYGPATH_W
='cygpath -w'
6333 # Define the identity of the package.
6335 VERSION
='version-unused'
6338 # Some tools Automake needs.
6340 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6343 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6346 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6349 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6352 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6354 # For better backward compatibility. To be removed once Automake 1.9.x
6355 # dies out for good. For more background, see:
6356 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6357 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6358 mkdir_p
='$(MKDIR_P)'
6360 # We need awk for the "check" target (and possibly the TAP driver). The
6361 # system "awk" is bad on some platforms.
6362 # Always define AMTAR for backward compatibility. Yes, it's still used
6363 # in the wild :-( We should find a proper way to deprecate it ...
6367 # We'll loop over all known methods to create a tar archive until one works.
6368 _am_tools
='gnutar pax cpio none'
6370 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
6376 depcc
="$CC" am_compiler_list
=
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6379 $as_echo_n "checking dependency style of $depcc... " >&6; }
6380 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6384 # We make a subdir and do the tests there. Otherwise we can end up
6385 # making bogus files that we don't know about and never remove. For
6386 # instance it was reported that on HP-UX the gcc test will end up
6387 # making a dummy file named 'D' -- because '-MD' means "put the output
6391 # Copy depcomp to subdir because otherwise we won't find it if we're
6392 # using a relative directory.
6393 cp "$am_depcomp" conftest.dir
6395 # We will build objects and dependencies in a subdirectory because
6396 # it helps to detect inapplicable dependency modes. For instance
6397 # both Tru64's cc and ICC support -MD to output dependencies as a
6398 # side effect of compilation, but ICC will put the dependencies in
6399 # the current directory while Tru64 will put them in the object
6403 am_cv_CC_dependencies_compiler_type
=none
6404 if test "$am_compiler_list" = ""; then
6405 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6408 case " $depcc " in #(
6409 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6412 for depmode
in $am_compiler_list; do
6413 # Setup a source with many dependencies, because some compilers
6414 # like to wrap large dependency lists on column 80 (with \), and
6415 # we should not choose a depcomp mode which is confused by this.
6417 # We need to recreate these files for each test, as the compiler may
6418 # overwrite some of them when testing with obscure command lines.
6419 # This happens at least with the AIX C compiler.
6421 for i
in 1 2 3 4 5 6; do
6422 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6423 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6424 # Solaris 10 /bin/sh.
6425 echo '/* dummy */' > sub
/conftst
$i.h
6427 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6429 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6430 # mode. It turns out that the SunPro C++ compiler does not properly
6431 # handle '-M -o', and we need to detect this. Also, some Intel
6432 # versions had trouble with output in subdirs.
6433 am__obj
=sub
/conftest.
${OBJEXT-o}
6434 am__minus_obj
="-o $am__obj"
6437 # This depmode causes a compiler race in universal mode.
6438 test "$am__universal" = false ||
continue
6441 # After this tag, mechanisms are not by side-effect, so they'll
6442 # only be used when explicitly requested.
6443 if test "x$enable_dependency_tracking" = xyes
; then
6449 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6450 # This compiler won't grok '-c -o', but also, the minuso test has
6451 # not run yet. These depmodes are late enough in the game, and
6452 # so weak that their functioning should not be impacted.
6453 am__obj
=conftest.
${OBJEXT-o}
6458 if depmode
=$depmode \
6459 source=sub
/conftest.c object
=$am__obj \
6460 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6461 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6462 >/dev
/null
2>conftest.err
&&
6463 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6464 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6465 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6466 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6467 # icc doesn't choke on unknown options, it will just issue warnings
6468 # or remarks (even with -Werror). So we grep stderr for any message
6469 # that says an option was ignored or not supported.
6470 # When given -MP, icc 7.0 and 7.1 complain thusly:
6471 # icc: Command line warning: ignoring option '-M'; no argument required
6472 # The diagnosis changed in icc 8.0:
6473 # icc: Command line remark: option '-MP' not supported
6474 if (grep 'ignoring option' conftest.err ||
6475 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6476 am_cv_CC_dependencies_compiler_type
=$depmode
6485 am_cv_CC_dependencies_compiler_type
=none
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6490 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6491 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6494 test "x$enable_dependency_tracking" != xno \
6495 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6497 am__fastdepCC_FALSE
='#'
6499 am__fastdepCC_TRUE
='#'
6500 am__fastdepCC_FALSE
=
6504 depcc
="$CXX" am_compiler_list
=
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6507 $as_echo_n "checking dependency style of $depcc... " >&6; }
6508 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6509 $as_echo_n "(cached) " >&6
6511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6512 # We make a subdir and do the tests there. Otherwise we can end up
6513 # making bogus files that we don't know about and never remove. For
6514 # instance it was reported that on HP-UX the gcc test will end up
6515 # making a dummy file named 'D' -- because '-MD' means "put the output
6519 # Copy depcomp to subdir because otherwise we won't find it if we're
6520 # using a relative directory.
6521 cp "$am_depcomp" conftest.dir
6523 # We will build objects and dependencies in a subdirectory because
6524 # it helps to detect inapplicable dependency modes. For instance
6525 # both Tru64's cc and ICC support -MD to output dependencies as a
6526 # side effect of compilation, but ICC will put the dependencies in
6527 # the current directory while Tru64 will put them in the object
6531 am_cv_CXX_dependencies_compiler_type
=none
6532 if test "$am_compiler_list" = ""; then
6533 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6536 case " $depcc " in #(
6537 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6540 for depmode
in $am_compiler_list; do
6541 # Setup a source with many dependencies, because some compilers
6542 # like to wrap large dependency lists on column 80 (with \), and
6543 # we should not choose a depcomp mode which is confused by this.
6545 # We need to recreate these files for each test, as the compiler may
6546 # overwrite some of them when testing with obscure command lines.
6547 # This happens at least with the AIX C compiler.
6549 for i
in 1 2 3 4 5 6; do
6550 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6551 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6552 # Solaris 10 /bin/sh.
6553 echo '/* dummy */' > sub
/conftst
$i.h
6555 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6557 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6558 # mode. It turns out that the SunPro C++ compiler does not properly
6559 # handle '-M -o', and we need to detect this. Also, some Intel
6560 # versions had trouble with output in subdirs.
6561 am__obj
=sub
/conftest.
${OBJEXT-o}
6562 am__minus_obj
="-o $am__obj"
6565 # This depmode causes a compiler race in universal mode.
6566 test "$am__universal" = false ||
continue
6569 # After this tag, mechanisms are not by side-effect, so they'll
6570 # only be used when explicitly requested.
6571 if test "x$enable_dependency_tracking" = xyes
; then
6577 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6578 # This compiler won't grok '-c -o', but also, the minuso test has
6579 # not run yet. These depmodes are late enough in the game, and
6580 # so weak that their functioning should not be impacted.
6581 am__obj
=conftest.
${OBJEXT-o}
6586 if depmode
=$depmode \
6587 source=sub
/conftest.c object
=$am__obj \
6588 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6589 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6590 >/dev
/null
2>conftest.err
&&
6591 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6592 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6593 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6594 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6595 # icc doesn't choke on unknown options, it will just issue warnings
6596 # or remarks (even with -Werror). So we grep stderr for any message
6597 # that says an option was ignored or not supported.
6598 # When given -MP, icc 7.0 and 7.1 complain thusly:
6599 # icc: Command line warning: ignoring option '-M'; no argument required
6600 # The diagnosis changed in icc 8.0:
6601 # icc: Command line remark: option '-MP' not supported
6602 if (grep 'ignoring option' conftest.err ||
6603 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6604 am_cv_CXX_dependencies_compiler_type
=$depmode
6613 am_cv_CXX_dependencies_compiler_type
=none
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6618 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6619 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6622 test "x$enable_dependency_tracking" != xno \
6623 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6624 am__fastdepCXX_TRUE
=
6625 am__fastdepCXX_FALSE
='#'
6627 am__fastdepCXX_TRUE
='#'
6628 am__fastdepCXX_FALSE
=
6633 # POSIX will say in a future version that running "rm -f" with no argument
6634 # is OK; and we want to be able to make that assumption in our Makefile
6635 # recipes. So use an aggressive probe to check that the usage we want is
6636 # actually supported "in the wild" to an acceptable degree.
6637 # See automake bug#10828.
6638 # To make any issue more visible, cause the running configure to be aborted
6639 # by default if the 'rm' program in use doesn't match our expectations; the
6640 # user can still override this though.
6641 if rm -f && rm -fr && rm -rf; then : OK
; else
6645 Your 'rm' program seems unable to run without file operands specified
6646 on the command line, even when the '-f' option is present. This is contrary
6647 to the behaviour of most rm programs out there, and not conforming with
6648 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
6650 Please tell bug-automake@gnu.org about your system, including the value
6651 of your $PATH and any error possibly output before this message. This
6652 can help us improve future automake versions.
6655 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
6656 echo 'Configuration will proceed anyway, since you have set the' >&2
6657 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
6661 Aborting the configuration process, to ensure you take notice of the issue.
6663 You can download and install GNU coreutils to get an 'rm' implementation
6664 that behaves properly: <http://www.gnu.org/software/coreutils/>.
6666 If you want to complete the configuration process using your problematic
6667 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
6668 to "yes", and re-run configure.
6671 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
6680 # Check whether --with-cross-host was given.
6681 if test "${with_cross_host+set}" = set; then :
6682 withval
=$with_cross_host;
6686 # Checks for header files.
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6688 $as_echo_n "checking for ANSI C header files... " >&6; }
6689 if ${ac_cv_header_stdc+:} false
; then :
6690 $as_echo_n "(cached) " >&6
6692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6693 /* end confdefs.h. */
6707 if ac_fn_c_try_compile
"$LINENO"; then :
6708 ac_cv_header_stdc
=yes
6710 ac_cv_header_stdc
=no
6712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6714 if test $ac_cv_header_stdc = yes; then
6715 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6722 $EGREP "memchr" >/dev
/null
2>&1; then :
6725 ac_cv_header_stdc
=no
6731 if test $ac_cv_header_stdc = yes; then
6732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6739 $EGREP "free" >/dev
/null
2>&1; then :
6742 ac_cv_header_stdc
=no
6748 if test $ac_cv_header_stdc = yes; then
6749 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6750 if test "$cross_compiling" = yes; then :
6753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6757 #if ((' ' & 0x0FF) == 0x020)
6758 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6759 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6761 # define ISLOWER(c) \
6762 (('a' <= (c) && (c) <= 'i') \
6763 || ('j' <= (c) && (c) <= 'r') \
6764 || ('s' <= (c) && (c) <= 'z'))
6765 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6768 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6773 for (i = 0; i < 256; i++)
6774 if (XOR (islower (i), ISLOWER (i))
6775 || toupper (i) != TOUPPER (i))
6780 if ac_fn_c_try_run
"$LINENO"; then :
6783 ac_cv_header_stdc
=no
6785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6786 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6792 $as_echo "$ac_cv_header_stdc" >&6; }
6793 if test $ac_cv_header_stdc = yes; then
6795 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6800 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6801 if ${ac_cv_header_sys_wait_h+:} false
; then :
6802 $as_echo_n "(cached) " >&6
6804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6806 #include <sys/types.h>
6807 #include <sys/wait.h>
6809 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6812 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6820 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6825 if ac_fn_c_try_compile
"$LINENO"; then :
6826 ac_cv_header_sys_wait_h
=yes
6828 ac_cv_header_sys_wait_h
=no
6830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6833 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6834 if test $ac_cv_header_sys_wait_h = yes; then
6836 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6841 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6842 if ${ac_cv_header_time+:} false
; then :
6843 $as_echo_n "(cached) " >&6
6845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 #include <sys/types.h>
6848 #include <sys/time.h>
6854 if ((struct tm *) 0)
6860 if ac_fn_c_try_compile
"$LINENO"; then :
6861 ac_cv_header_time
=yes
6863 ac_cv_header_time
=no
6865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6868 $as_echo "$ac_cv_header_time" >&6; }
6869 if test $ac_cv_header_time = yes; then
6871 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6875 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
6876 if test "x$ac_cv_header_math_h" = xyes
; then :
6878 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
6884 for ac_header
in getopt.h limits.h stddef.h string.h
strings.h \
6886 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
6887 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
6889 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
6890 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
6891 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
6892 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
6894 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6895 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6896 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6897 cat >>confdefs.h
<<_ACEOF
6898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907 case ${build_alias} in
6908 "") build_noncanonical
=${build} ;;
6909 *) build_noncanonical
=${build_alias} ;;
6912 case ${host_alias} in
6913 "") host_noncanonical
=${build_noncanonical} ;;
6914 *) host_noncanonical
=${host_alias} ;;
6919 case ${target_alias} in
6920 "") target_noncanonical
=${host_noncanonical} ;;
6921 *) target_noncanonical
=${target_alias} ;;
6927 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
6928 # have matching libraries, they should use host libraries: Makefile.tpl
6929 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
6930 # However, they still use the build modules, because the corresponding
6931 # host modules (e.g. bison) are only built for the host when bootstrap
6933 # - build_subdir is where we find build modules, and never changes.
6934 # - build_libsubdir is where we find build libraries, and can be overridden.
6936 # Prefix 'build-' so this never conflicts with target_subdir.
6937 build_subdir
="build-${build_noncanonical}"
6939 # Check whether --with-build-libsubdir was given.
6940 if test "${with_build_libsubdir+set}" = set; then :
6941 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
6943 build_libsubdir
="$build_subdir"
6946 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
6947 if ( test $srcdir = .
&& test -d gcc
) \
6948 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
6949 host_subdir
="host-${host_noncanonical}"
6954 target_subdir
=${target_noncanonical}
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
6958 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
6959 # Check whether --enable-version-specific-runtime-libs was given.
6960 if test "${enable_version_specific_runtime_libs+set}" = set; then :
6961 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
6962 yes) version_specific_libs
=yes ;;
6963 no
) version_specific_libs
=no
;;
6964 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
6967 version_specific_libs
=no
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
6971 $as_echo "$version_specific_libs" >&6; }
6974 # Check whether --with-slibdir was given.
6975 if test "${with_slibdir+set}" = set; then :
6976 withval
=$with_slibdir; slibdir
="$with_slibdir"
6978 if test "${version_specific_libs}" = yes; then
6979 slibdir
='$(libsubdir)'
6980 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
6981 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
6989 # Command-line options.
6990 # Very limited version of AC_MAINTAINER_MODE.
6991 # Check whether --enable-maintainer-mode was given.
6992 if test "${enable_maintainer_mode+set}" = set; then :
6993 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
6996 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
6998 maintainer_mode
=${enableval}
7007 # Calculate toolexeclibdir
7008 # Also toolexecdir, though it's only used in toolexeclibdir
7009 case ${version_specific_libs} in
7011 # Need the gcc compiler version to know where to install libraries
7012 # and header files if --enable-version-specific-runtime-libs option
7014 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
7015 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
7018 if test -n "$with_cross_host" &&
7019 test x
"$with_cross_host" != x
"no"; then
7020 # Install a library built with a cross compiler in tooldir, not libdir.
7021 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
7022 toolexeclibdir
='$(toolexecdir)/lib'
7024 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
7025 toolexeclibdir
='$(libdir)'
7027 multi_os_directory
=`$CC -print-multi-os-directory`
7028 case $multi_os_directory in
7029 .
) ;; # Avoid trailing /.
7030 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7043 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7044 # Check whether --enable-maintainer-mode was given.
7045 if test "${enable_maintainer_mode+set}" = set; then :
7046 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7048 USE_MAINTAINER_MODE
=no
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7052 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7053 if test $USE_MAINTAINER_MODE = yes; then
7054 MAINTAINER_MODE_TRUE
=
7055 MAINTAINER_MODE_FALSE
='#'
7057 MAINTAINER_MODE_TRUE
='#'
7058 MAINTAINER_MODE_FALSE
=
7061 MAINT
=$MAINTAINER_MODE_TRUE
7065 # Check the compiler.
7066 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
7067 # We must force CC to /not/ be precious variables; otherwise
7068 # the wrong, non-multilib-adjusted value will be used in multilibs.
7069 # As a side effect, we have to subst CFLAGS ourselves.
7074 ac_cpp
='$CPP $CPPFLAGS'
7075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7078 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7080 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_CC+:} false
; then :
7084 $as_echo_n "(cached) " >&6
7086 if test -n "$CC"; then
7087 ac_cv_prog_CC
="$CC" # Let the user override the test.
7089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir
=.
7094 for ac_exec_ext
in '' $ac_executable_extensions; do
7095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 if test -n "$CC"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7109 $as_echo "$CC" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7117 if test -z "$ac_cv_prog_CC"; then
7119 # Extract the first word of "gcc", so it can be a program name with args.
7120 set dummy gcc
; ac_word
=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
7124 $as_echo_n "(cached) " >&6
7126 if test -n "$ac_ct_CC"; then
7127 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
7129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7133 test -z "$as_dir" && as_dir
=.
7134 for ac_exec_ext
in '' $ac_executable_extensions; do
7135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7136 ac_cv_prog_ac_ct_CC
="gcc"
7137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
7147 if test -n "$ac_ct_CC"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7149 $as_echo "$ac_ct_CC" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7155 if test "x$ac_ct_CC" = x
; then
7158 case $cross_compiling:$ac_tool_warned in
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned
=yes ;;
7170 if test -z "$CC"; then
7171 if test -n "$ac_tool_prefix"; then
7172 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7173 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_CC+:} false
; then :
7177 $as_echo_n "(cached) " >&6
7179 if test -n "$CC"; then
7180 ac_cv_prog_CC
="$CC" # Let the user override the test.
7182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir
=.
7187 for ac_exec_ext
in '' $ac_executable_extensions; do
7188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_CC
="${ac_tool_prefix}cc"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7200 if test -n "$CC"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7202 $as_echo "$CC" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7211 if test -z "$CC"; then
7212 # Extract the first word of "cc", so it can be a program name with args.
7213 set dummy cc
; ac_word
=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 $as_echo_n "checking for $ac_word... " >&6; }
7216 if ${ac_cv_prog_CC+:} false
; then :
7217 $as_echo_n "(cached) " >&6
7219 if test -n "$CC"; then
7220 ac_cv_prog_CC
="$CC" # Let the user override the test.
7223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir
=.
7228 for ac_exec_ext
in '' $ac_executable_extensions; do
7229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7230 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7231 ac_prog_rejected
=yes
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 if test $ac_prog_rejected = yes; then
7243 # We found a bogon in the path, so make sure we never use it.
7244 set dummy
$ac_cv_prog_CC
7246 if test $# != 0; then
7247 # We chose a different compiler from the bogus one.
7248 # However, it has the same basename, so the bogon will be chosen
7249 # first if we set CC to just the basename; use the full file name.
7251 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
7257 if test -n "$CC"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7259 $as_echo "$CC" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7267 if test -z "$CC"; then
7268 if test -n "$ac_tool_prefix"; then
7269 for ac_prog
in cl.exe
7271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7272 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if ${ac_cv_prog_CC+:} false
; then :
7276 $as_echo_n "(cached) " >&6
7278 if test -n "$CC"; then
7279 ac_cv_prog_CC
="$CC" # Let the user override the test.
7281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir
=.
7286 for ac_exec_ext
in '' $ac_executable_extensions; do
7287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 if test -n "$CC"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7301 $as_echo "$CC" >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7308 test -n "$CC" && break
7311 if test -z "$CC"; then
7313 for ac_prog
in cl.exe
7315 # Extract the first word of "$ac_prog", so it can be a program name with args.
7316 set dummy
$ac_prog; ac_word
=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
7320 $as_echo_n "(cached) " >&6
7322 if test -n "$ac_ct_CC"; then
7323 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
7325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7329 test -z "$as_dir" && as_dir
=.
7330 for ac_exec_ext
in '' $ac_executable_extensions; do
7331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_ac_ct_CC
="$ac_prog"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
7343 if test -n "$ac_ct_CC"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7345 $as_echo "$ac_ct_CC" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7352 test -n "$ac_ct_CC" && break
7355 if test "x$ac_ct_CC" = x
; then
7358 case $cross_compiling:$ac_tool_warned in
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7362 ac_tool_warned
=yes ;;
7371 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7373 as_fn_error $?
"no acceptable C compiler found in \$PATH
7374 See \`config.log' for more details" "$LINENO" 5; }
7376 # Provide some information about the compiler.
7377 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
7380 for ac_option
in --version -v -V -qversion; do
7381 { { ac_try
="$ac_compiler $ac_option >&5"
7383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7384 *) ac_try_echo=$ac_try;;
7386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7387 $as_echo "$ac_try_echo"; } >&5
7388 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7390 if test -s conftest.err; then
7392 ... rest of stderr output deleted ...
7393 10q' conftest.err >conftest.er1
7394 cat conftest.er1 >&5
7396 rm -f conftest.er1 conftest.err
7397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7398 test $ac_status = 0; }
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
7402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
7403 if ${ac_cv_c_compiler_gnu+:} false; then :
7404 $as_echo_n "(cached) " >&6
7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7407 /* end confdefs.h. */
7420 if ac_fn_c_try_compile "$LINENO"; then :
7425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
7430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
7431 if test $ac_compiler_gnu = yes; then
7436 ac_test_CFLAGS=${CFLAGS+set}
7437 ac_save_CFLAGS=$CFLAGS
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
7439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
7440 if ${ac_cv_prog_cc_g+:} false; then :
7441 $as_echo_n "(cached) " >&6
7443 ac_save_c_werror_flag=$ac_c_werror_flag
7444 ac_c_werror_flag=yes
7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7448 /* end confdefs.h. */
7458 if ac_fn_c_try_compile "$LINENO"; then :
7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7473 if ac_fn_c_try_compile "$LINENO"; then :
7476 ac_c_werror_flag=$ac_save_c_werror_flag
7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7489 if ac_fn_c_try_compile "$LINENO"; then :
7492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7497 ac_c_werror_flag=$ac_save_c_werror_flag
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
7500 $as_echo "$ac_cv_prog_cc_g" >&6; }
7501 if test "$ac_test_CFLAGS" = set; then
7502 CFLAGS=$ac_save_CFLAGS
7503 elif test $ac_cv_prog_cc_g = yes; then
7504 if test "$GCC" = yes; then
7510 if test "$GCC" = yes; then
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
7517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7518 if ${ac_cv_prog_cc_c89+:} false; then :
7519 $as_echo_n "(cached) " >&6
7521 ac_cv_prog_cc_c89=no
7523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h. */
7528 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7529 struct buf { int x; };
7530 FILE * (*rcsopen) (struct buf *, struct stat *, int);
7531 static char *e (p, i)
7537 static char *f (char * (*g) (char **, int), char **p, ...)
7542 s = g (p, va_arg (v,int));
7547 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
7548 function prototypes and stuff, but not '\xHH' hex character constants.
7549 These don't provoke an error unfortunately, instead are silently treated
7550 as 'x'. The following induces an error, until -std is added to get
7551 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
7552 array size at least. It's necessary to write '\x00'==0 to get something
7553 that's true only with -std. */
7554 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7556 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7557 inside strings and character constants. */
7559 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7561 int test (int i, double x);
7562 struct s1 {int (*f) (int a);};
7563 struct s2 {int (*f) (double a);};
7564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
7575 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7576 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7578 CC="$ac_save_CC $ac_arg"
7579 if ac_fn_c_try_compile "$LINENO"; then :
7580 ac_cv_prog_cc_c89=$ac_arg
7582 rm -f core conftest.err conftest.$ac_objext
7583 test "x$ac_cv_prog_cc_c89" != "xno" && break
7585 rm -f conftest.$ac_ext
7590 case "x$ac_cv_prog_cc_c89" in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7593 $as_echo "none needed" >&6; } ;;
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7596 $as_echo "unsupported" >&6; } ;;
7598 CC="$CC $ac_cv_prog_cc_c89"
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
7600 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
7602 if test "x$ac_cv_prog_cc_c89" != xno; then :
7607 ac_cpp='$CPP $CPPFLAGS'
7608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7613 ac_cpp='$CPP $CPPFLAGS'
7614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
7618 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
7619 if ${am_cv_prog_cc_c_o+:} false; then :
7620 $as_echo_n "(cached) " >&6
7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7633 # Make sure it works both with $CC and with simple cc.
7634 # Following AC_PROG_CC_C_O, we do the test twice because some
7635 # compilers refuse to overwrite an existing .o file with -o,
7636 # though they will create one.
7637 am_cv_prog_cc_c_o=yes
7639 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
7640 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } \
7644 && test -f conftest2.$ac_objext; then
7647 am_cv_prog_cc_c_o=no
7651 rm -f core conftest*
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7655 $as_echo "$am_cv_prog_cc_c_o" >&6; }
7656 if test "$am_cv_prog_cc_c_o" != yes; then
7657 # Losing compiler, so override with the script.
7658 # FIXME: It is wrong to rewrite CC.
7659 # But if we don't then we get into trouble of one sort or another.
7660 # A longer-term fix would be to have automake use am__CC in this case,
7661 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7662 CC="$am_aux_dir/compile $CC"
7665 ac_cpp='$CPP $CPPFLAGS'
7666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7672 ac_cpp='$CXXCPP $CPPFLAGS'
7673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7676 if test -z "$CXX"; then
7677 if test -n "$CCC"; then
7680 if test -n "$ac_tool_prefix"; then
7681 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7686 $as_echo_n "checking for $ac_word... " >&6; }
7687 if ${ac_cv_prog_CXX+:} false; then :
7688 $as_echo_n "(cached) " >&6
7690 if test -n "$CXX"; then
7691 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697 test -z "$as_dir" && as_dir=.
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7700 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 if test -n "$CXX"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7713 $as_echo "$CXX" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7716 $as_echo "no" >&6; }
7720 test -n "$CXX" && break
7723 if test -z "$CXX"; then
7725 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7727 # Extract the first word of "$ac_prog", so it can be a program name with args.
7728 set dummy $ac_prog; ac_word=$2
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7730 $as_echo_n "checking for $ac_word... " >&6; }
7731 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7732 $as_echo_n "(cached) " >&6
7734 if test -n "$ac_ct_CXX"; then
7735 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7741 test -z "$as_dir" && as_dir=.
7742 for ac_exec_ext in '' $ac_executable_extensions; do
7743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7744 ac_cv_prog_ac_ct_CXX="$ac_prog"
7745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7754 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7755 if test -n "$ac_ct_CXX"; then
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7757 $as_echo "$ac_ct_CXX" >&6; }
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7760 $as_echo "no" >&6; }
7764 test -n "$ac_ct_CXX" && break
7767 if test "x$ac_ct_CXX" = x; then
7770 case $cross_compiling:$ac_tool_warned in
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7774 ac_tool_warned=yes ;;
7782 # Provide some information about the compiler.
7783 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7786 for ac_option in --version -v -V -qversion; do
7787 { { ac_try="$ac_compiler $ac_option >&5"
7789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7790 *) ac_try_echo
=$ac_try;;
7792 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7793 $as_echo "$ac_try_echo"; } >&5
7794 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7796 if test -s conftest.err
; then
7798 ... rest of stderr output deleted ...
7799 10q' conftest.err
>conftest.er1
7800 cat conftest.er1
>&5
7802 rm -f conftest.er1 conftest.err
7803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7804 test $ac_status = 0; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7808 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7809 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
7810 $as_echo_n "(cached) " >&6
7812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7813 /* end confdefs.h. */
7826 if ac_fn_cxx_try_compile
"$LINENO"; then :
7831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7832 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7836 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7837 if test $ac_compiler_gnu = yes; then
7842 ac_test_CXXFLAGS
=${CXXFLAGS+set}
7843 ac_save_CXXFLAGS
=$CXXFLAGS
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7845 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7846 if ${ac_cv_prog_cxx_g+:} false
; then :
7847 $as_echo_n "(cached) " >&6
7849 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
7850 ac_cxx_werror_flag
=yes
7853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7864 if ac_fn_cxx_try_compile
"$LINENO"; then :
7865 ac_cv_prog_cxx_g
=yes
7868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7879 if ac_fn_cxx_try_compile
"$LINENO"; then :
7882 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7895 if ac_fn_cxx_try_compile
"$LINENO"; then :
7896 ac_cv_prog_cxx_g
=yes
7898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7903 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7906 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7907 if test "$ac_test_CXXFLAGS" = set; then
7908 CXXFLAGS
=$ac_save_CXXFLAGS
7909 elif test $ac_cv_prog_cxx_g = yes; then
7910 if test "$GXX" = yes; then
7916 if test "$GXX" = yes; then
7923 ac_cpp
='$CPP $CPPFLAGS'
7924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7928 # By default we simply use the C compiler to build assembly code.
7930 test "${CCAS+set}" = set || CCAS
=$CC
7931 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
7935 depcc
="$CCAS" am_compiler_list
=
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7938 $as_echo_n "checking dependency style of $depcc... " >&6; }
7939 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
7940 $as_echo_n "(cached) " >&6
7942 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7943 # We make a subdir and do the tests there. Otherwise we can end up
7944 # making bogus files that we don't know about and never remove. For
7945 # instance it was reported that on HP-UX the gcc test will end up
7946 # making a dummy file named 'D' -- because '-MD' means "put the output
7950 # Copy depcomp to subdir because otherwise we won't find it if we're
7951 # using a relative directory.
7952 cp "$am_depcomp" conftest.dir
7954 # We will build objects and dependencies in a subdirectory because
7955 # it helps to detect inapplicable dependency modes. For instance
7956 # both Tru64's cc and ICC support -MD to output dependencies as a
7957 # side effect of compilation, but ICC will put the dependencies in
7958 # the current directory while Tru64 will put them in the object
7962 am_cv_CCAS_dependencies_compiler_type
=none
7963 if test "$am_compiler_list" = ""; then
7964 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7969 for depmode
in $am_compiler_list; do
7970 # Setup a source with many dependencies, because some compilers
7971 # like to wrap large dependency lists on column 80 (with \), and
7972 # we should not choose a depcomp mode which is confused by this.
7974 # We need to recreate these files for each test, as the compiler may
7975 # overwrite some of them when testing with obscure command lines.
7976 # This happens at least with the AIX C compiler.
7978 for i
in 1 2 3 4 5 6; do
7979 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7980 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7981 # Solaris 10 /bin/sh.
7982 echo '/* dummy */' > sub
/conftst
$i.h
7984 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7986 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7987 # mode. It turns out that the SunPro C++ compiler does not properly
7988 # handle '-M -o', and we need to detect this. Also, some Intel
7989 # versions had trouble with output in subdirs.
7990 am__obj
=sub
/conftest.
${OBJEXT-o}
7991 am__minus_obj
="-o $am__obj"
7994 # This depmode causes a compiler race in universal mode.
7995 test "$am__universal" = false ||
continue
7998 # After this tag, mechanisms are not by side-effect, so they'll
7999 # only be used when explicitly requested.
8000 if test "x$enable_dependency_tracking" = xyes
; then
8006 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
8007 # This compiler won't grok '-c -o', but also, the minuso test has
8008 # not run yet. These depmodes are late enough in the game, and
8009 # so weak that their functioning should not be impacted.
8010 am__obj
=conftest.
${OBJEXT-o}
8015 if depmode
=$depmode \
8016 source=sub
/conftest.c object
=$am__obj \
8017 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
8018 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
8019 >/dev
/null
2>conftest.err
&&
8020 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8021 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
8022 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
8023 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
8024 # icc doesn't choke on unknown options, it will just issue warnings
8025 # or remarks (even with -Werror). So we grep stderr for any message
8026 # that says an option was ignored or not supported.
8027 # When given -MP, icc 7.0 and 7.1 complain thusly:
8028 # icc: Command line warning: ignoring option '-M'; no argument required
8029 # The diagnosis changed in icc 8.0:
8030 # icc: Command line remark: option '-MP' not supported
8031 if (grep 'ignoring option' conftest.err ||
8032 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
8033 am_cv_CCAS_dependencies_compiler_type
=$depmode
8042 am_cv_CCAS_dependencies_compiler_type
=none
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
8047 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
8048 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
8051 test "x$enable_dependency_tracking" != xno \
8052 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
8053 am__fastdepCCAS_TRUE
=
8054 am__fastdepCCAS_FALSE
='#'
8056 am__fastdepCCAS_TRUE
='#'
8057 am__fastdepCCAS_FALSE
=
8065 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
8066 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
8067 # in both places for now and restore CFLAGS at the end of config.
8068 save_CFLAGS
="$CFLAGS"
8070 # Find other programs we need.
8071 if test -n "$ac_tool_prefix"; then
8072 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8073 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8075 $as_echo_n "checking for $ac_word... " >&6; }
8076 if ${ac_cv_prog_AR+:} false
; then :
8077 $as_echo_n "(cached) " >&6
8079 if test -n "$AR"; then
8080 ac_cv_prog_AR
="$AR" # Let the user override the test.
8082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8086 test -z "$as_dir" && as_dir
=.
8087 for ac_exec_ext
in '' $ac_executable_extensions; do
8088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8089 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8100 if test -n "$AR"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8102 $as_echo "$AR" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8110 if test -z "$ac_cv_prog_AR"; then
8112 # Extract the first word of "ar", so it can be a program name with args.
8113 set dummy
ar; ac_word
=$2
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8115 $as_echo_n "checking for $ac_word... " >&6; }
8116 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8117 $as_echo_n "(cached) " >&6
8119 if test -n "$ac_ct_AR"; then
8120 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir
=.
8127 for ac_exec_ext
in '' $ac_executable_extensions; do
8128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8129 ac_cv_prog_ac_ct_AR
="ar"
8130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8139 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8140 if test -n "$ac_ct_AR"; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8142 $as_echo "$ac_ct_AR" >&6; }
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8148 if test "x$ac_ct_AR" = x
; then
8151 case $cross_compiling:$ac_tool_warned in
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8155 ac_tool_warned
=yes ;;
8163 if test -n "$ac_tool_prefix"; then
8164 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
8165 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8167 $as_echo_n "checking for $ac_word... " >&6; }
8168 if ${ac_cv_prog_NM+:} false
; then :
8169 $as_echo_n "(cached) " >&6
8171 if test -n "$NM"; then
8172 ac_cv_prog_NM
="$NM" # Let the user override the test.
8174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8178 test -z "$as_dir" && as_dir
=.
8179 for ac_exec_ext
in '' $ac_executable_extensions; do
8180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8181 ac_cv_prog_NM
="${ac_tool_prefix}nm"
8182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8192 if test -n "$NM"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8194 $as_echo "$NM" >&6; }
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8202 if test -z "$ac_cv_prog_NM"; then
8204 # Extract the first word of "nm", so it can be a program name with args.
8205 set dummy nm
; ac_word
=$2
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8207 $as_echo_n "checking for $ac_word... " >&6; }
8208 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
8209 $as_echo_n "(cached) " >&6
8211 if test -n "$ac_ct_NM"; then
8212 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
8214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8218 test -z "$as_dir" && as_dir
=.
8219 for ac_exec_ext
in '' $ac_executable_extensions; do
8220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8221 ac_cv_prog_ac_ct_NM
="nm"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8231 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
8232 if test -n "$ac_ct_NM"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
8234 $as_echo "$ac_ct_NM" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8240 if test "x$ac_ct_NM" = x
; then
8243 case $cross_compiling:$ac_tool_warned in
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8247 ac_tool_warned
=yes ;;
8255 if test -n "$ac_tool_prefix"; then
8256 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8257 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8259 $as_echo_n "checking for $ac_word... " >&6; }
8260 if ${ac_cv_prog_RANLIB+:} false
; then :
8261 $as_echo_n "(cached) " >&6
8263 if test -n "$RANLIB"; then
8264 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8270 test -z "$as_dir" && as_dir
=.
8271 for ac_exec_ext
in '' $ac_executable_extensions; do
8272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8273 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 RANLIB
=$ac_cv_prog_RANLIB
8284 if test -n "$RANLIB"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8286 $as_echo "$RANLIB" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289 $as_echo "no" >&6; }
8294 if test -z "$ac_cv_prog_RANLIB"; then
8295 ac_ct_RANLIB
=$RANLIB
8296 # Extract the first word of "ranlib", so it can be a program name with args.
8297 set dummy ranlib
; ac_word
=$2
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8299 $as_echo_n "checking for $ac_word... " >&6; }
8300 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8301 $as_echo_n "(cached) " >&6
8303 if test -n "$ac_ct_RANLIB"; then
8304 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8310 test -z "$as_dir" && as_dir
=.
8311 for ac_exec_ext
in '' $ac_executable_extensions; do
8312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8313 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8324 if test -n "$ac_ct_RANLIB"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8326 $as_echo "$ac_ct_RANLIB" >&6; }
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8332 if test "x$ac_ct_RANLIB" = x
; then
8333 RANLIB
="ranlib-not-found-in-path-error"
8335 case $cross_compiling:$ac_tool_warned in
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8339 ac_tool_warned
=yes ;;
8341 RANLIB
=$ac_ct_RANLIB
8344 RANLIB
="$ac_cv_prog_RANLIB"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8348 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8350 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8351 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
8352 $as_echo_n "(cached) " >&6
8354 cat >conftest.
make <<\_ACEOF
8357 @
echo '@@@%%%=$(MAKE)=@@@%%%'
8359 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8360 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8362 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
8364 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
8368 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8370 $as_echo "yes" >&6; }
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374 $as_echo "no" >&6; }
8375 SET_MAKE
="MAKE=${MAKE-make}"
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8383 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8388 macro_version
='2.2.7a'
8389 macro_revision
='1.3134'
8403 ltmain
="$ac_aux_dir/ltmain.sh"
8405 # Backslashify metacharacters that are still active within
8406 # double-quoted strings.
8407 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8409 # Same as above, but do not quote variable references.
8410 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8412 # Sed substitution to delay expansion of an escaped shell variable in a
8413 # double_quote_subst'ed string.
8414 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8416 # Sed substitution to delay expansion of an escaped single quote.
8417 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8419 # Sed substitution to avoid accidental globbing in evaled expressions
8420 no_glob_subst
='s/\*/\\\*/g'
8422 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8423 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8424 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8427 $as_echo_n "checking how to print strings... " >&6; }
8428 # Test print first, because it will be a builtin if present.
8429 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
8430 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8432 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8435 # Use this function as a fallback that always works.
8436 func_fallback_echo ()
8438 eval 'cat <<_LTECHO_EOF
8442 ECHO='func_fallback_echo
'
8445 # func_echo_all arg...
8446 # Invoke $ECHO with all args, space-separated.
8453 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8454 $as_echo "printf" >&6; } ;;
8455 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8456 $as_echo "print -r" >&6; } ;;
8457 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8458 $as_echo "cat" >&6; } ;;
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8475 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
8476 if ${ac_cv_path_SED+:} false; then :
8477 $as_echo_n "(cached) " >&6
8479 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8480 for ac_i in 1 2 3 4 5 6 7; do
8481 ac_script="$ac_script$as_nl$ac_script"
8483 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8484 { ac_script=; unset ac_script;}
8485 if test -z "$SED"; then
8486 ac_path_SED_found=false
8487 # Loop through the user's path and
test for each of PROGNAME-LIST
8488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8492 test -z "$as_dir" && as_dir
=.
8493 for ac_prog
in sed gsed
; do
8494 for ac_exec_ext
in '' $ac_executable_extensions; do
8495 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
8496 as_fn_executable_p
"$ac_path_SED" ||
continue
8497 # Check for GNU ac_path_SED and select it if it is found.
8498 # Check for GNU $ac_path_SED
8499 case `"$ac_path_SED" --version 2>&1` in
8501 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
8504 $as_echo_n 0123456789 >"conftest.in"
8507 cat "conftest.in" "conftest.in" >"conftest.tmp"
8508 mv "conftest.tmp" "conftest.in"
8509 cp "conftest.in" "conftest.nl"
8510 $as_echo '' >> "conftest.nl"
8511 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8512 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8513 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8514 if test $ac_count -gt ${ac_path_SED_max-0}; then
8515 # Best one so far, save it but keep looking for a better one
8516 ac_cv_path_SED
="$ac_path_SED"
8517 ac_path_SED_max
=$ac_count
8519 # 10*(2^10) chars as input seems more than enough
8520 test $ac_count -gt 10 && break
8522 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8525 $ac_path_SED_found && break 3
8530 if test -z "$ac_cv_path_SED"; then
8531 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8539 $as_echo "$ac_cv_path_SED" >&6; }
8540 SED
="$ac_cv_path_SED"
8543 test -z "$SED" && SED
=sed
8544 Xsed
="$SED -e 1s/^X//"
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8557 $as_echo_n "checking for fgrep... " >&6; }
8558 if ${ac_cv_path_FGREP+:} false
; then :
8559 $as_echo_n "(cached) " >&6
8561 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
8562 then ac_cv_path_FGREP
="$GREP -F"
8564 if test -z "$FGREP"; then
8565 ac_path_FGREP_found
=false
8566 # Loop through the user's path and test for each of PROGNAME-LIST
8567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8568 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8571 test -z "$as_dir" && as_dir
=.
8572 for ac_prog
in fgrep
; do
8573 for ac_exec_ext
in '' $ac_executable_extensions; do
8574 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
8575 as_fn_executable_p
"$ac_path_FGREP" ||
continue
8576 # Check for GNU ac_path_FGREP and select it if it is found.
8577 # Check for GNU $ac_path_FGREP
8578 case `"$ac_path_FGREP" --version 2>&1` in
8580 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
8583 $as_echo_n 0123456789 >"conftest.in"
8586 cat "conftest.in" "conftest.in" >"conftest.tmp"
8587 mv "conftest.tmp" "conftest.in"
8588 cp "conftest.in" "conftest.nl"
8589 $as_echo 'FGREP' >> "conftest.nl"
8590 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8591 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8592 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8593 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8594 # Best one so far, save it but keep looking for a better one
8595 ac_cv_path_FGREP
="$ac_path_FGREP"
8596 ac_path_FGREP_max
=$ac_count
8598 # 10*(2^10) chars as input seems more than enough
8599 test $ac_count -gt 10 && break
8601 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8604 $ac_path_FGREP_found && break 3
8609 if test -z "$ac_cv_path_FGREP"; then
8610 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8613 ac_cv_path_FGREP
=$FGREP
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8619 $as_echo "$ac_cv_path_FGREP" >&6; }
8620 FGREP
="$ac_cv_path_FGREP"
8623 test -z "$GREP" && GREP
=grep
8643 # Check whether --with-gnu-ld was given.
8644 if test "${with_gnu_ld+set}" = set; then :
8645 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
8651 if test "$GCC" = yes; then
8652 # Check if gcc -print-prog-name=ld gives a path.
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8654 $as_echo_n "checking for ld used by $CC... " >&6; }
8657 # gcc leaves a trailing carriage return which upsets mingw
8658 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8660 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8663 # Accept absolute paths.
8665 re_direlt
='/[^/][^/]*/\.\./'
8666 # Canonicalize the pathname of ld
8667 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8668 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
8669 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8671 test -z "$LD" && LD
="$ac_prog"
8674 # If it fails, then pretend we aren't using GCC.
8678 # If it is relative, then search for the first ld in PATH.
8682 elif test "$with_gnu_ld" = yes; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8684 $as_echo_n "checking for GNU ld... " >&6; }
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8687 $as_echo_n "checking for non-GNU ld... " >&6; }
8689 if ${lt_cv_path_LD+:} false
; then :
8690 $as_echo_n "(cached) " >&6
8692 if test -z "$LD"; then
8693 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8694 for ac_dir
in $PATH; do
8696 test -z "$ac_dir" && ac_dir
=.
8697 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8698 lt_cv_path_LD
="$ac_dir/$ac_prog"
8699 # Check to see if the program is GNU ld. I'd rather use --version,
8700 # but apparently some variants of GNU ld only accept -v.
8701 # Break only if it was the GNU/non-GNU ld that we prefer.
8702 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8703 *GNU
* |
*'with BFD'*)
8704 test "$with_gnu_ld" != no
&& break
8707 test "$with_gnu_ld" != yes && break
8714 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
8719 if test -n "$LD"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8721 $as_echo "$LD" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8724 $as_echo "no" >&6; }
8726 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8728 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8729 if ${lt_cv_prog_gnu_ld+:} false
; then :
8730 $as_echo_n "(cached) " >&6
8732 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8733 case `$LD -v 2>&1 </dev/null` in
8734 *GNU
* |
*'with BFD'*)
8735 lt_cv_prog_gnu_ld
=yes
8738 lt_cv_prog_gnu_ld
=no
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8743 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8744 with_gnu_ld
=$lt_cv_prog_gnu_ld
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8755 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8756 if ${lt_cv_path_NM+:} false
; then :
8757 $as_echo_n "(cached) " >&6
8759 if test -n "$NM"; then
8760 # Let the user override the nm to test.
8761 lt_nm_to_check
="$NM"
8763 lt_nm_to_check
="${ac_tool_prefix}nm"
8764 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8765 lt_nm_to_check
="$lt_nm_to_check nm"
8768 for lt_tmp_nm
in "$lt_nm_to_check"; do
8769 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8770 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
8772 test -z "$ac_dir" && ac_dir
=.
8773 # Strip out any user-provided options from the nm to test twice,
8774 # the first time to test to see if nm (rather than its options) has
8775 # an explicit path, the second time to yield a file which can be
8777 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
8778 case "$tmp_nm_path" in
8779 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
8780 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
8782 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
8783 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
8784 # Check to see if the nm accepts a BSD-compat flag.
8785 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8786 # nm: unknown option "B" ignored
8787 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
8788 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
8792 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
8794 lt_cv_path_NM
="$tmp_nm -p"
8798 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8799 continue # so that we can try to find one that supports BSD flags
8808 : ${lt_cv_path_NM=no}
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8811 $as_echo "$lt_cv_path_NM" >&6; }
8812 if test "$lt_cv_path_NM" != "no"; then
8815 # Didn't find any BSD compatible name lister, look for dumpbin.
8816 if test -n "$DUMPBIN"; then :
8817 # Let the user override the test.
8819 if test -n "$ac_tool_prefix"; then
8820 for ac_prog
in dumpbin
"link -dump"
8822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8823 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8825 $as_echo_n "checking for $ac_word... " >&6; }
8826 if ${ac_cv_prog_DUMPBIN+:} false
; then :
8827 $as_echo_n "(cached) " >&6
8829 if test -n "$DUMPBIN"; then
8830 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
8832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8836 test -z "$as_dir" && as_dir
=.
8837 for ac_exec_ext
in '' $ac_executable_extensions; do
8838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8839 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
8840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8849 DUMPBIN
=$ac_cv_prog_DUMPBIN
8850 if test -n "$DUMPBIN"; then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8852 $as_echo "$DUMPBIN" >&6; }
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8855 $as_echo "no" >&6; }
8859 test -n "$DUMPBIN" && break
8862 if test -z "$DUMPBIN"; then
8863 ac_ct_DUMPBIN
=$DUMPBIN
8864 for ac_prog
in dumpbin
"link -dump"
8866 # Extract the first word of "$ac_prog", so it can be a program name with args.
8867 set dummy
$ac_prog; ac_word
=$2
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8869 $as_echo_n "checking for $ac_word... " >&6; }
8870 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
8871 $as_echo_n "(cached) " >&6
8873 if test -n "$ac_ct_DUMPBIN"; then
8874 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
8876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir
=.
8881 for ac_exec_ext
in '' $ac_executable_extensions; do
8882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8883 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8893 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
8894 if test -n "$ac_ct_DUMPBIN"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8896 $as_echo "$ac_ct_DUMPBIN" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8899 $as_echo "no" >&6; }
8903 test -n "$ac_ct_DUMPBIN" && break
8906 if test "x$ac_ct_DUMPBIN" = x
; then
8909 case $cross_compiling:$ac_tool_warned in
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8913 ac_tool_warned
=yes ;;
8915 DUMPBIN
=$ac_ct_DUMPBIN
8919 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8921 DUMPBIN
="$DUMPBIN -symbols"
8929 if test "$DUMPBIN" != ":"; then
8933 test -z "$NM" && NM
=nm
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8941 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8942 if ${lt_cv_nm_interface+:} false
; then :
8943 $as_echo_n "(cached) " >&6
8945 lt_cv_nm_interface
="BSD nm"
8946 echo "int some_variable = 0;" > conftest.
$ac_ext
8947 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8948 (eval "$ac_compile" 2>conftest.err
)
8949 cat conftest.err
>&5
8950 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8951 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
8952 cat conftest.err
>&5
8953 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8954 cat conftest.out
>&5
8955 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
8956 lt_cv_nm_interface
="MS dumpbin"
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8961 $as_echo "$lt_cv_nm_interface" >&6; }
8963 # find the maximum length of command line arguments
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8965 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8966 if ${lt_cv_sys_max_cmd_len+:} false
; then :
8967 $as_echo_n "(cached) " >&6
8974 # On DJGPP, this test can blow up pretty badly due to problems in libc
8975 # (any single argument exceeding 2000 bytes causes a buffer overrun
8976 # during glob expansion). Even if it were fixed, the result of this
8977 # check would be larger than it should be.
8978 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8982 # Under GNU Hurd, this test is not required because there is
8983 # no limit to the length of command line arguments.
8984 # Libtool will interpret -1 as no limit whatsoever
8985 lt_cv_sys_max_cmd_len
=-1;
8988 cygwin
* | mingw
* | cegcc
*)
8989 # On Win9x/ME, this test blows up -- it succeeds, but takes
8990 # about 5 minutes as the teststring grows exponentially.
8991 # Worse, since 9x/ME are not pre-emptively multitasking,
8992 # you end up with a "frozen" computer, even though with patience
8993 # the test eventually succeeds (with a max line length of 256k).
8994 # Instead, let's just punt: use the minimum linelength reported by
8995 # all of the supported platforms: 8192 (on NT/2K/XP).
8996 lt_cv_sys_max_cmd_len
=8192;
9000 # On MiNT this can take a long time and run out of memory.
9001 lt_cv_sys_max_cmd_len
=8192;
9005 # On AmigaOS with pdksh, this test takes hours, literally.
9006 # So we just punt and use a minimum line length of 8192.
9007 lt_cv_sys_max_cmd_len
=8192;
9010 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
9011 # This has been around since 386BSD, at least. Likely further.
9012 if test -x /sbin
/sysctl
; then
9013 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
9014 elif test -x /usr
/sbin
/sysctl
; then
9015 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
9017 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
9019 # And add a safety zone
9020 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
9021 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
9025 # We know the value 262144 and hardcode it with a safety zone (like BSD)
9026 lt_cv_sys_max_cmd_len
=196608
9030 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
9031 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9032 # nice to cause kernel panics so lets avoid the loop below.
9033 # First set a reasonable default.
9034 lt_cv_sys_max_cmd_len
=16384
9036 if test -x /sbin
/sysconfig
; then
9037 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9038 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
9043 lt_cv_sys_max_cmd_len
=102400
9045 sysv5
* | sco5v6
* | sysv4.2uw2
*)
9046 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
9047 if test -n "$kargmax"; then
9048 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
9050 lt_cv_sys_max_cmd_len
=32768
9054 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
9055 if test -n "$lt_cv_sys_max_cmd_len"; then
9056 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
9057 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
9059 # Make teststring a little bigger before we do anything with it.
9060 # a 1K string should be a reasonable start.
9061 for i
in 1 2 3 4 5 6 7 8 ; do
9062 teststring
=$teststring$teststring
9064 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
9065 # If test is not a shell built-in, we'll probably end up computing a
9066 # maximum length that is only half of the actual maximum length, but
9068 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
9069 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
9070 test $i != 17 # 1/2 MB should be enough
9073 teststring
=$teststring$teststring
9075 # Only check the string length outside the loop.
9076 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
9078 # Add a significant safety factor because C++ compilers can tack on
9079 # massive amounts of additional arguments before passing them to the
9080 # linker. It appears as though 1/2 is a usable value.
9081 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
9088 if test -n $lt_cv_sys_max_cmd_len ; then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9090 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
9093 $as_echo "none" >&6; }
9095 max_cmd_len
=$lt_cv_sys_max_cmd_len
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
9107 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
9108 # Try some XSI features
9111 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
9113 && eval 'test $(( 1 + 1 )) -eq 2 \
9114 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
9117 $as_echo "$xsi_shell" >&6; }
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
9121 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
9123 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
9125 && lt_shell_append=yes
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
9127 $as_echo "$lt_shell_append" >&6; }
9130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9140 # test EBCDIC or ASCII
9141 case `echo X|tr X '\101'` in
9142 A) # ASCII based system
9143 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9144 lt_SP2NL='tr \040 \012'
9145 lt_NL2SP='tr \015\012 \040\040'
9147 *) # EBCDIC based system
9148 lt_SP2NL='tr \100 \n'
9149 lt_NL2SP='tr \r\n \100\100'
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
9162 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
9163 if ${lt_cv_ld_reload_flag+:} false; then :
9164 $as_echo_n "(cached
) " >&6
9166 lt_cv_ld_reload_flag='-r'
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
9169 $as_echo "$lt_cv_ld_reload_flag" >&6; }
9170 reload_flag=$lt_cv_ld_reload_flag
9171 case $reload_flag in
9173 *) reload_flag=" $reload_flag" ;;
9175 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9178 if test "$GCC" = yes; then
9179 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9194 if test -n "$ac_tool_prefix"; then
9195 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
9196 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9198 $as_echo_n "checking
for $ac_word...
" >&6; }
9199 if ${ac_cv_prog_OBJDUMP+:} false; then :
9200 $as_echo_n "(cached
) " >&6
9202 if test -n "$OBJDUMP"; then
9203 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9209 test -z "$as_dir" && as_dir=.
9210 for ac_exec_ext in '' $ac_executable_extensions; do
9211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9212 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
9213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9222 OBJDUMP=$ac_cv_prog_OBJDUMP
9223 if test -n "$OBJDUMP"; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9225 $as_echo "$OBJDUMP" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9228 $as_echo "no
" >&6; }
9233 if test -z "$ac_cv_prog_OBJDUMP"; then
9234 ac_ct_OBJDUMP=$OBJDUMP
9235 # Extract the first word of "objdump
", so it can be a program name with args.
9236 set dummy objdump; ac_word=$2
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9238 $as_echo_n "checking
for $ac_word...
" >&6; }
9239 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9240 $as_echo_n "(cached
) " >&6
9242 if test -n "$ac_ct_OBJDUMP"; then
9243 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9249 test -z "$as_dir" && as_dir=.
9250 for ac_exec_ext in '' $ac_executable_extensions; do
9251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9252 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
9253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9262 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9263 if test -n "$ac_ct_OBJDUMP"; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
9265 $as_echo "$ac_ct_OBJDUMP" >&6; }
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9268 $as_echo "no
" >&6; }
9271 if test "x
$ac_ct_OBJDUMP" = x; then
9274 case $cross_compiling:$ac_tool_warned in
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9278 ac_tool_warned=yes ;;
9280 OBJDUMP=$ac_ct_OBJDUMP
9283 OBJDUMP="$ac_cv_prog_OBJDUMP"
9286 test -z "$OBJDUMP" && OBJDUMP=objdump
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
9297 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
9298 if ${lt_cv_deplibs_check_method+:} false; then :
9299 $as_echo_n "(cached
) " >&6
9301 lt_cv_file_magic_cmd='$MAGIC_CMD'
9302 lt_cv_file_magic_test_file=
9303 lt_cv_deplibs_check_method='unknown'
9304 # Need to set the preceding variable on all platforms that support
9305 # interlibrary dependencies.
9306 # 'none' -- dependencies not supported.
9307 # `unknown' -- same as none, but documents that we really don't know.
9308 # 'pass_all' -- all dependencies passed with no checks.
9309 # 'test_compile' -- check by making test program.
9310 # 'file_magic [[regex]]' -- check by looking for files in library path
9311 # which responds to the $file_magic_cmd with a given extended regex.
9312 # If you have `file' or equivalent on your system and you're not sure
9313 # whether `pass_all' will *always* work, you probably want this one.
9317 lt_cv_deplibs_check_method=pass_all
9321 lt_cv_deplibs_check_method=pass_all
9325 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9326 lt_cv_file_magic_cmd='/usr/bin/file -L'
9327 lt_cv_file_magic_test_file=/shlib/libc.so
9331 # func_win32_libid is a shell function defined in ltmain.sh
9332 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9333 lt_cv_file_magic_cmd='func_win32_libid'
9337 # Base MSYS/MinGW do not provide the 'file' command needed by
9338 # func_win32_libid shell function, so use a weaker test based on 'objdump',
9339 # unless we find 'file', for example because we are cross-compiling.
9340 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
9341 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
9342 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9343 lt_cv_file_magic_cmd='func_win32_libid'
9345 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
9346 lt_cv_file_magic_cmd='$OBJDUMP -f'
9351 # use the weaker test based on 'objdump'. See mingw*.
9352 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9353 lt_cv_file_magic_cmd='$OBJDUMP -f'
9356 darwin* | rhapsody*)
9357 lt_cv_deplibs_check_method=pass_all
9360 freebsd* | dragonfly*)
9361 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9364 # Not sure whether the presence of OpenBSD here was a mistake.
9365 # Let's accept both of them until this is cleared up.
9366 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9367 lt_cv_file_magic_cmd=/usr/bin/file
9368 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9372 lt_cv_deplibs_check_method=pass_all
9377 lt_cv_deplibs_check_method=pass_all
9381 lt_cv_deplibs_check_method=pass_all
9384 hpux10.20* | hpux11*)
9385 lt_cv_file_magic_cmd=/usr/bin/file
9388 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9389 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9392 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]'
9393 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9396 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9397 lt_cv_file_magic_test_file=/usr/lib/libc.sl
9403 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9407 irix5* | irix6* | nonstopux*)
9409 *-32|*"-32 ") libmagic=32-bit;;
9410 *-n32|*"-n32 ") libmagic=N32;;
9411 *-64|*"-64 ") libmagic=64-bit;;
9412 *) libmagic=never-match;;
9414 lt_cv_deplibs_check_method=pass_all
9417 # This must be Linux ELF.
9418 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9419 lt_cv_deplibs_check_method=pass_all
9423 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9431 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9432 lt_cv_file_magic_cmd=/usr/bin/file
9433 lt_cv_file_magic_test_file=/usr/lib/libnls.so
9437 lt_cv_deplibs_check_method=pass_all
9441 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9448 osf3* | osf4* | osf5*)
9449 lt_cv_deplibs_check_method=pass_all
9453 lt_cv_deplibs_check_method=pass_all
9457 lt_cv_deplibs_check_method=pass_all
9460 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9461 lt_cv_deplibs_check_method=pass_all
9465 case $host_vendor in
9467 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]'
9468 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9471 lt_cv_deplibs_check_method=pass_all
9474 lt_cv_file_magic_cmd='/bin/file'
9475 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9478 lt_cv_file_magic_cmd='/bin/file'
9479 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
9480 lt_cv_file_magic_test_file=/lib/libc.so
9483 lt_cv_deplibs_check_method=pass_all
9486 lt_cv_deplibs_check_method=pass_all
9492 lt_cv_deplibs_check_method=pass_all
9495 # Assume VxWorks cross toolchains are built on Linux, possibly
9496 # as canadian for Windows hosts.
9497 lt_cv_deplibs_check_method=pass_all
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
9503 $as_echo "$lt_cv_deplibs_check_method" >&6; }
9504 file_magic_cmd=$lt_cv_file_magic_cmd
9505 deplibs_check_method=$lt_cv_deplibs_check_method
9506 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9520 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
9521 for plugin in $plugin_names; do
9522 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
9523 if test x$plugin_so = x$plugin; then
9524 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
9526 if test x$plugin_so != x$plugin; then
9527 plugin_option="--plugin $plugin_so"
9532 if test -n "$ac_tool_prefix"; then
9533 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9534 set dummy ${ac_tool_prefix}ar; ac_word=$2
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9536 $as_echo_n "checking
for $ac_word...
" >&6; }
9537 if ${ac_cv_prog_AR+:} false; then :
9538 $as_echo_n "(cached
) " >&6
9540 if test -n "$AR"; then
9541 ac_cv_prog_AR="$AR" # Let the user override the test.
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9547 test -z "$as_dir" && as_dir=.
9548 for ac_exec_ext in '' $ac_executable_extensions; do
9549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9550 ac_cv_prog_AR="${ac_tool_prefix}ar"
9551 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9561 if test -n "$AR"; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
9563 $as_echo "$AR" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9566 $as_echo "no
" >&6; }
9571 if test -z "$ac_cv_prog_AR"; then
9573 # Extract the first word of "ar", so it can be a program name with args.
9574 set dummy ar; ac_word=$2
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9576 $as_echo_n "checking
for $ac_word...
" >&6; }
9577 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9578 $as_echo_n "(cached
) " >&6
9580 if test -n "$ac_ct_AR"; then
9581 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 test -z "$as_dir" && as_dir=.
9588 for ac_exec_ext in '' $ac_executable_extensions; do
9589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9590 ac_cv_prog_ac_ct_AR="ar"
9591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9600 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9601 if test -n "$ac_ct_AR"; then
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
9603 $as_echo "$ac_ct_AR" >&6; }
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9606 $as_echo "no
" >&6; }
9609 if test "x
$ac_ct_AR" = x; then
9612 case $cross_compiling:$ac_tool_warned in
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9615 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9616 ac_tool_warned=yes ;;
9624 test -z "$AR" && AR=ar
9625 if test -n "$plugin_option"; then
9626 if $AR --help 2>&1 | grep -q "\
--plugin"; then
9628 $AR $plugin_option rc conftest.a conftest.c
9629 if test "$?
" != 0; then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
9631 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
9633 AR="$AR $plugin_option"
9638 test -z "$AR_FLAGS" && AR_FLAGS=cru
9650 if test -n "$ac_tool_prefix"; then
9651 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
9652 set dummy ${ac_tool_prefix}strip; ac_word=$2
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9654 $as_echo_n "checking
for $ac_word...
" >&6; }
9655 if ${ac_cv_prog_STRIP+:} false; then :
9656 $as_echo_n "(cached
) " >&6
9658 if test -n "$STRIP"; then
9659 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9665 test -z "$as_dir" && as_dir=.
9666 for ac_exec_ext in '' $ac_executable_extensions; do
9667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9668 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
9669 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9678 STRIP=$ac_cv_prog_STRIP
9679 if test -n "$STRIP"; then
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9681 $as_echo "$STRIP" >&6; }
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9684 $as_echo "no
" >&6; }
9689 if test -z "$ac_cv_prog_STRIP"; then
9691 # Extract the first word of "strip
", so it can be a program name with args.
9692 set dummy strip; ac_word=$2
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9694 $as_echo_n "checking
for $ac_word...
" >&6; }
9695 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9696 $as_echo_n "(cached
) " >&6
9698 if test -n "$ac_ct_STRIP"; then
9699 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9705 test -z "$as_dir" && as_dir=.
9706 for ac_exec_ext in '' $ac_executable_extensions; do
9707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9708 ac_cv_prog_ac_ct_STRIP="strip
"
9709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9718 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9719 if test -n "$ac_ct_STRIP"; then
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
9721 $as_echo "$ac_ct_STRIP" >&6; }
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9724 $as_echo "no
" >&6; }
9727 if test "x
$ac_ct_STRIP" = x; then
9730 case $cross_compiling:$ac_tool_warned in
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9733 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9734 ac_tool_warned=yes ;;
9739 STRIP="$ac_cv_prog_STRIP"
9742 test -z "$STRIP" && STRIP=:
9749 if test -n "$ac_tool_prefix"; then
9750 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
9751 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9753 $as_echo_n "checking
for $ac_word...
" >&6; }
9754 if ${ac_cv_prog_RANLIB+:} false; then :
9755 $as_echo_n "(cached
) " >&6
9757 if test -n "$RANLIB"; then
9758 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir=.
9765 for ac_exec_ext in '' $ac_executable_extensions; do
9766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9767 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
9768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9777 RANLIB=$ac_cv_prog_RANLIB
9778 if test -n "$RANLIB"; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9780 $as_echo "$RANLIB" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9783 $as_echo "no
" >&6; }
9788 if test -z "$ac_cv_prog_RANLIB"; then
9789 ac_ct_RANLIB=$RANLIB
9790 # Extract the first word of "ranlib
", so it can be a program name with args.
9791 set dummy ranlib; ac_word=$2
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9793 $as_echo_n "checking
for $ac_word...
" >&6; }
9794 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9795 $as_echo_n "(cached
) " >&6
9797 if test -n "$ac_ct_RANLIB"; then
9798 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9804 test -z "$as_dir" && as_dir=.
9805 for ac_exec_ext in '' $ac_executable_extensions; do
9806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9807 ac_cv_prog_ac_ct_RANLIB="ranlib
"
9808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9817 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9818 if test -n "$ac_ct_RANLIB"; then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
9820 $as_echo "$ac_ct_RANLIB" >&6; }
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9823 $as_echo "no
" >&6; }
9826 if test "x
$ac_ct_RANLIB" = x; then
9829 case $cross_compiling:$ac_tool_warned in
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9832 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9833 ac_tool_warned=yes ;;
9835 RANLIB=$ac_ct_RANLIB
9838 RANLIB="$ac_cv_prog_RANLIB"
9841 test -z "$RANLIB" && RANLIB=:
9842 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
9843 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
9844 RANLIB="$RANLIB $plugin_option"
9853 # Determine commands to create old-style static archives.
9854 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9855 old_postinstall_cmds='chmod 644 $oldlib'
9856 old_postuninstall_cmds=
9858 if test -n "$RANLIB"; then
9861 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
9864 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
9867 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
9872 lock_old_archive_extraction=yes ;;
9874 lock_old_archive_extraction=no ;;
9915 # If no C compiler was specified, use CC.
9918 # If no C compiler flags were specified, use CFLAGS.
9919 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9921 # Allow CC to be a program name with arguments.
9925 # Check for command to grab the raw symbol name followed by C symbol from nm.
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
9927 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
9928 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9929 $as_echo_n "(cached
) " >&6
9932 # These are sane defaults that work on at least a few old systems.
9933 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9935 # Character class describing NM global symbol codes.
9936 symcode='[BCDEGRST]'
9938 # Regexp to match symbols that can be accessed directly from C.
9939 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9941 # Define system-specific variables.
9946 cygwin* | mingw* | pw32* | cegcc*)
9947 symcode='[ABCDGISTW]'
9950 if test "$host_cpu" = ia64; then
9951 symcode='[ABCDEGRST]'
9955 symcode='[BCDEGRST]'
9958 symcode='[BCDEGQRST]'
9969 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9977 # If we're using GNU nm, then use its standard symbol codes.
9978 case `$NM -V 2>&1` in
9979 *GNU* | *'with BFD'*)
9980 symcode='[ABCDGIRSTW]' ;;
9983 # Transform an extracted symbol line into a proper C declaration.
9984 # Some systems (esp. on ia64) link data and code symbols differently,
9985 # so use this general approach.
9986 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9988 # Transform an extracted symbol line into symbol name and symbol address
9989 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9990 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'"
9992 # Handle CRLF in mingw tool chain
9996 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10000 # Try without a prefix underscore, then with it.
10001 for ac_symprfx in "" "_
"; do
10003 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10004 symxfrm="\\1 $ac_symprfx\\2 \\2"
10006 # Write the raw and C identifiers.
10007 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
10008 # Fake it for dumpbin and say T for any non-static function
10009 # and D for any global variable.
10010 # Also find C++ and __fastcall symbols from MSVC++,
10011 # which start with @ or ?.
10012 lt_cv_sys_global_symbol_pipe="$AWK '"\
10013 " {last_section=section; section=\$ 3};"\
10014 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
10015 " \$ 0!~/External *\|/{next};"\
10016 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
10017 " {if(hide[section]) next};"\
10018 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
10019 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
10020 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
10021 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
10022 " ' prfx
=^
$ac_symprfx"
10024 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
10027 # Check to see that the pipe works correctly.
10031 cat > conftest.$ac_ext <<_LT_EOF
10036 void nm_test_func(void);
10037 void nm_test_func(void){}
10041 int main(){nm_test_var='a';nm_test_func();return(0);}
10044 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10045 (eval $ac_compile) 2>&5
10047 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10048 test $ac_status = 0; }; then
10049 # Now try to grab the symbols.
10051 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
10052 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
10054 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10055 test $ac_status = 0; } && test -s "$nlist"; then
10056 # Try sorting and uniquifying the output.
10057 if sort "$nlist" | uniq > "$nlist"T; then
10058 mv -f "$nlist"T "$nlist"
10063 # Make sure that we snagged all the symbols we need.
10064 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
10065 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
10066 cat <<_LT_EOF > conftest.$ac_ext
10072 # Now generate the symbol file.
10073 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10075 cat <<_LT_EOF >> conftest.$ac_ext
10077 /* The mapping between symbol names and symbols. */
10082 lt__PROGRAM__LTX_preloaded_symbols[] =
10084 { "@PROGRAM@
", (void *) 0 },
10086 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10087 cat <<\_LT_EOF >> conftest.$ac_ext
10091 /* This works around a problem in FreeBSD linker */
10092 #ifdef FREEBSD_WORKAROUND
10093 static const void *lt_preloaded_setup() {
10094 return lt__PROGRAM__LTX_preloaded_symbols;
10102 # Now try linking the two files.
10103 mv conftest.$ac_objext conftstm.$ac_objext
10104 lt_save_LIBS="$LIBS"
10105 lt_save_CFLAGS="$CFLAGS"
10106 LIBS="conftstm.
$ac_objext"
10107 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10108 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10109 (eval $ac_link) 2>&5
10111 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10112 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
10115 LIBS="$lt_save_LIBS"
10116 CFLAGS="$lt_save_CFLAGS"
10118 echo "cannot
find nm_test_func
in $nlist" >&5
10121 echo "cannot
find nm_test_var
in $nlist" >&5
10124 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10127 echo "$progname: failed program was
:" >&5
10128 cat conftest.$ac_ext >&5
10130 rm -rf conftest* conftst*
10132 # Do not use the global_symbol_pipe unless it works.
10133 if test "$pipe_works" = yes; then
10136 lt_cv_sys_global_symbol_pipe=
10142 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10143 lt_cv_sys_global_symbol_to_cdecl=
10145 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
10147 $as_echo "failed
" >&6; }
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
10150 $as_echo "ok
" >&6; }
10174 # Check whether --enable-libtool-lock was given.
10175 if test "${enable_libtool_lock+set}" = set; then :
10176 enableval=$enable_libtool_lock;
10179 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
10181 # Some flags need to be propagated to the compiler or linker for good
10185 # Find out which ABI we are using.
10186 echo 'int i;' > conftest.$ac_ext
10187 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10188 (eval $ac_compile) 2>&5
10190 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10191 test $ac_status = 0; }; then
10192 case `/usr/bin/file conftest.$ac_objext` in
10194 HPUX_IA64_MODE="32"
10197 HPUX_IA64_MODE="64"
10204 # Find out which ABI we are using.
10205 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
10206 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10207 (eval $ac_compile) 2>&5
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10210 test $ac_status = 0; }; then
10211 if test "$lt_cv_prog_gnu_ld" = yes; then
10212 case `/usr/bin/file conftest.$ac_objext` in
10214 LD="${LD-ld} -melf32bsmip"
10217 LD="${LD-ld} -melf32bmipn32"
10220 LD="${LD-ld} -melf64bmip"
10224 case `/usr/bin/file conftest.$ac_objext` in
10240 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10241 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10242 # Find out which ABI we are using.
10243 echo 'int i;' > conftest.$ac_ext
10244 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10245 (eval $ac_compile) 2>&5
10247 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10248 test $ac_status = 0; }; then
10249 case `/usr/bin/file conftest.o` in
10252 x86_64-*kfreebsd*-gnu)
10253 LD="${LD-ld} -m elf_i386_fbsd
"
10256 case `/usr/bin/file conftest.o` in
10258 LD="${LD-ld} -m elf32_x86_64
"
10261 LD="${LD-ld} -m elf_i386
"
10265 powerpc64le-*linux*)
10266 LD="${LD-ld} -m elf32lppclinux
"
10269 LD="${LD-ld} -m elf32ppclinux
"
10272 LD="${LD-ld} -m elf_s390
"
10275 LD="${LD-ld} -m elf32_sparc
"
10281 x86_64-*kfreebsd*-gnu)
10282 LD="${LD-ld} -m elf_x86_64_fbsd
"
10285 LD="${LD-ld} -m elf_x86_64
"
10288 LD="${LD-ld} -m elf64lppc
"
10291 LD="${LD-ld} -m elf64ppc
"
10293 s390*-*linux*|s390*-*tpf*)
10294 LD="${LD-ld} -m elf64_s390
"
10297 LD="${LD-ld} -m elf64_sparc
"
10307 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10308 SAVE_CFLAGS="$CFLAGS"
10309 CFLAGS="$CFLAGS -belf"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
10311 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
10312 if ${lt_cv_cc_needs_belf+:} false; then :
10313 $as_echo_n "(cached
) " >&6
10316 ac_cpp='$CPP $CPPFLAGS'
10317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10321 if test x$gcc_no_link = xyes; then
10322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 lt_cv_cc_needs_belf=yes
10338 lt_cv_cc_needs_belf=no
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10343 ac_cpp='$CPP $CPPFLAGS'
10344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
10350 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10351 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10352 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10353 CFLAGS="$SAVE_CFLAGS"
10357 # Find out which ABI we are using.
10358 echo 'int i;' > conftest.$ac_ext
10359 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10360 (eval $ac_compile) 2>&5
10362 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10363 test $ac_status = 0; }; then
10364 case `/usr/bin/file conftest.o` in
10366 case $lt_cv_prog_gnu_ld in
10367 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
10369 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10381 need_locks="$enable_libtool_lock"
10385 rhapsody* | darwin*)
10386 if test -n "$ac_tool_prefix"; then
10387 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
10388 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10390 $as_echo_n "checking
for $ac_word...
" >&6; }
10391 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10392 $as_echo_n "(cached
) " >&6
10394 if test -n "$DSYMUTIL"; then
10395 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10398 for as_dir in $PATH
10401 test -z "$as_dir" && as_dir=.
10402 for ac_exec_ext in '' $ac_executable_extensions; do
10403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10404 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
10405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10414 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10415 if test -n "$DSYMUTIL"; then
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
10417 $as_echo "$DSYMUTIL" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10420 $as_echo "no
" >&6; }
10425 if test -z "$ac_cv_prog_DSYMUTIL"; then
10426 ac_ct_DSYMUTIL=$DSYMUTIL
10427 # Extract the first word of "dsymutil
", so it can be a program name with args.
10428 set dummy dsymutil; ac_word=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10430 $as_echo_n "checking
for $ac_word...
" >&6; }
10431 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10432 $as_echo_n "(cached
) " >&6
10434 if test -n "$ac_ct_DSYMUTIL"; then
10435 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 test -z "$as_dir" && as_dir=.
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10444 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
10445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10454 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10455 if test -n "$ac_ct_DSYMUTIL"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
10457 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10460 $as_echo "no
" >&6; }
10463 if test "x
$ac_ct_DSYMUTIL" = x; then
10466 case $cross_compiling:$ac_tool_warned in
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10469 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10470 ac_tool_warned=yes ;;
10472 DSYMUTIL=$ac_ct_DSYMUTIL
10475 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10478 if test -n "$ac_tool_prefix"; then
10479 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
10480 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10482 $as_echo_n "checking
for $ac_word...
" >&6; }
10483 if ${ac_cv_prog_NMEDIT+:} false; then :
10484 $as_echo_n "(cached
) " >&6
10486 if test -n "$NMEDIT"; then
10487 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10493 test -z "$as_dir" && as_dir=.
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
10497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10506 NMEDIT=$ac_cv_prog_NMEDIT
10507 if test -n "$NMEDIT"; then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
10509 $as_echo "$NMEDIT" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10512 $as_echo "no
" >&6; }
10517 if test -z "$ac_cv_prog_NMEDIT"; then
10518 ac_ct_NMEDIT=$NMEDIT
10519 # Extract the first word of "nmedit
", so it can be a program name with args.
10520 set dummy nmedit; ac_word=$2
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10522 $as_echo_n "checking
for $ac_word...
" >&6; }
10523 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10524 $as_echo_n "(cached
) " >&6
10526 if test -n "$ac_ct_NMEDIT"; then
10527 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10530 for as_dir in $PATH
10533 test -z "$as_dir" && as_dir=.
10534 for ac_exec_ext in '' $ac_executable_extensions; do
10535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10536 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
10537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10546 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10547 if test -n "$ac_ct_NMEDIT"; then
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
10549 $as_echo "$ac_ct_NMEDIT" >&6; }
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10552 $as_echo "no
" >&6; }
10555 if test "x
$ac_ct_NMEDIT" = x; then
10558 case $cross_compiling:$ac_tool_warned in
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10561 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10562 ac_tool_warned=yes ;;
10564 NMEDIT=$ac_ct_NMEDIT
10567 NMEDIT="$ac_cv_prog_NMEDIT"
10570 if test -n "$ac_tool_prefix"; then
10571 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
10572 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10574 $as_echo_n "checking
for $ac_word...
" >&6; }
10575 if ${ac_cv_prog_LIPO+:} false; then :
10576 $as_echo_n "(cached
) " >&6
10578 if test -n "$LIPO"; then
10579 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $PATH
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
10589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10598 LIPO=$ac_cv_prog_LIPO
10599 if test -n "$LIPO"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
10601 $as_echo "$LIPO" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10604 $as_echo "no
" >&6; }
10609 if test -z "$ac_cv_prog_LIPO"; then
10611 # Extract the first word of "lipo
", so it can be a program name with args.
10612 set dummy lipo; ac_word=$2
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10614 $as_echo_n "checking
for $ac_word...
" >&6; }
10615 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10616 $as_echo_n "(cached
) " >&6
10618 if test -n "$ac_ct_LIPO"; then
10619 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10622 for as_dir in $PATH
10625 test -z "$as_dir" && as_dir=.
10626 for ac_exec_ext in '' $ac_executable_extensions; do
10627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10628 ac_cv_prog_ac_ct_LIPO="lipo
"
10629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10638 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10639 if test -n "$ac_ct_LIPO"; then
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
10641 $as_echo "$ac_ct_LIPO" >&6; }
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10644 $as_echo "no
" >&6; }
10647 if test "x
$ac_ct_LIPO" = x; then
10650 case $cross_compiling:$ac_tool_warned in
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10653 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10654 ac_tool_warned=yes ;;
10659 LIPO="$ac_cv_prog_LIPO"
10662 if test -n "$ac_tool_prefix"; then
10663 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
10664 set dummy ${ac_tool_prefix}otool; ac_word=$2
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10666 $as_echo_n "checking
for $ac_word...
" >&6; }
10667 if ${ac_cv_prog_OTOOL+:} false; then :
10668 $as_echo_n "(cached
) " >&6
10670 if test -n "$OTOOL"; then
10671 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10674 for as_dir in $PATH
10677 test -z "$as_dir" && as_dir=.
10678 for ac_exec_ext in '' $ac_executable_extensions; do
10679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10680 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
10681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10690 OTOOL=$ac_cv_prog_OTOOL
10691 if test -n "$OTOOL"; then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10693 $as_echo "$OTOOL" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10696 $as_echo "no
" >&6; }
10701 if test -z "$ac_cv_prog_OTOOL"; then
10703 # Extract the first word of "otool
", so it can be a program name with args.
10704 set dummy otool; ac_word=$2
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10706 $as_echo_n "checking
for $ac_word...
" >&6; }
10707 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10708 $as_echo_n "(cached
) " >&6
10710 if test -n "$ac_ct_OTOOL"; then
10711 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10714 for as_dir in $PATH
10717 test -z "$as_dir" && as_dir=.
10718 for ac_exec_ext in '' $ac_executable_extensions; do
10719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10720 ac_cv_prog_ac_ct_OTOOL="otool
"
10721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10730 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10731 if test -n "$ac_ct_OTOOL"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
10733 $as_echo "$ac_ct_OTOOL" >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10736 $as_echo "no
" >&6; }
10739 if test "x
$ac_ct_OTOOL" = x; then
10742 case $cross_compiling:$ac_tool_warned in
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10745 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10746 ac_tool_warned=yes ;;
10751 OTOOL="$ac_cv_prog_OTOOL"
10754 if test -n "$ac_tool_prefix"; then
10755 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
10756 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10758 $as_echo_n "checking
for $ac_word...
" >&6; }
10759 if ${ac_cv_prog_OTOOL64+:} false; then :
10760 $as_echo_n "(cached
) " >&6
10762 if test -n "$OTOOL64"; then
10763 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10766 for as_dir in $PATH
10769 test -z "$as_dir" && as_dir=.
10770 for ac_exec_ext in '' $ac_executable_extensions; do
10771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10772 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
10773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10782 OTOOL64=$ac_cv_prog_OTOOL64
10783 if test -n "$OTOOL64"; then
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
10785 $as_echo "$OTOOL64" >&6; }
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10788 $as_echo "no
" >&6; }
10793 if test -z "$ac_cv_prog_OTOOL64"; then
10794 ac_ct_OTOOL64=$OTOOL64
10795 # Extract the first word of "otool64
", so it can be a program name with args.
10796 set dummy otool64; ac_word=$2
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10798 $as_echo_n "checking
for $ac_word...
" >&6; }
10799 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10800 $as_echo_n "(cached
) " >&6
10802 if test -n "$ac_ct_OTOOL64"; then
10803 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10806 for as_dir in $PATH
10809 test -z "$as_dir" && as_dir=.
10810 for ac_exec_ext in '' $ac_executable_extensions; do
10811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10812 ac_cv_prog_ac_ct_OTOOL64="otool64
"
10813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10822 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10823 if test -n "$ac_ct_OTOOL64"; then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
10825 $as_echo "$ac_ct_OTOOL64" >&6; }
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10828 $as_echo "no
" >&6; }
10831 if test "x
$ac_ct_OTOOL64" = x; then
10834 case $cross_compiling:$ac_tool_warned in
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10837 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10838 ac_tool_warned=yes ;;
10840 OTOOL64=$ac_ct_OTOOL64
10843 OTOOL64="$ac_cv_prog_OTOOL64"
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
10873 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
10874 if ${lt_cv_apple_cc_single_mod+:} false; then :
10875 $as_echo_n "(cached
) " >&6
10877 lt_cv_apple_cc_single_mod=no
10878 if test -z "${LT_MULTI_MODULE}"; then
10879 # By default we will add the -single_module flag. You can override
10880 # by either setting the environment variable LT_MULTI_MODULE
10881 # non-empty at configure time, or by adding -multi_module to the
10883 rm -rf libconftest.dylib*
10884 echo "int foo
(void
){return 1;}" > conftest.c
10885 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10886 -dynamiclib -Wl,-single_module conftest.c
" >&5
10887 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10888 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10890 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10891 lt_cv_apple_cc_single_mod=yes
10893 cat conftest.err >&5
10895 rm -rf libconftest.dylib*
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
10900 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
10902 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
10903 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10904 $as_echo_n "(cached
) " >&6
10906 lt_cv_ld_exported_symbols_list=no
10907 save_LDFLAGS=$LDFLAGS
10908 echo "_main
" > conftest.sym
10909 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
10910 if test x$gcc_no_link = xyes; then
10911 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10924 if ac_fn_c_try_link "$LINENO"; then :
10925 lt_cv_ld_exported_symbols_list=yes
10927 lt_cv_ld_exported_symbols_list=no
10929 rm -f core conftest.err conftest.$ac_objext \
10930 conftest$ac_exeext conftest.$ac_ext
10931 LDFLAGS="$save_LDFLAGS"
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
10935 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
10937 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
10938 if ${lt_cv_ld_force_load+:} false; then :
10939 $as_echo_n "(cached
) " >&6
10941 lt_cv_ld_force_load=no
10942 cat > conftest.c << _LT_EOF
10943 int forced_loaded() { return 2;}
10945 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
10946 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10947 echo "$AR cru libconftest.a conftest.o
" >&5
10948 $AR cru libconftest.a conftest.o 2>&5
10949 cat > conftest.c << _LT_EOF
10950 int main() { return 0;}
10952 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
10953 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10955 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
10956 lt_cv_ld_force_load=yes
10958 cat conftest.err >&5
10960 rm -f conftest.err libconftest.a conftest conftest.c
10961 rm -rf conftest.dSYM
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
10965 $as_echo "$lt_cv_ld_force_load" >&6; }
10966 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
10967 # build without first building modern cctools / linker.
10968 case $host_cpu-$host_os in
10969 *-rhapsody* | *-darwin1.[012])
10970 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10972 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10974 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
10975 # deployment target is forced to an earlier version.
10976 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
10977 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
10980 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10987 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10988 _lt_dar_single_mod='$single_module'
10990 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10991 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10993 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10995 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
10996 _lt_dsymutil='~$DSYMUTIL $lib || :'
11003 for ac_header in dlfcn.h
11005 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
11007 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
11008 cat >>confdefs.h <<_ACEOF
11009 #define HAVE_DLFCN_H 1
11027 enable_win32_dll=no
11030 # Check whether --enable-shared was given.
11031 if test "${enable_shared+set}" = set; then :
11032 enableval=$enable_shared; p=${PACKAGE-default}
11034 yes) enable_shared=yes ;;
11035 no) enable_shared=no ;;
11038 # Look at the argument we got. We use all the common list separators.
11039 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11040 for pkg in $enableval; do
11042 if test "X
$pkg" = "X
$p"; then
11061 # Check whether --enable-static was given.
11062 if test "${enable_static+set}" = set; then :
11063 enableval=$enable_static; p=${PACKAGE-default}
11065 yes) enable_static=yes ;;
11066 no) enable_static=no ;;
11069 # Look at the argument we got. We use all the common list separators.
11070 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11071 for pkg in $enableval; do
11073 if test "X
$pkg" = "X
$p"; then
11093 # Check whether --with-pic was given.
11094 if test "${with_pic+set}" = set; then :
11095 withval=$with_pic; pic_mode="$withval"
11101 test -z "$pic_mode" && pic_mode=default
11109 # Check whether --enable-fast-install was given.
11110 if test "${enable_fast_install+set}" = set; then :
11111 enableval=$enable_fast_install; p=${PACKAGE-default}
11113 yes) enable_fast_install=yes ;;
11114 no) enable_fast_install=no ;;
11116 enable_fast_install=no
11117 # Look at the argument we got. We use all the common list separators.
11118 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11119 for pkg in $enableval; do
11121 if test "X
$pkg" = "X
$p"; then
11122 enable_fast_install=yes
11129 enable_fast_install=yes
11142 # This can be used to rebuild libtool when needed
11143 LIBTOOL_DEPS="$ltmain"
11145 # Always use our own libtool.
11146 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11173 test -z "$LN_S" && LN_S="ln -s"
11188 if test -n "${ZSH_VERSION+set}" ; then
11189 setopt NO_GLOB_SUBST
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
11193 $as_echo_n "checking
for objdir...
" >&6; }
11194 if ${lt_cv_objdir+:} false; then :
11195 $as_echo_n "(cached
) " >&6
11197 rm -f .libs 2>/dev/null
11198 mkdir .libs 2>/dev/null
11199 if test -d .libs; then
11202 # MS-DOS does not allow filenames that begin with a dot.
11205 rmdir .libs 2>/dev/null
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
11208 $as_echo "$lt_cv_objdir" >&6; }
11209 objdir=$lt_cv_objdir
11215 cat >>confdefs.h <<_ACEOF
11216 #define LT_OBJDIR "$lt_cv_objdir/"
11224 # AIX sometimes has problems with the GCC collect2 program. For some
11225 # reason, if we set the COLLECT_NAMES environment variable, the problems
11226 # vanish in a puff of smoke.
11227 if test "X
${COLLECT_NAMES+set}" != Xset; then
11229 export COLLECT_NAMES
11234 # Global variables:
11236 can_build_shared=yes
11238 # All known linkers require a `.a' archive for static linking (except MSVC,
11239 # which needs '.lib').
11242 with_gnu_ld="$lt_cv_prog_gnu_ld"
11245 old_CFLAGS="$CFLAGS"
11247 # Set sane defaults for various variables
11248 test -z "$CC" && CC=cc
11249 test -z "$LTCC" && LTCC=$CC
11250 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11251 test -z "$LD" && LD=ld
11252 test -z "$ac_objext" && ac_objext=o
11254 for cc_temp in $compiler""; do
11256 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11257 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11262 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
11265 # Only perform the check for file, if the check method requires it
11266 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11267 case $deplibs_check_method in
11269 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
11271 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
11272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11273 $as_echo_n "(cached
) " >&6
11277 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11280 lt_save_MAGIC_CMD="$MAGIC_CMD"
11281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11282 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
11283 for ac_dir in $ac_dummy; do
11285 test -z "$ac_dir" && ac_dir=.
11286 if test -f $ac_dir/${ac_tool_prefix}file; then
11287 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11288 if test -n "$file_magic_test_file"; then
11289 case $deplibs_check_method in
11291 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
11292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11293 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11294 $EGREP "$file_magic_regex" > /dev/null; then
11299 *** Warning: the command libtool uses to detect shared libraries,
11300 *** $file_magic_cmd, produces output that libtool cannot recognize.
11301 *** The result is that libtool may fail to recognize shared libraries
11302 *** as such. This will affect the creation of libtool libraries that
11303 *** depend on shared libraries, but programs linked with such libtool
11304 *** libraries will work regardless of this problem. Nevertheless, you
11305 *** may want to report the problem to your system manager and/or to
11306 *** bug-libtool@gnu.org
11316 MAGIC_CMD="$lt_save_MAGIC_CMD"
11321 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11322 if test -n "$MAGIC_CMD"; then
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
11324 $as_echo "$MAGIC_CMD" >&6; }
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11327 $as_echo "no
" >&6; }
11334 if test -z "$lt_cv_path_MAGIC_CMD"; then
11335 if test -n "$ac_tool_prefix"; then
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
11337 $as_echo_n "checking
for file...
" >&6; }
11338 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11339 $as_echo_n "(cached
) " >&6
11343 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11346 lt_save_MAGIC_CMD="$MAGIC_CMD"
11347 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11348 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
11349 for ac_dir in $ac_dummy; do
11351 test -z "$ac_dir" && ac_dir=.
11352 if test -f $ac_dir/file; then
11353 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11354 if test -n "$file_magic_test_file"; then
11355 case $deplibs_check_method in
11357 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
11358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11359 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11360 $EGREP "$file_magic_regex" > /dev/null; then
11365 *** Warning: the command libtool uses to detect shared libraries,
11366 *** $file_magic_cmd, produces output that libtool cannot recognize.
11367 *** The result is that libtool may fail to recognize shared libraries
11368 *** as such. This will affect the creation of libtool libraries that
11369 *** depend on shared libraries, but programs linked with such libtool
11370 *** libraries will work regardless of this problem. Nevertheless, you
11371 *** may want to report the problem to your system manager and/or to
11372 *** bug-libtool@gnu.org
11382 MAGIC_CMD="$lt_save_MAGIC_CMD"
11387 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11388 if test -n "$MAGIC_CMD"; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
11390 $as_echo "$MAGIC_CMD" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11393 $as_echo "no
" >&6; }
11406 # Use C for the default configuration in the libtool script
11410 ac_cpp='$CPP $CPPFLAGS'
11411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11416 # Source file extension for C test sources.
11419 # Object file extension for compiled C test sources.
11423 # Code to be used in simple compile tests
11424 lt_simple_compile_test_code="int some_variable
= 0;"
11426 # Code to be used in simple link tests
11427 lt_simple_link_test_code='int main(){return(0);}'
11435 # If no C compiler was specified, use CC.
11438 # If no C compiler flags were specified, use CFLAGS.
11439 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11441 # Allow CC to be a program name with arguments.
11444 # Save the default compiler, since it gets overwritten when the other
11445 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11446 compiler_DEFAULT=$CC
11448 # save warnings/boilerplate of simple test code
11449 ac_outfile=conftest.$ac_objext
11450 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11451 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11452 _lt_compiler_boilerplate=`cat conftest.err`
11455 ac_outfile=conftest.$ac_objext
11456 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11457 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11458 _lt_linker_boilerplate=`cat conftest.err`
11463 ## There is no encapsulation within the following macros, do not change
11464 ## the running order or otherwise move them around unless you know exactly
11465 ## what you are doing...
11466 if test -n "$compiler"; then
11468 lt_prog_compiler_no_builtin_flag=
11470 if test "$GCC" = yes; then
11471 case $cc_basename in
11473 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11475 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
11479 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
11480 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11481 $as_echo_n "(cached
) " >&6
11483 lt_cv_prog_compiler_rtti_exceptions=no
11484 ac_outfile=conftest.$ac_objext
11485 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11486 lt_compiler_flag="-fno-rtti -fno-exceptions"
11487 # Insert the option either (1) after the last *FLAGS variable, or
11488 # (2) before a word containing "conftest.
", or (3) at the end.
11489 # Note that $ac_compile itself does not contain backslashes and begins
11490 # with a dollar sign (not a hyphen), so the echo should work correctly.
11491 # The option is referenced via a variable to avoid confusing sed.
11492 lt_compile=`echo "$ac_compile" | $SED \
11493 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11495 -e 's:$: $lt_compiler_flag:'`
11496 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11497 (eval "$lt_compile" 2>conftest.err)
11499 cat conftest.err >&5
11500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11501 if (exit $ac_status) && test -s "$ac_outfile"; then
11502 # The compiler can only warn and ignore the option if not recognized
11503 # So say no if there are warnings other than the usual output.
11504 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11505 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11506 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11507 lt_cv_prog_compiler_rtti_exceptions=yes
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
11514 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11516 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11517 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11529 lt_prog_compiler_wl=
11530 lt_prog_compiler_pic=
11531 lt_prog_compiler_static=
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
11534 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
11536 if test "$GCC" = yes; then
11537 lt_prog_compiler_wl='-Wl,'
11538 lt_prog_compiler_static='-static'
11542 # All AIX code is PIC.
11543 if test "$host_cpu" = ia64; then
11544 # AIX 5 now supports IA64 processor
11545 lt_prog_compiler_static='-Bstatic'
11547 lt_prog_compiler_pic='-fPIC'
11553 # see comment about AmigaOS4 .so support
11554 lt_prog_compiler_pic='-fPIC'
11557 # FIXME: we need at least 68020 code to build shared libraries, but
11558 # adding the `-m68020' flag to GCC prevents building anything better,
11560 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11565 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11566 # PIC is the default for these OSes.
11569 mingw* | cygwin* | pw32* | os2* | cegcc*)
11570 # This hack is so that the source file can tell whether it is being
11571 # built for inclusion in a dll (and should export symbols for example).
11572 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11573 # (--disable-auto-import) libraries
11574 lt_prog_compiler_pic='-DDLL_EXPORT'
11577 darwin* | rhapsody*)
11578 # PIC is the default on this platform
11579 # Common symbols not allowed in MH_DYLIB files
11580 lt_prog_compiler_pic='-fno-common'
11584 # PIC is the default for Haiku.
11585 # The "-static" flag exists, but is broken.
11586 lt_prog_compiler_static=
11590 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11591 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11592 # sets the default TLS model and affects inlining.
11598 lt_prog_compiler_pic='-fPIC'
11604 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11605 # Instead, we relocate shared libraries at runtime.
11609 # Just because we use GCC doesn't mean we suddenly get shared libraries
11610 # on systems that don't support them.
11611 lt_prog_compiler_can_build_shared=no
11616 # QNX uses GNU C++, but need to define -shared option too, otherwise
11617 # it will coredump.
11618 lt_prog_compiler_pic='-fPIC -shared'
11622 if test -d /usr/nec; then
11623 lt_prog_compiler_pic=-Kconform_pic
11628 lt_prog_compiler_pic='-fPIC'
11632 case $cc_basename in
11633 nvcc*) # Cuda Compiler Driver 2.2
11634 lt_prog_compiler_wl='-Xlinker '
11635 lt_prog_compiler_pic='-Xcompiler -fPIC'
11639 # PORTME Check for flag to pass linker flags through the system compiler.
11642 lt_prog_compiler_wl='-Wl,'
11643 if test "$host_cpu" = ia64; then
11644 # AIX 5 now supports IA64 processor
11645 lt_prog_compiler_static='-Bstatic'
11647 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11651 mingw* | cygwin* | pw32* | os2* | cegcc*)
11652 # This hack is so that the source file can tell whether it is being
11653 # built for inclusion in a dll (and should export symbols for example).
11654 lt_prog_compiler_pic='-DDLL_EXPORT'
11657 hpux9* | hpux10* | hpux11*)
11658 lt_prog_compiler_wl='-Wl,'
11659 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11660 # not for PA HP-UX.
11666 lt_prog_compiler_pic='+Z'
11669 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11670 lt_prog_compiler_static='${wl}-a ${wl}archive'
11673 irix5* | irix6* | nonstopux*)
11674 lt_prog_compiler_wl='-Wl,'
11675 # PIC (with -KPIC) is the default.
11676 lt_prog_compiler_static='-non_shared'
11679 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11680 case $cc_basename in
11681 # old Intel for x86_64 which still supported -KPIC.
11683 lt_prog_compiler_wl='-Wl,'
11684 lt_prog_compiler_pic='-KPIC'
11685 lt_prog_compiler_static='-static'
11687 # icc used to be incompatible with GCC.
11688 # ICC 10 doesn't accept -KPIC any more.
11690 lt_prog_compiler_wl='-Wl,'
11691 lt_prog_compiler_pic='-fPIC'
11692 lt_prog_compiler_static='-static'
11694 # Lahey Fortran 8.1.
11696 lt_prog_compiler_wl='-Wl,'
11697 lt_prog_compiler_pic='--shared'
11698 lt_prog_compiler_static='--static'
11700 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11701 # Portland Group compilers (*not* the Pentium gcc compiler,
11702 # which looks to be a dead project)
11703 lt_prog_compiler_wl='-Wl,'
11704 lt_prog_compiler_pic='-fpic'
11705 lt_prog_compiler_static='-Bstatic'
11708 lt_prog_compiler_wl='-Wl,'
11709 # All Alpha code is PIC.
11710 lt_prog_compiler_static='-non_shared'
11712 xl* | bgxl* | bgf* | mpixl*)
11713 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11714 lt_prog_compiler_wl='-Wl,'
11715 lt_prog_compiler_pic='-qpic'
11716 lt_prog_compiler_static='-qstaticlink'
11719 case `$CC -V 2>&1 | sed 5q` in
11720 *Sun\ F* | *Sun*Fortran*)
11721 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11722 lt_prog_compiler_pic='-KPIC'
11723 lt_prog_compiler_static='-Bstatic'
11724 lt_prog_compiler_wl=''
11728 lt_prog_compiler_pic='-KPIC'
11729 lt_prog_compiler_static='-Bstatic'
11730 lt_prog_compiler_wl='-Wl,'
11738 lt_prog_compiler_pic='-KPIC'
11739 lt_prog_compiler_static='-Bstatic'
11743 # QNX uses GNU C++, but need to define -shared option too, otherwise
11744 # it will coredump.
11745 lt_prog_compiler_pic='-fPIC -shared'
11748 osf3* | osf4* | osf5*)
11749 lt_prog_compiler_wl='-Wl,'
11750 # All OSF/1 code is PIC.
11751 lt_prog_compiler_static='-non_shared'
11755 lt_prog_compiler_static='-non_shared'
11759 lt_prog_compiler_pic='-KPIC'
11760 lt_prog_compiler_static='-Bstatic'
11761 case $cc_basename in
11762 f77* | f90* | f95*)
11763 lt_prog_compiler_wl='-Qoption ld ';;
11765 lt_prog_compiler_wl='-Wl,';;
11770 lt_prog_compiler_wl='-Qoption ld '
11771 lt_prog_compiler_pic='-PIC'
11772 lt_prog_compiler_static='-Bstatic'
11775 sysv4 | sysv4.2uw2* | sysv4.3*)
11776 lt_prog_compiler_wl='-Wl,'
11777 lt_prog_compiler_pic='-KPIC'
11778 lt_prog_compiler_static='-Bstatic'
11782 if test -d /usr/nec ;then
11783 lt_prog_compiler_pic='-Kconform_pic'
11784 lt_prog_compiler_static='-Bstatic'
11788 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11789 lt_prog_compiler_wl='-Wl,'
11790 lt_prog_compiler_pic='-KPIC'
11791 lt_prog_compiler_static='-Bstatic'
11795 lt_prog_compiler_wl='-Wl,'
11796 lt_prog_compiler_can_build_shared=no
11800 lt_prog_compiler_pic='-pic'
11801 lt_prog_compiler_static='-Bstatic'
11805 lt_prog_compiler_can_build_shared=no
11811 # For platforms which do not support PIC, -DPIC is meaningless:
11813 lt_prog_compiler_pic=
11816 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
11820 $as_echo "$lt_prog_compiler_pic" >&6; }
11828 # Check to make sure the PIC flag actually works.
11830 if test -n "$lt_prog_compiler_pic"; then
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
11832 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
11833 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11834 $as_echo_n "(cached
) " >&6
11836 lt_cv_prog_compiler_pic_works=no
11837 ac_outfile=conftest.$ac_objext
11838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11839 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11840 # Insert the option either (1) after the last *FLAGS variable, or
11841 # (2) before a word containing "conftest.
", or (3) at the end.
11842 # Note that $ac_compile itself does not contain backslashes and begins
11843 # with a dollar sign (not a hyphen), so the echo should work correctly.
11844 # The option is referenced via a variable to avoid confusing sed.
11845 lt_compile=`echo "$ac_compile" | $SED \
11846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11848 -e 's:$: $lt_compiler_flag:'`
11849 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11850 (eval "$lt_compile" 2>conftest.err)
11852 cat conftest.err >&5
11853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11854 if (exit $ac_status) && test -s "$ac_outfile"; then
11855 # The compiler can only warn and ignore the option if not recognized
11856 # So say no if there are warnings other than the usual output.
11857 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11858 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11859 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11860 lt_cv_prog_compiler_pic_works=yes
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
11867 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11869 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11870 case $lt_prog_compiler_pic in
11872 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11875 lt_prog_compiler_pic=
11876 lt_prog_compiler_can_build_shared=no
11887 # Check to make sure the static flag actually works.
11889 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
11891 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
11892 if ${lt_cv_prog_compiler_static_works+:} false; then :
11893 $as_echo_n "(cached
) " >&6
11895 lt_cv_prog_compiler_static_works=no
11896 save_LDFLAGS="$LDFLAGS"
11897 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11898 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11899 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11900 # The linker can only warn and ignore the option if not recognized
11901 # So say no if there are warnings
11902 if test -s conftest.err; then
11903 # Append any errors to the config.log.
11904 cat conftest.err 1>&5
11905 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11906 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11907 if diff conftest.exp conftest.er2 >/dev/null; then
11908 lt_cv_prog_compiler_static_works=yes
11911 lt_cv_prog_compiler_static_works=yes
11915 LDFLAGS="$save_LDFLAGS"
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
11919 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11921 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11924 lt_prog_compiler_static=
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11934 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11935 if ${lt_cv_prog_compiler_c_o+:} false; then :
11936 $as_echo_n "(cached
) " >&6
11938 lt_cv_prog_compiler_c_o=no
11939 $RM -r conftest 2>/dev/null
11943 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11945 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
11946 # Insert the option either (1) after the last *FLAGS variable, or
11947 # (2) before a word containing "conftest.
", or (3) at the end.
11948 # Note that $ac_compile itself does not contain backslashes and begins
11949 # with a dollar sign (not a hyphen), so the echo should work correctly.
11950 lt_compile=`echo "$ac_compile" | $SED \
11951 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11952 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11953 -e 's:$: $lt_compiler_flag:'`
11954 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11955 (eval "$lt_compile" 2>out/conftest.err)
11957 cat out/conftest.err >&5
11958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11959 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11961 # The compiler can only warn and ignore the option if not recognized
11962 # So say no if there are warnings
11963 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11964 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11965 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11966 lt_cv_prog_compiler_c_o=yes
11971 # SGI C++ compiler will create directory out/ii_files/ for
11972 # template instantiation
11973 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11974 $RM out/* && rmdir out
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
11981 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11989 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11990 if ${lt_cv_prog_compiler_c_o+:} false; then :
11991 $as_echo_n "(cached
) " >&6
11993 lt_cv_prog_compiler_c_o=no
11994 $RM -r conftest 2>/dev/null
11998 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12000 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
12001 # Insert the option either (1) after the last *FLAGS variable, or
12002 # (2) before a word containing "conftest.
", or (3) at the end.
12003 # Note that $ac_compile itself does not contain backslashes and begins
12004 # with a dollar sign (not a hyphen), so the echo should work correctly.
12005 lt_compile=`echo "$ac_compile" | $SED \
12006 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12007 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12008 -e 's:$: $lt_compiler_flag:'`
12009 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
12010 (eval "$lt_compile" 2>out/conftest.err)
12012 cat out/conftest.err >&5
12013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12014 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12016 # The compiler can only warn and ignore the option if not recognized
12017 # So say no if there are warnings
12018 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12019 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12020 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12021 lt_cv_prog_compiler_c_o=yes
12026 # SGI C++ compiler will create directory out/ii_files/ for
12027 # template instantiation
12028 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12029 $RM out/* && rmdir out
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
12036 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12041 hard_links="nottested
"
12042 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
12043 # do not overwrite the value of need_locks provided by the user
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
12045 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
12048 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12050 ln conftest.a conftest.b 2>&5 || hard_links=no
12051 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
12053 $as_echo "$hard_links" >&6; }
12054 if test "$hard_links" = no; then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
12056 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
12069 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
12072 allow_undefined_flag=
12073 always_export_symbols=no
12075 archive_expsym_cmds=
12076 compiler_needs_object=no
12077 enable_shared_with_static_runtimes=no
12078 export_dynamic_flag_spec=
12079 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12080 hardcode_automatic=no
12082 hardcode_direct_absolute=no
12083 hardcode_libdir_flag_spec=
12084 hardcode_libdir_flag_spec_ld=
12085 hardcode_libdir_separator=
12086 hardcode_minus_L=no
12087 hardcode_shlibpath_var=unsupported
12089 link_all_deplibs=unknown
12091 module_expsym_cmds=
12092 old_archive_from_new_cmds=
12093 old_archive_from_expsyms_cmds=
12094 thread_safe_flag_spec=
12095 whole_archive_flag_spec=
12096 # include_expsyms should be a list of space-separated symbols to be *always*
12097 # included in the symbol list
12099 # exclude_expsyms can be an extended regexp of symbols to exclude
12100 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12101 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12102 # as well as any symbol that contains `d'.
12103 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12104 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12105 # platforms (ab)use it in PIC code, but their linkers get confused if
12106 # the symbol is explicitly referenced. Since portable code cannot
12107 # rely on this symbol name, it's probably fine to never include it in
12108 # preloaded symbol tables.
12109 # Exclude shared library initialization/finalization symbols.
12110 extract_expsyms_cmds=
12113 cygwin* | mingw* | pw32* | cegcc*)
12114 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12115 # When not using gcc, we currently assume that we are using
12116 # Microsoft Visual C++.
12117 if test "$GCC" != yes; then
12122 # we just hope/assume this is gcc and not c89 (= MSVC++)
12132 # On some targets, GNU ld is compatible enough with the native linker
12133 # that we're better off using the native interface for both.
12134 lt_use_gnu_ld_interface=no
12135 if test "$with_gnu_ld" = yes; then
12138 # The AIX port of GNU ld has always aspired to compatibility
12139 # with the native linker. However, as the warning in the GNU ld
12140 # block says, versions before 2.19.5* couldn't really create working
12141 # shared libraries, regardless of the interface used.
12142 case `$LD -v 2>&1` in
12143 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12144 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12145 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12147 lt_use_gnu_ld_interface=yes
12152 lt_use_gnu_ld_interface=yes
12157 if test "$lt_use_gnu_ld_interface" = yes; then
12158 # If archive_cmds runs LD, not CC, wlarc should be empty
12161 # Set some defaults for GNU ld with shared library support. These
12162 # are reset later if shared libraries are not supported. Putting them
12163 # here allows them to be overridden if necessary.
12164 runpath_var=LD_RUN_PATH
12165 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12166 export_dynamic_flag_spec='${wl}--export-dynamic'
12167 # ancient GNU ld didn't support --whole-archive et. al.
12168 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12169 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12171 whole_archive_flag_spec=
12173 supports_anon_versioning=no
12174 case `$LD -v 2>&1` in
12175 *GNU\ gold*) supports_anon_versioning=yes ;;
12176 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12177 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12178 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12179 *\ 2.11.*) ;; # other 2.11 versions
12180 *) supports_anon_versioning=yes ;;
12183 # See if GNU ld supports shared libraries.
12186 # On AIX/PPC, the GNU linker is very broken
12187 if test "$host_cpu" != ia64; then
12191 *** Warning: the GNU linker, at least up to release 2.19, is reported
12192 *** to be unable to reliably create shared libraries on AIX.
12193 *** Therefore, libtool is disabling shared libraries support. If you
12194 *** really care for shared libraries, you may want to install binutils
12195 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12196 *** You will then need to restart the configuration process.
12205 # see comment about AmigaOS4 .so support
12206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12207 archive_expsym_cmds=''
12210 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)'
12211 hardcode_libdir_flag_spec
='-L$libdir'
12212 hardcode_minus_L
=yes
12218 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12219 allow_undefined_flag
=unsupported
12220 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12221 # support --undefined. This deserves some investigation. FIXME
12222 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12228 cygwin
* | mingw
* | pw32
* | cegcc
*)
12229 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12230 # as there is no search path for DLLs.
12231 hardcode_libdir_flag_spec
='-L$libdir'
12232 export_dynamic_flag_spec
='${wl}--export-all-symbols'
12233 allow_undefined_flag
=unsupported
12234 always_export_symbols
=no
12235 enable_shared_with_static_runtimes
=yes
12236 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12238 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12239 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12240 # If the export-symbols file already is a .def file (1st line
12241 # is EXPORTS), use it as is; otherwise, prepend...
12242 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12243 cp $export_symbols $output_objdir/$soname.def;
12245 echo EXPORTS > $output_objdir/$soname.def;
12246 cat $export_symbols >> $output_objdir/$soname.def;
12248 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12255 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12256 link_all_deplibs
=yes
12261 hardcode_shlibpath_var
=no
12262 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12263 export_dynamic_flag_spec
='${wl}-E'
12264 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12265 # Instead, shared libraries are loaded at an image base (0x10000000 by
12266 # default) and relocated if they conflict, which is a slow very memory
12267 # consuming and fragmenting process. To avoid this, we pick a random,
12268 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12269 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12270 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12271 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'
12274 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
12276 if test "$host_os" = linux-dietlibc
; then
12277 case $cc_basename in
12278 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12281 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12282 && test "$tmp_diet" = no
12284 tmp_addflag
=' $pic_flag'
12285 tmp_sharedflag
='-shared'
12286 case $cc_basename,$host_cpu in
12287 pgcc
*) # Portland Group C compiler
12288 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'
12289 tmp_addflag
=' $pic_flag'
12291 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12292 # Portland Group f77 and f90 compilers
12293 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'
12294 tmp_addflag
=' $pic_flag -Mnomain' ;;
12295 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12296 tmp_addflag
=' -i_dynamic' ;;
12297 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12298 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12299 ifc
* | ifort
*) # Intel Fortran compiler
12300 tmp_addflag
=' -nofor_main' ;;
12301 lf95
*) # Lahey Fortran 8.1
12302 whole_archive_flag_spec
=
12303 tmp_sharedflag
='--shared' ;;
12304 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12305 tmp_sharedflag
='-qmkshrobj'
12307 nvcc
*) # Cuda Compiler Driver 2.2
12308 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'
12309 compiler_needs_object
=yes
12312 case `$CC -V 2>&1 | sed 5q` in
12313 *Sun\ C
*) # Sun C 5.9
12314 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'
12315 compiler_needs_object
=yes
12316 tmp_sharedflag
='-G' ;;
12317 *Sun\ F
*) # Sun Fortran 8.3
12318 tmp_sharedflag
='-G' ;;
12320 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12322 if test "x$supports_anon_versioning" = xyes
; then
12323 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12324 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12325 echo "local: *; };" >> $output_objdir/$libname.ver~
12326 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12329 case $cc_basename in
12330 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12331 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12332 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12333 hardcode_libdir_flag_spec
=
12334 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
12335 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12336 if test "x$supports_anon_versioning" = xyes
; then
12337 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12338 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12339 echo "local: *; };" >> $output_objdir/$libname.ver~
12340 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12350 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12351 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12354 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12355 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12360 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12364 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12365 *** create shared libraries on Solaris systems. Therefore, libtool
12366 *** is disabling shared libraries support. We urge you to upgrade GNU
12367 *** binutils to release 2.9.1 or newer. Another option is to modify
12368 *** your PATH or compiler configuration so that the native linker is
12369 *** used, and then restart.
12372 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12373 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12374 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12380 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12381 case `$LD -v 2>&1` in
12382 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12386 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12387 *** reliably create shared libraries on SCO systems. Therefore, libtool
12388 *** is disabling shared libraries support. We urge you to upgrade GNU
12389 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12390 *** your PATH or compiler configuration so that the native linker is
12391 *** used, and then restart.
12396 # For security reasons, it is highly recommended that you always
12397 # use absolute paths for naming shared libraries, and exclude the
12398 # DT_RUNPATH tag from executables and libraries. But doing so
12399 # requires that you compile everything twice, which is a pain.
12400 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12401 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12402 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12403 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12412 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12414 hardcode_direct
=yes
12415 hardcode_shlibpath_var
=no
12419 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12420 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12421 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12428 if test "$ld_shlibs" = no
; then
12430 hardcode_libdir_flag_spec
=
12431 export_dynamic_flag_spec
=
12432 whole_archive_flag_spec
=
12435 # PORTME fill in a description of your system's linker (not GNU ld)
12438 allow_undefined_flag
=unsupported
12439 always_export_symbols
=yes
12440 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'
12441 # Note: this linker hardcodes the directories in LIBPATH if there
12442 # are no directories specified by -L.
12443 hardcode_minus_L
=yes
12444 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12445 # Neither direct hardcoding nor static linking is supported with a
12447 hardcode_direct
=unsupported
12452 if test "$host_cpu" = ia64
; then
12453 # On IA64, the linker does run time linking by default, so we don't
12454 # have to do anything special.
12455 aix_use_runtimelinking
=no
12456 exp_sym_flag
='-Bexport'
12459 # If we're using GNU nm, then we don't want the "-C" option.
12460 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12461 # Also, AIX nm treats weak defined symbols like other global
12462 # defined symbols, whereas GNU nm marks them as "W".
12463 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12464 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'
12466 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'
12468 aix_use_runtimelinking
=no
12470 # Test if we are trying to use run time linking or normal
12471 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12472 # need to do runtime linking.
12473 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12474 for ld_flag
in $LDFLAGS; do
12475 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12476 aix_use_runtimelinking
=yes
12483 exp_sym_flag
='-bexport'
12484 no_entry_flag
='-bnoentry'
12487 # When large executables or shared objects are built, AIX ld can
12488 # have problems creating the table of contents. If linking a library
12489 # or program results in "error TOC overflow" add -mminimal-toc to
12490 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12491 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12494 hardcode_direct
=yes
12495 hardcode_direct_absolute
=yes
12496 hardcode_libdir_separator
=':'
12497 link_all_deplibs
=yes
12498 file_list_spec
='${wl}-f,'
12500 if test "$GCC" = yes; then
12501 case $host_os in aix4.
[012]|aix4.
[012].
*)
12502 # We only want to do this on AIX 4.2 and lower, the check
12503 # below for broken collect2 doesn't work under 4.3+
12504 collect2name
=`${CC} -print-prog-name=collect2`
12505 if test -f "$collect2name" &&
12506 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12508 # We have reworked collect2
12511 # We have old collect2
12512 hardcode_direct
=unsupported
12513 # It fails to find uninstalled libraries when the uninstalled
12514 # path is not listed in the libpath. Setting hardcode_minus_L
12515 # to unsupported forces relinking
12516 hardcode_minus_L
=yes
12517 hardcode_libdir_flag_spec
='-L$libdir'
12518 hardcode_libdir_separator
=
12522 shared_flag
='-shared'
12523 if test "$aix_use_runtimelinking" = yes; then
12524 shared_flag
="$shared_flag "'${wl}-G'
12528 if test "$host_cpu" = ia64
; then
12529 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12530 # chokes on -Wl,-G. The following line is correct:
12533 if test "$aix_use_runtimelinking" = yes; then
12534 shared_flag
='${wl}-G'
12536 shared_flag
='${wl}-bM:SRE'
12541 export_dynamic_flag_spec
='${wl}-bexpall'
12542 # It seems that -bexpall does not export symbols beginning with
12543 # underscore (_), so it is better to generate a list of symbols to export.
12544 always_export_symbols
=yes
12545 if test "$aix_use_runtimelinking" = yes; then
12546 # Warning - without using the other runtime loading flags (-brtl),
12547 # -berok will link without error, but may produce a broken library.
12548 allow_undefined_flag
='-berok'
12549 # Determine the default libpath from the value encoded in an
12550 # empty executable.
12551 if test x
$gcc_no_link = xyes
; then
12552 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12565 if ac_fn_c_try_link
"$LINENO"; then :
12567 lt_aix_libpath_sed
='
12568 /Import File Strings/,/^$/ {
12574 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12575 # Check for a 64-bit object if we didn't find anything.
12576 if test -z "$aix_libpath"; then
12577 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12580 rm -f core conftest.err conftest.
$ac_objext \
12581 conftest
$ac_exeext conftest.
$ac_ext
12582 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12584 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12585 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"
12587 if test "$host_cpu" = ia64
; then
12588 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
12589 allow_undefined_flag
="-z nodefs"
12590 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"
12592 # Determine the default libpath from the value encoded in an
12593 # empty executable.
12594 if test x
$gcc_no_link = xyes
; then
12595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12608 if ac_fn_c_try_link
"$LINENO"; then :
12610 lt_aix_libpath_sed
='
12611 /Import File Strings/,/^$/ {
12617 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12618 # Check for a 64-bit object if we didn't find anything.
12619 if test -z "$aix_libpath"; then
12620 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12623 rm -f core conftest.err conftest.
$ac_objext \
12624 conftest
$ac_exeext conftest.
$ac_ext
12625 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12627 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12628 # Warning - without using the other run time loading flags,
12629 # -berok will link without error, but may produce a broken library.
12630 no_undefined_flag
=' ${wl}-bernotok'
12631 allow_undefined_flag
=' ${wl}-berok'
12632 if test "$with_gnu_ld" = yes; then
12633 # We only use this code for GNU lds that support --whole-archive.
12634 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12636 # Exported symbols can be pulled into shared objects from archives
12637 whole_archive_flag_spec
='$convenience'
12639 archive_cmds_need_lc
=yes
12640 # This is similar to how AIX traditionally builds its shared libraries.
12641 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'
12649 # see comment about AmigaOS4 .so support
12650 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12651 archive_expsym_cmds
=''
12654 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)'
12655 hardcode_libdir_flag_spec
='-L$libdir'
12656 hardcode_minus_L
=yes
12662 export_dynamic_flag_spec
=-rdynamic
12665 cygwin
* | mingw
* | pw32
* | cegcc
*)
12666 # When not using gcc, we currently assume that we are using
12667 # Microsoft Visual C++.
12668 # hardcode_libdir_flag_spec is actually meaningless, as there is
12669 # no search path for DLLs.
12670 hardcode_libdir_flag_spec
=' '
12671 allow_undefined_flag
=unsupported
12672 # Tell ltmain to make .lib files, not .a files.
12674 # Tell ltmain to make .dll files, not .so files.
12676 # FIXME: Setting linknames here is a bad hack.
12677 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12678 # The linker will automatically build a .lib file if we build a DLL.
12679 old_archive_from_new_cmds
='true'
12680 # FIXME: Should let the user specify the lib program.
12681 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12682 fix_srcfile_path
='`cygpath -w "$srcfile"`'
12683 enable_shared_with_static_runtimes
=yes
12686 darwin
* | rhapsody
*)
12690 # Publish an arg to allow the user to select that Darwin host (and target)
12691 # libraries should be given install-names like @rpath/libfoo.dylib. This
12692 # requires that the user of the library then adds an 'rpath' to the DSO that
12694 # NOTE: there are defaults below, for systems that support rpaths. The person
12695 # configuring can override the defaults for any system version that supports
12696 # them - they are, however, forced off for system versions without support.
12697 # Check whether --enable-darwin-at-rpath was given.
12698 if test "${enable_darwin_at_rpath+set}" = set; then :
12699 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
12700 # This is not supported before macOS 10.5 / Darwin9.
12701 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
12702 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
12704 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
12705 enable_darwin_at_rpath
=no
12710 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
12711 # As above, before 10.5 / Darwin9 this does not work.
12712 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
12713 enable_darwin_at_rpath
=no
12716 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
12717 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
12718 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
12719 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
12721 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
12722 enable_darwin_at_rpath
=yes
12724 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
12725 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
12732 archive_cmds_need_lc
=no
12734 hardcode_automatic
=yes
12735 hardcode_shlibpath_var
=unsupported
12736 if test "$lt_cv_ld_force_load" = "yes"; then
12737 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\"`'
12739 whole_archive_flag_spec
=''
12741 link_all_deplibs
=yes
12742 allow_undefined_flag
="$_lt_dar_allow_undefined"
12743 case $cc_basename in
12744 ifort
*) _lt_dar_can_shared
=yes ;;
12745 *) _lt_dar_can_shared
=$GCC ;;
12747 if test "$_lt_dar_can_shared" = "yes"; then
12748 output_verbose_link_cmd
=func_echo_all
12749 _lt_install_name
='\$rpath/\$soname'
12750 if test "x$enable_darwin_at_rpath" = "xyes"; then
12751 _lt_install_name
='@rpath/\$soname'
12753 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
12754 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12755 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
12756 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}"
12765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12766 hardcode_libdir_flag_spec
='-L$libdir'
12767 hardcode_shlibpath_var
=no
12770 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12771 # support. Future versions do this automatically, but an explicit c++rt0.o
12772 # does not break anything, and helps significantly (at the cost of a little
12775 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12776 hardcode_libdir_flag_spec
='-R$libdir'
12777 hardcode_direct
=yes
12778 hardcode_shlibpath_var
=no
12781 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12783 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12784 hardcode_direct
=yes
12785 hardcode_minus_L
=yes
12786 hardcode_shlibpath_var
=no
12789 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12790 freebsd
* | dragonfly
*)
12791 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12792 hardcode_libdir_flag_spec
='-R$libdir'
12793 hardcode_direct
=yes
12794 hardcode_shlibpath_var
=no
12798 if test "$GCC" = yes; then
12799 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'
12801 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'
12803 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12804 hardcode_libdir_separator
=:
12805 hardcode_direct
=yes
12807 # hardcode_minus_L: Not really in the search PATH,
12808 # but as the default location of the library.
12809 hardcode_minus_L
=yes
12810 export_dynamic_flag_spec
='${wl}-E'
12814 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12815 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12817 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12819 if test "$with_gnu_ld" = no
; then
12820 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12821 hardcode_libdir_flag_spec_ld
='+b $libdir'
12822 hardcode_libdir_separator
=:
12823 hardcode_direct
=yes
12824 hardcode_direct_absolute
=yes
12825 export_dynamic_flag_spec
='${wl}-E'
12826 # hardcode_minus_L: Not really in the search PATH,
12827 # but as the default location of the library.
12828 hardcode_minus_L
=yes
12833 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12836 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12839 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12842 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12848 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12851 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12855 # Older versions of the 11.00 compiler do not understand -b yet
12856 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12858 $as_echo_n "checking if $CC understands -b... " >&6; }
12859 if ${lt_cv_prog_compiler__b+:} false
; then :
12860 $as_echo_n "(cached) " >&6
12862 lt_cv_prog_compiler__b
=no
12863 save_LDFLAGS
="$LDFLAGS"
12864 LDFLAGS
="$LDFLAGS -b"
12865 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12866 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12867 # The linker can only warn and ignore the option if not recognized
12868 # So say no if there are warnings
12869 if test -s conftest.err
; then
12870 # Append any errors to the config.log.
12871 cat conftest.err
1>&5
12872 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12873 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12874 if diff conftest.exp conftest.er2
>/dev
/null
; then
12875 lt_cv_prog_compiler__b
=yes
12878 lt_cv_prog_compiler__b
=yes
12882 LDFLAGS
="$save_LDFLAGS"
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12886 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12888 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
12889 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12891 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12897 if test "$with_gnu_ld" = no
; then
12898 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12899 hardcode_libdir_separator
=:
12904 hardcode_shlibpath_var
=no
12907 hardcode_direct
=yes
12908 hardcode_direct_absolute
=yes
12909 export_dynamic_flag_spec
='${wl}-E'
12911 # hardcode_minus_L: Not really in the search PATH,
12912 # but as the default location of the library.
12913 hardcode_minus_L
=yes
12919 irix5
* | irix6
* | nonstopux
*)
12920 if test "$GCC" = yes; then
12921 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'
12922 # Try to use the -exported_symbol ld option, if it does not
12923 # work, assume that -exports_file does not work either and
12924 # implicitly export all symbols.
12925 save_LDFLAGS
="$LDFLAGS"
12926 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12927 if test x
$gcc_no_link = xyes
; then
12928 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12934 if ac_fn_c_try_link
"$LINENO"; then :
12935 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'
12938 rm -f core conftest.err conftest.
$ac_objext \
12939 conftest
$ac_exeext conftest.
$ac_ext
12940 LDFLAGS
="$save_LDFLAGS"
12942 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'
12943 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'
12945 archive_cmds_need_lc
='no'
12946 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12947 hardcode_libdir_separator
=:
12949 link_all_deplibs
=yes
12953 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12954 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12956 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12958 hardcode_libdir_flag_spec
='-R$libdir'
12959 hardcode_direct
=yes
12960 hardcode_shlibpath_var
=no
12964 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12965 hardcode_direct
=yes
12966 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12967 hardcode_libdir_separator
=:
12968 hardcode_shlibpath_var
=no
12975 if test -f /usr
/libexec
/ld.so
; then
12976 hardcode_direct
=yes
12977 hardcode_shlibpath_var
=no
12978 hardcode_direct_absolute
=yes
12979 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12980 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12981 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12982 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12983 export_dynamic_flag_spec
='${wl}-E'
12986 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12987 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12988 hardcode_libdir_flag_spec
='-R$libdir'
12991 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12992 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
13002 hardcode_libdir_flag_spec
='-L$libdir'
13003 hardcode_minus_L
=yes
13004 allow_undefined_flag
=unsupported
13005 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'
13006 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13010 if test "$GCC" = yes; then
13011 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
13012 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'
13014 allow_undefined_flag
=' -expect_unresolved \*'
13015 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'
13017 archive_cmds_need_lc
='no'
13018 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator
=:
13022 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13023 if test "$GCC" = yes; then
13024 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
13025 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'
13026 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
13028 allow_undefined_flag
=' -expect_unresolved \*'
13029 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'
13030 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~
13031 $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'
13033 # Both c and cxx compiler support -rpath directly
13034 hardcode_libdir_flag_spec
='-rpath $libdir'
13036 archive_cmds_need_lc
='no'
13037 hardcode_libdir_separator
=:
13041 no_undefined_flag
=' -z defs'
13042 if test "$GCC" = yes; then
13044 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13045 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13046 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13048 case `$CC -V 2>&1` in
13051 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13052 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13057 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13058 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13059 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13063 hardcode_libdir_flag_spec
='-R$libdir'
13064 hardcode_shlibpath_var
=no
13066 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13068 # The compiler driver will combine and reorder linker options,
13069 # but understands `-z linker_flag'. GCC discards it without `$wl',
13070 # but is careful enough not to reorder.
13071 # Supported since Solaris 2.6 (maybe 2.5.1?)
13072 if test "$GCC" = yes; then
13073 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13075 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
13079 link_all_deplibs
=yes
13083 if test "x$host_vendor" = xsequent
; then
13084 # Use $CC to link under sequent, because it throws in some extra .o
13085 # files that make .init and .fini sections work.
13086 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13088 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13090 hardcode_libdir_flag_spec
='-L$libdir'
13091 hardcode_direct
=yes
13092 hardcode_minus_L
=yes
13093 hardcode_shlibpath_var
=no
13097 case $host_vendor in
13099 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13100 hardcode_direct
=yes # is this really true???
13103 ## LD is ld it makes a PLAMLIB
13104 ## CC just makes a GrossModule.
13105 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13106 reload_cmds
='$CC -r -o $output$reload_objs'
13110 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13111 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
13114 runpath_var
='LD_RUN_PATH'
13115 hardcode_shlibpath_var
=no
13119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13120 hardcode_shlibpath_var
=no
13121 export_dynamic_flag_spec
='-Bexport'
13125 if test -d /usr
/nec
; then
13126 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13127 hardcode_shlibpath_var
=no
13128 runpath_var
=LD_RUN_PATH
13129 hardcode_runpath_var
=yes
13134 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13135 no_undefined_flag
='${wl}-z,text'
13136 archive_cmds_need_lc
=no
13137 hardcode_shlibpath_var
=no
13138 runpath_var
='LD_RUN_PATH'
13140 if test "$GCC" = yes; then
13141 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13145 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 sysv5
* | sco3.2v5
* | sco5v6
*)
13150 # Note: We can NOT use -z defs as we might desire, because we do not
13151 # link with -lc, and that would cause any symbols used from libc to
13152 # always be unresolved, which means just about no library would
13153 # ever link correctly. If we're not using GNU ld we use -z text
13154 # though, which does catch some bad symbols but isn't as heavy-handed
13156 no_undefined_flag
='${wl}-z,text'
13157 allow_undefined_flag
='${wl}-z,nodefs'
13158 archive_cmds_need_lc
=no
13159 hardcode_shlibpath_var
=no
13160 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
13161 hardcode_libdir_separator
=':'
13162 link_all_deplibs
=yes
13163 export_dynamic_flag_spec
='${wl}-Bexport'
13164 runpath_var
='LD_RUN_PATH'
13166 if test "$GCC" = yes; then
13167 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13170 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13171 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13176 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13177 hardcode_libdir_flag_spec
='-L$libdir'
13178 hardcode_shlibpath_var
=no
13186 if test x
$host_vendor = xsni
; then
13188 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13189 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13196 $as_echo "$ld_shlibs" >&6; }
13197 test "$ld_shlibs" = no
&& can_build_shared
=no
13199 with_gnu_ld
=$with_gnu_ld
13216 # Do we need to explicitly link libc?
13218 case "x$archive_cmds_need_lc" in
13220 # Assume -lc should be added
13221 archive_cmds_need_lc
=yes
13223 if test "$enable_shared" = yes && test "$GCC" = yes; then
13224 case $archive_cmds in
13226 # FIXME: we may have to deal with multi-command sequences.
13229 # Test whether the compiler implicitly links with -lc since on some
13230 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13231 # to ld, don't add -lc before -lgcc.
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13233 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13234 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13235 $as_echo_n "(cached) " >&6
13238 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13241 (eval $ac_compile) 2>&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13244 test $ac_status = 0; } 2>conftest.err
; then
13247 libobjs
=conftest.
$ac_objext
13249 wl
=$lt_prog_compiler_wl
13250 pic_flag
=$lt_prog_compiler_pic
13256 lt_save_allow_undefined_flag
=$allow_undefined_flag
13257 allow_undefined_flag
=
13258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13259 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13262 test $ac_status = 0; }
13264 lt_cv_archive_cmds_need_lc
=no
13266 lt_cv_archive_cmds_need_lc
=yes
13268 allow_undefined_flag
=$lt_save_allow_undefined_flag
13270 cat conftest.err
1>&5
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13276 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13277 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13441 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13443 if test "$GCC" = yes; then
13445 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
13446 *) lt_awk_arg
="/^libraries:/" ;;
13449 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
13450 *) lt_sed_strip_eq
="s,=/,/,g" ;;
13452 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13453 case $lt_search_path_spec in
13455 # if the path contains ";" then we assume it to be the separator
13456 # otherwise default to the standard path separator (i.e. ":") - it is
13457 # assumed that no part of a normal pathname contains ";" but that should
13458 # okay in the real world where ";" in dirpaths is itself problematic.
13459 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13462 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13465 # Ok, now we have the path, separated by spaces, we can step through it
13466 # and add multilib dir if necessary.
13467 lt_tmp_lt_search_path_spec
=
13468 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13469 for lt_sys_path
in $lt_search_path_spec; do
13470 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13471 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13473 test -d "$lt_sys_path" && \
13474 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13477 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13478 BEGIN {RS=" "; FS="/|\n";} {
13481 for (lt_i = NF; lt_i > 0; lt_i--) {
13482 if ($lt_i != "" && $lt_i != ".") {
13483 if ($lt_i == "..") {
13486 if (lt_count == 0) {
13487 lt_foo="/" $lt_i lt_foo;
13494 if (lt_foo != "") { lt_freq[lt_foo]++; }
13495 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13497 # AWK program above erroneously prepends '/' to C:/dos/paths
13500 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13501 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13503 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13505 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13507 library_names_spec
=
13508 libname_spec
='lib$name'
13512 postuninstall_cmds
=
13516 shlibpath_overrides_runpath
=unknown
13518 dynamic_linker
="$host_os ld.so"
13519 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13520 need_lib_prefix
=unknown
13521 hardcode_into_libs
=no
13523 # when you set need_version to no, make sure it does not cause -set_version
13524 # flags to be left without arguments
13525 need_version
=unknown
13530 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13531 shlibpath_var
=LIBPATH
13533 # AIX 3 has no versioning support, so we append a major version to the name.
13534 soname_spec
='${libname}${release}${shared_ext}$major'
13541 hardcode_into_libs
=yes
13542 if test "$host_cpu" = ia64
; then
13543 # AIX 5 supports IA64
13544 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13545 shlibpath_var
=LD_LIBRARY_PATH
13547 # With GCC up to 2.95.x, collect2 would create an import file
13548 # for dependence libraries. The import file would start with
13549 # the line `#! .'. This would cause the generated library to
13550 # depend on `.', always an invalid library. This was fixed in
13551 # development snapshots of GCC prior to 3.0.
13553 aix4 | aix4.
[01] | aix4.
[01].
*)
13554 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13556 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13559 can_build_shared
=no
13563 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13564 # soname into executable. Probably we can add versioning support to
13565 # collect2, so additional links can be useful in future.
13566 if test "$aix_use_runtimelinking" = yes; then
13567 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13568 # instead of lib<name>.a to let people know that these are not
13569 # typical AIX shared libraries.
13570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13572 # We preserve .a as extension for shared libraries through AIX4.2
13573 # and later when we are not doing run time linking.
13574 library_names_spec
='${libname}${release}.a $libname.a'
13575 soname_spec
='${libname}${release}${shared_ext}$major'
13577 shlibpath_var
=LIBPATH
13584 # Since July 2007 AmigaOS4 officially supports .so libraries.
13585 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13589 library_names_spec
='$libname.ixlibrary $libname.a'
13590 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13591 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'
13597 library_names_spec
='${libname}${shared_ext}'
13598 dynamic_linker
="$host_os ld.so"
13599 shlibpath_var
=LIBRARY_PATH
13605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13606 soname_spec
='${libname}${release}${shared_ext}$major'
13607 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13608 shlibpath_var
=LD_LIBRARY_PATH
13609 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13610 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13611 # the default ld.so.conf also contains /usr/contrib/lib and
13612 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13613 # libtool to hard-code these into programs
13616 cygwin
* | mingw
* | pw32
* | cegcc
*)
13617 version_type
=windows
13622 case $GCC,$host_os in
13623 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13624 library_names_spec
='$libname.dll.a'
13625 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13626 postinstall_cmds
='base_file=`basename \${file}`~
13627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13628 dldir=$destdir/`dirname \$dlpath`~
13629 test -d \$dldir || mkdir -p \$dldir~
13630 $install_prog $dir/$dlname \$dldir/$dlname~
13631 chmod a+x \$dldir/$dlname~
13632 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13633 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13635 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13636 dlpath=$dir/\$dldll~
13638 shlibpath_overrides_runpath
=yes
13642 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13643 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13645 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13648 # MinGW DLLs use traditional 'lib' prefix
13649 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13652 # pw32 DLLs use 'pw' prefix rather than 'lib'
13653 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13659 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13662 dynamic_linker
='Win32 ld.exe'
13663 # FIXME: first we should search . and the directory the executable is in
13667 darwin
* | rhapsody
*)
13668 dynamic_linker
="$host_os dyld"
13669 version_type
=darwin
13672 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13673 soname_spec
='${libname}${release}${major}$shared_ext'
13674 shlibpath_overrides_runpath
=yes
13675 shlibpath_var
=DYLD_LIBRARY_PATH
13676 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13678 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13679 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13687 soname_spec
='${libname}${release}${shared_ext}$major'
13688 shlibpath_var
=LD_LIBRARY_PATH
13691 freebsd
* | dragonfly
*)
13692 # DragonFly does not have aout. When/if they implement a new
13693 # versioning mechanism, adjust this.
13694 if test -x /usr
/bin
/objformat
; then
13695 objformat
=`/usr/bin/objformat`
13698 freebsd
[23].
*) objformat
=aout
;;
13699 *) objformat
=elf
;;
13702 version_type
=freebsd-
$objformat
13703 case $version_type in
13705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13710 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13714 shlibpath_var
=LD_LIBRARY_PATH
13717 shlibpath_overrides_runpath
=yes
13719 freebsd3.
[01]* | freebsdelf3.
[01]*)
13720 shlibpath_overrides_runpath
=yes
13721 hardcode_into_libs
=yes
13723 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13724 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13725 shlibpath_overrides_runpath
=no
13726 hardcode_into_libs
=yes
13728 *) # from 4.6 on, and DragonFly
13729 shlibpath_overrides_runpath
=yes
13730 hardcode_into_libs
=yes
13739 dynamic_linker
="$host_os runtime_loader"
13740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13741 soname_spec
='${libname}${release}${shared_ext}$major'
13742 shlibpath_var
=LIBRARY_PATH
13743 shlibpath_overrides_runpath
=yes
13744 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13745 hardcode_into_libs
=yes
13748 hpux9
* | hpux10
* | hpux11
*)
13749 # Give a soname corresponding to the major version so that dld.sl refuses to
13750 # link against other versions.
13757 hardcode_into_libs
=yes
13758 dynamic_linker
="$host_os dld.so"
13759 shlibpath_var
=LD_LIBRARY_PATH
13760 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13762 soname_spec
='${libname}${release}${shared_ext}$major'
13763 if test "X$HPUX_IA64_MODE" = X32
; then
13764 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13766 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13768 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13772 hardcode_into_libs
=yes
13773 dynamic_linker
="$host_os dld.sl"
13774 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13775 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13777 soname_spec
='${libname}${release}${shared_ext}$major'
13778 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13779 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13783 dynamic_linker
="$host_os dld.sl"
13784 shlibpath_var
=SHLIB_PATH
13785 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13787 soname_spec
='${libname}${release}${shared_ext}$major'
13790 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13791 postinstall_cmds
='chmod 555 $lib'
13792 # or fails outright, so override atomically:
13793 install_override_mode
=555
13800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13801 soname_spec
='${libname}${release}${shared_ext}$major'
13802 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13803 shlibpath_var
=LD_LIBRARY_PATH
13804 shlibpath_overrides_runpath
=no
13805 hardcode_into_libs
=yes
13808 irix5
* | irix6
* | nonstopux
*)
13810 nonstopux
*) version_type
=nonstopux
;;
13812 if test "$lt_cv_prog_gnu_ld" = yes; then
13820 soname_spec
='${libname}${release}${shared_ext}$major'
13821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13823 irix5
* | nonstopux
*)
13824 libsuff
= shlibsuff
=
13827 case $LD in # libtool.m4 will add one of these switches to LD
13828 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13829 libsuff
= shlibsuff
= libmagic
=32-bit;;
13830 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13831 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13832 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13833 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13834 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13838 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13839 shlibpath_overrides_runpath
=no
13840 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13841 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13842 hardcode_into_libs
=yes
13845 # No shared lib support for Linux oldld, aout, or coff.
13846 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13850 # This must be Linux ELF.
13852 # uclinux* changes (here and below) have been submitted to the libtool
13853 # project, but have not yet been accepted: they are GCC-local changes
13854 # for the time being. (See
13855 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
13856 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
13860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13861 soname_spec
='${libname}${release}${shared_ext}$major'
13862 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13863 shlibpath_var
=LD_LIBRARY_PATH
13864 shlibpath_overrides_runpath
=no
13866 # Some binutils ld are patched to set DT_RUNPATH
13867 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13868 $as_echo_n "(cached) " >&6
13870 lt_cv_shlibpath_overrides_runpath
=no
13871 save_LDFLAGS
=$LDFLAGS
13872 save_libdir
=$libdir
13873 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13874 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13875 if test x
$gcc_no_link = xyes
; then
13876 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13889 if ac_fn_c_try_link
"$LINENO"; then :
13890 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13891 lt_cv_shlibpath_overrides_runpath
=yes
13894 rm -f core conftest.err conftest.
$ac_objext \
13895 conftest
$ac_exeext conftest.
$ac_ext
13896 LDFLAGS
=$save_LDFLAGS
13897 libdir
=$save_libdir
13901 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13903 # This implies no fast_install, which is unacceptable.
13904 # Some rework will be needed to allow for fast_install
13905 # before this can be enabled.
13906 hardcode_into_libs
=yes
13908 # Append ld.so.conf contents to the search path
13909 if test -f /etc
/ld.so.conf
; then
13910 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' ' '`
13911 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13914 # We used to test for /lib/ld.so.1 and disable shared libraries on
13915 # powerpc, because MkLinux only supported shared libraries with the
13916 # GNU dynamic linker. Since this was broken with cross compilers,
13917 # most powerpc-linux boxes support dynamic linking these days and
13918 # people can always --disable-shared, the test was removed, and we
13919 # assume the GNU/Linux dynamic linker is in use.
13920 dynamic_linker
='GNU/Linux ld.so'
13927 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13929 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13930 dynamic_linker
='NetBSD (a.out) ld.so'
13932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13933 soname_spec
='${libname}${release}${shared_ext}$major'
13934 dynamic_linker
='NetBSD ld.elf_so'
13936 shlibpath_var
=LD_LIBRARY_PATH
13937 shlibpath_overrides_runpath
=yes
13938 hardcode_into_libs
=yes
13943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13944 shlibpath_var
=LD_LIBRARY_PATH
13945 shlibpath_overrides_runpath
=yes
13952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13953 soname_spec
='${libname}${release}${shared_ext}$major'
13954 shlibpath_var
=LD_LIBRARY_PATH
13955 shlibpath_overrides_runpath
=no
13956 hardcode_into_libs
=yes
13957 dynamic_linker
='ldqnx.so'
13962 sys_lib_dlsearch_path_spec
="/usr/lib"
13964 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13966 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13967 *) need_version
=no
;;
13969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13970 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13971 shlibpath_var
=LD_LIBRARY_PATH
13972 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13974 openbsd2.
[89] | openbsd2.
[89].
*)
13975 shlibpath_overrides_runpath
=no
13978 shlibpath_overrides_runpath
=yes
13982 shlibpath_overrides_runpath
=yes
13987 libname_spec
='$name'
13990 library_names_spec
='$libname${shared_ext} $libname.a'
13991 dynamic_linker
='OS/2 ld.exe'
13992 shlibpath_var
=LIBPATH
13995 osf3
* | osf4
* | osf5
*)
13999 soname_spec
='${libname}${release}${shared_ext}$major'
14000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14001 shlibpath_var
=LD_LIBRARY_PATH
14002 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14003 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14015 soname_spec
='${libname}${release}${shared_ext}$major'
14016 shlibpath_var
=LD_LIBRARY_PATH
14017 shlibpath_overrides_runpath
=yes
14018 hardcode_into_libs
=yes
14019 # ldd complains unless libraries are executable
14020 postinstall_cmds
='chmod +x $lib'
14025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14026 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14027 shlibpath_var
=LD_LIBRARY_PATH
14028 shlibpath_overrides_runpath
=yes
14029 if test "$with_gnu_ld" = yes; then
14037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14038 soname_spec
='${libname}${release}${shared_ext}$major'
14039 shlibpath_var
=LD_LIBRARY_PATH
14040 case $host_vendor in
14042 shlibpath_overrides_runpath
=no
14044 runpath_var
=LD_RUN_PATH
14052 shlibpath_overrides_runpath
=no
14053 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14059 if test -d /usr
/nec
;then
14061 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14062 soname_spec
='$libname${shared_ext}.$major'
14063 shlibpath_var
=LD_LIBRARY_PATH
14067 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14068 version_type
=freebsd-elf
14071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14072 soname_spec
='${libname}${release}${shared_ext}$major'
14073 shlibpath_var
=LD_LIBRARY_PATH
14074 shlibpath_overrides_runpath
=yes
14075 hardcode_into_libs
=yes
14076 if test "$with_gnu_ld" = yes; then
14077 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14079 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14082 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14086 sys_lib_dlsearch_path_spec
='/usr/lib'
14090 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14095 shlibpath_var
=LD_LIBRARY_PATH
14096 shlibpath_overrides_runpath
=no
14097 hardcode_into_libs
=yes
14102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14103 soname_spec
='${libname}${release}${shared_ext}$major'
14104 shlibpath_var
=LD_LIBRARY_PATH
14107 # Shared libraries for VwWorks, >= 7 only at this stage
14108 # and (fpic) still incompatible with "large" code models
14109 # in a few configurations. Only for RTP mode in any case,
14110 # and upon explicit request at configure time.
14113 case ${with_multisubdir}-${enable_shared} in
14120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14121 soname_spec
='${libname}${release}${shared_ext}$major'
14122 dynamic_linker
="$host_os module_loader"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14131 $as_echo "$dynamic_linker" >&6; }
14132 test "$dynamic_linker" = no
&& can_build_shared
=no
14134 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14135 if test "$GCC" = yes; then
14136 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14139 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14140 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14142 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14143 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14238 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14240 if test -n "$hardcode_libdir_flag_spec" ||
14241 test -n "$runpath_var" ||
14242 test "X$hardcode_automatic" = "Xyes" ; then
14244 # We can hardcode non-existent directories.
14245 if test "$hardcode_direct" != no
&&
14246 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14247 # have to relink, otherwise we might link with an installed library
14248 # when we should be linking with a yet-to-be-installed one
14249 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14250 test "$hardcode_minus_L" != no
; then
14251 # Linking always hardcodes the temporary library directory.
14252 hardcode_action
=relink
14254 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14255 hardcode_action
=immediate
14258 # We cannot hardcode anything, or else we can only hardcode existing
14260 hardcode_action
=unsupported
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14263 $as_echo "$hardcode_action" >&6; }
14265 if test "$hardcode_action" = relink ||
14266 test "$inherit_rpath" = yes; then
14267 # Fast installation is not supported
14268 enable_fast_install
=no
14269 elif test "$shlibpath_overrides_runpath" = yes ||
14270 test "$enable_shared" = no
; then
14271 # Fast installation is not necessary
14272 enable_fast_install
=needless
14280 if test "x$enable_dlopen" != xyes
; then
14281 enable_dlopen
=unknown
14282 enable_dlopen_self
=unknown
14283 enable_dlopen_self_static
=unknown
14290 lt_cv_dlopen
="load_add_on"
14292 lt_cv_dlopen_self
=yes
14295 mingw
* | pw32
* | cegcc
*)
14296 lt_cv_dlopen
="LoadLibrary"
14301 lt_cv_dlopen
="dlopen"
14306 # if libdl is installed we need to link against it
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14308 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14309 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14310 $as_echo_n "(cached) " >&6
14312 ac_check_lib_save_LIBS
=$LIBS
14314 if test x
$gcc_no_link = xyes
; then
14315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14320 /* Override any GCC internal prototype to avoid an error.
14321 Use char because int might match the return type of a GCC
14322 builtin and then its argument prototype would still apply. */
14335 if ac_fn_c_try_link
"$LINENO"; then :
14336 ac_cv_lib_dl_dlopen
=yes
14338 ac_cv_lib_dl_dlopen
=no
14340 rm -f core conftest.err conftest.
$ac_objext \
14341 conftest
$ac_exeext conftest.
$ac_ext
14342 LIBS
=$ac_check_lib_save_LIBS
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14345 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14346 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14347 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14350 lt_cv_dlopen
="dyld"
14352 lt_cv_dlopen_self
=yes
14359 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14360 if test "x$ac_cv_func_shl_load" = xyes
; then :
14361 lt_cv_dlopen
="shl_load"
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14364 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14365 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14366 $as_echo_n "(cached) " >&6
14368 ac_check_lib_save_LIBS
=$LIBS
14370 if test x
$gcc_no_link = xyes
; then
14371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14386 return shl_load ();
14391 if ac_fn_c_try_link
"$LINENO"; then :
14392 ac_cv_lib_dld_shl_load
=yes
14394 ac_cv_lib_dld_shl_load
=no
14396 rm -f core conftest.err conftest.
$ac_objext \
14397 conftest
$ac_exeext conftest.
$ac_ext
14398 LIBS
=$ac_check_lib_save_LIBS
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14401 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14402 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14403 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
14405 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14406 if test "x$ac_cv_func_dlopen" = xyes
; then :
14407 lt_cv_dlopen
="dlopen"
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14410 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14411 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14412 $as_echo_n "(cached) " >&6
14414 ac_check_lib_save_LIBS
=$LIBS
14416 if test x
$gcc_no_link = xyes
; then
14417 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14422 /* Override any GCC internal prototype to avoid an error.
14423 Use char because int might match the return type of a GCC
14424 builtin and then its argument prototype would still apply. */
14437 if ac_fn_c_try_link
"$LINENO"; then :
14438 ac_cv_lib_dl_dlopen
=yes
14440 ac_cv_lib_dl_dlopen
=no
14442 rm -f core conftest.err conftest.
$ac_objext \
14443 conftest
$ac_exeext conftest.
$ac_ext
14444 LIBS
=$ac_check_lib_save_LIBS
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14447 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14448 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14449 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14452 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14453 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14454 $as_echo_n "(cached) " >&6
14456 ac_check_lib_save_LIBS
=$LIBS
14457 LIBS
="-lsvld $LIBS"
14458 if test x
$gcc_no_link = xyes
; then
14459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14464 /* Override any GCC internal prototype to avoid an error.
14465 Use char because int might match the return type of a GCC
14466 builtin and then its argument prototype would still apply. */
14479 if ac_fn_c_try_link
"$LINENO"; then :
14480 ac_cv_lib_svld_dlopen
=yes
14482 ac_cv_lib_svld_dlopen
=no
14484 rm -f core conftest.err conftest.
$ac_objext \
14485 conftest
$ac_exeext conftest.
$ac_ext
14486 LIBS
=$ac_check_lib_save_LIBS
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14489 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14490 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14491 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14494 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14495 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14496 $as_echo_n "(cached) " >&6
14498 ac_check_lib_save_LIBS
=$LIBS
14500 if test x
$gcc_no_link = xyes
; then
14501 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14506 /* Override any GCC internal prototype to avoid an error.
14507 Use char because int might match the return type of a GCC
14508 builtin and then its argument prototype would still apply. */
14516 return dld_link ();
14521 if ac_fn_c_try_link
"$LINENO"; then :
14522 ac_cv_lib_dld_dld_link
=yes
14524 ac_cv_lib_dld_dld_link
=no
14526 rm -f core conftest.err conftest.
$ac_objext \
14527 conftest
$ac_exeext conftest.
$ac_ext
14528 LIBS
=$ac_check_lib_save_LIBS
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14531 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14532 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14533 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
14554 if test "x$lt_cv_dlopen" != xno
; then
14560 case $lt_cv_dlopen in
14562 save_CPPFLAGS
="$CPPFLAGS"
14563 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14565 save_LDFLAGS
="$LDFLAGS"
14566 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14569 LIBS
="$lt_cv_dlopen_libs $LIBS"
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14572 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14573 if ${lt_cv_dlopen_self+:} false
; then :
14574 $as_echo_n "(cached) " >&6
14576 if test "$cross_compiling" = yes; then :
14577 lt_cv_dlopen_self
=cross
14579 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14580 lt_status
=$lt_dlunknown
14581 cat > conftest.
$ac_ext <<_LT_EOF
14582 #line 14582 "configure"
14583 #include "confdefs.h"
14592 # define LT_DLGLOBAL RTLD_GLOBAL
14595 # define LT_DLGLOBAL DL_GLOBAL
14597 # define LT_DLGLOBAL 0
14601 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14602 find out it does not work in some platform. */
14603 #ifndef LT_DLLAZY_OR_NOW
14605 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14608 # define LT_DLLAZY_OR_NOW DL_LAZY
14611 # define LT_DLLAZY_OR_NOW RTLD_NOW
14614 # define LT_DLLAZY_OR_NOW DL_NOW
14616 # define LT_DLLAZY_OR_NOW 0
14623 /* When -fvisbility=hidden is used, assume the code has been annotated
14624 correspondingly for the symbols needed. */
14625 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14626 void fnord () __attribute__((visibility("default")));
14629 void fnord () { int i=42; }
14632 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14633 int status = $lt_dlunknown;
14637 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14640 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14641 else puts (dlerror ());
14643 /* dlclose (self); */
14651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14652 (eval $ac_link) 2>&5
14654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14655 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14656 (.
/conftest
; exit; ) >&5 2>/dev
/null
14658 case x
$lt_status in
14659 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14660 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14661 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14664 # compilation failed
14665 lt_cv_dlopen_self
=no
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14673 $as_echo "$lt_cv_dlopen_self" >&6; }
14675 if test "x$lt_cv_dlopen_self" = xyes
; then
14676 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14678 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14679 if ${lt_cv_dlopen_self_static+:} false
; then :
14680 $as_echo_n "(cached) " >&6
14682 if test "$cross_compiling" = yes; then :
14683 lt_cv_dlopen_self_static
=cross
14685 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14686 lt_status
=$lt_dlunknown
14687 cat > conftest.
$ac_ext <<_LT_EOF
14688 #line 14688 "configure"
14689 #include "confdefs.h"
14698 # define LT_DLGLOBAL RTLD_GLOBAL
14701 # define LT_DLGLOBAL DL_GLOBAL
14703 # define LT_DLGLOBAL 0
14707 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14708 find out it does not work in some platform. */
14709 #ifndef LT_DLLAZY_OR_NOW
14711 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14714 # define LT_DLLAZY_OR_NOW DL_LAZY
14717 # define LT_DLLAZY_OR_NOW RTLD_NOW
14720 # define LT_DLLAZY_OR_NOW DL_NOW
14722 # define LT_DLLAZY_OR_NOW 0
14729 /* When -fvisbility=hidden is used, assume the code has been annotated
14730 correspondingly for the symbols needed. */
14731 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14732 void fnord () __attribute__((visibility("default")));
14735 void fnord () { int i=42; }
14738 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14739 int status = $lt_dlunknown;
14743 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14746 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14747 else puts (dlerror ());
14749 /* dlclose (self); */
14757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14758 (eval $ac_link) 2>&5
14760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14761 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14762 (.
/conftest
; exit; ) >&5 2>/dev
/null
14764 case x
$lt_status in
14765 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14766 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14767 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14770 # compilation failed
14771 lt_cv_dlopen_self_static
=no
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14779 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14782 CPPFLAGS
="$save_CPPFLAGS"
14783 LDFLAGS
="$save_LDFLAGS"
14788 case $lt_cv_dlopen_self in
14789 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14790 *) enable_dlopen_self
=unknown
;;
14793 case $lt_cv_dlopen_self_static in
14794 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14795 *) enable_dlopen_self_static
=unknown
;;
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14818 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14819 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
14820 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14821 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14823 $as_echo "yes" >&6; }
14825 # FIXME - insert some real tests, host_os isn't really good enough
14828 if test -n "$STRIP" ; then
14829 striplib
="$STRIP -x"
14830 old_striplib
="$STRIP -S"
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14832 $as_echo "yes" >&6; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14835 $as_echo "no" >&6; }
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14840 $as_echo "no" >&6; }
14856 # Report which library types will actually be built
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14858 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14860 $as_echo "$can_build_shared" >&6; }
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14863 $as_echo_n "checking whether to build shared libraries... " >&6; }
14864 test "$can_build_shared" = "no" && enable_shared
=no
14866 # On AIX, shared libraries and static libraries use the same namespace, and
14867 # are all built from PIC.
14870 test "$enable_shared" = yes && enable_static
=no
14871 if test -n "$RANLIB"; then
14872 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14873 postinstall_cmds
='$RANLIB $lib'
14878 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14879 test "$enable_shared" = yes && enable_static
=no
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14884 $as_echo "$enable_shared" >&6; }
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14887 $as_echo_n "checking whether to build static libraries... " >&6; }
14888 # Make sure either enable_shared or enable_static is yes.
14889 test "$enable_shared" = yes || enable_static
=yes
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14891 $as_echo "$enable_static" >&6; }
14898 ac_cpp
='$CPP $CPPFLAGS'
14899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14905 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14906 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14907 (test "X$CXX" != "Xg++"))) ; then
14909 ac_cpp
='$CXXCPP $CPPFLAGS'
14910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14914 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14915 if test -z "$CXXCPP"; then
14916 if ${ac_cv_prog_CXXCPP+:} false
; then :
14917 $as_echo_n "(cached) " >&6
14919 # Double quotes because CXXCPP needs to be expanded
14920 for CXXCPP
in "$CXX -E" "/lib/cpp"
14922 ac_preproc_ok
=false
14923 for ac_cxx_preproc_warn_flag
in '' yes
14925 # Use a header file that comes with gcc, so configuring glibc
14926 # with a fresh cross-compiler works.
14927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14928 # <limits.h> exists even on freestanding compilers.
14929 # On the NeXT, cc -E runs the code through the compiler's parser,
14930 # not just through cpp. "Syntax error" is here to catch this case.
14931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14932 /* end confdefs.h. */
14934 # include <limits.h>
14936 # include <assert.h>
14940 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14943 # Broken: fails on valid input.
14946 rm -f conftest.err conftest.i conftest.
$ac_ext
14948 # OK, works on sane cases. Now check whether nonexistent headers
14949 # can be detected and how.
14950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #include <ac_nonexistent.h>
14954 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14955 # Broken: success on invalid input.
14958 # Passes both tests.
14962 rm -f conftest.err conftest.i conftest.
$ac_ext
14965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14966 rm -f conftest.i conftest.err conftest.
$ac_ext
14967 if $ac_preproc_ok; then :
14972 ac_cv_prog_CXXCPP
=$CXXCPP
14975 CXXCPP
=$ac_cv_prog_CXXCPP
14977 ac_cv_prog_CXXCPP
=$CXXCPP
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14980 $as_echo "$CXXCPP" >&6; }
14981 ac_preproc_ok
=false
14982 for ac_cxx_preproc_warn_flag
in '' yes
14984 # Use a header file that comes with gcc, so configuring glibc
14985 # with a fresh cross-compiler works.
14986 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14987 # <limits.h> exists even on freestanding compilers.
14988 # On the NeXT, cc -E runs the code through the compiler's parser,
14989 # not just through cpp. "Syntax error" is here to catch this case.
14990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14993 # include <limits.h>
14995 # include <assert.h>
14999 if ac_fn_cxx_try_cpp
"$LINENO"; then :
15002 # Broken: fails on valid input.
15005 rm -f conftest.err conftest.i conftest.
$ac_ext
15007 # OK, works on sane cases. Now check whether nonexistent headers
15008 # can be detected and how.
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 #include <ac_nonexistent.h>
15013 if ac_fn_cxx_try_cpp
"$LINENO"; then :
15014 # Broken: success on invalid input.
15017 # Passes both tests.
15021 rm -f conftest.err conftest.i conftest.
$ac_ext
15024 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15025 rm -f conftest.i conftest.err conftest.
$ac_ext
15026 if $ac_preproc_ok; then :
15029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15031 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
15032 See \`config.log' for more details" "$LINENO" 5; }
15036 ac_cpp
='$CPP $CPPFLAGS'
15037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15042 _lt_caught_CXX_error
=yes
15046 ac_cpp
='$CXXCPP $CPPFLAGS'
15047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15051 archive_cmds_need_lc_CXX
=no
15052 allow_undefined_flag_CXX
=
15053 always_export_symbols_CXX
=no
15054 archive_expsym_cmds_CXX
=
15055 compiler_needs_object_CXX
=no
15056 export_dynamic_flag_spec_CXX
=
15057 hardcode_direct_CXX
=no
15058 hardcode_direct_absolute_CXX
=no
15059 hardcode_libdir_flag_spec_CXX
=
15060 hardcode_libdir_flag_spec_ld_CXX
=
15061 hardcode_libdir_separator_CXX
=
15062 hardcode_minus_L_CXX
=no
15063 hardcode_shlibpath_var_CXX
=unsupported
15064 hardcode_automatic_CXX
=no
15065 inherit_rpath_CXX
=no
15067 module_expsym_cmds_CXX
=
15068 link_all_deplibs_CXX
=unknown
15069 old_archive_cmds_CXX
=$old_archive_cmds
15070 reload_flag_CXX
=$reload_flag
15071 reload_cmds_CXX
=$reload_cmds
15072 no_undefined_flag_CXX
=
15073 whole_archive_flag_spec_CXX
=
15074 enable_shared_with_static_runtimes_CXX
=no
15076 # Source file extension for C++ test sources.
15079 # Object file extension for compiled C++ test sources.
15083 # No sense in running all these tests if we already determined that
15084 # the CXX compiler isn't working. Some variables (like enable_shared)
15085 # are currently assumed to apply to all compilers on this platform,
15086 # and will be corrupted by setting them based on a non-working compiler.
15087 if test "$_lt_caught_CXX_error" != yes; then
15088 # Code to be used in simple compile tests
15089 lt_simple_compile_test_code
="int some_variable = 0;"
15091 # Code to be used in simple link tests
15092 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15094 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15101 # If no C compiler was specified, use CC.
15104 # If no C compiler flags were specified, use CFLAGS.
15105 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15107 # Allow CC to be a program name with arguments.
15111 # save warnings/boilerplate of simple test code
15112 ac_outfile
=conftest.
$ac_objext
15113 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15114 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15115 _lt_compiler_boilerplate
=`cat conftest.err`
15118 ac_outfile
=conftest.
$ac_objext
15119 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15120 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15121 _lt_linker_boilerplate
=`cat conftest.err`
15125 # Allow CC to be a program name with arguments.
15130 lt_save_with_gnu_ld
=$with_gnu_ld
15131 lt_save_path_LD
=$lt_cv_path_LD
15132 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15133 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15135 $as_unset lt_cv_prog_gnu_ld
15137 if test -n "${lt_cv_path_LDCXX+set}"; then
15138 lt_cv_path_LD
=$lt_cv_path_LDCXX
15140 $as_unset lt_cv_path_LD
15142 test -z "${LDCXX+set}" || LD
=$LDCXX
15146 for cc_temp
in $compiler""; do
15148 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15149 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15154 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15157 if test -n "$compiler"; then
15158 # We don't want -fno-exception when compiling C++ code, so set the
15159 # no_builtin_flag separately
15160 if test "$GXX" = yes; then
15161 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15163 lt_prog_compiler_no_builtin_flag_CXX
=
15166 if test "$GXX" = yes; then
15167 # Set up default GNU C++ configuration
15171 # Check whether --with-gnu-ld was given.
15172 if test "${with_gnu_ld+set}" = set; then :
15173 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15179 if test "$GCC" = yes; then
15180 # Check if gcc -print-prog-name=ld gives a path.
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15182 $as_echo_n "checking for ld used by $CC... " >&6; }
15185 # gcc leaves a trailing carriage return which upsets mingw
15186 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15188 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15191 # Accept absolute paths.
15193 re_direlt
='/[^/][^/]*/\.\./'
15194 # Canonicalize the pathname of ld
15195 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15196 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15197 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15199 test -z "$LD" && LD
="$ac_prog"
15202 # If it fails, then pretend we aren't using GCC.
15206 # If it is relative, then search for the first ld in PATH.
15207 with_gnu_ld
=unknown
15210 elif test "$with_gnu_ld" = yes; then
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15212 $as_echo_n "checking for GNU ld... " >&6; }
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15215 $as_echo_n "checking for non-GNU ld... " >&6; }
15217 if ${lt_cv_path_LD+:} false
; then :
15218 $as_echo_n "(cached) " >&6
15220 if test -z "$LD"; then
15221 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15222 for ac_dir
in $PATH; do
15224 test -z "$ac_dir" && ac_dir
=.
15225 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15226 lt_cv_path_LD
="$ac_dir/$ac_prog"
15227 # Check to see if the program is GNU ld. I'd rather use --version,
15228 # but apparently some variants of GNU ld only accept -v.
15229 # Break only if it was the GNU/non-GNU ld that we prefer.
15230 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15231 *GNU
* |
*'with BFD'*)
15232 test "$with_gnu_ld" != no
&& break
15235 test "$with_gnu_ld" != yes && break
15242 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15246 LD
="$lt_cv_path_LD"
15247 if test -n "$LD"; then
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15249 $as_echo "$LD" >&6; }
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15252 $as_echo "no" >&6; }
15254 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15256 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15257 if ${lt_cv_prog_gnu_ld+:} false
; then :
15258 $as_echo_n "(cached) " >&6
15260 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15261 case `$LD -v 2>&1 </dev/null` in
15262 *GNU
* |
*'with BFD'*)
15263 lt_cv_prog_gnu_ld
=yes
15266 lt_cv_prog_gnu_ld
=no
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15271 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15272 with_gnu_ld
=$lt_cv_prog_gnu_ld
15280 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15281 # archiving commands below assume that GNU ld is being used.
15282 if test "$with_gnu_ld" = yes; then
15283 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15284 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'
15286 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15287 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15289 # If archive_cmds runs LD, not CC, wlarc should be empty
15290 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15291 # investigate it a little bit more. (MM)
15294 # ancient GNU ld didn't support --whole-archive et. al.
15295 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15296 $GREP 'no-whole-archive' > /dev
/null
; then
15297 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15299 whole_archive_flag_spec_CXX
=
15305 # A generic and very simple default shared library creation
15306 # command for GNU C++ for the case where it uses the native
15307 # linker, instead of GNU ld. If possible, this setting should
15308 # overridden to take advantage of the native linker features on
15309 # the platform it is being used on.
15310 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15313 # Commands to make compiler produce verbose output that lists
15314 # what "hidden" libraries, object files and flags are used when
15315 # linking a shared library.
15316 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15324 # PORTME: fill in a description of your system's C++ link characteristics
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15326 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15330 # FIXME: insert proper C++ library support
15334 if test "$host_cpu" = ia64
; then
15335 # On IA64, the linker does run time linking by default, so we don't
15336 # have to do anything special.
15337 aix_use_runtimelinking
=no
15338 exp_sym_flag
='-Bexport'
15341 aix_use_runtimelinking
=no
15343 # Test if we are trying to use run time linking or normal
15344 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15345 # need to do runtime linking.
15346 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15347 for ld_flag
in $LDFLAGS; do
15350 aix_use_runtimelinking
=yes
15358 exp_sym_flag
='-bexport'
15359 no_entry_flag
='-bnoentry'
15362 # When large executables or shared objects are built, AIX ld can
15363 # have problems creating the table of contents. If linking a library
15364 # or program results in "error TOC overflow" add -mminimal-toc to
15365 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15366 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15368 archive_cmds_CXX
=''
15369 hardcode_direct_CXX
=yes
15370 hardcode_direct_absolute_CXX
=yes
15371 hardcode_libdir_separator_CXX
=':'
15372 link_all_deplibs_CXX
=yes
15373 file_list_spec_CXX
='${wl}-f,'
15375 if test "$GXX" = yes; then
15376 case $host_os in aix4.
[012]|aix4.
[012].
*)
15377 # We only want to do this on AIX 4.2 and lower, the check
15378 # below for broken collect2 doesn't work under 4.3+
15379 collect2name
=`${CC} -print-prog-name=collect2`
15380 if test -f "$collect2name" &&
15381 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
15383 # We have reworked collect2
15386 # We have old collect2
15387 hardcode_direct_CXX
=unsupported
15388 # It fails to find uninstalled libraries when the uninstalled
15389 # path is not listed in the libpath. Setting hardcode_minus_L
15390 # to unsupported forces relinking
15391 hardcode_minus_L_CXX
=yes
15392 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15393 hardcode_libdir_separator_CXX
=
15396 shared_flag
='-shared'
15397 if test "$aix_use_runtimelinking" = yes; then
15398 shared_flag
="$shared_flag "'${wl}-G'
15402 if test "$host_cpu" = ia64
; then
15403 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15404 # chokes on -Wl,-G. The following line is correct:
15407 if test "$aix_use_runtimelinking" = yes; then
15408 shared_flag
='${wl}-G'
15410 shared_flag
='${wl}-bM:SRE'
15415 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
15416 # It seems that -bexpall does not export symbols beginning with
15417 # underscore (_), so it is better to generate a list of symbols to
15419 always_export_symbols_CXX
=yes
15420 if test "$aix_use_runtimelinking" = yes; then
15421 # Warning - without using the other runtime loading flags (-brtl),
15422 # -berok will link without error, but may produce a broken library.
15423 allow_undefined_flag_CXX
='-berok'
15424 # Determine the default libpath from the value encoded in an empty
15426 if test x
$gcc_no_link = xyes
; then
15427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15440 if ac_fn_cxx_try_link
"$LINENO"; then :
15442 lt_aix_libpath_sed
='
15443 /Import File Strings/,/^$/ {
15449 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15450 # Check for a 64-bit object if we didn't find anything.
15451 if test -z "$aix_libpath"; then
15452 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15455 rm -f core conftest.err conftest.
$ac_objext \
15456 conftest
$ac_exeext conftest.
$ac_ext
15457 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15459 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15461 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"
15463 if test "$host_cpu" = ia64
; then
15464 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
15465 allow_undefined_flag_CXX
="-z nodefs"
15466 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"
15468 # Determine the default libpath from the value encoded in an
15469 # empty executable.
15470 if test x
$gcc_no_link = xyes
; then
15471 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15474 /* end confdefs.h. */
15484 if ac_fn_cxx_try_link
"$LINENO"; then :
15486 lt_aix_libpath_sed
='
15487 /Import File Strings/,/^$/ {
15493 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15494 # Check for a 64-bit object if we didn't find anything.
15495 if test -z "$aix_libpath"; then
15496 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15499 rm -f core conftest.err conftest.
$ac_objext \
15500 conftest
$ac_exeext conftest.
$ac_ext
15501 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15503 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15504 # Warning - without using the other run time loading flags,
15505 # -berok will link without error, but may produce a broken library.
15506 no_undefined_flag_CXX
=' ${wl}-bernotok'
15507 allow_undefined_flag_CXX
=' ${wl}-berok'
15508 if test "$with_gnu_ld" = yes; then
15509 # We only use this code for GNU lds that support --whole-archive.
15510 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15512 # Exported symbols can be pulled into shared objects from archives
15513 whole_archive_flag_spec_CXX
='$convenience'
15515 archive_cmds_need_lc_CXX
=yes
15516 # This is similar to how AIX traditionally builds its shared
15518 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'
15524 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15525 allow_undefined_flag_CXX
=unsupported
15526 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15527 # support --undefined. This deserves some investigation. FIXME
15528 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15535 case $cc_basename in
15537 # FIXME: insert proper C++ library support
15543 cygwin
* | mingw
* | pw32
* | cegcc
*)
15544 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15545 # as there is no search path for DLLs.
15546 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15547 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
15548 allow_undefined_flag_CXX
=unsupported
15549 always_export_symbols_CXX
=no
15550 enable_shared_with_static_runtimes_CXX
=yes
15552 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
15553 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'
15554 # If the export-symbols file already is a .def file (1st line
15555 # is EXPORTS), use it as is; otherwise, prepend...
15556 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15557 cp $export_symbols $output_objdir/$soname.def;
15559 echo EXPORTS > $output_objdir/$soname.def;
15560 cat $export_symbols >> $output_objdir/$soname.def;
15562 $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'
15567 darwin
* | rhapsody
*)
15571 # Publish an arg to allow the user to select that Darwin host (and target)
15572 # libraries should be given install-names like @rpath/libfoo.dylib. This
15573 # requires that the user of the library then adds an 'rpath' to the DSO that
15575 # NOTE: there are defaults below, for systems that support rpaths. The person
15576 # configuring can override the defaults for any system version that supports
15577 # them - they are, however, forced off for system versions without support.
15578 # Check whether --enable-darwin-at-rpath was given.
15579 if test "${enable_darwin_at_rpath+set}" = set; then :
15580 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15581 # This is not supported before macOS 10.5 / Darwin9.
15582 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15583 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15585 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15586 enable_darwin_at_rpath
=no
15591 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15592 # As above, before 10.5 / Darwin9 this does not work.
15593 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15594 enable_darwin_at_rpath
=no
15597 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15598 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15599 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15600 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15602 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15603 enable_darwin_at_rpath
=yes
15605 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15606 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15613 archive_cmds_need_lc_CXX
=no
15614 hardcode_direct_CXX
=no
15615 hardcode_automatic_CXX
=yes
15616 hardcode_shlibpath_var_CXX
=unsupported
15617 if test "$lt_cv_ld_force_load" = "yes"; then
15618 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\"`'
15620 whole_archive_flag_spec_CXX
=''
15622 link_all_deplibs_CXX
=yes
15623 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
15624 case $cc_basename in
15625 ifort
*) _lt_dar_can_shared
=yes ;;
15626 *) _lt_dar_can_shared
=$GCC ;;
15628 if test "$_lt_dar_can_shared" = "yes"; then
15629 output_verbose_link_cmd
=func_echo_all
15630 _lt_install_name
='\$rpath/\$soname'
15631 if test "x$enable_darwin_at_rpath" = "xyes"; then
15632 _lt_install_name
='@rpath/\$soname'
15634 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15635 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15636 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
15637 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}"
15638 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15639 _lt_install_name
='\$rpath/\$soname'
15640 if test "x$enable_darwin_at_rpath" = "xyes"; then
15641 _lt_install_name
='@rpath/\$soname'
15643 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 ${_lt_install_name} \$verstring${_lt_dsymutil}"
15644 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}"
15654 case $cc_basename in
15656 # FIXME: insert proper C++ library support
15660 # Green Hills C++ Compiler
15661 # FIXME: insert proper C++ library support
15665 # FIXME: insert proper C++ library support
15672 # C++ shared libraries reported to be fairly broken before
15678 archive_cmds_need_lc_CXX
=no
15681 freebsd
* | dragonfly
*)
15682 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15691 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15692 link_all_deplibs_CXX
=yes
15696 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15697 hardcode_libdir_separator_CXX
=:
15698 export_dynamic_flag_spec_CXX
='${wl}-E'
15699 hardcode_direct_CXX
=yes
15700 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15701 # but as the default
15702 # location of the library.
15704 case $cc_basename in
15706 # FIXME: insert proper C++ library support
15710 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'
15711 # Commands to make compiler produce verbose output that lists
15712 # what "hidden" libraries, object files and flags are used when
15713 # linking a shared library.
15715 # There doesn't appear to be a way to prevent this compiler from
15716 # explicitly linking system object files so we need to strip them
15717 # from the output so that they don't get included in the library
15719 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"'
15722 if test "$GXX" = yes; then
15723 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'
15725 # FIXME: insert proper C++ library support
15733 if test $with_gnu_ld = no
; then
15734 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15735 hardcode_libdir_separator_CXX
=:
15741 export_dynamic_flag_spec_CXX
='${wl}-E'
15747 hardcode_direct_CXX
=no
15748 hardcode_shlibpath_var_CXX
=no
15751 hardcode_direct_CXX
=yes
15752 hardcode_direct_absolute_CXX
=yes
15753 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15754 # but as the default
15755 # location of the library.
15759 case $cc_basename in
15761 # FIXME: insert proper C++ library support
15767 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15770 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15773 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15776 # Commands to make compiler produce verbose output that lists
15777 # what "hidden" libraries, object files and flags are used when
15778 # linking a shared library.
15780 # There doesn't appear to be a way to prevent this compiler from
15781 # explicitly linking system object files so we need to strip them
15782 # from the output so that they don't get included in the library
15784 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"'
15787 if test "$GXX" = yes; then
15788 if test $with_gnu_ld = no
; then
15791 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15794 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15797 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'
15802 # FIXME: insert proper C++ library support
15810 hardcode_direct_CXX
=no
15811 hardcode_shlibpath_var_CXX
=no
15812 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15813 export_dynamic_flag_spec_CXX
='${wl}-E'
15814 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15815 # Instead, shared libraries are loaded at an image base (0x10000000 by
15816 # default) and relocated if they conflict, which is a slow very memory
15817 # consuming and fragmenting process. To avoid this, we pick a random,
15818 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15819 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15820 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'
15821 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'
15824 case $cc_basename in
15827 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'
15829 # Archives containing C++ object files must be created using
15830 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15831 # necessary to make sure instantiated templates are included
15833 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15836 if test "$GXX" = yes; then
15837 if test "$with_gnu_ld" = no
; then
15838 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'
15840 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'
15843 link_all_deplibs_CXX
=yes
15846 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15847 hardcode_libdir_separator_CXX
=:
15848 inherit_rpath_CXX
=yes
15851 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15852 case $cc_basename in
15854 # Kuck and Associates, Inc. (KAI) C++ Compiler
15856 # KCC will only create a shared library if the output file
15857 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15858 # to its proper name (with version) after linking.
15859 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'
15860 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'
15861 # Commands to make compiler produce verbose output that lists
15862 # what "hidden" libraries, object files and flags are used when
15863 # linking a shared library.
15865 # There doesn't appear to be a way to prevent this compiler from
15866 # explicitly linking system object files so we need to strip them
15867 # from the output so that they don't get included in the library
15869 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"'
15871 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15872 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15874 # Archives containing C++ object files must be created using
15875 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15876 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15881 # version 8.0 and above of icpc choke on multiply defined symbols
15882 # if we add $predep_objects and $postdep_objects, however 7.1 and
15883 # earlier do not add the objects themselves.
15884 case `$CC -V 2>&1` in
15886 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15887 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'
15889 *) # Version 8.0 or newer
15892 ia64
*) tmp_idyn
=' -i_dynamic';;
15894 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15895 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'
15898 archive_cmds_need_lc_CXX
=no
15899 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15900 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15901 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15904 # Portland Group C++ compiler
15906 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
15907 prelink_cmds_CXX
='tpldir=Template.dir~
15909 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15910 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15911 old_archive_cmds_CXX
='tpldir=Template.dir~
15913 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15914 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15916 archive_cmds_CXX
='tpldir=Template.dir~
15918 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15919 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15920 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15922 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15923 $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'
15925 *) # Version 6 and above use weak symbols
15926 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15927 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'
15931 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15932 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15933 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'
15937 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15938 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'
15940 runpath_var
=LD_RUN_PATH
15941 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15942 hardcode_libdir_separator_CXX
=:
15944 # Commands to make compiler produce verbose output that lists
15945 # what "hidden" libraries, object files and flags are used when
15946 # linking a shared library.
15948 # There doesn't appear to be a way to prevent this compiler from
15949 # explicitly linking system object files so we need to strip them
15950 # from the output so that they don't get included in the library
15952 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'
15954 xl
* | mpixl
* | bgxl
*)
15955 # IBM XL 8.0 on PPC, with GNU ld
15956 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15957 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15958 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15959 if test "x$supports_anon_versioning" = xyes
; then
15960 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15961 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15962 echo "local: *; };" >> $output_objdir/$libname.ver~
15963 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15967 case `$CC -V 2>&1 | sed 5q` in
15970 no_undefined_flag_CXX
=' -zdefs'
15971 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15972 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'
15973 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15974 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'
15975 compiler_needs_object_CXX
=yes
15977 # Not sure whether something based on
15978 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15980 output_verbose_link_cmd
='func_echo_all'
15982 # Archives containing C++ object files must be created using
15983 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15984 # necessary to make sure instantiated templates are included
15986 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15994 # FIXME: insert proper C++ library support
15999 # FIXME: insert proper C++ library support
16004 case $cc_basename in
16006 # FIXME: insert proper C++ library support
16010 # FIXME: insert proper C++ library support
16017 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16018 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16020 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16021 hardcode_direct_CXX
=yes
16022 hardcode_shlibpath_var_CXX
=no
16024 # Workaround some broken pre-1.5 toolchains
16025 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16033 # C++ shared libraries are fairly broken
16038 if test -f /usr
/libexec
/ld.so
; then
16039 hardcode_direct_CXX
=yes
16040 hardcode_shlibpath_var_CXX
=no
16041 hardcode_direct_absolute_CXX
=yes
16042 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16043 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
16044 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16045 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16046 export_dynamic_flag_spec_CXX
='${wl}-E'
16047 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16049 output_verbose_link_cmd
=func_echo_all
16055 osf3
* | osf4
* | osf5
*)
16056 case $cc_basename in
16058 # Kuck and Associates, Inc. (KAI) C++ Compiler
16060 # KCC will only create a shared library if the output file
16061 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16062 # to its proper name (with version) after linking.
16063 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'
16065 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
16066 hardcode_libdir_separator_CXX
=:
16068 # Archives containing C++ object files must be created using
16069 # the KAI C++ compiler.
16071 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
16072 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
16076 # Rational C++ 2.4.1
16077 # FIXME: insert proper C++ library support
16083 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16084 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'
16085 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16088 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16089 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'
16090 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16091 echo "-hidden">> $lib.exp~
16092 $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~
16094 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16098 hardcode_libdir_separator_CXX
=:
16100 # Commands to make compiler produce verbose output that lists
16101 # what "hidden" libraries, object files and flags are used when
16102 # linking a shared library.
16104 # There doesn't appear to be a way to prevent this compiler from
16105 # explicitly linking system object files so we need to strip them
16106 # from the output so that they don't get included in the library
16108 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"'
16111 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16112 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16115 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'
16118 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'
16122 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16123 hardcode_libdir_separator_CXX
=:
16125 # Commands to make compiler produce verbose output that lists
16126 # what "hidden" libraries, object files and flags are used when
16127 # linking a shared library.
16128 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16131 # FIXME: insert proper C++ library support
16139 # FIXME: insert proper C++ library support
16144 case $cc_basename in
16147 # FIXME: insert proper C++ library support
16152 # FIXME: insert proper C++ library support
16156 # FIXME: insert proper C++ library support
16163 case $cc_basename in
16165 # Sun C++ 4.2, 5.x and Centerline C++
16166 archive_cmds_need_lc_CXX
=yes
16167 no_undefined_flag_CXX
=' -zdefs'
16168 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16169 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16170 $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'
16172 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16173 hardcode_shlibpath_var_CXX
=no
16175 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16177 # The compiler driver will combine and reorder linker options,
16178 # but understands `-z linker_flag'.
16179 # Supported since Solaris 2.6 (maybe 2.5.1?)
16180 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16183 link_all_deplibs_CXX
=yes
16185 output_verbose_link_cmd
='func_echo_all'
16187 # Archives containing C++ object files must be created using
16188 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16189 # necessary to make sure instantiated templates are included
16191 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16194 # Green Hills C++ Compiler
16195 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16197 # The C++ compiler must be used to create the archive.
16198 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16201 # GNU C++ compiler with Solaris linker
16202 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16203 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
16204 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
16205 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16206 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16207 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16209 # Commands to make compiler produce verbose output that lists
16210 # what "hidden" libraries, object files and flags are used when
16211 # linking a shared library.
16212 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16214 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16216 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16217 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16218 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16220 # Commands to make compiler produce verbose output that lists
16221 # what "hidden" libraries, object files and flags are used when
16222 # linking a shared library.
16223 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16226 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
16228 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16230 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16238 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16239 no_undefined_flag_CXX
='${wl}-z,text'
16240 archive_cmds_need_lc_CXX
=no
16241 hardcode_shlibpath_var_CXX
=no
16242 runpath_var
='LD_RUN_PATH'
16244 case $cc_basename in
16246 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16247 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16250 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16251 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16256 sysv5
* | sco3.2v5
* | sco5v6
*)
16257 # Note: We can NOT use -z defs as we might desire, because we do not
16258 # link with -lc, and that would cause any symbols used from libc to
16259 # always be unresolved, which means just about no library would
16260 # ever link correctly. If we're not using GNU ld we use -z text
16261 # though, which does catch some bad symbols but isn't as heavy-handed
16263 no_undefined_flag_CXX
='${wl}-z,text'
16264 allow_undefined_flag_CXX
='${wl}-z,nodefs'
16265 archive_cmds_need_lc_CXX
=no
16266 hardcode_shlibpath_var_CXX
=no
16267 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
16268 hardcode_libdir_separator_CXX
=':'
16269 link_all_deplibs_CXX
=yes
16270 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
16271 runpath_var
='LD_RUN_PATH'
16273 case $cc_basename in
16275 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16276 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16277 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16278 '"$old_archive_cmds_CXX"
16279 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16280 '"$reload_cmds_CXX"
16283 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16284 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16290 case $cc_basename in
16292 # NonStop-UX NCC 3.20
16293 # FIXME: insert proper C++ library support
16297 # FIXME: insert proper C++ library support
16304 # For VxWorks ports, we assume the use of a GNU linker with
16305 # standard elf conventions.
16310 # FIXME: insert proper C++ library support
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16316 $as_echo "$ld_shlibs_CXX" >&6; }
16317 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16323 ## There is no encapsulation within the following macros, do not change
16324 ## the running order or otherwise move them around unless you know exactly
16325 ## what you are doing...
16326 # Dependencies to place before and after the object being linked:
16327 predep_objects_CXX
=
16328 postdep_objects_CXX
=
16331 compiler_lib_search_path_CXX
=
16333 cat > conftest.
$ac_ext <<_LT_EOF
16337 Foo (void) { a = 0; }
16343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16344 (eval $ac_compile) 2>&5
16346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16347 test $ac_status = 0; }; then
16348 # Parse the compiler output and extract the necessary
16349 # objects, libraries and library flags.
16351 # Sentinel used to keep track of whether or not we are before
16352 # the conftest object file.
16353 pre_test_object_deps_done
=no
16355 for p
in `eval "$output_verbose_link_cmd"`; do
16359 # Some compilers place space between "-{L,R}" and the path.
16360 # Remove the space.
16361 if test $p = "-L" ||
16362 test $p = "-R"; then
16369 if test "$pre_test_object_deps_done" = no
; then
16372 # Internal compiler library paths should come after those
16373 # provided the user. The postdeps already come after the
16374 # user supplied libs so there is no need to process them.
16375 if test -z "$compiler_lib_search_path_CXX"; then
16376 compiler_lib_search_path_CXX
="${prev}${p}"
16378 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
16381 # The "-l" case would never come before the object being
16382 # linked, so don't bother handling this case.
16385 if test -z "$postdeps_CXX"; then
16386 postdeps_CXX
="${prev}${p}"
16388 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
16394 # This assumes that the test object file only shows up
16395 # once in the compiler output.
16396 if test "$p" = "conftest.$objext"; then
16397 pre_test_object_deps_done
=yes
16401 if test "$pre_test_object_deps_done" = no
; then
16402 if test -z "$predep_objects_CXX"; then
16403 predep_objects_CXX
="$p"
16405 predep_objects_CXX
="$predep_objects_CXX $p"
16408 if test -z "$postdep_objects_CXX"; then
16409 postdep_objects_CXX
="$p"
16411 postdep_objects_CXX
="$postdep_objects_CXX $p"
16416 *) ;; # Ignore the rest.
16424 echo "libtool.m4: error: problem compiling CXX test program"
16427 $RM -f confest.
$objext
16429 # PORTME: override above test on systems where it is broken
16432 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16433 # hack all around it, let's just trust "g++" to DTRT.
16434 predep_objects_CXX
=
16435 postdep_objects_CXX
=
16440 case `$CC -V 2>&1 | sed 5q` in
16444 # The more standards-conforming stlport4 library is
16445 # incompatible with the Cstd library. Avoid specifying
16446 # it if it's in CXXFLAGS. Ignore libCrun as
16447 # -library=stlport4 depends on it.
16448 case " $CXX $CXXFLAGS " in
16449 *" -library=stlport4 "*)
16450 solaris_use_stlport4
=yes
16454 if test "$solaris_use_stlport4" != yes; then
16455 postdeps_CXX
='-library=Cstd -library=Crun'
16462 case $cc_basename in
16464 # The more standards-conforming stlport4 library is
16465 # incompatible with the Cstd library. Avoid specifying
16466 # it if it's in CXXFLAGS. Ignore libCrun as
16467 # -library=stlport4 depends on it.
16468 case " $CXX $CXXFLAGS " in
16469 *" -library=stlport4 "*)
16470 solaris_use_stlport4
=yes
16474 # Adding this requires a known-good setup of shared libraries for
16475 # Sun compiler versions before 5.6, else PIC objects from an old
16476 # archive will be linked into the output, leading to subtle bugs.
16477 if test "$solaris_use_stlport4" != yes; then
16478 postdeps_CXX
='-library=Cstd -library=Crun'
16486 case " $postdeps_CXX " in
16487 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16489 compiler_lib_search_dirs_CXX
=
16490 if test -n "${compiler_lib_search_path_CXX}"; then
16491 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16524 lt_prog_compiler_wl_CXX
=
16525 lt_prog_compiler_pic_CXX
=
16526 lt_prog_compiler_static_CXX
=
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16531 # C++ specific cases for pic, static, wl, etc.
16532 if test "$GXX" = yes; then
16533 lt_prog_compiler_wl_CXX
='-Wl,'
16534 lt_prog_compiler_static_CXX
='-static'
16538 # All AIX code is PIC.
16539 if test "$host_cpu" = ia64
; then
16540 # AIX 5 now supports IA64 processor
16541 lt_prog_compiler_static_CXX
='-Bstatic'
16543 lt_prog_compiler_pic_CXX
='-fPIC'
16549 # see comment about AmigaOS4 .so support
16550 lt_prog_compiler_pic_CXX
='-fPIC'
16553 # FIXME: we need at least 68020 code to build shared libraries, but
16554 # adding the `-m68020' flag to GCC prevents building anything better,
16556 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16561 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16562 # PIC is the default for these OSes.
16564 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16565 # This hack is so that the source file can tell whether it is being
16566 # built for inclusion in a dll (and should export symbols for example).
16567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16568 # (--disable-auto-import) libraries
16569 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16571 darwin
* | rhapsody
*)
16572 # PIC is the default on this platform
16573 # Common symbols not allowed in MH_DYLIB files
16574 lt_prog_compiler_pic_CXX
='-fno-common'
16577 # DJGPP does not support shared libraries at all
16578 lt_prog_compiler_pic_CXX
=
16581 # PIC is the default for Haiku.
16582 # The "-static" flag exists, but is broken.
16583 lt_prog_compiler_static_CXX
=
16586 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16587 # Instead, we relocate shared libraries at runtime.
16590 if test -d /usr
/nec
; then
16591 lt_prog_compiler_pic_CXX
=-Kconform_pic
16595 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16596 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16597 # sets the default TLS model and affects inlining.
16602 lt_prog_compiler_pic_CXX
='-fPIC'
16607 # QNX uses GNU C++, but need to define -shared option too, otherwise
16608 # it will coredump.
16609 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16612 lt_prog_compiler_pic_CXX
='-fPIC'
16618 # All AIX code is PIC.
16619 if test "$host_cpu" = ia64
; then
16620 # AIX 5 now supports IA64 processor
16621 lt_prog_compiler_static_CXX
='-Bstatic'
16623 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16627 case $cc_basename in
16629 # Green Hills C++ Compiler
16630 # _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"
16635 case $cc_basename in
16637 lt_prog_compiler_pic_CXX
='-KPIC'
16640 # Green Hills C++ Compiler
16641 lt_prog_compiler_pic_CXX
='-pic'
16647 freebsd
* | dragonfly
*)
16648 # FreeBSD uses GNU C++
16650 hpux9
* | hpux10
* | hpux11
*)
16651 case $cc_basename in
16653 lt_prog_compiler_wl_CXX
='-Wl,'
16654 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16655 if test "$host_cpu" != ia64
; then
16656 lt_prog_compiler_pic_CXX
='+Z'
16660 lt_prog_compiler_wl_CXX
='-Wl,'
16661 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16667 lt_prog_compiler_pic_CXX
='+Z'
16676 # This is c89, which is MS Visual C++ (no shared libs)
16677 # Anyone wants to do a port?
16679 irix5
* | irix6
* | nonstopux
*)
16680 case $cc_basename in
16682 lt_prog_compiler_wl_CXX
='-Wl,'
16683 lt_prog_compiler_static_CXX
='-non_shared'
16684 # CC pic flag -KPIC is the default.
16690 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16691 case $cc_basename in
16694 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16695 lt_prog_compiler_pic_CXX
='-fPIC'
16698 # old Intel C++ for x86_64 which still supported -KPIC.
16699 lt_prog_compiler_wl_CXX
='-Wl,'
16700 lt_prog_compiler_pic_CXX
='-KPIC'
16701 lt_prog_compiler_static_CXX
='-static'
16704 # Intel C++, used to be incompatible with GCC.
16705 # ICC 10 doesn't accept -KPIC any more.
16706 lt_prog_compiler_wl_CXX
='-Wl,'
16707 lt_prog_compiler_pic_CXX
='-fPIC'
16708 lt_prog_compiler_static_CXX
='-static'
16711 # Portland Group C++ compiler
16712 lt_prog_compiler_wl_CXX
='-Wl,'
16713 lt_prog_compiler_pic_CXX
='-fpic'
16714 lt_prog_compiler_static_CXX
='-Bstatic'
16718 # Make sure the PIC flag is empty. It appears that all Alpha
16719 # Linux and Compaq Tru64 Unix objects are PIC.
16720 lt_prog_compiler_pic_CXX
=
16721 lt_prog_compiler_static_CXX
='-non_shared'
16723 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16724 # IBM XL 8.0, 9.0 on PPC and BlueGene
16725 lt_prog_compiler_wl_CXX
='-Wl,'
16726 lt_prog_compiler_pic_CXX
='-qpic'
16727 lt_prog_compiler_static_CXX
='-qstaticlink'
16730 case `$CC -V 2>&1 | sed 5q` in
16733 lt_prog_compiler_pic_CXX
='-KPIC'
16734 lt_prog_compiler_static_CXX
='-Bstatic'
16735 lt_prog_compiler_wl_CXX
='-Qoption ld '
16746 case $cc_basename in
16748 lt_prog_compiler_pic_CXX
='-W c,exportall'
16757 # QNX uses GNU C++, but need to define -shared option too, otherwise
16758 # it will coredump.
16759 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16761 osf3
* | osf4
* | osf5
*)
16762 case $cc_basename in
16764 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16767 # Rational C++ 2.4.1
16768 lt_prog_compiler_pic_CXX
='-pic'
16771 # Digital/Compaq C++
16772 lt_prog_compiler_wl_CXX
='-Wl,'
16773 # Make sure the PIC flag is empty. It appears that all Alpha
16774 # Linux and Compaq Tru64 Unix objects are PIC.
16775 lt_prog_compiler_pic_CXX
=
16776 lt_prog_compiler_static_CXX
='-non_shared'
16785 case $cc_basename in
16787 # Sun C++ 4.2, 5.x and Centerline C++
16788 lt_prog_compiler_pic_CXX
='-KPIC'
16789 lt_prog_compiler_static_CXX
='-Bstatic'
16790 lt_prog_compiler_wl_CXX
='-Qoption ld '
16793 # Green Hills C++ Compiler
16794 lt_prog_compiler_pic_CXX
='-PIC'
16801 case $cc_basename in
16804 lt_prog_compiler_pic_CXX
='-pic'
16805 lt_prog_compiler_static_CXX
='-Bstatic'
16809 lt_prog_compiler_pic_CXX
='-pic'
16815 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16816 case $cc_basename in
16818 lt_prog_compiler_wl_CXX
='-Wl,'
16819 lt_prog_compiler_pic_CXX
='-KPIC'
16820 lt_prog_compiler_static_CXX
='-Bstatic'
16825 case $cc_basename in
16827 # NonStop-UX NCC 3.20
16828 lt_prog_compiler_pic_CXX
='-KPIC'
16837 lt_prog_compiler_can_build_shared_CXX
=no
16843 # For platforms which do not support PIC, -DPIC is meaningless:
16845 lt_prog_compiler_pic_CXX
=
16848 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16852 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16857 # Check to make sure the PIC flag actually works.
16859 if test -n "$lt_prog_compiler_pic_CXX"; then
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16861 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16862 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16863 $as_echo_n "(cached) " >&6
16865 lt_cv_prog_compiler_pic_works_CXX
=no
16866 ac_outfile
=conftest.
$ac_objext
16867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16868 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16869 # Insert the option either (1) after the last *FLAGS variable, or
16870 # (2) before a word containing "conftest.", or (3) at the end.
16871 # Note that $ac_compile itself does not contain backslashes and begins
16872 # with a dollar sign (not a hyphen), so the echo should work correctly.
16873 # The option is referenced via a variable to avoid confusing sed.
16874 lt_compile
=`echo "$ac_compile" | $SED \
16875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16877 -e 's:$: $lt_compiler_flag:'`
16878 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16879 (eval "$lt_compile" 2>conftest.err
)
16881 cat conftest.err
>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 if (exit $ac_status) && test -s "$ac_outfile"; then
16884 # The compiler can only warn and ignore the option if not recognized
16885 # So say no if there are warnings other than the usual output.
16886 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
16887 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16888 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16889 lt_cv_prog_compiler_pic_works_CXX
=yes
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16896 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16898 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
16899 case $lt_prog_compiler_pic_CXX in
16901 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16904 lt_prog_compiler_pic_CXX
=
16905 lt_prog_compiler_can_build_shared_CXX
=no
16913 # Check to make sure the static flag actually works.
16915 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16917 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16918 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16919 $as_echo_n "(cached) " >&6
16921 lt_cv_prog_compiler_static_works_CXX
=no
16922 save_LDFLAGS
="$LDFLAGS"
16923 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16924 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16925 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16926 # The linker can only warn and ignore the option if not recognized
16927 # So say no if there are warnings
16928 if test -s conftest.err
; then
16929 # Append any errors to the config.log.
16930 cat conftest.err
1>&5
16931 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
16932 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16933 if diff conftest.exp conftest.er2
>/dev
/null
; then
16934 lt_cv_prog_compiler_static_works_CXX
=yes
16937 lt_cv_prog_compiler_static_works_CXX
=yes
16941 LDFLAGS
="$save_LDFLAGS"
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16945 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16947 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
16950 lt_prog_compiler_static_CXX
=
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16957 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16958 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16959 $as_echo_n "(cached) " >&6
16961 lt_cv_prog_compiler_c_o_CXX
=no
16962 $RM -r conftest
2>/dev
/null
16966 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16968 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16969 # Insert the option either (1) after the last *FLAGS variable, or
16970 # (2) before a word containing "conftest.", or (3) at the end.
16971 # Note that $ac_compile itself does not contain backslashes and begins
16972 # with a dollar sign (not a hyphen), so the echo should work correctly.
16973 lt_compile
=`echo "$ac_compile" | $SED \
16974 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16975 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16976 -e 's:$: $lt_compiler_flag:'`
16977 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16978 (eval "$lt_compile" 2>out
/conftest.err
)
16980 cat out
/conftest.err
>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16984 # The compiler can only warn and ignore the option if not recognized
16985 # So say no if there are warnings
16986 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16987 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16988 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16989 lt_cv_prog_compiler_c_o_CXX
=yes
16994 # SGI C++ compiler will create directory out/ii_files/ for
16995 # template instantiation
16996 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16997 $RM out
/* && rmdir out
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17004 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17009 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17010 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
17011 $as_echo_n "(cached) " >&6
17013 lt_cv_prog_compiler_c_o_CXX
=no
17014 $RM -r conftest
2>/dev
/null
17018 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17020 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17021 # Insert the option either (1) after the last *FLAGS variable, or
17022 # (2) before a word containing "conftest.", or (3) at the end.
17023 # Note that $ac_compile itself does not contain backslashes and begins
17024 # with a dollar sign (not a hyphen), so the echo should work correctly.
17025 lt_compile
=`echo "$ac_compile" | $SED \
17026 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17028 -e 's:$: $lt_compiler_flag:'`
17029 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17030 (eval "$lt_compile" 2>out
/conftest.err
)
17032 cat out
/conftest.err
>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17036 # The compiler can only warn and ignore the option if not recognized
17037 # So say no if there are warnings
17038 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17039 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17040 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17041 lt_cv_prog_compiler_c_o_CXX
=yes
17046 # SGI C++ compiler will create directory out/ii_files/ for
17047 # template instantiation
17048 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17049 $RM out
/* && rmdir out
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17056 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17061 hard_links
="nottested"
17062 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
17063 # do not overwrite the value of need_locks provided by the user
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17065 $as_echo_n "checking if we can lock with hard links... " >&6; }
17068 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17070 ln conftest.a conftest.b
2>&5 || hard_links
=no
17071 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17073 $as_echo "$hard_links" >&6; }
17074 if test "$hard_links" = no
; then
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17076 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17086 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17088 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17091 # If we're using GNU nm, then we don't want the "-C" option.
17092 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17093 # Also, AIX nm treats weak defined symbols like other global defined
17094 # symbols, whereas GNU nm marks them as "W".
17095 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
17096 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'
17098 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'
17102 export_symbols_cmds_CXX
="$ltdll_cmds"
17104 cygwin
* | mingw
* | cegcc
*)
17105 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'
17108 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17111 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17114 $as_echo "$ld_shlibs_CXX" >&6; }
17115 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
17117 with_gnu_ld_CXX
=$with_gnu_ld
17125 # Do we need to explicitly link libc?
17127 case "x$archive_cmds_need_lc_CXX" in
17129 # Assume -lc should be added
17130 archive_cmds_need_lc_CXX
=yes
17132 if test "$enable_shared" = yes && test "$GCC" = yes; then
17133 case $archive_cmds_CXX in
17135 # FIXME: we may have to deal with multi-command sequences.
17138 # Test whether the compiler implicitly links with -lc since on some
17139 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17140 # to ld, don't add -lc before -lgcc.
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17142 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17143 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17144 $as_echo_n "(cached) " >&6
17147 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17150 (eval $ac_compile) 2>&5
17152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17153 test $ac_status = 0; } 2>conftest.err
; then
17156 libobjs
=conftest.
$ac_objext
17158 wl
=$lt_prog_compiler_wl_CXX
17159 pic_flag
=$lt_prog_compiler_pic_CXX
17165 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17166 allow_undefined_flag_CXX
=
17167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17168 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17171 test $ac_status = 0; }
17173 lt_cv_archive_cmds_need_lc_CXX
=no
17175 lt_cv_archive_cmds_need_lc_CXX
=yes
17177 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17179 cat conftest.err
1>&5
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17185 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17186 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17257 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17259 library_names_spec
=
17260 libname_spec
='lib$name'
17264 postuninstall_cmds
=
17268 shlibpath_overrides_runpath
=unknown
17270 dynamic_linker
="$host_os ld.so"
17271 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17272 need_lib_prefix
=unknown
17273 hardcode_into_libs
=no
17275 # when you set need_version to no, make sure it does not cause -set_version
17276 # flags to be left without arguments
17277 need_version
=unknown
17282 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17283 shlibpath_var
=LIBPATH
17285 # AIX 3 has no versioning support, so we append a major version to the name.
17286 soname_spec
='${libname}${release}${shared_ext}$major'
17293 hardcode_into_libs
=yes
17294 if test "$host_cpu" = ia64
; then
17295 # AIX 5 supports IA64
17296 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17297 shlibpath_var
=LD_LIBRARY_PATH
17299 # With GCC up to 2.95.x, collect2 would create an import file
17300 # for dependence libraries. The import file would start with
17301 # the line `#! .'. This would cause the generated library to
17302 # depend on `.', always an invalid library. This was fixed in
17303 # development snapshots of GCC prior to 3.0.
17305 aix4 | aix4.
[01] | aix4.
[01].
*)
17306 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17308 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17311 can_build_shared
=no
17315 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17316 # soname into executable. Probably we can add versioning support to
17317 # collect2, so additional links can be useful in future.
17318 if test "$aix_use_runtimelinking" = yes; then
17319 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17320 # instead of lib<name>.a to let people know that these are not
17321 # typical AIX shared libraries.
17322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17324 # We preserve .a as extension for shared libraries through AIX4.2
17325 # and later when we are not doing run time linking.
17326 library_names_spec
='${libname}${release}.a $libname.a'
17327 soname_spec
='${libname}${release}${shared_ext}$major'
17329 shlibpath_var
=LIBPATH
17336 # Since July 2007 AmigaOS4 officially supports .so libraries.
17337 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17341 library_names_spec
='$libname.ixlibrary $libname.a'
17342 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17343 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'
17349 library_names_spec
='${libname}${shared_ext}'
17350 dynamic_linker
="$host_os ld.so"
17351 shlibpath_var
=LIBRARY_PATH
17357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17358 soname_spec
='${libname}${release}${shared_ext}$major'
17359 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17360 shlibpath_var
=LD_LIBRARY_PATH
17361 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17362 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17363 # the default ld.so.conf also contains /usr/contrib/lib and
17364 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17365 # libtool to hard-code these into programs
17368 cygwin
* | mingw
* | pw32
* | cegcc
*)
17369 version_type
=windows
17374 case $GCC,$host_os in
17375 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
17376 library_names_spec
='$libname.dll.a'
17377 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17378 postinstall_cmds
='base_file=`basename \${file}`~
17379 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17380 dldir=$destdir/`dirname \$dlpath`~
17381 test -d \$dldir || mkdir -p \$dldir~
17382 $install_prog $dir/$dlname \$dldir/$dlname~
17383 chmod a+x \$dldir/$dlname~
17384 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17385 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17387 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17388 dlpath=$dir/\$dldll~
17390 shlibpath_overrides_runpath
=yes
17394 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17395 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17399 # MinGW DLLs use traditional 'lib' prefix
17400 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17403 # pw32 DLLs use 'pw' prefix rather than 'lib'
17404 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17410 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17413 dynamic_linker
='Win32 ld.exe'
17414 # FIXME: first we should search . and the directory the executable is in
17418 darwin
* | rhapsody
*)
17419 dynamic_linker
="$host_os dyld"
17420 version_type
=darwin
17423 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17424 soname_spec
='${libname}${release}${major}$shared_ext'
17425 shlibpath_overrides_runpath
=yes
17426 shlibpath_var
=DYLD_LIBRARY_PATH
17427 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17429 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17437 soname_spec
='${libname}${release}${shared_ext}$major'
17438 shlibpath_var
=LD_LIBRARY_PATH
17441 freebsd
* | dragonfly
*)
17442 # DragonFly does not have aout. When/if they implement a new
17443 # versioning mechanism, adjust this.
17444 if test -x /usr
/bin
/objformat
; then
17445 objformat
=`/usr/bin/objformat`
17448 freebsd
[23].
*) objformat
=aout
;;
17449 *) objformat
=elf
;;
17452 version_type
=freebsd-
$objformat
17453 case $version_type in
17455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17460 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17464 shlibpath_var
=LD_LIBRARY_PATH
17467 shlibpath_overrides_runpath
=yes
17469 freebsd3.
[01]* | freebsdelf3.
[01]*)
17470 shlibpath_overrides_runpath
=yes
17471 hardcode_into_libs
=yes
17473 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17474 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17475 shlibpath_overrides_runpath
=no
17476 hardcode_into_libs
=yes
17478 *) # from 4.6 on, and DragonFly
17479 shlibpath_overrides_runpath
=yes
17480 hardcode_into_libs
=yes
17489 dynamic_linker
="$host_os runtime_loader"
17490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17491 soname_spec
='${libname}${release}${shared_ext}$major'
17492 shlibpath_var
=LIBRARY_PATH
17493 shlibpath_overrides_runpath
=yes
17494 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17495 hardcode_into_libs
=yes
17498 hpux9
* | hpux10
* | hpux11
*)
17499 # Give a soname corresponding to the major version so that dld.sl refuses to
17500 # link against other versions.
17507 hardcode_into_libs
=yes
17508 dynamic_linker
="$host_os dld.so"
17509 shlibpath_var
=LD_LIBRARY_PATH
17510 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17512 soname_spec
='${libname}${release}${shared_ext}$major'
17513 if test "X$HPUX_IA64_MODE" = X32
; then
17514 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17516 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17518 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17522 hardcode_into_libs
=yes
17523 dynamic_linker
="$host_os dld.sl"
17524 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17525 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17527 soname_spec
='${libname}${release}${shared_ext}$major'
17528 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17529 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17533 dynamic_linker
="$host_os dld.sl"
17534 shlibpath_var
=SHLIB_PATH
17535 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17537 soname_spec
='${libname}${release}${shared_ext}$major'
17540 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17541 postinstall_cmds
='chmod 555 $lib'
17542 # or fails outright, so override atomically:
17543 install_override_mode
=555
17550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17551 soname_spec
='${libname}${release}${shared_ext}$major'
17552 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17553 shlibpath_var
=LD_LIBRARY_PATH
17554 shlibpath_overrides_runpath
=no
17555 hardcode_into_libs
=yes
17558 irix5
* | irix6
* | nonstopux
*)
17560 nonstopux
*) version_type
=nonstopux
;;
17562 if test "$lt_cv_prog_gnu_ld" = yes; then
17570 soname_spec
='${libname}${release}${shared_ext}$major'
17571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17573 irix5
* | nonstopux
*)
17574 libsuff
= shlibsuff
=
17577 case $LD in # libtool.m4 will add one of these switches to LD
17578 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17579 libsuff
= shlibsuff
= libmagic
=32-bit;;
17580 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17581 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17582 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17583 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17584 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17588 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17589 shlibpath_overrides_runpath
=no
17590 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17591 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17592 hardcode_into_libs
=yes
17595 # No shared lib support for Linux oldld, aout, or coff.
17596 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17600 # This must be Linux ELF.
17602 # uclinux* changes (here and below) have been submitted to the libtool
17603 # project, but have not yet been accepted: they are GCC-local changes
17604 # for the time being. (See
17605 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
17606 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
17610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17611 soname_spec
='${libname}${release}${shared_ext}$major'
17612 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17613 shlibpath_var
=LD_LIBRARY_PATH
17614 shlibpath_overrides_runpath
=no
17616 # Some binutils ld are patched to set DT_RUNPATH
17617 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17618 $as_echo_n "(cached) " >&6
17620 lt_cv_shlibpath_overrides_runpath
=no
17621 save_LDFLAGS
=$LDFLAGS
17622 save_libdir
=$libdir
17623 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17624 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17625 if test x
$gcc_no_link = xyes
; then
17626 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17639 if ac_fn_cxx_try_link
"$LINENO"; then :
17640 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
17641 lt_cv_shlibpath_overrides_runpath
=yes
17644 rm -f core conftest.err conftest.
$ac_objext \
17645 conftest
$ac_exeext conftest.
$ac_ext
17646 LDFLAGS
=$save_LDFLAGS
17647 libdir
=$save_libdir
17651 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17653 # This implies no fast_install, which is unacceptable.
17654 # Some rework will be needed to allow for fast_install
17655 # before this can be enabled.
17656 hardcode_into_libs
=yes
17658 # Append ld.so.conf contents to the search path
17659 if test -f /etc
/ld.so.conf
; then
17660 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' ' '`
17661 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17664 # We used to test for /lib/ld.so.1 and disable shared libraries on
17665 # powerpc, because MkLinux only supported shared libraries with the
17666 # GNU dynamic linker. Since this was broken with cross compilers,
17667 # most powerpc-linux boxes support dynamic linking these days and
17668 # people can always --disable-shared, the test was removed, and we
17669 # assume the GNU/Linux dynamic linker is in use.
17670 dynamic_linker
='GNU/Linux ld.so'
17677 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17679 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17680 dynamic_linker
='NetBSD (a.out) ld.so'
17682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17683 soname_spec
='${libname}${release}${shared_ext}$major'
17684 dynamic_linker
='NetBSD ld.elf_so'
17686 shlibpath_var
=LD_LIBRARY_PATH
17687 shlibpath_overrides_runpath
=yes
17688 hardcode_into_libs
=yes
17693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17694 shlibpath_var
=LD_LIBRARY_PATH
17695 shlibpath_overrides_runpath
=yes
17702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17703 soname_spec
='${libname}${release}${shared_ext}$major'
17704 shlibpath_var
=LD_LIBRARY_PATH
17705 shlibpath_overrides_runpath
=no
17706 hardcode_into_libs
=yes
17707 dynamic_linker
='ldqnx.so'
17712 sys_lib_dlsearch_path_spec
="/usr/lib"
17714 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17716 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17717 *) need_version
=no
;;
17719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17720 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17721 shlibpath_var
=LD_LIBRARY_PATH
17722 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17724 openbsd2.
[89] | openbsd2.
[89].
*)
17725 shlibpath_overrides_runpath
=no
17728 shlibpath_overrides_runpath
=yes
17732 shlibpath_overrides_runpath
=yes
17737 libname_spec
='$name'
17740 library_names_spec
='$libname${shared_ext} $libname.a'
17741 dynamic_linker
='OS/2 ld.exe'
17742 shlibpath_var
=LIBPATH
17745 osf3
* | osf4
* | osf5
*)
17749 soname_spec
='${libname}${release}${shared_ext}$major'
17750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17751 shlibpath_var
=LD_LIBRARY_PATH
17752 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17753 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17765 soname_spec
='${libname}${release}${shared_ext}$major'
17766 shlibpath_var
=LD_LIBRARY_PATH
17767 shlibpath_overrides_runpath
=yes
17768 hardcode_into_libs
=yes
17769 # ldd complains unless libraries are executable
17770 postinstall_cmds
='chmod +x $lib'
17775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17776 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17777 shlibpath_var
=LD_LIBRARY_PATH
17778 shlibpath_overrides_runpath
=yes
17779 if test "$with_gnu_ld" = yes; then
17787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17788 soname_spec
='${libname}${release}${shared_ext}$major'
17789 shlibpath_var
=LD_LIBRARY_PATH
17790 case $host_vendor in
17792 shlibpath_overrides_runpath
=no
17794 runpath_var
=LD_RUN_PATH
17802 shlibpath_overrides_runpath
=no
17803 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17809 if test -d /usr
/nec
;then
17811 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17812 soname_spec
='$libname${shared_ext}.$major'
17813 shlibpath_var
=LD_LIBRARY_PATH
17817 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17818 version_type
=freebsd-elf
17821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17822 soname_spec
='${libname}${release}${shared_ext}$major'
17823 shlibpath_var
=LD_LIBRARY_PATH
17824 shlibpath_overrides_runpath
=yes
17825 hardcode_into_libs
=yes
17826 if test "$with_gnu_ld" = yes; then
17827 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17829 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17832 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17836 sys_lib_dlsearch_path_spec
='/usr/lib'
17840 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17845 shlibpath_var
=LD_LIBRARY_PATH
17846 shlibpath_overrides_runpath
=no
17847 hardcode_into_libs
=yes
17852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17853 soname_spec
='${libname}${release}${shared_ext}$major'
17854 shlibpath_var
=LD_LIBRARY_PATH
17857 # Shared libraries for VwWorks, >= 7 only at this stage
17858 # and (fpic) still incompatible with "large" code models
17859 # in a few configurations. Only for RTP mode in any case,
17860 # and upon explicit request at configure time.
17863 case ${with_multisubdir}-${enable_shared} in
17870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17871 soname_spec
='${libname}${release}${shared_ext}$major'
17872 dynamic_linker
="$host_os module_loader"
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17881 $as_echo "$dynamic_linker" >&6; }
17882 test "$dynamic_linker" = no
&& can_build_shared
=no
17884 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17885 if test "$GCC" = yes; then
17886 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17889 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17890 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17892 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17893 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17934 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17935 hardcode_action_CXX
=
17936 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17937 test -n "$runpath_var_CXX" ||
17938 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17940 # We can hardcode non-existent directories.
17941 if test "$hardcode_direct_CXX" != no
&&
17942 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17943 # have to relink, otherwise we might link with an installed library
17944 # when we should be linking with a yet-to-be-installed one
17945 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17946 test "$hardcode_minus_L_CXX" != no
; then
17947 # Linking always hardcodes the temporary library directory.
17948 hardcode_action_CXX
=relink
17950 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17951 hardcode_action_CXX
=immediate
17954 # We cannot hardcode anything, or else we can only hardcode existing
17956 hardcode_action_CXX
=unsupported
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17959 $as_echo "$hardcode_action_CXX" >&6; }
17961 if test "$hardcode_action_CXX" = relink ||
17962 test "$inherit_rpath_CXX" = yes; then
17963 # Fast installation is not supported
17964 enable_fast_install
=no
17965 elif test "$shlibpath_overrides_runpath" = yes ||
17966 test "$enable_shared" = no
; then
17967 # Fast installation is not necessary
17968 enable_fast_install
=needless
17977 fi # test -n "$compiler"
17983 with_gnu_ld
=$lt_save_with_gnu_ld
17984 lt_cv_path_LDCXX
=$lt_cv_path_LD
17985 lt_cv_path_LD
=$lt_save_path_LD
17986 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17987 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17988 fi # test "$_lt_caught_CXX_error" != yes
17991 ac_cpp
='$CPP $CPPFLAGS'
17992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18008 ac_config_commands
="$ac_config_commands libtool"
18013 # Only expand once:
18022 if test x
$enable_darwin_at_rpath = xyes
; then
18023 ENABLE_DARWIN_AT_RPATH_TRUE
=
18024 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
18026 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
18027 ENABLE_DARWIN_AT_RPATH_FALSE
=
18034 if test "${multilib}" = "yes"; then
18035 multilib_arg
="--enable-multilib"
18040 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
18041 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
18043 cat >>confdefs.h
<<_ACEOF
18044 #define HAVE_STRUCT_TIMEZONE 1
18049 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
18050 if test "x$ac_cv_type_struct_stat" = xyes
; then :
18052 cat >>confdefs.h
<<_ACEOF
18053 #define HAVE_STRUCT_STAT 1
18058 ac_fn_c_check_type
"$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default"
18059 if test "x$ac_cv_type_struct_timespec" = xyes
; then :
18061 cat >>confdefs.h
<<_ACEOF
18062 #define HAVE_STRUCT_TIMESPEC 1
18067 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
18068 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
18070 cat >>confdefs.h
<<_ACEOF
18071 #define HAVE_STRUCT_TIMEVAL 1
18076 ac_fn_c_check_type
"$LINENO" "struct tm" "ac_cv_type_struct_tm" "$ac_includes_default"
18077 if test "x$ac_cv_type_struct_tm" = xyes
; then :
18079 cat >>confdefs.h
<<_ACEOF
18080 #define HAVE_STRUCT_TM 1
18087 # Check if struct tm contains the tm_gmtoff field.
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
18089 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
18090 if ${ac_cv_struct_tm_gmtoff+:} false
; then :
18091 $as_echo_n "(cached) " >&6
18093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18109 if ac_fn_c_try_compile
"$LINENO"; then :
18110 ac_cv_struct_tm_gmtoff
=yes
18112 ac_cv_struct_tm_gmtoff
=no
18115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
18119 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
18121 if (test "$ac_cv_struct_tm_gmtoff" = "yes"); then
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end detects struct tm with the tm_gmtoff field." >&5
18123 $as_echo_n "checking m2 front end detects struct tm with the tm_gmtoff field.... " >&6; }
18125 $as_echo "#define HAVE_TM_TM_GMTOFF 1" >>confdefs.h
18130 ac_cpp
='$CPP $CPPFLAGS'
18131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18135 # Check the compiler.
18136 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
18137 # We must force CC to /not/ be precious variables; otherwise
18138 # the wrong, non-multilib-adjusted value will be used in multilibs.
18139 # As a side effect, we have to subst CFLAGS ourselves.
18144 ac_cpp
='$CPP $CPPFLAGS'
18145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18148 if test -n "$ac_tool_prefix"; then
18149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18150 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18152 $as_echo_n "checking for $ac_word... " >&6; }
18153 if ${ac_cv_prog_CC+:} false
; then :
18154 $as_echo_n "(cached) " >&6
18156 if test -n "$CC"; then
18157 ac_cv_prog_CC
="$CC" # Let the user override the test.
18159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18160 for as_dir
in $PATH
18163 test -z "$as_dir" && as_dir
=.
18164 for ac_exec_ext
in '' $ac_executable_extensions; do
18165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18166 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
18167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18177 if test -n "$CC"; then
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18179 $as_echo "$CC" >&6; }
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18182 $as_echo "no" >&6; }
18187 if test -z "$ac_cv_prog_CC"; then
18189 # Extract the first word of "gcc", so it can be a program name with args.
18190 set dummy gcc
; ac_word
=$2
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18192 $as_echo_n "checking for $ac_word... " >&6; }
18193 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
18194 $as_echo_n "(cached) " >&6
18196 if test -n "$ac_ct_CC"; then
18197 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18200 for as_dir
in $PATH
18203 test -z "$as_dir" && as_dir
=.
18204 for ac_exec_ext
in '' $ac_executable_extensions; do
18205 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18206 ac_cv_prog_ac_ct_CC
="gcc"
18207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18216 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18217 if test -n "$ac_ct_CC"; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18219 $as_echo "$ac_ct_CC" >&6; }
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18222 $as_echo "no" >&6; }
18225 if test "x$ac_ct_CC" = x
; then
18228 case $cross_compiling:$ac_tool_warned in
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18232 ac_tool_warned
=yes ;;
18237 CC
="$ac_cv_prog_CC"
18240 if test -z "$CC"; then
18241 if test -n "$ac_tool_prefix"; then
18242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18243 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
18244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18245 $as_echo_n "checking for $ac_word... " >&6; }
18246 if ${ac_cv_prog_CC+:} false
; then :
18247 $as_echo_n "(cached) " >&6
18249 if test -n "$CC"; then
18250 ac_cv_prog_CC
="$CC" # Let the user override the test.
18252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18253 for as_dir
in $PATH
18256 test -z "$as_dir" && as_dir
=.
18257 for ac_exec_ext
in '' $ac_executable_extensions; do
18258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18259 ac_cv_prog_CC
="${ac_tool_prefix}cc"
18260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18270 if test -n "$CC"; then
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18272 $as_echo "$CC" >&6; }
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18275 $as_echo "no" >&6; }
18281 if test -z "$CC"; then
18282 # Extract the first word of "cc", so it can be a program name with args.
18283 set dummy cc
; ac_word
=$2
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18285 $as_echo_n "checking for $ac_word... " >&6; }
18286 if ${ac_cv_prog_CC+:} false
; then :
18287 $as_echo_n "(cached) " >&6
18289 if test -n "$CC"; then
18290 ac_cv_prog_CC
="$CC" # Let the user override the test.
18292 ac_prog_rejected
=no
18293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18294 for as_dir
in $PATH
18297 test -z "$as_dir" && as_dir
=.
18298 for ac_exec_ext
in '' $ac_executable_extensions; do
18299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18301 ac_prog_rejected
=yes
18305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18312 if test $ac_prog_rejected = yes; then
18313 # We found a bogon in the path, so make sure we never use it.
18314 set dummy
$ac_cv_prog_CC
18316 if test $# != 0; then
18317 # We chose a different compiler from the bogus one.
18318 # However, it has the same basename, so the bogon will be chosen
18319 # first if we set CC to just the basename; use the full file name.
18321 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
18327 if test -n "$CC"; then
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18329 $as_echo "$CC" >&6; }
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18332 $as_echo "no" >&6; }
18337 if test -z "$CC"; then
18338 if test -n "$ac_tool_prefix"; then
18339 for ac_prog
in cl.exe
18341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18342 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18344 $as_echo_n "checking for $ac_word... " >&6; }
18345 if ${ac_cv_prog_CC+:} false
; then :
18346 $as_echo_n "(cached) " >&6
18348 if test -n "$CC"; then
18349 ac_cv_prog_CC
="$CC" # Let the user override the test.
18351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18352 for as_dir
in $PATH
18355 test -z "$as_dir" && as_dir
=.
18356 for ac_exec_ext
in '' $ac_executable_extensions; do
18357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18358 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
18359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18369 if test -n "$CC"; then
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18371 $as_echo "$CC" >&6; }
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18374 $as_echo "no" >&6; }
18378 test -n "$CC" && break
18381 if test -z "$CC"; then
18383 for ac_prog
in cl.exe
18385 # Extract the first word of "$ac_prog", so it can be a program name with args.
18386 set dummy
$ac_prog; ac_word
=$2
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18388 $as_echo_n "checking for $ac_word... " >&6; }
18389 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
18390 $as_echo_n "(cached) " >&6
18392 if test -n "$ac_ct_CC"; then
18393 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18396 for as_dir
in $PATH
18399 test -z "$as_dir" && as_dir
=.
18400 for ac_exec_ext
in '' $ac_executable_extensions; do
18401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18402 ac_cv_prog_ac_ct_CC
="$ac_prog"
18403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18412 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18413 if test -n "$ac_ct_CC"; then
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18415 $as_echo "$ac_ct_CC" >&6; }
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18418 $as_echo "no" >&6; }
18422 test -n "$ac_ct_CC" && break
18425 if test "x$ac_ct_CC" = x
; then
18428 case $cross_compiling:$ac_tool_warned in
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18432 ac_tool_warned
=yes ;;
18441 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18443 as_fn_error $?
"no acceptable C compiler found in \$PATH
18444 See \`config.log' for more details" "$LINENO" 5; }
18446 # Provide some information about the compiler.
18447 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
18450 for ac_option
in --version -v -V -qversion; do
18451 { { ac_try
="$ac_compiler $ac_option >&5"
18452 case "(($ac_try" in
18453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18454 *) ac_try_echo=$ac_try;;
18456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18457 $as_echo "$ac_try_echo"; } >&5
18458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18460 if test -s conftest.err; then
18462 ... rest of stderr output deleted ...
18463 10q' conftest.err >conftest.er1
18464 cat conftest.er1 >&5
18466 rm -f conftest.er1 conftest.err
18467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18468 test $ac_status = 0; }
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
18472 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
18473 if ${ac_cv_c_compiler_gnu+:} false; then :
18474 $as_echo_n "(cached) " >&6
18476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18477 /* end confdefs.h. */
18490 if ac_fn_c_try_compile "$LINENO"; then :
18491 ac_compiler_gnu=yes
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18496 ac_cv_c_compiler_gnu=$ac_compiler_gnu
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
18500 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
18501 if test $ac_compiler_gnu = yes; then
18506 ac_test_CFLAGS=${CFLAGS+set}
18507 ac_save_CFLAGS=$CFLAGS
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18509 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18510 if ${ac_cv_prog_cc_g+:} false; then :
18511 $as_echo_n "(cached) " >&6
18513 ac_save_c_werror_flag=$ac_c_werror_flag
18514 ac_c_werror_flag=yes
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18528 if ac_fn_c_try_compile "$LINENO"; then :
18529 ac_cv_prog_cc_g=yes
18532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533 /* end confdefs.h. */
18543 if ac_fn_c_try_compile "$LINENO"; then :
18546 ac_c_werror_flag=$ac_save_c_werror_flag
18548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18559 if ac_fn_c_try_compile "$LINENO"; then :
18560 ac_cv_prog_cc_g=yes
18562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18567 ac_c_werror_flag=$ac_save_c_werror_flag
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18570 $as_echo "$ac_cv_prog_cc_g" >&6; }
18571 if test "$ac_test_CFLAGS" = set; then
18572 CFLAGS=$ac_save_CFLAGS
18573 elif test $ac_cv_prog_cc_g = yes; then
18574 if test "$GCC" = yes; then
18580 if test "$GCC" = yes; then
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
18587 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
18588 if ${ac_cv_prog_cc_c89+:} false; then :
18589 $as_echo_n "(cached) " >&6
18591 ac_cv_prog_cc_c89=no
18593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18594 /* end confdefs.h. */
18595 #include <stdarg.h>
18598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
18599 struct buf { int x; };
18600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
18601 static char *e (p, i)
18607 static char *f (char * (*g) (char **, int), char **p, ...)
18612 s = g (p, va_arg (v,int));
18617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
18618 function prototypes and stuff, but not '\xHH' hex character constants.
18619 These don't provoke an error unfortunately, instead are silently treated
18620 as 'x'. The following induces an error, until -std is added to get
18621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
18622 array size at least. It's necessary to write '\x00'==0 to get something
18623 that's true only with -std. */
18624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18626 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18627 inside strings and character constants. */
18629 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18631 int test (int i, double x);
18632 struct s1 {int (*f) (int a);};
18633 struct s2 {int (*f) (double a);};
18634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18640 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
18645 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18648 CC="$ac_save_CC $ac_arg"
18649 if ac_fn_c_try_compile "$LINENO"; then :
18650 ac_cv_prog_cc_c89=$ac_arg
18652 rm -f core conftest.err conftest.$ac_objext
18653 test "x$ac_cv_prog_cc_c89" != "xno" && break
18655 rm -f conftest.$ac_ext
18660 case "x$ac_cv_prog_cc_c89" in
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18663 $as_echo "none needed" >&6; } ;;
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18666 $as_echo "unsupported" >&6; } ;;
18668 CC="$CC $ac_cv_prog_cc_c89"
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18670 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18672 if test "x$ac_cv_prog_cc_c89" != xno; then :
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18683 ac_cpp='$CPP $CPPFLAGS'
18684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
18688 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
18689 if ${am_cv_prog_cc_c_o+:} false; then :
18690 $as_echo_n "(cached) " >&6
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18703 # Make sure it works both with $CC and with simple cc.
18704 # Following AC_PROG_CC_C_O, we do the test twice because some
18705 # compilers refuse to overwrite an existing .o file with -o,
18706 # though they will create one.
18707 am_cv_prog_cc_c_o=yes
18708 for am_i in 1 2; do
18709 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
18710 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } \
18714 && test -f conftest2.$ac_objext; then
18717 am_cv_prog_cc_c_o=no
18721 rm -f core conftest*
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
18725 $as_echo "$am_cv_prog_cc_c_o" >&6; }
18726 if test "$am_cv_prog_cc_c_o" != yes; then
18727 # Losing compiler, so override with the script.
18728 # FIXME: It is wrong to rewrite CC.
18729 # But if we don't then we get into trouble of one sort or another.
18730 # A longer-term fix would be to have automake use am__CC in this case,
18731 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18732 CC="$am_aux_dir/compile $CC"
18735 ac_cpp='$CPP $CPPFLAGS'
18736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
18751 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
18752 if test x$gcc_no_link != xyes; then
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
18754 $as_echo_n "checking for access in -lc... " >&6; }
18755 if ${ac_cv_lib_c_access+:} false; then :
18756 $as_echo_n "(cached) " >&6
18758 ac_check_lib_save_LIBS=$LIBS
18760 if test x$gcc_no_link = xyes; then
18761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18766 /* Override any GCC internal prototype to avoid an error.
18767 Use char because int might match the return type of a GCC
18768 builtin and then its argument prototype would still apply. */
18781 if ac_fn_c_try_link "$LINENO"; then :
18782 ac_cv_lib_c_access=yes
18784 ac_cv_lib_c_access=no
18786 rm -f core conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18788 LIBS=$ac_check_lib_save_LIBS
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
18791 $as_echo "$ac_cv_lib_c_access" >&6; }
18792 if test "x$ac_cv_lib_c_access" = xyes; then :
18794 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18798 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
18803 if test "x$ac_cv_lib_c_access" = xyes; then
18805 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18807 elif test "x$ac_cv_func_access" = xyes; then
18809 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18813 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
18820 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
18821 if test x$gcc_no_link != xyes; then
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
18823 $as_echo_n "checking for brk in -lc... " >&6; }
18824 if ${ac_cv_lib_c_brk+:} false; then :
18825 $as_echo_n "(cached) " >&6
18827 ac_check_lib_save_LIBS=$LIBS
18829 if test x$gcc_no_link = xyes; then
18830 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18835 /* Override any GCC internal prototype to avoid an error.
18836 Use char because int might match the return type of a GCC
18837 builtin and then its argument prototype would still apply. */
18850 if ac_fn_c_try_link "$LINENO"; then :
18851 ac_cv_lib_c_brk=yes
18855 rm -f core conftest.err conftest.$ac_objext \
18856 conftest$ac_exeext conftest.$ac_ext
18857 LIBS=$ac_check_lib_save_LIBS
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
18860 $as_echo "$ac_cv_lib_c_brk" >&6; }
18861 if test "x$ac_cv_lib_c_brk" = xyes; then :
18863 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18867 $as_echo "#undef HAVE_BRK" >>confdefs.h
18872 if test "x$ac_cv_lib_c_brk" = xyes; then
18874 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18876 elif test "x$ac_cv_func_brk" = xyes; then
18878 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18882 $as_echo "#undef HAVE_BRK" >>confdefs.h
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
18889 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
18890 if test x$gcc_no_link != xyes; then
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
18892 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
18893 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
18894 $as_echo_n "(cached) " >&6
18896 ac_check_lib_save_LIBS=$LIBS
18898 if test x$gcc_no_link = xyes; then
18899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18904 /* Override any GCC internal prototype to avoid an error.
18905 Use char because int might match the return type of a GCC
18906 builtin and then its argument prototype would still apply. */
18914 return cfmakeraw ();
18919 if ac_fn_c_try_link "$LINENO"; then :
18920 ac_cv_lib_c_cfmakeraw=yes
18922 ac_cv_lib_c_cfmakeraw=no
18924 rm -f core conftest.err conftest.$ac_objext \
18925 conftest$ac_exeext conftest.$ac_ext
18926 LIBS=$ac_check_lib_save_LIBS
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
18929 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
18930 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
18932 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18936 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
18941 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
18943 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18945 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
18947 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18951 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_gettime" >&5
18958 $as_echo_n "checking m2 front end checking c library for clock_gettime... " >&6; }
18959 if test x$gcc_no_link != xyes; then
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
18961 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
18962 if ${ac_cv_lib_c_clock_gettime+:} false; then :
18963 $as_echo_n "(cached) " >&6
18965 ac_check_lib_save_LIBS=$LIBS
18967 if test x$gcc_no_link = xyes; then
18968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18973 /* Override any GCC internal prototype to avoid an error.
18974 Use char because int might match the return type of a GCC
18975 builtin and then its argument prototype would still apply. */
18979 char clock_gettime ();
18983 return clock_gettime ();
18988 if ac_fn_c_try_link "$LINENO"; then :
18989 ac_cv_lib_c_clock_gettime=yes
18991 ac_cv_lib_c_clock_gettime=no
18993 rm -f core conftest.err conftest.$ac_objext \
18994 conftest$ac_exeext conftest.$ac_ext
18995 LIBS=$ac_check_lib_save_LIBS
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
18998 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
18999 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
19001 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19005 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
19010 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then
19012 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19014 elif test "x$ac_cv_func_clock_gettime" = xyes; then
19016 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19020 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_settime" >&5
19027 $as_echo_n "checking m2 front end checking c library for clock_settime... " >&6; }
19028 if test x$gcc_no_link != xyes; then
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lc" >&5
19030 $as_echo_n "checking for clock_settime in -lc... " >&6; }
19031 if ${ac_cv_lib_c_clock_settime+:} false; then :
19032 $as_echo_n "(cached) " >&6
19034 ac_check_lib_save_LIBS=$LIBS
19036 if test x$gcc_no_link = xyes; then
19037 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19042 /* Override any GCC internal prototype to avoid an error.
19043 Use char because int might match the return type of a GCC
19044 builtin and then its argument prototype would still apply. */
19048 char clock_settime ();
19052 return clock_settime ();
19057 if ac_fn_c_try_link "$LINENO"; then :
19058 ac_cv_lib_c_clock_settime=yes
19060 ac_cv_lib_c_clock_settime=no
19062 rm -f core conftest.err conftest.$ac_objext \
19063 conftest$ac_exeext conftest.$ac_ext
19064 LIBS=$ac_check_lib_save_LIBS
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_settime" >&5
19067 $as_echo "$ac_cv_lib_c_clock_settime" >&6; }
19068 if test "x$ac_cv_lib_c_clock_settime" = xyes; then :
19070 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19074 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
19079 if test "x$ac_cv_lib_c_clock_settime" = xyes; then
19081 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19083 elif test "x$ac_cv_func_clock_settime" = xyes; then
19085 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19089 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
19096 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
19097 if test x$gcc_no_link != xyes; then
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
19099 $as_echo_n "checking for close in -lc... " >&6; }
19100 if ${ac_cv_lib_c_close+:} false; then :
19101 $as_echo_n "(cached) " >&6
19103 ac_check_lib_save_LIBS=$LIBS
19105 if test x$gcc_no_link = xyes; then
19106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19111 /* Override any GCC internal prototype to avoid an error.
19112 Use char because int might match the return type of a GCC
19113 builtin and then its argument prototype would still apply. */
19126 if ac_fn_c_try_link "$LINENO"; then :
19127 ac_cv_lib_c_close=yes
19129 ac_cv_lib_c_close=no
19131 rm -f core conftest.err conftest.$ac_objext \
19132 conftest$ac_exeext conftest.$ac_ext
19133 LIBS=$ac_check_lib_save_LIBS
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
19136 $as_echo "$ac_cv_lib_c_close" >&6; }
19137 if test "x$ac_cv_lib_c_close" = xyes; then :
19139 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19143 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
19148 if test "x$ac_cv_lib_c_close" = xyes; then
19150 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19152 elif test "x$ac_cv_func_close" = xyes; then
19154 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19158 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
19165 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
19166 if test x$gcc_no_link != xyes; then
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
19168 $as_echo_n "checking for ctime in -lc... " >&6; }
19169 if ${ac_cv_lib_c_ctime+:} false; then :
19170 $as_echo_n "(cached) " >&6
19172 ac_check_lib_save_LIBS=$LIBS
19174 if test x$gcc_no_link = xyes; then
19175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19180 /* Override any GCC internal prototype to avoid an error.
19181 Use char because int might match the return type of a GCC
19182 builtin and then its argument prototype would still apply. */
19195 if ac_fn_c_try_link "$LINENO"; then :
19196 ac_cv_lib_c_ctime=yes
19198 ac_cv_lib_c_ctime=no
19200 rm -f core conftest.err conftest.$ac_objext \
19201 conftest$ac_exeext conftest.$ac_ext
19202 LIBS=$ac_check_lib_save_LIBS
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
19205 $as_echo "$ac_cv_lib_c_ctime" >&6; }
19206 if test "x$ac_cv_lib_c_ctime" = xyes; then :
19208 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19212 $as_echo "#undef HAVE_CTIME" >>confdefs.h
19217 if test "x$ac_cv_lib_c_ctime" = xyes; then
19219 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19221 elif test "x$ac_cv_func_ctime" = xyes; then
19223 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19227 $as_echo "#undef HAVE_CTIME" >>confdefs.h
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
19234 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
19235 if test x$gcc_no_link != xyes; then
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
19237 $as_echo_n "checking for creat in -lc... " >&6; }
19238 if ${ac_cv_lib_c_creat+:} false; then :
19239 $as_echo_n "(cached) " >&6
19241 ac_check_lib_save_LIBS=$LIBS
19243 if test x$gcc_no_link = xyes; then
19244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h. */
19249 /* Override any GCC internal prototype to avoid an error.
19250 Use char because int might match the return type of a GCC
19251 builtin and then its argument prototype would still apply. */
19264 if ac_fn_c_try_link "$LINENO"; then :
19265 ac_cv_lib_c_creat=yes
19267 ac_cv_lib_c_creat=no
19269 rm -f core conftest.err conftest.$ac_objext \
19270 conftest$ac_exeext conftest.$ac_ext
19271 LIBS=$ac_check_lib_save_LIBS
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
19274 $as_echo "$ac_cv_lib_c_creat" >&6; }
19275 if test "x$ac_cv_lib_c_creat" = xyes; then :
19277 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19281 $as_echo "#undef HAVE_CREAT" >>confdefs.h
19286 if test "x$ac_cv_lib_c_creat" = xyes; then
19288 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19290 elif test "x$ac_cv_func_creat" = xyes; then
19292 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19296 $as_echo "#undef HAVE_CREAT" >>confdefs.h
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for daylight" >&5
19303 $as_echo_n "checking m2 front end checking c library for daylight... " >&6; }
19304 if test x$gcc_no_link != xyes; then
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight in -lc" >&5
19306 $as_echo_n "checking for daylight in -lc... " >&6; }
19307 if ${ac_cv_lib_c_daylight+:} false; then :
19308 $as_echo_n "(cached) " >&6
19310 ac_check_lib_save_LIBS=$LIBS
19312 if test x$gcc_no_link = xyes; then
19313 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19318 /* Override any GCC internal prototype to avoid an error.
19319 Use char because int might match the return type of a GCC
19320 builtin and then its argument prototype would still apply. */
19328 return daylight ();
19333 if ac_fn_c_try_link "$LINENO"; then :
19334 ac_cv_lib_c_daylight=yes
19336 ac_cv_lib_c_daylight=no
19338 rm -f core conftest.err conftest.$ac_objext \
19339 conftest$ac_exeext conftest.$ac_ext
19340 LIBS=$ac_check_lib_save_LIBS
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_daylight" >&5
19343 $as_echo "$ac_cv_lib_c_daylight" >&6; }
19344 if test "x$ac_cv_lib_c_daylight" = xyes; then :
19346 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19350 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
19355 if test "x$ac_cv_lib_c_daylight" = xyes; then
19357 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19359 elif test "x$ac_cv_func_daylight" = xyes; then
19361 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19365 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
19372 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
19373 if test x$gcc_no_link != xyes; then
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
19375 $as_echo_n "checking for dup in -lc... " >&6; }
19376 if ${ac_cv_lib_c_dup+:} false; then :
19377 $as_echo_n "(cached) " >&6
19379 ac_check_lib_save_LIBS=$LIBS
19381 if test x$gcc_no_link = xyes; then
19382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19387 /* Override any GCC internal prototype to avoid an error.
19388 Use char because int might match the return type of a GCC
19389 builtin and then its argument prototype would still apply. */
19402 if ac_fn_c_try_link "$LINENO"; then :
19403 ac_cv_lib_c_dup=yes
19407 rm -f core conftest.err conftest.$ac_objext \
19408 conftest$ac_exeext conftest.$ac_ext
19409 LIBS=$ac_check_lib_save_LIBS
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
19412 $as_echo "$ac_cv_lib_c_dup" >&6; }
19413 if test "x$ac_cv_lib_c_dup" = xyes; then :
19415 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19419 $as_echo "#undef HAVE_DUP" >>confdefs.h
19424 if test "x$ac_cv_lib_c_dup" = xyes; then
19426 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19428 elif test "x$ac_cv_func_dup" = xyes; then
19430 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19434 $as_echo "#undef HAVE_DUP" >>confdefs.h
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
19441 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
19442 if test x$gcc_no_link != xyes; then
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
19444 $as_echo_n "checking for execve in -lc... " >&6; }
19445 if ${ac_cv_lib_c_execve+:} false; then :
19446 $as_echo_n "(cached) " >&6
19448 ac_check_lib_save_LIBS=$LIBS
19450 if test x$gcc_no_link = xyes; then
19451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19456 /* Override any GCC internal prototype to avoid an error.
19457 Use char because int might match the return type of a GCC
19458 builtin and then its argument prototype would still apply. */
19471 if ac_fn_c_try_link "$LINENO"; then :
19472 ac_cv_lib_c_execve=yes
19474 ac_cv_lib_c_execve=no
19476 rm -f core conftest.err conftest.$ac_objext \
19477 conftest$ac_exeext conftest.$ac_ext
19478 LIBS=$ac_check_lib_save_LIBS
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
19481 $as_echo "$ac_cv_lib_c_execve" >&6; }
19482 if test "x$ac_cv_lib_c_execve" = xyes; then :
19484 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19488 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
19493 if test "x$ac_cv_lib_c_execve" = xyes; then
19495 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19497 elif test "x$ac_cv_func_execve" = xyes; then
19499 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19503 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
19510 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
19511 if test x$gcc_no_link != xyes; then
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
19513 $as_echo_n "checking for exit in -lc... " >&6; }
19514 if ${ac_cv_lib_c_exit+:} false; then :
19515 $as_echo_n "(cached) " >&6
19517 ac_check_lib_save_LIBS=$LIBS
19519 if test x$gcc_no_link = xyes; then
19520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19525 /* Override any GCC internal prototype to avoid an error.
19526 Use char because int might match the return type of a GCC
19527 builtin and then its argument prototype would still apply. */
19540 if ac_fn_c_try_link "$LINENO"; then :
19541 ac_cv_lib_c_exit=yes
19543 ac_cv_lib_c_exit=no
19545 rm -f core conftest.err conftest.$ac_objext \
19546 conftest$ac_exeext conftest.$ac_ext
19547 LIBS=$ac_check_lib_save_LIBS
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
19550 $as_echo "$ac_cv_lib_c_exit" >&6; }
19551 if test "x$ac_cv_lib_c_exit" = xyes; then :
19553 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19557 $as_echo "#undef HAVE_EXIT" >>confdefs.h
19562 if test "x$ac_cv_lib_c_exit" = xyes; then
19564 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19566 elif test "x$ac_cv_func_exit" = xyes; then
19568 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19572 $as_echo "#undef HAVE_EXIT" >>confdefs.h
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
19579 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
19580 if test x$gcc_no_link != xyes; then
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
19582 $as_echo_n "checking for fcntl in -lc... " >&6; }
19583 if ${ac_cv_lib_c_fcntl+:} false; then :
19584 $as_echo_n "(cached) " >&6
19586 ac_check_lib_save_LIBS=$LIBS
19588 if test x$gcc_no_link = xyes; then
19589 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h. */
19594 /* Override any GCC internal prototype to avoid an error.
19595 Use char because int might match the return type of a GCC
19596 builtin and then its argument prototype would still apply. */
19609 if ac_fn_c_try_link "$LINENO"; then :
19610 ac_cv_lib_c_fcntl=yes
19612 ac_cv_lib_c_fcntl=no
19614 rm -f core conftest.err conftest.$ac_objext \
19615 conftest$ac_exeext conftest.$ac_ext
19616 LIBS=$ac_check_lib_save_LIBS
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
19619 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
19620 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
19622 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19626 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
19631 if test "x$ac_cv_lib_c_fcntl" = xyes; then
19633 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19635 elif test "x$ac_cv_func_fcntl" = xyes; then
19637 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19641 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
19648 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
19649 if test x$gcc_no_link != xyes; then
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
19651 $as_echo_n "checking for fstat in -lc... " >&6; }
19652 if ${ac_cv_lib_c_fstat+:} false; then :
19653 $as_echo_n "(cached) " >&6
19655 ac_check_lib_save_LIBS=$LIBS
19657 if test x$gcc_no_link = xyes; then
19658 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19663 /* Override any GCC internal prototype to avoid an error.
19664 Use char because int might match the return type of a GCC
19665 builtin and then its argument prototype would still apply. */
19678 if ac_fn_c_try_link "$LINENO"; then :
19679 ac_cv_lib_c_fstat=yes
19681 ac_cv_lib_c_fstat=no
19683 rm -f core conftest.err conftest.$ac_objext \
19684 conftest$ac_exeext conftest.$ac_ext
19685 LIBS=$ac_check_lib_save_LIBS
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
19688 $as_echo "$ac_cv_lib_c_fstat" >&6; }
19689 if test "x$ac_cv_lib_c_fstat" = xyes; then :
19691 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19695 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
19700 if test "x$ac_cv_lib_c_fstat" = xyes; then
19702 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19704 elif test "x$ac_cv_func_fstat" = xyes; then
19706 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19710 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
19717 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
19718 if test x$gcc_no_link != xyes; then
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
19720 $as_echo_n "checking for getdents in -lc... " >&6; }
19721 if ${ac_cv_lib_c_getdents+:} false; then :
19722 $as_echo_n "(cached) " >&6
19724 ac_check_lib_save_LIBS=$LIBS
19726 if test x$gcc_no_link = xyes; then
19727 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19732 /* Override any GCC internal prototype to avoid an error.
19733 Use char because int might match the return type of a GCC
19734 builtin and then its argument prototype would still apply. */
19742 return getdents ();
19747 if ac_fn_c_try_link "$LINENO"; then :
19748 ac_cv_lib_c_getdents=yes
19750 ac_cv_lib_c_getdents=no
19752 rm -f core conftest.err conftest.$ac_objext \
19753 conftest$ac_exeext conftest.$ac_ext
19754 LIBS=$ac_check_lib_save_LIBS
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
19757 $as_echo "$ac_cv_lib_c_getdents" >&6; }
19758 if test "x$ac_cv_lib_c_getdents" = xyes; then :
19760 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19764 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
19769 if test "x$ac_cv_lib_c_getdents" = xyes; then
19771 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19773 elif test "x$ac_cv_func_getdents" = xyes; then
19775 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19779 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
19786 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
19787 if test x$gcc_no_link != xyes; then
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
19789 $as_echo_n "checking for getgid in -lc... " >&6; }
19790 if ${ac_cv_lib_c_getgid+:} false; then :
19791 $as_echo_n "(cached) " >&6
19793 ac_check_lib_save_LIBS=$LIBS
19795 if test x$gcc_no_link = xyes; then
19796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19816 if ac_fn_c_try_link "$LINENO"; then :
19817 ac_cv_lib_c_getgid=yes
19819 ac_cv_lib_c_getgid=no
19821 rm -f core conftest.err conftest.$ac_objext \
19822 conftest$ac_exeext conftest.$ac_ext
19823 LIBS=$ac_check_lib_save_LIBS
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
19826 $as_echo "$ac_cv_lib_c_getgid" >&6; }
19827 if test "x$ac_cv_lib_c_getgid" = xyes; then :
19829 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19833 $as_echo "#undef HAVE_GETGID" >>confdefs.h
19838 if test "x$ac_cv_lib_c_getgid" = xyes; then
19840 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19842 elif test "x$ac_cv_func_getgid" = xyes; then
19844 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19848 $as_echo "#undef HAVE_GETGID" >>confdefs.h
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long" >&5
19855 $as_echo_n "checking m2 front end checking c library for getopt_long... " >&6; }
19856 if test x$gcc_no_link != xyes; then
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lc" >&5
19858 $as_echo_n "checking for getopt_long in -lc... " >&6; }
19859 if ${ac_cv_lib_c_getopt_long+:} false; then :
19860 $as_echo_n "(cached) " >&6
19862 ac_check_lib_save_LIBS=$LIBS
19864 if test x$gcc_no_link = xyes; then
19865 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19870 /* Override any GCC internal prototype to avoid an error.
19871 Use char because int might match the return type of a GCC
19872 builtin and then its argument prototype would still apply. */
19876 char getopt_long ();
19880 return getopt_long ();
19885 if ac_fn_c_try_link "$LINENO"; then :
19886 ac_cv_lib_c_getopt_long=yes
19888 ac_cv_lib_c_getopt_long=no
19890 rm -f core conftest.err conftest.$ac_objext \
19891 conftest$ac_exeext conftest.$ac_ext
19892 LIBS=$ac_check_lib_save_LIBS
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long" >&5
19895 $as_echo "$ac_cv_lib_c_getopt_long" >&6; }
19896 if test "x$ac_cv_lib_c_getopt_long" = xyes; then :
19898 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19902 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
19907 if test "x$ac_cv_lib_c_getopt_long" = xyes; then
19909 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19911 elif test "x$ac_cv_func_getopt_long" = xyes; then
19913 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19917 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long_only" >&5
19924 $as_echo_n "checking m2 front end checking c library for getopt_long_only... " >&6; }
19925 if test x$gcc_no_link != xyes; then
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long_only in -lc" >&5
19927 $as_echo_n "checking for getopt_long_only in -lc... " >&6; }
19928 if ${ac_cv_lib_c_getopt_long_only+:} false; then :
19929 $as_echo_n "(cached) " >&6
19931 ac_check_lib_save_LIBS=$LIBS
19933 if test x$gcc_no_link = xyes; then
19934 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19937 /* end confdefs.h. */
19939 /* Override any GCC internal prototype to avoid an error.
19940 Use char because int might match the return type of a GCC
19941 builtin and then its argument prototype would still apply. */
19945 char getopt_long_only ();
19949 return getopt_long_only ();
19954 if ac_fn_c_try_link "$LINENO"; then :
19955 ac_cv_lib_c_getopt_long_only=yes
19957 ac_cv_lib_c_getopt_long_only=no
19959 rm -f core conftest.err conftest.$ac_objext \
19960 conftest$ac_exeext conftest.$ac_ext
19961 LIBS=$ac_check_lib_save_LIBS
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long_only" >&5
19964 $as_echo "$ac_cv_lib_c_getopt_long_only" >&6; }
19965 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then :
19967 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19971 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
19976 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then
19978 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19980 elif test "x$ac_cv_func_getopt_long_only" = xyes; then
19982 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19986 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
19993 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
19994 if test x$gcc_no_link != xyes; then
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
19996 $as_echo_n "checking for getpid in -lc... " >&6; }
19997 if ${ac_cv_lib_c_getpid+:} false; then :
19998 $as_echo_n "(cached) " >&6
20000 ac_check_lib_save_LIBS=$LIBS
20002 if test x$gcc_no_link = xyes; then
20003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20008 /* Override any GCC internal prototype to avoid an error.
20009 Use char because int might match the return type of a GCC
20010 builtin and then its argument prototype would still apply. */
20023 if ac_fn_c_try_link "$LINENO"; then :
20024 ac_cv_lib_c_getpid=yes
20026 ac_cv_lib_c_getpid=no
20028 rm -f core conftest.err conftest.$ac_objext \
20029 conftest$ac_exeext conftest.$ac_ext
20030 LIBS=$ac_check_lib_save_LIBS
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
20033 $as_echo "$ac_cv_lib_c_getpid" >&6; }
20034 if test "x$ac_cv_lib_c_getpid" = xyes; then :
20036 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
20040 $as_echo "#undef HAVE_GETPID" >>confdefs.h
20045 if test "x$ac_cv_lib_c_getpid" = xyes; then
20047 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
20049 elif test "x$ac_cv_func_getpid" = xyes; then
20051 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
20055 $as_echo "#undef HAVE_GETPID" >>confdefs.h
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
20062 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
20063 if test x$gcc_no_link != xyes; then
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
20065 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
20066 if ${ac_cv_lib_c_gettimeofday+:} false; then :
20067 $as_echo_n "(cached) " >&6
20069 ac_check_lib_save_LIBS=$LIBS
20071 if test x$gcc_no_link = xyes; then
20072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20075 /* end confdefs.h. */
20077 /* Override any GCC internal prototype to avoid an error.
20078 Use char because int might match the return type of a GCC
20079 builtin and then its argument prototype would still apply. */
20083 char gettimeofday ();
20087 return gettimeofday ();
20092 if ac_fn_c_try_link "$LINENO"; then :
20093 ac_cv_lib_c_gettimeofday=yes
20095 ac_cv_lib_c_gettimeofday=no
20097 rm -f core conftest.err conftest.$ac_objext \
20098 conftest$ac_exeext conftest.$ac_ext
20099 LIBS=$ac_check_lib_save_LIBS
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
20102 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
20103 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
20105 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
20109 $as_echo "#undef HAVE_GETTIMEOFDAY" >>confdefs.h
20114 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
20116 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
20118 elif test "x$ac_cv_func_gettimeofday" = xyes; then
20120 $as_echo "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
20124 $as_echo "#undef HAVE_GETTIMEOFDAY" >>confdefs.h
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
20131 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
20132 if test x$gcc_no_link != xyes; then
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
20134 $as_echo_n "checking for getuid in -lc... " >&6; }
20135 if ${ac_cv_lib_c_getuid+:} false; then :
20136 $as_echo_n "(cached) " >&6
20138 ac_check_lib_save_LIBS=$LIBS
20140 if test x$gcc_no_link = xyes; then
20141 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20146 /* Override any GCC internal prototype to avoid an error.
20147 Use char because int might match the return type of a GCC
20148 builtin and then its argument prototype would still apply. */
20161 if ac_fn_c_try_link "$LINENO"; then :
20162 ac_cv_lib_c_getuid=yes
20164 ac_cv_lib_c_getuid=no
20166 rm -f core conftest.err conftest.$ac_objext \
20167 conftest$ac_exeext conftest.$ac_ext
20168 LIBS=$ac_check_lib_save_LIBS
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
20171 $as_echo "$ac_cv_lib_c_getuid" >&6; }
20172 if test "x$ac_cv_lib_c_getuid" = xyes; then :
20174 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20178 $as_echo "#undef HAVE_GETUID" >>confdefs.h
20183 if test "x$ac_cv_lib_c_getuid" = xyes; then
20185 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20187 elif test "x$ac_cv_func_getuid" = xyes; then
20189 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20193 $as_echo "#undef HAVE_GETUID" >>confdefs.h
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
20200 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
20201 if test x$gcc_no_link != xyes; then
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
20203 $as_echo_n "checking for ioctl in -lc... " >&6; }
20204 if ${ac_cv_lib_c_ioctl+:} false; then :
20205 $as_echo_n "(cached) " >&6
20207 ac_check_lib_save_LIBS=$LIBS
20209 if test x$gcc_no_link = xyes; then
20210 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20213 /* end confdefs.h. */
20215 /* Override any GCC internal prototype to avoid an error.
20216 Use char because int might match the return type of a GCC
20217 builtin and then its argument prototype would still apply. */
20230 if ac_fn_c_try_link "$LINENO"; then :
20231 ac_cv_lib_c_ioctl=yes
20233 ac_cv_lib_c_ioctl=no
20235 rm -f core conftest.err conftest.$ac_objext \
20236 conftest$ac_exeext conftest.$ac_ext
20237 LIBS=$ac_check_lib_save_LIBS
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
20240 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
20241 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
20243 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20247 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
20252 if test "x$ac_cv_lib_c_ioctl" = xyes; then
20254 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20256 elif test "x$ac_cv_func_ioctl" = xyes; then
20258 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20262 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
20269 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
20270 if test x$gcc_no_link != xyes; then
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
20272 $as_echo_n "checking for kill in -lc... " >&6; }
20273 if ${ac_cv_lib_c_kill+:} false; then :
20274 $as_echo_n "(cached) " >&6
20276 ac_check_lib_save_LIBS=$LIBS
20278 if test x$gcc_no_link = xyes; then
20279 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282 /* end confdefs.h. */
20284 /* Override any GCC internal prototype to avoid an error.
20285 Use char because int might match the return type of a GCC
20286 builtin and then its argument prototype would still apply. */
20299 if ac_fn_c_try_link "$LINENO"; then :
20300 ac_cv_lib_c_kill=yes
20302 ac_cv_lib_c_kill=no
20304 rm -f core conftest.err conftest.$ac_objext \
20305 conftest$ac_exeext conftest.$ac_ext
20306 LIBS=$ac_check_lib_save_LIBS
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
20309 $as_echo "$ac_cv_lib_c_kill" >&6; }
20310 if test "x$ac_cv_lib_c_kill" = xyes; then :
20312 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20316 $as_echo "#undef HAVE_KILL" >>confdefs.h
20321 if test "x$ac_cv_lib_c_kill" = xyes; then
20323 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20325 elif test "x$ac_cv_func_kill" = xyes; then
20327 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20331 $as_echo "#undef HAVE_KILL" >>confdefs.h
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
20338 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
20339 if test x$gcc_no_link != xyes; then
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
20341 $as_echo_n "checking for link in -lc... " >&6; }
20342 if ${ac_cv_lib_c_link+:} false; then :
20343 $as_echo_n "(cached) " >&6
20345 ac_check_lib_save_LIBS=$LIBS
20347 if test x$gcc_no_link = xyes; then
20348 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20351 /* end confdefs.h. */
20353 /* Override any GCC internal prototype to avoid an error.
20354 Use char because int might match the return type of a GCC
20355 builtin and then its argument prototype would still apply. */
20368 if ac_fn_c_try_link "$LINENO"; then :
20369 ac_cv_lib_c_link=yes
20371 ac_cv_lib_c_link=no
20373 rm -f core conftest.err conftest.$ac_objext \
20374 conftest$ac_exeext conftest.$ac_ext
20375 LIBS=$ac_check_lib_save_LIBS
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
20378 $as_echo "$ac_cv_lib_c_link" >&6; }
20379 if test "x$ac_cv_lib_c_link" = xyes; then :
20381 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20385 $as_echo "#undef HAVE_LINK" >>confdefs.h
20390 if test "x$ac_cv_lib_c_link" = xyes; then
20392 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20394 elif test "x$ac_cv_func_link" = xyes; then
20396 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20400 $as_echo "#undef HAVE_LINK" >>confdefs.h
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
20407 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
20408 if test x$gcc_no_link != xyes; then
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
20410 $as_echo_n "checking for lseek in -lc... " >&6; }
20411 if ${ac_cv_lib_c_lseek+:} false; then :
20412 $as_echo_n "(cached) " >&6
20414 ac_check_lib_save_LIBS=$LIBS
20416 if test x$gcc_no_link = xyes; then
20417 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20420 /* end confdefs.h. */
20422 /* Override any GCC internal prototype to avoid an error.
20423 Use char because int might match the return type of a GCC
20424 builtin and then its argument prototype would still apply. */
20437 if ac_fn_c_try_link "$LINENO"; then :
20438 ac_cv_lib_c_lseek=yes
20440 ac_cv_lib_c_lseek=no
20442 rm -f core conftest.err conftest.$ac_objext \
20443 conftest$ac_exeext conftest.$ac_ext
20444 LIBS=$ac_check_lib_save_LIBS
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
20447 $as_echo "$ac_cv_lib_c_lseek" >&6; }
20448 if test "x$ac_cv_lib_c_lseek" = xyes; then :
20450 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20454 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
20459 if test "x$ac_cv_lib_c_lseek" = xyes; then
20461 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20463 elif test "x$ac_cv_func_lseek" = xyes; then
20465 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20469 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
20476 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
20477 if test x$gcc_no_link != xyes; then
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
20479 $as_echo_n "checking for open in -lc... " >&6; }
20480 if ${ac_cv_lib_c_open+:} false; then :
20481 $as_echo_n "(cached) " >&6
20483 ac_check_lib_save_LIBS=$LIBS
20485 if test x$gcc_no_link = xyes; then
20486 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20489 /* end confdefs.h. */
20491 /* Override any GCC internal prototype to avoid an error.
20492 Use char because int might match the return type of a GCC
20493 builtin and then its argument prototype would still apply. */
20506 if ac_fn_c_try_link "$LINENO"; then :
20507 ac_cv_lib_c_open=yes
20509 ac_cv_lib_c_open=no
20511 rm -f core conftest.err conftest.$ac_objext \
20512 conftest$ac_exeext conftest.$ac_ext
20513 LIBS=$ac_check_lib_save_LIBS
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
20516 $as_echo "$ac_cv_lib_c_open" >&6; }
20517 if test "x$ac_cv_lib_c_open" = xyes; then :
20519 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20523 $as_echo "#undef HAVE_OPEN" >>confdefs.h
20528 if test "x$ac_cv_lib_c_open" = xyes; then
20530 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20532 elif test "x$ac_cv_func_open" = xyes; then
20534 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20538 $as_echo "#undef HAVE_OPEN" >>confdefs.h
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
20545 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
20546 if test x$gcc_no_link != xyes; then
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
20548 $as_echo_n "checking for pause in -lc... " >&6; }
20549 if ${ac_cv_lib_c_pause+:} false; then :
20550 $as_echo_n "(cached) " >&6
20552 ac_check_lib_save_LIBS=$LIBS
20554 if test x$gcc_no_link = xyes; then
20555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20558 /* end confdefs.h. */
20560 /* Override any GCC internal prototype to avoid an error.
20561 Use char because int might match the return type of a GCC
20562 builtin and then its argument prototype would still apply. */
20575 if ac_fn_c_try_link "$LINENO"; then :
20576 ac_cv_lib_c_pause=yes
20578 ac_cv_lib_c_pause=no
20580 rm -f core conftest.err conftest.$ac_objext \
20581 conftest$ac_exeext conftest.$ac_ext
20582 LIBS=$ac_check_lib_save_LIBS
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
20585 $as_echo "$ac_cv_lib_c_pause" >&6; }
20586 if test "x$ac_cv_lib_c_pause" = xyes; then :
20588 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20592 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
20597 if test "x$ac_cv_lib_c_pause" = xyes; then
20599 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20601 elif test "x$ac_cv_func_pause" = xyes; then
20603 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20607 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
20614 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
20615 if test x$gcc_no_link != xyes; then
20616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
20617 $as_echo_n "checking for pipe in -lc... " >&6; }
20618 if ${ac_cv_lib_c_pipe+:} false; then :
20619 $as_echo_n "(cached) " >&6
20621 ac_check_lib_save_LIBS=$LIBS
20623 if test x$gcc_no_link = xyes; then
20624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h. */
20629 /* Override any GCC internal prototype to avoid an error.
20630 Use char because int might match the return type of a GCC
20631 builtin and then its argument prototype would still apply. */
20644 if ac_fn_c_try_link "$LINENO"; then :
20645 ac_cv_lib_c_pipe=yes
20647 ac_cv_lib_c_pipe=no
20649 rm -f core conftest.err conftest.$ac_objext \
20650 conftest$ac_exeext conftest.$ac_ext
20651 LIBS=$ac_check_lib_save_LIBS
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
20654 $as_echo "$ac_cv_lib_c_pipe" >&6; }
20655 if test "x$ac_cv_lib_c_pipe" = xyes; then :
20657 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20661 $as_echo "#undef HAVE_PIPE" >>confdefs.h
20666 if test "x$ac_cv_lib_c_pipe" = xyes; then
20668 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20670 elif test "x$ac_cv_func_pipe" = xyes; then
20672 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20676 $as_echo "#undef HAVE_PIPE" >>confdefs.h
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
20683 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
20684 if test x$gcc_no_link != xyes; then
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
20686 $as_echo_n "checking for rand in -lc... " >&6; }
20687 if ${ac_cv_lib_c_rand+:} false; then :
20688 $as_echo_n "(cached) " >&6
20690 ac_check_lib_save_LIBS=$LIBS
20692 if test x$gcc_no_link = xyes; then
20693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20696 /* end confdefs.h. */
20698 /* Override any GCC internal prototype to avoid an error.
20699 Use char because int might match the return type of a GCC
20700 builtin and then its argument prototype would still apply. */
20713 if ac_fn_c_try_link "$LINENO"; then :
20714 ac_cv_lib_c_rand=yes
20716 ac_cv_lib_c_rand=no
20718 rm -f core conftest.err conftest.$ac_objext \
20719 conftest$ac_exeext conftest.$ac_ext
20720 LIBS=$ac_check_lib_save_LIBS
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
20723 $as_echo "$ac_cv_lib_c_rand" >&6; }
20724 if test "x$ac_cv_lib_c_rand" = xyes; then :
20726 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20730 $as_echo "#undef HAVE_RAND" >>confdefs.h
20735 if test "x$ac_cv_lib_c_rand" = xyes; then
20737 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20739 elif test "x$ac_cv_func_rand" = xyes; then
20741 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20745 $as_echo "#undef HAVE_RAND" >>confdefs.h
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
20752 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
20753 if test x$gcc_no_link != xyes; then
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
20755 $as_echo_n "checking for read in -lc... " >&6; }
20756 if ${ac_cv_lib_c_read+:} false; then :
20757 $as_echo_n "(cached) " >&6
20759 ac_check_lib_save_LIBS=$LIBS
20761 if test x$gcc_no_link = xyes; then
20762 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20765 /* end confdefs.h. */
20767 /* Override any GCC internal prototype to avoid an error.
20768 Use char because int might match the return type of a GCC
20769 builtin and then its argument prototype would still apply. */
20782 if ac_fn_c_try_link "$LINENO"; then :
20783 ac_cv_lib_c_read=yes
20785 ac_cv_lib_c_read=no
20787 rm -f core conftest.err conftest.$ac_objext \
20788 conftest$ac_exeext conftest.$ac_ext
20789 LIBS=$ac_check_lib_save_LIBS
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
20792 $as_echo "$ac_cv_lib_c_read" >&6; }
20793 if test "x$ac_cv_lib_c_read" = xyes; then :
20795 $as_echo "#define HAVE_READ 1" >>confdefs.h
20799 $as_echo "#undef HAVE_READ" >>confdefs.h
20804 if test "x$ac_cv_lib_c_read" = xyes; then
20806 $as_echo "#define HAVE_READ 1" >>confdefs.h
20808 elif test "x$ac_cv_func_read" = xyes; then
20810 $as_echo "#define HAVE_READ 1" >>confdefs.h
20814 $as_echo "#undef HAVE_READ" >>confdefs.h
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
20821 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
20822 if test x$gcc_no_link != xyes; then
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
20824 $as_echo_n "checking for select in -lc... " >&6; }
20825 if ${ac_cv_lib_c_select+:} false; then :
20826 $as_echo_n "(cached) " >&6
20828 ac_check_lib_save_LIBS=$LIBS
20830 if test x$gcc_no_link = xyes; then
20831 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20836 /* Override any GCC internal prototype to avoid an error.
20837 Use char because int might match the return type of a GCC
20838 builtin and then its argument prototype would still apply. */
20851 if ac_fn_c_try_link "$LINENO"; then :
20852 ac_cv_lib_c_select=yes
20854 ac_cv_lib_c_select=no
20856 rm -f core conftest.err conftest.$ac_objext \
20857 conftest$ac_exeext conftest.$ac_ext
20858 LIBS=$ac_check_lib_save_LIBS
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
20861 $as_echo "$ac_cv_lib_c_select" >&6; }
20862 if test "x$ac_cv_lib_c_select" = xyes; then :
20864 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20868 $as_echo "#undef HAVE_SELECT" >>confdefs.h
20873 if test "x$ac_cv_lib_c_select" = xyes; then
20875 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20877 elif test "x$ac_cv_func_select" = xyes; then
20879 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20883 $as_echo "#undef HAVE_SELECT" >>confdefs.h
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
20890 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
20891 if test x$gcc_no_link != xyes; then
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
20893 $as_echo_n "checking for setitimer in -lc... " >&6; }
20894 if ${ac_cv_lib_c_setitimer+:} false; then :
20895 $as_echo_n "(cached) " >&6
20897 ac_check_lib_save_LIBS=$LIBS
20899 if test x$gcc_no_link = xyes; then
20900 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20905 /* Override any GCC internal prototype to avoid an error.
20906 Use char because int might match the return type of a GCC
20907 builtin and then its argument prototype would still apply. */
20915 return setitimer ();
20920 if ac_fn_c_try_link "$LINENO"; then :
20921 ac_cv_lib_c_setitimer=yes
20923 ac_cv_lib_c_setitimer=no
20925 rm -f core conftest.err conftest.$ac_objext \
20926 conftest$ac_exeext conftest.$ac_ext
20927 LIBS=$ac_check_lib_save_LIBS
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
20930 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
20931 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
20933 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20937 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
20942 if test "x$ac_cv_lib_c_setitimer" = xyes; then
20944 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20946 elif test "x$ac_cv_func_setitimer" = xyes; then
20948 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20952 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
20959 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
20960 if test x$gcc_no_link != xyes; then
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
20962 $as_echo_n "checking for setgid in -lc... " >&6; }
20963 if ${ac_cv_lib_c_setgid+:} false; then :
20964 $as_echo_n "(cached) " >&6
20966 ac_check_lib_save_LIBS=$LIBS
20968 if test x$gcc_no_link = xyes; then
20969 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20974 /* Override any GCC internal prototype to avoid an error.
20975 Use char because int might match the return type of a GCC
20976 builtin and then its argument prototype would still apply. */
20989 if ac_fn_c_try_link "$LINENO"; then :
20990 ac_cv_lib_c_setgid=yes
20992 ac_cv_lib_c_setgid=no
20994 rm -f core conftest.err conftest.$ac_objext \
20995 conftest$ac_exeext conftest.$ac_ext
20996 LIBS=$ac_check_lib_save_LIBS
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
20999 $as_echo "$ac_cv_lib_c_setgid" >&6; }
21000 if test "x$ac_cv_lib_c_setgid" = xyes; then :
21002 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
21006 $as_echo "#undef HAVE_SETGID" >>confdefs.h
21011 if test "x$ac_cv_lib_c_setgid" = xyes; then
21013 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
21015 elif test "x$ac_cv_func_setgid" = xyes; then
21017 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
21021 $as_echo "#undef HAVE_SETGID" >>confdefs.h
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for settimeofday" >&5
21028 $as_echo_n "checking m2 front end checking c library for settimeofday... " >&6; }
21029 if test x$gcc_no_link != xyes; then
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for settimeofday in -lc" >&5
21031 $as_echo_n "checking for settimeofday in -lc... " >&6; }
21032 if ${ac_cv_lib_c_settimeofday+:} false; then :
21033 $as_echo_n "(cached) " >&6
21035 ac_check_lib_save_LIBS=$LIBS
21037 if test x$gcc_no_link = xyes; then
21038 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 /* end confdefs.h. */
21043 /* Override any GCC internal prototype to avoid an error.
21044 Use char because int might match the return type of a GCC
21045 builtin and then its argument prototype would still apply. */
21049 char settimeofday ();
21053 return settimeofday ();
21058 if ac_fn_c_try_link "$LINENO"; then :
21059 ac_cv_lib_c_settimeofday=yes
21061 ac_cv_lib_c_settimeofday=no
21063 rm -f core conftest.err conftest.$ac_objext \
21064 conftest$ac_exeext conftest.$ac_ext
21065 LIBS=$ac_check_lib_save_LIBS
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_settimeofday" >&5
21068 $as_echo "$ac_cv_lib_c_settimeofday" >&6; }
21069 if test "x$ac_cv_lib_c_settimeofday" = xyes; then :
21071 $as_echo "#define HAVE_SETTIMEOFDAY 1" >>confdefs.h
21075 $as_echo "#undef HAVE_SETTIMEOFDAY" >>confdefs.h
21080 if test "x$ac_cv_lib_c_settimeofday" = xyes; then
21082 $as_echo "#define HAVE_SETTIMEOFDAY 1" >>confdefs.h
21084 elif test "x$ac_cv_func_settimeofday" = xyes; then
21086 $as_echo "#define HAVE_SETTIMEOFDAY 1" >>confdefs.h
21090 $as_echo "#undef HAVE_SETTIMEOFDAY" >>confdefs.h
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
21097 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
21098 if test x$gcc_no_link != xyes; then
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
21100 $as_echo_n "checking for setuid in -lc... " >&6; }
21101 if ${ac_cv_lib_c_setuid+:} false; then :
21102 $as_echo_n "(cached) " >&6
21104 ac_check_lib_save_LIBS=$LIBS
21106 if test x$gcc_no_link = xyes; then
21107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h. */
21112 /* Override any GCC internal prototype to avoid an error.
21113 Use char because int might match the return type of a GCC
21114 builtin and then its argument prototype would still apply. */
21127 if ac_fn_c_try_link "$LINENO"; then :
21128 ac_cv_lib_c_setuid=yes
21130 ac_cv_lib_c_setuid=no
21132 rm -f core conftest.err conftest.$ac_objext \
21133 conftest$ac_exeext conftest.$ac_ext
21134 LIBS=$ac_check_lib_save_LIBS
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
21137 $as_echo "$ac_cv_lib_c_setuid" >&6; }
21138 if test "x$ac_cv_lib_c_setuid" = xyes; then :
21140 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21144 $as_echo "#undef HAVE_SETUID" >>confdefs.h
21149 if test "x$ac_cv_lib_c_setuid" = xyes; then
21151 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21153 elif test "x$ac_cv_func_setuid" = xyes; then
21155 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21159 $as_echo "#undef HAVE_SETUID" >>confdefs.h
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
21166 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
21167 if test x$gcc_no_link != xyes; then
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
21169 $as_echo_n "checking for stat in -lc... " >&6; }
21170 if ${ac_cv_lib_c_stat+:} false; then :
21171 $as_echo_n "(cached) " >&6
21173 ac_check_lib_save_LIBS=$LIBS
21175 if test x$gcc_no_link = xyes; then
21176 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21179 /* end confdefs.h. */
21181 /* Override any GCC internal prototype to avoid an error.
21182 Use char because int might match the return type of a GCC
21183 builtin and then its argument prototype would still apply. */
21196 if ac_fn_c_try_link "$LINENO"; then :
21197 ac_cv_lib_c_stat=yes
21199 ac_cv_lib_c_stat=no
21201 rm -f core conftest.err conftest.$ac_objext \
21202 conftest$ac_exeext conftest.$ac_ext
21203 LIBS=$ac_check_lib_save_LIBS
21205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
21206 $as_echo "$ac_cv_lib_c_stat" >&6; }
21207 if test "x$ac_cv_lib_c_stat" = xyes; then :
21209 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21213 $as_echo "#undef HAVE_STAT" >>confdefs.h
21218 if test "x$ac_cv_lib_c_stat" = xyes; then
21220 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21222 elif test "x$ac_cv_func_stat" = xyes; then
21224 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21228 $as_echo "#undef HAVE_STAT" >>confdefs.h
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
21235 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
21236 if test x$gcc_no_link != xyes; then
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
21238 $as_echo_n "checking for strsignal in -lc... " >&6; }
21239 if ${ac_cv_lib_c_strsignal+:} false; then :
21240 $as_echo_n "(cached) " >&6
21242 ac_check_lib_save_LIBS=$LIBS
21244 if test x$gcc_no_link = xyes; then
21245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21250 /* Override any GCC internal prototype to avoid an error.
21251 Use char because int might match the return type of a GCC
21252 builtin and then its argument prototype would still apply. */
21260 return strsignal ();
21265 if ac_fn_c_try_link "$LINENO"; then :
21266 ac_cv_lib_c_strsignal=yes
21268 ac_cv_lib_c_strsignal=no
21270 rm -f core conftest.err conftest.$ac_objext \
21271 conftest$ac_exeext conftest.$ac_ext
21272 LIBS=$ac_check_lib_save_LIBS
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
21275 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
21276 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
21278 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21282 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
21287 if test "x$ac_cv_lib_c_strsignal" = xyes; then
21289 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21291 elif test "x$ac_cv_func_strsignal" = xyes; then
21293 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21297 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
21303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
21304 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
21305 if test x$gcc_no_link != xyes; then
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
21307 $as_echo_n "checking for strtod in -lc... " >&6; }
21308 if ${ac_cv_lib_c_strtod+:} false; then :
21309 $as_echo_n "(cached) " >&6
21311 ac_check_lib_save_LIBS=$LIBS
21313 if test x$gcc_no_link = xyes; then
21314 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h. */
21319 /* Override any GCC internal prototype to avoid an error.
21320 Use char because int might match the return type of a GCC
21321 builtin and then its argument prototype would still apply. */
21334 if ac_fn_c_try_link "$LINENO"; then :
21335 ac_cv_lib_c_strtod=yes
21337 ac_cv_lib_c_strtod=no
21339 rm -f core conftest.err conftest.$ac_objext \
21340 conftest$ac_exeext conftest.$ac_ext
21341 LIBS=$ac_check_lib_save_LIBS
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
21344 $as_echo "$ac_cv_lib_c_strtod" >&6; }
21345 if test "x$ac_cv_lib_c_strtod" = xyes; then :
21347 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21351 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
21356 if test "x$ac_cv_lib_c_strtod" = xyes; then
21358 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21360 elif test "x$ac_cv_func_strtod" = xyes; then
21362 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21366 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
21373 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
21374 if test x$gcc_no_link != xyes; then
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
21376 $as_echo_n "checking for strtold in -lc... " >&6; }
21377 if ${ac_cv_lib_c_strtold+:} false; then :
21378 $as_echo_n "(cached) " >&6
21380 ac_check_lib_save_LIBS=$LIBS
21382 if test x$gcc_no_link = xyes; then
21383 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21386 /* end confdefs.h. */
21388 /* Override any GCC internal prototype to avoid an error.
21389 Use char because int might match the return type of a GCC
21390 builtin and then its argument prototype would still apply. */
21403 if ac_fn_c_try_link "$LINENO"; then :
21404 ac_cv_lib_c_strtold=yes
21406 ac_cv_lib_c_strtold=no
21408 rm -f core conftest.err conftest.$ac_objext \
21409 conftest$ac_exeext conftest.$ac_ext
21410 LIBS=$ac_check_lib_save_LIBS
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
21413 $as_echo "$ac_cv_lib_c_strtold" >&6; }
21414 if test "x$ac_cv_lib_c_strtold" = xyes; then :
21416 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21420 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
21425 if test "x$ac_cv_lib_c_strtold" = xyes; then
21427 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21429 elif test "x$ac_cv_func_strtold" = xyes; then
21431 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21435 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
21442 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
21443 if test x$gcc_no_link != xyes; then
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
21445 $as_echo_n "checking for times in -lc... " >&6; }
21446 if ${ac_cv_lib_c_times+:} false; then :
21447 $as_echo_n "(cached) " >&6
21449 ac_check_lib_save_LIBS=$LIBS
21451 if test x$gcc_no_link = xyes; then
21452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21457 /* Override any GCC internal prototype to avoid an error.
21458 Use char because int might match the return type of a GCC
21459 builtin and then its argument prototype would still apply. */
21472 if ac_fn_c_try_link "$LINENO"; then :
21473 ac_cv_lib_c_times=yes
21475 ac_cv_lib_c_times=no
21477 rm -f core conftest.err conftest.$ac_objext \
21478 conftest$ac_exeext conftest.$ac_ext
21479 LIBS=$ac_check_lib_save_LIBS
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
21482 $as_echo "$ac_cv_lib_c_times" >&6; }
21483 if test "x$ac_cv_lib_c_times" = xyes; then :
21485 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21489 $as_echo "#undef HAVE_TIMES" >>confdefs.h
21494 if test "x$ac_cv_lib_c_times" = xyes; then
21496 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21498 elif test "x$ac_cv_func_times" = xyes; then
21500 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21504 $as_echo "#undef HAVE_TIMES" >>confdefs.h
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for timezone" >&5
21511 $as_echo_n "checking m2 front end checking c library for timezone... " >&6; }
21512 if test x$gcc_no_link != xyes; then
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone in -lc" >&5
21514 $as_echo_n "checking for timezone in -lc... " >&6; }
21515 if ${ac_cv_lib_c_timezone+:} false; then :
21516 $as_echo_n "(cached) " >&6
21518 ac_check_lib_save_LIBS=$LIBS
21520 if test x$gcc_no_link = xyes; then
21521 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21526 /* Override any GCC internal prototype to avoid an error.
21527 Use char because int might match the return type of a GCC
21528 builtin and then its argument prototype would still apply. */
21536 return timezone ();
21541 if ac_fn_c_try_link "$LINENO"; then :
21542 ac_cv_lib_c_timezone=yes
21544 ac_cv_lib_c_timezone=no
21546 rm -f core conftest.err conftest.$ac_objext \
21547 conftest$ac_exeext conftest.$ac_ext
21548 LIBS=$ac_check_lib_save_LIBS
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_timezone" >&5
21551 $as_echo "$ac_cv_lib_c_timezone" >&6; }
21552 if test "x$ac_cv_lib_c_timezone" = xyes; then :
21554 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21558 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
21563 if test "x$ac_cv_lib_c_timezone" = xyes; then
21565 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21567 elif test "x$ac_cv_func_timezone" = xyes; then
21569 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21573 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for tzname" >&5
21580 $as_echo_n "checking m2 front end checking c library for tzname... " >&6; }
21581 if test x$gcc_no_link != xyes; then
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname in -lc" >&5
21583 $as_echo_n "checking for tzname in -lc... " >&6; }
21584 if ${ac_cv_lib_c_tzname+:} false; then :
21585 $as_echo_n "(cached) " >&6
21587 ac_check_lib_save_LIBS=$LIBS
21589 if test x$gcc_no_link = xyes; then
21590 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21593 /* end confdefs.h. */
21595 /* Override any GCC internal prototype to avoid an error.
21596 Use char because int might match the return type of a GCC
21597 builtin and then its argument prototype would still apply. */
21610 if ac_fn_c_try_link "$LINENO"; then :
21611 ac_cv_lib_c_tzname=yes
21613 ac_cv_lib_c_tzname=no
21615 rm -f core conftest.err conftest.$ac_objext \
21616 conftest$ac_exeext conftest.$ac_ext
21617 LIBS=$ac_check_lib_save_LIBS
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_tzname" >&5
21620 $as_echo "$ac_cv_lib_c_tzname" >&6; }
21621 if test "x$ac_cv_lib_c_tzname" = xyes; then :
21623 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21627 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
21632 if test "x$ac_cv_lib_c_tzname" = xyes; then
21634 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21636 elif test "x$ac_cv_func_tzname" = xyes; then
21638 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21642 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
21649 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
21650 if test x$gcc_no_link != xyes; then
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
21652 $as_echo_n "checking for unlink in -lc... " >&6; }
21653 if ${ac_cv_lib_c_unlink+:} false; then :
21654 $as_echo_n "(cached) " >&6
21656 ac_check_lib_save_LIBS=$LIBS
21658 if test x$gcc_no_link = xyes; then
21659 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21662 /* end confdefs.h. */
21664 /* Override any GCC internal prototype to avoid an error.
21665 Use char because int might match the return type of a GCC
21666 builtin and then its argument prototype would still apply. */
21679 if ac_fn_c_try_link "$LINENO"; then :
21680 ac_cv_lib_c_unlink=yes
21682 ac_cv_lib_c_unlink=no
21684 rm -f core conftest.err conftest.$ac_objext \
21685 conftest$ac_exeext conftest.$ac_ext
21686 LIBS=$ac_check_lib_save_LIBS
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
21689 $as_echo "$ac_cv_lib_c_unlink" >&6; }
21690 if test "x$ac_cv_lib_c_unlink" = xyes; then :
21692 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21696 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
21701 if test "x$ac_cv_lib_c_unlink" = xyes; then
21703 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21705 elif test "x$ac_cv_func_unlink" = xyes; then
21707 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21711 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
21718 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
21719 if test x$gcc_no_link != xyes; then
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
21721 $as_echo_n "checking for wait in -lc... " >&6; }
21722 if ${ac_cv_lib_c_wait+:} false; then :
21723 $as_echo_n "(cached) " >&6
21725 ac_check_lib_save_LIBS=$LIBS
21727 if test x$gcc_no_link = xyes; then
21728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21731 /* end confdefs.h. */
21733 /* Override any GCC internal prototype to avoid an error.
21734 Use char because int might match the return type of a GCC
21735 builtin and then its argument prototype would still apply. */
21748 if ac_fn_c_try_link "$LINENO"; then :
21749 ac_cv_lib_c_wait=yes
21751 ac_cv_lib_c_wait=no
21753 rm -f core conftest.err conftest.$ac_objext \
21754 conftest$ac_exeext conftest.$ac_ext
21755 LIBS=$ac_check_lib_save_LIBS
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
21758 $as_echo "$ac_cv_lib_c_wait" >&6; }
21759 if test "x$ac_cv_lib_c_wait" = xyes; then :
21761 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21765 $as_echo "#undef HAVE_WAIT" >>confdefs.h
21770 if test "x$ac_cv_lib_c_wait" = xyes; then
21772 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21774 elif test "x$ac_cv_func_wait" = xyes; then
21776 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21780 $as_echo "#undef HAVE_WAIT" >>confdefs.h
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
21787 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
21788 if test x$gcc_no_link != xyes; then
21789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
21790 $as_echo_n "checking for write in -lc... " >&6; }
21791 if ${ac_cv_lib_c_write+:} false; then :
21792 $as_echo_n "(cached) " >&6
21794 ac_check_lib_save_LIBS=$LIBS
21796 if test x$gcc_no_link = xyes; then
21797 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21800 /* end confdefs.h. */
21802 /* Override any GCC internal prototype to avoid an error.
21803 Use char because int might match the return type of a GCC
21804 builtin and then its argument prototype would still apply. */
21817 if ac_fn_c_try_link "$LINENO"; then :
21818 ac_cv_lib_c_write=yes
21820 ac_cv_lib_c_write=no
21822 rm -f core conftest.err conftest.$ac_objext \
21823 conftest$ac_exeext conftest.$ac_ext
21824 LIBS=$ac_check_lib_save_LIBS
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
21827 $as_echo "$ac_cv_lib_c_write" >&6; }
21828 if test "x$ac_cv_lib_c_write" = xyes; then :
21830 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21834 $as_echo "#undef HAVE_WRITE" >>confdefs.h
21839 if test "x$ac_cv_lib_c_write" = xyes; then
21841 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21843 elif test "x$ac_cv_func_write" = xyes; then
21845 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21849 $as_echo "#undef HAVE_WRITE" >>confdefs.h
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for exp10" >&5
21857 $as_echo_n "checking m2 front end checking m library for exp10... " >&6; }
21858 if test x$gcc_no_link != xyes; then
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10 in -lm" >&5
21860 $as_echo_n "checking for exp10 in -lm... " >&6; }
21861 if ${ac_cv_lib_m_exp10+:} false; then :
21862 $as_echo_n "(cached) " >&6
21864 ac_check_lib_save_LIBS=$LIBS
21866 if test x$gcc_no_link = xyes; then
21867 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21872 /* Override any GCC internal prototype to avoid an error.
21873 Use char because int might match the return type of a GCC
21874 builtin and then its argument prototype would still apply. */
21887 if ac_fn_c_try_link "$LINENO"; then :
21888 ac_cv_lib_m_exp10=yes
21890 ac_cv_lib_m_exp10=no
21892 rm -f core conftest.err conftest.$ac_objext \
21893 conftest$ac_exeext conftest.$ac_ext
21894 LIBS=$ac_check_lib_save_LIBS
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10" >&5
21897 $as_echo "$ac_cv_lib_m_exp10" >&6; }
21898 if test "x$ac_cv_lib_m_exp10" = xyes; then :
21900 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
21904 $as_echo "#undef HAVE_EXP10" >>confdefs.h
21909 if test "x$ac_cv_lib_m_exp10" = xyes; then
21911 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
21913 elif test "x$ac_cv_func_exp10" = xyes; then
21915 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
21919 $as_echo "#undef HAVE_EXP10" >>confdefs.h
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for exp10f" >&5
21926 $as_echo_n "checking m2 front end checking m library for exp10f... " >&6; }
21927 if test x$gcc_no_link != xyes; then
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10f in -lm" >&5
21929 $as_echo_n "checking for exp10f in -lm... " >&6; }
21930 if ${ac_cv_lib_m_exp10f+:} false; then :
21931 $as_echo_n "(cached) " >&6
21933 ac_check_lib_save_LIBS=$LIBS
21935 if test x$gcc_no_link = xyes; then
21936 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21939 /* end confdefs.h. */
21941 /* Override any GCC internal prototype to avoid an error.
21942 Use char because int might match the return type of a GCC
21943 builtin and then its argument prototype would still apply. */
21956 if ac_fn_c_try_link "$LINENO"; then :
21957 ac_cv_lib_m_exp10f=yes
21959 ac_cv_lib_m_exp10f=no
21961 rm -f core conftest.err conftest.$ac_objext \
21962 conftest$ac_exeext conftest.$ac_ext
21963 LIBS=$ac_check_lib_save_LIBS
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10f" >&5
21966 $as_echo "$ac_cv_lib_m_exp10f" >&6; }
21967 if test "x$ac_cv_lib_m_exp10f" = xyes; then :
21969 $as_echo "#define HAVE_EXP10F 1" >>confdefs.h
21973 $as_echo "#undef HAVE_EXP10F" >>confdefs.h
21978 if test "x$ac_cv_lib_m_exp10f" = xyes; then
21980 $as_echo "#define HAVE_EXP10F 1" >>confdefs.h
21982 elif test "x$ac_cv_func_exp10f" = xyes; then
21984 $as_echo "#define HAVE_EXP10F 1" >>confdefs.h
21988 $as_echo "#undef HAVE_EXP10F" >>confdefs.h
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for exp10l" >&5
21995 $as_echo_n "checking m2 front end checking m library for exp10l... " >&6; }
21996 if test x$gcc_no_link != xyes; then
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10l in -lm" >&5
21998 $as_echo_n "checking for exp10l in -lm... " >&6; }
21999 if ${ac_cv_lib_m_exp10l+:} false; then :
22000 $as_echo_n "(cached) " >&6
22002 ac_check_lib_save_LIBS=$LIBS
22004 if test x$gcc_no_link = xyes; then
22005 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22010 /* Override any GCC internal prototype to avoid an error.
22011 Use char because int might match the return type of a GCC
22012 builtin and then its argument prototype would still apply. */
22025 if ac_fn_c_try_link "$LINENO"; then :
22026 ac_cv_lib_m_exp10l=yes
22028 ac_cv_lib_m_exp10l=no
22030 rm -f core conftest.err conftest.$ac_objext \
22031 conftest$ac_exeext conftest.$ac_ext
22032 LIBS=$ac_check_lib_save_LIBS
22034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10l" >&5
22035 $as_echo "$ac_cv_lib_m_exp10l" >&6; }
22036 if test "x$ac_cv_lib_m_exp10l" = xyes; then :
22038 $as_echo "#define HAVE_EXP10L 1" >>confdefs.h
22042 $as_echo "#undef HAVE_EXP10L" >>confdefs.h
22047 if test "x$ac_cv_lib_m_exp10l" = xyes; then
22049 $as_echo "#define HAVE_EXP10L 1" >>confdefs.h
22051 elif test "x$ac_cv_func_exp10l" = xyes; then
22053 $as_echo "#define HAVE_EXP10L 1" >>confdefs.h
22057 $as_echo "#undef HAVE_EXP10L" >>confdefs.h
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
22064 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
22065 if test x$gcc_no_link != xyes; then
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
22067 $as_echo_n "checking for signbit in -lm... " >&6; }
22068 if ${ac_cv_lib_m_signbit+:} false; then :
22069 $as_echo_n "(cached) " >&6
22071 ac_check_lib_save_LIBS=$LIBS
22073 if test x$gcc_no_link = xyes; then
22074 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22077 /* end confdefs.h. */
22079 /* Override any GCC internal prototype to avoid an error.
22080 Use char because int might match the return type of a GCC
22081 builtin and then its argument prototype would still apply. */
22094 if ac_fn_c_try_link "$LINENO"; then :
22095 ac_cv_lib_m_signbit=yes
22097 ac_cv_lib_m_signbit=no
22099 rm -f core conftest.err conftest.$ac_objext \
22100 conftest$ac_exeext conftest.$ac_ext
22101 LIBS=$ac_check_lib_save_LIBS
22103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
22104 $as_echo "$ac_cv_lib_m_signbit" >&6; }
22105 if test "x$ac_cv_lib_m_signbit" = xyes; then :
22107 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
22111 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
22116 if test "x$ac_cv_lib_m_signbit" = xyes; then
22118 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
22120 elif test "x$ac_cv_func_signbit" = xyes; then
22122 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
22126 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
22132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
22133 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
22134 if test x$gcc_no_link != xyes; then
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
22136 $as_echo_n "checking for signbitf in -lm... " >&6; }
22137 if ${ac_cv_lib_m_signbitf+:} false; then :
22138 $as_echo_n "(cached) " >&6
22140 ac_check_lib_save_LIBS=$LIBS
22142 if test x$gcc_no_link = xyes; then
22143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22146 /* end confdefs.h. */
22148 /* Override any GCC internal prototype to avoid an error.
22149 Use char because int might match the return type of a GCC
22150 builtin and then its argument prototype would still apply. */
22158 return signbitf ();
22163 if ac_fn_c_try_link "$LINENO"; then :
22164 ac_cv_lib_m_signbitf=yes
22166 ac_cv_lib_m_signbitf=no
22168 rm -f core conftest.err conftest.$ac_objext \
22169 conftest$ac_exeext conftest.$ac_ext
22170 LIBS=$ac_check_lib_save_LIBS
22172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
22173 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
22174 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
22176 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
22180 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
22185 if test "x$ac_cv_lib_m_signbitf" = xyes; then
22187 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
22189 elif test "x$ac_cv_func_signbitf" = xyes; then
22191 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
22195 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
22201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
22202 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
22203 if test x$gcc_no_link != xyes; then
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
22205 $as_echo_n "checking for signbitl in -lm... " >&6; }
22206 if ${ac_cv_lib_m_signbitl+:} false; then :
22207 $as_echo_n "(cached) " >&6
22209 ac_check_lib_save_LIBS=$LIBS
22211 if test x$gcc_no_link = xyes; then
22212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22215 /* end confdefs.h. */
22217 /* Override any GCC internal prototype to avoid an error.
22218 Use char because int might match the return type of a GCC
22219 builtin and then its argument prototype would still apply. */
22227 return signbitl ();
22232 if ac_fn_c_try_link "$LINENO"; then :
22233 ac_cv_lib_m_signbitl=yes
22235 ac_cv_lib_m_signbitl=no
22237 rm -f core conftest.err conftest.$ac_objext \
22238 conftest$ac_exeext conftest.$ac_ext
22239 LIBS=$ac_check_lib_save_LIBS
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
22242 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
22243 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
22245 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
22249 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
22254 if test "x$ac_cv_lib_m_signbitl" = xyes; then
22256 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
22258 elif test "x$ac_cv_func_signbitl" = xyes; then
22260 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
22264 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
22270 ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
22271 if test "x$ac_cv_have_decl_getenv" = xyes; then :
22277 cat >>confdefs.h <<_ACEOF
22278 #define HAVE_DECL_GETENV $ac_have_decl
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
22283 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
22285 # We test the host here and later on check the target.
22287 # All known M2_HOST_OS values. This is the union of all host operating systems
22288 # supported by gm2.
22290 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows darwin"
22295 *-*-darwin*) M2_HOST_OS=darwin ;;
22296 *-*-freebsd*) M2_HOST_OS=freebsd ;;
22297 *-*-linux*) M2_HOST_OS=linux ;;
22298 *-*-netbsd*) M2_HOST_OS=netbsd ;;
22299 *-*-openbsd*) M2_HOST_OS=openbsd ;;
22300 *-*-solaris2*) M2_HOST_OS=solaris ;;
22301 *-*-aix*) M2_HOST_OS=aix ;;
22302 *-*-gnu*) M2_HOST_OS=hurd ;;
22305 M2_TARGET_OS=unknown
22308 *-*-darwin*) M2_TARGET_OS=darwin ;;
22309 *-*-freebsd*) M2_TARGET_OS=freebsd ;;
22310 *-*-linux*) M2_TARGET_OS=linux ;;
22311 *-*-netbsd*) M2_TARGET_OS=netbsd ;;
22312 *-*-openbsd*) M2_TARGET_OS=openbsd ;;
22313 *-*-solaris2*) M2_TARGET_OS=solaris ;;
22314 *-*-aix*) M2_TARGET_OS=aix ;;
22315 *-*-gnu*) M2_TARGET_OS=hurd ;;
22318 # M2_HOST_OS=unknown
22319 if test x${M2_HOST_OS} = xunknown; then
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
22321 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
22328 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
22335 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
22338 # Propagate GM2_FOR_TARGET into Makefiles
22339 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
22342 # Now we check the target as long as it is a supported host.
22343 # For some embedded targets we choose minimal runtime system which is
22344 # just enough to satisfy the linker targetting raw metal.
22345 if test x${M2_HOST_OS} != xunknown; then
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
22347 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
22350 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
22357 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
22380 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
22381 # in the second parameter is printed as a "yes" or "no".
22385 if test x${M2_HOST_OS} = xunknown; then
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
22387 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
22391 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
22392 if test x${BUILD_PIMLIB} = xtrue; then
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22394 $as_echo "yes" >&6; }
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22397 $as_echo "no" >&6; }
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
22402 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
22403 if test x${BUILD_ISOLIB} = xtrue; then
22404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22405 $as_echo "yes" >&6; }
22407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22408 $as_echo "no" >&6; }
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
22413 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
22414 if test x${BUILD_CORLIB} = xtrue; then
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22416 $as_echo "yes" >&6; }
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22419 $as_echo "no" >&6; }
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
22424 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
22425 if test x${BUILD_LOGLIB} = xtrue; then
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22427 $as_echo "yes" >&6; }
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22430 $as_echo "no" >&6; }
22435 if test x$BUILD_PIMLIB = xtrue; then
22437 BUILD_PIMLIB_FALSE='#'
22439 BUILD_PIMLIB_TRUE='#'
22440 BUILD_PIMLIB_FALSE=
22443 if test x$BUILD_ISOLIB = xtrue; then
22445 BUILD_ISOLIB_FALSE='#'
22447 BUILD_ISOLIB_TRUE='#'
22448 BUILD_ISOLIB_FALSE=
22451 if test x$BUILD_CORLIB = xtrue; then
22453 BUILD_CORLIB_FALSE='#'
22455 BUILD_CORLIB_TRUE='#'
22456 BUILD_CORLIB_FALSE=
22459 if test x$BUILD_LOGLIB = xtrue; then
22461 BUILD_LOGLIB_FALSE='#'
22463 BUILD_LOGLIB_TRUE='#'
22464 BUILD_LOGLIB_FALSE=
22467 if test x$M2_TARGET_OS = xdarwin; then
22468 TARGET_DARWIN_TRUE=
22469 TARGET_DARWIN_FALSE='#'
22471 TARGET_DARWIN_TRUE='#'
22472 TARGET_DARWIN_FALSE=
22476 # Determine what GCC version number to use in filesystem paths.
22478 get_gcc_base_ver="cat"
22480 # Check whether --with-gcc-major-version-only was given.
22481 if test "${with_gcc_major_version_only+set}" = set; then :
22482 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
22483 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
22492 ac_config_files="$ac_config_files Makefile"
22495 ac_config_files="$ac_config_files libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
22499 $as_echo "$as_me: libgm2 has been configured." >&6;}
22501 cat >confcache <<\_ACEOF
22502 # This file is a shell script that caches the results of configure
22503 # tests run on this system so they can be shared between configure
22504 # scripts and configure runs, see configure's option --config-cache.
22505 # It is not useful on other systems. If it contains results you don't
22506 # want to keep, you may remove or edit it.
22508 # config.status only pays attention to the cache file if you give it
22509 # the --recheck option to rerun configure.
22511 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22512 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22513 # following values.
22517 # The following way of writing the cache mishandles newlines in values,
22518 # but we know of no workaround that is simple, portable, and efficient.
22519 # So, we kill variables containing newlines.
22520 # Ultrix sh set writes to stderr and can't be redirected directly,
22521 # and sets the high bit in the cache file unless we assign to the vars.
22523 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22524 eval ac_val
=\$
$ac_var
22528 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22529 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22532 _ | IFS | as_nl
) ;; #(
22533 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22534 *) { eval $ac_var=; unset $ac_var;} ;;
22540 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22541 *${as_nl}ac_space
=\
*)
22542 # `set' does not quote correctly, so add quotes: double-quote
22543 # substitution turns \\\\ into \\, and sed turns \\ into \.
22546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22549 # `set' quotes correctly as required by POSIX, so do not add quotes.
22550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22559 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22561 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22563 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22564 if test -w "$cache_file"; then
22565 if test "x$cache_file" != "x/dev/null"; then
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22567 $as_echo "$as_me: updating cache $cache_file" >&6;}
22568 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22569 cat confcache
>"$cache_file"
22571 case $cache_file in #(
22573 mv -f confcache
"$cache_file"$$
&&
22574 mv -f "$cache_file"$$
"$cache_file" ;; #(
22576 mv -f confcache
"$cache_file" ;;
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22582 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22587 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22588 # Let make expand exec_prefix.
22589 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22591 DEFS
=-DHAVE_CONFIG_H
22596 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22597 # 1. Remove the extension, and $U if already installed.
22598 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22599 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22600 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22601 # will be set to the directory where LIBOBJS objects are built.
22602 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22603 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22605 LIBOBJS
=$ac_libobjs
22607 LTLIBOBJS
=$ac_ltlibobjs
22610 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22611 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22615 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22616 if test -n "$am_sleep_pid"; then
22617 # Hide warnings about reused PIDs.
22618 wait $am_sleep_pid 2>/dev
/null
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22621 $as_echo "done" >&6; }
22622 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22623 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22626 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22627 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22630 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22631 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22634 if test -n "$EXEEXT"; then
22636 am__EXEEXT_FALSE
='#'
22638 am__EXEEXT_TRUE
='#'
22642 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22643 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22646 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
22647 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
22648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22650 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
22651 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
22652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22654 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
22655 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
22656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22658 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
22659 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
22660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22662 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
22663 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
22664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22666 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
22667 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
22668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22670 if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
22671 as_fn_error $?
"conditional \"TARGET_DARWIN\" was never defined.
22672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22675 : "${CONFIG_STATUS=./config.status}"
22677 ac_clean_files_save
=$ac_clean_files
22678 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22680 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22682 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22684 # Generated by $as_me.
22685 # Run this file to recreate the current configuration.
22686 # Compiler output produced by configure, useful for debugging
22687 # configure, is in config.log if it exists.
22690 ac_cs_recheck=false
22693 SHELL=\${CONFIG_SHELL-$SHELL}
22696 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22697 ## -------------------- ##
22698 ## M4sh Initialization. ##
22699 ## -------------------- ##
22701 # Be more Bourne compatible
22702 DUALCASE
=1; export DUALCASE
# for MKS sh
22703 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22706 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22707 # is contrary to our usage. Disable this feature.
22708 alias -g '${1+"$@"}'='"$@"'
22709 setopt NO_GLOB_SUBST
22711 case `(set -o) 2>/dev/null` in #(
22723 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22724 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22726 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22727 # Prefer a ksh shell builtin over an external printf program on Solaris,
22728 # but without wasting forks for bash or zsh.
22729 if test -z "$BASH_VERSION$ZSH_VERSION" \
22730 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22731 as_echo='print
-r --'
22732 as_echo_n='print
-rn --'
22733 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22734 as_echo='printf %s
\n'
22735 as_echo_n='printf %s
'
22737 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22738 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22739 as_echo_n='/usr
/ucb
/echo -n'
22741 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22742 as_echo_n_body='eval
22746 expr "X$arg" : "X\\(.*\\)$as_nl";
22747 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22749 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22751 export as_echo_n_body
22752 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22754 export as_echo_body
22755 as_echo='sh
-c $as_echo_body as_echo
'
22758 # The user is always right.
22759 if test "${PATH_SEPARATOR+set}" != set; then
22761 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22762 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22769 # We need space, tab and new line, in precisely that order. Quoting is
22770 # there to prevent editors from complaining about space-tab.
22771 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22772 # splitting by setting IFS to empty value.)
22775 # Find who we are. Look in the path if we contain no directory separator.
22778 *[\\/]* ) as_myself=$0 ;;
22779 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22780 for as_dir in $PATH
22783 test -z "$as_dir" && as_dir=.
22784 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22790 # We did not find ourselves, most probably we were run as `sh COMMAND'
22791 # in which case we are not to be found in the path.
22792 if test "x$as_myself" = x
; then
22795 if test ! -f "$as_myself"; then
22796 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22800 # Unset variables that we do not need and which cause bugs (e.g. in
22801 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22802 # suppresses any "Segmentation fault" message there. '((' could
22803 # trigger a bug in pdksh 5.2.14.
22804 for as_var
in BASH_ENV ENV MAIL MAILPATH
22805 do eval test x\
${$as_var+set} = xset \
22806 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22819 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22822 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22823 # ----------------------------------------
22824 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22825 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22826 # script with STATUS, using 1 if that was 0.
22829 as_status
=$1; test $as_status -eq 0 && as_status
=1
22831 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22832 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22834 $as_echo "$as_me: error: $2" >&2
22835 as_fn_exit
$as_status
22839 # as_fn_set_status STATUS
22840 # -----------------------
22841 # Set $? to STATUS, without forking.
22842 as_fn_set_status
()
22845 } # as_fn_set_status
22847 # as_fn_exit STATUS
22848 # -----------------
22849 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22853 as_fn_set_status
$1
22859 # Portably unset VAR.
22862 { eval $1=; unset $1;}
22864 as_unset
=as_fn_unset
22865 # as_fn_append VAR VALUE
22866 # ----------------------
22867 # Append the text in VALUE to the end of the definition contained in VAR. Take
22868 # advantage of any shell optimizations that allow amortized linear growth over
22869 # repeated appends, instead of the typical quadratic growth present in naive
22871 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22872 eval 'as_fn_append ()
22883 # as_fn_arith ARG...
22884 # ------------------
22885 # Perform arithmetic evaluation on the ARGs, and store the result in the
22886 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22887 # must be portable across $(()) and expr.
22888 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22889 eval 'as_fn_arith ()
22896 as_val
=`expr "$@" || test $? -eq 1`
22901 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22902 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22908 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22909 as_basename
=basename
22914 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22920 as_me
=`$as_basename -- "$0" ||
22921 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22922 X"$0" : 'X\(//\)$' \| \
22923 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22925 sed '/^.*\/\([^/][^/]*\)\/*$/{
22939 # Avoid depending upon Character Ranges.
22940 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22941 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22942 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22943 as_cr_digits
='0123456789'
22944 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22946 ECHO_C
= ECHO_N
= ECHO_T
=
22947 case `echo -n x` in #(((((
22949 case `echo 'xy\c'` in
22950 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22952 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22959 rm -f conf$$ conf$$.exe conf$$.
file
22960 if test -d conf$$.dir
; then
22961 rm -f conf$$.dir
/conf$$.
file
22964 mkdir conf$$.dir
2>/dev
/null
22966 if (echo >conf$$.
file) 2>/dev
/null
; then
22967 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22969 # ... but there are two gotchas:
22970 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22971 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22972 # In both cases, we have to default to `cp -pR'.
22973 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22975 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22983 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22984 rmdir conf$$.dir
2>/dev
/null
22989 # Create "$as_dir" as a directory, including parents if necessary.
22994 -*) as_dir
=.
/$as_dir;;
22996 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23000 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23001 *) as_qdir
=$as_dir;;
23003 as_dirs
="'$as_qdir' $as_dirs"
23004 as_dir
=`$as_dirname -- "$as_dir" ||
23005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23006 X"$as_dir" : 'X\(//\)[^/]' \| \
23007 X"$as_dir" : 'X\(//\)$' \| \
23008 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23009 $as_echo X"$as_dir" |
23010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23014 /^X\(\/\/\)[^/].*/{
23027 test -d "$as_dir" && break
23029 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23030 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23034 if mkdir
-p .
2>/dev
/null
; then
23035 as_mkdir_p
='mkdir -p "$as_dir"'
23037 test -d .
/-p && rmdir .
/-p
23042 # as_fn_executable_p FILE
23043 # -----------------------
23044 # Test if FILE is an executable regular file.
23045 as_fn_executable_p
()
23047 test -f "$1" && test -x "$1"
23048 } # as_fn_executable_p
23049 as_test_x
='test -x'
23050 as_executable_p
=as_fn_executable_p
23052 # Sed expression to map a string onto a valid CPP name.
23053 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23055 # Sed expression to map a string onto a valid variable name.
23056 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23060 ## ----------------------------------- ##
23061 ## Main body of $CONFIG_STATUS script. ##
23062 ## ----------------------------------- ##
23064 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23067 # Save the log message, to keep $0 and so on meaningful, and to
23068 # report actual input values of CONFIG_FILES etc. instead of their
23069 # values after options handling.
23071 This file was extended by package-unused $as_me version-unused, which was
23072 generated by GNU Autoconf 2.69. Invocation command line was
23074 CONFIG_FILES = $CONFIG_FILES
23075 CONFIG_HEADERS = $CONFIG_HEADERS
23076 CONFIG_LINKS = $CONFIG_LINKS
23077 CONFIG_COMMANDS = $CONFIG_COMMANDS
23080 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23085 case $ac_config_files in *"
23086 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
23089 case $ac_config_headers in *"
23090 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23095 # Files that config.status was made for.
23096 config_files="$ac_config_files"
23097 config_headers="$ac_config_headers"
23098 config_commands="$ac_config_commands"
23102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23104 \`$as_me' instantiates files and other configuration actions
23105 from templates according to the current configuration. Unless the files
23106 and actions are specified as TAGs, all are instantiated by default.
23108 Usage: $0 [OPTION]... [TAG]...
23110 -h, --help print this help, then exit
23111 -V, --version print version number and configuration settings, then exit
23112 --config print configuration, then exit
23113 -q, --quiet, --silent
23114 do not print progress messages
23115 -d, --debug don't remove temporary files
23116 --recheck update $as_me by reconfiguring in the same conditions
23117 --file=FILE[:TEMPLATE]
23118 instantiate the configuration file FILE
23119 --header=FILE[:TEMPLATE]
23120 instantiate the configuration header FILE
23122 Configuration files:
23125 Configuration headers:
23128 Configuration commands:
23131 Report bugs to the package provider."
23134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23135 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23137 package-unused config.status version-unused
23138 configured by $0, generated by GNU Autoconf 2.69,
23139 with options \\"\$ac_cs_config\\"
23141 Copyright (C) 2012 Free Software Foundation, Inc.
23142 This config.status script is free software; the Free Software Foundation
23143 gives unlimited permission to copy, distribute and modify it."
23150 test -n "\$AWK" || AWK=awk
23153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23154 # The default lists apply if the user does not specify any file.
23160 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23161 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23165 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23177 # Handling of the options.
23178 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23180 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23181 $as_echo "$ac_cs_version"; exit ;;
23182 --config |
--confi |
--conf |
--con |
--co |
--c )
23183 $as_echo "$ac_cs_config"; exit ;;
23184 --debug |
--debu |
--deb |
--de |
--d |
-d )
23186 --file |
--fil |
--fi |
--f )
23189 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23190 '') as_fn_error $?
"missing file argument" ;;
23192 as_fn_append CONFIG_FILES
" '$ac_optarg'"
23193 ac_need_defaults
=false
;;
23194 --header |
--heade |
--head |
--hea )
23197 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23199 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23200 ac_need_defaults
=false
;;
23202 # Conflict between --help and --header
23203 as_fn_error $?
"ambiguous option: \`$1'
23204 Try \`$0 --help' for more information.";;
23205 --help |
--hel |
-h )
23206 $as_echo "$ac_cs_usage"; exit ;;
23207 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23208 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23211 # This is an error.
23212 -*) as_fn_error $?
"unrecognized option: \`$1'
23213 Try \`$0 --help' for more information." ;;
23215 *) as_fn_append ac_config_targets
" $1"
23216 ac_need_defaults
=false
;;
23222 ac_configure_extra_args
=
23224 if $ac_cs_silent; then
23226 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23231 if \$ac_cs_recheck; then
23232 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23234 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23235 CONFIG_SHELL='$SHELL'
23236 export CONFIG_SHELL
23241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23245 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23246 ## Running $as_me. ##
23252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23260 with_multisubdir="$with_multisubdir"
23261 with_multisrctop="$with_multisrctop"
23262 with_target_subdir="$with_target_subdir"
23263 ac_configure_args="${multilib_arg} ${ac_configure_args}"
23264 multi_basedir="$multi_basedir"
23265 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
23268 GFORTRAN="$GFORTRAN"
23270 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23273 # The HP-UX ksh and POSIX shell print the target directory to stdout
23274 # if CDPATH is set.
23275 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23277 sed_quote_subst='$sed_quote_subst'
23278 double_quote_subst='$double_quote_subst'
23279 delay_variable_subst='$delay_variable_subst'
23280 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23281 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23282 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23283 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23284 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23285 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23286 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23287 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23288 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23289 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23290 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23291 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23292 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23293 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23294 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23295 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23296 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23297 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23298 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23299 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23300 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23301 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23302 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23303 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23304 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23305 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23306 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23307 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23308 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23309 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23310 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23311 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23312 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23313 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23314 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23315 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23316 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23317 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23318 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23319 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23320 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23321 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23322 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23323 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23324 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23325 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23326 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23327 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23328 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"`'
23329 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23330 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23331 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23332 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23333 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23334 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23335 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23336 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23337 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23338 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23339 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23340 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23341 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23342 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23343 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23344 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23345 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23346 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23347 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23348 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23349 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23350 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23351 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23352 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23353 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23354 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23355 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23356 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23357 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23358 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23359 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23360 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
23361 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23362 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23363 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23364 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23365 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23366 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23367 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23368 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23369 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
23370 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23371 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23372 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23373 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23374 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23375 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23376 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23377 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23378 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23379 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23380 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23381 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23382 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23383 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23384 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23385 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23386 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23387 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23388 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23389 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23390 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23391 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23392 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23393 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
23394 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23395 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23396 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23397 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23398 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23399 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23400 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23401 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23402 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23403 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23404 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23405 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23406 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23407 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23408 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23409 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23410 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23411 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23412 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23413 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23414 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23415 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23416 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23417 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23418 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23419 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23420 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23421 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23422 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23423 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23424 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23425 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23426 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23427 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23428 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23429 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23430 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23431 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23432 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
23433 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23434 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23435 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23436 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23437 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23438 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23439 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23440 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23441 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
23442 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23443 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23444 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23445 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23446 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23447 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23448 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23449 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23450 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23451 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23452 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23453 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23454 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23457 LTCFLAGS='$LTCFLAGS'
23458 compiler='$compiler_DEFAULT'
23460 # A function that is used when there is no print builtin or printf.
23461 func_fallback_echo ()
23463 eval 'cat <<_LTECHO_EOF
23468 # Quote evaled strings.
23482 deplibs_check_method \
23491 lt_cv_sys_global_symbol_pipe \
23492 lt_cv_sys_global_symbol_to_cdecl \
23493 lt_cv_sys_global_symbol_to_c_name_address \
23494 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23495 lt_prog_compiler_no_builtin_flag \
23496 lt_prog_compiler_wl \
23497 lt_prog_compiler_pic \
23498 lt_prog_compiler_static \
23499 lt_cv_prog_compiler_c_o \
23507 export_dynamic_flag_spec \
23508 whole_archive_flag_spec \
23509 compiler_needs_object \
23511 allow_undefined_flag \
23512 no_undefined_flag \
23513 hardcode_libdir_flag_spec \
23514 hardcode_libdir_flag_spec_ld \
23515 hardcode_libdir_separator \
23520 variables_saved_for_relink \
23522 library_names_spec \
23524 install_override_mode \
23528 compiler_lib_search_dirs \
23533 compiler_lib_search_path \
23537 lt_prog_compiler_no_builtin_flag_CXX \
23538 lt_prog_compiler_wl_CXX \
23539 lt_prog_compiler_pic_CXX \
23540 lt_prog_compiler_static_CXX \
23541 lt_cv_prog_compiler_c_o_CXX \
23542 export_dynamic_flag_spec_CXX \
23543 whole_archive_flag_spec_CXX \
23544 compiler_needs_object_CXX \
23546 allow_undefined_flag_CXX \
23547 no_undefined_flag_CXX \
23548 hardcode_libdir_flag_spec_CXX \
23549 hardcode_libdir_flag_spec_ld_CXX \
23550 hardcode_libdir_separator_CXX \
23551 fix_srcfile_path_CXX \
23552 exclude_expsyms_CXX \
23553 include_expsyms_CXX \
23554 file_list_spec_CXX \
23555 compiler_lib_search_dirs_CXX \
23556 predep_objects_CXX \
23557 postdep_objects_CXX \
23560 compiler_lib_search_path_CXX; do
23561 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23562 *[\\\\\\\`\\"\\\$]*)
23563 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23566 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23571 # Double-quote double-evaled strings.
23572 for var in reload_cmds \
23573 old_postinstall_cmds \
23574 old_postuninstall_cmds \
23576 extract_expsyms_cmds \
23577 old_archive_from_new_cmds \
23578 old_archive_from_expsyms_cmds \
23580 archive_expsym_cmds \
23582 module_expsym_cmds \
23583 export_symbols_cmds \
23586 postuninstall_cmds \
23588 sys_lib_search_path_spec \
23589 sys_lib_dlsearch_path_spec \
23591 old_archive_cmds_CXX \
23592 old_archive_from_new_cmds_CXX \
23593 old_archive_from_expsyms_cmds_CXX \
23595 archive_expsym_cmds_CXX \
23597 module_expsym_cmds_CXX \
23598 export_symbols_cmds_CXX \
23599 prelink_cmds_CXX; do
23600 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23601 *[\\\\\\\`\\"\\\$]*)
23602 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23605 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23610 ac_aux_dir='$ac_aux_dir'
23611 xsi_shell='$xsi_shell'
23612 lt_shell_append='$lt_shell_append'
23614 # See if we are running on zsh, and set the options which allow our
23615 # commands through without removal of \ escapes INIT.
23616 if test -n "\${ZSH_VERSION+set}" ; then
23617 setopt NO_GLOB_SUBST
23623 TIMESTAMP='$TIMESTAMP'
23634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23636 # Handling of arguments.
23637 for ac_config_target
in $ac_config_targets
23639 case $ac_config_target in
23640 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23641 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23642 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23643 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23644 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23645 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
23646 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
23647 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
23648 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
23649 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
23651 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23656 # If the user did not use the arguments to specify the items to instantiate,
23657 # then the envvar interface is used. Set only those that are not.
23658 # We use the long form for the default assignment because of an extremely
23659 # bizarre bug on SunOS 4.1.3.
23660 if $ac_need_defaults; then
23661 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23662 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23663 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23666 # Have a temporary directory for convenience. Make it in the build tree
23667 # simply because there is no reason against having it here, and in addition,
23668 # creating and moving files from /tmp can sometimes cause problems.
23669 # Hook for its removal unless debugging.
23670 # Note that there is a small window in which the directory will not be cleaned:
23671 # after its creation but before its name has been assigned to `$tmp'.
23675 trap 'exit_status=$?
23676 : "${ac_tmp:=$tmp}"
23677 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23679 trap 'as_fn_exit 1' 1 2 13 15
23681 # Create a (secure) tmp directory for tmp files.
23684 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23688 tmp
=.
/conf$$
-$RANDOM
23689 (umask 077 && mkdir
"$tmp")
23690 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23693 # Set up the scripts for CONFIG_FILES section.
23694 # No need to generate them if there are no CONFIG_FILES.
23695 # This happens for instance with `./config.status config.h'.
23696 if test -n "$CONFIG_FILES"; then
23699 ac_cr
=`echo X | tr X '\015'`
23700 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23701 # But we know of no other shell where ac_cr would be empty at this
23702 # point, so we can use a bashism as a fallback.
23703 if test "x$ac_cr" = x
; then
23704 eval ac_cr
=\$
\'\\r
\'
23706 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23707 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23710 ac_cs_awk_cr
=$ac_cr
23713 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23718 echo "cat >conf$$subs.awk <<_ACEOF" &&
23719 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23721 } >conf$$subs.sh ||
23722 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23723 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23725 for ac_last_try in false false false false false :; do
23726 . ./conf$$subs.sh ||
23727 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23729 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23730 if test $ac_delim_n = $ac_delim_num; then
23732 elif $ac_last_try; then
23733 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23735 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23738 rm -f conf$$subs.sh
23740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23741 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23745 s/^/S["/; s
/!.
*/"]=/
23755 s/\(.\{148\}\)..*/\1/
23757 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23762 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23769 s/\(.\{148\}\)..*/\1/
23771 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23775 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23780 ' <conf$$subs.awk | sed '
23785 ' >>$CONFIG_STATUS || ac_write_fail=1
23786 rm -f conf$$subs.awk
23787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23789 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23790 for (key in S) S_is_set[key] = 1
23796 nfields = split(line, field, "@
")
23798 len = length(field[1])
23799 for (i = 2; i < nfields; i++) {
23801 keylen = length(key)
23802 if (S_is_set[key]) {
23804 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23805 len += length(value) + length(field[++i])
23816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23817 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23818 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23821 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23822 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23825 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23826 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23827 # trailing colons and then remove the whole line if VPATH becomes empty
23828 # (actually we leave an empty line to preserve line numbers).
23829 if test "x
$srcdir" = x.; then
23830 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23849 fi # test -n "$CONFIG_FILES"
23851 # Set up the scripts for CONFIG_HEADERS section.
23852 # No need to generate them if there are no CONFIG_HEADERS.
23853 # This happens for instance with `./config.status Makefile'.
23854 if test -n "$CONFIG_HEADERS"; then
23855 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23859 # Transform confdefs.h into an awk script `defines.awk', embedded as
23860 # here-document in config.status, that substitutes the proper values into
23861 # config.h.in to produce config.h.
23863 # Create a delimiter string that does not exist in confdefs.h, to ease
23864 # handling of long lines.
23866 for ac_last_try in false false :; do
23867 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23868 if test -z "$ac_tt"; then
23870 elif $ac_last_try; then
23871 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23873 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23877 # For the awk script, D is an array of macro values keyed by name,
23878 # likewise P contains macro parameters if any. Preserve backslash
23879 # newline sequences.
23881 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23883 s/.\{148\}/&'"$ac_delim"'/g
23886 s/^[ ]*#[ ]*define[ ][ ]*/ /
23893 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23895 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23899 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23900 D["\
1"]=" \
3\\\\\\n
"\\/p
23902 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23907 s/.\{148\}/&'"$ac_delim"'/g
23912 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23915 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23917 ' <confdefs.h | sed '
23918 s/'"$ac_delim"'/"\\\
23919 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23922 for (key in D) D_is_set[key] = 1
23925 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23927 split(line, arg, " ")
23928 if (arg[1] == "#") {
23932 defundef
= substr
(arg
[1], 2)
23935 split(mac1
, mac2
, "(") #)
23937 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23938 if (D_is_set
[macro
]) {
23939 # Preserve the white space surrounding the "#".
23940 print prefix
"define", macro P
[macro
] D
[macro
]
23943 # Replace #undef with comments. This is necessary, for example,
23944 # in the case of _POSIX_SOURCE, which is predefined and required
23945 # on some systems where configure will not decide to define it.
23946 if (defundef
== "undef") {
23947 print
"/*", prefix defundef
, macro
, "*/"
23955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23956 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23957 fi # test -n "$CONFIG_HEADERS"
23960 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23965 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23967 case $ac_mode$ac_tag in
23969 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23970 :[FH
]-) ac_tag
=-:-;;
23971 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23988 -) ac_f
="$ac_tmp/stdin";;
23989 *) # Look for the file first in the build tree, then in the source tree
23990 # (if the path is not absolute). The absolute path cannot be DOS-style,
23991 # because $ac_f cannot contain `:'.
23995 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23997 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23999 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24000 as_fn_append ac_file_inputs
" '$ac_f'"
24003 # Let's still pretend it is `configure' which instantiates (i.e., don't
24004 # use $as_me), people would be surprised to read:
24005 # /* config.h. Generated by config.status. */
24006 configure_input
='Generated from '`
24007 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24009 if test x
"$ac_file" != x-
; then
24010 configure_input
="$ac_file. $configure_input"
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24012 $as_echo "$as_me: creating $ac_file" >&6;}
24014 # Neutralize special characters interpreted by sed in replacement strings.
24015 case $configure_input in #(
24016 *\
&* |
*\|
* |
*\\* )
24017 ac_sed_conf_input
=`$as_echo "$configure_input" |
24018 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24019 *) ac_sed_conf_input
=$configure_input;;
24023 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24024 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24029 ac_dir
=`$as_dirname -- "$ac_file" ||
24030 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24031 X"$ac_file" : 'X\(//\)[^/]' \| \
24032 X"$ac_file" : 'X\(//\)$' \| \
24033 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24034 $as_echo X"$ac_file" |
24035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24039 /^X\(\/\/\)[^/].*/{
24052 as_dir
="$ac_dir"; as_fn_mkdir_p
24056 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24058 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24059 # A ".." for each directory in $ac_dir_suffix.
24060 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24061 case $ac_top_builddir_sub in
24062 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24063 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24066 ac_abs_top_builddir
=$ac_pwd
24067 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24068 # for backward compatibility:
24069 ac_top_builddir
=$ac_top_build_prefix
24072 .
) # We are building in place.
24074 ac_top_srcdir
=$ac_top_builddir_sub
24075 ac_abs_top_srcdir
=$ac_pwd ;;
24076 [\\/]* | ?
:[\\/]* ) # Absolute name.
24077 ac_srcdir
=$srcdir$ac_dir_suffix;
24078 ac_top_srcdir
=$srcdir
24079 ac_abs_top_srcdir
=$srcdir ;;
24080 *) # Relative name.
24081 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24082 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24083 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24085 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24095 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24096 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24098 ac_MKDIR_P
=$MKDIR_P
24100 [\\/$
]* | ?
:[\\/]* ) ;;
24101 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24106 # If the template does not know about datarootdir, expand it.
24107 # FIXME: This hack should be removed a few years after 2.60.
24108 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24119 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24120 *datarootdir
*) ac_datarootdir_seen
=yes;;
24121 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24123 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24126 ac_datarootdir_hack='
24127 s&@datadir@&$datadir&g
24128 s&@docdir@&$docdir&g
24129 s&@infodir@&$infodir&g
24130 s&@localedir@&$localedir&g
24131 s&@mandir@&$mandir&g
24132 s&\\\${datarootdir}&$datarootdir&g' ;;
24136 # Neutralize VPATH when `$srcdir' = `.'.
24137 # Shell code in configure.ac might set extrasub.
24138 # FIXME: do we really want to maintain this feature?
24139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24140 ac_sed_extra="$ac_vpsub
24143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24145 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24146 s|@configure_input@|
$ac_sed_conf_input|
;t t
24147 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24148 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24149 s
&@srcdir@
&$ac_srcdir&;t t
24150 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24151 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24152 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24153 s
&@builddir@
&$ac_builddir&;t t
24154 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24155 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24156 s
&@INSTALL@
&$ac_INSTALL&;t t
24157 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24158 $ac_datarootdir_hack
24160 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
24161 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
24163 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24164 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
24165 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24166 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24168 which seems to be undefined. Please make sure it is defined" >&5
24169 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24170 which seems to be undefined. Please make sure it is defined" >&2;}
24172 rm -f "$ac_tmp/stdin"
24174 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24175 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24177 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24183 if test x"$ac_file" != x-; then
24185 $as_echo "/* $configure_input */" \
24186 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24187 } >"$ac_tmp/config.h" \
24188 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24189 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24190 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24191 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24194 mv "$ac_tmp/config.h" "$ac_file" \
24195 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24198 $as_echo "/* $configure_input */" \
24199 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24200 || as_fn_error $? "could not create -" "$LINENO" 5
24202 # Compute "$ac_file"'s index
in $config_headers.
24205 for _am_header
in $config_headers :; do
24206 case $_am_header in
24207 $_am_arg |
$_am_arg:* )
24210 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24213 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24214 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24215 X"$_am_arg" : 'X\(//\)[^/]' \| \
24216 X"$_am_arg" : 'X\(//\)$' \| \
24217 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24218 $as_echo X"$_am_arg" |
24219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24223 /^X\(\/\/\)[^/].*/{
24235 s/.*/./; q'`/stamp-h
$_am_stamp_count
24238 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24239 $as_echo "$as_me: executing $ac_file commands" >&6;}
24244 case $ac_file$ac_mode in
24246 # Only add multilib support code if we just rebuilt the top-level
24248 case " $CONFIG_FILES " in
24250 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
24253 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
24254 # Older Autoconf quotes --file arguments for eval, but not when files
24255 # are listed without --file. Let's play safe and only enable the eval
24256 # if we detect the quoting.
24257 case $CONFIG_FILES in
24258 *\'*) eval set x
"$CONFIG_FILES" ;;
24259 *) set x
$CONFIG_FILES ;;
24264 # Strip MF so we end up with the name of the file.
24265 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24266 # Check whether this is an Automake generated Makefile or not.
24267 # We used to match only the files named 'Makefile.in', but
24268 # some people rename them; so instead we look at the file content.
24269 # Grep'ing the first line is not enough: some people post-process
24270 # each Makefile.in and add a new line on top of each file to say so.
24271 # Grep'ing the whole file is not good either: AIX grep has a line
24272 # limit of 2048, but all sed's we know have understand at least 4000.
24273 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24274 dirpart
=`$as_dirname -- "$mf" ||
24275 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24276 X"$mf" : 'X\(//\)[^/]' \| \
24277 X"$mf" : 'X\(//\)$' \| \
24278 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24284 /^X\(\/\/\)[^/].*/{
24300 # Extract the definition of DEPDIR, am__include, and am__quote
24301 # from the Makefile without running 'make'.
24302 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24303 test -z "$DEPDIR" && continue
24304 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24305 test -z "$am__include" && continue
24306 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24307 # Find all dependency output files, they are included files with
24308 # $(DEPDIR) in their names. We invoke sed twice because it is the
24309 # simplest approach to changing $(DEPDIR) to its actual value in the
24311 for file in `sed -n "
24312 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24313 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
24314 # Make sure the directory exists.
24315 test -f "$dirpart/$file" && continue
24316 fdir
=`$as_dirname -- "$file" ||
24317 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24318 X"$file" : 'X\(//\)[^/]' \| \
24319 X"$file" : 'X\(//\)$' \| \
24320 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24321 $as_echo X"$file" |
24322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24326 /^X\(\/\/\)[^/].*/{
24339 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
24340 # echo "creating $dirpart/$file"
24341 echo '# dummy' > "$dirpart/$file"
24348 # See if we are running on zsh, and set the options which allow our
24349 # commands through without removal of \ escapes.
24350 if test -n "${ZSH_VERSION+set}" ; then
24351 setopt NO_GLOB_SUBST
24354 cfgfile
="${ofile}T"
24355 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24358 cat <<_LT_EOF >> "$cfgfile"
24361 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
24362 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
24363 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24364 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24366 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
24367 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
24368 # Written by Gordon Matzigkeit, 1996
24370 # This file is part of GNU Libtool.
24372 # GNU Libtool is free software; you can redistribute it and/or
24373 # modify it under the terms of the GNU General Public License as
24374 # published by the Free Software Foundation; either version 2 of
24375 # the License, or (at your option) any later version.
24377 # As a special exception to the GNU General Public License,
24378 # if you distribute this file as part of a program or library that
24379 # is built using GNU Libtool, you may include this file under the
24380 # same distribution terms that you use for the rest of that program.
24382 # GNU Libtool is distributed in the hope that it will be useful,
24383 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24384 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24385 # GNU General Public License for more details.
24387 # You should have received a copy of the GNU General Public License
24388 # along with GNU Libtool; see the file COPYING. If not, a copy
24389 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24390 # obtained by writing to the Free Software Foundation, Inc.,
24391 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24394 # The names of the tagged configurations supported by this script.
24395 available_tags="CXX "
24397 # ### BEGIN LIBTOOL CONFIG
24399 # Which release of libtool.m4 was used?
24400 macro_version=$macro_version
24401 macro_revision=$macro_revision
24403 # Whether or not to build shared libraries.
24404 build_libtool_libs=$enable_shared
24406 # Whether or not to build static libraries.
24407 build_old_libs=$enable_static
24409 # What type of objects to build.
24412 # Whether or not to optimize for fast installation.
24413 fast_install=$enable_fast_install
24415 # Shell to use when invoking shell scripts.
24418 # An echo program that protects backslashes.
24422 host_alias=$host_alias
24426 # The build system.
24427 build_alias=$build_alias
24431 # A sed program that does not truncate output.
24434 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24435 Xsed="\$SED -e 1s/^X//"
24437 # A grep program that handles long lines.
24443 # A literal string matcher.
24446 # A BSD- or MS-compatible name lister.
24449 # Whether we need soft or hard links.
24452 # What is the maximum length of a command?
24453 max_cmd_len=$max_cmd_len
24455 # Object file suffix (normally "o").
24458 # Executable file suffix (normally "").
24461 # whether the shell understands "unset".
24464 # turn spaces into newlines.
24467 # turn newlines into spaces.
24470 # An object symbol dumper.
24471 OBJDUMP=$lt_OBJDUMP
24473 # Method to check whether dependent libraries are shared objects.
24474 deplibs_check_method=$lt_deplibs_check_method
24476 # Command to use when deplibs_check_method == "file_magic".
24477 file_magic_cmd=$lt_file_magic_cmd
24481 AR_FLAGS=$lt_AR_FLAGS
24483 # A symbol stripping program.
24486 # Commands used to install an old-style archive.
24488 old_postinstall_cmds=$lt_old_postinstall_cmds
24489 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24491 # Whether to use a lock for old archive extraction.
24492 lock_old_archive_extraction=$lock_old_archive_extraction
24497 # LTCC compiler flags.
24498 LTCFLAGS=$lt_CFLAGS
24500 # Take the output of nm and produce a listing of raw symbols and C names.
24501 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24503 # Transform the output of nm in a proper C declaration.
24504 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24506 # Transform the output of nm in a C name address pair.
24507 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24509 # Transform the output of nm in a C name address pair when lib prefix is needed.
24510 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24512 # The name of the directory that contains temporary libtool files.
24515 # Used to examine libraries when file_magic_cmd begins with "file".
24516 MAGIC_CMD=$MAGIC_CMD
24518 # Must we lock files when doing compilation?
24519 need_locks=$lt_need_locks
24521 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24522 DSYMUTIL=$lt_DSYMUTIL
24524 # Tool to change global to local symbols on Mac OS X.
24527 # Tool to manipulate fat objects and archives on Mac OS X.
24530 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24533 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24534 OTOOL64=$lt_OTOOL64
24536 # Old archive suffix (normally "a").
24539 # Shared library suffix (normally ".so").
24540 shrext_cmds=$lt_shrext_cmds
24542 # The commands to extract the exported symbol list from a shared archive.
24543 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24545 # Variables whose values should be saved in libtool wrapper scripts and
24546 # restored at link time.
24547 variables_saved_for_relink=$lt_variables_saved_for_relink
24549 # Do we need the "lib" prefix for modules?
24550 need_lib_prefix=$need_lib_prefix
24552 # Do we need a version for libraries?
24553 need_version=$need_version
24555 # Library versioning type.
24556 version_type=$version_type
24558 # Shared library runtime path variable.
24559 runpath_var=$runpath_var
24561 # Shared library path variable.
24562 shlibpath_var=$shlibpath_var
24564 # Is shlibpath searched before the hard-coded library search path?
24565 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24567 # Format of library name prefix.
24568 libname_spec=$lt_libname_spec
24570 # List of archive names. First name is the real one, the rest are links.
24571 # The last name is the one that the linker finds with -lNAME
24572 library_names_spec=$lt_library_names_spec
24574 # The coded name of the library, if different from the real name.
24575 soname_spec=$lt_soname_spec
24577 # Permission mode override for installation of shared libraries.
24578 install_override_mode=$lt_install_override_mode
24580 # Command to use after installation of a shared archive.
24581 postinstall_cmds=$lt_postinstall_cmds
24583 # Command to use after uninstallation of a shared archive.
24584 postuninstall_cmds=$lt_postuninstall_cmds
24586 # Commands used to finish a libtool library installation in a directory.
24587 finish_cmds=$lt_finish_cmds
24589 # As "finish_cmds", except a single script fragment to be evaled but
24591 finish_eval=$lt_finish_eval
24593 # Whether we should hardcode library paths into libraries.
24594 hardcode_into_libs=$hardcode_into_libs
24596 # Compile-time system search path for libraries.
24597 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24599 # Run-time system search path for libraries.
24600 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24602 # Whether dlopen is supported.
24603 dlopen_support=$enable_dlopen
24605 # Whether dlopen of programs is supported.
24606 dlopen_self=$enable_dlopen_self
24608 # Whether dlopen of statically linked programs is supported.
24609 dlopen_self_static=$enable_dlopen_self_static
24611 # Commands to strip libraries.
24612 old_striplib=$lt_old_striplib
24613 striplib=$lt_striplib
24616 # The linker used to build libraries.
24619 # How to create reloadable object files.
24620 reload_flag=$lt_reload_flag
24621 reload_cmds=$lt_reload_cmds
24623 # Commands used to build an old-style archive.
24624 old_archive_cmds=$lt_old_archive_cmds
24626 # A language specific compiler.
24629 # Is the compiler the GNU compiler?
24632 # Compiler flag to turn off builtin functions.
24633 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24635 # How to pass a linker flag through the compiler.
24636 wl=$lt_lt_prog_compiler_wl
24638 # Additional compiler flags for building library objects.
24639 pic_flag=$lt_lt_prog_compiler_pic
24641 # Compiler flag to prevent dynamic linking.
24642 link_static_flag=$lt_lt_prog_compiler_static
24644 # Does compiler simultaneously support -c and -o options?
24645 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24647 # Whether or not to add -lc for building shared libraries.
24648 build_libtool_need_lc=$archive_cmds_need_lc
24650 # Whether or not to disallow shared libs when runtime libs are static.
24651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24653 # Compiler flag to allow reflexive dlopens.
24654 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24656 # Compiler flag to generate shared objects directly from archives.
24657 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24659 # Whether the compiler copes with passing no objects directly.
24660 compiler_needs_object=$lt_compiler_needs_object
24662 # Create an old-style archive from a shared archive.
24663 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24665 # Create a temporary old-style archive to link instead of a shared archive.
24666 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24668 # Commands used to build a shared archive.
24669 archive_cmds=$lt_archive_cmds
24670 archive_expsym_cmds=$lt_archive_expsym_cmds
24672 # Commands used to build a loadable module if different from building
24673 # a shared archive.
24674 module_cmds=$lt_module_cmds
24675 module_expsym_cmds=$lt_module_expsym_cmds
24677 # Whether we are building with GNU ld or not.
24678 with_gnu_ld=$lt_with_gnu_ld
24680 # Flag that allows shared libraries with undefined symbols to be built.
24681 allow_undefined_flag=$lt_allow_undefined_flag
24683 # Flag that enforces no undefined symbols.
24684 no_undefined_flag=$lt_no_undefined_flag
24686 # Flag to hardcode \$libdir into a binary during linking.
24687 # This must work even if \$libdir does not exist
24688 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24690 # If ld is used when linking, flag to hardcode \$libdir into a binary
24691 # during linking. This must work even if \$libdir does not exist.
24692 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24694 # Whether we need a single "-rpath" flag with a separated argument.
24695 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24697 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24698 # DIR into the resulting binary.
24699 hardcode_direct=$hardcode_direct
24701 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24702 # DIR into the resulting binary and the resulting library dependency is
24703 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24704 # library is relocated.
24705 hardcode_direct_absolute=$hardcode_direct_absolute
24707 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24708 # into the resulting binary.
24709 hardcode_minus_L=$hardcode_minus_L
24711 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24712 # into the resulting binary.
24713 hardcode_shlibpath_var=$hardcode_shlibpath_var
24715 # Set to "yes" if building a shared library automatically hardcodes DIR
24716 # into the library and all subsequent libraries and executables linked
24718 hardcode_automatic=$hardcode_automatic
24720 # Set to yes if linker adds runtime paths of dependent libraries
24721 # to runtime path list.
24722 inherit_rpath=$inherit_rpath
24724 # Whether libtool must link a program against all its dependency libraries.
24725 link_all_deplibs=$link_all_deplibs
24727 # Fix the shell variable \$srcfile for the compiler.
24728 fix_srcfile_path=$lt_fix_srcfile_path
24730 # Set to "yes" if exported symbols are required.
24731 always_export_symbols=$always_export_symbols
24733 # The commands to list exported symbols.
24734 export_symbols_cmds=$lt_export_symbols_cmds
24736 # Symbols that should not be listed in the preloaded symbols.
24737 exclude_expsyms=$lt_exclude_expsyms
24739 # Symbols that must always be exported.
24740 include_expsyms=$lt_include_expsyms
24742 # Commands necessary for linking programs (against libraries) with templates.
24743 prelink_cmds=$lt_prelink_cmds
24745 # Specify filename containing input files.
24746 file_list_spec=$lt_file_list_spec
24748 # How to hardcode a shared library path into an executable.
24749 hardcode_action=$hardcode_action
24751 # The directories searched by this compiler when creating a shared library.
24752 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24754 # Dependencies to place before and after the objects being linked to
24755 # create a shared library.
24756 predep_objects=$lt_predep_objects
24757 postdep_objects=$lt_postdep_objects
24758 predeps=$lt_predeps
24759 postdeps=$lt_postdeps
24761 # The library search path used internally by the compiler when linking
24762 # a shared library.
24763 compiler_lib_search_path=$lt_compiler_lib_search_path
24765 # ### END LIBTOOL CONFIG
24771 cat <<\_LT_EOF
>> "$cfgfile"
24772 # AIX sometimes has problems with the GCC collect2 program. For some
24773 # reason, if we set the COLLECT_NAMES environment variable, the problems
24774 # vanish in a puff of smoke.
24775 if test "X${COLLECT_NAMES+set}" != Xset
; then
24777 export COLLECT_NAMES
24784 ltmain
="$ac_aux_dir/ltmain.sh"
24787 # We use sed instead of cat because bash on DJGPP gets confused if
24788 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24789 # text mode, it properly converts lines to CR/LF. This bash problem
24790 # is reportedly fixed, but why not run on old versions too?
24791 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24792 ||
(rm -f "$cfgfile"; exit 1)
24796 cat << \_LT_EOF
>> "$cfgfile"
24798 # func_dirname file append nondir_replacement
24799 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24800 # otherwise set result to NONDIR_REPLACEMENT.
24804 */*) func_dirname_result
="${1%/*}${2}" ;;
24805 * ) func_dirname_result
="${3}" ;;
24809 # func_basename file
24812 func_basename_result
="${1##*/}"
24815 # func_dirname_and_basename file append nondir_replacement
24816 # perform func_basename and func_dirname in a single function
24818 # dirname: Compute the dirname of FILE. If nonempty,
24819 # add APPEND to the result, otherwise set result
24820 # to NONDIR_REPLACEMENT.
24821 # value returned in "$func_dirname_result"
24822 # basename: Compute filename of FILE.
24823 # value retuned in "$func_basename_result"
24824 # Implementation must be kept synchronized with func_dirname
24825 # and func_basename. For efficiency, we do not delegate to
24826 # those functions but instead duplicate the functionality here.
24827 func_dirname_and_basename
()
24830 */*) func_dirname_result
="${1%/*}${2}" ;;
24831 * ) func_dirname_result
="${3}" ;;
24833 func_basename_result
="${1##*/}"
24836 # func_stripname prefix suffix name
24837 # strip PREFIX and SUFFIX off of NAME.
24838 # PREFIX and SUFFIX must not contain globbing or regex special
24839 # characters, hashes, percent signs, but SUFFIX may contain a leading
24840 # dot (in which case that matches only a dot).
24843 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24844 # positional parameters, so assign one to ordinary parameter first.
24845 func_stripname_result
=${3}
24846 func_stripname_result
=${func_stripname_result#"${1}"}
24847 func_stripname_result
=${func_stripname_result%"${2}"}
24853 func_opt_split_opt
=${1%%=*}
24854 func_opt_split_arg
=${1#*=}
24861 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24862 *) func_lo2o_result
=${1} ;;
24866 # func_xform libobj-or-source
24869 func_xform_result
=${1%.*}.lo
24872 # func_arith arithmetic-term...
24875 func_arith_result
=$
(( $
* ))
24879 # STRING may not start with a hyphen.
24882 func_len_result
=${#1}
24887 *) # Bourne compatible functions.
24888 cat << \_LT_EOF
>> "$cfgfile"
24890 # func_dirname file append nondir_replacement
24891 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24892 # otherwise set result to NONDIR_REPLACEMENT.
24895 # Extract subdirectory from the argument.
24896 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
24897 if test "X$func_dirname_result" = "X${1}"; then
24898 func_dirname_result
="${3}"
24900 func_dirname_result
="$func_dirname_result${2}"
24904 # func_basename file
24907 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
24911 # func_stripname prefix suffix name
24912 # strip PREFIX and SUFFIX off of NAME.
24913 # PREFIX and SUFFIX must not contain globbing or regex special
24914 # characters, hashes, percent signs, but SUFFIX may contain a leading
24915 # dot (in which case that matches only a dot).
24916 # func_strip_suffix prefix name
24920 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
24921 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
24926 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24927 my_sed_long_arg
='1s/^-[^=]*=//'
24932 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
24933 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
24939 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
24942 # func_xform libobj-or-source
24945 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
24948 # func_arith arithmetic-term...
24951 func_arith_result
=`expr "$@"`
24955 # STRING may not start with a hyphen.
24958 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24964 case $lt_shell_append in
24966 cat << \_LT_EOF
>> "$cfgfile"
24968 # func_append var value
24969 # Append VALUE to the end of shell variable VAR.
24977 cat << \_LT_EOF
>> "$cfgfile"
24979 # func_append var value
24980 # Append VALUE to the end of shell variable VAR.
24991 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24992 ||
(rm -f "$cfgfile"; exit 1)
24994 mv -f "$cfgfile" "$ofile" ||
24995 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24999 cat <<_LT_EOF >> "$ofile"
25001 # ### BEGIN LIBTOOL TAG CONFIG: CXX
25003 # The linker used to build libraries.
25006 # How to create reloadable object files.
25007 reload_flag=$lt_reload_flag_CXX
25008 reload_cmds=$lt_reload_cmds_CXX
25010 # Commands used to build an old-style archive.
25011 old_archive_cmds=$lt_old_archive_cmds_CXX
25013 # A language specific compiler.
25014 CC=$lt_compiler_CXX
25016 # Is the compiler the GNU compiler?
25019 # Compiler flag to turn off builtin functions.
25020 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25022 # How to pass a linker flag through the compiler.
25023 wl=$lt_lt_prog_compiler_wl_CXX
25025 # Additional compiler flags for building library objects.
25026 pic_flag=$lt_lt_prog_compiler_pic_CXX
25028 # Compiler flag to prevent dynamic linking.
25029 link_static_flag=$lt_lt_prog_compiler_static_CXX
25031 # Does compiler simultaneously support -c and -o options?
25032 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
25034 # Whether or not to add -lc for building shared libraries.
25035 build_libtool_need_lc=$archive_cmds_need_lc_CXX
25037 # Whether or not to disallow shared libs when runtime libs are static.
25038 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
25040 # Compiler flag to allow reflexive dlopens.
25041 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
25043 # Compiler flag to generate shared objects directly from archives.
25044 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
25046 # Whether the compiler copes with passing no objects directly.
25047 compiler_needs_object=$lt_compiler_needs_object_CXX
25049 # Create an old-style archive from a shared archive.
25050 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
25052 # Create a temporary old-style archive to link instead of a shared archive.
25053 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
25055 # Commands used to build a shared archive.
25056 archive_cmds=$lt_archive_cmds_CXX
25057 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
25059 # Commands used to build a loadable module if different from building
25060 # a shared archive.
25061 module_cmds=$lt_module_cmds_CXX
25062 module_expsym_cmds=$lt_module_expsym_cmds_CXX
25064 # Whether we are building with GNU ld or not.
25065 with_gnu_ld=$lt_with_gnu_ld_CXX
25067 # Flag that allows shared libraries with undefined symbols to be built.
25068 allow_undefined_flag=$lt_allow_undefined_flag_CXX
25070 # Flag that enforces no undefined symbols.
25071 no_undefined_flag=$lt_no_undefined_flag_CXX
25073 # Flag to hardcode \$libdir into a binary during linking.
25074 # This must work even if \$libdir does not exist
25075 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
25077 # If ld is used when linking, flag to hardcode \$libdir into a binary
25078 # during linking. This must work even if \$libdir does not exist.
25079 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
25081 # Whether we need a single "-rpath" flag with a separated argument.
25082 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
25084 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25085 # DIR into the resulting binary.
25086 hardcode_direct=$hardcode_direct_CXX
25088 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
25089 # DIR into the resulting binary and the resulting library dependency is
25090 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
25091 # library is relocated.
25092 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
25094 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25095 # into the resulting binary.
25096 hardcode_minus_L=$hardcode_minus_L_CXX
25098 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25099 # into the resulting binary.
25100 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
25102 # Set to "yes" if building a shared library automatically hardcodes DIR
25103 # into the library and all subsequent libraries and executables linked
25105 hardcode_automatic=$hardcode_automatic_CXX
25107 # Set to yes if linker adds runtime paths of dependent libraries
25108 # to runtime path list.
25109 inherit_rpath=$inherit_rpath_CXX
25111 # Whether libtool must link a program against all its dependency libraries.
25112 link_all_deplibs=$link_all_deplibs_CXX
25114 # Fix the shell variable \$srcfile for the compiler.
25115 fix_srcfile_path=$lt_fix_srcfile_path_CXX
25117 # Set to "yes" if exported symbols are required.
25118 always_export_symbols=$always_export_symbols_CXX
25120 # The commands to list exported symbols.
25121 export_symbols_cmds=$lt_export_symbols_cmds_CXX
25123 # Symbols that should not be listed in the preloaded symbols.
25124 exclude_expsyms=$lt_exclude_expsyms_CXX
25126 # Symbols that must always be exported.
25127 include_expsyms=$lt_include_expsyms_CXX
25129 # Commands necessary for linking programs (against libraries) with templates.
25130 prelink_cmds=$lt_prelink_cmds_CXX
25132 # Specify filename containing input files.
25133 file_list_spec=$lt_file_list_spec_CXX
25135 # How to hardcode a shared library path into an executable.
25136 hardcode_action=$hardcode_action_CXX
25138 # The directories searched by this compiler when creating a shared library.
25139 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
25141 # Dependencies to place before and after the objects being linked to
25142 # create a shared library.
25143 predep_objects=$lt_predep_objects_CXX
25144 postdep_objects=$lt_postdep_objects_CXX
25145 predeps=$lt_predeps_CXX
25146 postdeps=$lt_postdeps_CXX
25148 # The library search path used internally by the compiler when linking
25149 # a shared library.
25150 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
25152 # ### END LIBTOOL TAG CONFIG: CXX
25156 "libm2min/Makefile":F
) cat > vpsed$$
<< \_EOF
25157 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25159 sed -f vpsed$$
$ac_file > tmp$$
25162 echo 'MULTISUBDIR =' >> $ac_file
25164 .
${multi_basedir}/config-ml.
in
25165 { ml_norecursion
=; unset ml_norecursion
;}
25167 "libm2pim/Makefile":F
) cat > vpsed$$
<< \_EOF
25168 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25170 sed -f vpsed$$
$ac_file > tmp$$
25173 echo 'MULTISUBDIR =' >> $ac_file
25175 .
${multi_basedir}/config-ml.
in
25176 { ml_norecursion
=; unset ml_norecursion
;}
25178 "libm2iso/Makefile":F
) cat > vpsed$$
<< \_EOF
25179 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25181 sed -f vpsed$$
$ac_file > tmp$$
25184 echo 'MULTISUBDIR =' >> $ac_file
25186 .
${multi_basedir}/config-ml.
in
25187 { ml_norecursion
=; unset ml_norecursion
;}
25189 "libm2cor/Makefile":F
) cat > vpsed$$
<< \_EOF
25190 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25192 sed -f vpsed$$
$ac_file > tmp$$
25195 echo 'MULTISUBDIR =' >> $ac_file
25197 .
${multi_basedir}/config-ml.
in
25198 { ml_norecursion
=; unset ml_norecursion
;}
25200 "libm2log/Makefile":F
) cat > vpsed$$
<< \_EOF
25201 s
!`test -f '$<' || echo '$(srcdir)/'`!!
25203 sed -f vpsed$$
$ac_file > tmp$$
25206 echo 'MULTISUBDIR =' >> $ac_file
25208 .
${multi_basedir}/config-ml.
in
25209 { ml_norecursion
=; unset ml_norecursion
;}
25218 ac_clean_files
=$ac_clean_files_save
25220 test $ac_write_fail = 0 ||
25221 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
25224 # configure is writing to config.log, and then calls config.status.
25225 # config.status does its own redirection, appending to config.log.
25226 # Unfortunately, on DOS this fails, as config.log is still kept open
25227 # by configure, so config.status won't be able to write to it; its
25228 # output is simply discarded. So we exec the FD to /dev/null,
25229 # effectively closing config.log, so it can be properly (re)opened and
25230 # appended to by config.status. When coming back to configure, we
25231 # need to make the FD available again.
25232 if test "$no_create" != yes; then
25234 ac_config_status_args
=
25235 test "$silent" = yes &&
25236 ac_config_status_args
="$ac_config_status_args --quiet"
25238 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25240 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25241 # would make configure fail if this is the last instruction.
25242 $ac_cs_success || as_fn_exit
1
25244 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
25245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25246 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}