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
2272 cat >config.log <<_ACEOF
2273 This file contains any messages produced by compilers while
2274 running configure, to aid debugging if configure makes a mistake.
2276 It was created by package-unused $as_me version-unused, which was
2277 generated by GNU Autoconf 2.69. Invocation command line was
2289 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2290 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2291 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2292 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2293 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2295 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2296 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2298 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2299 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2300 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2301 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2302 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2303 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2304 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 test -z "$as_dir" && as_dir=.
2313 $as_echo "PATH: $as_dir"
2329 # Keep a trace of the command line.
2330 # Strip out --no-create and --no-recursion so they do not pile up.
2331 # Strip out --silent because we don't want to record it for future runs.
2332 # Also quote any args containing shell meta-characters.
2333 # Make two passes to allow for proper duplicate-argument suppression.
2337 ac_must_keep_next=false
2343 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2345 | -silent | --silent | --silen | --sile | --sil)
2348 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2351 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2353 as_fn_append ac_configure_args1 " '$ac_arg'"
2354 if test $ac_must_keep_next = true; then
2355 ac_must_keep_next=false # Got value, back to normal.
2358 *=* | --config-cache | -C | -disable-* | --disable-* \
2359 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2360 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2361 | -with-* | --with-* | -without-* | --without-* | --x)
2362 case "$ac_configure_args0 " in
2363 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2366 -* ) ac_must_keep_next=true ;;
2369 as_fn_append ac_configure_args " '$ac_arg'"
2374 { ac_configure_args0=; unset ac_configure_args0;}
2375 { ac_configure_args1=; unset ac_configure_args1;}
2377 # When interrupted or exit'd, cleanup temporary files, and complete
2378 # config.log. We remove comments because anyway the quotes in there
2379 # would cause problems or look ugly.
2380 # WARNING: Use '\'' to represent an apostrophe within the trap.
2381 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2382 trap 'exit_status=$?
2383 # Save into config.log some information that might help in debugging.
2387 $as_echo "## ---------------- ##
2388 ## Cache variables. ##
2389 ## ---------------- ##"
2391 # The following way of writing the cache mishandles newlines in values,
2393 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2394 eval ac_val=\$$ac_var
2398 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2399 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2402 _ | IFS | as_nl) ;; #(
2403 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2404 *) { eval $ac_var=; unset $ac_var;} ;;
2409 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2410 *${as_nl}ac_space=\ *)
2412 "s/'\''/'\''\\\\'\'''\''/g;
2413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2416 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2423 $as_echo "## ----------------- ##
2424 ## Output variables. ##
2425 ## ----------------- ##"
2427 for ac_var in $ac_subst_vars
2429 eval ac_val=\$$ac_var
2431 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 $as_echo "$ac_var='\''$ac_val'\''"
2437 if test -n "$ac_subst_files"; then
2438 $as_echo "## ------------------- ##
2439 ## File substitutions. ##
2440 ## ------------------- ##"
2442 for ac_var in $ac_subst_files
2444 eval ac_val=\$$ac_var
2446 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 $as_echo "$ac_var='\''$ac_val'\''"
2453 if test -s confdefs.h; then
2454 $as_echo "## ----------- ##
2461 test "$ac_signal" != 0 &&
2462 $as_echo "$as_me: caught signal $ac_signal"
2463 $as_echo "$as_me: exit $exit_status"
2465 rm -f core *.core core.conftest.* &&
2466 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2469 for ac_signal in 1 2 13 15; do
2470 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2474 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2475 rm -f -r conftest* confdefs.h
2477 $as_echo "/* confdefs.h */" > confdefs.h
2479 # Predefined preprocessor variables.
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_NAME "$PACKAGE_NAME"
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_STRING "$PACKAGE_STRING"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_URL "$PACKAGE_URL"
2506 # Let the site file select an alternate cache file if it wants to.
2507 # Prefer an explicitly selected file to automatically selected ones.
2510 if test -n "$CONFIG_SITE"; then
2511 # We do not want a PATH search for config.site.
2512 case $CONFIG_SITE in #((
2513 -*) ac_site_file1=./$CONFIG_SITE;;
2514 */*) ac_site_file1=$CONFIG_SITE;;
2515 *) ac_site_file1=./$CONFIG_SITE;;
2517 elif test "x$prefix" != xNONE; then
2518 ac_site_file1=$prefix/share/config.site
2519 ac_site_file2=$prefix/etc/config.site
2521 ac_site_file1=$ac_default_prefix/share/config.site
2522 ac_site_file2=$ac_default_prefix/etc/config.site
2524 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2526 test "x$ac_site_file" = xNONE && continue
2527 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2529 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2530 sed 's/^/| /' "$ac_site_file" >&5
2532 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 as_fn_error $? "failed to load site
script $ac_site_file
2535 See \
`config.log' for more details" "$LINENO" 5; }
2539 if test -r "$cache_file"; then
2540 # Some versions of bash will fail to source /dev/null (special files
2541 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2542 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2544 $as_echo "$as_me: loading cache $cache_file" >&6;}
2546 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2547 *) . "./$cache_file";;
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2552 $as_echo "$as_me: creating cache $cache_file" >&6;}
2556 # Check that the precious variables saved in the cache have kept the same
2558 ac_cache_corrupted=false
2559 for ac_var in $ac_precious_vars; do
2560 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2561 eval ac_new_set=\$ac_env_${ac_var}_set
2562 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2563 eval ac_new_val=\$ac_env_${ac_var}_value
2564 case $ac_old_set,$ac_new_set in
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2567 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2568 ac_cache_corrupted=: ;;
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2571 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2572 ac_cache_corrupted=: ;;
2575 if test "x$ac_old_val" != "x$ac_new_val"; then
2576 # differences in whitespace do not lead to failure.
2577 ac_old_val_w=`echo x
$ac_old_val`
2578 ac_new_val_w=`echo x
$ac_new_val`
2579 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2581 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2582 ac_cache_corrupted=:
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2585 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2586 eval $ac_var=\$ac_old_val
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2589 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2591 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2594 # Pass precious variables to config.status.
2595 if test "$ac_new_set" = set; then
2597 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2598 *) ac_arg=$ac_var=$ac_new_val ;;
2600 case " $ac_configure_args " in
2601 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2602 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2606 if $ac_cache_corrupted; then
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2610 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2611 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2613 ## -------------------- ##
2614 ## Main body of script. ##
2615 ## -------------------- ##
2618 ac_cpp='$CPP $CPPFLAGS'
2619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2628 # AC_CONFIG_MACRO_DIR([config])
2629 ac_config_headers="$ac_config_headers config.h"
2632 libtool_VERSION=19:0:0
2635 # Default to --enable-multilib
2636 # Check whether --enable-multilib was given.
2637 if test "${enable_multilib+set}" = set; then :
2638 enableval=$enable_multilib; case "$enableval" in
2639 yes) multilib=yes ;;
2641 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2648 # We may get other options which we leave undocumented:
2649 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2650 # See config-ml.in if you want the gory details.
2652 if test "$srcdir" = "."; then
2653 if test "$with_target_subdir" != "."; then
2654 multi_basedir="$srcdir/$with_multisrctop../.."
2656 multi_basedir="$srcdir/$with_multisrctop.."
2659 multi_basedir="$srcdir/.."
2663 # Even if the default multilib is not a cross compilation,
2664 # it may be that some of the other multilibs are.
2665 if test $cross_compiling = no && test $multilib = yes \
2666 && test "x${with_multisubdir}" != x ; then
2667 cross_compiling=maybe
2670 ac_config_commands="$ac_config_commands default-1"
2676 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2677 if test -f "$ac_dir/install-sh"; then
2679 ac_install_sh="$ac_aux_dir/install-sh -c"
2681 elif test -f "$ac_dir/install.sh"; then
2683 ac_install_sh="$ac_aux_dir/install.sh -c"
2685 elif test -f "$ac_dir/shtool"; then
2687 ac_install_sh="$ac_aux_dir/shtool install -c"
2691 if test -z "$ac_aux_dir"; then
2692 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2695 # These three variables are undocumented and unsupported,
2696 # and are intended to be withdrawn in a future Autoconf release.
2697 # They can cause serious problems if a builder's source tree is in a directory
2698 # whose full name contains unusual characters.
2699 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2700 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2701 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2704 # Expand $ac_aux_dir to an absolute path.
2705 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2712 if test -n "$ac_tool_prefix"; then
2713 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2714 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2716 $as_echo_n "checking for $ac_word... " >&6; }
2717 if ${ac_cv_prog_CC+:} false; then :
2718 $as_echo_n "(cached) " >&6
2720 if test -n "$CC"; then
2721 ac_cv_prog_CC="$CC" # Let the user override the test.
2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727 test -z "$as_dir" && as_dir=.
2728 for ac_exec_ext in '' $ac_executable_extensions; do
2729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2730 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 if test -n "$CC"; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2743 $as_echo "$CC" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746 $as_echo "no" >&6; }
2751 if test -z "$ac_cv_prog_CC"; then
2753 # Extract the first word of "gcc", so it can be a program name with args.
2754 set dummy gcc; ac_word=$2
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2756 $as_echo_n "checking for $ac_word... " >&6; }
2757 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2758 $as_echo_n "(cached) " >&6
2760 if test -n "$ac_ct_CC"; then
2761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 ac_cv_prog_ac_ct_CC="gcc"
2771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2781 if test -n "$ac_ct_CC"; then
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2783 $as_echo "$ac_ct_CC" >&6; }
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2786 $as_echo "no" >&6; }
2789 if test "x$ac_ct_CC" = x; then
2792 case $cross_compiling:$ac_tool_warned in
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2796 ac_tool_warned=yes ;;
2804 if test -z "$CC"; then
2805 if test -n "$ac_tool_prefix"; then
2806 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2807 set dummy ${ac_tool_prefix}cc; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_CC+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$CC"; then
2814 ac_cv_prog_CC="$CC" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2823 ac_cv_prog_CC="${ac_tool_prefix}cc"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$CC"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2845 if test -z "$CC"; then
2846 # Extract the first word of "cc", so it can be a program name with args.
2847 set dummy cc; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_CC+:} false; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$CC"; then
2854 ac_cv_prog_CC="$CC" # Let the user override the test.
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2865 ac_prog_rejected=yes
2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test $ac_prog_rejected = yes; then
2877 # We found a bogon in the path, so make sure we never use it.
2878 set dummy $ac_cv_prog_CC
2880 if test $# != 0; then
2881 # We chose a different compiler from the bogus one.
2882 # However, it has the same basename, so the bogon will be chosen
2883 # first if we set CC to just the basename; use the full file name.
2885 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2891 if test -n "$CC"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2893 $as_echo "$CC" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2901 if test -z "$CC"; then
2902 if test -n "$ac_tool_prefix"; then
2903 for ac_prog in cl.exe
2905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if ${ac_cv_prog_CC+:} false; then :
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$CC"; then
2913 ac_cv_prog_CC="$CC" # Let the user override the test.
2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir=.
2920 for ac_exec_ext in '' $ac_executable_extensions; do
2921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 if test -n "$CC"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2935 $as_echo "$CC" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2942 test -n "$CC" && break
2945 if test -z "$CC"; then
2947 for ac_prog in cl.exe
2949 # Extract the first word of "$ac_prog", so it can be a program name with args.
2950 set dummy $ac_prog; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$ac_ct_CC"; then
2957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir=.
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2966 ac_cv_prog_ac_ct_CC="$ac_prog"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2977 if test -n "$ac_ct_CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2979 $as_echo "$ac_ct_CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2986 test -n "$ac_ct_CC" && break
2989 if test "x$ac_ct_CC" = x; then
2992 case $cross_compiling:$ac_tool_warned in
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996 ac_tool_warned=yes ;;
3005 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3008 See \
`config.log' for more details" "$LINENO" 5; }
3010 # Provide some information about the compiler.
3011 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3014 for ac_option in --version -v -V -qversion; do
3015 { { ac_try="$ac_compiler $ac_option >&5"
3017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3018 *) ac_try_echo
=$ac_try;;
3020 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3024 if test -s conftest.err
; then
3026 ... rest of stderr output deleted ...
3027 10q' conftest.err
>conftest.er1
3028 cat conftest.er1
>&5
3030 rm -f conftest.er1 conftest.err
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }
3035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3041 printf ("hello world\n");
3047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3048 (eval $ac_link) 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; then :
3056 if test x
$gcc_no_link = xyes
; then
3057 # Setting cross_compile will disable run tests; it will
3058 # also disable AC_CHECK_FILE but that's generally
3059 # correct if we can't link.
3063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3074 ac_clean_files_save
=$ac_clean_files
3075 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3076 # Try to create an executable without -o first, disregard a.out.
3077 # It will help us diagnose broken compilers, and finding out an intuition
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3080 $as_echo_n "checking whether the C compiler works... " >&6; }
3081 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3083 # The possible output files:
3084 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3087 for ac_file
in $ac_files
3090 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3091 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3096 if { { ac_try
="$ac_link_default"
3098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_link_default") 2>&5
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }; then :
3107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3108 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3110 # so that the user can short-circuit this test for compilers unknown to
3112 for ac_file in $ac_files ''
3114 test -f "$ac_file" || continue
3116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3119 # We found the default executable, but exeext='' is most
3123 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 # We set ac_cv_exeext here because the later test for it is not
3128 # safe: cross compilers may not add the suffix if given an `-o'
3129 # argument, so we may need to know it at that point already.
3130 # Even if this section looks crufty: it has the advantage of
3137 test "$ac_cv_exeext" = no && ac_cv_exeext=
3142 if test -z "$ac_file"; then :
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 $as_echo "$as_me: failed program was:" >&5
3146 sed 's
/^
/|
/' conftest.$ac_ext >&5
3148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3149 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3150 as_fn_error 77 "C compiler cannot create executables
3151 See \`config.log
' for more details" "$LINENO" 5; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3154 $as_echo "yes" >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3157 $as_echo_n "checking for C compiler default output file name... " >&6; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3159 $as_echo "$ac_file" >&6; }
3160 ac_exeext=$ac_cv_exeext
3162 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3163 ac_clean_files=$ac_clean_files_save
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3165 $as_echo_n "checking for suffix of executables... " >&6; }
3166 if { { ac_try="$ac_link"
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_link") 2>&5
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; }; then :
3177 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3178 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3179 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3181 for ac_file
in conftest.exe conftest conftest.
*; do
3182 test -f "$ac_file" ||
continue
3184 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3185 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3194 See \`config.log' for more details" "$LINENO" 5; }
3196 rm -f conftest conftest
$ac_cv_exeext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3198 $as_echo "$ac_cv_exeext" >&6; }
3200 rm -f conftest.
$ac_ext
3201 EXEEXT
=$ac_cv_exeext
3203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3209 FILE *f = fopen ("conftest.out", "w");
3210 return ferror (f) || fclose (f) != 0;
3216 ac_clean_files
="$ac_clean_files conftest.out"
3217 # Check that the compiler produces executables we can run. If not, either
3218 # the compiler is broken, or we cross compile.
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3220 $as_echo_n "checking whether we are cross compiling... " >&6; }
3221 if test "$cross_compiling" != yes; then
3222 { { ac_try
="$ac_link"
3224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228 $as_echo "$ac_try_echo"; } >&5
3229 (eval "$ac_link") 2>&5
3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232 test $ac_status = 0; }
3233 if { ac_try='./conftest$ac_cv_exeext'
3234 { { case "(($ac_try" in
3235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3236 *) ac_try_echo
=$ac_try;;
3238 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_try") 2>&5
3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; }; }; then
3246 if test "$cross_compiling" = maybe
; then
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error $?
"cannot run C compiled programs.
3252 If you meant to cross compile, use \`--host'.
3253 See \`config.log' for more details" "$LINENO" 5; }
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3258 $as_echo "$cross_compiling" >&6; }
3260 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3261 ac_clean_files
=$ac_clean_files_save
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3264 $as_echo_n "checking for suffix of object files... " >&6; }
3265 if ${ac_cv_objext+:} false
; then :
3266 $as_echo_n "(cached) " >&6
3268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 rm -f conftest.o conftest.obj
3280 if { { ac_try
="$ac_compile"
3282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_compile") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }; then :
3291 for ac_file in conftest.o conftest.obj conftest.*; do
3292 test -f "$ac_file" || continue;
3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3300 $as_echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.$ac_ext >&5
3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3306 See \
`config.log' for more details" "$LINENO" 5; }
3308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3311 $as_echo "$ac_cv_objext" >&6; }
3312 OBJEXT=$ac_cv_objext
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3315 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3316 if ${ac_cv_c_compiler_gnu+:} false; then :
3317 $as_echo_n "(cached) " >&6
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3333 if ac_fn_c_try_compile "$LINENO"; then :
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3343 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3344 if test $ac_compiler_gnu = yes; then
3349 ac_test_CFLAGS=${CFLAGS+set}
3350 ac_save_CFLAGS=$CFLAGS
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3352 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3353 if ${ac_cv_prog_cc_g+:} false; then :
3354 $as_echo_n "(cached) " >&6
3356 ac_save_c_werror_flag=$ac_c_werror_flag
3357 ac_c_werror_flag=yes
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3371 if ac_fn_c_try_compile "$LINENO"; then :
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3386 if ac_fn_c_try_compile "$LINENO"; then :
3389 ac_c_werror_flag=$ac_save_c_werror_flag
3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392 /* end confdefs.h. */
3402 if ac_fn_c_try_compile "$LINENO"; then :
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 ac_c_werror_flag=$ac_save_c_werror_flag
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3413 $as_echo "$ac_cv_prog_cc_g" >&6; }
3414 if test "$ac_test_CFLAGS" = set; then
3415 CFLAGS=$ac_save_CFLAGS
3416 elif test $ac_cv_prog_cc_g = yes; then
3417 if test "$GCC" = yes; then
3423 if test "$GCC" = yes; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3430 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3431 if ${ac_cv_prog_cc_c89+:} false; then :
3432 $as_echo_n "(cached) " >&6
3434 ac_cv_prog_cc_c89=no
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3441 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3442 struct buf { int x; };
3443 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3444 static char *e (p, i)
3450 static char *f (char * (*g) (char **, int), char **p, ...)
3455 s = g (p, va_arg (v,int));
3460 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3461 function prototypes and stuff, but not '\xHH' hex character constants.
3462 These don't provoke an error unfortunately, instead are silently treated
3463 as 'x'. The following induces an error, until -std is added to get
3464 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3465 array size at least. It's necessary to write '\x00'==0 to get something
3466 that's true only with -std. */
3467 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3469 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3470 inside strings and character constants. */
3472 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3474 int test (int i, double x);
3475 struct s1 {int (*f) (int a);};
3476 struct s2 {int (*f) (double a);};
3477 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3483 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3488 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3489 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3491 CC="$ac_save_CC $ac_arg"
3492 if ac_fn_c_try_compile "$LINENO"; then :
3493 ac_cv_prog_cc_c89=$ac_arg
3495 rm -f core conftest.err conftest.$ac_objext
3496 test "x$ac_cv_prog_cc_c89" != "xno" && break
3498 rm -f conftest.$ac_ext
3503 case "x$ac_cv_prog_cc_c89" in
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3506 $as_echo "none needed" >&6; } ;;
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3509 $as_echo "unsupported" >&6; } ;;
3511 CC="$CC $ac_cv_prog_cc_c89"
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3513 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3515 if test "x$ac_cv_prog_cc_c89" != xno; then :
3520 ac_cpp='$CPP $CPPFLAGS'
3521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3526 ac_cpp='$CPP $CPPFLAGS'
3527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3531 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3532 if ${am_cv_prog_cc_c_o+:} false; then :
3533 $as_echo_n "(cached) " >&6
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3546 # Make sure it works both with $CC and with simple cc.
3547 # Following AC_PROG_CC_C_O, we do the test twice because some
3548 # compilers refuse to overwrite an existing .o file with -o,
3549 # though they will create one.
3550 am_cv_prog_cc_c_o=yes
3552 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3553 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); } \
3557 && test -f conftest2.$ac_objext; then
3560 am_cv_prog_cc_c_o=no
3564 rm -f core conftest*
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3568 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3569 if test "$am_cv_prog_cc_c_o" != yes; then
3570 # Losing compiler, so override with the script.
3571 # FIXME: It is wrong to rewrite CC.
3572 # But if we don't then we get into trouble of one sort or another.
3573 # A longer-term fix would be to have automake use am__CC in this case,
3574 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3575 CC="$am_aux_dir/compile $CC"
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3591 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3592 # On Suns, sometimes $CPP names a directory.
3593 if test -n "$CPP" && test -d "$CPP"; then
3596 if test -z "$CPP"; then
3597 if ${ac_cv_prog_CPP+:} false; then :
3598 $as_echo_n "(cached) " >&6
3600 # Double quotes because CPP needs to be expanded
3601 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3604 for ac_c_preproc_warn_flag in '' yes
3606 # Use a header file that comes with gcc, so configuring glibc
3607 # with a fresh cross-compiler works.
3608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3609 # <limits.h> exists even on freestanding compilers.
3610 # On the NeXT, cc -E runs the code through the compiler's parser,
3611 # not just through cpp. "Syntax error" is here to catch this case.
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3615 # include <limits.h>
3617 # include <assert.h>
3621 if ac_fn_c_try_cpp "$LINENO"; then :
3624 # Broken: fails on valid input.
3627 rm -f conftest.err conftest.i conftest.$ac_ext
3629 # OK, works on sane cases. Now check whether nonexistent headers
3630 # can be detected and how.
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3633 #include <ac_nonexistent.h>
3635 if ac_fn_c_try_cpp "$LINENO"; then :
3636 # Broken: success on invalid input.
3639 # Passes both tests.
3643 rm -f conftest.err conftest.i conftest.$ac_ext
3646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3647 rm -f conftest.i conftest.err conftest.
$ac_ext
3648 if $ac_preproc_ok; then :
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3661 $as_echo "$CPP" >&6; }
3663 for ac_c_preproc_warn_flag
in '' yes
3665 # Use a header file that comes with gcc, so configuring glibc
3666 # with a fresh cross-compiler works.
3667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3668 # <limits.h> exists even on freestanding compilers.
3669 # On the NeXT, cc -E runs the code through the compiler's parser,
3670 # not just through cpp. "Syntax error" is here to catch this case.
3671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3674 # include <limits.h>
3676 # include <assert.h>
3680 if ac_fn_c_try_cpp
"$LINENO"; then :
3683 # Broken: fails on valid input.
3686 rm -f conftest.err conftest.i conftest.
$ac_ext
3688 # OK, works on sane cases. Now check whether nonexistent headers
3689 # can be detected and how.
3690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3692 #include <ac_nonexistent.h>
3694 if ac_fn_c_try_cpp
"$LINENO"; then :
3695 # Broken: success on invalid input.
3698 # Passes both tests.
3702 rm -f conftest.err conftest.i conftest.
$ac_ext
3705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3706 rm -f conftest.i conftest.err conftest.
$ac_ext
3707 if $ac_preproc_ok; then :
3710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3713 See \`config.log' for more details" "$LINENO" 5; }
3717 ac_cpp
='$CPP $CPPFLAGS'
3718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3724 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3725 if ${ac_cv_path_GREP+:} false
; then :
3726 $as_echo_n "(cached) " >&6
3728 if test -z "$GREP"; then
3729 ac_path_GREP_found
=false
3730 # Loop through the user's path and test for each of PROGNAME-LIST
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_prog
in grep ggrep
; do
3737 for ac_exec_ext
in '' $ac_executable_extensions; do
3738 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3739 as_fn_executable_p
"$ac_path_GREP" ||
continue
3740 # Check for GNU ac_path_GREP and select it if it is found.
3741 # Check for GNU $ac_path_GREP
3742 case `"$ac_path_GREP" --version 2>&1` in
3744 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3747 $as_echo_n 0123456789 >"conftest.in"
3750 cat "conftest.in" "conftest.in" >"conftest.tmp"
3751 mv "conftest.tmp" "conftest.in"
3752 cp "conftest.in" "conftest.nl"
3753 $as_echo 'GREP' >> "conftest.nl"
3754 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3755 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3756 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3757 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3758 # Best one so far, save it but keep looking for a better one
3759 ac_cv_path_GREP
="$ac_path_GREP"
3760 ac_path_GREP_max
=$ac_count
3762 # 10*(2^10) chars as input seems more than enough
3763 test $ac_count -gt 10 && break
3765 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3768 $ac_path_GREP_found && break 3
3773 if test -z "$ac_cv_path_GREP"; then
3774 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3777 ac_cv_path_GREP
=$GREP
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3782 $as_echo "$ac_cv_path_GREP" >&6; }
3783 GREP
="$ac_cv_path_GREP"
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3787 $as_echo_n "checking for egrep... " >&6; }
3788 if ${ac_cv_path_EGREP+:} false
; then :
3789 $as_echo_n "(cached) " >&6
3791 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3792 then ac_cv_path_EGREP
="$GREP -E"
3794 if test -z "$EGREP"; then
3795 ac_path_EGREP_found
=false
3796 # Loop through the user's path and test for each of PROGNAME-LIST
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3798 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_prog
in egrep; do
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3805 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3806 # Check for GNU ac_path_EGREP and select it if it is found.
3807 # Check for GNU $ac_path_EGREP
3808 case `"$ac_path_EGREP" --version 2>&1` in
3810 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3813 $as_echo_n 0123456789 >"conftest.in"
3816 cat "conftest.in" "conftest.in" >"conftest.tmp"
3817 mv "conftest.tmp" "conftest.in"
3818 cp "conftest.in" "conftest.nl"
3819 $as_echo 'EGREP' >> "conftest.nl"
3820 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3821 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3822 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3823 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3824 # Best one so far, save it but keep looking for a better one
3825 ac_cv_path_EGREP
="$ac_path_EGREP"
3826 ac_path_EGREP_max
=$ac_count
3828 # 10*(2^10) chars as input seems more than enough
3829 test $ac_count -gt 10 && break
3831 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3834 $ac_path_EGREP_found && break 3
3839 if test -z "$ac_cv_path_EGREP"; then
3840 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3843 ac_cv_path_EGREP
=$EGREP
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3849 $as_echo "$ac_cv_path_EGREP" >&6; }
3850 EGREP
="$ac_cv_path_EGREP"
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3854 $as_echo_n "checking for ANSI C header files... " >&6; }
3855 if ${ac_cv_header_stdc+:} false
; then :
3856 $as_echo_n "(cached) " >&6
3858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3873 if ac_fn_c_try_compile
"$LINENO"; then :
3874 ac_cv_header_stdc
=yes
3876 ac_cv_header_stdc
=no
3878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3880 if test $ac_cv_header_stdc = yes; then
3881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3888 $EGREP "memchr" >/dev
/null
2>&1; then :
3891 ac_cv_header_stdc
=no
3897 if test $ac_cv_header_stdc = yes; then
3898 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3905 $EGREP "free" >/dev
/null
2>&1; then :
3908 ac_cv_header_stdc
=no
3914 if test $ac_cv_header_stdc = yes; then
3915 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3916 if test "$cross_compiling" = yes; then :
3919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3923 #if ((' ' & 0x0FF) == 0x020)
3924 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3925 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3927 # define ISLOWER(c) \
3928 (('a' <= (c) && (c) <= 'i') \
3929 || ('j' <= (c) && (c) <= 'r') \
3930 || ('s' <= (c) && (c) <= 'z'))
3931 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3934 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3939 for (i = 0; i < 256; i++)
3940 if (XOR (islower (i), ISLOWER (i))
3941 || toupper (i) != TOUPPER (i))
3946 if ac_fn_c_try_run
"$LINENO"; then :
3949 ac_cv_header_stdc
=no
3951 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3952 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3958 $as_echo "$ac_cv_header_stdc" >&6; }
3959 if test $ac_cv_header_stdc = yes; then
3961 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3965 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3966 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3967 inttypes.h stdint.h unistd.h
3969 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3970 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3972 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3973 cat >>confdefs.h
<<_ACEOF
3974 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3983 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3984 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3991 if test "$MINIX" = yes; then
3993 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3996 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3999 $as_echo "#define _MINIX 1" >>confdefs.h
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4005 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4006 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4007 $as_echo_n "(cached) " >&6
4009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4012 # define __EXTENSIONS__ 1
4013 $ac_includes_default
4022 if ac_fn_c_try_compile
"$LINENO"; then :
4023 ac_cv_safe_to_define___extensions__
=yes
4025 ac_cv_safe_to_define___extensions__
=no
4027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4030 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4031 test $ac_cv_safe_to_define___extensions__ = yes &&
4032 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4034 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4036 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4038 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4040 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4044 # Do not delete or change the following two lines. For why, see
4045 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
4046 # Make sure we can run config.sub.
4047 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4048 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4051 $as_echo_n "checking build system type... " >&6; }
4052 if ${ac_cv_build+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 ac_build_alias
=$build_alias
4056 test "x$ac_build_alias" = x
&&
4057 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4058 test "x$ac_build_alias" = x
&&
4059 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4060 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4061 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4065 $as_echo "$ac_cv_build" >&6; }
4066 case $ac_cv_build in
4068 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4071 ac_save_IFS
=$IFS; IFS
='-'
4077 # Remember, the first character of IFS is used to create $*,
4078 # except with old shells:
4081 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4085 $as_echo_n "checking host system type... " >&6; }
4086 if ${ac_cv_host+:} false
; then :
4087 $as_echo_n "(cached) " >&6
4089 if test "x$host_alias" = x
; then
4090 ac_cv_host
=$ac_cv_build
4092 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4093 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4098 $as_echo "$ac_cv_host" >&6; }
4101 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4104 ac_save_IFS
=$IFS; IFS
='-'
4110 # Remember, the first character of IFS is used to create $*,
4111 # except with old shells:
4114 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4118 $as_echo_n "checking target system type... " >&6; }
4119 if ${ac_cv_target+:} false
; then :
4120 $as_echo_n "(cached) " >&6
4122 if test "x$target_alias" = x
; then
4123 ac_cv_target
=$ac_cv_host
4125 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4126 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4131 $as_echo "$ac_cv_target" >&6; }
4132 case $ac_cv_target in
4134 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
4136 target
=$ac_cv_target
4137 ac_save_IFS
=$IFS; IFS
='-'
4143 # Remember, the first character of IFS is used to create $*,
4144 # except with old shells:
4147 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4150 # The aliases save the names the user supplied, while $host etc.
4151 # will get canonicalized.
4152 test -n "$target_alias" &&
4153 test "$program_prefix$program_suffix$program_transform_name" = \
4155 program_prefix
=${target_alias}-
4157 target_alias
=${target_alias-$host_alias}
4160 if test "$build" != "$host"; then
4161 # We are being configured with some form of cross compiler.
4162 GLIBCXX_IS_NATIVE
=false
4163 case "$host","$target" in
4164 # Darwin crosses can use the host system's libraries and headers,
4165 # because of the fat library support. Of course, it must be the
4166 # same version of Darwin on both sides. Allow the user to
4167 # just say --target=foo-darwin without a version number to mean
4168 # "the version on this system".
4169 *-*-darwin*,*-*-darwin*)
4170 hostos
=`echo $host | sed 's/.*-darwin/darwin/'`
4171 targetos
=`echo $target | sed 's/.*-darwin/darwin/'`
4172 if test $hostos = $targetos ||
test $targetos = darwin
; then
4173 GLIBCXX_IS_NATIVE
=true
4182 GLIBCXX_IS_NATIVE
=true
4185 # Runs configure.host, and assorted other critical bits. Sets
4186 # up critical shell variables.
4188 # Keep these sync'd with the list in Makefile.am. The first provides an
4189 # expandable list at autoconf time; the second provides an expandable list
4190 # (i.e., shell variable) at configure time.
4194 # These need to be absolute paths, yet at the same time need to
4195 # canonicalize only relative paths, because then amd will not unmount
4196 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4197 glibcxx_builddir
=`${PWDCMD-pwd}`
4199 \\/$
* | ?
:\\/*) glibcxx_srcdir
=${srcdir} ;;
4200 *) glibcxx_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4202 toplevel_builddir
=${glibcxx_builddir}/..
4203 toplevel_srcdir
=${glibcxx_srcdir}/..
4209 # We use these options to decide which functions to include. They are
4210 # set from the top level.
4212 # Check whether --with-target-subdir was given.
4213 if test "${with_target_subdir+set}" = set; then :
4214 withval
=$with_target_subdir;
4219 # Check whether --with-cross-host was given.
4220 if test "${with_cross_host+set}" = set; then :
4221 withval
=$with_cross_host;
4226 # Check whether --with-newlib was given.
4227 if test "${with_newlib+set}" = set; then :
4228 withval
=$with_newlib;
4232 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4233 # available). Uncomment the next line to force a particular method.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4235 $as_echo_n "checking whether ln -s works... " >&6; }
4237 if test "$LN_S" = "ln -s"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4239 $as_echo "yes" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4242 $as_echo "no, using $LN_S" >&6; }
4247 if test -n "$ac_tool_prefix"; then
4248 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4249 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4251 $as_echo_n "checking for $ac_word... " >&6; }
4252 if ${ac_cv_prog_AS+:} false
; then :
4253 $as_echo_n "(cached) " >&6
4255 if test -n "$AS"; then
4256 ac_cv_prog_AS
="$AS" # Let the user override the test.
4258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4262 test -z "$as_dir" && as_dir
=.
4263 for ac_exec_ext
in '' $ac_executable_extensions; do
4264 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_prog_AS
="${ac_tool_prefix}as"
4266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 if test -n "$AS"; then
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4278 $as_echo "$AS" >&6; }
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 $as_echo "no" >&6; }
4286 if test -z "$ac_cv_prog_AS"; then
4288 # Extract the first word of "as", so it can be a program name with args.
4289 set dummy as
; ac_word
=$2
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4291 $as_echo_n "checking for $ac_word... " >&6; }
4292 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
4293 $as_echo_n "(cached) " >&6
4295 if test -n "$ac_ct_AS"; then
4296 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4302 test -z "$as_dir" && as_dir
=.
4303 for ac_exec_ext
in '' $ac_executable_extensions; do
4304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4305 ac_cv_prog_ac_ct_AS
="as"
4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4316 if test -n "$ac_ct_AS"; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4318 $as_echo "$ac_ct_AS" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4324 if test "x$ac_ct_AS" = x
; then
4327 case $cross_compiling:$ac_tool_warned in
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4330 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4331 ac_tool_warned
=yes ;;
4339 if test -n "$ac_tool_prefix"; then
4340 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4341 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if ${ac_cv_prog_AR+:} false
; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -n "$AR"; then
4348 ac_cv_prog_AR
="$AR" # Let the user override the test.
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_exec_ext
in '' $ac_executable_extensions; do
4356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4357 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 if test -n "$AR"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4370 $as_echo "$AR" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4378 if test -z "$ac_cv_prog_AR"; then
4380 # Extract the first word of "ar", so it can be a program name with args.
4381 set dummy
ar; ac_word
=$2
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383 $as_echo_n "checking for $ac_word... " >&6; }
4384 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -n "$ac_ct_AR"; then
4388 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir
=.
4395 for ac_exec_ext
in '' $ac_executable_extensions; do
4396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4397 ac_cv_prog_ac_ct_AR
="ar"
4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4408 if test -n "$ac_ct_AR"; then
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4410 $as_echo "$ac_ct_AR" >&6; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4416 if test "x$ac_ct_AR" = x
; then
4419 case $cross_compiling:$ac_tool_warned in
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4423 ac_tool_warned
=yes ;;
4431 if test -n "$ac_tool_prefix"; then
4432 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4433 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_RANLIB+:} false
; then :
4437 $as_echo_n "(cached) " >&6
4439 if test -n "$RANLIB"; then
4440 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4446 test -z "$as_dir" && as_dir
=.
4447 for ac_exec_ext
in '' $ac_executable_extensions; do
4448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459 RANLIB
=$ac_cv_prog_RANLIB
4460 if test -n "$RANLIB"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4462 $as_echo "$RANLIB" >&6; }
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4470 if test -z "$ac_cv_prog_RANLIB"; then
4471 ac_ct_RANLIB
=$RANLIB
4472 # Extract the first word of "ranlib", so it can be a program name with args.
4473 set dummy ranlib
; ac_word
=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4477 $as_echo_n "(cached) " >&6
4479 if test -n "$ac_ct_RANLIB"; then
4480 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4486 test -z "$as_dir" && as_dir
=.
4487 for ac_exec_ext
in '' $ac_executable_extensions; do
4488 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4489 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4499 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4500 if test -n "$ac_ct_RANLIB"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4502 $as_echo "$ac_ct_RANLIB" >&6; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 $as_echo "no" >&6; }
4508 if test "x$ac_ct_RANLIB" = x
; then
4509 RANLIB
="ranlib-not-found-in-path-error"
4511 case $cross_compiling:$ac_tool_warned in
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4515 ac_tool_warned
=yes ;;
4517 RANLIB
=$ac_ct_RANLIB
4520 RANLIB
="$ac_cv_prog_RANLIB"
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4526 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4527 # Check whether --enable-maintainer-mode was given.
4528 if test "${enable_maintainer_mode+set}" = set; then :
4529 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4531 USE_MAINTAINER_MODE
=no
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4535 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4536 if test $USE_MAINTAINER_MODE = yes; then
4537 MAINTAINER_MODE_TRUE
=
4538 MAINTAINER_MODE_FALSE
='#'
4540 MAINTAINER_MODE_TRUE
='#'
4541 MAINTAINER_MODE_FALSE
=
4544 MAINT
=$MAINTAINER_MODE_TRUE
4548 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4549 # which are themselves conditionally expanded.
4550 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4551 ## other macros from doing the same. This should be automated.) -pme
4553 # Check for C library flavor since GNU/Linux platforms use different
4554 # configuration directories depending on the C library in use.
4555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4565 $EGREP "_using_uclibc" >/dev
/null
2>&1; then :
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4583 $EGREP "_using_bionic" >/dev
/null
2>&1; then :
4591 # Find platform-specific directories containing configuration info.
4592 # Also possibly modify flags used elsewhere, as needed by the platform.
4594 .
$glibcxx_srcdir/configure.
host
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
4596 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
4598 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
4602 # For gettimeofday support.
4604 ac_cpp
='$CXXCPP $CPPFLAGS'
4605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4608 if test -z "$CXX"; then
4609 if test -n "$CCC"; then
4612 if test -n "$ac_tool_prefix"; then
4613 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4616 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_CXX+:} false
; then :
4620 $as_echo_n "(cached) " >&6
4622 if test -n "$CXX"; then
4623 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 if test -n "$CXX"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4645 $as_echo "$CXX" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4652 test -n "$CXX" && break
4655 if test -z "$CXX"; then
4657 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4659 # Extract the first word of "$ac_prog", so it can be a program name with args.
4660 set dummy
$ac_prog; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$ac_ct_CXX"; then
4667 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4687 if test -n "$ac_ct_CXX"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4689 $as_echo "$ac_ct_CXX" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4696 test -n "$ac_ct_CXX" && break
4699 if test "x$ac_ct_CXX" = x
; then
4702 case $cross_compiling:$ac_tool_warned in
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned
=yes ;;
4714 # Provide some information about the compiler.
4715 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4718 for ac_option
in --version -v -V -qversion; do
4719 { { ac_try
="$ac_compiler $ac_option >&5"
4721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4725 $as_echo "$ac_try_echo"; } >&5
4726 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4728 if test -s conftest.err; then
4730 ... rest of stderr output deleted ...
4731 10q' conftest.err >conftest.er1
4732 cat conftest.er1 >&5
4734 rm -f conftest.er1 conftest.err
4735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4736 test $ac_status = 0; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4740 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4741 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4742 $as_echo_n "(cached) " >&6
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4758 if ac_fn_cxx_try_compile "$LINENO"; then :
4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4768 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4769 if test $ac_compiler_gnu = yes; then
4774 ac_test_CXXFLAGS=${CXXFLAGS+set}
4775 ac_save_CXXFLAGS=$CXXFLAGS
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4777 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4778 if ${ac_cv_prog_cxx_g+:} false; then :
4779 $as_echo_n "(cached) " >&6
4781 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4782 ac_cxx_werror_flag=yes
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4796 if ac_fn_cxx_try_compile "$LINENO"; then :
4797 ac_cv_prog_cxx_g=yes
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4811 if ac_fn_cxx_try_compile "$LINENO"; then :
4814 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4817 /* end confdefs.h. */
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4828 ac_cv_prog_cxx_g=yes
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4838 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4839 if test "$ac_test_CXXFLAGS" = set; then
4840 CXXFLAGS=$ac_save_CXXFLAGS
4841 elif test $ac_cv_prog_cxx_g = yes; then
4842 if test "$GXX" = yes; then
4848 if test "$GXX" = yes; then
4855 ac_cpp='$CXXCPP $CPPFLAGS'
4856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4862 ac_cpp='$CXXCPP $CPPFLAGS'
4863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4867 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4868 if test -z "$CXXCPP"; then
4869 if ${ac_cv_prog_CXXCPP+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 # Double quotes because CXXCPP needs to be expanded
4873 for CXXCPP in "$CXX -E" "/lib/cpp"
4876 for ac_cxx_preproc_warn_flag in '' yes
4878 # Use a header file that comes with gcc, so configuring glibc
4879 # with a fresh cross-compiler works.
4880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4881 # <limits.h> exists even on freestanding compilers.
4882 # On the NeXT, cc -E runs the code through the compiler's parser,
4883 # not just through cpp. "Syntax error" is here to catch this case.
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4887 # include <limits.h>
4889 # include <assert.h>
4893 if ac_fn_cxx_try_cpp "$LINENO"; then :
4896 # Broken: fails on valid input.
4899 rm -f conftest.err conftest.i conftest.$ac_ext
4901 # OK, works on sane cases. Now check whether nonexistent headers
4902 # can be detected and how.
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4905 #include <ac_nonexistent.h>
4907 if ac_fn_cxx_try_cpp "$LINENO"; then :
4908 # Broken: success on invalid input.
4911 # Passes both tests.
4915 rm -f conftest.err conftest.i conftest.$ac_ext
4918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4919 rm -f conftest.i conftest.err conftest.
$ac_ext
4920 if $ac_preproc_ok; then :
4925 ac_cv_prog_CXXCPP
=$CXXCPP
4928 CXXCPP
=$ac_cv_prog_CXXCPP
4930 ac_cv_prog_CXXCPP
=$CXXCPP
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4933 $as_echo "$CXXCPP" >&6; }
4935 for ac_cxx_preproc_warn_flag
in '' yes
4937 # Use a header file that comes with gcc, so configuring glibc
4938 # with a fresh cross-compiler works.
4939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4940 # <limits.h> exists even on freestanding compilers.
4941 # On the NeXT, cc -E runs the code through the compiler's parser,
4942 # not just through cpp. "Syntax error" is here to catch this case.
4943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h. */
4946 # include <limits.h>
4948 # include <assert.h>
4952 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4955 # Broken: fails on valid input.
4958 rm -f conftest.err conftest.i conftest.
$ac_ext
4960 # OK, works on sane cases. Now check whether nonexistent headers
4961 # can be detected and how.
4962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4964 #include <ac_nonexistent.h>
4966 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4967 # Broken: success on invalid input.
4970 # Passes both tests.
4974 rm -f conftest.err conftest.i conftest.
$ac_ext
4977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4978 rm -f conftest.i conftest.err conftest.
$ac_ext
4979 if $ac_preproc_ok; then :
4982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4984 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
4985 See \`config.log' for more details" "$LINENO" 5; }
4989 ac_cpp
='$CXXCPP $CPPFLAGS'
4990 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4991 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4992 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
4998 $as_echo_n "checking for gettimeofday... " >&6; }
5002 ac_cpp
='$CXXCPP $CPPFLAGS'
5003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5007 ac_save_CXXFLAGS
="$CXXFLAGS"
5008 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5010 ac_has_gettimeofday
=no
;
5011 for ac_header
in sys
/time.h
5013 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
5014 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
5015 cat >>confdefs.h
<<_ACEOF
5016 #define HAVE_SYS_TIME_H 1
5018 ac_has_sys_time_h
=yes
5020 ac_has_sys_time_h
=no
5025 if test x
"$ac_has_sys_time_h" = x
"yes"; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
5027 $as_echo_n "checking for gettimeofday... " >&6; }
5028 if test x
$gcc_no_link = xyes
; then
5029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5031 #include <sys/time.h>
5035 timeval tv; gettimeofday(&tv, 0);
5040 if ac_fn_cxx_try_compile
"$LINENO"; then :
5041 ac_has_gettimeofday
=yes
5043 ac_has_gettimeofday
=no
5045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5047 if test x
$gcc_no_link = xyes
; then
5048 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5052 #include <sys/time.h>
5056 timeval tv; gettimeofday(&tv, 0);
5061 if ac_fn_cxx_try_link
"$LINENO"; then :
5062 ac_has_gettimeofday
=yes
5064 ac_has_gettimeofday
=no
5066 rm -f core conftest.err conftest.
$ac_objext \
5067 conftest
$ac_exeext conftest.
$ac_ext
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
5071 $as_echo "$ac_has_gettimeofday" >&6; }
5074 if test x
"$ac_has_gettimeofday" = x
"yes"; then
5076 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
5080 CXXFLAGS
="$ac_save_CXXFLAGS"
5082 ac_cpp
='$CPP $CPPFLAGS'
5083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5089 # For clock_gettime, nanosleep and sched_yield support.
5092 # Check whether --enable-libstdcxx-time was given.
5093 if test "${enable_libstdcxx_time+set}" = set; then :
5094 enableval
=$enable_libstdcxx_time;
5095 case "$enableval" in
5097 *) as_fn_error $?
"Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
5101 enable_libstdcxx_time
=auto
5108 ac_cpp
='$CXXCPP $CPPFLAGS'
5109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5113 ac_save_CXXFLAGS
="$CXXFLAGS"
5114 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
5115 ac_save_LIBS
="$LIBS"
5117 ac_has_clock_monotonic
=no
5118 ac_has_clock_realtime
=no
5120 ac_has_sched_yield
=no
5122 if test x
"$enable_libstdcxx_time" = x
"auto"; then
5124 case "${target_os}" in
5126 ac_has_nanosleep
=yes
5129 ac_has_win32_sleep
=yes
5130 ac_has_sched_yield
=yes
5133 ac_has_nanosleep
=yes
5134 ac_has_sched_yield
=yes
5136 # VxWorks has nanosleep as soon as the kernel is configured with
5137 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
5139 ac_has_nanosleep
=yes
5141 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
5142 # Don't use link test for freestanding library, in case gcc_no_link=yes
5143 if test x
"$is_hosted" = xyes
; then
5144 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5146 $as_echo_n "checking for library containing clock_gettime... " >&6; }
5147 if ${ac_cv_search_clock_gettime+:} false
; then :
5148 $as_echo_n "(cached) " >&6
5150 ac_func_search_save_LIBS
=$LIBS
5151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5154 /* Override any GCC internal prototype to avoid an error.
5155 Use char because int might match the return type of a GCC
5156 builtin and then its argument prototype would still apply. */
5160 char clock_gettime ();
5164 return clock_gettime ();
5169 for ac_lib
in '' rt
; do
5170 if test -z "$ac_lib"; then
5171 ac_res
="none required"
5174 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5176 if test x
$gcc_no_link = xyes
; then
5177 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5179 if ac_fn_cxx_try_link
"$LINENO"; then :
5180 ac_cv_search_clock_gettime
=$ac_res
5182 rm -f core conftest.err conftest.
$ac_objext \
5184 if ${ac_cv_search_clock_gettime+:} false
; then :
5188 if ${ac_cv_search_clock_gettime+:} false
; then :
5191 ac_cv_search_clock_gettime
=no
5194 LIBS
=$ac_func_search_save_LIBS
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5197 $as_echo "$ac_cv_search_clock_gettime" >&6; }
5198 ac_res
=$ac_cv_search_clock_gettime
5199 if test "$ac_res" != no
; then :
5200 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5204 if test x
"$ac_cv_search_clock_gettime" = x
"none required"; then
5205 ac_has_clock_monotonic
=yes
5206 ac_has_clock_realtime
=yes
5209 ac_has_nanosleep
=yes
5210 ac_has_sched_yield
=yes
5212 freebsd
*|netbsd
*|dragonfly
*|rtems
*)
5213 ac_has_clock_monotonic
=yes
5214 ac_has_clock_realtime
=yes
5215 ac_has_nanosleep
=yes
5216 ac_has_sched_yield
=yes
5219 ac_has_clock_monotonic
=yes
5220 ac_has_clock_realtime
=yes
5221 ac_has_nanosleep
=yes
5224 ac_has_clock_monotonic
=yes
5225 ac_has_clock_realtime
=yes
5226 ac_has_nanosleep
=yes
5227 ac_has_sched_yield
=yes
5230 ac_has_nanosleep
=yes
5231 ac_has_sched_yield
=yes
5234 elif test x
"$enable_libstdcxx_time" != x
"no"; then
5236 if test x
"$enable_libstdcxx_time" = x
"rt"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5238 $as_echo_n "checking for library containing clock_gettime... " >&6; }
5239 if ${ac_cv_search_clock_gettime+:} false
; then :
5240 $as_echo_n "(cached) " >&6
5242 ac_func_search_save_LIBS
=$LIBS
5243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 /* Override any GCC internal prototype to avoid an error.
5247 Use char because int might match the return type of a GCC
5248 builtin and then its argument prototype would still apply. */
5252 char clock_gettime ();
5256 return clock_gettime ();
5261 for ac_lib
in '' rt
; do
5262 if test -z "$ac_lib"; then
5263 ac_res
="none required"
5266 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5268 if test x
$gcc_no_link = xyes
; then
5269 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5271 if ac_fn_cxx_try_link
"$LINENO"; then :
5272 ac_cv_search_clock_gettime
=$ac_res
5274 rm -f core conftest.err conftest.
$ac_objext \
5276 if ${ac_cv_search_clock_gettime+:} false
; then :
5280 if ${ac_cv_search_clock_gettime+:} false
; then :
5283 ac_cv_search_clock_gettime
=no
5286 LIBS
=$ac_func_search_save_LIBS
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5289 $as_echo "$ac_cv_search_clock_gettime" >&6; }
5290 ac_res
=$ac_cv_search_clock_gettime
5291 if test "$ac_res" != no
; then :
5292 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
5297 $as_echo_n "checking for library containing nanosleep... " >&6; }
5298 if ${ac_cv_search_nanosleep+:} false
; then :
5299 $as_echo_n "(cached) " >&6
5301 ac_func_search_save_LIBS
=$LIBS
5302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5305 /* Override any GCC internal prototype to avoid an error.
5306 Use char because int might match the return type of a GCC
5307 builtin and then its argument prototype would still apply. */
5315 return nanosleep ();
5320 for ac_lib
in '' rt
; do
5321 if test -z "$ac_lib"; then
5322 ac_res
="none required"
5325 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5327 if test x
$gcc_no_link = xyes
; then
5328 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5330 if ac_fn_cxx_try_link
"$LINENO"; then :
5331 ac_cv_search_nanosleep
=$ac_res
5333 rm -f core conftest.err conftest.
$ac_objext \
5335 if ${ac_cv_search_nanosleep+:} false
; then :
5339 if ${ac_cv_search_nanosleep+:} false
; then :
5342 ac_cv_search_nanosleep
=no
5345 LIBS
=$ac_func_search_save_LIBS
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
5348 $as_echo "$ac_cv_search_nanosleep" >&6; }
5349 ac_res
=$ac_cv_search_nanosleep
5350 if test "$ac_res" != no
; then :
5351 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5356 ac_fn_cxx_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5357 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
5361 ac_fn_cxx_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
5362 if test "x$ac_cv_func_nanosleep" = xyes
; then :
5368 case "$ac_cv_search_clock_gettime" in
5369 -l*) GLIBCXX_LIBS
=$ac_cv_search_clock_gettime
5372 case "$ac_cv_search_nanosleep" in
5373 -l*) GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
5378 $as_echo_n "checking for library containing sched_yield... " >&6; }
5379 if ${ac_cv_search_sched_yield+:} false
; then :
5380 $as_echo_n "(cached) " >&6
5382 ac_func_search_save_LIBS
=$LIBS
5383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5384 /* end confdefs.h. */
5386 /* Override any GCC internal prototype to avoid an error.
5387 Use char because int might match the return type of a GCC
5388 builtin and then its argument prototype would still apply. */
5392 char sched_yield ();
5396 return sched_yield ();
5401 for ac_lib
in '' rt
; do
5402 if test -z "$ac_lib"; then
5403 ac_res
="none required"
5406 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5408 if test x
$gcc_no_link = xyes
; then
5409 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5411 if ac_fn_cxx_try_link
"$LINENO"; then :
5412 ac_cv_search_sched_yield
=$ac_res
5414 rm -f core conftest.err conftest.
$ac_objext \
5416 if ${ac_cv_search_sched_yield+:} false
; then :
5420 if ${ac_cv_search_sched_yield+:} false
; then :
5423 ac_cv_search_sched_yield
=no
5426 LIBS
=$ac_func_search_save_LIBS
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
5429 $as_echo "$ac_cv_search_sched_yield" >&6; }
5430 ac_res
=$ac_cv_search_sched_yield
5431 if test "$ac_res" != no
; then :
5432 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5437 case "$ac_cv_search_sched_yield" in
5439 if test x
"$enable_libstdcxx_time" = x
"rt"; then
5440 GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
5441 ac_has_sched_yield
=yes
5445 ac_has_sched_yield
=yes
5449 for ac_header
in unistd.h
5451 ac_fn_cxx_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5452 if test "x$ac_cv_header_unistd_h" = xyes
; then :
5453 cat >>confdefs.h
<<_ACEOF
5454 #define HAVE_UNISTD_H 1
5464 if test x
"$ac_has_unistd_h" = x
"yes"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
5466 $as_echo_n "checking for monotonic clock... " >&6; }
5467 if test x
$gcc_no_link = xyes
; then
5468 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5471 /* end confdefs.h. */
5478 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
5481 clock_gettime(CLOCK_MONOTONIC, &tp);
5487 if ac_fn_cxx_try_link
"$LINENO"; then :
5488 ac_has_clock_monotonic
=yes
5490 ac_has_clock_monotonic
=no
5492 rm -f core conftest.err conftest.
$ac_objext \
5493 conftest
$ac_exeext conftest.
$ac_ext
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
5496 $as_echo "$ac_has_clock_monotonic" >&6; }
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
5499 $as_echo_n "checking for realtime clock... " >&6; }
5500 if test x
$gcc_no_link = xyes
; then
5501 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5511 #if _POSIX_TIMERS > 0
5514 clock_gettime(CLOCK_REALTIME, &tp);
5520 if ac_fn_cxx_try_link
"$LINENO"; then :
5521 ac_has_clock_realtime
=yes
5523 ac_has_clock_realtime
=no
5525 rm -f core conftest.err conftest.
$ac_objext \
5526 conftest
$ac_exeext conftest.
$ac_ext
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
5529 $as_echo "$ac_has_clock_realtime" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
5532 $as_echo_n "checking for nanosleep... " >&6; }
5533 if test x
$gcc_no_link = xyes
; then
5534 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5544 #if _POSIX_TIMERS > 0
5553 if ac_fn_cxx_try_link
"$LINENO"; then :
5554 ac_has_nanosleep
=yes
5558 rm -f core conftest.err conftest.
$ac_objext \
5559 conftest
$ac_exeext conftest.
$ac_ext
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
5562 $as_echo "$ac_has_nanosleep" >&6; }
5566 if test x
"$ac_has_clock_monotonic" != x
"yes"; then
5567 case ${target_os} in
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
5570 $as_echo_n "checking for clock_gettime syscall... " >&6; }
5571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5575 #include <sys/syscall.h>
5580 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
5583 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
5584 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
5590 if ac_fn_cxx_try_compile
"$LINENO"; then :
5591 ac_has_clock_gettime_syscall
=yes
5593 ac_has_clock_gettime_syscall
=no
5595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
5597 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
5598 if test x
"$ac_has_clock_gettime_syscall" = x
"yes"; then
5600 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
5602 ac_has_clock_monotonic
=yes
5603 ac_has_clock_realtime
=yes
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
5605 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
5606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5607 /* end confdefs.h. */
5609 #include <sys/syscall.h>
5614 #ifdef SYS_clock_gettime64
5615 #if SYS_clock_gettime64 != SYS_clock_gettime
5616 // We need to use SYS_clock_gettime and libc appears to
5617 // also know about the SYS_clock_gettime64 syscall.
5618 // Check that userspace doesn't use time64 version of timespec.
5619 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
5620 "struct timespec must be compatible with SYS_clock_gettime");
5628 if ac_fn_cxx_try_compile
"$LINENO"; then :
5629 ac_timespec_matches_syscall
=yes
5631 ac_timespec_matches_syscall
=no
5633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
5635 $as_echo "$ac_timespec_matches_syscall" >&6; }
5636 if test x
"$ac_timespec_matches_syscall" = no
; then
5637 as_fn_error $?
"struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
5643 if test x
"$ac_has_clock_monotonic" = x
"yes"; then
5645 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
5649 if test x
"$ac_has_clock_realtime" = x
"yes"; then
5651 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
5655 if test x
"$ac_has_sched_yield" = x
"yes"; then
5657 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
5661 if test x
"$ac_has_nanosleep" = x
"yes"; then
5663 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
5665 elif test x
"$ac_has_win32_sleep" = x
"yes"; then
5667 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
5671 $as_echo_n "checking for sleep... " >&6; }
5672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5683 if ac_fn_cxx_try_compile
"$LINENO"; then :
5688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5689 if test x
"$ac_has_sleep" = x
"yes"; then
5691 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
5695 $as_echo "$ac_has_sleep" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
5697 $as_echo_n "checking for usleep... " >&6; }
5698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5710 if ac_fn_cxx_try_compile
"$LINENO"; then :
5715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5716 if test x
"$ac_has_usleep" = x
"yes"; then
5718 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
5722 $as_echo "$ac_has_usleep" >&6; }
5725 if test x
"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x
"nonono"; then
5727 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
5733 CXXFLAGS
="$ac_save_CXXFLAGS"
5734 LIBS
="$ac_save_LIBS"
5736 ac_cpp
='$CPP $CPPFLAGS'
5737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5743 am__api_version
='1.15'
5745 # Find a good install program. We prefer a C program (faster),
5746 # so one script is as good as another. But avoid the broken or
5747 # incompatible versions:
5748 # SysV /etc/install, /usr/sbin/install
5749 # SunOS /usr/etc/install
5750 # IRIX /sbin/install
5752 # AmigaOS /C/install, which installs bootblocks on floppy discs
5753 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5754 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5755 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5756 # OS/2's system install, which has a completely different semantic
5757 # ./install, which can be erroneously created by make from ./install.sh.
5758 # Reject install programs that cannot install multiple files.
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5760 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5761 if test -z "$INSTALL"; then
5762 if ${ac_cv_path_install+:} false
; then :
5763 $as_echo_n "(cached) " >&6
5765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir
=.
5770 # Account for people who put trailing slashes in PATH elements.
5771 case $as_dir/ in #((
5772 .
/ | .
// |
/[cC
]/* | \
5773 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5774 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5777 # OSF1 and SCO ODT 3.0 have their own names for install.
5778 # Don't use installbsd from OSF since it installs stuff as root
5780 for ac_prog
in ginstall scoinst
install; do
5781 for ac_exec_ext
in '' $ac_executable_extensions; do
5782 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5783 if test $ac_prog = install &&
5784 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5785 # AIX install. It has an incompatible calling convention.
5787 elif test $ac_prog = install &&
5788 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5789 # program-specific install script used by HP pwplus--don't use.
5792 rm -rf conftest.one conftest.two conftest.dir
5793 echo one
> conftest.one
5794 echo two
> conftest.two
5796 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5797 test -s conftest.one
&& test -s conftest.two
&&
5798 test -s conftest.dir
/conftest.one
&&
5799 test -s conftest.dir
/conftest.two
5801 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5814 rm -rf conftest.one conftest.two conftest.dir
5817 if test "${ac_cv_path_install+set}" = set; then
5818 INSTALL
=$ac_cv_path_install
5820 # As a last resort, use the slow shell script. Don't cache a
5821 # value for INSTALL within a source directory, because that will
5822 # break other packages using the cache if that directory is
5823 # removed, or if the value is a relative name.
5824 INSTALL
=$ac_install_sh
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5828 $as_echo "$INSTALL" >&6; }
5830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5831 # It thinks the first close brace ends the variable substitution.
5832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5836 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5839 $as_echo_n "checking whether build environment is sane... " >&6; }
5840 # Reject unsafe characters in $srcdir or the absolute working directory
5841 # name. Accept space and tab only in the latter.
5845 *[\\\"\
#\$\&\'\`$am_lf]*)
5846 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
5849 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
5850 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5853 # Do 'set' in a subshell so we don't clobber the current shell's
5854 # arguments. Must try -L first in case configure is actually a
5855 # symlink; some systems play weird games with the mod time of symlinks
5856 # (eg FreeBSD returns the mod time of the symlink's containing
5860 for am_try
in 1 2; do
5861 echo "timestamp, slept: $am_has_slept" > conftest.
file
5862 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5863 if test "$*" = "X"; then
5865 set X
`ls -t "$srcdir/configure" conftest.file`
5867 if test "$*" != "X $srcdir/configure conftest.file" \
5868 && test "$*" != "X conftest.file $srcdir/configure"; then
5870 # If neither matched, then we have a broken ls. This can happen
5871 # if, for instance, CONFIG_SHELL is bash and it inherits a
5872 # broken ls alias from the environment. This has actually
5873 # happened. Such a system could not be considered "sane".
5874 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
5875 alias in your environment" "$LINENO" 5
5877 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
5884 test "$2" = conftest.
file
5890 as_fn_error $?
"newly created file is older than distributed files!
5891 Check your system clock" "$LINENO" 5
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5894 $as_echo "yes" >&6; }
5895 # If we didn't sleep, we still need to ensure time stamps of config.status and
5896 # generated files are strictly newer.
5898 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
5905 test "$program_prefix" != NONE
&&
5906 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
5907 # Use a double $ so make ignores it.
5908 test "$program_suffix" != NONE
&&
5909 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
5910 # Double any \ or $.
5911 # By default was `s,x,x', remove it if useless.
5912 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
5913 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
5915 if test x
"${MISSING+set}" != xset
; then
5918 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
5920 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
5923 # Use eval to expand $SHELL
5924 if eval "$MISSING --is-lightweight"; then
5925 am_missing_run
="$MISSING "
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5929 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
5932 if test x
"${install_sh+set}" != xset
; then
5935 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
5937 install_sh
="\${SHELL} $am_aux_dir/install-sh"
5941 # Installed binaries are usually stripped using 'strip' when the user
5942 # run "make install-strip". However 'strip' might not be the right
5943 # tool to use in cross-compilation environments, therefore Automake
5944 # will honor the 'STRIP' environment variable to overrule this program.
5945 if test "$cross_compiling" != no
; then
5946 if test -n "$ac_tool_prefix"; then
5947 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5948 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5950 $as_echo_n "checking for $ac_word... " >&6; }
5951 if ${ac_cv_prog_STRIP+:} false
; then :
5952 $as_echo_n "(cached) " >&6
5954 if test -n "$STRIP"; then
5955 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5961 test -z "$as_dir" && as_dir
=.
5962 for ac_exec_ext
in '' $ac_executable_extensions; do
5963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5964 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 STRIP
=$ac_cv_prog_STRIP
5975 if test -n "$STRIP"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5977 $as_echo "$STRIP" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5985 if test -z "$ac_cv_prog_STRIP"; then
5987 # Extract the first word of "strip", so it can be a program name with args.
5988 set dummy strip
; ac_word
=$2
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990 $as_echo_n "checking for $ac_word... " >&6; }
5991 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5992 $as_echo_n "(cached) " >&6
5994 if test -n "$ac_ct_STRIP"; then
5995 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6001 test -z "$as_dir" && as_dir
=.
6002 for ac_exec_ext
in '' $ac_executable_extensions; do
6003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6004 ac_cv_prog_ac_ct_STRIP
="strip"
6005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6015 if test -n "$ac_ct_STRIP"; then
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6017 $as_echo "$ac_ct_STRIP" >&6; }
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6023 if test "x$ac_ct_STRIP" = x
; then
6026 case $cross_compiling:$ac_tool_warned in
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6030 ac_tool_warned
=yes ;;
6035 STRIP
="$ac_cv_prog_STRIP"
6039 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6042 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6043 if test -z "$MKDIR_P"; then
6044 if ${ac_cv_path_mkdir+:} false
; then :
6045 $as_echo_n "(cached) " >&6
6047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6048 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
6051 test -z "$as_dir" && as_dir
=.
6052 for ac_prog
in mkdir gmkdir
; do
6053 for ac_exec_ext
in '' $ac_executable_extensions; do
6054 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
6055 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6056 'mkdir (GNU coreutils) '* | \
6057 'mkdir (coreutils) '* | \
6058 'mkdir (fileutils) '4.1*)
6059 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
6069 test -d .
/--version && rmdir .
/--version
6070 if test "${ac_cv_path_mkdir+set}" = set; then
6071 MKDIR_P
="$ac_cv_path_mkdir -p"
6073 # As a last resort, use the slow shell script. Don't cache a
6074 # value for MKDIR_P within a source directory, because that will
6075 # break other packages using the cache if that directory is
6076 # removed, or if the value is a relative name.
6077 MKDIR_P
="$ac_install_sh -d"
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6081 $as_echo "$MKDIR_P" >&6; }
6083 for ac_prog
in gawk mawk nawk
awk
6085 # Extract the first word of "$ac_prog", so it can be a program name with args.
6086 set dummy
$ac_prog; ac_word
=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if ${ac_cv_prog_AWK+:} false
; then :
6090 $as_echo_n "(cached) " >&6
6092 if test -n "$AWK"; then
6093 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir
=.
6100 for ac_exec_ext
in '' $ac_executable_extensions; do
6101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_AWK
="$ac_prog"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 if test -n "$AWK"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6115 $as_echo "$AWK" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6122 test -n "$AWK" && break
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6126 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6128 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6129 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6130 $as_echo_n "(cached) " >&6
6132 cat >conftest.
make <<\_ACEOF
6135 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6137 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6138 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6140 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6142 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6146 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6148 $as_echo "yes" >&6; }
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6153 SET_MAKE
="MAKE=${MAKE-make}"
6156 rm -rf .tst
2>/dev
/null
6157 mkdir .tst
2>/dev
/null
6158 if test -d .tst
; then
6163 rmdir .tst
2>/dev
/null
6165 DEPDIR
="${am__leading_dot}deps"
6167 ac_config_commands
="$ac_config_commands depfiles"
6170 am_make
=${MAKE-make}
6171 cat > confinc
<< 'END'
6173 @
echo this is the am__doit target
6176 # If we don't find an include directive, just comment out the code.
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
6178 $as_echo_n "checking for style of include used by $am_make... " >&6; }
6182 # First try GNU make style include.
6183 echo "include confinc" > confmf
6184 # Ignore all kinds of additional output from 'make'.
6185 case `$am_make -s -f confmf 2> /dev/null` in #(
6186 *the\ am__doit\ target
*)
6192 # Now try BSD make style include.
6193 if test "$am__include" = "#"; then
6194 echo '.include "confinc"' > confmf
6195 case `$am_make -s -f confmf 2> /dev/null` in #(
6196 *the\ am__doit\ target
*)
6197 am__include
=.include
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
6206 $as_echo "$_am_result" >&6; }
6207 rm -f confinc confmf
6209 # Check whether --enable-dependency-tracking was given.
6210 if test "${enable_dependency_tracking+set}" = set; then :
6211 enableval
=$enable_dependency_tracking;
6214 if test "x$enable_dependency_tracking" != xno
; then
6215 am_depcomp
="$ac_aux_dir/depcomp"
6219 if test "x$enable_dependency_tracking" != xno; then
6228 # Check whether --enable-silent-rules was given.
6229 if test "${enable_silent_rules+set}" = set; then :
6230 enableval
=$enable_silent_rules;
6233 case $enable_silent_rules in # (((
6234 yes) AM_DEFAULT_VERBOSITY
=0;;
6235 no
) AM_DEFAULT_VERBOSITY
=1;;
6236 *) AM_DEFAULT_VERBOSITY
=1;;
6238 am_make
=${MAKE-make}
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
6240 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
6241 if ${am_cv_make_support_nested_variables+:} false
; then :
6242 $as_echo_n "(cached) " >&6
6244 if $as_echo 'TRUE=$(BAR$(V))
6250 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
6251 am_cv_make_support_nested_variables
=yes
6253 am_cv_make_support_nested_variables
=no
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
6257 $as_echo "$am_cv_make_support_nested_variables" >&6; }
6258 if test $am_cv_make_support_nested_variables = yes; then
6260 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
6262 AM_V
=$AM_DEFAULT_VERBOSITY
6263 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
6267 if test "`cd $srcdir && pwd`" != "`pwd`"; then
6268 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6269 # is not polluted with repeated "-I."
6270 am__isrc
=' -I$(srcdir)'
6271 # test to see if srcdir already configured
6272 if test -f $srcdir/config.status
; then
6273 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
6277 # test whether we have cygpath
6278 if test -z "$CYGPATH_W"; then
6279 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6280 CYGPATH_W
='cygpath -w'
6287 # Define the identity of the package.
6289 VERSION
='version-unused'
6292 # Some tools Automake needs.
6294 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6297 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6300 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6303 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6306 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6308 # For better backward compatibility. To be removed once Automake 1.9.x
6309 # dies out for good. For more background, see:
6310 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6311 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6312 mkdir_p
='$(MKDIR_P)'
6314 # We need awk for the "check" target (and possibly the TAP driver). The
6315 # system "awk" is bad on some platforms.
6316 # Always define AMTAR for backward compatibility. Yes, it's still used
6317 # in the wild :-( We should find a proper way to deprecate it ...
6321 # We'll loop over all known methods to create a tar archive until one works.
6322 _am_tools
='gnutar pax cpio none'
6324 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
6330 depcc
="$CC" am_compiler_list
=
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6333 $as_echo_n "checking dependency style of $depcc... " >&6; }
6334 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
6335 $as_echo_n "(cached) " >&6
6337 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6338 # We make a subdir and do the tests there. Otherwise we can end up
6339 # making bogus files that we don't know about and never remove. For
6340 # instance it was reported that on HP-UX the gcc test will end up
6341 # making a dummy file named 'D' -- because '-MD' means "put the output
6345 # Copy depcomp to subdir because otherwise we won't find it if we're
6346 # using a relative directory.
6347 cp "$am_depcomp" conftest.dir
6349 # We will build objects and dependencies in a subdirectory because
6350 # it helps to detect inapplicable dependency modes. For instance
6351 # both Tru64's cc and ICC support -MD to output dependencies as a
6352 # side effect of compilation, but ICC will put the dependencies in
6353 # the current directory while Tru64 will put them in the object
6357 am_cv_CC_dependencies_compiler_type
=none
6358 if test "$am_compiler_list" = ""; then
6359 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6362 case " $depcc " in #(
6363 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6366 for depmode
in $am_compiler_list; do
6367 # Setup a source with many dependencies, because some compilers
6368 # like to wrap large dependency lists on column 80 (with \), and
6369 # we should not choose a depcomp mode which is confused by this.
6371 # We need to recreate these files for each test, as the compiler may
6372 # overwrite some of them when testing with obscure command lines.
6373 # This happens at least with the AIX C compiler.
6375 for i
in 1 2 3 4 5 6; do
6376 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6377 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6378 # Solaris 10 /bin/sh.
6379 echo '/* dummy */' > sub
/conftst
$i.h
6381 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6383 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6384 # mode. It turns out that the SunPro C++ compiler does not properly
6385 # handle '-M -o', and we need to detect this. Also, some Intel
6386 # versions had trouble with output in subdirs.
6387 am__obj
=sub
/conftest.
${OBJEXT-o}
6388 am__minus_obj
="-o $am__obj"
6391 # This depmode causes a compiler race in universal mode.
6392 test "$am__universal" = false ||
continue
6395 # After this tag, mechanisms are not by side-effect, so they'll
6396 # only be used when explicitly requested.
6397 if test "x$enable_dependency_tracking" = xyes
; then
6403 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6404 # This compiler won't grok '-c -o', but also, the minuso test has
6405 # not run yet. These depmodes are late enough in the game, and
6406 # so weak that their functioning should not be impacted.
6407 am__obj
=conftest.
${OBJEXT-o}
6412 if depmode
=$depmode \
6413 source=sub
/conftest.c object
=$am__obj \
6414 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6415 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6416 >/dev
/null
2>conftest.err
&&
6417 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6418 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6419 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6420 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6421 # icc doesn't choke on unknown options, it will just issue warnings
6422 # or remarks (even with -Werror). So we grep stderr for any message
6423 # that says an option was ignored or not supported.
6424 # When given -MP, icc 7.0 and 7.1 complain thusly:
6425 # icc: Command line warning: ignoring option '-M'; no argument required
6426 # The diagnosis changed in icc 8.0:
6427 # icc: Command line remark: option '-MP' not supported
6428 if (grep 'ignoring option' conftest.err ||
6429 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6430 am_cv_CC_dependencies_compiler_type
=$depmode
6439 am_cv_CC_dependencies_compiler_type
=none
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6444 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6445 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6448 test "x$enable_dependency_tracking" != xno \
6449 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6451 am__fastdepCC_FALSE
='#'
6453 am__fastdepCC_TRUE
='#'
6454 am__fastdepCC_FALSE
=
6458 depcc
="$CXX" am_compiler_list
=
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6461 $as_echo_n "checking dependency style of $depcc... " >&6; }
6462 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
6463 $as_echo_n "(cached) " >&6
6465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6466 # We make a subdir and do the tests there. Otherwise we can end up
6467 # making bogus files that we don't know about and never remove. For
6468 # instance it was reported that on HP-UX the gcc test will end up
6469 # making a dummy file named 'D' -- because '-MD' means "put the output
6473 # Copy depcomp to subdir because otherwise we won't find it if we're
6474 # using a relative directory.
6475 cp "$am_depcomp" conftest.dir
6477 # We will build objects and dependencies in a subdirectory because
6478 # it helps to detect inapplicable dependency modes. For instance
6479 # both Tru64's cc and ICC support -MD to output dependencies as a
6480 # side effect of compilation, but ICC will put the dependencies in
6481 # the current directory while Tru64 will put them in the object
6485 am_cv_CXX_dependencies_compiler_type
=none
6486 if test "$am_compiler_list" = ""; then
6487 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6490 case " $depcc " in #(
6491 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
6494 for depmode
in $am_compiler_list; do
6495 # Setup a source with many dependencies, because some compilers
6496 # like to wrap large dependency lists on column 80 (with \), and
6497 # we should not choose a depcomp mode which is confused by this.
6499 # We need to recreate these files for each test, as the compiler may
6500 # overwrite some of them when testing with obscure command lines.
6501 # This happens at least with the AIX C compiler.
6503 for i
in 1 2 3 4 5 6; do
6504 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6505 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6506 # Solaris 10 /bin/sh.
6507 echo '/* dummy */' > sub
/conftst
$i.h
6509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6511 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6512 # mode. It turns out that the SunPro C++ compiler does not properly
6513 # handle '-M -o', and we need to detect this. Also, some Intel
6514 # versions had trouble with output in subdirs.
6515 am__obj
=sub
/conftest.
${OBJEXT-o}
6516 am__minus_obj
="-o $am__obj"
6519 # This depmode causes a compiler race in universal mode.
6520 test "$am__universal" = false ||
continue
6523 # After this tag, mechanisms are not by side-effect, so they'll
6524 # only be used when explicitly requested.
6525 if test "x$enable_dependency_tracking" = xyes
; then
6531 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
6532 # This compiler won't grok '-c -o', but also, the minuso test has
6533 # not run yet. These depmodes are late enough in the game, and
6534 # so weak that their functioning should not be impacted.
6535 am__obj
=conftest.
${OBJEXT-o}
6540 if depmode
=$depmode \
6541 source=sub
/conftest.c object
=$am__obj \
6542 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6543 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6544 >/dev
/null
2>conftest.err
&&
6545 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6546 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6547 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6548 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6549 # icc doesn't choke on unknown options, it will just issue warnings
6550 # or remarks (even with -Werror). So we grep stderr for any message
6551 # that says an option was ignored or not supported.
6552 # When given -MP, icc 7.0 and 7.1 complain thusly:
6553 # icc: Command line warning: ignoring option '-M'; no argument required
6554 # The diagnosis changed in icc 8.0:
6555 # icc: Command line remark: option '-MP' not supported
6556 if (grep 'ignoring option' conftest.err ||
6557 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6558 am_cv_CXX_dependencies_compiler_type
=$depmode
6567 am_cv_CXX_dependencies_compiler_type
=none
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6572 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6573 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6576 test "x$enable_dependency_tracking" != xno \
6577 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6578 am__fastdepCXX_TRUE
=
6579 am__fastdepCXX_FALSE
='#'
6581 am__fastdepCXX_TRUE
='#'
6582 am__fastdepCXX_FALSE
=
6587 # POSIX will say in a future version that running "rm -f" with no argument
6588 # is OK; and we want to be able to make that assumption in our Makefile
6589 # recipes. So use an aggressive probe to check that the usage we want is
6590 # actually supported "in the wild" to an acceptable degree.
6591 # See automake bug#10828.
6592 # To make any issue more visible, cause the running configure to be aborted
6593 # by default if the 'rm' program in use doesn't match our expectations; the
6594 # user can still override this though.
6595 if rm -f && rm -fr && rm -rf; then : OK
; else
6599 Your 'rm' program seems unable to run without file operands specified
6600 on the command line, even when the '-f' option is present. This is contrary
6601 to the behaviour of most rm programs out there, and not conforming with
6602 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
6604 Please tell bug-automake@gnu.org about your system, including the value
6605 of your $PATH and any error possibly output before this message. This
6606 can help us improve future automake versions.
6609 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
6610 echo 'Configuration will proceed anyway, since you have set the' >&2
6611 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
6615 Aborting the configuration process, to ensure you take notice of the issue.
6617 You can download and install GNU coreutils to get an 'rm' implementation
6618 that behaves properly: <http://www.gnu.org/software/coreutils/>.
6620 If you want to complete the configuration process using your problematic
6621 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
6622 to "yes", and re-run configure.
6625 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
6634 # Check whether --with-cross-host was given.
6635 if test "${with_cross_host+set}" = set; then :
6636 withval
=$with_cross_host;
6640 # Checks for header files.
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6642 $as_echo_n "checking for ANSI C header files... " >&6; }
6643 if ${ac_cv_header_stdc+:} false
; then :
6644 $as_echo_n "(cached) " >&6
6646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6661 if ac_fn_c_try_compile
"$LINENO"; then :
6662 ac_cv_header_stdc
=yes
6664 ac_cv_header_stdc
=no
6666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6668 if test $ac_cv_header_stdc = yes; then
6669 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6676 $EGREP "memchr" >/dev
/null
2>&1; then :
6679 ac_cv_header_stdc
=no
6685 if test $ac_cv_header_stdc = yes; then
6686 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6693 $EGREP "free" >/dev
/null
2>&1; then :
6696 ac_cv_header_stdc
=no
6702 if test $ac_cv_header_stdc = yes; then
6703 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6704 if test "$cross_compiling" = yes; then :
6707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6708 /* end confdefs.h. */
6711 #if ((' ' & 0x0FF) == 0x020)
6712 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6713 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6715 # define ISLOWER(c) \
6716 (('a' <= (c) && (c) <= 'i') \
6717 || ('j' <= (c) && (c) <= 'r') \
6718 || ('s' <= (c) && (c) <= 'z'))
6719 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6722 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6727 for (i = 0; i < 256; i++)
6728 if (XOR (islower (i), ISLOWER (i))
6729 || toupper (i) != TOUPPER (i))
6734 if ac_fn_c_try_run
"$LINENO"; then :
6737 ac_cv_header_stdc
=no
6739 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6740 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6746 $as_echo "$ac_cv_header_stdc" >&6; }
6747 if test $ac_cv_header_stdc = yes; then
6749 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6754 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6755 if ${ac_cv_header_sys_wait_h+:} false
; then :
6756 $as_echo_n "(cached) " >&6
6758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6760 #include <sys/types.h>
6761 #include <sys/wait.h>
6763 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6766 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6774 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6779 if ac_fn_c_try_compile
"$LINENO"; then :
6780 ac_cv_header_sys_wait_h
=yes
6782 ac_cv_header_sys_wait_h
=no
6784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6787 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6788 if test $ac_cv_header_sys_wait_h = yes; then
6790 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6794 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
6795 if test "x$ac_cv_header_math_h" = xyes
; then :
6797 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
6803 for ac_header
in getopt.h limits.h stddef.h string.h
strings.h \
6805 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
6806 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
6808 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
6809 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
6810 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
6811 netinet
/in.h netdb.h sys
/uio.h sys
/stat.h wchar.h
6813 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6814 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6815 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 case ${build_alias} in
6827 "") build_noncanonical
=${build} ;;
6828 *) build_noncanonical
=${build_alias} ;;
6831 case ${host_alias} in
6832 "") host_noncanonical
=${build_noncanonical} ;;
6833 *) host_noncanonical
=${host_alias} ;;
6838 case ${target_alias} in
6839 "") target_noncanonical
=${host_noncanonical} ;;
6840 *) target_noncanonical
=${target_alias} ;;
6846 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
6847 # have matching libraries, they should use host libraries: Makefile.tpl
6848 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
6849 # However, they still use the build modules, because the corresponding
6850 # host modules (e.g. bison) are only built for the host when bootstrap
6852 # - build_subdir is where we find build modules, and never changes.
6853 # - build_libsubdir is where we find build libraries, and can be overridden.
6855 # Prefix 'build-' so this never conflicts with target_subdir.
6856 build_subdir
="build-${build_noncanonical}"
6858 # Check whether --with-build-libsubdir was given.
6859 if test "${with_build_libsubdir+set}" = set; then :
6860 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
6862 build_libsubdir
="$build_subdir"
6865 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
6866 if ( test $srcdir = .
&& test -d gcc
) \
6867 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
6868 host_subdir
="host-${host_noncanonical}"
6873 target_subdir
=${target_noncanonical}
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
6877 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
6878 # Check whether --enable-version-specific-runtime-libs was given.
6879 if test "${enable_version_specific_runtime_libs+set}" = set; then :
6880 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
6881 yes) version_specific_libs
=yes ;;
6882 no
) version_specific_libs
=no
;;
6883 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
6886 version_specific_libs
=no
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
6890 $as_echo "$version_specific_libs" >&6; }
6893 # Check whether --with-slibdir was given.
6894 if test "${with_slibdir+set}" = set; then :
6895 withval
=$with_slibdir; slibdir
="$with_slibdir"
6897 if test "${version_specific_libs}" = yes; then
6898 slibdir
='$(libsubdir)'
6899 elif test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
6900 slibdir
='$(exec_prefix)/$(host_noncanonical)/lib'
6908 # Command-line options.
6909 # Very limited version of AC_MAINTAINER_MODE.
6910 # Check whether --enable-maintainer-mode was given.
6911 if test "${enable_maintainer_mode+set}" = set; then :
6912 enableval
=$enable_maintainer_mode; case ${enable_maintainer_mode} in
6915 *) as_fn_error $?
"--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
6917 maintainer_mode
=${enableval}
6926 # Calculate toolexeclibdir
6927 # Also toolexecdir, though it's only used in toolexeclibdir
6928 case ${version_specific_libs} in
6930 # Need the gcc compiler version to know where to install libraries
6931 # and header files if --enable-version-specific-runtime-libs option
6933 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
6934 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
6937 if test -n "$with_cross_host" &&
6938 test x
"$with_cross_host" != x
"no"; then
6939 # Install a library built with a cross compiler in tooldir, not libdir.
6940 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
6941 toolexeclibdir
='$(toolexecdir)/lib'
6943 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
6944 toolexeclibdir
='$(libdir)'
6946 multi_os_directory
=`$CC -print-multi-os-directory`
6947 case $multi_os_directory in
6948 .
) ;; # Avoid trailing /.
6949 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
6962 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
6963 # Check whether --enable-maintainer-mode was given.
6964 if test "${enable_maintainer_mode+set}" = set; then :
6965 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
6967 USE_MAINTAINER_MODE
=no
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
6971 $as_echo "$USE_MAINTAINER_MODE" >&6; }
6972 if test $USE_MAINTAINER_MODE = yes; then
6973 MAINTAINER_MODE_TRUE
=
6974 MAINTAINER_MODE_FALSE
='#'
6976 MAINTAINER_MODE_TRUE
='#'
6977 MAINTAINER_MODE_FALSE
=
6980 MAINT
=$MAINTAINER_MODE_TRUE
6984 # Check the compiler.
6985 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
6986 # We must force CC to /not/ be precious variables; otherwise
6987 # the wrong, non-multilib-adjusted value will be used in multilibs.
6988 # As a side effect, we have to subst CFLAGS ourselves.
6993 ac_cpp
='$CPP $CPPFLAGS'
6994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6997 if test -n "$ac_tool_prefix"; then
6998 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6999 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_CC+:} false
; then :
7003 $as_echo_n "(cached) " >&6
7005 if test -n "$CC"; then
7006 ac_cv_prog_CC
="$CC" # Let the user override the test.
7008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7012 test -z "$as_dir" && as_dir
=.
7013 for ac_exec_ext
in '' $ac_executable_extensions; do
7014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7015 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 if test -n "$CC"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7028 $as_echo "$CC" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7036 if test -z "$ac_cv_prog_CC"; then
7038 # Extract the first word of "gcc", so it can be a program name with args.
7039 set dummy gcc
; ac_word
=$2
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 $as_echo_n "checking for $ac_word... " >&6; }
7042 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
7043 $as_echo_n "(cached) " >&6
7045 if test -n "$ac_ct_CC"; then
7046 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
7048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 test -z "$as_dir" && as_dir
=.
7053 for ac_exec_ext
in '' $ac_executable_extensions; do
7054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7055 ac_cv_prog_ac_ct_CC
="gcc"
7056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7065 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
7066 if test -n "$ac_ct_CC"; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7068 $as_echo "$ac_ct_CC" >&6; }
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071 $as_echo "no" >&6; }
7074 if test "x$ac_ct_CC" = x
; then
7077 case $cross_compiling:$ac_tool_warned in
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7081 ac_tool_warned
=yes ;;
7089 if test -z "$CC"; then
7090 if test -n "$ac_tool_prefix"; then
7091 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7092 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_CC+:} false
; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$CC"; then
7099 ac_cv_prog_CC
="$CC" # Let the user override the test.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir
=.
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_CC
="${ac_tool_prefix}cc"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 if test -n "$CC"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7121 $as_echo "$CC" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7130 if test -z "$CC"; then
7131 # Extract the first word of "cc", so it can be a program name with args.
7132 set dummy cc
; ac_word
=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_prog_CC+:} false
; then :
7136 $as_echo_n "(cached) " >&6
7138 if test -n "$CC"; then
7139 ac_cv_prog_CC
="$CC" # Let the user override the test.
7142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7146 test -z "$as_dir" && as_dir
=.
7147 for ac_exec_ext
in '' $ac_executable_extensions; do
7148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7149 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7150 ac_prog_rejected
=yes
7154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 if test $ac_prog_rejected = yes; then
7162 # We found a bogon in the path, so make sure we never use it.
7163 set dummy
$ac_cv_prog_CC
7165 if test $# != 0; then
7166 # We chose a different compiler from the bogus one.
7167 # However, it has the same basename, so the bogon will be chosen
7168 # first if we set CC to just the basename; use the full file name.
7170 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
7176 if test -n "$CC"; then
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7178 $as_echo "$CC" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181 $as_echo "no" >&6; }
7186 if test -z "$CC"; then
7187 if test -n "$ac_tool_prefix"; then
7188 for ac_prog
in cl.exe
7190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7191 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 $as_echo_n "checking for $ac_word... " >&6; }
7194 if ${ac_cv_prog_CC+:} false
; then :
7195 $as_echo_n "(cached) " >&6
7197 if test -n "$CC"; then
7198 ac_cv_prog_CC
="$CC" # Let the user override the test.
7200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir
=.
7205 for ac_exec_ext
in '' $ac_executable_extensions; do
7206 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 if test -n "$CC"; then
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7220 $as_echo "$CC" >&6; }
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7223 $as_echo "no" >&6; }
7227 test -n "$CC" && break
7230 if test -z "$CC"; then
7232 for ac_prog
in cl.exe
7234 # Extract the first word of "$ac_prog", so it can be a program name with args.
7235 set dummy
$ac_prog; ac_word
=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 $as_echo_n "checking for $ac_word... " >&6; }
7238 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
7239 $as_echo_n "(cached) " >&6
7241 if test -n "$ac_ct_CC"; then
7242 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
7244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir
=.
7249 for ac_exec_ext
in '' $ac_executable_extensions; do
7250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7251 ac_cv_prog_ac_ct_CC
="$ac_prog"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
7262 if test -n "$ac_ct_CC"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
7264 $as_echo "$ac_ct_CC" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267 $as_echo "no" >&6; }
7271 test -n "$ac_ct_CC" && break
7274 if test "x$ac_ct_CC" = x
; then
7277 case $cross_compiling:$ac_tool_warned in
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7281 ac_tool_warned
=yes ;;
7290 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7292 as_fn_error $?
"no acceptable C compiler found in \$PATH
7293 See \`config.log' for more details" "$LINENO" 5; }
7295 # Provide some information about the compiler.
7296 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
7299 for ac_option
in --version -v -V -qversion; do
7300 { { ac_try
="$ac_compiler $ac_option >&5"
7302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7303 *) ac_try_echo=$ac_try;;
7305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7306 $as_echo "$ac_try_echo"; } >&5
7307 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7309 if test -s conftest.err; then
7311 ... rest of stderr output deleted ...
7312 10q' conftest.err >conftest.er1
7313 cat conftest.er1 >&5
7315 rm -f conftest.er1 conftest.err
7316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7317 test $ac_status = 0; }
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
7321 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
7322 if ${ac_cv_c_compiler_gnu+:} false; then :
7323 $as_echo_n "(cached) " >&6
7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7339 if ac_fn_c_try_compile "$LINENO"; then :
7344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 ac_cv_c_compiler_gnu=$ac_compiler_gnu
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
7349 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
7350 if test $ac_compiler_gnu = yes; then
7355 ac_test_CFLAGS=${CFLAGS+set}
7356 ac_save_CFLAGS=$CFLAGS
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
7358 $as_echo_n "checking whether $CC accepts -g... " >&6; }
7359 if ${ac_cv_prog_cc_g+:} false; then :
7360 $as_echo_n "(cached) " >&6
7362 ac_save_c_werror_flag=$ac_c_werror_flag
7363 ac_c_werror_flag=yes
7366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7367 /* end confdefs.h. */
7377 if ac_fn_c_try_compile "$LINENO"; then :
7381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7382 /* end confdefs.h. */
7392 if ac_fn_c_try_compile "$LINENO"; then :
7395 ac_c_werror_flag=$ac_save_c_werror_flag
7397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7408 if ac_fn_c_try_compile "$LINENO"; then :
7411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7416 ac_c_werror_flag=$ac_save_c_werror_flag
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
7419 $as_echo "$ac_cv_prog_cc_g" >&6; }
7420 if test "$ac_test_CFLAGS" = set; then
7421 CFLAGS=$ac_save_CFLAGS
7422 elif test $ac_cv_prog_cc_g = yes; then
7423 if test "$GCC" = yes; then
7429 if test "$GCC" = yes; then
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
7436 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7437 if ${ac_cv_prog_cc_c89+:} false; then :
7438 $as_echo_n "(cached) " >&6
7440 ac_cv_prog_cc_c89=no
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7447 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
7448 struct buf { int x; };
7449 FILE * (*rcsopen) (struct buf *, struct stat *, int);
7450 static char *e (p, i)
7456 static char *f (char * (*g) (char **, int), char **p, ...)
7461 s = g (p, va_arg (v,int));
7466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
7467 function prototypes and stuff, but not '\xHH' hex character constants.
7468 These don't provoke an error unfortunately, instead are silently treated
7469 as 'x'. The following induces an error, until -std is added to get
7470 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
7471 array size at least. It's necessary to write '\x00'==0 to get something
7472 that's true only with -std. */
7473 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7475 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7476 inside strings and character constants. */
7478 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7480 int test (int i, double x);
7481 struct s1 {int (*f) (int a);};
7482 struct s2 {int (*f) (double a);};
7483 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7489 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
7494 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7495 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7497 CC="$ac_save_CC $ac_arg"
7498 if ac_fn_c_try_compile "$LINENO"; then :
7499 ac_cv_prog_cc_c89=$ac_arg
7501 rm -f core conftest.err conftest.$ac_objext
7502 test "x$ac_cv_prog_cc_c89" != "xno" && break
7504 rm -f conftest.$ac_ext
7509 case "x$ac_cv_prog_cc_c89" in
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7512 $as_echo "none needed" >&6; } ;;
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7515 $as_echo "unsupported" >&6; } ;;
7517 CC="$CC $ac_cv_prog_cc_c89"
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
7519 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
7521 if test "x$ac_cv_prog_cc_c89" != xno; then :
7526 ac_cpp='$CPP $CPPFLAGS'
7527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7532 ac_cpp='$CPP $CPPFLAGS'
7533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
7537 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
7538 if ${am_cv_prog_cc_c_o+:} false; then :
7539 $as_echo_n "(cached) " >&6
7541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h. */
7552 # Make sure it works both with $CC and with simple cc.
7553 # Following AC_PROG_CC_C_O, we do the test twice because some
7554 # compilers refuse to overwrite an existing .o file with -o,
7555 # though they will create one.
7556 am_cv_prog_cc_c_o=yes
7558 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
7559 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } \
7563 && test -f conftest2.$ac_objext; then
7566 am_cv_prog_cc_c_o=no
7570 rm -f core conftest*
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7574 $as_echo "$am_cv_prog_cc_c_o" >&6; }
7575 if test "$am_cv_prog_cc_c_o" != yes; then
7576 # Losing compiler, so override with the script.
7577 # FIXME: It is wrong to rewrite CC.
7578 # But if we don't then we get into trouble of one sort or another.
7579 # A longer-term fix would be to have automake use am__CC in this case,
7580 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7581 CC="$am_aux_dir/compile $CC"
7584 ac_cpp='$CPP $CPPFLAGS'
7585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7591 ac_cpp='$CXXCPP $CPPFLAGS'
7592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7595 if test -z "$CXX"; then
7596 if test -n "$CCC"; then
7599 if test -n "$ac_tool_prefix"; then
7600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if ${ac_cv_prog_CXX+:} false; then :
7607 $as_echo_n "(cached) " >&6
7609 if test -n "$CXX"; then
7610 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 if test -n "$CXX"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7632 $as_echo "$CXX" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7639 test -n "$CXX" && break
7642 if test -z "$CXX"; then
7644 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7646 # Extract the first word of "$ac_prog", so it can be a program name with args.
7647 set dummy $ac_prog; ac_word=$2
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649 $as_echo_n "checking for $ac_word... " >&6; }
7650 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7651 $as_echo_n "(cached) " >&6
7653 if test -n "$ac_ct_CXX"; then
7654 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 test -z "$as_dir" && as_dir=.
7661 for ac_exec_ext in '' $ac_executable_extensions; do
7662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7663 ac_cv_prog_ac_ct_CXX="$ac_prog"
7664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7674 if test -n "$ac_ct_CXX"; then
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7676 $as_echo "$ac_ct_CXX" >&6; }
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7679 $as_echo "no" >&6; }
7683 test -n "$ac_ct_CXX" && break
7686 if test "x$ac_ct_CXX" = x; then
7689 case $cross_compiling:$ac_tool_warned in
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7693 ac_tool_warned=yes ;;
7701 # Provide some information about the compiler.
7702 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7705 for ac_option in --version -v -V -qversion; do
7706 { { ac_try="$ac_compiler $ac_option >&5"
7708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7709 *) ac_try_echo
=$ac_try;;
7711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7712 $as_echo "$ac_try_echo"; } >&5
7713 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7715 if test -s conftest.err
; then
7717 ... rest of stderr output deleted ...
7718 10q' conftest.err
>conftest.er1
7719 cat conftest.er1
>&5
7721 rm -f conftest.er1 conftest.err
7722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7723 test $ac_status = 0; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7727 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7728 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
7729 $as_echo_n "(cached) " >&6
7731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7745 if ac_fn_cxx_try_compile
"$LINENO"; then :
7750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7751 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7755 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7756 if test $ac_compiler_gnu = yes; then
7761 ac_test_CXXFLAGS
=${CXXFLAGS+set}
7762 ac_save_CXXFLAGS
=$CXXFLAGS
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7764 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7765 if ${ac_cv_prog_cxx_g+:} false
; then :
7766 $as_echo_n "(cached) " >&6
7768 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
7769 ac_cxx_werror_flag
=yes
7772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7783 if ac_fn_cxx_try_compile
"$LINENO"; then :
7784 ac_cv_prog_cxx_g
=yes
7787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7798 if ac_fn_cxx_try_compile
"$LINENO"; then :
7801 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7804 /* end confdefs.h. */
7814 if ac_fn_cxx_try_compile
"$LINENO"; then :
7815 ac_cv_prog_cxx_g
=yes
7817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7822 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7825 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7826 if test "$ac_test_CXXFLAGS" = set; then
7827 CXXFLAGS
=$ac_save_CXXFLAGS
7828 elif test $ac_cv_prog_cxx_g = yes; then
7829 if test "$GXX" = yes; then
7835 if test "$GXX" = yes; then
7842 ac_cpp
='$CPP $CPPFLAGS'
7843 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7844 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7845 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7847 # By default we simply use the C compiler to build assembly code.
7849 test "${CCAS+set}" = set || CCAS
=$CC
7850 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
7854 depcc
="$CCAS" am_compiler_list
=
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7857 $as_echo_n "checking dependency style of $depcc... " >&6; }
7858 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
7859 $as_echo_n "(cached) " >&6
7861 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7862 # We make a subdir and do the tests there. Otherwise we can end up
7863 # making bogus files that we don't know about and never remove. For
7864 # instance it was reported that on HP-UX the gcc test will end up
7865 # making a dummy file named 'D' -- because '-MD' means "put the output
7869 # Copy depcomp to subdir because otherwise we won't find it if we're
7870 # using a relative directory.
7871 cp "$am_depcomp" conftest.dir
7873 # We will build objects and dependencies in a subdirectory because
7874 # it helps to detect inapplicable dependency modes. For instance
7875 # both Tru64's cc and ICC support -MD to output dependencies as a
7876 # side effect of compilation, but ICC will put the dependencies in
7877 # the current directory while Tru64 will put them in the object
7881 am_cv_CCAS_dependencies_compiler_type
=none
7882 if test "$am_compiler_list" = ""; then
7883 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7888 for depmode
in $am_compiler_list; do
7889 # Setup a source with many dependencies, because some compilers
7890 # like to wrap large dependency lists on column 80 (with \), and
7891 # we should not choose a depcomp mode which is confused by this.
7893 # We need to recreate these files for each test, as the compiler may
7894 # overwrite some of them when testing with obscure command lines.
7895 # This happens at least with the AIX C compiler.
7897 for i
in 1 2 3 4 5 6; do
7898 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7899 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7900 # Solaris 10 /bin/sh.
7901 echo '/* dummy */' > sub
/conftst
$i.h
7903 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7905 # We check with '-c' and '-o' for the sake of the "dashmstdout"
7906 # mode. It turns out that the SunPro C++ compiler does not properly
7907 # handle '-M -o', and we need to detect this. Also, some Intel
7908 # versions had trouble with output in subdirs.
7909 am__obj
=sub
/conftest.
${OBJEXT-o}
7910 am__minus_obj
="-o $am__obj"
7913 # This depmode causes a compiler race in universal mode.
7914 test "$am__universal" = false ||
continue
7917 # After this tag, mechanisms are not by side-effect, so they'll
7918 # only be used when explicitly requested.
7919 if test "x$enable_dependency_tracking" = xyes
; then
7925 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
7926 # This compiler won't grok '-c -o', but also, the minuso test has
7927 # not run yet. These depmodes are late enough in the game, and
7928 # so weak that their functioning should not be impacted.
7929 am__obj
=conftest.
${OBJEXT-o}
7934 if depmode
=$depmode \
7935 source=sub
/conftest.c object
=$am__obj \
7936 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7937 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
7938 >/dev
/null
2>conftest.err
&&
7939 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7940 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7941 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
7942 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7943 # icc doesn't choke on unknown options, it will just issue warnings
7944 # or remarks (even with -Werror). So we grep stderr for any message
7945 # that says an option was ignored or not supported.
7946 # When given -MP, icc 7.0 and 7.1 complain thusly:
7947 # icc: Command line warning: ignoring option '-M'; no argument required
7948 # The diagnosis changed in icc 8.0:
7949 # icc: Command line remark: option '-MP' not supported
7950 if (grep 'ignoring option' conftest.err ||
7951 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7952 am_cv_CCAS_dependencies_compiler_type
=$depmode
7961 am_cv_CCAS_dependencies_compiler_type
=none
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
7966 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
7967 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
7970 test "x$enable_dependency_tracking" != xno \
7971 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
7972 am__fastdepCCAS_TRUE
=
7973 am__fastdepCCAS_FALSE
='#'
7975 am__fastdepCCAS_TRUE
='#'
7976 am__fastdepCCAS_FALSE
=
7984 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
7985 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
7986 # in both places for now and restore CFLAGS at the end of config.
7987 save_CFLAGS
="$CFLAGS"
7989 # Find other programs we need.
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7992 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_AR+:} false
; then :
7996 $as_echo_n "(cached) " >&6
7998 if test -n "$AR"; then
7999 ac_cv_prog_AR
="$AR" # Let the user override the test.
8001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8005 test -z "$as_dir" && as_dir
=.
8006 for ac_exec_ext
in '' $ac_executable_extensions; do
8007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8019 if test -n "$AR"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8021 $as_echo "$AR" >&6; }
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8029 if test -z "$ac_cv_prog_AR"; then
8031 # Extract the first word of "ar", so it can be a program name with args.
8032 set dummy
ar; ac_word
=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 $as_echo_n "checking for $ac_word... " >&6; }
8035 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
8036 $as_echo_n "(cached) " >&6
8038 if test -n "$ac_ct_AR"; then
8039 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir
=.
8046 for ac_exec_ext
in '' $ac_executable_extensions; do
8047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8048 ac_cv_prog_ac_ct_AR
="ar"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8059 if test -n "$ac_ct_AR"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8061 $as_echo "$ac_ct_AR" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 $as_echo "no" >&6; }
8067 if test "x$ac_ct_AR" = x
; then
8070 case $cross_compiling:$ac_tool_warned in
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8074 ac_tool_warned
=yes ;;
8082 if test -n "$ac_tool_prefix"; then
8083 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
8084 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086 $as_echo_n "checking for $ac_word... " >&6; }
8087 if ${ac_cv_prog_NM+:} false
; then :
8088 $as_echo_n "(cached) " >&6
8090 if test -n "$NM"; then
8091 ac_cv_prog_NM
="$NM" # Let the user override the test.
8093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8097 test -z "$as_dir" && as_dir
=.
8098 for ac_exec_ext
in '' $ac_executable_extensions; do
8099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8100 ac_cv_prog_NM
="${ac_tool_prefix}nm"
8101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8111 if test -n "$NM"; then
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8113 $as_echo "$NM" >&6; }
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8116 $as_echo "no" >&6; }
8121 if test -z "$ac_cv_prog_NM"; then
8123 # Extract the first word of "nm", so it can be a program name with args.
8124 set dummy nm
; ac_word
=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
8128 $as_echo_n "(cached) " >&6
8130 if test -n "$ac_ct_NM"; then
8131 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
8133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8137 test -z "$as_dir" && as_dir
=.
8138 for ac_exec_ext
in '' $ac_executable_extensions; do
8139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8140 ac_cv_prog_ac_ct_NM
="nm"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
8151 if test -n "$ac_ct_NM"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
8153 $as_echo "$ac_ct_NM" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8159 if test "x$ac_ct_NM" = x
; then
8162 case $cross_compiling:$ac_tool_warned in
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8166 ac_tool_warned
=yes ;;
8174 if test -n "$ac_tool_prefix"; then
8175 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8176 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8178 $as_echo_n "checking for $ac_word... " >&6; }
8179 if ${ac_cv_prog_RANLIB+:} false
; then :
8180 $as_echo_n "(cached) " >&6
8182 if test -n "$RANLIB"; then
8183 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8189 test -z "$as_dir" && as_dir
=.
8190 for ac_exec_ext
in '' $ac_executable_extensions; do
8191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8192 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8202 RANLIB
=$ac_cv_prog_RANLIB
8203 if test -n "$RANLIB"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8205 $as_echo "$RANLIB" >&6; }
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8208 $as_echo "no" >&6; }
8213 if test -z "$ac_cv_prog_RANLIB"; then
8214 ac_ct_RANLIB
=$RANLIB
8215 # Extract the first word of "ranlib", so it can be a program name with args.
8216 set dummy ranlib
; ac_word
=$2
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8218 $as_echo_n "checking for $ac_word... " >&6; }
8219 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8220 $as_echo_n "(cached) " >&6
8222 if test -n "$ac_ct_RANLIB"; then
8223 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8229 test -z "$as_dir" && as_dir
=.
8230 for ac_exec_ext
in '' $ac_executable_extensions; do
8231 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8232 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8242 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8243 if test -n "$ac_ct_RANLIB"; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8245 $as_echo "$ac_ct_RANLIB" >&6; }
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8248 $as_echo "no" >&6; }
8251 if test "x$ac_ct_RANLIB" = x
; then
8252 RANLIB
="ranlib-not-found-in-path-error"
8254 case $cross_compiling:$ac_tool_warned in
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8258 ac_tool_warned
=yes ;;
8260 RANLIB
=$ac_ct_RANLIB
8263 RANLIB
="$ac_cv_prog_RANLIB"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8267 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8269 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8270 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
8271 $as_echo_n "(cached) " >&6
8273 cat >conftest.
make <<\_ACEOF
8276 @
echo '@@@%%%=$(MAKE)=@@@%%%'
8278 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8279 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8281 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
8283 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
8287 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8289 $as_echo "yes" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293 $as_echo "no" >&6; }
8294 SET_MAKE
="MAKE=${MAKE-make}"
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
8302 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
8307 macro_version
='2.2.7a'
8308 macro_revision
='1.3134'
8322 ltmain
="$ac_aux_dir/ltmain.sh"
8324 # Backslashify metacharacters that are still active within
8325 # double-quoted strings.
8326 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8328 # Same as above, but do not quote variable references.
8329 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8331 # Sed substitution to delay expansion of an escaped shell variable in a
8332 # double_quote_subst'ed string.
8333 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8335 # Sed substitution to delay expansion of an escaped single quote.
8336 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8338 # Sed substitution to avoid accidental globbing in evaled expressions
8339 no_glob_subst
='s/\*/\\\*/g'
8341 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8342 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
8343 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8346 $as_echo_n "checking how to print strings... " >&6; }
8347 # Test print first, because it will be a builtin if present.
8348 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
8349 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8351 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8354 # Use this function as a fallback that always works.
8355 func_fallback_echo ()
8357 eval 'cat <<_LTECHO_EOF
8361 ECHO='func_fallback_echo
'
8364 # func_echo_all arg...
8365 # Invoke $ECHO with all args, space-separated.
8372 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8373 $as_echo "printf" >&6; } ;;
8374 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8375 $as_echo "print -r" >&6; } ;;
8376 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8377 $as_echo "cat" >&6; } ;;
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8394 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
8395 if ${ac_cv_path_SED+:} false; then :
8396 $as_echo_n "(cached) " >&6
8398 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
8399 for ac_i in 1 2 3 4 5 6 7; do
8400 ac_script="$ac_script$as_nl$ac_script"
8402 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
8403 { ac_script=; unset ac_script;}
8404 if test -z "$SED"; then
8405 ac_path_SED_found=false
8406 # Loop through the user's path and
test for each of PROGNAME-LIST
8407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir
=.
8412 for ac_prog
in sed gsed
; do
8413 for ac_exec_ext
in '' $ac_executable_extensions; do
8414 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
8415 as_fn_executable_p
"$ac_path_SED" ||
continue
8416 # Check for GNU ac_path_SED and select it if it is found.
8417 # Check for GNU $ac_path_SED
8418 case `"$ac_path_SED" --version 2>&1` in
8420 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
8423 $as_echo_n 0123456789 >"conftest.in"
8426 cat "conftest.in" "conftest.in" >"conftest.tmp"
8427 mv "conftest.tmp" "conftest.in"
8428 cp "conftest.in" "conftest.nl"
8429 $as_echo '' >> "conftest.nl"
8430 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8431 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8432 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8433 if test $ac_count -gt ${ac_path_SED_max-0}; then
8434 # Best one so far, save it but keep looking for a better one
8435 ac_cv_path_SED
="$ac_path_SED"
8436 ac_path_SED_max
=$ac_count
8438 # 10*(2^10) chars as input seems more than enough
8439 test $ac_count -gt 10 && break
8441 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8444 $ac_path_SED_found && break 3
8449 if test -z "$ac_cv_path_SED"; then
8450 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8458 $as_echo "$ac_cv_path_SED" >&6; }
8459 SED
="$ac_cv_path_SED"
8462 test -z "$SED" && SED
=sed
8463 Xsed
="$SED -e 1s/^X//"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8476 $as_echo_n "checking for fgrep... " >&6; }
8477 if ${ac_cv_path_FGREP+:} false
; then :
8478 $as_echo_n "(cached) " >&6
8480 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
8481 then ac_cv_path_FGREP
="$GREP -F"
8483 if test -z "$FGREP"; then
8484 ac_path_FGREP_found
=false
8485 # Loop through the user's path and test for each of PROGNAME-LIST
8486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8487 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
8490 test -z "$as_dir" && as_dir
=.
8491 for ac_prog
in fgrep
; do
8492 for ac_exec_ext
in '' $ac_executable_extensions; do
8493 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
8494 as_fn_executable_p
"$ac_path_FGREP" ||
continue
8495 # Check for GNU ac_path_FGREP and select it if it is found.
8496 # Check for GNU $ac_path_FGREP
8497 case `"$ac_path_FGREP" --version 2>&1` in
8499 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
8502 $as_echo_n 0123456789 >"conftest.in"
8505 cat "conftest.in" "conftest.in" >"conftest.tmp"
8506 mv "conftest.tmp" "conftest.in"
8507 cp "conftest.in" "conftest.nl"
8508 $as_echo 'FGREP' >> "conftest.nl"
8509 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
8510 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
8511 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
8512 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8513 # Best one so far, save it but keep looking for a better one
8514 ac_cv_path_FGREP
="$ac_path_FGREP"
8515 ac_path_FGREP_max
=$ac_count
8517 # 10*(2^10) chars as input seems more than enough
8518 test $ac_count -gt 10 && break
8520 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
8523 $ac_path_FGREP_found && break 3
8528 if test -z "$ac_cv_path_FGREP"; then
8529 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8532 ac_cv_path_FGREP
=$FGREP
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8538 $as_echo "$ac_cv_path_FGREP" >&6; }
8539 FGREP
="$ac_cv_path_FGREP"
8542 test -z "$GREP" && GREP
=grep
8562 # Check whether --with-gnu-ld was given.
8563 if test "${with_gnu_ld+set}" = set; then :
8564 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
8570 if test "$GCC" = yes; then
8571 # Check if gcc -print-prog-name=ld gives a path.
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8573 $as_echo_n "checking for ld used by $CC... " >&6; }
8576 # gcc leaves a trailing carriage return which upsets mingw
8577 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8579 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8582 # Accept absolute paths.
8584 re_direlt
='/[^/][^/]*/\.\./'
8585 # Canonicalize the pathname of ld
8586 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8587 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
8588 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8590 test -z "$LD" && LD
="$ac_prog"
8593 # If it fails, then pretend we aren't using GCC.
8597 # If it is relative, then search for the first ld in PATH.
8601 elif test "$with_gnu_ld" = yes; then
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8603 $as_echo_n "checking for GNU ld... " >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8606 $as_echo_n "checking for non-GNU ld... " >&6; }
8608 if ${lt_cv_path_LD+:} false
; then :
8609 $as_echo_n "(cached) " >&6
8611 if test -z "$LD"; then
8612 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8613 for ac_dir
in $PATH; do
8615 test -z "$ac_dir" && ac_dir
=.
8616 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8617 lt_cv_path_LD
="$ac_dir/$ac_prog"
8618 # Check to see if the program is GNU ld. I'd rather use --version,
8619 # but apparently some variants of GNU ld only accept -v.
8620 # Break only if it was the GNU/non-GNU ld that we prefer.
8621 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8622 *GNU
* |
*'with BFD'*)
8623 test "$with_gnu_ld" != no
&& break
8626 test "$with_gnu_ld" != yes && break
8633 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
8638 if test -n "$LD"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8640 $as_echo "$LD" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8645 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8647 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
8648 if ${lt_cv_prog_gnu_ld+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8652 case `$LD -v 2>&1 </dev/null` in
8653 *GNU
* |
*'with BFD'*)
8654 lt_cv_prog_gnu_ld
=yes
8657 lt_cv_prog_gnu_ld
=no
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8662 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
8663 with_gnu_ld
=$lt_cv_prog_gnu_ld
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8674 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8675 if ${lt_cv_path_NM+:} false
; then :
8676 $as_echo_n "(cached) " >&6
8678 if test -n "$NM"; then
8679 # Let the user override the nm to test.
8680 lt_nm_to_check
="$NM"
8682 lt_nm_to_check
="${ac_tool_prefix}nm"
8683 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8684 lt_nm_to_check
="$lt_nm_to_check nm"
8687 for lt_tmp_nm
in "$lt_nm_to_check"; do
8688 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8689 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
8691 test -z "$ac_dir" && ac_dir
=.
8692 # Strip out any user-provided options from the nm to test twice,
8693 # the first time to test to see if nm (rather than its options) has
8694 # an explicit path, the second time to yield a file which can be
8696 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
8697 case "$tmp_nm_path" in
8698 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
8699 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
8701 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
8702 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
8703 # Check to see if the nm accepts a BSD-compat flag.
8704 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
8705 # nm: unknown option "B" ignored
8706 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
8707 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
8711 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
8713 lt_cv_path_NM
="$tmp_nm -p"
8717 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8718 continue # so that we can try to find one that supports BSD flags
8727 : ${lt_cv_path_NM=no}
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8730 $as_echo "$lt_cv_path_NM" >&6; }
8731 if test "$lt_cv_path_NM" != "no"; then
8734 # Didn't find any BSD compatible name lister, look for dumpbin.
8735 if test -n "$DUMPBIN"; then :
8736 # Let the user override the test.
8738 if test -n "$ac_tool_prefix"; then
8739 for ac_prog
in dumpbin
"link -dump"
8741 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8742 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_prog_DUMPBIN+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 if test -n "$DUMPBIN"; then
8749 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
8751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8755 test -z "$as_dir" && as_dir
=.
8756 for ac_exec_ext
in '' $ac_executable_extensions; do
8757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8758 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
8759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8768 DUMPBIN
=$ac_cv_prog_DUMPBIN
8769 if test -n "$DUMPBIN"; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8771 $as_echo "$DUMPBIN" >&6; }
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8774 $as_echo "no" >&6; }
8778 test -n "$DUMPBIN" && break
8781 if test -z "$DUMPBIN"; then
8782 ac_ct_DUMPBIN
=$DUMPBIN
8783 for ac_prog
in dumpbin
"link -dump"
8785 # Extract the first word of "$ac_prog", so it can be a program name with args.
8786 set dummy
$ac_prog; ac_word
=$2
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8788 $as_echo_n "checking for $ac_word... " >&6; }
8789 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
8790 $as_echo_n "(cached) " >&6
8792 if test -n "$ac_ct_DUMPBIN"; then
8793 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
8795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8799 test -z "$as_dir" && as_dir
=.
8800 for ac_exec_ext
in '' $ac_executable_extensions; do
8801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8802 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
8803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8812 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
8813 if test -n "$ac_ct_DUMPBIN"; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8815 $as_echo "$ac_ct_DUMPBIN" >&6; }
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8818 $as_echo "no" >&6; }
8822 test -n "$ac_ct_DUMPBIN" && break
8825 if test "x$ac_ct_DUMPBIN" = x
; then
8828 case $cross_compiling:$ac_tool_warned in
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8832 ac_tool_warned
=yes ;;
8834 DUMPBIN
=$ac_ct_DUMPBIN
8838 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
8840 DUMPBIN
="$DUMPBIN -symbols"
8848 if test "$DUMPBIN" != ":"; then
8852 test -z "$NM" && NM
=nm
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8860 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8861 if ${lt_cv_nm_interface+:} false
; then :
8862 $as_echo_n "(cached) " >&6
8864 lt_cv_nm_interface
="BSD nm"
8865 echo "int some_variable = 0;" > conftest.
$ac_ext
8866 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8867 (eval "$ac_compile" 2>conftest.err
)
8868 cat conftest.err
>&5
8869 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8870 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
8871 cat conftest.err
>&5
8872 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8873 cat conftest.out
>&5
8874 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
8875 lt_cv_nm_interface
="MS dumpbin"
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8880 $as_echo "$lt_cv_nm_interface" >&6; }
8882 # find the maximum length of command line arguments
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8884 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8885 if ${lt_cv_sys_max_cmd_len+:} false
; then :
8886 $as_echo_n "(cached) " >&6
8893 # On DJGPP, this test can blow up pretty badly due to problems in libc
8894 # (any single argument exceeding 2000 bytes causes a buffer overrun
8895 # during glob expansion). Even if it were fixed, the result of this
8896 # check would be larger than it should be.
8897 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
8901 # Under GNU Hurd, this test is not required because there is
8902 # no limit to the length of command line arguments.
8903 # Libtool will interpret -1 as no limit whatsoever
8904 lt_cv_sys_max_cmd_len
=-1;
8907 cygwin
* | mingw
* | cegcc
*)
8908 # On Win9x/ME, this test blows up -- it succeeds, but takes
8909 # about 5 minutes as the teststring grows exponentially.
8910 # Worse, since 9x/ME are not pre-emptively multitasking,
8911 # you end up with a "frozen" computer, even though with patience
8912 # the test eventually succeeds (with a max line length of 256k).
8913 # Instead, let's just punt: use the minimum linelength reported by
8914 # all of the supported platforms: 8192 (on NT/2K/XP).
8915 lt_cv_sys_max_cmd_len
=8192;
8919 # On MiNT this can take a long time and run out of memory.
8920 lt_cv_sys_max_cmd_len
=8192;
8924 # On AmigaOS with pdksh, this test takes hours, literally.
8925 # So we just punt and use a minimum line length of 8192.
8926 lt_cv_sys_max_cmd_len
=8192;
8929 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
8930 # This has been around since 386BSD, at least. Likely further.
8931 if test -x /sbin
/sysctl
; then
8932 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
8933 elif test -x /usr
/sbin
/sysctl
; then
8934 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
8936 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
8938 # And add a safety zone
8939 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8940 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8944 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8945 lt_cv_sys_max_cmd_len
=196608
8949 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8950 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8951 # nice to cause kernel panics so lets avoid the loop below.
8952 # First set a reasonable default.
8953 lt_cv_sys_max_cmd_len
=16384
8955 if test -x /sbin
/sysconfig
; then
8956 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8957 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
8962 lt_cv_sys_max_cmd_len
=102400
8964 sysv5
* | sco5v6
* | sysv4.2uw2
*)
8965 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8966 if test -n "$kargmax"; then
8967 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
8969 lt_cv_sys_max_cmd_len
=32768
8973 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
8974 if test -n "$lt_cv_sys_max_cmd_len"; then
8975 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
8976 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
8978 # Make teststring a little bigger before we do anything with it.
8979 # a 1K string should be a reasonable start.
8980 for i
in 1 2 3 4 5 6 7 8 ; do
8981 teststring
=$teststring$teststring
8983 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
8984 # If test is not a shell built-in, we'll probably end up computing a
8985 # maximum length that is only half of the actual maximum length, but
8987 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
8988 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
8989 test $i != 17 # 1/2 MB should be enough
8992 teststring
=$teststring$teststring
8994 # Only check the string length outside the loop.
8995 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
8997 # Add a significant safety factor because C++ compilers can tack on
8998 # massive amounts of additional arguments before passing them to the
8999 # linker. It appears as though 1/2 is a usable value.
9000 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
9007 if test -n $lt_cv_sys_max_cmd_len ; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9009 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
9012 $as_echo "none" >&6; }
9014 max_cmd_len
=$lt_cv_sys_max_cmd_len
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
9026 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
9027 # Try some XSI features
9030 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
9032 && eval 'test $(( 1 + 1 )) -eq 2 \
9033 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
9036 $as_echo "$xsi_shell" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
9040 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
9042 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
9044 && lt_shell_append=yes
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
9046 $as_echo "$lt_shell_append" >&6; }
9049 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9059 # test EBCDIC or ASCII
9060 case `echo X|tr X '\101'` in
9061 A) # ASCII based system
9062 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
9063 lt_SP2NL='tr \040 \012'
9064 lt_NL2SP='tr \015\012 \040\040'
9066 *) # EBCDIC based system
9067 lt_SP2NL='tr \100 \n'
9068 lt_NL2SP='tr \r\n \100\100'
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
9081 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
9082 if ${lt_cv_ld_reload_flag+:} false; then :
9083 $as_echo_n "(cached
) " >&6
9085 lt_cv_ld_reload_flag='-r'
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
9088 $as_echo "$lt_cv_ld_reload_flag" >&6; }
9089 reload_flag=$lt_cv_ld_reload_flag
9090 case $reload_flag in
9092 *) reload_flag=" $reload_flag" ;;
9094 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9097 if test "$GCC" = yes; then
9098 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9100 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9113 if test -n "$ac_tool_prefix"; then
9114 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
9115 set dummy ${ac_tool_prefix}objdump; ac_word=$2
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9117 $as_echo_n "checking
for $ac_word...
" >&6; }
9118 if ${ac_cv_prog_OBJDUMP+:} false; then :
9119 $as_echo_n "(cached
) " >&6
9121 if test -n "$OBJDUMP"; then
9122 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9128 test -z "$as_dir" && as_dir=.
9129 for ac_exec_ext in '' $ac_executable_extensions; do
9130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9131 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
9132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9141 OBJDUMP=$ac_cv_prog_OBJDUMP
9142 if test -n "$OBJDUMP"; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9144 $as_echo "$OBJDUMP" >&6; }
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9147 $as_echo "no
" >&6; }
9152 if test -z "$ac_cv_prog_OBJDUMP"; then
9153 ac_ct_OBJDUMP=$OBJDUMP
9154 # Extract the first word of "objdump
", so it can be a program name with args.
9155 set dummy objdump; ac_word=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9157 $as_echo_n "checking
for $ac_word...
" >&6; }
9158 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
9159 $as_echo_n "(cached
) " >&6
9161 if test -n "$ac_ct_OBJDUMP"; then
9162 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9168 test -z "$as_dir" && as_dir=.
9169 for ac_exec_ext in '' $ac_executable_extensions; do
9170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9171 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
9172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9181 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
9182 if test -n "$ac_ct_OBJDUMP"; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
9184 $as_echo "$ac_ct_OBJDUMP" >&6; }
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9187 $as_echo "no
" >&6; }
9190 if test "x
$ac_ct_OBJDUMP" = x; then
9193 case $cross_compiling:$ac_tool_warned in
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9196 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9197 ac_tool_warned=yes ;;
9199 OBJDUMP=$ac_ct_OBJDUMP
9202 OBJDUMP="$ac_cv_prog_OBJDUMP"
9205 test -z "$OBJDUMP" && OBJDUMP=objdump
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
9216 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
9217 if ${lt_cv_deplibs_check_method+:} false; then :
9218 $as_echo_n "(cached
) " >&6
9220 lt_cv_file_magic_cmd='$MAGIC_CMD'
9221 lt_cv_file_magic_test_file=
9222 lt_cv_deplibs_check_method='unknown'
9223 # Need to set the preceding variable on all platforms that support
9224 # interlibrary dependencies.
9225 # 'none' -- dependencies not supported.
9226 # `unknown' -- same as none, but documents that we really don't know.
9227 # 'pass_all' -- all dependencies passed with no checks.
9228 # 'test_compile' -- check by making test program.
9229 # 'file_magic [[regex]]' -- check by looking for files in library path
9230 # which responds to the $file_magic_cmd with a given extended regex.
9231 # If you have `file' or equivalent on your system and you're not sure
9232 # whether `pass_all' will *always* work, you probably want this one.
9236 lt_cv_deplibs_check_method=pass_all
9240 lt_cv_deplibs_check_method=pass_all
9244 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9245 lt_cv_file_magic_cmd='/usr/bin/file -L'
9246 lt_cv_file_magic_test_file=/shlib/libc.so
9250 # func_win32_libid is a shell function defined in ltmain.sh
9251 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9252 lt_cv_file_magic_cmd='func_win32_libid'
9256 # Base MSYS/MinGW do not provide the 'file' command needed by
9257 # func_win32_libid shell function, so use a weaker test based on 'objdump',
9258 # unless we find 'file', for example because we are cross-compiling.
9259 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
9260 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
9261 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9262 lt_cv_file_magic_cmd='func_win32_libid'
9264 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
9265 lt_cv_file_magic_cmd='$OBJDUMP -f'
9270 # use the weaker test based on 'objdump'. See mingw*.
9271 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9272 lt_cv_file_magic_cmd='$OBJDUMP -f'
9275 darwin* | rhapsody*)
9276 lt_cv_deplibs_check_method=pass_all
9279 freebsd* | dragonfly*)
9280 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9283 # Not sure whether the presence of OpenBSD here was a mistake.
9284 # Let's accept both of them until this is cleared up.
9285 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
9286 lt_cv_file_magic_cmd=/usr/bin/file
9287 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
9291 lt_cv_deplibs_check_method=pass_all
9296 lt_cv_deplibs_check_method=pass_all
9300 lt_cv_deplibs_check_method=pass_all
9303 hpux10.20* | hpux11*)
9304 lt_cv_file_magic_cmd=/usr/bin/file
9307 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9308 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
9311 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]'
9312 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
9315 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9316 lt_cv_file_magic_test_file=/usr/lib/libc.sl
9322 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
9323 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
9326 irix5* | irix6* | nonstopux*)
9328 *-32|*"-32 ") libmagic=32-bit;;
9329 *-n32|*"-n32 ") libmagic=N32;;
9330 *-64|*"-64 ") libmagic=64-bit;;
9331 *) libmagic=never-match;;
9333 lt_cv_deplibs_check_method=pass_all
9336 # This must be Linux ELF.
9337 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9338 lt_cv_deplibs_check_method=pass_all
9342 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9345 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
9350 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9351 lt_cv_file_magic_cmd=/usr/bin/file
9352 lt_cv_file_magic_test_file=/usr/lib/libnls.so
9356 lt_cv_deplibs_check_method=pass_all
9360 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
9361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9363 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9367 osf3* | osf4* | osf5*)
9368 lt_cv_deplibs_check_method=pass_all
9372 lt_cv_deplibs_check_method=pass_all
9376 lt_cv_deplibs_check_method=pass_all
9379 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9380 lt_cv_deplibs_check_method=pass_all
9384 case $host_vendor in
9386 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]'
9387 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
9390 lt_cv_deplibs_check_method=pass_all
9393 lt_cv_file_magic_cmd='/bin/file'
9394 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9397 lt_cv_file_magic_cmd='/bin/file'
9398 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
9399 lt_cv_file_magic_test_file=/lib/libc.so
9402 lt_cv_deplibs_check_method=pass_all
9405 lt_cv_deplibs_check_method=pass_all
9411 lt_cv_deplibs_check_method=pass_all
9414 # Assume VxWorks cross toolchains are built on Linux, possibly
9415 # as canadian for Windows hosts.
9416 lt_cv_deplibs_check_method=pass_all
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
9422 $as_echo "$lt_cv_deplibs_check_method" >&6; }
9423 file_magic_cmd=$lt_cv_file_magic_cmd
9424 deplibs_check_method=$lt_cv_deplibs_check_method
9425 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9439 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
9440 for plugin in $plugin_names; do
9441 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
9442 if test x$plugin_so = x$plugin; then
9443 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
9445 if test x$plugin_so != x$plugin; then
9446 plugin_option="--plugin $plugin_so"
9451 if test -n "$ac_tool_prefix"; then
9452 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9453 set dummy ${ac_tool_prefix}ar; ac_word=$2
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9455 $as_echo_n "checking
for $ac_word...
" >&6; }
9456 if ${ac_cv_prog_AR+:} false; then :
9457 $as_echo_n "(cached
) " >&6
9459 if test -n "$AR"; then
9460 ac_cv_prog_AR="$AR" # Let the user override the test.
9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9466 test -z "$as_dir" && as_dir=.
9467 for ac_exec_ext in '' $ac_executable_extensions; do
9468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9469 ac_cv_prog_AR="${ac_tool_prefix}ar"
9470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9480 if test -n "$AR"; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
9482 $as_echo "$AR" >&6; }
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9485 $as_echo "no
" >&6; }
9490 if test -z "$ac_cv_prog_AR"; then
9492 # Extract the first word of "ar", so it can be a program name with args.
9493 set dummy ar; ac_word=$2
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9495 $as_echo_n "checking
for $ac_word...
" >&6; }
9496 if ${ac_cv_prog_ac_ct_AR+:} false; then :
9497 $as_echo_n "(cached
) " >&6
9499 if test -n "$ac_ct_AR"; then
9500 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9506 test -z "$as_dir" && as_dir=.
9507 for ac_exec_ext in '' $ac_executable_extensions; do
9508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9509 ac_cv_prog_ac_ct_AR="ar"
9510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
9520 if test -n "$ac_ct_AR"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
9522 $as_echo "$ac_ct_AR" >&6; }
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9525 $as_echo "no
" >&6; }
9528 if test "x
$ac_ct_AR" = x; then
9531 case $cross_compiling:$ac_tool_warned in
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9534 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9535 ac_tool_warned=yes ;;
9543 test -z "$AR" && AR=ar
9544 if test -n "$plugin_option"; then
9545 if $AR --help 2>&1 | grep -q "\
--plugin"; then
9547 $AR $plugin_option rc conftest.a conftest.c
9548 if test "$?
" != 0; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
9550 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
9552 AR="$AR $plugin_option"
9557 test -z "$AR_FLAGS" && AR_FLAGS=cru
9569 if test -n "$ac_tool_prefix"; then
9570 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
9571 set dummy ${ac_tool_prefix}strip; ac_word=$2
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9573 $as_echo_n "checking
for $ac_word...
" >&6; }
9574 if ${ac_cv_prog_STRIP+:} false; then :
9575 $as_echo_n "(cached
) " >&6
9577 if test -n "$STRIP"; then
9578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 test -z "$as_dir" && as_dir=.
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9587 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
9588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9597 STRIP=$ac_cv_prog_STRIP
9598 if test -n "$STRIP"; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9600 $as_echo "$STRIP" >&6; }
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9603 $as_echo "no
" >&6; }
9608 if test -z "$ac_cv_prog_STRIP"; then
9610 # Extract the first word of "strip
", so it can be a program name with args.
9611 set dummy strip; ac_word=$2
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9613 $as_echo_n "checking
for $ac_word...
" >&6; }
9614 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9615 $as_echo_n "(cached
) " >&6
9617 if test -n "$ac_ct_STRIP"; then
9618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9624 test -z "$as_dir" && as_dir=.
9625 for ac_exec_ext in '' $ac_executable_extensions; do
9626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9627 ac_cv_prog_ac_ct_STRIP="strip
"
9628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9637 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9638 if test -n "$ac_ct_STRIP"; then
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
9640 $as_echo "$ac_ct_STRIP" >&6; }
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9643 $as_echo "no
" >&6; }
9646 if test "x
$ac_ct_STRIP" = x; then
9649 case $cross_compiling:$ac_tool_warned in
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9652 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9653 ac_tool_warned=yes ;;
9658 STRIP="$ac_cv_prog_STRIP"
9661 test -z "$STRIP" && STRIP=:
9668 if test -n "$ac_tool_prefix"; then
9669 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
9670 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9672 $as_echo_n "checking
for $ac_word...
" >&6; }
9673 if ${ac_cv_prog_RANLIB+:} false; then :
9674 $as_echo_n "(cached
) " >&6
9676 if test -n "$RANLIB"; then
9677 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9683 test -z "$as_dir" && as_dir=.
9684 for ac_exec_ext in '' $ac_executable_extensions; do
9685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9686 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
9687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9696 RANLIB=$ac_cv_prog_RANLIB
9697 if test -n "$RANLIB"; then
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9699 $as_echo "$RANLIB" >&6; }
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9702 $as_echo "no
" >&6; }
9707 if test -z "$ac_cv_prog_RANLIB"; then
9708 ac_ct_RANLIB=$RANLIB
9709 # Extract the first word of "ranlib
", so it can be a program name with args.
9710 set dummy ranlib; ac_word=$2
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9712 $as_echo_n "checking
for $ac_word...
" >&6; }
9713 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9714 $as_echo_n "(cached
) " >&6
9716 if test -n "$ac_ct_RANLIB"; then
9717 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9723 test -z "$as_dir" && as_dir=.
9724 for ac_exec_ext in '' $ac_executable_extensions; do
9725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9726 ac_cv_prog_ac_ct_RANLIB="ranlib
"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9736 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9737 if test -n "$ac_ct_RANLIB"; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
9739 $as_echo "$ac_ct_RANLIB" >&6; }
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9742 $as_echo "no
" >&6; }
9745 if test "x
$ac_ct_RANLIB" = x; then
9748 case $cross_compiling:$ac_tool_warned in
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9751 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9752 ac_tool_warned=yes ;;
9754 RANLIB=$ac_ct_RANLIB
9757 RANLIB="$ac_cv_prog_RANLIB"
9760 test -z "$RANLIB" && RANLIB=:
9761 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
9762 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
9763 RANLIB="$RANLIB $plugin_option"
9772 # Determine commands to create old-style static archives.
9773 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9774 old_postinstall_cmds='chmod 644 $oldlib'
9775 old_postuninstall_cmds=
9777 if test -n "$RANLIB"; then
9780 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
9783 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
9786 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
9791 lock_old_archive_extraction=yes ;;
9793 lock_old_archive_extraction=no ;;
9834 # If no C compiler was specified, use CC.
9837 # If no C compiler flags were specified, use CFLAGS.
9838 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9840 # Allow CC to be a program name with arguments.
9844 # Check for command to grab the raw symbol name followed by C symbol from nm.
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
9846 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
9847 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9848 $as_echo_n "(cached
) " >&6
9851 # These are sane defaults that work on at least a few old systems.
9852 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9854 # Character class describing NM global symbol codes.
9855 symcode='[BCDEGRST]'
9857 # Regexp to match symbols that can be accessed directly from C.
9858 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9860 # Define system-specific variables.
9865 cygwin* | mingw* | pw32* | cegcc*)
9866 symcode='[ABCDGISTW]'
9869 if test "$host_cpu" = ia64; then
9870 symcode='[ABCDEGRST]'
9874 symcode='[BCDEGRST]'
9877 symcode='[BCDEGQRST]'
9888 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9896 # If we're using GNU nm, then use its standard symbol codes.
9897 case `$NM -V 2>&1` in
9898 *GNU* | *'with BFD'*)
9899 symcode='[ABCDGIRSTW]' ;;
9902 # Transform an extracted symbol line into a proper C declaration.
9903 # Some systems (esp. on ia64) link data and code symbols differently,
9904 # so use this general approach.
9905 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9907 # Transform an extracted symbol line into symbol name and symbol address
9908 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9909 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'"
9911 # Handle CRLF in mingw tool chain
9915 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9919 # Try without a prefix underscore, then with it.
9920 for ac_symprfx in "" "_
"; do
9922 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9923 symxfrm="\\1 $ac_symprfx\\2 \\2"
9925 # Write the raw and C identifiers.
9926 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
9927 # Fake it for dumpbin and say T for any non-static function
9928 # and D for any global variable.
9929 # Also find C++ and __fastcall symbols from MSVC++,
9930 # which start with @ or ?.
9931 lt_cv_sys_global_symbol_pipe="$AWK '"\
9932 " {last_section=section; section=\$ 3};"\
9933 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9934 " \$ 0!~/External *\|/{next};"\
9935 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9936 " {if(hide[section]) next};"\
9937 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9938 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9939 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9940 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9941 " ' prfx
=^
$ac_symprfx"
9943 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9946 # Check to see that the pipe works correctly.
9950 cat > conftest.$ac_ext <<_LT_EOF
9955 void nm_test_func(void);
9956 void nm_test_func(void){}
9960 int main(){nm_test_var='a';nm_test_func();return(0);}
9963 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9964 (eval $ac_compile) 2>&5
9966 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9967 test $ac_status = 0; }; then
9968 # Now try to grab the symbols.
9970 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
9971 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9973 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
9974 test $ac_status = 0; } && test -s "$nlist"; then
9975 # Try sorting and uniquifying the output.
9976 if sort "$nlist" | uniq > "$nlist"T; then
9977 mv -f "$nlist"T "$nlist"
9982 # Make sure that we snagged all the symbols we need.
9983 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9984 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9985 cat <<_LT_EOF > conftest.$ac_ext
9991 # Now generate the symbol file.
9992 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9994 cat <<_LT_EOF >> conftest.$ac_ext
9996 /* The mapping between symbol names and symbols. */
10001 lt__PROGRAM__LTX_preloaded_symbols[] =
10003 { "@PROGRAM@
", (void *) 0 },
10005 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10006 cat <<\_LT_EOF >> conftest.$ac_ext
10010 /* This works around a problem in FreeBSD linker */
10011 #ifdef FREEBSD_WORKAROUND
10012 static const void *lt_preloaded_setup() {
10013 return lt__PROGRAM__LTX_preloaded_symbols;
10021 # Now try linking the two files.
10022 mv conftest.$ac_objext conftstm.$ac_objext
10023 lt_save_LIBS="$LIBS"
10024 lt_save_CFLAGS="$CFLAGS"
10025 LIBS="conftstm.
$ac_objext"
10026 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
10027 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10028 (eval $ac_link) 2>&5
10030 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10031 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
10034 LIBS="$lt_save_LIBS"
10035 CFLAGS="$lt_save_CFLAGS"
10037 echo "cannot
find nm_test_func
in $nlist" >&5
10040 echo "cannot
find nm_test_var
in $nlist" >&5
10043 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
10046 echo "$progname: failed program was
:" >&5
10047 cat conftest.$ac_ext >&5
10049 rm -rf conftest* conftst*
10051 # Do not use the global_symbol_pipe unless it works.
10052 if test "$pipe_works" = yes; then
10055 lt_cv_sys_global_symbol_pipe=
10061 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10062 lt_cv_sys_global_symbol_to_cdecl=
10064 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
10066 $as_echo "failed
" >&6; }
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
10069 $as_echo "ok
" >&6; }
10093 # Check whether --enable-libtool-lock was given.
10094 if test "${enable_libtool_lock+set}" = set; then :
10095 enableval=$enable_libtool_lock;
10098 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
10100 # Some flags need to be propagated to the compiler or linker for good
10104 # Find out which ABI we are using.
10105 echo 'int i;' > conftest.$ac_ext
10106 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10107 (eval $ac_compile) 2>&5
10109 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10110 test $ac_status = 0; }; then
10111 case `/usr/bin/file conftest.$ac_objext` in
10113 HPUX_IA64_MODE="32"
10116 HPUX_IA64_MODE="64"
10123 # Find out which ABI we are using.
10124 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
10125 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10126 (eval $ac_compile) 2>&5
10128 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10129 test $ac_status = 0; }; then
10130 if test "$lt_cv_prog_gnu_ld" = yes; then
10131 case `/usr/bin/file conftest.$ac_objext` in
10133 LD="${LD-ld} -melf32bsmip"
10136 LD="${LD-ld} -melf32bmipn32"
10139 LD="${LD-ld} -melf64bmip"
10143 case `/usr/bin/file conftest.$ac_objext` in
10159 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10160 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10161 # Find out which ABI we are using.
10162 echo 'int i;' > conftest.$ac_ext
10163 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164 (eval $ac_compile) 2>&5
10166 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10167 test $ac_status = 0; }; then
10168 case `/usr/bin/file conftest.o` in
10171 x86_64-*kfreebsd*-gnu)
10172 LD="${LD-ld} -m elf_i386_fbsd
"
10175 case `/usr/bin/file conftest.o` in
10177 LD="${LD-ld} -m elf32_x86_64
"
10180 LD="${LD-ld} -m elf_i386
"
10184 powerpc64le-*linux*)
10185 LD="${LD-ld} -m elf32lppclinux
"
10188 LD="${LD-ld} -m elf32ppclinux
"
10191 LD="${LD-ld} -m elf_s390
"
10194 LD="${LD-ld} -m elf32_sparc
"
10200 x86_64-*kfreebsd*-gnu)
10201 LD="${LD-ld} -m elf_x86_64_fbsd
"
10204 LD="${LD-ld} -m elf_x86_64
"
10207 LD="${LD-ld} -m elf64lppc
"
10210 LD="${LD-ld} -m elf64ppc
"
10212 s390*-*linux*|s390*-*tpf*)
10213 LD="${LD-ld} -m elf64_s390
"
10216 LD="${LD-ld} -m elf64_sparc
"
10226 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10227 SAVE_CFLAGS="$CFLAGS"
10228 CFLAGS="$CFLAGS -belf"
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
10230 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
10231 if ${lt_cv_cc_needs_belf+:} false; then :
10232 $as_echo_n "(cached
) " >&6
10235 ac_cpp='$CPP $CPPFLAGS'
10236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10240 if test x$gcc_no_link = xyes; then
10241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10254 if ac_fn_c_try_link "$LINENO"; then :
10255 lt_cv_cc_needs_belf=yes
10257 lt_cv_cc_needs_belf=no
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10262 ac_cpp='$CPP $CPPFLAGS'
10263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
10269 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10270 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
10271 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10272 CFLAGS="$SAVE_CFLAGS"
10276 # Find out which ABI we are using.
10277 echo 'int i;' > conftest.$ac_ext
10278 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10279 (eval $ac_compile) 2>&5
10281 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
10282 test $ac_status = 0; }; then
10283 case `/usr/bin/file conftest.o` in
10285 case $lt_cv_prog_gnu_ld in
10286 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
10288 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10300 need_locks="$enable_libtool_lock"
10304 rhapsody* | darwin*)
10305 if test -n "$ac_tool_prefix"; then
10306 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
10307 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10309 $as_echo_n "checking
for $ac_word...
" >&6; }
10310 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10311 $as_echo_n "(cached
) " >&6
10313 if test -n "$DSYMUTIL"; then
10314 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10317 for as_dir in $PATH
10320 test -z "$as_dir" && as_dir=.
10321 for ac_exec_ext in '' $ac_executable_extensions; do
10322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10323 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
10324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10333 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10334 if test -n "$DSYMUTIL"; then
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
10336 $as_echo "$DSYMUTIL" >&6; }
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10339 $as_echo "no
" >&6; }
10344 if test -z "$ac_cv_prog_DSYMUTIL"; then
10345 ac_ct_DSYMUTIL=$DSYMUTIL
10346 # Extract the first word of "dsymutil
", so it can be a program name with args.
10347 set dummy dsymutil; ac_word=$2
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10349 $as_echo_n "checking
for $ac_word...
" >&6; }
10350 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10351 $as_echo_n "(cached
) " >&6
10353 if test -n "$ac_ct_DSYMUTIL"; then
10354 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10357 for as_dir in $PATH
10360 test -z "$as_dir" && as_dir=.
10361 for ac_exec_ext in '' $ac_executable_extensions; do
10362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10363 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
10364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10373 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10374 if test -n "$ac_ct_DSYMUTIL"; then
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
10376 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10379 $as_echo "no
" >&6; }
10382 if test "x
$ac_ct_DSYMUTIL" = x; then
10385 case $cross_compiling:$ac_tool_warned in
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10388 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10389 ac_tool_warned=yes ;;
10391 DSYMUTIL=$ac_ct_DSYMUTIL
10394 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10397 if test -n "$ac_tool_prefix"; then
10398 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
10399 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10401 $as_echo_n "checking
for $ac_word...
" >&6; }
10402 if ${ac_cv_prog_NMEDIT+:} false; then :
10403 $as_echo_n "(cached
) " >&6
10405 if test -n "$NMEDIT"; then
10406 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10409 for as_dir in $PATH
10412 test -z "$as_dir" && as_dir=.
10413 for ac_exec_ext in '' $ac_executable_extensions; do
10414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10415 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
10416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10425 NMEDIT=$ac_cv_prog_NMEDIT
10426 if test -n "$NMEDIT"; then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
10428 $as_echo "$NMEDIT" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10431 $as_echo "no
" >&6; }
10436 if test -z "$ac_cv_prog_NMEDIT"; then
10437 ac_ct_NMEDIT=$NMEDIT
10438 # Extract the first word of "nmedit
", so it can be a program name with args.
10439 set dummy nmedit; ac_word=$2
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10441 $as_echo_n "checking
for $ac_word...
" >&6; }
10442 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10443 $as_echo_n "(cached
) " >&6
10445 if test -n "$ac_ct_NMEDIT"; then
10446 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10449 for as_dir in $PATH
10452 test -z "$as_dir" && as_dir=.
10453 for ac_exec_ext in '' $ac_executable_extensions; do
10454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10455 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
10456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10465 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10466 if test -n "$ac_ct_NMEDIT"; then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
10468 $as_echo "$ac_ct_NMEDIT" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10471 $as_echo "no
" >&6; }
10474 if test "x
$ac_ct_NMEDIT" = x; then
10477 case $cross_compiling:$ac_tool_warned in
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10480 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10481 ac_tool_warned=yes ;;
10483 NMEDIT=$ac_ct_NMEDIT
10486 NMEDIT="$ac_cv_prog_NMEDIT"
10489 if test -n "$ac_tool_prefix"; then
10490 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
10491 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10493 $as_echo_n "checking
for $ac_word...
" >&6; }
10494 if ${ac_cv_prog_LIPO+:} false; then :
10495 $as_echo_n "(cached
) " >&6
10497 if test -n "$LIPO"; then
10498 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10501 for as_dir in $PATH
10504 test -z "$as_dir" && as_dir=.
10505 for ac_exec_ext in '' $ac_executable_extensions; do
10506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10507 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
10508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10517 LIPO=$ac_cv_prog_LIPO
10518 if test -n "$LIPO"; then
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
10520 $as_echo "$LIPO" >&6; }
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10523 $as_echo "no
" >&6; }
10528 if test -z "$ac_cv_prog_LIPO"; then
10530 # Extract the first word of "lipo
", so it can be a program name with args.
10531 set dummy lipo; ac_word=$2
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10533 $as_echo_n "checking
for $ac_word...
" >&6; }
10534 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10535 $as_echo_n "(cached
) " >&6
10537 if test -n "$ac_ct_LIPO"; then
10538 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10541 for as_dir in $PATH
10544 test -z "$as_dir" && as_dir=.
10545 for ac_exec_ext in '' $ac_executable_extensions; do
10546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10547 ac_cv_prog_ac_ct_LIPO="lipo
"
10548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10557 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10558 if test -n "$ac_ct_LIPO"; then
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
10560 $as_echo "$ac_ct_LIPO" >&6; }
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10563 $as_echo "no
" >&6; }
10566 if test "x
$ac_ct_LIPO" = x; then
10569 case $cross_compiling:$ac_tool_warned in
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10572 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10573 ac_tool_warned=yes ;;
10578 LIPO="$ac_cv_prog_LIPO"
10581 if test -n "$ac_tool_prefix"; then
10582 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
10583 set dummy ${ac_tool_prefix}otool; ac_word=$2
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10585 $as_echo_n "checking
for $ac_word...
" >&6; }
10586 if ${ac_cv_prog_OTOOL+:} false; then :
10587 $as_echo_n "(cached
) " >&6
10589 if test -n "$OTOOL"; then
10590 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $PATH
10596 test -z "$as_dir" && as_dir=.
10597 for ac_exec_ext in '' $ac_executable_extensions; do
10598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10599 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
10600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10609 OTOOL=$ac_cv_prog_OTOOL
10610 if test -n "$OTOOL"; then
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
10612 $as_echo "$OTOOL" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10615 $as_echo "no
" >&6; }
10620 if test -z "$ac_cv_prog_OTOOL"; then
10622 # Extract the first word of "otool
", so it can be a program name with args.
10623 set dummy otool; ac_word=$2
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10625 $as_echo_n "checking
for $ac_word...
" >&6; }
10626 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10627 $as_echo_n "(cached
) " >&6
10629 if test -n "$ac_ct_OTOOL"; then
10630 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10633 for as_dir in $PATH
10636 test -z "$as_dir" && as_dir=.
10637 for ac_exec_ext in '' $ac_executable_extensions; do
10638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10639 ac_cv_prog_ac_ct_OTOOL="otool
"
10640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10649 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10650 if test -n "$ac_ct_OTOOL"; then
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
10652 $as_echo "$ac_ct_OTOOL" >&6; }
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10655 $as_echo "no
" >&6; }
10658 if test "x
$ac_ct_OTOOL" = x; then
10661 case $cross_compiling:$ac_tool_warned in
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10664 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10665 ac_tool_warned=yes ;;
10670 OTOOL="$ac_cv_prog_OTOOL"
10673 if test -n "$ac_tool_prefix"; then
10674 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
10675 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10677 $as_echo_n "checking
for $ac_word...
" >&6; }
10678 if ${ac_cv_prog_OTOOL64+:} false; then :
10679 $as_echo_n "(cached
) " >&6
10681 if test -n "$OTOOL64"; then
10682 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10685 for as_dir in $PATH
10688 test -z "$as_dir" && as_dir=.
10689 for ac_exec_ext in '' $ac_executable_extensions; do
10690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10691 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
10692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10701 OTOOL64=$ac_cv_prog_OTOOL64
10702 if test -n "$OTOOL64"; then
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
10704 $as_echo "$OTOOL64" >&6; }
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10707 $as_echo "no
" >&6; }
10712 if test -z "$ac_cv_prog_OTOOL64"; then
10713 ac_ct_OTOOL64=$OTOOL64
10714 # Extract the first word of "otool64
", so it can be a program name with args.
10715 set dummy otool64; ac_word=$2
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10717 $as_echo_n "checking
for $ac_word...
" >&6; }
10718 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10719 $as_echo_n "(cached
) " >&6
10721 if test -n "$ac_ct_OTOOL64"; then
10722 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10725 for as_dir in $PATH
10728 test -z "$as_dir" && as_dir=.
10729 for ac_exec_ext in '' $ac_executable_extensions; do
10730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10731 ac_cv_prog_ac_ct_OTOOL64="otool64
"
10732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10741 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10742 if test -n "$ac_ct_OTOOL64"; then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
10744 $as_echo "$ac_ct_OTOOL64" >&6; }
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10747 $as_echo "no
" >&6; }
10750 if test "x
$ac_ct_OTOOL64" = x; then
10753 case $cross_compiling:$ac_tool_warned in
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
10756 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
10757 ac_tool_warned=yes ;;
10759 OTOOL64=$ac_ct_OTOOL64
10762 OTOOL64="$ac_cv_prog_OTOOL64"
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
10792 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
10793 if ${lt_cv_apple_cc_single_mod+:} false; then :
10794 $as_echo_n "(cached
) " >&6
10796 lt_cv_apple_cc_single_mod=no
10797 if test -z "${LT_MULTI_MODULE}"; then
10798 # By default we will add the -single_module flag. You can override
10799 # by either setting the environment variable LT_MULTI_MODULE
10800 # non-empty at configure time, or by adding -multi_module to the
10802 rm -rf libconftest.dylib*
10803 echo "int foo
(void
){return 1;}" > conftest.c
10804 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10805 -dynamiclib -Wl,-single_module conftest.c
" >&5
10806 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10807 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10809 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10810 lt_cv_apple_cc_single_mod=yes
10812 cat conftest.err >&5
10814 rm -rf libconftest.dylib*
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
10819 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
10821 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
10822 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10823 $as_echo_n "(cached
) " >&6
10825 lt_cv_ld_exported_symbols_list=no
10826 save_LDFLAGS=$LDFLAGS
10827 echo "_main
" > conftest.sym
10828 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
10829 if test x$gcc_no_link = xyes; then
10830 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 lt_cv_ld_exported_symbols_list=yes
10846 lt_cv_ld_exported_symbols_list=no
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LDFLAGS="$save_LDFLAGS"
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
10854 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
10856 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
10857 if ${lt_cv_ld_force_load+:} false; then :
10858 $as_echo_n "(cached
) " >&6
10860 lt_cv_ld_force_load=no
10861 cat > conftest.c << _LT_EOF
10862 int forced_loaded() { return 2;}
10864 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
10865 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10866 echo "$AR cru libconftest.a conftest.o
" >&5
10867 $AR cru libconftest.a conftest.o 2>&5
10868 cat > conftest.c << _LT_EOF
10869 int main() { return 0;}
10871 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
10872 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10874 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
10875 lt_cv_ld_force_load=yes
10877 cat conftest.err >&5
10879 rm -f conftest.err libconftest.a conftest conftest.c
10880 rm -rf conftest.dSYM
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
10884 $as_echo "$lt_cv_ld_force_load" >&6; }
10885 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
10886 # build without first building modern cctools / linker.
10887 case $host_cpu-$host_os in
10888 *-rhapsody* | *-darwin1.[012])
10889 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10891 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10893 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
10894 # deployment target is forced to an earlier version.
10895 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
10896 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
10899 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10906 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10907 _lt_dar_single_mod='$single_module'
10909 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10910 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10912 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10914 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
10915 _lt_dsymutil='~$DSYMUTIL $lib || :'
10922 for ac_header in dlfcn.h
10924 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
10926 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
10927 cat >>confdefs.h <<_ACEOF
10928 #define HAVE_DLFCN_H 1
10946 enable_win32_dll=no
10949 # Check whether --enable-shared was given.
10950 if test "${enable_shared+set}" = set; then :
10951 enableval=$enable_shared; p=${PACKAGE-default}
10953 yes) enable_shared=yes ;;
10954 no) enable_shared=no ;;
10957 # Look at the argument we got. We use all the common list separators.
10958 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10959 for pkg in $enableval; do
10961 if test "X
$pkg" = "X
$p"; then
10980 # Check whether --enable-static was given.
10981 if test "${enable_static+set}" = set; then :
10982 enableval=$enable_static; p=${PACKAGE-default}
10984 yes) enable_static=yes ;;
10985 no) enable_static=no ;;
10988 # Look at the argument we got. We use all the common list separators.
10989 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10990 for pkg in $enableval; do
10992 if test "X
$pkg" = "X
$p"; then
11012 # Check whether --with-pic was given.
11013 if test "${with_pic+set}" = set; then :
11014 withval=$with_pic; pic_mode="$withval"
11020 test -z "$pic_mode" && pic_mode=default
11028 # Check whether --enable-fast-install was given.
11029 if test "${enable_fast_install+set}" = set; then :
11030 enableval=$enable_fast_install; p=${PACKAGE-default}
11032 yes) enable_fast_install=yes ;;
11033 no) enable_fast_install=no ;;
11035 enable_fast_install=no
11036 # Look at the argument we got. We use all the common list separators.
11037 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11038 for pkg in $enableval; do
11040 if test "X
$pkg" = "X
$p"; then
11041 enable_fast_install=yes
11048 enable_fast_install=yes
11061 # This can be used to rebuild libtool when needed
11062 LIBTOOL_DEPS="$ltmain"
11064 # Always use our own libtool.
11065 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11092 test -z "$LN_S" && LN_S="ln -s"
11107 if test -n "${ZSH_VERSION+set}" ; then
11108 setopt NO_GLOB_SUBST
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
11112 $as_echo_n "checking
for objdir...
" >&6; }
11113 if ${lt_cv_objdir+:} false; then :
11114 $as_echo_n "(cached
) " >&6
11116 rm -f .libs 2>/dev/null
11117 mkdir .libs 2>/dev/null
11118 if test -d .libs; then
11121 # MS-DOS does not allow filenames that begin with a dot.
11124 rmdir .libs 2>/dev/null
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
11127 $as_echo "$lt_cv_objdir" >&6; }
11128 objdir=$lt_cv_objdir
11134 cat >>confdefs.h <<_ACEOF
11135 #define LT_OBJDIR "$lt_cv_objdir/"
11143 # AIX sometimes has problems with the GCC collect2 program. For some
11144 # reason, if we set the COLLECT_NAMES environment variable, the problems
11145 # vanish in a puff of smoke.
11146 if test "X
${COLLECT_NAMES+set}" != Xset; then
11148 export COLLECT_NAMES
11153 # Global variables:
11155 can_build_shared=yes
11157 # All known linkers require a `.a' archive for static linking (except MSVC,
11158 # which needs '.lib').
11161 with_gnu_ld="$lt_cv_prog_gnu_ld"
11164 old_CFLAGS="$CFLAGS"
11166 # Set sane defaults for various variables
11167 test -z "$CC" && CC=cc
11168 test -z "$LTCC" && LTCC=$CC
11169 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11170 test -z "$LD" && LD=ld
11171 test -z "$ac_objext" && ac_objext=o
11173 for cc_temp in $compiler""; do
11175 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11176 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11181 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
11184 # Only perform the check for file, if the check method requires it
11185 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11186 case $deplibs_check_method in
11188 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
11190 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
11191 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11192 $as_echo_n "(cached
) " >&6
11196 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11199 lt_save_MAGIC_CMD="$MAGIC_CMD"
11200 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11201 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
11202 for ac_dir in $ac_dummy; do
11204 test -z "$ac_dir" && ac_dir=.
11205 if test -f $ac_dir/${ac_tool_prefix}file; then
11206 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11207 if test -n "$file_magic_test_file"; then
11208 case $deplibs_check_method in
11210 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
11211 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11212 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11213 $EGREP "$file_magic_regex" > /dev/null; then
11218 *** Warning: the command libtool uses to detect shared libraries,
11219 *** $file_magic_cmd, produces output that libtool cannot recognize.
11220 *** The result is that libtool may fail to recognize shared libraries
11221 *** as such. This will affect the creation of libtool libraries that
11222 *** depend on shared libraries, but programs linked with such libtool
11223 *** libraries will work regardless of this problem. Nevertheless, you
11224 *** may want to report the problem to your system manager and/or to
11225 *** bug-libtool@gnu.org
11235 MAGIC_CMD="$lt_save_MAGIC_CMD"
11240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11241 if test -n "$MAGIC_CMD"; then
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
11243 $as_echo "$MAGIC_CMD" >&6; }
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11246 $as_echo "no
" >&6; }
11253 if test -z "$lt_cv_path_MAGIC_CMD"; then
11254 if test -n "$ac_tool_prefix"; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
11256 $as_echo_n "checking
for file...
" >&6; }
11257 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11258 $as_echo_n "(cached
) " >&6
11262 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11265 lt_save_MAGIC_CMD="$MAGIC_CMD"
11266 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11267 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
11268 for ac_dir in $ac_dummy; do
11270 test -z "$ac_dir" && ac_dir=.
11271 if test -f $ac_dir/file; then
11272 lt_cv_path_MAGIC_CMD="$ac_dir/file"
11273 if test -n "$file_magic_test_file"; then
11274 case $deplibs_check_method in
11276 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
11277 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11278 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11279 $EGREP "$file_magic_regex" > /dev/null; then
11284 *** Warning: the command libtool uses to detect shared libraries,
11285 *** $file_magic_cmd, produces output that libtool cannot recognize.
11286 *** The result is that libtool may fail to recognize shared libraries
11287 *** as such. This will affect the creation of libtool libraries that
11288 *** depend on shared libraries, but programs linked with such libtool
11289 *** libraries will work regardless of this problem. Nevertheless, you
11290 *** may want to report the problem to your system manager and/or to
11291 *** bug-libtool@gnu.org
11301 MAGIC_CMD="$lt_save_MAGIC_CMD"
11306 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11307 if test -n "$MAGIC_CMD"; then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
11309 $as_echo "$MAGIC_CMD" >&6; }
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11312 $as_echo "no
" >&6; }
11325 # Use C for the default configuration in the libtool script
11329 ac_cpp='$CPP $CPPFLAGS'
11330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11335 # Source file extension for C test sources.
11338 # Object file extension for compiled C test sources.
11342 # Code to be used in simple compile tests
11343 lt_simple_compile_test_code="int some_variable
= 0;"
11345 # Code to be used in simple link tests
11346 lt_simple_link_test_code='int main(){return(0);}'
11354 # If no C compiler was specified, use CC.
11357 # If no C compiler flags were specified, use CFLAGS.
11358 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11360 # Allow CC to be a program name with arguments.
11363 # Save the default compiler, since it gets overwritten when the other
11364 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11365 compiler_DEFAULT=$CC
11367 # save warnings/boilerplate of simple test code
11368 ac_outfile=conftest.$ac_objext
11369 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11370 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11371 _lt_compiler_boilerplate=`cat conftest.err`
11374 ac_outfile=conftest.$ac_objext
11375 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11376 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11377 _lt_linker_boilerplate=`cat conftest.err`
11382 ## There is no encapsulation within the following macros, do not change
11383 ## the running order or otherwise move them around unless you know exactly
11384 ## what you are doing...
11385 if test -n "$compiler"; then
11387 lt_prog_compiler_no_builtin_flag=
11389 if test "$GCC" = yes; then
11390 case $cc_basename in
11392 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11394 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
11398 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
11399 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11400 $as_echo_n "(cached
) " >&6
11402 lt_cv_prog_compiler_rtti_exceptions=no
11403 ac_outfile=conftest.$ac_objext
11404 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11405 lt_compiler_flag="-fno-rtti -fno-exceptions"
11406 # Insert the option either (1) after the last *FLAGS variable, or
11407 # (2) before a word containing "conftest.
", or (3) at the end.
11408 # Note that $ac_compile itself does not contain backslashes and begins
11409 # with a dollar sign (not a hyphen), so the echo should work correctly.
11410 # The option is referenced via a variable to avoid confusing sed.
11411 lt_compile=`echo "$ac_compile" | $SED \
11412 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11414 -e 's:$: $lt_compiler_flag:'`
11415 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11416 (eval "$lt_compile" 2>conftest.err)
11418 cat conftest.err >&5
11419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11420 if (exit $ac_status) && test -s "$ac_outfile"; then
11421 # The compiler can only warn and ignore the option if not recognized
11422 # So say no if there are warnings other than the usual output.
11423 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11424 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11425 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11426 lt_cv_prog_compiler_rtti_exceptions=yes
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
11433 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11435 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11436 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11448 lt_prog_compiler_wl=
11449 lt_prog_compiler_pic=
11450 lt_prog_compiler_static=
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
11453 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
11455 if test "$GCC" = yes; then
11456 lt_prog_compiler_wl='-Wl,'
11457 lt_prog_compiler_static='-static'
11461 # All AIX code is PIC.
11462 if test "$host_cpu" = ia64; then
11463 # AIX 5 now supports IA64 processor
11464 lt_prog_compiler_static='-Bstatic'
11466 lt_prog_compiler_pic='-fPIC'
11472 # see comment about AmigaOS4 .so support
11473 lt_prog_compiler_pic='-fPIC'
11476 # FIXME: we need at least 68020 code to build shared libraries, but
11477 # adding the `-m68020' flag to GCC prevents building anything better,
11479 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11484 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11485 # PIC is the default for these OSes.
11488 mingw* | cygwin* | pw32* | os2* | cegcc*)
11489 # This hack is so that the source file can tell whether it is being
11490 # built for inclusion in a dll (and should export symbols for example).
11491 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11492 # (--disable-auto-import) libraries
11493 lt_prog_compiler_pic='-DDLL_EXPORT'
11496 darwin* | rhapsody*)
11497 # PIC is the default on this platform
11498 # Common symbols not allowed in MH_DYLIB files
11499 lt_prog_compiler_pic='-fno-common'
11503 # PIC is the default for Haiku.
11504 # The "-static" flag exists, but is broken.
11505 lt_prog_compiler_static=
11509 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11510 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11511 # sets the default TLS model and affects inlining.
11517 lt_prog_compiler_pic='-fPIC'
11523 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11524 # Instead, we relocate shared libraries at runtime.
11528 # Just because we use GCC doesn't mean we suddenly get shared libraries
11529 # on systems that don't support them.
11530 lt_prog_compiler_can_build_shared=no
11535 # QNX uses GNU C++, but need to define -shared option too, otherwise
11536 # it will coredump.
11537 lt_prog_compiler_pic='-fPIC -shared'
11541 if test -d /usr/nec; then
11542 lt_prog_compiler_pic=-Kconform_pic
11547 lt_prog_compiler_pic='-fPIC'
11551 case $cc_basename in
11552 nvcc*) # Cuda Compiler Driver 2.2
11553 lt_prog_compiler_wl='-Xlinker '
11554 lt_prog_compiler_pic='-Xcompiler -fPIC'
11558 # PORTME Check for flag to pass linker flags through the system compiler.
11561 lt_prog_compiler_wl='-Wl,'
11562 if test "$host_cpu" = ia64; then
11563 # AIX 5 now supports IA64 processor
11564 lt_prog_compiler_static='-Bstatic'
11566 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11570 mingw* | cygwin* | pw32* | os2* | cegcc*)
11571 # This hack is so that the source file can tell whether it is being
11572 # built for inclusion in a dll (and should export symbols for example).
11573 lt_prog_compiler_pic='-DDLL_EXPORT'
11576 hpux9* | hpux10* | hpux11*)
11577 lt_prog_compiler_wl='-Wl,'
11578 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11579 # not for PA HP-UX.
11585 lt_prog_compiler_pic='+Z'
11588 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11589 lt_prog_compiler_static='${wl}-a ${wl}archive'
11592 irix5* | irix6* | nonstopux*)
11593 lt_prog_compiler_wl='-Wl,'
11594 # PIC (with -KPIC) is the default.
11595 lt_prog_compiler_static='-non_shared'
11598 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11599 case $cc_basename in
11600 # old Intel for x86_64 which still supported -KPIC.
11602 lt_prog_compiler_wl='-Wl,'
11603 lt_prog_compiler_pic='-KPIC'
11604 lt_prog_compiler_static='-static'
11606 # icc used to be incompatible with GCC.
11607 # ICC 10 doesn't accept -KPIC any more.
11609 lt_prog_compiler_wl='-Wl,'
11610 lt_prog_compiler_pic='-fPIC'
11611 lt_prog_compiler_static='-static'
11613 # Lahey Fortran 8.1.
11615 lt_prog_compiler_wl='-Wl,'
11616 lt_prog_compiler_pic='--shared'
11617 lt_prog_compiler_static='--static'
11619 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11620 # Portland Group compilers (*not* the Pentium gcc compiler,
11621 # which looks to be a dead project)
11622 lt_prog_compiler_wl='-Wl,'
11623 lt_prog_compiler_pic='-fpic'
11624 lt_prog_compiler_static='-Bstatic'
11627 lt_prog_compiler_wl='-Wl,'
11628 # All Alpha code is PIC.
11629 lt_prog_compiler_static='-non_shared'
11631 xl* | bgxl* | bgf* | mpixl*)
11632 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11633 lt_prog_compiler_wl='-Wl,'
11634 lt_prog_compiler_pic='-qpic'
11635 lt_prog_compiler_static='-qstaticlink'
11638 case `$CC -V 2>&1 | sed 5q` in
11639 *Sun\ F* | *Sun*Fortran*)
11640 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11641 lt_prog_compiler_pic='-KPIC'
11642 lt_prog_compiler_static='-Bstatic'
11643 lt_prog_compiler_wl=''
11647 lt_prog_compiler_pic='-KPIC'
11648 lt_prog_compiler_static='-Bstatic'
11649 lt_prog_compiler_wl='-Wl,'
11657 lt_prog_compiler_pic='-KPIC'
11658 lt_prog_compiler_static='-Bstatic'
11662 # QNX uses GNU C++, but need to define -shared option too, otherwise
11663 # it will coredump.
11664 lt_prog_compiler_pic='-fPIC -shared'
11667 osf3* | osf4* | osf5*)
11668 lt_prog_compiler_wl='-Wl,'
11669 # All OSF/1 code is PIC.
11670 lt_prog_compiler_static='-non_shared'
11674 lt_prog_compiler_static='-non_shared'
11678 lt_prog_compiler_pic='-KPIC'
11679 lt_prog_compiler_static='-Bstatic'
11680 case $cc_basename in
11681 f77* | f90* | f95*)
11682 lt_prog_compiler_wl='-Qoption ld ';;
11684 lt_prog_compiler_wl='-Wl,';;
11689 lt_prog_compiler_wl='-Qoption ld '
11690 lt_prog_compiler_pic='-PIC'
11691 lt_prog_compiler_static='-Bstatic'
11694 sysv4 | sysv4.2uw2* | sysv4.3*)
11695 lt_prog_compiler_wl='-Wl,'
11696 lt_prog_compiler_pic='-KPIC'
11697 lt_prog_compiler_static='-Bstatic'
11701 if test -d /usr/nec ;then
11702 lt_prog_compiler_pic='-Kconform_pic'
11703 lt_prog_compiler_static='-Bstatic'
11707 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11708 lt_prog_compiler_wl='-Wl,'
11709 lt_prog_compiler_pic='-KPIC'
11710 lt_prog_compiler_static='-Bstatic'
11714 lt_prog_compiler_wl='-Wl,'
11715 lt_prog_compiler_can_build_shared=no
11719 lt_prog_compiler_pic='-pic'
11720 lt_prog_compiler_static='-Bstatic'
11724 lt_prog_compiler_can_build_shared=no
11730 # For platforms which do not support PIC, -DPIC is meaningless:
11732 lt_prog_compiler_pic=
11735 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
11739 $as_echo "$lt_prog_compiler_pic" >&6; }
11747 # Check to make sure the PIC flag actually works.
11749 if test -n "$lt_prog_compiler_pic"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
11751 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
11752 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11753 $as_echo_n "(cached
) " >&6
11755 lt_cv_prog_compiler_pic_works=no
11756 ac_outfile=conftest.$ac_objext
11757 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11758 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11759 # Insert the option either (1) after the last *FLAGS variable, or
11760 # (2) before a word containing "conftest.
", or (3) at the end.
11761 # Note that $ac_compile itself does not contain backslashes and begins
11762 # with a dollar sign (not a hyphen), so the echo should work correctly.
11763 # The option is referenced via a variable to avoid confusing sed.
11764 lt_compile=`echo "$ac_compile" | $SED \
11765 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11766 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11767 -e 's:$: $lt_compiler_flag:'`
11768 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11769 (eval "$lt_compile" 2>conftest.err)
11771 cat conftest.err >&5
11772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11773 if (exit $ac_status) && test -s "$ac_outfile"; then
11774 # The compiler can only warn and ignore the option if not recognized
11775 # So say no if there are warnings other than the usual output.
11776 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11777 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11778 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11779 lt_cv_prog_compiler_pic_works=yes
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
11786 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11788 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11789 case $lt_prog_compiler_pic in
11791 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11794 lt_prog_compiler_pic=
11795 lt_prog_compiler_can_build_shared=no
11806 # Check to make sure the static flag actually works.
11808 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
11810 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
11811 if ${lt_cv_prog_compiler_static_works+:} false; then :
11812 $as_echo_n "(cached
) " >&6
11814 lt_cv_prog_compiler_static_works=no
11815 save_LDFLAGS="$LDFLAGS"
11816 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11817 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11818 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11819 # The linker can only warn and ignore the option if not recognized
11820 # So say no if there are warnings
11821 if test -s conftest.err; then
11822 # Append any errors to the config.log.
11823 cat conftest.err 1>&5
11824 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11825 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11826 if diff conftest.exp conftest.er2 >/dev/null; then
11827 lt_cv_prog_compiler_static_works=yes
11830 lt_cv_prog_compiler_static_works=yes
11834 LDFLAGS="$save_LDFLAGS"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
11838 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11840 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11843 lt_prog_compiler_static=
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11853 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11854 if ${lt_cv_prog_compiler_c_o+:} false; then :
11855 $as_echo_n "(cached
) " >&6
11857 lt_cv_prog_compiler_c_o=no
11858 $RM -r conftest 2>/dev/null
11862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11864 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
11865 # Insert the option either (1) after the last *FLAGS variable, or
11866 # (2) before a word containing "conftest.
", or (3) at the end.
11867 # Note that $ac_compile itself does not contain backslashes and begins
11868 # with a dollar sign (not a hyphen), so the echo should work correctly.
11869 lt_compile=`echo "$ac_compile" | $SED \
11870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11872 -e 's:$: $lt_compiler_flag:'`
11873 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11874 (eval "$lt_compile" 2>out/conftest.err)
11876 cat out/conftest.err >&5
11877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11878 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11880 # The compiler can only warn and ignore the option if not recognized
11881 # So say no if there are warnings
11882 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11883 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11884 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11885 lt_cv_prog_compiler_c_o=yes
11890 # SGI C++ compiler will create directory out/ii_files/ for
11891 # template instantiation
11892 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11893 $RM out/* && rmdir out
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
11900 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
11908 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
11909 if ${lt_cv_prog_compiler_c_o+:} false; then :
11910 $as_echo_n "(cached
) " >&6
11912 lt_cv_prog_compiler_c_o=no
11913 $RM -r conftest 2>/dev/null
11917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11919 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
11920 # Insert the option either (1) after the last *FLAGS variable, or
11921 # (2) before a word containing "conftest.
", or (3) at the end.
11922 # Note that $ac_compile itself does not contain backslashes and begins
11923 # with a dollar sign (not a hyphen), so the echo should work correctly.
11924 lt_compile=`echo "$ac_compile" | $SED \
11925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11927 -e 's:$: $lt_compiler_flag:'`
11928 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
11929 (eval "$lt_compile" 2>out/conftest.err)
11931 cat out/conftest.err >&5
11932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11933 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11935 # The compiler can only warn and ignore the option if not recognized
11936 # So say no if there are warnings
11937 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11938 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11939 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11940 lt_cv_prog_compiler_c_o=yes
11945 # SGI C++ compiler will create directory out/ii_files/ for
11946 # template instantiation
11947 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11948 $RM out/* && rmdir out
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
11955 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11960 hard_links="nottested
"
11961 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11962 # do not overwrite the value of need_locks provided by the user
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
11964 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
11967 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11969 ln conftest.a conftest.b 2>&5 || hard_links=no
11970 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
11972 $as_echo "$hard_links" >&6; }
11973 if test "$hard_links" = no; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
11975 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
11988 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
11991 allow_undefined_flag=
11992 always_export_symbols=no
11994 archive_expsym_cmds=
11995 compiler_needs_object=no
11996 enable_shared_with_static_runtimes=no
11997 export_dynamic_flag_spec=
11998 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11999 hardcode_automatic=no
12001 hardcode_direct_absolute=no
12002 hardcode_libdir_flag_spec=
12003 hardcode_libdir_flag_spec_ld=
12004 hardcode_libdir_separator=
12005 hardcode_minus_L=no
12006 hardcode_shlibpath_var=unsupported
12008 link_all_deplibs=unknown
12010 module_expsym_cmds=
12011 old_archive_from_new_cmds=
12012 old_archive_from_expsyms_cmds=
12013 thread_safe_flag_spec=
12014 whole_archive_flag_spec=
12015 # include_expsyms should be a list of space-separated symbols to be *always*
12016 # included in the symbol list
12018 # exclude_expsyms can be an extended regexp of symbols to exclude
12019 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12020 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12021 # as well as any symbol that contains `d'.
12022 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12023 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12024 # platforms (ab)use it in PIC code, but their linkers get confused if
12025 # the symbol is explicitly referenced. Since portable code cannot
12026 # rely on this symbol name, it's probably fine to never include it in
12027 # preloaded symbol tables.
12028 # Exclude shared library initialization/finalization symbols.
12029 extract_expsyms_cmds=
12032 cygwin* | mingw* | pw32* | cegcc*)
12033 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12034 # When not using gcc, we currently assume that we are using
12035 # Microsoft Visual C++.
12036 if test "$GCC" != yes; then
12041 # we just hope/assume this is gcc and not c89 (= MSVC++)
12051 # On some targets, GNU ld is compatible enough with the native linker
12052 # that we're better off using the native interface for both.
12053 lt_use_gnu_ld_interface=no
12054 if test "$with_gnu_ld" = yes; then
12057 # The AIX port of GNU ld has always aspired to compatibility
12058 # with the native linker. However, as the warning in the GNU ld
12059 # block says, versions before 2.19.5* couldn't really create working
12060 # shared libraries, regardless of the interface used.
12061 case `$LD -v 2>&1` in
12062 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12063 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12064 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12066 lt_use_gnu_ld_interface=yes
12071 lt_use_gnu_ld_interface=yes
12076 if test "$lt_use_gnu_ld_interface" = yes; then
12077 # If archive_cmds runs LD, not CC, wlarc should be empty
12080 # Set some defaults for GNU ld with shared library support. These
12081 # are reset later if shared libraries are not supported. Putting them
12082 # here allows them to be overridden if necessary.
12083 runpath_var=LD_RUN_PATH
12084 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12085 export_dynamic_flag_spec='${wl}--export-dynamic'
12086 # ancient GNU ld didn't support --whole-archive et. al.
12087 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12088 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12090 whole_archive_flag_spec=
12092 supports_anon_versioning=no
12093 case `$LD -v 2>&1` in
12094 *GNU\ gold*) supports_anon_versioning=yes ;;
12095 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12096 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12097 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12098 *\ 2.11.*) ;; # other 2.11 versions
12099 *) supports_anon_versioning=yes ;;
12102 # See if GNU ld supports shared libraries.
12105 # On AIX/PPC, the GNU linker is very broken
12106 if test "$host_cpu" != ia64; then
12110 *** Warning: the GNU linker, at least up to release 2.19, is reported
12111 *** to be unable to reliably create shared libraries on AIX.
12112 *** Therefore, libtool is disabling shared libraries support. If you
12113 *** really care for shared libraries, you may want to install binutils
12114 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12115 *** You will then need to restart the configuration process.
12124 # see comment about AmigaOS4 .so support
12125 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12126 archive_expsym_cmds=''
12129 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)'
12130 hardcode_libdir_flag_spec
='-L$libdir'
12131 hardcode_minus_L
=yes
12137 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12138 allow_undefined_flag
=unsupported
12139 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12140 # support --undefined. This deserves some investigation. FIXME
12141 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12147 cygwin
* | mingw
* | pw32
* | cegcc
*)
12148 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12149 # as there is no search path for DLLs.
12150 hardcode_libdir_flag_spec
='-L$libdir'
12151 export_dynamic_flag_spec
='${wl}--export-all-symbols'
12152 allow_undefined_flag
=unsupported
12153 always_export_symbols
=no
12154 enable_shared_with_static_runtimes
=yes
12155 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12157 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12158 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12159 # If the export-symbols file already is a .def file (1st line
12160 # is EXPORTS), use it as is; otherwise, prepend...
12161 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12162 cp $export_symbols $output_objdir/$soname.def;
12164 echo EXPORTS > $output_objdir/$soname.def;
12165 cat $export_symbols >> $output_objdir/$soname.def;
12167 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12174 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12175 link_all_deplibs
=yes
12180 hardcode_shlibpath_var
=no
12181 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12182 export_dynamic_flag_spec
='${wl}-E'
12183 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12184 # Instead, shared libraries are loaded at an image base (0x10000000 by
12185 # default) and relocated if they conflict, which is a slow very memory
12186 # consuming and fragmenting process. To avoid this, we pick a random,
12187 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12188 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12189 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12190 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'
12193 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
12195 if test "$host_os" = linux-dietlibc
; then
12196 case $cc_basename in
12197 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12200 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12201 && test "$tmp_diet" = no
12203 tmp_addflag
=' $pic_flag'
12204 tmp_sharedflag
='-shared'
12205 case $cc_basename,$host_cpu in
12206 pgcc
*) # Portland Group C compiler
12207 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'
12208 tmp_addflag
=' $pic_flag'
12210 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12211 # Portland Group f77 and f90 compilers
12212 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'
12213 tmp_addflag
=' $pic_flag -Mnomain' ;;
12214 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12215 tmp_addflag
=' -i_dynamic' ;;
12216 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12217 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12218 ifc
* | ifort
*) # Intel Fortran compiler
12219 tmp_addflag
=' -nofor_main' ;;
12220 lf95
*) # Lahey Fortran 8.1
12221 whole_archive_flag_spec
=
12222 tmp_sharedflag
='--shared' ;;
12223 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12224 tmp_sharedflag
='-qmkshrobj'
12226 nvcc
*) # Cuda Compiler Driver 2.2
12227 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'
12228 compiler_needs_object
=yes
12231 case `$CC -V 2>&1 | sed 5q` in
12232 *Sun\ C
*) # Sun C 5.9
12233 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'
12234 compiler_needs_object
=yes
12235 tmp_sharedflag
='-G' ;;
12236 *Sun\ F
*) # Sun Fortran 8.3
12237 tmp_sharedflag
='-G' ;;
12239 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12241 if test "x$supports_anon_versioning" = xyes
; then
12242 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12244 echo "local: *; };" >> $output_objdir/$libname.ver~
12245 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12248 case $cc_basename in
12249 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12250 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12251 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
12252 hardcode_libdir_flag_spec
=
12253 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
12254 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12255 if test "x$supports_anon_versioning" = xyes
; then
12256 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
12257 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12258 echo "local: *; };" >> $output_objdir/$libname.ver~
12259 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12269 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12270 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12273 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12274 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12279 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12283 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12284 *** create shared libraries on Solaris systems. Therefore, libtool
12285 *** is disabling shared libraries support. We urge you to upgrade GNU
12286 *** binutils to release 2.9.1 or newer. Another option is to modify
12287 *** your PATH or compiler configuration so that the native linker is
12288 *** used, and then restart.
12291 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12292 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12293 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12299 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12300 case `$LD -v 2>&1` in
12301 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12305 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12306 *** reliably create shared libraries on SCO systems. Therefore, libtool
12307 *** is disabling shared libraries support. We urge you to upgrade GNU
12308 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12309 *** your PATH or compiler configuration so that the native linker is
12310 *** used, and then restart.
12315 # For security reasons, it is highly recommended that you always
12316 # use absolute paths for naming shared libraries, and exclude the
12317 # DT_RUNPATH tag from executables and libraries. But doing so
12318 # requires that you compile everything twice, which is a pain.
12319 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12320 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12321 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12322 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12331 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12333 hardcode_direct
=yes
12334 hardcode_shlibpath_var
=no
12338 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12339 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12340 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12347 if test "$ld_shlibs" = no
; then
12349 hardcode_libdir_flag_spec
=
12350 export_dynamic_flag_spec
=
12351 whole_archive_flag_spec
=
12354 # PORTME fill in a description of your system's linker (not GNU ld)
12357 allow_undefined_flag
=unsupported
12358 always_export_symbols
=yes
12359 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'
12360 # Note: this linker hardcodes the directories in LIBPATH if there
12361 # are no directories specified by -L.
12362 hardcode_minus_L
=yes
12363 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12364 # Neither direct hardcoding nor static linking is supported with a
12366 hardcode_direct
=unsupported
12371 if test "$host_cpu" = ia64
; then
12372 # On IA64, the linker does run time linking by default, so we don't
12373 # have to do anything special.
12374 aix_use_runtimelinking
=no
12375 exp_sym_flag
='-Bexport'
12378 # If we're using GNU nm, then we don't want the "-C" option.
12379 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12380 # Also, AIX nm treats weak defined symbols like other global
12381 # defined symbols, whereas GNU nm marks them as "W".
12382 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12383 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'
12385 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'
12387 aix_use_runtimelinking
=no
12389 # Test if we are trying to use run time linking or normal
12390 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12391 # need to do runtime linking.
12392 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12393 for ld_flag
in $LDFLAGS; do
12394 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12395 aix_use_runtimelinking
=yes
12402 exp_sym_flag
='-bexport'
12403 no_entry_flag
='-bnoentry'
12406 # When large executables or shared objects are built, AIX ld can
12407 # have problems creating the table of contents. If linking a library
12408 # or program results in "error TOC overflow" add -mminimal-toc to
12409 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12410 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12413 hardcode_direct
=yes
12414 hardcode_direct_absolute
=yes
12415 hardcode_libdir_separator
=':'
12416 link_all_deplibs
=yes
12417 file_list_spec
='${wl}-f,'
12419 if test "$GCC" = yes; then
12420 case $host_os in aix4.
[012]|aix4.
[012].
*)
12421 # We only want to do this on AIX 4.2 and lower, the check
12422 # below for broken collect2 doesn't work under 4.3+
12423 collect2name
=`${CC} -print-prog-name=collect2`
12424 if test -f "$collect2name" &&
12425 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12427 # We have reworked collect2
12430 # We have old collect2
12431 hardcode_direct
=unsupported
12432 # It fails to find uninstalled libraries when the uninstalled
12433 # path is not listed in the libpath. Setting hardcode_minus_L
12434 # to unsupported forces relinking
12435 hardcode_minus_L
=yes
12436 hardcode_libdir_flag_spec
='-L$libdir'
12437 hardcode_libdir_separator
=
12441 shared_flag
='-shared'
12442 if test "$aix_use_runtimelinking" = yes; then
12443 shared_flag
="$shared_flag "'${wl}-G'
12447 if test "$host_cpu" = ia64
; then
12448 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12449 # chokes on -Wl,-G. The following line is correct:
12452 if test "$aix_use_runtimelinking" = yes; then
12453 shared_flag
='${wl}-G'
12455 shared_flag
='${wl}-bM:SRE'
12460 export_dynamic_flag_spec
='${wl}-bexpall'
12461 # It seems that -bexpall does not export symbols beginning with
12462 # underscore (_), so it is better to generate a list of symbols to export.
12463 always_export_symbols
=yes
12464 if test "$aix_use_runtimelinking" = yes; then
12465 # Warning - without using the other runtime loading flags (-brtl),
12466 # -berok will link without error, but may produce a broken library.
12467 allow_undefined_flag
='-berok'
12468 # Determine the default libpath from the value encoded in an
12469 # empty executable.
12470 if test x
$gcc_no_link = xyes
; then
12471 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12484 if ac_fn_c_try_link
"$LINENO"; then :
12486 lt_aix_libpath_sed
='
12487 /Import File Strings/,/^$/ {
12493 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12494 # Check for a 64-bit object if we didn't find anything.
12495 if test -z "$aix_libpath"; then
12496 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12499 rm -f core conftest.err conftest.
$ac_objext \
12500 conftest
$ac_exeext conftest.
$ac_ext
12501 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12503 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12504 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"
12506 if test "$host_cpu" = ia64
; then
12507 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
12508 allow_undefined_flag
="-z nodefs"
12509 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"
12511 # Determine the default libpath from the value encoded in an
12512 # empty executable.
12513 if test x
$gcc_no_link = xyes
; then
12514 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12527 if ac_fn_c_try_link
"$LINENO"; then :
12529 lt_aix_libpath_sed
='
12530 /Import File Strings/,/^$/ {
12536 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12537 # Check for a 64-bit object if we didn't find anything.
12538 if test -z "$aix_libpath"; then
12539 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12542 rm -f core conftest.err conftest.
$ac_objext \
12543 conftest
$ac_exeext conftest.
$ac_ext
12544 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12546 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
12547 # Warning - without using the other run time loading flags,
12548 # -berok will link without error, but may produce a broken library.
12549 no_undefined_flag
=' ${wl}-bernotok'
12550 allow_undefined_flag
=' ${wl}-berok'
12551 if test "$with_gnu_ld" = yes; then
12552 # We only use this code for GNU lds that support --whole-archive.
12553 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12555 # Exported symbols can be pulled into shared objects from archives
12556 whole_archive_flag_spec
='$convenience'
12558 archive_cmds_need_lc
=yes
12559 # This is similar to how AIX traditionally builds its shared libraries.
12560 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'
12568 # see comment about AmigaOS4 .so support
12569 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12570 archive_expsym_cmds
=''
12573 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)'
12574 hardcode_libdir_flag_spec
='-L$libdir'
12575 hardcode_minus_L
=yes
12581 export_dynamic_flag_spec
=-rdynamic
12584 cygwin
* | mingw
* | pw32
* | cegcc
*)
12585 # When not using gcc, we currently assume that we are using
12586 # Microsoft Visual C++.
12587 # hardcode_libdir_flag_spec is actually meaningless, as there is
12588 # no search path for DLLs.
12589 hardcode_libdir_flag_spec
=' '
12590 allow_undefined_flag
=unsupported
12591 # Tell ltmain to make .lib files, not .a files.
12593 # Tell ltmain to make .dll files, not .so files.
12595 # FIXME: Setting linknames here is a bad hack.
12596 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12597 # The linker will automatically build a .lib file if we build a DLL.
12598 old_archive_from_new_cmds
='true'
12599 # FIXME: Should let the user specify the lib program.
12600 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12601 fix_srcfile_path
='`cygpath -w "$srcfile"`'
12602 enable_shared_with_static_runtimes
=yes
12605 darwin
* | rhapsody
*)
12609 # Publish an arg to allow the user to select that Darwin host (and target)
12610 # libraries should be given install-names like @rpath/libfoo.dylib. This
12611 # requires that the user of the library then adds an 'rpath' to the DSO that
12613 # NOTE: there are defaults below, for systems that support rpaths. The person
12614 # configuring can override the defaults for any system version that supports
12615 # them - they are, however, forced off for system versions without support.
12616 # Check whether --enable-darwin-at-rpath was given.
12617 if test "${enable_darwin_at_rpath+set}" = set; then :
12618 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
12619 # This is not supported before macOS 10.5 / Darwin9.
12620 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
12621 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
12623 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
12624 enable_darwin_at_rpath
=no
12629 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
12630 # As above, before 10.5 / Darwin9 this does not work.
12631 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
12632 enable_darwin_at_rpath
=no
12635 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
12636 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
12637 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
12638 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
12640 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
12641 enable_darwin_at_rpath
=yes
12643 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
12644 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
12651 archive_cmds_need_lc
=no
12653 hardcode_automatic
=yes
12654 hardcode_shlibpath_var
=unsupported
12655 if test "$lt_cv_ld_force_load" = "yes"; then
12656 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\"`'
12658 whole_archive_flag_spec
=''
12660 link_all_deplibs
=yes
12661 allow_undefined_flag
="$_lt_dar_allow_undefined"
12662 case $cc_basename in
12663 ifort
*) _lt_dar_can_shared
=yes ;;
12664 *) _lt_dar_can_shared
=$GCC ;;
12666 if test "$_lt_dar_can_shared" = "yes"; then
12667 output_verbose_link_cmd
=func_echo_all
12668 _lt_install_name
='\$rpath/\$soname'
12669 if test "x$enable_darwin_at_rpath" = "xyes"; then
12670 _lt_install_name
='@rpath/\$soname'
12672 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
12673 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12674 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}"
12675 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}"
12684 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12685 hardcode_libdir_flag_spec
='-L$libdir'
12686 hardcode_shlibpath_var
=no
12689 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12690 # support. Future versions do this automatically, but an explicit c++rt0.o
12691 # does not break anything, and helps significantly (at the cost of a little
12694 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12695 hardcode_libdir_flag_spec
='-R$libdir'
12696 hardcode_direct
=yes
12697 hardcode_shlibpath_var
=no
12700 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12702 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12703 hardcode_direct
=yes
12704 hardcode_minus_L
=yes
12705 hardcode_shlibpath_var
=no
12708 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12709 freebsd
* | dragonfly
*)
12710 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12711 hardcode_libdir_flag_spec
='-R$libdir'
12712 hardcode_direct
=yes
12713 hardcode_shlibpath_var
=no
12717 if test "$GCC" = yes; then
12718 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'
12720 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'
12722 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12723 hardcode_libdir_separator
=:
12724 hardcode_direct
=yes
12726 # hardcode_minus_L: Not really in the search PATH,
12727 # but as the default location of the library.
12728 hardcode_minus_L
=yes
12729 export_dynamic_flag_spec
='${wl}-E'
12733 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12734 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12736 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12738 if test "$with_gnu_ld" = no
; then
12739 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12740 hardcode_libdir_flag_spec_ld
='+b $libdir'
12741 hardcode_libdir_separator
=:
12742 hardcode_direct
=yes
12743 hardcode_direct_absolute
=yes
12744 export_dynamic_flag_spec
='${wl}-E'
12745 # hardcode_minus_L: Not really in the search PATH,
12746 # but as the default location of the library.
12747 hardcode_minus_L
=yes
12752 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12755 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12758 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12761 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12767 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12770 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12774 # Older versions of the 11.00 compiler do not understand -b yet
12775 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12777 $as_echo_n "checking if $CC understands -b... " >&6; }
12778 if ${lt_cv_prog_compiler__b+:} false
; then :
12779 $as_echo_n "(cached) " >&6
12781 lt_cv_prog_compiler__b
=no
12782 save_LDFLAGS
="$LDFLAGS"
12783 LDFLAGS
="$LDFLAGS -b"
12784 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12785 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12786 # The linker can only warn and ignore the option if not recognized
12787 # So say no if there are warnings
12788 if test -s conftest.err
; then
12789 # Append any errors to the config.log.
12790 cat conftest.err
1>&5
12791 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12792 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12793 if diff conftest.exp conftest.er2
>/dev
/null
; then
12794 lt_cv_prog_compiler__b
=yes
12797 lt_cv_prog_compiler__b
=yes
12801 LDFLAGS
="$save_LDFLAGS"
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12805 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12807 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
12808 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12810 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12816 if test "$with_gnu_ld" = no
; then
12817 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
12818 hardcode_libdir_separator
=:
12823 hardcode_shlibpath_var
=no
12826 hardcode_direct
=yes
12827 hardcode_direct_absolute
=yes
12828 export_dynamic_flag_spec
='${wl}-E'
12830 # hardcode_minus_L: Not really in the search PATH,
12831 # but as the default location of the library.
12832 hardcode_minus_L
=yes
12838 irix5
* | irix6
* | nonstopux
*)
12839 if test "$GCC" = yes; then
12840 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'
12841 # Try to use the -exported_symbol ld option, if it does not
12842 # work, assume that -exports_file does not work either and
12843 # implicitly export all symbols.
12844 save_LDFLAGS
="$LDFLAGS"
12845 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12846 if test x
$gcc_no_link = xyes
; then
12847 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12853 if ac_fn_c_try_link
"$LINENO"; then :
12854 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'
12857 rm -f core conftest.err conftest.
$ac_objext \
12858 conftest
$ac_exeext conftest.
$ac_ext
12859 LDFLAGS
="$save_LDFLAGS"
12861 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'
12862 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'
12864 archive_cmds_need_lc
='no'
12865 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12866 hardcode_libdir_separator
=:
12868 link_all_deplibs
=yes
12872 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12873 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12875 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12877 hardcode_libdir_flag_spec
='-R$libdir'
12878 hardcode_direct
=yes
12879 hardcode_shlibpath_var
=no
12883 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12884 hardcode_direct
=yes
12885 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12886 hardcode_libdir_separator
=:
12887 hardcode_shlibpath_var
=no
12894 if test -f /usr
/libexec
/ld.so
; then
12895 hardcode_direct
=yes
12896 hardcode_shlibpath_var
=no
12897 hardcode_direct_absolute
=yes
12898 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12899 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12900 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12901 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12902 export_dynamic_flag_spec
='${wl}-E'
12905 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
12906 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12907 hardcode_libdir_flag_spec
='-R$libdir'
12910 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12911 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
12921 hardcode_libdir_flag_spec
='-L$libdir'
12922 hardcode_minus_L
=yes
12923 allow_undefined_flag
=unsupported
12924 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'
12925 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12929 if test "$GCC" = yes; then
12930 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12931 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'
12933 allow_undefined_flag
=' -expect_unresolved \*'
12934 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'
12936 archive_cmds_need_lc
='no'
12937 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12938 hardcode_libdir_separator
=:
12941 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12942 if test "$GCC" = yes; then
12943 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
12944 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'
12945 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
12947 allow_undefined_flag
=' -expect_unresolved \*'
12948 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'
12949 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~
12950 $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'
12952 # Both c and cxx compiler support -rpath directly
12953 hardcode_libdir_flag_spec
='-rpath $libdir'
12955 archive_cmds_need_lc
='no'
12956 hardcode_libdir_separator
=:
12960 no_undefined_flag
=' -z defs'
12961 if test "$GCC" = yes; then
12963 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12964 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12965 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12967 case `$CC -V 2>&1` in
12970 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12971 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12972 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12976 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12977 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12978 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12982 hardcode_libdir_flag_spec
='-R$libdir'
12983 hardcode_shlibpath_var
=no
12985 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12987 # The compiler driver will combine and reorder linker options,
12988 # but understands `-z linker_flag'. GCC discards it without `$wl',
12989 # but is careful enough not to reorder.
12990 # Supported since Solaris 2.6 (maybe 2.5.1?)
12991 if test "$GCC" = yes; then
12992 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12994 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12998 link_all_deplibs
=yes
13002 if test "x$host_vendor" = xsequent
; then
13003 # Use $CC to link under sequent, because it throws in some extra .o
13004 # files that make .init and .fini sections work.
13005 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13007 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13009 hardcode_libdir_flag_spec
='-L$libdir'
13010 hardcode_direct
=yes
13011 hardcode_minus_L
=yes
13012 hardcode_shlibpath_var
=no
13016 case $host_vendor in
13018 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13019 hardcode_direct
=yes # is this really true???
13022 ## LD is ld it makes a PLAMLIB
13023 ## CC just makes a GrossModule.
13024 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13025 reload_cmds
='$CC -r -o $output$reload_objs'
13029 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13030 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
13033 runpath_var
='LD_RUN_PATH'
13034 hardcode_shlibpath_var
=no
13038 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13039 hardcode_shlibpath_var
=no
13040 export_dynamic_flag_spec
='-Bexport'
13044 if test -d /usr
/nec
; then
13045 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13046 hardcode_shlibpath_var
=no
13047 runpath_var
=LD_RUN_PATH
13048 hardcode_runpath_var
=yes
13053 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13054 no_undefined_flag
='${wl}-z,text'
13055 archive_cmds_need_lc
=no
13056 hardcode_shlibpath_var
=no
13057 runpath_var
='LD_RUN_PATH'
13059 if test "$GCC" = yes; then
13060 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13061 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13064 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13068 sysv5
* | sco3.2v5
* | sco5v6
*)
13069 # Note: We can NOT use -z defs as we might desire, because we do not
13070 # link with -lc, and that would cause any symbols used from libc to
13071 # always be unresolved, which means just about no library would
13072 # ever link correctly. If we're not using GNU ld we use -z text
13073 # though, which does catch some bad symbols but isn't as heavy-handed
13075 no_undefined_flag
='${wl}-z,text'
13076 allow_undefined_flag
='${wl}-z,nodefs'
13077 archive_cmds_need_lc
=no
13078 hardcode_shlibpath_var
=no
13079 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
13080 hardcode_libdir_separator
=':'
13081 link_all_deplibs
=yes
13082 export_dynamic_flag_spec
='${wl}-Bexport'
13083 runpath_var
='LD_RUN_PATH'
13085 if test "$GCC" = yes; then
13086 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13089 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13090 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13095 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13096 hardcode_libdir_flag_spec
='-L$libdir'
13097 hardcode_shlibpath_var
=no
13105 if test x
$host_vendor = xsni
; then
13107 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13108 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13115 $as_echo "$ld_shlibs" >&6; }
13116 test "$ld_shlibs" = no
&& can_build_shared
=no
13118 with_gnu_ld
=$with_gnu_ld
13135 # Do we need to explicitly link libc?
13137 case "x$archive_cmds_need_lc" in
13139 # Assume -lc should be added
13140 archive_cmds_need_lc
=yes
13142 if test "$enable_shared" = yes && test "$GCC" = yes; then
13143 case $archive_cmds in
13145 # FIXME: we may have to deal with multi-command sequences.
13148 # Test whether the compiler implicitly links with -lc since on some
13149 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13150 # to ld, don't add -lc before -lgcc.
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13152 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13153 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
13154 $as_echo_n "(cached) " >&6
13157 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13160 (eval $ac_compile) 2>&5
13162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13163 test $ac_status = 0; } 2>conftest.err
; then
13166 libobjs
=conftest.
$ac_objext
13168 wl
=$lt_prog_compiler_wl
13169 pic_flag
=$lt_prog_compiler_pic
13175 lt_save_allow_undefined_flag
=$allow_undefined_flag
13176 allow_undefined_flag
=
13177 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13178 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13181 test $ac_status = 0; }
13183 lt_cv_archive_cmds_need_lc
=no
13185 lt_cv_archive_cmds_need_lc
=yes
13187 allow_undefined_flag
=$lt_save_allow_undefined_flag
13189 cat conftest.err
1>&5
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13195 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13196 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13360 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13362 if test "$GCC" = yes; then
13364 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
13365 *) lt_awk_arg
="/^libraries:/" ;;
13368 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
13369 *) lt_sed_strip_eq
="s,=/,/,g" ;;
13371 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13372 case $lt_search_path_spec in
13374 # if the path contains ";" then we assume it to be the separator
13375 # otherwise default to the standard path separator (i.e. ":") - it is
13376 # assumed that no part of a normal pathname contains ";" but that should
13377 # okay in the real world where ";" in dirpaths is itself problematic.
13378 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13381 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13384 # Ok, now we have the path, separated by spaces, we can step through it
13385 # and add multilib dir if necessary.
13386 lt_tmp_lt_search_path_spec
=
13387 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13388 for lt_sys_path
in $lt_search_path_spec; do
13389 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
13390 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
13392 test -d "$lt_sys_path" && \
13393 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
13396 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13397 BEGIN {RS=" "; FS="/|\n";} {
13400 for (lt_i = NF; lt_i > 0; lt_i--) {
13401 if ($lt_i != "" && $lt_i != ".") {
13402 if ($lt_i == "..") {
13405 if (lt_count == 0) {
13406 lt_foo="/" $lt_i lt_foo;
13413 if (lt_foo != "") { lt_freq[lt_foo]++; }
13414 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13416 # AWK program above erroneously prepends '/' to C:/dos/paths
13419 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
13420 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
13422 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13424 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13426 library_names_spec
=
13427 libname_spec
='lib$name'
13431 postuninstall_cmds
=
13435 shlibpath_overrides_runpath
=unknown
13437 dynamic_linker
="$host_os ld.so"
13438 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13439 need_lib_prefix
=unknown
13440 hardcode_into_libs
=no
13442 # when you set need_version to no, make sure it does not cause -set_version
13443 # flags to be left without arguments
13444 need_version
=unknown
13449 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13450 shlibpath_var
=LIBPATH
13452 # AIX 3 has no versioning support, so we append a major version to the name.
13453 soname_spec
='${libname}${release}${shared_ext}$major'
13460 hardcode_into_libs
=yes
13461 if test "$host_cpu" = ia64
; then
13462 # AIX 5 supports IA64
13463 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13464 shlibpath_var
=LD_LIBRARY_PATH
13466 # With GCC up to 2.95.x, collect2 would create an import file
13467 # for dependence libraries. The import file would start with
13468 # the line `#! .'. This would cause the generated library to
13469 # depend on `.', always an invalid library. This was fixed in
13470 # development snapshots of GCC prior to 3.0.
13472 aix4 | aix4.
[01] | aix4.
[01].
*)
13473 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13475 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13478 can_build_shared
=no
13482 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13483 # soname into executable. Probably we can add versioning support to
13484 # collect2, so additional links can be useful in future.
13485 if test "$aix_use_runtimelinking" = yes; then
13486 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13487 # instead of lib<name>.a to let people know that these are not
13488 # typical AIX shared libraries.
13489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13491 # We preserve .a as extension for shared libraries through AIX4.2
13492 # and later when we are not doing run time linking.
13493 library_names_spec
='${libname}${release}.a $libname.a'
13494 soname_spec
='${libname}${release}${shared_ext}$major'
13496 shlibpath_var
=LIBPATH
13503 # Since July 2007 AmigaOS4 officially supports .so libraries.
13504 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13508 library_names_spec
='$libname.ixlibrary $libname.a'
13509 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13510 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'
13516 library_names_spec
='${libname}${shared_ext}'
13517 dynamic_linker
="$host_os ld.so"
13518 shlibpath_var
=LIBRARY_PATH
13524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13525 soname_spec
='${libname}${release}${shared_ext}$major'
13526 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13527 shlibpath_var
=LD_LIBRARY_PATH
13528 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13529 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13530 # the default ld.so.conf also contains /usr/contrib/lib and
13531 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13532 # libtool to hard-code these into programs
13535 cygwin
* | mingw
* | pw32
* | cegcc
*)
13536 version_type
=windows
13541 case $GCC,$host_os in
13542 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13543 library_names_spec
='$libname.dll.a'
13544 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13545 postinstall_cmds
='base_file=`basename \${file}`~
13546 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13547 dldir=$destdir/`dirname \$dlpath`~
13548 test -d \$dldir || mkdir -p \$dldir~
13549 $install_prog $dir/$dlname \$dldir/$dlname~
13550 chmod a+x \$dldir/$dlname~
13551 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13552 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13554 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13555 dlpath=$dir/\$dldll~
13557 shlibpath_overrides_runpath
=yes
13561 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13562 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13564 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
13567 # MinGW DLLs use traditional 'lib' prefix
13568 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13571 # pw32 DLLs use 'pw' prefix rather than 'lib'
13572 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13578 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13581 dynamic_linker
='Win32 ld.exe'
13582 # FIXME: first we should search . and the directory the executable is in
13586 darwin
* | rhapsody
*)
13587 dynamic_linker
="$host_os dyld"
13588 version_type
=darwin
13591 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13592 soname_spec
='${libname}${release}${major}$shared_ext'
13593 shlibpath_overrides_runpath
=yes
13594 shlibpath_var
=DYLD_LIBRARY_PATH
13595 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13597 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
13598 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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 shlibpath_var
=LD_LIBRARY_PATH
13610 freebsd
* | dragonfly
*)
13611 # DragonFly does not have aout. When/if they implement a new
13612 # versioning mechanism, adjust this.
13613 if test -x /usr
/bin
/objformat
; then
13614 objformat
=`/usr/bin/objformat`
13617 freebsd
[23].
*) objformat
=aout
;;
13618 *) objformat
=elf
;;
13621 version_type
=freebsd-
$objformat
13622 case $version_type in
13624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13629 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13633 shlibpath_var
=LD_LIBRARY_PATH
13636 shlibpath_overrides_runpath
=yes
13638 freebsd3.
[01]* | freebsdelf3.
[01]*)
13639 shlibpath_overrides_runpath
=yes
13640 hardcode_into_libs
=yes
13642 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13643 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13644 shlibpath_overrides_runpath
=no
13645 hardcode_into_libs
=yes
13647 *) # from 4.6 on, and DragonFly
13648 shlibpath_overrides_runpath
=yes
13649 hardcode_into_libs
=yes
13658 dynamic_linker
="$host_os runtime_loader"
13659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13660 soname_spec
='${libname}${release}${shared_ext}$major'
13661 shlibpath_var
=LIBRARY_PATH
13662 shlibpath_overrides_runpath
=yes
13663 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13664 hardcode_into_libs
=yes
13667 hpux9
* | hpux10
* | hpux11
*)
13668 # Give a soname corresponding to the major version so that dld.sl refuses to
13669 # link against other versions.
13676 hardcode_into_libs
=yes
13677 dynamic_linker
="$host_os dld.so"
13678 shlibpath_var
=LD_LIBRARY_PATH
13679 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13680 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13681 soname_spec
='${libname}${release}${shared_ext}$major'
13682 if test "X$HPUX_IA64_MODE" = X32
; then
13683 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13685 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13687 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13691 hardcode_into_libs
=yes
13692 dynamic_linker
="$host_os dld.sl"
13693 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13694 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13696 soname_spec
='${libname}${release}${shared_ext}$major'
13697 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13698 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13702 dynamic_linker
="$host_os dld.sl"
13703 shlibpath_var
=SHLIB_PATH
13704 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13706 soname_spec
='${libname}${release}${shared_ext}$major'
13709 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13710 postinstall_cmds
='chmod 555 $lib'
13711 # or fails outright, so override atomically:
13712 install_override_mode
=555
13719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13720 soname_spec
='${libname}${release}${shared_ext}$major'
13721 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13722 shlibpath_var
=LD_LIBRARY_PATH
13723 shlibpath_overrides_runpath
=no
13724 hardcode_into_libs
=yes
13727 irix5
* | irix6
* | nonstopux
*)
13729 nonstopux
*) version_type
=nonstopux
;;
13731 if test "$lt_cv_prog_gnu_ld" = yes; then
13739 soname_spec
='${libname}${release}${shared_ext}$major'
13740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13742 irix5
* | nonstopux
*)
13743 libsuff
= shlibsuff
=
13746 case $LD in # libtool.m4 will add one of these switches to LD
13747 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13748 libsuff
= shlibsuff
= libmagic
=32-bit;;
13749 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13750 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13751 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13752 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13753 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13757 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13758 shlibpath_overrides_runpath
=no
13759 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13760 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13761 hardcode_into_libs
=yes
13764 # No shared lib support for Linux oldld, aout, or coff.
13765 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13769 # This must be Linux ELF.
13771 # uclinux* changes (here and below) have been submitted to the libtool
13772 # project, but have not yet been accepted: they are GCC-local changes
13773 # for the time being. (See
13774 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
13775 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
13779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13780 soname_spec
='${libname}${release}${shared_ext}$major'
13781 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13782 shlibpath_var
=LD_LIBRARY_PATH
13783 shlibpath_overrides_runpath
=no
13785 # Some binutils ld are patched to set DT_RUNPATH
13786 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13787 $as_echo_n "(cached) " >&6
13789 lt_cv_shlibpath_overrides_runpath
=no
13790 save_LDFLAGS
=$LDFLAGS
13791 save_libdir
=$libdir
13792 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13793 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13794 if test x
$gcc_no_link = xyes
; then
13795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13808 if ac_fn_c_try_link
"$LINENO"; then :
13809 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13810 lt_cv_shlibpath_overrides_runpath
=yes
13813 rm -f core conftest.err conftest.
$ac_objext \
13814 conftest
$ac_exeext conftest.
$ac_ext
13815 LDFLAGS
=$save_LDFLAGS
13816 libdir
=$save_libdir
13820 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13822 # This implies no fast_install, which is unacceptable.
13823 # Some rework will be needed to allow for fast_install
13824 # before this can be enabled.
13825 hardcode_into_libs
=yes
13827 # Append ld.so.conf contents to the search path
13828 if test -f /etc
/ld.so.conf
; then
13829 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' ' '`
13830 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13833 # We used to test for /lib/ld.so.1 and disable shared libraries on
13834 # powerpc, because MkLinux only supported shared libraries with the
13835 # GNU dynamic linker. Since this was broken with cross compilers,
13836 # most powerpc-linux boxes support dynamic linking these days and
13837 # people can always --disable-shared, the test was removed, and we
13838 # assume the GNU/Linux dynamic linker is in use.
13839 dynamic_linker
='GNU/Linux ld.so'
13846 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13848 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13849 dynamic_linker
='NetBSD (a.out) ld.so'
13851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13852 soname_spec
='${libname}${release}${shared_ext}$major'
13853 dynamic_linker
='NetBSD ld.elf_so'
13855 shlibpath_var
=LD_LIBRARY_PATH
13856 shlibpath_overrides_runpath
=yes
13857 hardcode_into_libs
=yes
13862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13863 shlibpath_var
=LD_LIBRARY_PATH
13864 shlibpath_overrides_runpath
=yes
13871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13872 soname_spec
='${libname}${release}${shared_ext}$major'
13873 shlibpath_var
=LD_LIBRARY_PATH
13874 shlibpath_overrides_runpath
=no
13875 hardcode_into_libs
=yes
13876 dynamic_linker
='ldqnx.so'
13881 sys_lib_dlsearch_path_spec
="/usr/lib"
13883 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13885 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13886 *) need_version
=no
;;
13888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13889 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13890 shlibpath_var
=LD_LIBRARY_PATH
13891 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13893 openbsd2.
[89] | openbsd2.
[89].
*)
13894 shlibpath_overrides_runpath
=no
13897 shlibpath_overrides_runpath
=yes
13901 shlibpath_overrides_runpath
=yes
13906 libname_spec
='$name'
13909 library_names_spec
='$libname${shared_ext} $libname.a'
13910 dynamic_linker
='OS/2 ld.exe'
13911 shlibpath_var
=LIBPATH
13914 osf3
* | osf4
* | osf5
*)
13918 soname_spec
='${libname}${release}${shared_ext}$major'
13919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13920 shlibpath_var
=LD_LIBRARY_PATH
13921 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13922 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13934 soname_spec
='${libname}${release}${shared_ext}$major'
13935 shlibpath_var
=LD_LIBRARY_PATH
13936 shlibpath_overrides_runpath
=yes
13937 hardcode_into_libs
=yes
13938 # ldd complains unless libraries are executable
13939 postinstall_cmds
='chmod +x $lib'
13944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13945 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13946 shlibpath_var
=LD_LIBRARY_PATH
13947 shlibpath_overrides_runpath
=yes
13948 if test "$with_gnu_ld" = yes; then
13956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13957 soname_spec
='${libname}${release}${shared_ext}$major'
13958 shlibpath_var
=LD_LIBRARY_PATH
13959 case $host_vendor in
13961 shlibpath_overrides_runpath
=no
13963 runpath_var
=LD_RUN_PATH
13971 shlibpath_overrides_runpath
=no
13972 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13978 if test -d /usr
/nec
;then
13980 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13981 soname_spec
='$libname${shared_ext}.$major'
13982 shlibpath_var
=LD_LIBRARY_PATH
13986 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13987 version_type
=freebsd-elf
13990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13991 soname_spec
='${libname}${release}${shared_ext}$major'
13992 shlibpath_var
=LD_LIBRARY_PATH
13993 shlibpath_overrides_runpath
=yes
13994 hardcode_into_libs
=yes
13995 if test "$with_gnu_ld" = yes; then
13996 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13998 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14001 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14005 sys_lib_dlsearch_path_spec
='/usr/lib'
14009 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14014 shlibpath_var
=LD_LIBRARY_PATH
14015 shlibpath_overrides_runpath
=no
14016 hardcode_into_libs
=yes
14021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14022 soname_spec
='${libname}${release}${shared_ext}$major'
14023 shlibpath_var
=LD_LIBRARY_PATH
14026 # Shared libraries for VwWorks, >= 7 only at this stage
14027 # and (fpic) still incompatible with "large" code models
14028 # in a few configurations. Only for RTP mode in any case,
14029 # and upon explicit request at configure time.
14032 case ${with_multisubdir}-${enable_shared} in
14039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14040 soname_spec
='${libname}${release}${shared_ext}$major'
14041 dynamic_linker
="$host_os module_loader"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14050 $as_echo "$dynamic_linker" >&6; }
14051 test "$dynamic_linker" = no
&& can_build_shared
=no
14053 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14054 if test "$GCC" = yes; then
14055 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14058 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14059 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14061 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14062 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14157 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14159 if test -n "$hardcode_libdir_flag_spec" ||
14160 test -n "$runpath_var" ||
14161 test "X$hardcode_automatic" = "Xyes" ; then
14163 # We can hardcode non-existent directories.
14164 if test "$hardcode_direct" != no
&&
14165 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14166 # have to relink, otherwise we might link with an installed library
14167 # when we should be linking with a yet-to-be-installed one
14168 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
14169 test "$hardcode_minus_L" != no
; then
14170 # Linking always hardcodes the temporary library directory.
14171 hardcode_action
=relink
14173 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14174 hardcode_action
=immediate
14177 # We cannot hardcode anything, or else we can only hardcode existing
14179 hardcode_action
=unsupported
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14182 $as_echo "$hardcode_action" >&6; }
14184 if test "$hardcode_action" = relink ||
14185 test "$inherit_rpath" = yes; then
14186 # Fast installation is not supported
14187 enable_fast_install
=no
14188 elif test "$shlibpath_overrides_runpath" = yes ||
14189 test "$enable_shared" = no
; then
14190 # Fast installation is not necessary
14191 enable_fast_install
=needless
14199 if test "x$enable_dlopen" != xyes
; then
14200 enable_dlopen
=unknown
14201 enable_dlopen_self
=unknown
14202 enable_dlopen_self_static
=unknown
14209 lt_cv_dlopen
="load_add_on"
14211 lt_cv_dlopen_self
=yes
14214 mingw
* | pw32
* | cegcc
*)
14215 lt_cv_dlopen
="LoadLibrary"
14220 lt_cv_dlopen
="dlopen"
14225 # if libdl is installed we need to link against it
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14227 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14228 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14229 $as_echo_n "(cached) " >&6
14231 ac_check_lib_save_LIBS
=$LIBS
14233 if test x
$gcc_no_link = xyes
; then
14234 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14239 /* Override any GCC internal prototype to avoid an error.
14240 Use char because int might match the return type of a GCC
14241 builtin and then its argument prototype would still apply. */
14254 if ac_fn_c_try_link
"$LINENO"; then :
14255 ac_cv_lib_dl_dlopen
=yes
14257 ac_cv_lib_dl_dlopen
=no
14259 rm -f core conftest.err conftest.
$ac_objext \
14260 conftest
$ac_exeext conftest.
$ac_ext
14261 LIBS
=$ac_check_lib_save_LIBS
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14264 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14265 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14266 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14269 lt_cv_dlopen
="dyld"
14271 lt_cv_dlopen_self
=yes
14278 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
14279 if test "x$ac_cv_func_shl_load" = xyes
; then :
14280 lt_cv_dlopen
="shl_load"
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14283 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14284 if ${ac_cv_lib_dld_shl_load+:} false
; then :
14285 $as_echo_n "(cached) " >&6
14287 ac_check_lib_save_LIBS
=$LIBS
14289 if test x
$gcc_no_link = xyes
; then
14290 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14295 /* Override any GCC internal prototype to avoid an error.
14296 Use char because int might match the return type of a GCC
14297 builtin and then its argument prototype would still apply. */
14305 return shl_load ();
14310 if ac_fn_c_try_link
"$LINENO"; then :
14311 ac_cv_lib_dld_shl_load
=yes
14313 ac_cv_lib_dld_shl_load
=no
14315 rm -f core conftest.err conftest.
$ac_objext \
14316 conftest
$ac_exeext conftest.
$ac_ext
14317 LIBS
=$ac_check_lib_save_LIBS
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14320 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14321 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
14322 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
14324 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14325 if test "x$ac_cv_func_dlopen" = xyes
; then :
14326 lt_cv_dlopen
="dlopen"
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14329 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14330 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14331 $as_echo_n "(cached) " >&6
14333 ac_check_lib_save_LIBS
=$LIBS
14335 if test x
$gcc_no_link = xyes
; then
14336 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14341 /* Override any GCC internal prototype to avoid an error.
14342 Use char because int might match the return type of a GCC
14343 builtin and then its argument prototype would still apply. */
14356 if ac_fn_c_try_link
"$LINENO"; then :
14357 ac_cv_lib_dl_dlopen
=yes
14359 ac_cv_lib_dl_dlopen
=no
14361 rm -f core conftest.err conftest.
$ac_objext \
14362 conftest
$ac_exeext conftest.
$ac_ext
14363 LIBS
=$ac_check_lib_save_LIBS
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14366 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14367 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14368 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14371 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14372 if ${ac_cv_lib_svld_dlopen+:} false
; then :
14373 $as_echo_n "(cached) " >&6
14375 ac_check_lib_save_LIBS
=$LIBS
14376 LIBS
="-lsvld $LIBS"
14377 if test x
$gcc_no_link = xyes
; then
14378 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14383 /* Override any GCC internal prototype to avoid an error.
14384 Use char because int might match the return type of a GCC
14385 builtin and then its argument prototype would still apply. */
14398 if ac_fn_c_try_link
"$LINENO"; then :
14399 ac_cv_lib_svld_dlopen
=yes
14401 ac_cv_lib_svld_dlopen
=no
14403 rm -f core conftest.err conftest.
$ac_objext \
14404 conftest
$ac_exeext conftest.
$ac_ext
14405 LIBS
=$ac_check_lib_save_LIBS
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14408 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14409 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
14410 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14413 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14414 if ${ac_cv_lib_dld_dld_link+:} false
; then :
14415 $as_echo_n "(cached) " >&6
14417 ac_check_lib_save_LIBS
=$LIBS
14419 if test x
$gcc_no_link = xyes
; then
14420 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14425 /* Override any GCC internal prototype to avoid an error.
14426 Use char because int might match the return type of a GCC
14427 builtin and then its argument prototype would still apply. */
14435 return dld_link ();
14440 if ac_fn_c_try_link
"$LINENO"; then :
14441 ac_cv_lib_dld_dld_link
=yes
14443 ac_cv_lib_dld_dld_link
=no
14445 rm -f core conftest.err conftest.
$ac_objext \
14446 conftest
$ac_exeext conftest.
$ac_ext
14447 LIBS
=$ac_check_lib_save_LIBS
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14450 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14451 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
14452 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
14473 if test "x$lt_cv_dlopen" != xno
; then
14479 case $lt_cv_dlopen in
14481 save_CPPFLAGS
="$CPPFLAGS"
14482 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14484 save_LDFLAGS
="$LDFLAGS"
14485 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14488 LIBS
="$lt_cv_dlopen_libs $LIBS"
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14491 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14492 if ${lt_cv_dlopen_self+:} false
; then :
14493 $as_echo_n "(cached) " >&6
14495 if test "$cross_compiling" = yes; then :
14496 lt_cv_dlopen_self
=cross
14498 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14499 lt_status
=$lt_dlunknown
14500 cat > conftest.
$ac_ext <<_LT_EOF
14501 #line 14501 "configure"
14502 #include "confdefs.h"
14511 # define LT_DLGLOBAL RTLD_GLOBAL
14514 # define LT_DLGLOBAL DL_GLOBAL
14516 # define LT_DLGLOBAL 0
14520 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14521 find out it does not work in some platform. */
14522 #ifndef LT_DLLAZY_OR_NOW
14524 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14527 # define LT_DLLAZY_OR_NOW DL_LAZY
14530 # define LT_DLLAZY_OR_NOW RTLD_NOW
14533 # define LT_DLLAZY_OR_NOW DL_NOW
14535 # define LT_DLLAZY_OR_NOW 0
14542 /* When -fvisbility=hidden is used, assume the code has been annotated
14543 correspondingly for the symbols needed. */
14544 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14545 void fnord () __attribute__((visibility("default")));
14548 void fnord () { int i=42; }
14551 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14552 int status = $lt_dlunknown;
14556 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14559 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14560 else puts (dlerror ());
14562 /* dlclose (self); */
14570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14571 (eval $ac_link) 2>&5
14573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14574 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14575 (.
/conftest
; exit; ) >&5 2>/dev
/null
14577 case x
$lt_status in
14578 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14579 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14580 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
14583 # compilation failed
14584 lt_cv_dlopen_self
=no
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14592 $as_echo "$lt_cv_dlopen_self" >&6; }
14594 if test "x$lt_cv_dlopen_self" = xyes
; then
14595 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14597 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14598 if ${lt_cv_dlopen_self_static+:} false
; then :
14599 $as_echo_n "(cached) " >&6
14601 if test "$cross_compiling" = yes; then :
14602 lt_cv_dlopen_self_static
=cross
14604 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14605 lt_status
=$lt_dlunknown
14606 cat > conftest.
$ac_ext <<_LT_EOF
14607 #line 14607 "configure"
14608 #include "confdefs.h"
14617 # define LT_DLGLOBAL RTLD_GLOBAL
14620 # define LT_DLGLOBAL DL_GLOBAL
14622 # define LT_DLGLOBAL 0
14626 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14627 find out it does not work in some platform. */
14628 #ifndef LT_DLLAZY_OR_NOW
14630 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14633 # define LT_DLLAZY_OR_NOW DL_LAZY
14636 # define LT_DLLAZY_OR_NOW RTLD_NOW
14639 # define LT_DLLAZY_OR_NOW DL_NOW
14641 # define LT_DLLAZY_OR_NOW 0
14648 /* When -fvisbility=hidden is used, assume the code has been annotated
14649 correspondingly for the symbols needed. */
14650 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14651 void fnord () __attribute__((visibility("default")));
14654 void fnord () { int i=42; }
14657 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14658 int status = $lt_dlunknown;
14662 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14665 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14666 else puts (dlerror ());
14668 /* dlclose (self); */
14676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14677 (eval $ac_link) 2>&5
14679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14680 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14681 (.
/conftest
; exit; ) >&5 2>/dev
/null
14683 case x
$lt_status in
14684 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14685 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14686 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
14689 # compilation failed
14690 lt_cv_dlopen_self_static
=no
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14698 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14701 CPPFLAGS
="$save_CPPFLAGS"
14702 LDFLAGS
="$save_LDFLAGS"
14707 case $lt_cv_dlopen_self in
14708 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14709 *) enable_dlopen_self
=unknown
;;
14712 case $lt_cv_dlopen_self_static in
14713 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14714 *) enable_dlopen_self_static
=unknown
;;
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14737 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14738 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
14739 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14740 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14742 $as_echo "yes" >&6; }
14744 # FIXME - insert some real tests, host_os isn't really good enough
14747 if test -n "$STRIP" ; then
14748 striplib
="$STRIP -x"
14749 old_striplib
="$STRIP -S"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14751 $as_echo "yes" >&6; }
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14754 $as_echo "no" >&6; }
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14759 $as_echo "no" >&6; }
14775 # Report which library types will actually be built
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14777 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14779 $as_echo "$can_build_shared" >&6; }
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14782 $as_echo_n "checking whether to build shared libraries... " >&6; }
14783 test "$can_build_shared" = "no" && enable_shared
=no
14785 # On AIX, shared libraries and static libraries use the same namespace, and
14786 # are all built from PIC.
14789 test "$enable_shared" = yes && enable_static
=no
14790 if test -n "$RANLIB"; then
14791 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14792 postinstall_cmds
='$RANLIB $lib'
14797 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14798 test "$enable_shared" = yes && enable_static
=no
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14803 $as_echo "$enable_shared" >&6; }
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14806 $as_echo_n "checking whether to build static libraries... " >&6; }
14807 # Make sure either enable_shared or enable_static is yes.
14808 test "$enable_shared" = yes || enable_static
=yes
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14810 $as_echo "$enable_static" >&6; }
14817 ac_cpp
='$CPP $CPPFLAGS'
14818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14824 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14825 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14826 (test "X$CXX" != "Xg++"))) ; then
14828 ac_cpp
='$CXXCPP $CPPFLAGS'
14829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14833 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14834 if test -z "$CXXCPP"; then
14835 if ${ac_cv_prog_CXXCPP+:} false
; then :
14836 $as_echo_n "(cached) " >&6
14838 # Double quotes because CXXCPP needs to be expanded
14839 for CXXCPP
in "$CXX -E" "/lib/cpp"
14841 ac_preproc_ok
=false
14842 for ac_cxx_preproc_warn_flag
in '' yes
14844 # Use a header file that comes with gcc, so configuring glibc
14845 # with a fresh cross-compiler works.
14846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14847 # <limits.h> exists even on freestanding compilers.
14848 # On the NeXT, cc -E runs the code through the compiler's parser,
14849 # not just through cpp. "Syntax error" is here to catch this case.
14850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 # include <limits.h>
14855 # include <assert.h>
14859 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14862 # Broken: fails on valid input.
14865 rm -f conftest.err conftest.i conftest.
$ac_ext
14867 # OK, works on sane cases. Now check whether nonexistent headers
14868 # can be detected and how.
14869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14871 #include <ac_nonexistent.h>
14873 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14874 # Broken: success on invalid input.
14877 # Passes both tests.
14881 rm -f conftest.err conftest.i conftest.
$ac_ext
14884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14885 rm -f conftest.i conftest.err conftest.
$ac_ext
14886 if $ac_preproc_ok; then :
14891 ac_cv_prog_CXXCPP
=$CXXCPP
14894 CXXCPP
=$ac_cv_prog_CXXCPP
14896 ac_cv_prog_CXXCPP
=$CXXCPP
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14899 $as_echo "$CXXCPP" >&6; }
14900 ac_preproc_ok
=false
14901 for ac_cxx_preproc_warn_flag
in '' yes
14903 # Use a header file that comes with gcc, so configuring glibc
14904 # with a fresh cross-compiler works.
14905 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14906 # <limits.h> exists even on freestanding compilers.
14907 # On the NeXT, cc -E runs the code through the compiler's parser,
14908 # not just through cpp. "Syntax error" is here to catch this case.
14909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14912 # include <limits.h>
14914 # include <assert.h>
14918 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14921 # Broken: fails on valid input.
14924 rm -f conftest.err conftest.i conftest.
$ac_ext
14926 # OK, works on sane cases. Now check whether nonexistent headers
14927 # can be detected and how.
14928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14930 #include <ac_nonexistent.h>
14932 if ac_fn_cxx_try_cpp
"$LINENO"; then :
14933 # Broken: success on invalid input.
14936 # Passes both tests.
14940 rm -f conftest.err conftest.i conftest.
$ac_ext
14943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14944 rm -f conftest.i conftest.err conftest.
$ac_ext
14945 if $ac_preproc_ok; then :
14948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14950 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
14951 See \`config.log' for more details" "$LINENO" 5; }
14955 ac_cpp
='$CPP $CPPFLAGS'
14956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14961 _lt_caught_CXX_error
=yes
14965 ac_cpp
='$CXXCPP $CPPFLAGS'
14966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14970 archive_cmds_need_lc_CXX
=no
14971 allow_undefined_flag_CXX
=
14972 always_export_symbols_CXX
=no
14973 archive_expsym_cmds_CXX
=
14974 compiler_needs_object_CXX
=no
14975 export_dynamic_flag_spec_CXX
=
14976 hardcode_direct_CXX
=no
14977 hardcode_direct_absolute_CXX
=no
14978 hardcode_libdir_flag_spec_CXX
=
14979 hardcode_libdir_flag_spec_ld_CXX
=
14980 hardcode_libdir_separator_CXX
=
14981 hardcode_minus_L_CXX
=no
14982 hardcode_shlibpath_var_CXX
=unsupported
14983 hardcode_automatic_CXX
=no
14984 inherit_rpath_CXX
=no
14986 module_expsym_cmds_CXX
=
14987 link_all_deplibs_CXX
=unknown
14988 old_archive_cmds_CXX
=$old_archive_cmds
14989 reload_flag_CXX
=$reload_flag
14990 reload_cmds_CXX
=$reload_cmds
14991 no_undefined_flag_CXX
=
14992 whole_archive_flag_spec_CXX
=
14993 enable_shared_with_static_runtimes_CXX
=no
14995 # Source file extension for C++ test sources.
14998 # Object file extension for compiled C++ test sources.
15002 # No sense in running all these tests if we already determined that
15003 # the CXX compiler isn't working. Some variables (like enable_shared)
15004 # are currently assumed to apply to all compilers on this platform,
15005 # and will be corrupted by setting them based on a non-working compiler.
15006 if test "$_lt_caught_CXX_error" != yes; then
15007 # Code to be used in simple compile tests
15008 lt_simple_compile_test_code
="int some_variable = 0;"
15010 # Code to be used in simple link tests
15011 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
15013 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15020 # If no C compiler was specified, use CC.
15023 # If no C compiler flags were specified, use CFLAGS.
15024 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15026 # Allow CC to be a program name with arguments.
15030 # save warnings/boilerplate of simple test code
15031 ac_outfile
=conftest.
$ac_objext
15032 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15033 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15034 _lt_compiler_boilerplate
=`cat conftest.err`
15037 ac_outfile
=conftest.
$ac_objext
15038 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15039 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15040 _lt_linker_boilerplate
=`cat conftest.err`
15044 # Allow CC to be a program name with arguments.
15049 lt_save_with_gnu_ld
=$with_gnu_ld
15050 lt_save_path_LD
=$lt_cv_path_LD
15051 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15052 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
15054 $as_unset lt_cv_prog_gnu_ld
15056 if test -n "${lt_cv_path_LDCXX+set}"; then
15057 lt_cv_path_LD
=$lt_cv_path_LDCXX
15059 $as_unset lt_cv_path_LD
15061 test -z "${LDCXX+set}" || LD
=$LDCXX
15065 for cc_temp
in $compiler""; do
15067 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15068 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15073 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15076 if test -n "$compiler"; then
15077 # We don't want -fno-exception when compiling C++ code, so set the
15078 # no_builtin_flag separately
15079 if test "$GXX" = yes; then
15080 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
15082 lt_prog_compiler_no_builtin_flag_CXX
=
15085 if test "$GXX" = yes; then
15086 # Set up default GNU C++ configuration
15090 # Check whether --with-gnu-ld was given.
15091 if test "${with_gnu_ld+set}" = set; then :
15092 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
15098 if test "$GCC" = yes; then
15099 # Check if gcc -print-prog-name=ld gives a path.
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15101 $as_echo_n "checking for ld used by $CC... " >&6; }
15104 # gcc leaves a trailing carriage return which upsets mingw
15105 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15107 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15110 # Accept absolute paths.
15112 re_direlt
='/[^/][^/]*/\.\./'
15113 # Canonicalize the pathname of ld
15114 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15115 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
15116 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15118 test -z "$LD" && LD
="$ac_prog"
15121 # If it fails, then pretend we aren't using GCC.
15125 # If it is relative, then search for the first ld in PATH.
15126 with_gnu_ld
=unknown
15129 elif test "$with_gnu_ld" = yes; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15131 $as_echo_n "checking for GNU ld... " >&6; }
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15134 $as_echo_n "checking for non-GNU ld... " >&6; }
15136 if ${lt_cv_path_LD+:} false
; then :
15137 $as_echo_n "(cached) " >&6
15139 if test -z "$LD"; then
15140 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
15141 for ac_dir
in $PATH; do
15143 test -z "$ac_dir" && ac_dir
=.
15144 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15145 lt_cv_path_LD
="$ac_dir/$ac_prog"
15146 # Check to see if the program is GNU ld. I'd rather use --version,
15147 # but apparently some variants of GNU ld only accept -v.
15148 # Break only if it was the GNU/non-GNU ld that we prefer.
15149 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15150 *GNU
* |
*'with BFD'*)
15151 test "$with_gnu_ld" != no
&& break
15154 test "$with_gnu_ld" != yes && break
15161 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
15165 LD
="$lt_cv_path_LD"
15166 if test -n "$LD"; then
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15168 $as_echo "$LD" >&6; }
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15171 $as_echo "no" >&6; }
15173 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15175 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15176 if ${lt_cv_prog_gnu_ld+:} false
; then :
15177 $as_echo_n "(cached) " >&6
15179 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15180 case `$LD -v 2>&1 </dev/null` in
15181 *GNU
* |
*'with BFD'*)
15182 lt_cv_prog_gnu_ld
=yes
15185 lt_cv_prog_gnu_ld
=no
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15190 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15191 with_gnu_ld
=$lt_cv_prog_gnu_ld
15199 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15200 # archiving commands below assume that GNU ld is being used.
15201 if test "$with_gnu_ld" = yes; then
15202 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15203 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'
15205 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15206 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15208 # If archive_cmds runs LD, not CC, wlarc should be empty
15209 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15210 # investigate it a little bit more. (MM)
15213 # ancient GNU ld didn't support --whole-archive et. al.
15214 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15215 $GREP 'no-whole-archive' > /dev
/null
; then
15216 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15218 whole_archive_flag_spec_CXX
=
15224 # A generic and very simple default shared library creation
15225 # command for GNU C++ for the case where it uses the native
15226 # linker, instead of GNU ld. If possible, this setting should
15227 # overridden to take advantage of the native linker features on
15228 # the platform it is being used on.
15229 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15232 # Commands to make compiler produce verbose output that lists
15233 # what "hidden" libraries, object files and flags are used when
15234 # linking a shared library.
15235 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15243 # PORTME: fill in a description of your system's C++ link characteristics
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15245 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15249 # FIXME: insert proper C++ library support
15253 if test "$host_cpu" = ia64
; then
15254 # On IA64, the linker does run time linking by default, so we don't
15255 # have to do anything special.
15256 aix_use_runtimelinking
=no
15257 exp_sym_flag
='-Bexport'
15260 aix_use_runtimelinking
=no
15262 # Test if we are trying to use run time linking or normal
15263 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15264 # need to do runtime linking.
15265 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15266 for ld_flag
in $LDFLAGS; do
15269 aix_use_runtimelinking
=yes
15277 exp_sym_flag
='-bexport'
15278 no_entry_flag
='-bnoentry'
15281 # When large executables or shared objects are built, AIX ld can
15282 # have problems creating the table of contents. If linking a library
15283 # or program results in "error TOC overflow" add -mminimal-toc to
15284 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15285 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15287 archive_cmds_CXX
=''
15288 hardcode_direct_CXX
=yes
15289 hardcode_direct_absolute_CXX
=yes
15290 hardcode_libdir_separator_CXX
=':'
15291 link_all_deplibs_CXX
=yes
15292 file_list_spec_CXX
='${wl}-f,'
15294 if test "$GXX" = yes; then
15295 case $host_os in aix4.
[012]|aix4.
[012].
*)
15296 # We only want to do this on AIX 4.2 and lower, the check
15297 # below for broken collect2 doesn't work under 4.3+
15298 collect2name
=`${CC} -print-prog-name=collect2`
15299 if test -f "$collect2name" &&
15300 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
15302 # We have reworked collect2
15305 # We have old collect2
15306 hardcode_direct_CXX
=unsupported
15307 # It fails to find uninstalled libraries when the uninstalled
15308 # path is not listed in the libpath. Setting hardcode_minus_L
15309 # to unsupported forces relinking
15310 hardcode_minus_L_CXX
=yes
15311 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15312 hardcode_libdir_separator_CXX
=
15315 shared_flag
='-shared'
15316 if test "$aix_use_runtimelinking" = yes; then
15317 shared_flag
="$shared_flag "'${wl}-G'
15321 if test "$host_cpu" = ia64
; then
15322 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15323 # chokes on -Wl,-G. The following line is correct:
15326 if test "$aix_use_runtimelinking" = yes; then
15327 shared_flag
='${wl}-G'
15329 shared_flag
='${wl}-bM:SRE'
15334 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
15335 # It seems that -bexpall does not export symbols beginning with
15336 # underscore (_), so it is better to generate a list of symbols to
15338 always_export_symbols_CXX
=yes
15339 if test "$aix_use_runtimelinking" = yes; then
15340 # Warning - without using the other runtime loading flags (-brtl),
15341 # -berok will link without error, but may produce a broken library.
15342 allow_undefined_flag_CXX
='-berok'
15343 # Determine the default libpath from the value encoded in an empty
15345 if test x
$gcc_no_link = xyes
; then
15346 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15359 if ac_fn_cxx_try_link
"$LINENO"; then :
15361 lt_aix_libpath_sed
='
15362 /Import File Strings/,/^$/ {
15368 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15369 # Check for a 64-bit object if we didn't find anything.
15370 if test -z "$aix_libpath"; then
15371 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15374 rm -f core conftest.err conftest.
$ac_objext \
15375 conftest
$ac_exeext conftest.
$ac_ext
15376 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15378 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15380 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"
15382 if test "$host_cpu" = ia64
; then
15383 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
15384 allow_undefined_flag_CXX
="-z nodefs"
15385 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"
15387 # Determine the default libpath from the value encoded in an
15388 # empty executable.
15389 if test x
$gcc_no_link = xyes
; then
15390 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15403 if ac_fn_cxx_try_link
"$LINENO"; then :
15405 lt_aix_libpath_sed
='
15406 /Import File Strings/,/^$/ {
15412 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15413 # Check for a 64-bit object if we didn't find anything.
15414 if test -z "$aix_libpath"; then
15415 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15418 rm -f core conftest.err conftest.
$ac_objext \
15419 conftest
$ac_exeext conftest.
$ac_ext
15420 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15422 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
15423 # Warning - without using the other run time loading flags,
15424 # -berok will link without error, but may produce a broken library.
15425 no_undefined_flag_CXX
=' ${wl}-bernotok'
15426 allow_undefined_flag_CXX
=' ${wl}-berok'
15427 if test "$with_gnu_ld" = yes; then
15428 # We only use this code for GNU lds that support --whole-archive.
15429 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15431 # Exported symbols can be pulled into shared objects from archives
15432 whole_archive_flag_spec_CXX
='$convenience'
15434 archive_cmds_need_lc_CXX
=yes
15435 # This is similar to how AIX traditionally builds its shared
15437 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'
15443 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
15444 allow_undefined_flag_CXX
=unsupported
15445 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15446 # support --undefined. This deserves some investigation. FIXME
15447 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15454 case $cc_basename in
15456 # FIXME: insert proper C++ library support
15462 cygwin
* | mingw
* | pw32
* | cegcc
*)
15463 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15464 # as there is no search path for DLLs.
15465 hardcode_libdir_flag_spec_CXX
='-L$libdir'
15466 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
15467 allow_undefined_flag_CXX
=unsupported
15468 always_export_symbols_CXX
=no
15469 enable_shared_with_static_runtimes_CXX
=yes
15471 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
15472 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'
15473 # If the export-symbols file already is a .def file (1st line
15474 # is EXPORTS), use it as is; otherwise, prepend...
15475 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15476 cp $export_symbols $output_objdir/$soname.def;
15478 echo EXPORTS > $output_objdir/$soname.def;
15479 cat $export_symbols >> $output_objdir/$soname.def;
15481 $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'
15486 darwin
* | rhapsody
*)
15490 # Publish an arg to allow the user to select that Darwin host (and target)
15491 # libraries should be given install-names like @rpath/libfoo.dylib. This
15492 # requires that the user of the library then adds an 'rpath' to the DSO that
15494 # NOTE: there are defaults below, for systems that support rpaths. The person
15495 # configuring can override the defaults for any system version that supports
15496 # them - they are, however, forced off for system versions without support.
15497 # Check whether --enable-darwin-at-rpath was given.
15498 if test "${enable_darwin_at_rpath+set}" = set; then :
15499 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
15500 # This is not supported before macOS 10.5 / Darwin9.
15501 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15502 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
15504 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
15505 enable_darwin_at_rpath
=no
15510 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
15511 # As above, before 10.5 / Darwin9 this does not work.
15512 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
15513 enable_darwin_at_rpath
=no
15516 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
15517 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
15518 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
15519 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
15521 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
15522 enable_darwin_at_rpath
=yes
15524 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
15525 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
15532 archive_cmds_need_lc_CXX
=no
15533 hardcode_direct_CXX
=no
15534 hardcode_automatic_CXX
=yes
15535 hardcode_shlibpath_var_CXX
=unsupported
15536 if test "$lt_cv_ld_force_load" = "yes"; then
15537 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\"`'
15539 whole_archive_flag_spec_CXX
=''
15541 link_all_deplibs_CXX
=yes
15542 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
15543 case $cc_basename in
15544 ifort
*) _lt_dar_can_shared
=yes ;;
15545 *) _lt_dar_can_shared
=$GCC ;;
15547 if test "$_lt_dar_can_shared" = "yes"; then
15548 output_verbose_link_cmd
=func_echo_all
15549 _lt_install_name
='\$rpath/\$soname'
15550 if test "x$enable_darwin_at_rpath" = "xyes"; then
15551 _lt_install_name
='@rpath/\$soname'
15553 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
15554 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15555 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}"
15556 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}"
15557 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15558 _lt_install_name
='\$rpath/\$soname'
15559 if test "x$enable_darwin_at_rpath" = "xyes"; then
15560 _lt_install_name
='@rpath/\$soname'
15562 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}"
15563 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}"
15573 case $cc_basename in
15575 # FIXME: insert proper C++ library support
15579 # Green Hills C++ Compiler
15580 # FIXME: insert proper C++ library support
15584 # FIXME: insert proper C++ library support
15591 # C++ shared libraries reported to be fairly broken before
15597 archive_cmds_need_lc_CXX
=no
15600 freebsd
* | dragonfly
*)
15601 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15610 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15611 link_all_deplibs_CXX
=yes
15615 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15616 hardcode_libdir_separator_CXX
=:
15617 export_dynamic_flag_spec_CXX
='${wl}-E'
15618 hardcode_direct_CXX
=yes
15619 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15620 # but as the default
15621 # location of the library.
15623 case $cc_basename in
15625 # FIXME: insert proper C++ library support
15629 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'
15630 # Commands to make compiler produce verbose output that lists
15631 # what "hidden" libraries, object files and flags are used when
15632 # linking a shared library.
15634 # There doesn't appear to be a way to prevent this compiler from
15635 # explicitly linking system object files so we need to strip them
15636 # from the output so that they don't get included in the library
15638 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"'
15641 if test "$GXX" = yes; then
15642 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'
15644 # FIXME: insert proper C++ library support
15652 if test $with_gnu_ld = no
; then
15653 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
15654 hardcode_libdir_separator_CXX
=:
15660 export_dynamic_flag_spec_CXX
='${wl}-E'
15666 hardcode_direct_CXX
=no
15667 hardcode_shlibpath_var_CXX
=no
15670 hardcode_direct_CXX
=yes
15671 hardcode_direct_absolute_CXX
=yes
15672 hardcode_minus_L_CXX
=yes # Not in the search PATH,
15673 # but as the default
15674 # location of the library.
15678 case $cc_basename in
15680 # FIXME: insert proper C++ library support
15686 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15689 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15692 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15695 # Commands to make compiler produce verbose output that lists
15696 # what "hidden" libraries, object files and flags are used when
15697 # linking a shared library.
15699 # There doesn't appear to be a way to prevent this compiler from
15700 # explicitly linking system object files so we need to strip them
15701 # from the output so that they don't get included in the library
15703 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"'
15706 if test "$GXX" = yes; then
15707 if test $with_gnu_ld = no
; then
15710 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15713 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15716 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'
15721 # FIXME: insert proper C++ library support
15729 hardcode_direct_CXX
=no
15730 hardcode_shlibpath_var_CXX
=no
15731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15732 export_dynamic_flag_spec_CXX
='${wl}-E'
15733 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15734 # Instead, shared libraries are loaded at an image base (0x10000000 by
15735 # default) and relocated if they conflict, which is a slow very memory
15736 # consuming and fragmenting process. To avoid this, we pick a random,
15737 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15738 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15739 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'
15740 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'
15743 case $cc_basename in
15746 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'
15748 # Archives containing C++ object files must be created using
15749 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15750 # necessary to make sure instantiated templates are included
15752 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
15755 if test "$GXX" = yes; then
15756 if test "$with_gnu_ld" = no
; then
15757 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'
15759 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'
15762 link_all_deplibs_CXX
=yes
15765 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15766 hardcode_libdir_separator_CXX
=:
15767 inherit_rpath_CXX
=yes
15770 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15771 case $cc_basename in
15773 # Kuck and Associates, Inc. (KAI) C++ Compiler
15775 # KCC will only create a shared library if the output file
15776 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15777 # to its proper name (with version) after linking.
15778 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'
15779 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'
15780 # Commands to make compiler produce verbose output that lists
15781 # what "hidden" libraries, object files and flags are used when
15782 # linking a shared library.
15784 # There doesn't appear to be a way to prevent this compiler from
15785 # explicitly linking system object files so we need to strip them
15786 # from the output so that they don't get included in the library
15788 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"'
15790 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15791 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15793 # Archives containing C++ object files must be created using
15794 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15795 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
15800 # version 8.0 and above of icpc choke on multiply defined symbols
15801 # if we add $predep_objects and $postdep_objects, however 7.1 and
15802 # earlier do not add the objects themselves.
15803 case `$CC -V 2>&1` in
15805 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15806 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'
15808 *) # Version 8.0 or newer
15811 ia64
*) tmp_idyn
=' -i_dynamic';;
15813 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15814 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'
15817 archive_cmds_need_lc_CXX
=no
15818 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15819 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15820 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15823 # Portland Group C++ compiler
15825 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
15826 prelink_cmds_CXX
='tpldir=Template.dir~
15828 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15829 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15830 old_archive_cmds_CXX
='tpldir=Template.dir~
15832 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15833 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15835 archive_cmds_CXX
='tpldir=Template.dir~
15837 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15838 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15839 archive_expsym_cmds_CXX
='tpldir=Template.dir~
15841 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15842 $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'
15844 *) # Version 6 and above use weak symbols
15845 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15846 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'
15850 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
15851 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15852 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'
15856 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15857 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'
15859 runpath_var
=LD_RUN_PATH
15860 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
15861 hardcode_libdir_separator_CXX
=:
15863 # Commands to make compiler produce verbose output that lists
15864 # what "hidden" libraries, object files and flags are used when
15865 # linking a shared library.
15867 # There doesn't appear to be a way to prevent this compiler from
15868 # explicitly linking system object files so we need to strip them
15869 # from the output so that they don't get included in the library
15871 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'
15873 xl
* | mpixl
* | bgxl
*)
15874 # IBM XL 8.0 on PPC, with GNU ld
15875 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
15876 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
15877 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15878 if test "x$supports_anon_versioning" = xyes
; then
15879 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
15880 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15881 echo "local: *; };" >> $output_objdir/$libname.ver~
15882 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15886 case `$CC -V 2>&1 | sed 5q` in
15889 no_undefined_flag_CXX
=' -zdefs'
15890 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15891 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'
15892 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15893 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'
15894 compiler_needs_object_CXX
=yes
15896 # Not sure whether something based on
15897 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15899 output_verbose_link_cmd
='func_echo_all'
15901 # Archives containing C++ object files must be created using
15902 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15903 # necessary to make sure instantiated templates are included
15905 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
15913 # FIXME: insert proper C++ library support
15918 # FIXME: insert proper C++ library support
15923 case $cc_basename in
15925 # FIXME: insert proper C++ library support
15929 # FIXME: insert proper C++ library support
15936 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15937 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15939 hardcode_libdir_flag_spec_CXX
='-R$libdir'
15940 hardcode_direct_CXX
=yes
15941 hardcode_shlibpath_var_CXX
=no
15943 # Workaround some broken pre-1.5 toolchains
15944 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15952 # C++ shared libraries are fairly broken
15957 if test -f /usr
/libexec
/ld.so
; then
15958 hardcode_direct_CXX
=yes
15959 hardcode_shlibpath_var_CXX
=no
15960 hardcode_direct_absolute_CXX
=yes
15961 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15962 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15963 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15964 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15965 export_dynamic_flag_spec_CXX
='${wl}-E'
15966 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15968 output_verbose_link_cmd
=func_echo_all
15974 osf3
* | osf4
* | osf5
*)
15975 case $cc_basename in
15977 # Kuck and Associates, Inc. (KAI) C++ Compiler
15979 # KCC will only create a shared library if the output file
15980 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15981 # to its proper name (with version) after linking.
15982 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'
15984 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
15985 hardcode_libdir_separator_CXX
=:
15987 # Archives containing C++ object files must be created using
15988 # the KAI C++ compiler.
15990 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
15991 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
15995 # Rational C++ 2.4.1
15996 # FIXME: insert proper C++ library support
16002 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16003 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'
16004 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16007 allow_undefined_flag_CXX
=' -expect_unresolved \*'
16008 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'
16009 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16010 echo "-hidden">> $lib.exp~
16011 $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~
16013 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
16017 hardcode_libdir_separator_CXX
=:
16019 # Commands to make compiler produce verbose output that lists
16020 # what "hidden" libraries, object files and flags are used when
16021 # linking a shared library.
16023 # There doesn't appear to be a way to prevent this compiler from
16024 # explicitly linking system object files so we need to strip them
16025 # from the output so that they don't get included in the library
16027 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"'
16030 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16031 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
16034 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'
16037 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'
16041 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
16042 hardcode_libdir_separator_CXX
=:
16044 # Commands to make compiler produce verbose output that lists
16045 # what "hidden" libraries, object files and flags are used when
16046 # linking a shared library.
16047 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16050 # FIXME: insert proper C++ library support
16058 # FIXME: insert proper C++ library support
16063 case $cc_basename in
16066 # FIXME: insert proper C++ library support
16071 # FIXME: insert proper C++ library support
16075 # FIXME: insert proper C++ library support
16082 case $cc_basename in
16084 # Sun C++ 4.2, 5.x and Centerline C++
16085 archive_cmds_need_lc_CXX
=yes
16086 no_undefined_flag_CXX
=' -zdefs'
16087 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16088 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16089 $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'
16091 hardcode_libdir_flag_spec_CXX
='-R$libdir'
16092 hardcode_shlibpath_var_CXX
=no
16094 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16096 # The compiler driver will combine and reorder linker options,
16097 # but understands `-z linker_flag'.
16098 # Supported since Solaris 2.6 (maybe 2.5.1?)
16099 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
16102 link_all_deplibs_CXX
=yes
16104 output_verbose_link_cmd
='func_echo_all'
16106 # Archives containing C++ object files must be created using
16107 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16108 # necessary to make sure instantiated templates are included
16110 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
16113 # Green Hills C++ Compiler
16114 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16116 # The C++ compiler must be used to create the archive.
16117 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16120 # GNU C++ compiler with Solaris linker
16121 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
16122 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
16123 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
16124 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16125 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16126 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16128 # Commands to make compiler produce verbose output that lists
16129 # what "hidden" libraries, object files and flags are used when
16130 # linking a shared library.
16131 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16133 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16135 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16136 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16137 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16139 # Commands to make compiler produce verbose output that lists
16140 # what "hidden" libraries, object files and flags are used when
16141 # linking a shared library.
16142 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16145 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
16147 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
16149 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16157 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
16158 no_undefined_flag_CXX
='${wl}-z,text'
16159 archive_cmds_need_lc_CXX
=no
16160 hardcode_shlibpath_var_CXX
=no
16161 runpath_var
='LD_RUN_PATH'
16163 case $cc_basename in
16165 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16166 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16169 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16170 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16175 sysv5
* | sco3.2v5
* | sco5v6
*)
16176 # Note: We can NOT use -z defs as we might desire, because we do not
16177 # link with -lc, and that would cause any symbols used from libc to
16178 # always be unresolved, which means just about no library would
16179 # ever link correctly. If we're not using GNU ld we use -z text
16180 # though, which does catch some bad symbols but isn't as heavy-handed
16182 no_undefined_flag_CXX
='${wl}-z,text'
16183 allow_undefined_flag_CXX
='${wl}-z,nodefs'
16184 archive_cmds_need_lc_CXX
=no
16185 hardcode_shlibpath_var_CXX
=no
16186 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
16187 hardcode_libdir_separator_CXX
=':'
16188 link_all_deplibs_CXX
=yes
16189 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
16190 runpath_var
='LD_RUN_PATH'
16192 case $cc_basename in
16194 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16195 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16196 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
16197 '"$old_archive_cmds_CXX"
16198 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
16199 '"$reload_cmds_CXX"
16202 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16203 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16209 case $cc_basename in
16211 # NonStop-UX NCC 3.20
16212 # FIXME: insert proper C++ library support
16216 # FIXME: insert proper C++ library support
16223 # For VxWorks ports, we assume the use of a GNU linker with
16224 # standard elf conventions.
16229 # FIXME: insert proper C++ library support
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16235 $as_echo "$ld_shlibs_CXX" >&6; }
16236 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
16242 ## There is no encapsulation within the following macros, do not change
16243 ## the running order or otherwise move them around unless you know exactly
16244 ## what you are doing...
16245 # Dependencies to place before and after the object being linked:
16246 predep_objects_CXX
=
16247 postdep_objects_CXX
=
16250 compiler_lib_search_path_CXX
=
16252 cat > conftest.
$ac_ext <<_LT_EOF
16256 Foo (void) { a = 0; }
16262 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16263 (eval $ac_compile) 2>&5
16265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16266 test $ac_status = 0; }; then
16267 # Parse the compiler output and extract the necessary
16268 # objects, libraries and library flags.
16270 # Sentinel used to keep track of whether or not we are before
16271 # the conftest object file.
16272 pre_test_object_deps_done
=no
16274 for p
in `eval "$output_verbose_link_cmd"`; do
16278 # Some compilers place space between "-{L,R}" and the path.
16279 # Remove the space.
16280 if test $p = "-L" ||
16281 test $p = "-R"; then
16288 if test "$pre_test_object_deps_done" = no
; then
16291 # Internal compiler library paths should come after those
16292 # provided the user. The postdeps already come after the
16293 # user supplied libs so there is no need to process them.
16294 if test -z "$compiler_lib_search_path_CXX"; then
16295 compiler_lib_search_path_CXX
="${prev}${p}"
16297 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
16300 # The "-l" case would never come before the object being
16301 # linked, so don't bother handling this case.
16304 if test -z "$postdeps_CXX"; then
16305 postdeps_CXX
="${prev}${p}"
16307 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
16313 # This assumes that the test object file only shows up
16314 # once in the compiler output.
16315 if test "$p" = "conftest.$objext"; then
16316 pre_test_object_deps_done
=yes
16320 if test "$pre_test_object_deps_done" = no
; then
16321 if test -z "$predep_objects_CXX"; then
16322 predep_objects_CXX
="$p"
16324 predep_objects_CXX
="$predep_objects_CXX $p"
16327 if test -z "$postdep_objects_CXX"; then
16328 postdep_objects_CXX
="$p"
16330 postdep_objects_CXX
="$postdep_objects_CXX $p"
16335 *) ;; # Ignore the rest.
16343 echo "libtool.m4: error: problem compiling CXX test program"
16346 $RM -f confest.
$objext
16348 # PORTME: override above test on systems where it is broken
16351 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16352 # hack all around it, let's just trust "g++" to DTRT.
16353 predep_objects_CXX
=
16354 postdep_objects_CXX
=
16359 case `$CC -V 2>&1 | sed 5q` in
16363 # The more standards-conforming stlport4 library is
16364 # incompatible with the Cstd library. Avoid specifying
16365 # it if it's in CXXFLAGS. Ignore libCrun as
16366 # -library=stlport4 depends on it.
16367 case " $CXX $CXXFLAGS " in
16368 *" -library=stlport4 "*)
16369 solaris_use_stlport4
=yes
16373 if test "$solaris_use_stlport4" != yes; then
16374 postdeps_CXX
='-library=Cstd -library=Crun'
16381 case $cc_basename in
16383 # The more standards-conforming stlport4 library is
16384 # incompatible with the Cstd library. Avoid specifying
16385 # it if it's in CXXFLAGS. Ignore libCrun as
16386 # -library=stlport4 depends on it.
16387 case " $CXX $CXXFLAGS " in
16388 *" -library=stlport4 "*)
16389 solaris_use_stlport4
=yes
16393 # Adding this requires a known-good setup of shared libraries for
16394 # Sun compiler versions before 5.6, else PIC objects from an old
16395 # archive will be linked into the output, leading to subtle bugs.
16396 if test "$solaris_use_stlport4" != yes; then
16397 postdeps_CXX
='-library=Cstd -library=Crun'
16405 case " $postdeps_CXX " in
16406 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
16408 compiler_lib_search_dirs_CXX
=
16409 if test -n "${compiler_lib_search_path_CXX}"; then
16410 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16443 lt_prog_compiler_wl_CXX
=
16444 lt_prog_compiler_pic_CXX
=
16445 lt_prog_compiler_static_CXX
=
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16448 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16450 # C++ specific cases for pic, static, wl, etc.
16451 if test "$GXX" = yes; then
16452 lt_prog_compiler_wl_CXX
='-Wl,'
16453 lt_prog_compiler_static_CXX
='-static'
16457 # All AIX code is PIC.
16458 if test "$host_cpu" = ia64
; then
16459 # AIX 5 now supports IA64 processor
16460 lt_prog_compiler_static_CXX
='-Bstatic'
16462 lt_prog_compiler_pic_CXX
='-fPIC'
16468 # see comment about AmigaOS4 .so support
16469 lt_prog_compiler_pic_CXX
='-fPIC'
16472 # FIXME: we need at least 68020 code to build shared libraries, but
16473 # adding the `-m68020' flag to GCC prevents building anything better,
16475 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
16480 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16481 # PIC is the default for these OSes.
16483 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
16484 # This hack is so that the source file can tell whether it is being
16485 # built for inclusion in a dll (and should export symbols for example).
16486 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16487 # (--disable-auto-import) libraries
16488 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
16490 darwin
* | rhapsody
*)
16491 # PIC is the default on this platform
16492 # Common symbols not allowed in MH_DYLIB files
16493 lt_prog_compiler_pic_CXX
='-fno-common'
16496 # DJGPP does not support shared libraries at all
16497 lt_prog_compiler_pic_CXX
=
16500 # PIC is the default for Haiku.
16501 # The "-static" flag exists, but is broken.
16502 lt_prog_compiler_static_CXX
=
16505 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16506 # Instead, we relocate shared libraries at runtime.
16509 if test -d /usr
/nec
; then
16510 lt_prog_compiler_pic_CXX
=-Kconform_pic
16514 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16515 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16516 # sets the default TLS model and affects inlining.
16521 lt_prog_compiler_pic_CXX
='-fPIC'
16526 # QNX uses GNU C++, but need to define -shared option too, otherwise
16527 # it will coredump.
16528 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16531 lt_prog_compiler_pic_CXX
='-fPIC'
16537 # All AIX code is PIC.
16538 if test "$host_cpu" = ia64
; then
16539 # AIX 5 now supports IA64 processor
16540 lt_prog_compiler_static_CXX
='-Bstatic'
16542 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
16546 case $cc_basename in
16548 # Green Hills C++ Compiler
16549 # _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"
16554 case $cc_basename in
16556 lt_prog_compiler_pic_CXX
='-KPIC'
16559 # Green Hills C++ Compiler
16560 lt_prog_compiler_pic_CXX
='-pic'
16566 freebsd
* | dragonfly
*)
16567 # FreeBSD uses GNU C++
16569 hpux9
* | hpux10
* | hpux11
*)
16570 case $cc_basename in
16572 lt_prog_compiler_wl_CXX
='-Wl,'
16573 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16574 if test "$host_cpu" != ia64
; then
16575 lt_prog_compiler_pic_CXX
='+Z'
16579 lt_prog_compiler_wl_CXX
='-Wl,'
16580 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
16586 lt_prog_compiler_pic_CXX
='+Z'
16595 # This is c89, which is MS Visual C++ (no shared libs)
16596 # Anyone wants to do a port?
16598 irix5
* | irix6
* | nonstopux
*)
16599 case $cc_basename in
16601 lt_prog_compiler_wl_CXX
='-Wl,'
16602 lt_prog_compiler_static_CXX
='-non_shared'
16603 # CC pic flag -KPIC is the default.
16609 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16610 case $cc_basename in
16613 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16614 lt_prog_compiler_pic_CXX
='-fPIC'
16617 # old Intel C++ for x86_64 which still supported -KPIC.
16618 lt_prog_compiler_wl_CXX
='-Wl,'
16619 lt_prog_compiler_pic_CXX
='-KPIC'
16620 lt_prog_compiler_static_CXX
='-static'
16623 # Intel C++, used to be incompatible with GCC.
16624 # ICC 10 doesn't accept -KPIC any more.
16625 lt_prog_compiler_wl_CXX
='-Wl,'
16626 lt_prog_compiler_pic_CXX
='-fPIC'
16627 lt_prog_compiler_static_CXX
='-static'
16630 # Portland Group C++ compiler
16631 lt_prog_compiler_wl_CXX
='-Wl,'
16632 lt_prog_compiler_pic_CXX
='-fpic'
16633 lt_prog_compiler_static_CXX
='-Bstatic'
16637 # Make sure the PIC flag is empty. It appears that all Alpha
16638 # Linux and Compaq Tru64 Unix objects are PIC.
16639 lt_prog_compiler_pic_CXX
=
16640 lt_prog_compiler_static_CXX
='-non_shared'
16642 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
16643 # IBM XL 8.0, 9.0 on PPC and BlueGene
16644 lt_prog_compiler_wl_CXX
='-Wl,'
16645 lt_prog_compiler_pic_CXX
='-qpic'
16646 lt_prog_compiler_static_CXX
='-qstaticlink'
16649 case `$CC -V 2>&1 | sed 5q` in
16652 lt_prog_compiler_pic_CXX
='-KPIC'
16653 lt_prog_compiler_static_CXX
='-Bstatic'
16654 lt_prog_compiler_wl_CXX
='-Qoption ld '
16665 case $cc_basename in
16667 lt_prog_compiler_pic_CXX
='-W c,exportall'
16676 # QNX uses GNU C++, but need to define -shared option too, otherwise
16677 # it will coredump.
16678 lt_prog_compiler_pic_CXX
='-fPIC -shared'
16680 osf3
* | osf4
* | osf5
*)
16681 case $cc_basename in
16683 lt_prog_compiler_wl_CXX
='--backend -Wl,'
16686 # Rational C++ 2.4.1
16687 lt_prog_compiler_pic_CXX
='-pic'
16690 # Digital/Compaq C++
16691 lt_prog_compiler_wl_CXX
='-Wl,'
16692 # Make sure the PIC flag is empty. It appears that all Alpha
16693 # Linux and Compaq Tru64 Unix objects are PIC.
16694 lt_prog_compiler_pic_CXX
=
16695 lt_prog_compiler_static_CXX
='-non_shared'
16704 case $cc_basename in
16706 # Sun C++ 4.2, 5.x and Centerline C++
16707 lt_prog_compiler_pic_CXX
='-KPIC'
16708 lt_prog_compiler_static_CXX
='-Bstatic'
16709 lt_prog_compiler_wl_CXX
='-Qoption ld '
16712 # Green Hills C++ Compiler
16713 lt_prog_compiler_pic_CXX
='-PIC'
16720 case $cc_basename in
16723 lt_prog_compiler_pic_CXX
='-pic'
16724 lt_prog_compiler_static_CXX
='-Bstatic'
16728 lt_prog_compiler_pic_CXX
='-pic'
16734 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16735 case $cc_basename in
16737 lt_prog_compiler_wl_CXX
='-Wl,'
16738 lt_prog_compiler_pic_CXX
='-KPIC'
16739 lt_prog_compiler_static_CXX
='-Bstatic'
16744 case $cc_basename in
16746 # NonStop-UX NCC 3.20
16747 lt_prog_compiler_pic_CXX
='-KPIC'
16756 lt_prog_compiler_can_build_shared_CXX
=no
16762 # For platforms which do not support PIC, -DPIC is meaningless:
16764 lt_prog_compiler_pic_CXX
=
16767 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16771 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16776 # Check to make sure the PIC flag actually works.
16778 if test -n "$lt_prog_compiler_pic_CXX"; then
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16780 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16781 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
16782 $as_echo_n "(cached) " >&6
16784 lt_cv_prog_compiler_pic_works_CXX
=no
16785 ac_outfile
=conftest.
$ac_objext
16786 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16787 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
16788 # Insert the option either (1) after the last *FLAGS variable, or
16789 # (2) before a word containing "conftest.", or (3) at the end.
16790 # Note that $ac_compile itself does not contain backslashes and begins
16791 # with a dollar sign (not a hyphen), so the echo should work correctly.
16792 # The option is referenced via a variable to avoid confusing sed.
16793 lt_compile
=`echo "$ac_compile" | $SED \
16794 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16795 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16796 -e 's:$: $lt_compiler_flag:'`
16797 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16798 (eval "$lt_compile" 2>conftest.err
)
16800 cat conftest.err
>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 if (exit $ac_status) && test -s "$ac_outfile"; then
16803 # The compiler can only warn and ignore the option if not recognized
16804 # So say no if there are warnings other than the usual output.
16805 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
16806 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16807 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16808 lt_cv_prog_compiler_pic_works_CXX
=yes
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16815 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16817 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
16818 case $lt_prog_compiler_pic_CXX in
16820 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
16823 lt_prog_compiler_pic_CXX
=
16824 lt_prog_compiler_can_build_shared_CXX
=no
16832 # Check to make sure the static flag actually works.
16834 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16836 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16837 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
16838 $as_echo_n "(cached) " >&6
16840 lt_cv_prog_compiler_static_works_CXX
=no
16841 save_LDFLAGS
="$LDFLAGS"
16842 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16843 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16844 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16845 # The linker can only warn and ignore the option if not recognized
16846 # So say no if there are warnings
16847 if test -s conftest.err
; then
16848 # Append any errors to the config.log.
16849 cat conftest.err
1>&5
16850 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
16851 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16852 if diff conftest.exp conftest.er2
>/dev
/null
; then
16853 lt_cv_prog_compiler_static_works_CXX
=yes
16856 lt_cv_prog_compiler_static_works_CXX
=yes
16860 LDFLAGS
="$save_LDFLAGS"
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16864 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16866 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
16869 lt_prog_compiler_static_CXX
=
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16876 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16877 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16878 $as_echo_n "(cached) " >&6
16880 lt_cv_prog_compiler_c_o_CXX
=no
16881 $RM -r conftest
2>/dev
/null
16885 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16887 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16888 # Insert the option either (1) after the last *FLAGS variable, or
16889 # (2) before a word containing "conftest.", or (3) at the end.
16890 # Note that $ac_compile itself does not contain backslashes and begins
16891 # with a dollar sign (not a hyphen), so the echo should work correctly.
16892 lt_compile
=`echo "$ac_compile" | $SED \
16893 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16894 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16895 -e 's:$: $lt_compiler_flag:'`
16896 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16897 (eval "$lt_compile" 2>out
/conftest.err
)
16899 cat out
/conftest.err
>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16903 # The compiler can only warn and ignore the option if not recognized
16904 # So say no if there are warnings
16905 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16906 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16907 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16908 lt_cv_prog_compiler_c_o_CXX
=yes
16913 # SGI C++ compiler will create directory out/ii_files/ for
16914 # template instantiation
16915 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16916 $RM out
/* && rmdir out
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16923 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16929 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
16930 $as_echo_n "(cached) " >&6
16932 lt_cv_prog_compiler_c_o_CXX
=no
16933 $RM -r conftest
2>/dev
/null
16937 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16939 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16940 # Insert the option either (1) after the last *FLAGS variable, or
16941 # (2) before a word containing "conftest.", or (3) at the end.
16942 # Note that $ac_compile itself does not contain backslashes and begins
16943 # with a dollar sign (not a hyphen), so the echo should work correctly.
16944 lt_compile
=`echo "$ac_compile" | $SED \
16945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16947 -e 's:$: $lt_compiler_flag:'`
16948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16949 (eval "$lt_compile" 2>out
/conftest.err
)
16951 cat out
/conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16955 # The compiler can only warn and ignore the option if not recognized
16956 # So say no if there are warnings
16957 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
16958 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16959 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16960 lt_cv_prog_compiler_c_o_CXX
=yes
16965 # SGI C++ compiler will create directory out/ii_files/ for
16966 # template instantiation
16967 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16968 $RM out
/* && rmdir out
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16975 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16980 hard_links
="nottested"
16981 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
16982 # do not overwrite the value of need_locks provided by the user
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16984 $as_echo_n "checking if we can lock with hard links... " >&6; }
16987 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16989 ln conftest.a conftest.b
2>&5 || hard_links
=no
16990 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16992 $as_echo "$hard_links" >&6; }
16993 if test "$hard_links" = no
; then
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16995 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17005 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17007 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17010 # If we're using GNU nm, then we don't want the "-C" option.
17011 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17012 # Also, AIX nm treats weak defined symbols like other global defined
17013 # symbols, whereas GNU nm marks them as "W".
17014 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
17015 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'
17017 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'
17021 export_symbols_cmds_CXX
="$ltdll_cmds"
17023 cygwin
* | mingw
* | cegcc
*)
17024 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'
17027 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17030 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17033 $as_echo "$ld_shlibs_CXX" >&6; }
17034 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
17036 with_gnu_ld_CXX
=$with_gnu_ld
17044 # Do we need to explicitly link libc?
17046 case "x$archive_cmds_need_lc_CXX" in
17048 # Assume -lc should be added
17049 archive_cmds_need_lc_CXX
=yes
17051 if test "$enable_shared" = yes && test "$GCC" = yes; then
17052 case $archive_cmds_CXX in
17054 # FIXME: we may have to deal with multi-command sequences.
17057 # Test whether the compiler implicitly links with -lc since on some
17058 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17059 # to ld, don't add -lc before -lgcc.
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17061 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17062 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
17063 $as_echo_n "(cached) " >&6
17066 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17069 (eval $ac_compile) 2>&5
17071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17072 test $ac_status = 0; } 2>conftest.err
; then
17075 libobjs
=conftest.
$ac_objext
17077 wl
=$lt_prog_compiler_wl_CXX
17078 pic_flag
=$lt_prog_compiler_pic_CXX
17084 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
17085 allow_undefined_flag_CXX
=
17086 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17087 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17090 test $ac_status = 0; }
17092 lt_cv_archive_cmds_need_lc_CXX
=no
17094 lt_cv_archive_cmds_need_lc_CXX
=yes
17096 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
17098 cat conftest.err
1>&5
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17104 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17105 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17176 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17178 library_names_spec
=
17179 libname_spec
='lib$name'
17183 postuninstall_cmds
=
17187 shlibpath_overrides_runpath
=unknown
17189 dynamic_linker
="$host_os ld.so"
17190 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17191 need_lib_prefix
=unknown
17192 hardcode_into_libs
=no
17194 # when you set need_version to no, make sure it does not cause -set_version
17195 # flags to be left without arguments
17196 need_version
=unknown
17201 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17202 shlibpath_var
=LIBPATH
17204 # AIX 3 has no versioning support, so we append a major version to the name.
17205 soname_spec
='${libname}${release}${shared_ext}$major'
17212 hardcode_into_libs
=yes
17213 if test "$host_cpu" = ia64
; then
17214 # AIX 5 supports IA64
17215 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17216 shlibpath_var
=LD_LIBRARY_PATH
17218 # With GCC up to 2.95.x, collect2 would create an import file
17219 # for dependence libraries. The import file would start with
17220 # the line `#! .'. This would cause the generated library to
17221 # depend on `.', always an invalid library. This was fixed in
17222 # development snapshots of GCC prior to 3.0.
17224 aix4 | aix4.
[01] | aix4.
[01].
*)
17225 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17227 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17230 can_build_shared
=no
17234 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17235 # soname into executable. Probably we can add versioning support to
17236 # collect2, so additional links can be useful in future.
17237 if test "$aix_use_runtimelinking" = yes; then
17238 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17239 # instead of lib<name>.a to let people know that these are not
17240 # typical AIX shared libraries.
17241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17243 # We preserve .a as extension for shared libraries through AIX4.2
17244 # and later when we are not doing run time linking.
17245 library_names_spec
='${libname}${release}.a $libname.a'
17246 soname_spec
='${libname}${release}${shared_ext}$major'
17248 shlibpath_var
=LIBPATH
17255 # Since July 2007 AmigaOS4 officially supports .so libraries.
17256 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17260 library_names_spec
='$libname.ixlibrary $libname.a'
17261 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17262 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'
17268 library_names_spec
='${libname}${shared_ext}'
17269 dynamic_linker
="$host_os ld.so"
17270 shlibpath_var
=LIBRARY_PATH
17276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17277 soname_spec
='${libname}${release}${shared_ext}$major'
17278 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17279 shlibpath_var
=LD_LIBRARY_PATH
17280 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17281 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17282 # the default ld.so.conf also contains /usr/contrib/lib and
17283 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17284 # libtool to hard-code these into programs
17287 cygwin
* | mingw
* | pw32
* | cegcc
*)
17288 version_type
=windows
17293 case $GCC,$host_os in
17294 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
17295 library_names_spec
='$libname.dll.a'
17296 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17297 postinstall_cmds
='base_file=`basename \${file}`~
17298 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17299 dldir=$destdir/`dirname \$dlpath`~
17300 test -d \$dldir || mkdir -p \$dldir~
17301 $install_prog $dir/$dlname \$dldir/$dlname~
17302 chmod a+x \$dldir/$dlname~
17303 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17304 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17306 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17307 dlpath=$dir/\$dldll~
17309 shlibpath_overrides_runpath
=yes
17313 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17314 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17318 # MinGW DLLs use traditional 'lib' prefix
17319 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17322 # pw32 DLLs use 'pw' prefix rather than 'lib'
17323 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17329 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17332 dynamic_linker
='Win32 ld.exe'
17333 # FIXME: first we should search . and the directory the executable is in
17337 darwin
* | rhapsody
*)
17338 dynamic_linker
="$host_os dyld"
17339 version_type
=darwin
17342 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17343 soname_spec
='${libname}${release}${major}$shared_ext'
17344 shlibpath_overrides_runpath
=yes
17345 shlibpath_var
=DYLD_LIBRARY_PATH
17346 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17348 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17356 soname_spec
='${libname}${release}${shared_ext}$major'
17357 shlibpath_var
=LD_LIBRARY_PATH
17360 freebsd
* | dragonfly
*)
17361 # DragonFly does not have aout. When/if they implement a new
17362 # versioning mechanism, adjust this.
17363 if test -x /usr
/bin
/objformat
; then
17364 objformat
=`/usr/bin/objformat`
17367 freebsd
[23].
*) objformat
=aout
;;
17368 *) objformat
=elf
;;
17371 version_type
=freebsd-
$objformat
17372 case $version_type in
17374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17379 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17383 shlibpath_var
=LD_LIBRARY_PATH
17386 shlibpath_overrides_runpath
=yes
17388 freebsd3.
[01]* | freebsdelf3.
[01]*)
17389 shlibpath_overrides_runpath
=yes
17390 hardcode_into_libs
=yes
17392 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17393 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17394 shlibpath_overrides_runpath
=no
17395 hardcode_into_libs
=yes
17397 *) # from 4.6 on, and DragonFly
17398 shlibpath_overrides_runpath
=yes
17399 hardcode_into_libs
=yes
17408 dynamic_linker
="$host_os runtime_loader"
17409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17410 soname_spec
='${libname}${release}${shared_ext}$major'
17411 shlibpath_var
=LIBRARY_PATH
17412 shlibpath_overrides_runpath
=yes
17413 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17414 hardcode_into_libs
=yes
17417 hpux9
* | hpux10
* | hpux11
*)
17418 # Give a soname corresponding to the major version so that dld.sl refuses to
17419 # link against other versions.
17426 hardcode_into_libs
=yes
17427 dynamic_linker
="$host_os dld.so"
17428 shlibpath_var
=LD_LIBRARY_PATH
17429 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17431 soname_spec
='${libname}${release}${shared_ext}$major'
17432 if test "X$HPUX_IA64_MODE" = X32
; then
17433 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17435 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17437 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17441 hardcode_into_libs
=yes
17442 dynamic_linker
="$host_os dld.sl"
17443 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17444 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17446 soname_spec
='${libname}${release}${shared_ext}$major'
17447 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17448 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17452 dynamic_linker
="$host_os dld.sl"
17453 shlibpath_var
=SHLIB_PATH
17454 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17456 soname_spec
='${libname}${release}${shared_ext}$major'
17459 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17460 postinstall_cmds
='chmod 555 $lib'
17461 # or fails outright, so override atomically:
17462 install_override_mode
=555
17469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17470 soname_spec
='${libname}${release}${shared_ext}$major'
17471 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17472 shlibpath_var
=LD_LIBRARY_PATH
17473 shlibpath_overrides_runpath
=no
17474 hardcode_into_libs
=yes
17477 irix5
* | irix6
* | nonstopux
*)
17479 nonstopux
*) version_type
=nonstopux
;;
17481 if test "$lt_cv_prog_gnu_ld" = yes; then
17489 soname_spec
='${libname}${release}${shared_ext}$major'
17490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17492 irix5
* | nonstopux
*)
17493 libsuff
= shlibsuff
=
17496 case $LD in # libtool.m4 will add one of these switches to LD
17497 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17498 libsuff
= shlibsuff
= libmagic
=32-bit;;
17499 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17500 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17501 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17502 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17503 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17507 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17508 shlibpath_overrides_runpath
=no
17509 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17510 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17511 hardcode_into_libs
=yes
17514 # No shared lib support for Linux oldld, aout, or coff.
17515 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17519 # This must be Linux ELF.
17521 # uclinux* changes (here and below) have been submitted to the libtool
17522 # project, but have not yet been accepted: they are GCC-local changes
17523 # for the time being. (See
17524 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
17525 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
17529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17530 soname_spec
='${libname}${release}${shared_ext}$major'
17531 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17532 shlibpath_var
=LD_LIBRARY_PATH
17533 shlibpath_overrides_runpath
=no
17535 # Some binutils ld are patched to set DT_RUNPATH
17536 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
17537 $as_echo_n "(cached) " >&6
17539 lt_cv_shlibpath_overrides_runpath
=no
17540 save_LDFLAGS
=$LDFLAGS
17541 save_libdir
=$libdir
17542 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17543 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17544 if test x
$gcc_no_link = xyes
; then
17545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17548 /* end confdefs.h. */
17558 if ac_fn_cxx_try_link
"$LINENO"; then :
17559 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
17560 lt_cv_shlibpath_overrides_runpath
=yes
17563 rm -f core conftest.err conftest.
$ac_objext \
17564 conftest
$ac_exeext conftest.
$ac_ext
17565 LDFLAGS
=$save_LDFLAGS
17566 libdir
=$save_libdir
17570 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
17572 # This implies no fast_install, which is unacceptable.
17573 # Some rework will be needed to allow for fast_install
17574 # before this can be enabled.
17575 hardcode_into_libs
=yes
17577 # Append ld.so.conf contents to the search path
17578 if test -f /etc
/ld.so.conf
; then
17579 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' ' '`
17580 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17583 # We used to test for /lib/ld.so.1 and disable shared libraries on
17584 # powerpc, because MkLinux only supported shared libraries with the
17585 # GNU dynamic linker. Since this was broken with cross compilers,
17586 # most powerpc-linux boxes support dynamic linking these days and
17587 # people can always --disable-shared, the test was removed, and we
17588 # assume the GNU/Linux dynamic linker is in use.
17589 dynamic_linker
='GNU/Linux ld.so'
17596 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17598 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17599 dynamic_linker
='NetBSD (a.out) ld.so'
17601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17602 soname_spec
='${libname}${release}${shared_ext}$major'
17603 dynamic_linker
='NetBSD ld.elf_so'
17605 shlibpath_var
=LD_LIBRARY_PATH
17606 shlibpath_overrides_runpath
=yes
17607 hardcode_into_libs
=yes
17612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17613 shlibpath_var
=LD_LIBRARY_PATH
17614 shlibpath_overrides_runpath
=yes
17621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17622 soname_spec
='${libname}${release}${shared_ext}$major'
17623 shlibpath_var
=LD_LIBRARY_PATH
17624 shlibpath_overrides_runpath
=no
17625 hardcode_into_libs
=yes
17626 dynamic_linker
='ldqnx.so'
17631 sys_lib_dlsearch_path_spec
="/usr/lib"
17633 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17635 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17636 *) need_version
=no
;;
17638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17639 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17640 shlibpath_var
=LD_LIBRARY_PATH
17641 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17643 openbsd2.
[89] | openbsd2.
[89].
*)
17644 shlibpath_overrides_runpath
=no
17647 shlibpath_overrides_runpath
=yes
17651 shlibpath_overrides_runpath
=yes
17656 libname_spec
='$name'
17659 library_names_spec
='$libname${shared_ext} $libname.a'
17660 dynamic_linker
='OS/2 ld.exe'
17661 shlibpath_var
=LIBPATH
17664 osf3
* | osf4
* | osf5
*)
17668 soname_spec
='${libname}${release}${shared_ext}$major'
17669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17670 shlibpath_var
=LD_LIBRARY_PATH
17671 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17672 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17684 soname_spec
='${libname}${release}${shared_ext}$major'
17685 shlibpath_var
=LD_LIBRARY_PATH
17686 shlibpath_overrides_runpath
=yes
17687 hardcode_into_libs
=yes
17688 # ldd complains unless libraries are executable
17689 postinstall_cmds
='chmod +x $lib'
17694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17695 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17696 shlibpath_var
=LD_LIBRARY_PATH
17697 shlibpath_overrides_runpath
=yes
17698 if test "$with_gnu_ld" = yes; then
17706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17707 soname_spec
='${libname}${release}${shared_ext}$major'
17708 shlibpath_var
=LD_LIBRARY_PATH
17709 case $host_vendor in
17711 shlibpath_overrides_runpath
=no
17713 runpath_var
=LD_RUN_PATH
17721 shlibpath_overrides_runpath
=no
17722 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
17728 if test -d /usr
/nec
;then
17730 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17731 soname_spec
='$libname${shared_ext}.$major'
17732 shlibpath_var
=LD_LIBRARY_PATH
17736 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
17737 version_type
=freebsd-elf
17740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17741 soname_spec
='${libname}${release}${shared_ext}$major'
17742 shlibpath_var
=LD_LIBRARY_PATH
17743 shlibpath_overrides_runpath
=yes
17744 hardcode_into_libs
=yes
17745 if test "$with_gnu_ld" = yes; then
17746 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17748 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
17751 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
17755 sys_lib_dlsearch_path_spec
='/usr/lib'
17759 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17764 shlibpath_var
=LD_LIBRARY_PATH
17765 shlibpath_overrides_runpath
=no
17766 hardcode_into_libs
=yes
17771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17772 soname_spec
='${libname}${release}${shared_ext}$major'
17773 shlibpath_var
=LD_LIBRARY_PATH
17776 # Shared libraries for VwWorks, >= 7 only at this stage
17777 # and (fpic) still incompatible with "large" code models
17778 # in a few configurations. Only for RTP mode in any case,
17779 # and upon explicit request at configure time.
17782 case ${with_multisubdir}-${enable_shared} in
17789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17790 soname_spec
='${libname}${release}${shared_ext}$major'
17791 dynamic_linker
="$host_os module_loader"
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17800 $as_echo "$dynamic_linker" >&6; }
17801 test "$dynamic_linker" = no
&& can_build_shared
=no
17803 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17804 if test "$GCC" = yes; then
17805 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17808 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17809 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
17811 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17812 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17853 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17854 hardcode_action_CXX
=
17855 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17856 test -n "$runpath_var_CXX" ||
17857 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17859 # We can hardcode non-existent directories.
17860 if test "$hardcode_direct_CXX" != no
&&
17861 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17862 # have to relink, otherwise we might link with an installed library
17863 # when we should be linking with a yet-to-be-installed one
17864 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17865 test "$hardcode_minus_L_CXX" != no
; then
17866 # Linking always hardcodes the temporary library directory.
17867 hardcode_action_CXX
=relink
17869 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17870 hardcode_action_CXX
=immediate
17873 # We cannot hardcode anything, or else we can only hardcode existing
17875 hardcode_action_CXX
=unsupported
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17878 $as_echo "$hardcode_action_CXX" >&6; }
17880 if test "$hardcode_action_CXX" = relink ||
17881 test "$inherit_rpath_CXX" = yes; then
17882 # Fast installation is not supported
17883 enable_fast_install
=no
17884 elif test "$shlibpath_overrides_runpath" = yes ||
17885 test "$enable_shared" = no
; then
17886 # Fast installation is not necessary
17887 enable_fast_install
=needless
17896 fi # test -n "$compiler"
17902 with_gnu_ld
=$lt_save_with_gnu_ld
17903 lt_cv_path_LDCXX
=$lt_cv_path_LD
17904 lt_cv_path_LD
=$lt_save_path_LD
17905 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
17906 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
17907 fi # test "$_lt_caught_CXX_error" != yes
17910 ac_cpp
='$CPP $CPPFLAGS'
17911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17927 ac_config_commands
="$ac_config_commands libtool"
17932 # Only expand once:
17941 if test x
$enable_darwin_at_rpath = xyes
; then
17942 ENABLE_DARWIN_AT_RPATH_TRUE
=
17943 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
17945 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
17946 ENABLE_DARWIN_AT_RPATH_FALSE
=
17953 if test "${multilib}" = "yes"; then
17954 multilib_arg
="--enable-multilib"
17959 ac_fn_c_check_type
"$LINENO" "struct timezone" "ac_cv_type_struct_timezone" "$ac_includes_default"
17960 if test "x$ac_cv_type_struct_timezone" = xyes
; then :
17962 cat >>confdefs.h
<<_ACEOF
17963 #define HAVE_STRUCT_TIMEZONE 1
17968 ac_fn_c_check_type
"$LINENO" "struct stat" "ac_cv_type_struct_stat" "$ac_includes_default"
17969 if test "x$ac_cv_type_struct_stat" = xyes
; then :
17971 cat >>confdefs.h
<<_ACEOF
17972 #define HAVE_STRUCT_STAT 1
17977 ac_fn_c_check_type
"$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default"
17978 if test "x$ac_cv_type_struct_timespec" = xyes
; then :
17980 cat >>confdefs.h
<<_ACEOF
17981 #define HAVE_STRUCT_TIMESPEC 1
17986 ac_fn_c_check_type
"$LINENO" "struct timeval" "ac_cv_type_struct_timeval" "$ac_includes_default"
17987 if test "x$ac_cv_type_struct_timeval" = xyes
; then :
17989 cat >>confdefs.h
<<_ACEOF
17990 #define HAVE_STRUCT_TIMEVAL 1
17995 ac_fn_c_check_type
"$LINENO" "struct tm" "ac_cv_type_struct_tm" "$ac_includes_default"
17996 if test "x$ac_cv_type_struct_tm" = xyes
; then :
17998 cat >>confdefs.h
<<_ACEOF
17999 #define HAVE_STRUCT_TM 1
18006 # Check if struct tm contains the tm_gmtoff field.
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
18008 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
18009 if ${ac_cv_struct_tm_gmtoff+:} false
; then :
18010 $as_echo_n "(cached) " >&6
18012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18013 /* end confdefs.h. */
18028 if ac_fn_c_try_compile
"$LINENO"; then :
18029 ac_cv_struct_tm_gmtoff
=yes
18031 ac_cv_struct_tm_gmtoff
=no
18034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm_gmtoff" >&5
18038 $as_echo "$ac_cv_struct_tm_gmtoff" >&6; }
18040 if (test "$ac_cv_struct_tm_gmtoff" = "yes"); then
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end detects struct tm with the tm_gmtoff field." >&5
18042 $as_echo_n "checking m2 front end detects struct tm with the tm_gmtoff field.... " >&6; }
18044 $as_echo "#define HAVE_TM_TM_GMTOFF 1" >>confdefs.h
18049 ac_cpp
='$CPP $CPPFLAGS'
18050 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18051 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18052 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18054 # Check the compiler.
18055 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
18056 # We must force CC to /not/ be precious variables; otherwise
18057 # the wrong, non-multilib-adjusted value will be used in multilibs.
18058 # As a side effect, we have to subst CFLAGS ourselves.
18063 ac_cpp
='$CPP $CPPFLAGS'
18064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18067 if test -n "$ac_tool_prefix"; then
18068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18069 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18071 $as_echo_n "checking for $ac_word... " >&6; }
18072 if ${ac_cv_prog_CC+:} false
; then :
18073 $as_echo_n "(cached) " >&6
18075 if test -n "$CC"; then
18076 ac_cv_prog_CC
="$CC" # Let the user override the test.
18078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18079 for as_dir
in $PATH
18082 test -z "$as_dir" && as_dir
=.
18083 for ac_exec_ext
in '' $ac_executable_extensions; do
18084 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18085 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
18086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18096 if test -n "$CC"; then
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18098 $as_echo "$CC" >&6; }
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18101 $as_echo "no" >&6; }
18106 if test -z "$ac_cv_prog_CC"; then
18108 # Extract the first word of "gcc", so it can be a program name with args.
18109 set dummy gcc
; ac_word
=$2
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18111 $as_echo_n "checking for $ac_word... " >&6; }
18112 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
18113 $as_echo_n "(cached) " >&6
18115 if test -n "$ac_ct_CC"; then
18116 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18119 for as_dir
in $PATH
18122 test -z "$as_dir" && as_dir
=.
18123 for ac_exec_ext
in '' $ac_executable_extensions; do
18124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18125 ac_cv_prog_ac_ct_CC
="gcc"
18126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18135 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18136 if test -n "$ac_ct_CC"; then
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18138 $as_echo "$ac_ct_CC" >&6; }
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18141 $as_echo "no" >&6; }
18144 if test "x$ac_ct_CC" = x
; then
18147 case $cross_compiling:$ac_tool_warned in
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18151 ac_tool_warned
=yes ;;
18156 CC
="$ac_cv_prog_CC"
18159 if test -z "$CC"; then
18160 if test -n "$ac_tool_prefix"; then
18161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18162 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18164 $as_echo_n "checking for $ac_word... " >&6; }
18165 if ${ac_cv_prog_CC+:} false
; then :
18166 $as_echo_n "(cached) " >&6
18168 if test -n "$CC"; then
18169 ac_cv_prog_CC
="$CC" # Let the user override the test.
18171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18172 for as_dir
in $PATH
18175 test -z "$as_dir" && as_dir
=.
18176 for ac_exec_ext
in '' $ac_executable_extensions; do
18177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18178 ac_cv_prog_CC
="${ac_tool_prefix}cc"
18179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18189 if test -n "$CC"; then
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18191 $as_echo "$CC" >&6; }
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18194 $as_echo "no" >&6; }
18200 if test -z "$CC"; then
18201 # Extract the first word of "cc", so it can be a program name with args.
18202 set dummy cc
; ac_word
=$2
18203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18204 $as_echo_n "checking for $ac_word... " >&6; }
18205 if ${ac_cv_prog_CC+:} false
; then :
18206 $as_echo_n "(cached) " >&6
18208 if test -n "$CC"; then
18209 ac_cv_prog_CC
="$CC" # Let the user override the test.
18211 ac_prog_rejected
=no
18212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18213 for as_dir
in $PATH
18216 test -z "$as_dir" && as_dir
=.
18217 for ac_exec_ext
in '' $ac_executable_extensions; do
18218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18220 ac_prog_rejected
=yes
18224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18231 if test $ac_prog_rejected = yes; then
18232 # We found a bogon in the path, so make sure we never use it.
18233 set dummy
$ac_cv_prog_CC
18235 if test $# != 0; then
18236 # We chose a different compiler from the bogus one.
18237 # However, it has the same basename, so the bogon will be chosen
18238 # first if we set CC to just the basename; use the full file name.
18240 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
18246 if test -n "$CC"; then
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18248 $as_echo "$CC" >&6; }
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18251 $as_echo "no" >&6; }
18256 if test -z "$CC"; then
18257 if test -n "$ac_tool_prefix"; then
18258 for ac_prog
in cl.exe
18260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18261 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18263 $as_echo_n "checking for $ac_word... " >&6; }
18264 if ${ac_cv_prog_CC+:} false
; then :
18265 $as_echo_n "(cached) " >&6
18267 if test -n "$CC"; then
18268 ac_cv_prog_CC
="$CC" # Let the user override the test.
18270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18271 for as_dir
in $PATH
18274 test -z "$as_dir" && as_dir
=.
18275 for ac_exec_ext
in '' $ac_executable_extensions; do
18276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18277 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
18278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18288 if test -n "$CC"; then
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18290 $as_echo "$CC" >&6; }
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18293 $as_echo "no" >&6; }
18297 test -n "$CC" && break
18300 if test -z "$CC"; then
18302 for ac_prog
in cl.exe
18304 # Extract the first word of "$ac_prog", so it can be a program name with args.
18305 set dummy
$ac_prog; ac_word
=$2
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18307 $as_echo_n "checking for $ac_word... " >&6; }
18308 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
18309 $as_echo_n "(cached) " >&6
18311 if test -n "$ac_ct_CC"; then
18312 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
18314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18315 for as_dir
in $PATH
18318 test -z "$as_dir" && as_dir
=.
18319 for ac_exec_ext
in '' $ac_executable_extensions; do
18320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18321 ac_cv_prog_ac_ct_CC
="$ac_prog"
18322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18331 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
18332 if test -n "$ac_ct_CC"; then
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18334 $as_echo "$ac_ct_CC" >&6; }
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18337 $as_echo "no" >&6; }
18341 test -n "$ac_ct_CC" && break
18344 if test "x$ac_ct_CC" = x
; then
18347 case $cross_compiling:$ac_tool_warned in
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18351 ac_tool_warned
=yes ;;
18360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18362 as_fn_error $?
"no acceptable C compiler found in \$PATH
18363 See \`config.log' for more details" "$LINENO" 5; }
18365 # Provide some information about the compiler.
18366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
18369 for ac_option
in --version -v -V -qversion; do
18370 { { ac_try
="$ac_compiler $ac_option >&5"
18371 case "(($ac_try" in
18372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18376 $as_echo "$ac_try_echo"; } >&5
18377 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18379 if test -s conftest.err; then
18381 ... rest of stderr output deleted ...
18382 10q' conftest.err >conftest.er1
18383 cat conftest.er1 >&5
18385 rm -f conftest.er1 conftest.err
18386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18387 test $ac_status = 0; }
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
18391 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
18392 if ${ac_cv_c_compiler_gnu+:} false; then :
18393 $as_echo_n "(cached) " >&6
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18409 if ac_fn_c_try_compile "$LINENO"; then :
18410 ac_compiler_gnu=yes
18414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415 ac_cv_c_compiler_gnu=$ac_compiler_gnu
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
18419 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
18420 if test $ac_compiler_gnu = yes; then
18425 ac_test_CFLAGS=${CFLAGS+set}
18426 ac_save_CFLAGS=$CFLAGS
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18428 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18429 if ${ac_cv_prog_cc_g+:} false; then :
18430 $as_echo_n "(cached) " >&6
18432 ac_save_c_werror_flag=$ac_c_werror_flag
18433 ac_c_werror_flag=yes
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18447 if ac_fn_c_try_compile "$LINENO"; then :
18448 ac_cv_prog_cc_g=yes
18451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18452 /* end confdefs.h. */
18462 if ac_fn_c_try_compile "$LINENO"; then :
18465 ac_c_werror_flag=$ac_save_c_werror_flag
18467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468 /* end confdefs.h. */
18478 if ac_fn_c_try_compile "$LINENO"; then :
18479 ac_cv_prog_cc_g=yes
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 ac_c_werror_flag=$ac_save_c_werror_flag
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18489 $as_echo "$ac_cv_prog_cc_g" >&6; }
18490 if test "$ac_test_CFLAGS" = set; then
18491 CFLAGS=$ac_save_CFLAGS
18492 elif test $ac_cv_prog_cc_g = yes; then
18493 if test "$GCC" = yes; then
18499 if test "$GCC" = yes; then
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
18506 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
18507 if ${ac_cv_prog_cc_c89+:} false; then :
18508 $as_echo_n "(cached) " >&6
18510 ac_cv_prog_cc_c89=no
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 #include <stdarg.h>
18517 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
18518 struct buf { int x; };
18519 FILE * (*rcsopen) (struct buf *, struct stat *, int);
18520 static char *e (p, i)
18526 static char *f (char * (*g) (char **, int), char **p, ...)
18531 s = g (p, va_arg (v,int));
18536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
18537 function prototypes and stuff, but not '\xHH' hex character constants.
18538 These don't provoke an error unfortunately, instead are silently treated
18539 as 'x'. The following induces an error, until -std is added to get
18540 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
18541 array size at least. It's necessary to write '\x00'==0 to get something
18542 that's true only with -std. */
18543 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18546 inside strings and character constants. */
18548 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18550 int test (int i, double x);
18551 struct s1 {int (*f) (int a);};
18552 struct s2 {int (*f) (double a);};
18553 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18559 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
18564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18565 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18567 CC="$ac_save_CC $ac_arg"
18568 if ac_fn_c_try_compile "$LINENO"; then :
18569 ac_cv_prog_cc_c89=$ac_arg
18571 rm -f core conftest.err conftest.$ac_objext
18572 test "x$ac_cv_prog_cc_c89" != "xno" && break
18574 rm -f conftest.$ac_ext
18579 case "x$ac_cv_prog_cc_c89" in
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18582 $as_echo "none needed" >&6; } ;;
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18585 $as_echo "unsupported" >&6; } ;;
18587 CC="$CC $ac_cv_prog_cc_c89"
18588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18589 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18591 if test "x$ac_cv_prog_cc_c89" != xno; then :
18596 ac_cpp='$CPP $CPPFLAGS'
18597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18602 ac_cpp='$CPP $CPPFLAGS'
18603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
18607 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
18608 if ${am_cv_prog_cc_c_o+:} false; then :
18609 $as_echo_n "(cached) " >&6
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18622 # Make sure it works both with $CC and with simple cc.
18623 # Following AC_PROG_CC_C_O, we do the test twice because some
18624 # compilers refuse to overwrite an existing .o file with -o,
18625 # though they will create one.
18626 am_cv_prog_cc_c_o=yes
18627 for am_i in 1 2; do
18628 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
18629 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } \
18633 && test -f conftest2.$ac_objext; then
18636 am_cv_prog_cc_c_o=no
18640 rm -f core conftest*
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
18644 $as_echo "$am_cv_prog_cc_c_o" >&6; }
18645 if test "$am_cv_prog_cc_c_o" != yes; then
18646 # Losing compiler, so override with the script.
18647 # FIXME: It is wrong to rewrite CC.
18648 # But if we don't then we get into trouble of one sort or another.
18649 # A longer-term fix would be to have automake use am__CC in this case,
18650 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18651 CC="$am_aux_dir/compile $CC"
18654 ac_cpp='$CPP $CPPFLAGS'
18655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for access" >&5
18670 $as_echo_n "checking m2 front end checking c library for access... " >&6; }
18671 if test x$gcc_no_link != xyes; then
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for access in -lc" >&5
18673 $as_echo_n "checking for access in -lc... " >&6; }
18674 if ${ac_cv_lib_c_access+:} false; then :
18675 $as_echo_n "(cached) " >&6
18677 ac_check_lib_save_LIBS=$LIBS
18679 if test x$gcc_no_link = xyes; then
18680 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h. */
18685 /* Override any GCC internal prototype to avoid an error.
18686 Use char because int might match the return type of a GCC
18687 builtin and then its argument prototype would still apply. */
18700 if ac_fn_c_try_link "$LINENO"; then :
18701 ac_cv_lib_c_access=yes
18703 ac_cv_lib_c_access=no
18705 rm -f core conftest.err conftest.$ac_objext \
18706 conftest$ac_exeext conftest.$ac_ext
18707 LIBS=$ac_check_lib_save_LIBS
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_access" >&5
18710 $as_echo "$ac_cv_lib_c_access" >&6; }
18711 if test "x$ac_cv_lib_c_access" = xyes; then :
18713 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18717 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
18722 if test "x$ac_cv_lib_c_access" = xyes; then
18724 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18726 elif test "x$ac_cv_func_access" = xyes; then
18728 $as_echo "#define HAVE_ACCESS 1" >>confdefs.h
18732 $as_echo "#undef HAVE_ACCESS" >>confdefs.h
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for brk" >&5
18739 $as_echo_n "checking m2 front end checking c library for brk... " >&6; }
18740 if test x$gcc_no_link != xyes; then
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for brk in -lc" >&5
18742 $as_echo_n "checking for brk in -lc... " >&6; }
18743 if ${ac_cv_lib_c_brk+:} false; then :
18744 $as_echo_n "(cached) " >&6
18746 ac_check_lib_save_LIBS=$LIBS
18748 if test x$gcc_no_link = xyes; then
18749 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18754 /* Override any GCC internal prototype to avoid an error.
18755 Use char because int might match the return type of a GCC
18756 builtin and then its argument prototype would still apply. */
18769 if ac_fn_c_try_link "$LINENO"; then :
18770 ac_cv_lib_c_brk=yes
18774 rm -f core conftest.err conftest.$ac_objext \
18775 conftest$ac_exeext conftest.$ac_ext
18776 LIBS=$ac_check_lib_save_LIBS
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_brk" >&5
18779 $as_echo "$ac_cv_lib_c_brk" >&6; }
18780 if test "x$ac_cv_lib_c_brk" = xyes; then :
18782 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18786 $as_echo "#undef HAVE_BRK" >>confdefs.h
18791 if test "x$ac_cv_lib_c_brk" = xyes; then
18793 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18795 elif test "x$ac_cv_func_brk" = xyes; then
18797 $as_echo "#define HAVE_BRK 1" >>confdefs.h
18801 $as_echo "#undef HAVE_BRK" >>confdefs.h
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for cfmakeraw" >&5
18808 $as_echo_n "checking m2 front end checking c library for cfmakeraw... " >&6; }
18809 if test x$gcc_no_link != xyes; then
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfmakeraw in -lc" >&5
18811 $as_echo_n "checking for cfmakeraw in -lc... " >&6; }
18812 if ${ac_cv_lib_c_cfmakeraw+:} false; then :
18813 $as_echo_n "(cached) " >&6
18815 ac_check_lib_save_LIBS=$LIBS
18817 if test x$gcc_no_link = xyes; then
18818 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18823 /* Override any GCC internal prototype to avoid an error.
18824 Use char because int might match the return type of a GCC
18825 builtin and then its argument prototype would still apply. */
18833 return cfmakeraw ();
18838 if ac_fn_c_try_link "$LINENO"; then :
18839 ac_cv_lib_c_cfmakeraw=yes
18841 ac_cv_lib_c_cfmakeraw=no
18843 rm -f core conftest.err conftest.$ac_objext \
18844 conftest$ac_exeext conftest.$ac_ext
18845 LIBS=$ac_check_lib_save_LIBS
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_cfmakeraw" >&5
18848 $as_echo "$ac_cv_lib_c_cfmakeraw" >&6; }
18849 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then :
18851 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18855 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
18860 if test "x$ac_cv_lib_c_cfmakeraw" = xyes; then
18862 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18864 elif test "x$ac_cv_func_cfmakeraw" = xyes; then
18866 $as_echo "#define HAVE_CFMAKERAW 1" >>confdefs.h
18870 $as_echo "#undef HAVE_CFMAKERAW" >>confdefs.h
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_gettime" >&5
18877 $as_echo_n "checking m2 front end checking c library for clock_gettime... " >&6; }
18878 if test x$gcc_no_link != xyes; then
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
18880 $as_echo_n "checking for clock_gettime in -lc... " >&6; }
18881 if ${ac_cv_lib_c_clock_gettime+:} false; then :
18882 $as_echo_n "(cached) " >&6
18884 ac_check_lib_save_LIBS=$LIBS
18886 if test x$gcc_no_link = xyes; then
18887 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18890 /* end confdefs.h. */
18892 /* Override any GCC internal prototype to avoid an error.
18893 Use char because int might match the return type of a GCC
18894 builtin and then its argument prototype would still apply. */
18898 char clock_gettime ();
18902 return clock_gettime ();
18907 if ac_fn_c_try_link "$LINENO"; then :
18908 ac_cv_lib_c_clock_gettime=yes
18910 ac_cv_lib_c_clock_gettime=no
18912 rm -f core conftest.err conftest.$ac_objext \
18913 conftest$ac_exeext conftest.$ac_ext
18914 LIBS=$ac_check_lib_save_LIBS
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
18917 $as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
18918 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then :
18920 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18924 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
18929 if test "x$ac_cv_lib_c_clock_gettime" = xyes; then
18931 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18933 elif test "x$ac_cv_func_clock_gettime" = xyes; then
18935 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18939 $as_echo "#undef HAVE_CLOCK_GETTIME" >>confdefs.h
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for clock_settime" >&5
18946 $as_echo_n "checking m2 front end checking c library for clock_settime... " >&6; }
18947 if test x$gcc_no_link != xyes; then
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lc" >&5
18949 $as_echo_n "checking for clock_settime in -lc... " >&6; }
18950 if ${ac_cv_lib_c_clock_settime+:} false; then :
18951 $as_echo_n "(cached) " >&6
18953 ac_check_lib_save_LIBS=$LIBS
18955 if test x$gcc_no_link = xyes; then
18956 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18961 /* Override any GCC internal prototype to avoid an error.
18962 Use char because int might match the return type of a GCC
18963 builtin and then its argument prototype would still apply. */
18967 char clock_settime ();
18971 return clock_settime ();
18976 if ac_fn_c_try_link "$LINENO"; then :
18977 ac_cv_lib_c_clock_settime=yes
18979 ac_cv_lib_c_clock_settime=no
18981 rm -f core conftest.err conftest.$ac_objext \
18982 conftest$ac_exeext conftest.$ac_ext
18983 LIBS=$ac_check_lib_save_LIBS
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_settime" >&5
18986 $as_echo "$ac_cv_lib_c_clock_settime" >&6; }
18987 if test "x$ac_cv_lib_c_clock_settime" = xyes; then :
18989 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
18993 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
18998 if test "x$ac_cv_lib_c_clock_settime" = xyes; then
19000 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19002 elif test "x$ac_cv_func_clock_settime" = xyes; then
19004 $as_echo "#define HAVE_CLOCK_SETTIME 1" >>confdefs.h
19008 $as_echo "#undef HAVE_CLOCK_SETTIME" >>confdefs.h
19014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for close" >&5
19015 $as_echo_n "checking m2 front end checking c library for close... " >&6; }
19016 if test x$gcc_no_link != xyes; then
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for close in -lc" >&5
19018 $as_echo_n "checking for close in -lc... " >&6; }
19019 if ${ac_cv_lib_c_close+:} false; then :
19020 $as_echo_n "(cached) " >&6
19022 ac_check_lib_save_LIBS=$LIBS
19024 if test x$gcc_no_link = xyes; then
19025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19030 /* Override any GCC internal prototype to avoid an error.
19031 Use char because int might match the return type of a GCC
19032 builtin and then its argument prototype would still apply. */
19045 if ac_fn_c_try_link "$LINENO"; then :
19046 ac_cv_lib_c_close=yes
19048 ac_cv_lib_c_close=no
19050 rm -f core conftest.err conftest.$ac_objext \
19051 conftest$ac_exeext conftest.$ac_ext
19052 LIBS=$ac_check_lib_save_LIBS
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_close" >&5
19055 $as_echo "$ac_cv_lib_c_close" >&6; }
19056 if test "x$ac_cv_lib_c_close" = xyes; then :
19058 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19062 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
19067 if test "x$ac_cv_lib_c_close" = xyes; then
19069 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19071 elif test "x$ac_cv_func_close" = xyes; then
19073 $as_echo "#define HAVE_CLOSE 1" >>confdefs.h
19077 $as_echo "#undef HAVE_CLOSE" >>confdefs.h
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ctime" >&5
19084 $as_echo_n "checking m2 front end checking c library for ctime... " >&6; }
19085 if test x$gcc_no_link != xyes; then
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctime in -lc" >&5
19087 $as_echo_n "checking for ctime in -lc... " >&6; }
19088 if ${ac_cv_lib_c_ctime+:} false; then :
19089 $as_echo_n "(cached) " >&6
19091 ac_check_lib_save_LIBS=$LIBS
19093 if test x$gcc_no_link = xyes; then
19094 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19099 /* Override any GCC internal prototype to avoid an error.
19100 Use char because int might match the return type of a GCC
19101 builtin and then its argument prototype would still apply. */
19114 if ac_fn_c_try_link "$LINENO"; then :
19115 ac_cv_lib_c_ctime=yes
19117 ac_cv_lib_c_ctime=no
19119 rm -f core conftest.err conftest.$ac_objext \
19120 conftest$ac_exeext conftest.$ac_ext
19121 LIBS=$ac_check_lib_save_LIBS
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ctime" >&5
19124 $as_echo "$ac_cv_lib_c_ctime" >&6; }
19125 if test "x$ac_cv_lib_c_ctime" = xyes; then :
19127 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19131 $as_echo "#undef HAVE_CTIME" >>confdefs.h
19136 if test "x$ac_cv_lib_c_ctime" = xyes; then
19138 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19140 elif test "x$ac_cv_func_ctime" = xyes; then
19142 $as_echo "#define HAVE_CTIME 1" >>confdefs.h
19146 $as_echo "#undef HAVE_CTIME" >>confdefs.h
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for creat" >&5
19153 $as_echo_n "checking m2 front end checking c library for creat... " >&6; }
19154 if test x$gcc_no_link != xyes; then
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for creat in -lc" >&5
19156 $as_echo_n "checking for creat in -lc... " >&6; }
19157 if ${ac_cv_lib_c_creat+:} false; then :
19158 $as_echo_n "(cached) " >&6
19160 ac_check_lib_save_LIBS=$LIBS
19162 if test x$gcc_no_link = xyes; then
19163 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 /* end confdefs.h. */
19168 /* Override any GCC internal prototype to avoid an error.
19169 Use char because int might match the return type of a GCC
19170 builtin and then its argument prototype would still apply. */
19183 if ac_fn_c_try_link "$LINENO"; then :
19184 ac_cv_lib_c_creat=yes
19186 ac_cv_lib_c_creat=no
19188 rm -f core conftest.err conftest.$ac_objext \
19189 conftest$ac_exeext conftest.$ac_ext
19190 LIBS=$ac_check_lib_save_LIBS
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_creat" >&5
19193 $as_echo "$ac_cv_lib_c_creat" >&6; }
19194 if test "x$ac_cv_lib_c_creat" = xyes; then :
19196 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19200 $as_echo "#undef HAVE_CREAT" >>confdefs.h
19205 if test "x$ac_cv_lib_c_creat" = xyes; then
19207 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19209 elif test "x$ac_cv_func_creat" = xyes; then
19211 $as_echo "#define HAVE_CREAT 1" >>confdefs.h
19215 $as_echo "#undef HAVE_CREAT" >>confdefs.h
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for daylight" >&5
19222 $as_echo_n "checking m2 front end checking c library for daylight... " >&6; }
19223 if test x$gcc_no_link != xyes; then
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight in -lc" >&5
19225 $as_echo_n "checking for daylight in -lc... " >&6; }
19226 if ${ac_cv_lib_c_daylight+:} false; then :
19227 $as_echo_n "(cached) " >&6
19229 ac_check_lib_save_LIBS=$LIBS
19231 if test x$gcc_no_link = xyes; then
19232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h. */
19237 /* Override any GCC internal prototype to avoid an error.
19238 Use char because int might match the return type of a GCC
19239 builtin and then its argument prototype would still apply. */
19247 return daylight ();
19252 if ac_fn_c_try_link "$LINENO"; then :
19253 ac_cv_lib_c_daylight=yes
19255 ac_cv_lib_c_daylight=no
19257 rm -f core conftest.err conftest.$ac_objext \
19258 conftest$ac_exeext conftest.$ac_ext
19259 LIBS=$ac_check_lib_save_LIBS
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_daylight" >&5
19262 $as_echo "$ac_cv_lib_c_daylight" >&6; }
19263 if test "x$ac_cv_lib_c_daylight" = xyes; then :
19265 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19269 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
19274 if test "x$ac_cv_lib_c_daylight" = xyes; then
19276 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19278 elif test "x$ac_cv_func_daylight" = xyes; then
19280 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
19284 $as_echo "#undef HAVE_DAYLIGHT" >>confdefs.h
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for dup" >&5
19291 $as_echo_n "checking m2 front end checking c library for dup... " >&6; }
19292 if test x$gcc_no_link != xyes; then
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup in -lc" >&5
19294 $as_echo_n "checking for dup in -lc... " >&6; }
19295 if ${ac_cv_lib_c_dup+:} false; then :
19296 $as_echo_n "(cached) " >&6
19298 ac_check_lib_save_LIBS=$LIBS
19300 if test x$gcc_no_link = xyes; then
19301 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19306 /* Override any GCC internal prototype to avoid an error.
19307 Use char because int might match the return type of a GCC
19308 builtin and then its argument prototype would still apply. */
19321 if ac_fn_c_try_link "$LINENO"; then :
19322 ac_cv_lib_c_dup=yes
19326 rm -f core conftest.err conftest.$ac_objext \
19327 conftest$ac_exeext conftest.$ac_ext
19328 LIBS=$ac_check_lib_save_LIBS
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dup" >&5
19331 $as_echo "$ac_cv_lib_c_dup" >&6; }
19332 if test "x$ac_cv_lib_c_dup" = xyes; then :
19334 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19338 $as_echo "#undef HAVE_DUP" >>confdefs.h
19343 if test "x$ac_cv_lib_c_dup" = xyes; then
19345 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19347 elif test "x$ac_cv_func_dup" = xyes; then
19349 $as_echo "#define HAVE_DUP 1" >>confdefs.h
19353 $as_echo "#undef HAVE_DUP" >>confdefs.h
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for execve" >&5
19360 $as_echo_n "checking m2 front end checking c library for execve... " >&6; }
19361 if test x$gcc_no_link != xyes; then
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execve in -lc" >&5
19363 $as_echo_n "checking for execve in -lc... " >&6; }
19364 if ${ac_cv_lib_c_execve+:} false; then :
19365 $as_echo_n "(cached) " >&6
19367 ac_check_lib_save_LIBS=$LIBS
19369 if test x$gcc_no_link = xyes; then
19370 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19375 /* Override any GCC internal prototype to avoid an error.
19376 Use char because int might match the return type of a GCC
19377 builtin and then its argument prototype would still apply. */
19390 if ac_fn_c_try_link "$LINENO"; then :
19391 ac_cv_lib_c_execve=yes
19393 ac_cv_lib_c_execve=no
19395 rm -f core conftest.err conftest.$ac_objext \
19396 conftest$ac_exeext conftest.$ac_ext
19397 LIBS=$ac_check_lib_save_LIBS
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_execve" >&5
19400 $as_echo "$ac_cv_lib_c_execve" >&6; }
19401 if test "x$ac_cv_lib_c_execve" = xyes; then :
19403 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19407 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
19412 if test "x$ac_cv_lib_c_execve" = xyes; then
19414 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19416 elif test "x$ac_cv_func_execve" = xyes; then
19418 $as_echo "#define HAVE_EXECVE 1" >>confdefs.h
19422 $as_echo "#undef HAVE_EXECVE" >>confdefs.h
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for exit" >&5
19429 $as_echo_n "checking m2 front end checking c library for exit... " >&6; }
19430 if test x$gcc_no_link != xyes; then
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -lc" >&5
19432 $as_echo_n "checking for exit in -lc... " >&6; }
19433 if ${ac_cv_lib_c_exit+:} false; then :
19434 $as_echo_n "(cached) " >&6
19436 ac_check_lib_save_LIBS=$LIBS
19438 if test x$gcc_no_link = xyes; then
19439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19444 /* Override any GCC internal prototype to avoid an error.
19445 Use char because int might match the return type of a GCC
19446 builtin and then its argument prototype would still apply. */
19459 if ac_fn_c_try_link "$LINENO"; then :
19460 ac_cv_lib_c_exit=yes
19462 ac_cv_lib_c_exit=no
19464 rm -f core conftest.err conftest.$ac_objext \
19465 conftest$ac_exeext conftest.$ac_ext
19466 LIBS=$ac_check_lib_save_LIBS
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_exit" >&5
19469 $as_echo "$ac_cv_lib_c_exit" >&6; }
19470 if test "x$ac_cv_lib_c_exit" = xyes; then :
19472 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19476 $as_echo "#undef HAVE_EXIT" >>confdefs.h
19481 if test "x$ac_cv_lib_c_exit" = xyes; then
19483 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19485 elif test "x$ac_cv_func_exit" = xyes; then
19487 $as_echo "#define HAVE_EXIT 1" >>confdefs.h
19491 $as_echo "#undef HAVE_EXIT" >>confdefs.h
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fcntl" >&5
19498 $as_echo_n "checking m2 front end checking c library for fcntl... " >&6; }
19499 if test x$gcc_no_link != xyes; then
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl in -lc" >&5
19501 $as_echo_n "checking for fcntl in -lc... " >&6; }
19502 if ${ac_cv_lib_c_fcntl+:} false; then :
19503 $as_echo_n "(cached) " >&6
19505 ac_check_lib_save_LIBS=$LIBS
19507 if test x$gcc_no_link = xyes; then
19508 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19513 /* Override any GCC internal prototype to avoid an error.
19514 Use char because int might match the return type of a GCC
19515 builtin and then its argument prototype would still apply. */
19528 if ac_fn_c_try_link "$LINENO"; then :
19529 ac_cv_lib_c_fcntl=yes
19531 ac_cv_lib_c_fcntl=no
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19535 LIBS=$ac_check_lib_save_LIBS
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fcntl" >&5
19538 $as_echo "$ac_cv_lib_c_fcntl" >&6; }
19539 if test "x$ac_cv_lib_c_fcntl" = xyes; then :
19541 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19545 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
19550 if test "x$ac_cv_lib_c_fcntl" = xyes; then
19552 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19554 elif test "x$ac_cv_func_fcntl" = xyes; then
19556 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
19560 $as_echo "#undef HAVE_FCNTL" >>confdefs.h
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for fstat" >&5
19567 $as_echo_n "checking m2 front end checking c library for fstat... " >&6; }
19568 if test x$gcc_no_link != xyes; then
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fstat in -lc" >&5
19570 $as_echo_n "checking for fstat in -lc... " >&6; }
19571 if ${ac_cv_lib_c_fstat+:} false; then :
19572 $as_echo_n "(cached) " >&6
19574 ac_check_lib_save_LIBS=$LIBS
19576 if test x$gcc_no_link = xyes; then
19577 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19580 /* end confdefs.h. */
19582 /* Override any GCC internal prototype to avoid an error.
19583 Use char because int might match the return type of a GCC
19584 builtin and then its argument prototype would still apply. */
19597 if ac_fn_c_try_link "$LINENO"; then :
19598 ac_cv_lib_c_fstat=yes
19600 ac_cv_lib_c_fstat=no
19602 rm -f core conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19604 LIBS=$ac_check_lib_save_LIBS
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_fstat" >&5
19607 $as_echo "$ac_cv_lib_c_fstat" >&6; }
19608 if test "x$ac_cv_lib_c_fstat" = xyes; then :
19610 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19614 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
19619 if test "x$ac_cv_lib_c_fstat" = xyes; then
19621 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19623 elif test "x$ac_cv_func_fstat" = xyes; then
19625 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
19629 $as_echo "#undef HAVE_FSTAT" >>confdefs.h
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getdents" >&5
19636 $as_echo_n "checking m2 front end checking c library for getdents... " >&6; }
19637 if test x$gcc_no_link != xyes; then
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getdents in -lc" >&5
19639 $as_echo_n "checking for getdents in -lc... " >&6; }
19640 if ${ac_cv_lib_c_getdents+:} false; then :
19641 $as_echo_n "(cached) " >&6
19643 ac_check_lib_save_LIBS=$LIBS
19645 if test x$gcc_no_link = xyes; then
19646 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19651 /* Override any GCC internal prototype to avoid an error.
19652 Use char because int might match the return type of a GCC
19653 builtin and then its argument prototype would still apply. */
19661 return getdents ();
19666 if ac_fn_c_try_link "$LINENO"; then :
19667 ac_cv_lib_c_getdents=yes
19669 ac_cv_lib_c_getdents=no
19671 rm -f core conftest.err conftest.$ac_objext \
19672 conftest$ac_exeext conftest.$ac_ext
19673 LIBS=$ac_check_lib_save_LIBS
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getdents" >&5
19676 $as_echo "$ac_cv_lib_c_getdents" >&6; }
19677 if test "x$ac_cv_lib_c_getdents" = xyes; then :
19679 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19683 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
19688 if test "x$ac_cv_lib_c_getdents" = xyes; then
19690 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19692 elif test "x$ac_cv_func_getdents" = xyes; then
19694 $as_echo "#define HAVE_GETDENTS 1" >>confdefs.h
19698 $as_echo "#undef HAVE_GETDENTS" >>confdefs.h
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getgid" >&5
19705 $as_echo_n "checking m2 front end checking c library for getgid... " >&6; }
19706 if test x$gcc_no_link != xyes; then
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
19708 $as_echo_n "checking for getgid in -lc... " >&6; }
19709 if ${ac_cv_lib_c_getgid+:} false; then :
19710 $as_echo_n "(cached) " >&6
19712 ac_check_lib_save_LIBS=$LIBS
19714 if test x$gcc_no_link = xyes; then
19715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19718 /* end confdefs.h. */
19720 /* Override any GCC internal prototype to avoid an error.
19721 Use char because int might match the return type of a GCC
19722 builtin and then its argument prototype would still apply. */
19735 if ac_fn_c_try_link "$LINENO"; then :
19736 ac_cv_lib_c_getgid=yes
19738 ac_cv_lib_c_getgid=no
19740 rm -f core conftest.err conftest.$ac_objext \
19741 conftest$ac_exeext conftest.$ac_ext
19742 LIBS=$ac_check_lib_save_LIBS
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
19745 $as_echo "$ac_cv_lib_c_getgid" >&6; }
19746 if test "x$ac_cv_lib_c_getgid" = xyes; then :
19748 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19752 $as_echo "#undef HAVE_GETGID" >>confdefs.h
19757 if test "x$ac_cv_lib_c_getgid" = xyes; then
19759 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19761 elif test "x$ac_cv_func_getgid" = xyes; then
19763 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
19767 $as_echo "#undef HAVE_GETGID" >>confdefs.h
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long" >&5
19774 $as_echo_n "checking m2 front end checking c library for getopt_long... " >&6; }
19775 if test x$gcc_no_link != xyes; then
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long in -lc" >&5
19777 $as_echo_n "checking for getopt_long in -lc... " >&6; }
19778 if ${ac_cv_lib_c_getopt_long+:} false; then :
19779 $as_echo_n "(cached) " >&6
19781 ac_check_lib_save_LIBS=$LIBS
19783 if test x$gcc_no_link = xyes; then
19784 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19789 /* Override any GCC internal prototype to avoid an error.
19790 Use char because int might match the return type of a GCC
19791 builtin and then its argument prototype would still apply. */
19795 char getopt_long ();
19799 return getopt_long ();
19804 if ac_fn_c_try_link "$LINENO"; then :
19805 ac_cv_lib_c_getopt_long=yes
19807 ac_cv_lib_c_getopt_long=no
19809 rm -f core conftest.err conftest.$ac_objext \
19810 conftest$ac_exeext conftest.$ac_ext
19811 LIBS=$ac_check_lib_save_LIBS
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long" >&5
19814 $as_echo "$ac_cv_lib_c_getopt_long" >&6; }
19815 if test "x$ac_cv_lib_c_getopt_long" = xyes; then :
19817 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19821 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
19826 if test "x$ac_cv_lib_c_getopt_long" = xyes; then
19828 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19830 elif test "x$ac_cv_func_getopt_long" = xyes; then
19832 $as_echo "#define HAVE_GETOPT_LONG 1" >>confdefs.h
19836 $as_echo "#undef HAVE_GETOPT_LONG" >>confdefs.h
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getopt_long_only" >&5
19843 $as_echo_n "checking m2 front end checking c library for getopt_long_only... " >&6; }
19844 if test x$gcc_no_link != xyes; then
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getopt_long_only in -lc" >&5
19846 $as_echo_n "checking for getopt_long_only in -lc... " >&6; }
19847 if ${ac_cv_lib_c_getopt_long_only+:} false; then :
19848 $as_echo_n "(cached) " >&6
19850 ac_check_lib_save_LIBS=$LIBS
19852 if test x$gcc_no_link = xyes; then
19853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 /* Override any GCC internal prototype to avoid an error.
19859 Use char because int might match the return type of a GCC
19860 builtin and then its argument prototype would still apply. */
19864 char getopt_long_only ();
19868 return getopt_long_only ();
19873 if ac_fn_c_try_link "$LINENO"; then :
19874 ac_cv_lib_c_getopt_long_only=yes
19876 ac_cv_lib_c_getopt_long_only=no
19878 rm -f core conftest.err conftest.$ac_objext \
19879 conftest$ac_exeext conftest.$ac_ext
19880 LIBS=$ac_check_lib_save_LIBS
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getopt_long_only" >&5
19883 $as_echo "$ac_cv_lib_c_getopt_long_only" >&6; }
19884 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then :
19886 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19890 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
19895 if test "x$ac_cv_lib_c_getopt_long_only" = xyes; then
19897 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19899 elif test "x$ac_cv_func_getopt_long_only" = xyes; then
19901 $as_echo "#define HAVE_GETOPT_LONG_ONLY 1" >>confdefs.h
19905 $as_echo "#undef HAVE_GETOPT_LONG_ONLY" >>confdefs.h
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getpid" >&5
19912 $as_echo_n "checking m2 front end checking c library for getpid... " >&6; }
19913 if test x$gcc_no_link != xyes; then
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
19915 $as_echo_n "checking for getpid in -lc... " >&6; }
19916 if ${ac_cv_lib_c_getpid+:} false; then :
19917 $as_echo_n "(cached) " >&6
19919 ac_check_lib_save_LIBS=$LIBS
19921 if test x$gcc_no_link = xyes; then
19922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19927 /* Override any GCC internal prototype to avoid an error.
19928 Use char because int might match the return type of a GCC
19929 builtin and then its argument prototype would still apply. */
19942 if ac_fn_c_try_link "$LINENO"; then :
19943 ac_cv_lib_c_getpid=yes
19945 ac_cv_lib_c_getpid=no
19947 rm -f core conftest.err conftest.$ac_objext \
19948 conftest$ac_exeext conftest.$ac_ext
19949 LIBS=$ac_check_lib_save_LIBS
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
19952 $as_echo "$ac_cv_lib_c_getpid" >&6; }
19953 if test "x$ac_cv_lib_c_getpid" = xyes; then :
19955 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
19959 $as_echo "#undef HAVE_GETPID" >>confdefs.h
19964 if test "x$ac_cv_lib_c_getpid" = xyes; then
19966 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
19968 elif test "x$ac_cv_func_getpid" = xyes; then
19970 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
19974 $as_echo "#undef HAVE_GETPID" >>confdefs.h
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for gettimeofday" >&5
19981 $as_echo_n "checking m2 front end checking c library for gettimeofday... " >&6; }
19982 if test x$gcc_no_link != xyes; then
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lc" >&5
19984 $as_echo_n "checking for gettimeofday in -lc... " >&6; }
19985 if ${ac_cv_lib_c_gettimeofday+:} false; then :
19986 $as_echo_n "(cached) " >&6
19988 ac_check_lib_save_LIBS=$LIBS
19990 if test x$gcc_no_link = xyes; then
19991 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19994 /* end confdefs.h. */
19996 /* Override any GCC internal prototype to avoid an error.
19997 Use char because int might match the return type of a GCC
19998 builtin and then its argument prototype would still apply. */
20002 char gettimeofday ();
20006 return gettimeofday ();
20011 if ac_fn_c_try_link "$LINENO"; then :
20012 ac_cv_lib_c_gettimeofday=yes
20014 ac_cv_lib_c_gettimeofday=no
20016 rm -f core conftest.err conftest.$ac_objext \
20017 conftest$ac_exeext conftest.$ac_ext
20018 LIBS=$ac_check_lib_save_LIBS
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gettimeofday" >&5
20021 $as_echo "$ac_cv_lib_c_gettimeofday" >&6; }
20022 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then :
20024 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
20028 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
20033 if test "x$ac_cv_lib_c_gettimeofday" = xyes; then
20035 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
20037 elif test "x$ac_cv_func_gettimeofday" = xyes; then
20039 $as_echo "#define HAVE_GETTIMEOFD 1" >>confdefs.h
20043 $as_echo "#undef HAVE_GETTIMEOFD" >>confdefs.h
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for getuid" >&5
20050 $as_echo_n "checking m2 front end checking c library for getuid... " >&6; }
20051 if test x$gcc_no_link != xyes; then
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
20053 $as_echo_n "checking for getuid in -lc... " >&6; }
20054 if ${ac_cv_lib_c_getuid+:} false; then :
20055 $as_echo_n "(cached) " >&6
20057 ac_check_lib_save_LIBS=$LIBS
20059 if test x$gcc_no_link = xyes; then
20060 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h. */
20065 /* Override any GCC internal prototype to avoid an error.
20066 Use char because int might match the return type of a GCC
20067 builtin and then its argument prototype would still apply. */
20080 if ac_fn_c_try_link "$LINENO"; then :
20081 ac_cv_lib_c_getuid=yes
20083 ac_cv_lib_c_getuid=no
20085 rm -f core conftest.err conftest.$ac_objext \
20086 conftest$ac_exeext conftest.$ac_ext
20087 LIBS=$ac_check_lib_save_LIBS
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
20090 $as_echo "$ac_cv_lib_c_getuid" >&6; }
20091 if test "x$ac_cv_lib_c_getuid" = xyes; then :
20093 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20097 $as_echo "#undef HAVE_GETUID" >>confdefs.h
20102 if test "x$ac_cv_lib_c_getuid" = xyes; then
20104 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20106 elif test "x$ac_cv_func_getuid" = xyes; then
20108 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
20112 $as_echo "#undef HAVE_GETUID" >>confdefs.h
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for ioctl" >&5
20119 $as_echo_n "checking m2 front end checking c library for ioctl... " >&6; }
20120 if test x$gcc_no_link != xyes; then
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl in -lc" >&5
20122 $as_echo_n "checking for ioctl in -lc... " >&6; }
20123 if ${ac_cv_lib_c_ioctl+:} false; then :
20124 $as_echo_n "(cached) " >&6
20126 ac_check_lib_save_LIBS=$LIBS
20128 if test x$gcc_no_link = xyes; then
20129 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20132 /* end confdefs.h. */
20134 /* Override any GCC internal prototype to avoid an error.
20135 Use char because int might match the return type of a GCC
20136 builtin and then its argument prototype would still apply. */
20149 if ac_fn_c_try_link "$LINENO"; then :
20150 ac_cv_lib_c_ioctl=yes
20152 ac_cv_lib_c_ioctl=no
20154 rm -f core conftest.err conftest.$ac_objext \
20155 conftest$ac_exeext conftest.$ac_ext
20156 LIBS=$ac_check_lib_save_LIBS
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_ioctl" >&5
20159 $as_echo "$ac_cv_lib_c_ioctl" >&6; }
20160 if test "x$ac_cv_lib_c_ioctl" = xyes; then :
20162 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20166 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
20171 if test "x$ac_cv_lib_c_ioctl" = xyes; then
20173 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20175 elif test "x$ac_cv_func_ioctl" = xyes; then
20177 $as_echo "#define HAVE_IOCTL 1" >>confdefs.h
20181 $as_echo "#undef HAVE_IOCTL" >>confdefs.h
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for kill" >&5
20188 $as_echo_n "checking m2 front end checking c library for kill... " >&6; }
20189 if test x$gcc_no_link != xyes; then
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kill in -lc" >&5
20191 $as_echo_n "checking for kill in -lc... " >&6; }
20192 if ${ac_cv_lib_c_kill+:} false; then :
20193 $as_echo_n "(cached) " >&6
20195 ac_check_lib_save_LIBS=$LIBS
20197 if test x$gcc_no_link = xyes; then
20198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20203 /* Override any GCC internal prototype to avoid an error.
20204 Use char because int might match the return type of a GCC
20205 builtin and then its argument prototype would still apply. */
20218 if ac_fn_c_try_link "$LINENO"; then :
20219 ac_cv_lib_c_kill=yes
20221 ac_cv_lib_c_kill=no
20223 rm -f core conftest.err conftest.$ac_objext \
20224 conftest$ac_exeext conftest.$ac_ext
20225 LIBS=$ac_check_lib_save_LIBS
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_kill" >&5
20228 $as_echo "$ac_cv_lib_c_kill" >&6; }
20229 if test "x$ac_cv_lib_c_kill" = xyes; then :
20231 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20235 $as_echo "#undef HAVE_KILL" >>confdefs.h
20240 if test "x$ac_cv_lib_c_kill" = xyes; then
20242 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20244 elif test "x$ac_cv_func_kill" = xyes; then
20246 $as_echo "#define HAVE_KILL 1" >>confdefs.h
20250 $as_echo "#undef HAVE_KILL" >>confdefs.h
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for link" >&5
20257 $as_echo_n "checking m2 front end checking c library for link... " >&6; }
20258 if test x$gcc_no_link != xyes; then
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link in -lc" >&5
20260 $as_echo_n "checking for link in -lc... " >&6; }
20261 if ${ac_cv_lib_c_link+:} false; then :
20262 $as_echo_n "(cached) " >&6
20264 ac_check_lib_save_LIBS=$LIBS
20266 if test x$gcc_no_link = xyes; then
20267 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20270 /* end confdefs.h. */
20272 /* Override any GCC internal prototype to avoid an error.
20273 Use char because int might match the return type of a GCC
20274 builtin and then its argument prototype would still apply. */
20287 if ac_fn_c_try_link "$LINENO"; then :
20288 ac_cv_lib_c_link=yes
20290 ac_cv_lib_c_link=no
20292 rm -f core conftest.err conftest.$ac_objext \
20293 conftest$ac_exeext conftest.$ac_ext
20294 LIBS=$ac_check_lib_save_LIBS
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_link" >&5
20297 $as_echo "$ac_cv_lib_c_link" >&6; }
20298 if test "x$ac_cv_lib_c_link" = xyes; then :
20300 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20304 $as_echo "#undef HAVE_LINK" >>confdefs.h
20309 if test "x$ac_cv_lib_c_link" = xyes; then
20311 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20313 elif test "x$ac_cv_func_link" = xyes; then
20315 $as_echo "#define HAVE_LINK 1" >>confdefs.h
20319 $as_echo "#undef HAVE_LINK" >>confdefs.h
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for lseek" >&5
20326 $as_echo_n "checking m2 front end checking c library for lseek... " >&6; }
20327 if test x$gcc_no_link != xyes; then
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek in -lc" >&5
20329 $as_echo_n "checking for lseek in -lc... " >&6; }
20330 if ${ac_cv_lib_c_lseek+:} false; then :
20331 $as_echo_n "(cached) " >&6
20333 ac_check_lib_save_LIBS=$LIBS
20335 if test x$gcc_no_link = xyes; then
20336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20341 /* Override any GCC internal prototype to avoid an error.
20342 Use char because int might match the return type of a GCC
20343 builtin and then its argument prototype would still apply. */
20356 if ac_fn_c_try_link "$LINENO"; then :
20357 ac_cv_lib_c_lseek=yes
20359 ac_cv_lib_c_lseek=no
20361 rm -f core conftest.err conftest.$ac_objext \
20362 conftest$ac_exeext conftest.$ac_ext
20363 LIBS=$ac_check_lib_save_LIBS
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_lseek" >&5
20366 $as_echo "$ac_cv_lib_c_lseek" >&6; }
20367 if test "x$ac_cv_lib_c_lseek" = xyes; then :
20369 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20373 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
20378 if test "x$ac_cv_lib_c_lseek" = xyes; then
20380 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20382 elif test "x$ac_cv_func_lseek" = xyes; then
20384 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
20388 $as_echo "#undef HAVE_LSEEK" >>confdefs.h
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for open" >&5
20395 $as_echo_n "checking m2 front end checking c library for open... " >&6; }
20396 if test x$gcc_no_link != xyes; then
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for open in -lc" >&5
20398 $as_echo_n "checking for open in -lc... " >&6; }
20399 if ${ac_cv_lib_c_open+:} false; then :
20400 $as_echo_n "(cached) " >&6
20402 ac_check_lib_save_LIBS=$LIBS
20404 if test x$gcc_no_link = xyes; then
20405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h. */
20410 /* Override any GCC internal prototype to avoid an error.
20411 Use char because int might match the return type of a GCC
20412 builtin and then its argument prototype would still apply. */
20425 if ac_fn_c_try_link "$LINENO"; then :
20426 ac_cv_lib_c_open=yes
20428 ac_cv_lib_c_open=no
20430 rm -f core conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20432 LIBS=$ac_check_lib_save_LIBS
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_open" >&5
20435 $as_echo "$ac_cv_lib_c_open" >&6; }
20436 if test "x$ac_cv_lib_c_open" = xyes; then :
20438 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20442 $as_echo "#undef HAVE_OPEN" >>confdefs.h
20447 if test "x$ac_cv_lib_c_open" = xyes; then
20449 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20451 elif test "x$ac_cv_func_open" = xyes; then
20453 $as_echo "#define HAVE_OPEN 1" >>confdefs.h
20457 $as_echo "#undef HAVE_OPEN" >>confdefs.h
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pause" >&5
20464 $as_echo_n "checking m2 front end checking c library for pause... " >&6; }
20465 if test x$gcc_no_link != xyes; then
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pause in -lc" >&5
20467 $as_echo_n "checking for pause in -lc... " >&6; }
20468 if ${ac_cv_lib_c_pause+:} false; then :
20469 $as_echo_n "(cached) " >&6
20471 ac_check_lib_save_LIBS=$LIBS
20473 if test x$gcc_no_link = xyes; then
20474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20477 /* end confdefs.h. */
20479 /* Override any GCC internal prototype to avoid an error.
20480 Use char because int might match the return type of a GCC
20481 builtin and then its argument prototype would still apply. */
20494 if ac_fn_c_try_link "$LINENO"; then :
20495 ac_cv_lib_c_pause=yes
20497 ac_cv_lib_c_pause=no
20499 rm -f core conftest.err conftest.$ac_objext \
20500 conftest$ac_exeext conftest.$ac_ext
20501 LIBS=$ac_check_lib_save_LIBS
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pause" >&5
20504 $as_echo "$ac_cv_lib_c_pause" >&6; }
20505 if test "x$ac_cv_lib_c_pause" = xyes; then :
20507 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20511 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
20516 if test "x$ac_cv_lib_c_pause" = xyes; then
20518 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20520 elif test "x$ac_cv_func_pause" = xyes; then
20522 $as_echo "#define HAVE_PAUSE 1" >>confdefs.h
20526 $as_echo "#undef HAVE_PAUSE" >>confdefs.h
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for pipe" >&5
20533 $as_echo_n "checking m2 front end checking c library for pipe... " >&6; }
20534 if test x$gcc_no_link != xyes; then
20535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pipe in -lc" >&5
20536 $as_echo_n "checking for pipe in -lc... " >&6; }
20537 if ${ac_cv_lib_c_pipe+:} false; then :
20538 $as_echo_n "(cached) " >&6
20540 ac_check_lib_save_LIBS=$LIBS
20542 if test x$gcc_no_link = xyes; then
20543 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h. */
20548 /* Override any GCC internal prototype to avoid an error.
20549 Use char because int might match the return type of a GCC
20550 builtin and then its argument prototype would still apply. */
20563 if ac_fn_c_try_link "$LINENO"; then :
20564 ac_cv_lib_c_pipe=yes
20566 ac_cv_lib_c_pipe=no
20568 rm -f core conftest.err conftest.$ac_objext \
20569 conftest$ac_exeext conftest.$ac_ext
20570 LIBS=$ac_check_lib_save_LIBS
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pipe" >&5
20573 $as_echo "$ac_cv_lib_c_pipe" >&6; }
20574 if test "x$ac_cv_lib_c_pipe" = xyes; then :
20576 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20580 $as_echo "#undef HAVE_PIPE" >>confdefs.h
20585 if test "x$ac_cv_lib_c_pipe" = xyes; then
20587 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20589 elif test "x$ac_cv_func_pipe" = xyes; then
20591 $as_echo "#define HAVE_PIPE 1" >>confdefs.h
20595 $as_echo "#undef HAVE_PIPE" >>confdefs.h
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for rand" >&5
20602 $as_echo_n "checking m2 front end checking c library for rand... " >&6; }
20603 if test x$gcc_no_link != xyes; then
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rand in -lc" >&5
20605 $as_echo_n "checking for rand in -lc... " >&6; }
20606 if ${ac_cv_lib_c_rand+:} false; then :
20607 $as_echo_n "(cached) " >&6
20609 ac_check_lib_save_LIBS=$LIBS
20611 if test x$gcc_no_link = xyes; then
20612 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20615 /* end confdefs.h. */
20617 /* Override any GCC internal prototype to avoid an error.
20618 Use char because int might match the return type of a GCC
20619 builtin and then its argument prototype would still apply. */
20632 if ac_fn_c_try_link "$LINENO"; then :
20633 ac_cv_lib_c_rand=yes
20635 ac_cv_lib_c_rand=no
20637 rm -f core conftest.err conftest.$ac_objext \
20638 conftest$ac_exeext conftest.$ac_ext
20639 LIBS=$ac_check_lib_save_LIBS
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_rand" >&5
20642 $as_echo "$ac_cv_lib_c_rand" >&6; }
20643 if test "x$ac_cv_lib_c_rand" = xyes; then :
20645 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20649 $as_echo "#undef HAVE_RAND" >>confdefs.h
20654 if test "x$ac_cv_lib_c_rand" = xyes; then
20656 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20658 elif test "x$ac_cv_func_rand" = xyes; then
20660 $as_echo "#define HAVE_RAND 1" >>confdefs.h
20664 $as_echo "#undef HAVE_RAND" >>confdefs.h
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for read" >&5
20671 $as_echo_n "checking m2 front end checking c library for read... " >&6; }
20672 if test x$gcc_no_link != xyes; then
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for read in -lc" >&5
20674 $as_echo_n "checking for read in -lc... " >&6; }
20675 if ${ac_cv_lib_c_read+:} false; then :
20676 $as_echo_n "(cached) " >&6
20678 ac_check_lib_save_LIBS=$LIBS
20680 if test x$gcc_no_link = xyes; then
20681 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20684 /* end confdefs.h. */
20686 /* Override any GCC internal prototype to avoid an error.
20687 Use char because int might match the return type of a GCC
20688 builtin and then its argument prototype would still apply. */
20701 if ac_fn_c_try_link "$LINENO"; then :
20702 ac_cv_lib_c_read=yes
20704 ac_cv_lib_c_read=no
20706 rm -f core conftest.err conftest.$ac_objext \
20707 conftest$ac_exeext conftest.$ac_ext
20708 LIBS=$ac_check_lib_save_LIBS
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_read" >&5
20711 $as_echo "$ac_cv_lib_c_read" >&6; }
20712 if test "x$ac_cv_lib_c_read" = xyes; then :
20714 $as_echo "#define HAVE_READ 1" >>confdefs.h
20718 $as_echo "#undef HAVE_READ" >>confdefs.h
20723 if test "x$ac_cv_lib_c_read" = xyes; then
20725 $as_echo "#define HAVE_READ 1" >>confdefs.h
20727 elif test "x$ac_cv_func_read" = xyes; then
20729 $as_echo "#define HAVE_READ 1" >>confdefs.h
20733 $as_echo "#undef HAVE_READ" >>confdefs.h
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for select" >&5
20740 $as_echo_n "checking m2 front end checking c library for select... " >&6; }
20741 if test x$gcc_no_link != xyes; then
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lc" >&5
20743 $as_echo_n "checking for select in -lc... " >&6; }
20744 if ${ac_cv_lib_c_select+:} false; then :
20745 $as_echo_n "(cached) " >&6
20747 ac_check_lib_save_LIBS=$LIBS
20749 if test x$gcc_no_link = xyes; then
20750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h. */
20755 /* Override any GCC internal prototype to avoid an error.
20756 Use char because int might match the return type of a GCC
20757 builtin and then its argument prototype would still apply. */
20770 if ac_fn_c_try_link "$LINENO"; then :
20771 ac_cv_lib_c_select=yes
20773 ac_cv_lib_c_select=no
20775 rm -f core conftest.err conftest.$ac_objext \
20776 conftest$ac_exeext conftest.$ac_ext
20777 LIBS=$ac_check_lib_save_LIBS
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_select" >&5
20780 $as_echo "$ac_cv_lib_c_select" >&6; }
20781 if test "x$ac_cv_lib_c_select" = xyes; then :
20783 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20787 $as_echo "#undef HAVE_SELECT" >>confdefs.h
20792 if test "x$ac_cv_lib_c_select" = xyes; then
20794 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20796 elif test "x$ac_cv_func_select" = xyes; then
20798 $as_echo "#define HAVE_SELECT 1" >>confdefs.h
20802 $as_echo "#undef HAVE_SELECT" >>confdefs.h
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setitimer" >&5
20809 $as_echo_n "checking m2 front end checking c library for setitimer... " >&6; }
20810 if test x$gcc_no_link != xyes; then
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setitimer in -lc" >&5
20812 $as_echo_n "checking for setitimer in -lc... " >&6; }
20813 if ${ac_cv_lib_c_setitimer+:} false; then :
20814 $as_echo_n "(cached) " >&6
20816 ac_check_lib_save_LIBS=$LIBS
20818 if test x$gcc_no_link = xyes; then
20819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20824 /* Override any GCC internal prototype to avoid an error.
20825 Use char because int might match the return type of a GCC
20826 builtin and then its argument prototype would still apply. */
20834 return setitimer ();
20839 if ac_fn_c_try_link "$LINENO"; then :
20840 ac_cv_lib_c_setitimer=yes
20842 ac_cv_lib_c_setitimer=no
20844 rm -f core conftest.err conftest.$ac_objext \
20845 conftest$ac_exeext conftest.$ac_ext
20846 LIBS=$ac_check_lib_save_LIBS
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setitimer" >&5
20849 $as_echo "$ac_cv_lib_c_setitimer" >&6; }
20850 if test "x$ac_cv_lib_c_setitimer" = xyes; then :
20852 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20856 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
20861 if test "x$ac_cv_lib_c_setitimer" = xyes; then
20863 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20865 elif test "x$ac_cv_func_setitimer" = xyes; then
20867 $as_echo "#define HAVE_SETITIMER 1" >>confdefs.h
20871 $as_echo "#undef HAVE_SETITIMER" >>confdefs.h
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setgid" >&5
20878 $as_echo_n "checking m2 front end checking c library for setgid... " >&6; }
20879 if test x$gcc_no_link != xyes; then
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgid in -lc" >&5
20881 $as_echo_n "checking for setgid in -lc... " >&6; }
20882 if ${ac_cv_lib_c_setgid+:} false; then :
20883 $as_echo_n "(cached) " >&6
20885 ac_check_lib_save_LIBS=$LIBS
20887 if test x$gcc_no_link = xyes; then
20888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20891 /* end confdefs.h. */
20893 /* Override any GCC internal prototype to avoid an error.
20894 Use char because int might match the return type of a GCC
20895 builtin and then its argument prototype would still apply. */
20908 if ac_fn_c_try_link "$LINENO"; then :
20909 ac_cv_lib_c_setgid=yes
20911 ac_cv_lib_c_setgid=no
20913 rm -f core conftest.err conftest.$ac_objext \
20914 conftest$ac_exeext conftest.$ac_ext
20915 LIBS=$ac_check_lib_save_LIBS
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setgid" >&5
20918 $as_echo "$ac_cv_lib_c_setgid" >&6; }
20919 if test "x$ac_cv_lib_c_setgid" = xyes; then :
20921 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
20925 $as_echo "#undef HAVE_SETGID" >>confdefs.h
20930 if test "x$ac_cv_lib_c_setgid" = xyes; then
20932 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
20934 elif test "x$ac_cv_func_setgid" = xyes; then
20936 $as_echo "#define HAVE_SETGID 1" >>confdefs.h
20940 $as_echo "#undef HAVE_SETGID" >>confdefs.h
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for setuid" >&5
20947 $as_echo_n "checking m2 front end checking c library for setuid... " >&6; }
20948 if test x$gcc_no_link != xyes; then
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setuid in -lc" >&5
20950 $as_echo_n "checking for setuid in -lc... " >&6; }
20951 if ${ac_cv_lib_c_setuid+:} false; then :
20952 $as_echo_n "(cached) " >&6
20954 ac_check_lib_save_LIBS=$LIBS
20956 if test x$gcc_no_link = xyes; then
20957 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20962 /* Override any GCC internal prototype to avoid an error.
20963 Use char because int might match the return type of a GCC
20964 builtin and then its argument prototype would still apply. */
20977 if ac_fn_c_try_link "$LINENO"; then :
20978 ac_cv_lib_c_setuid=yes
20980 ac_cv_lib_c_setuid=no
20982 rm -f core conftest.err conftest.$ac_objext \
20983 conftest$ac_exeext conftest.$ac_ext
20984 LIBS=$ac_check_lib_save_LIBS
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_setuid" >&5
20987 $as_echo "$ac_cv_lib_c_setuid" >&6; }
20988 if test "x$ac_cv_lib_c_setuid" = xyes; then :
20990 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
20994 $as_echo "#undef HAVE_SETUID" >>confdefs.h
20999 if test "x$ac_cv_lib_c_setuid" = xyes; then
21001 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21003 elif test "x$ac_cv_func_setuid" = xyes; then
21005 $as_echo "#define HAVE_SETUID 1" >>confdefs.h
21009 $as_echo "#undef HAVE_SETUID" >>confdefs.h
21015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for stat" >&5
21016 $as_echo_n "checking m2 front end checking c library for stat... " >&6; }
21017 if test x$gcc_no_link != xyes; then
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat in -lc" >&5
21019 $as_echo_n "checking for stat in -lc... " >&6; }
21020 if ${ac_cv_lib_c_stat+:} false; then :
21021 $as_echo_n "(cached) " >&6
21023 ac_check_lib_save_LIBS=$LIBS
21025 if test x$gcc_no_link = xyes; then
21026 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h. */
21031 /* Override any GCC internal prototype to avoid an error.
21032 Use char because int might match the return type of a GCC
21033 builtin and then its argument prototype would still apply. */
21046 if ac_fn_c_try_link "$LINENO"; then :
21047 ac_cv_lib_c_stat=yes
21049 ac_cv_lib_c_stat=no
21051 rm -f core conftest.err conftest.$ac_objext \
21052 conftest$ac_exeext conftest.$ac_ext
21053 LIBS=$ac_check_lib_save_LIBS
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_stat" >&5
21056 $as_echo "$ac_cv_lib_c_stat" >&6; }
21057 if test "x$ac_cv_lib_c_stat" = xyes; then :
21059 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21063 $as_echo "#undef HAVE_STAT" >>confdefs.h
21068 if test "x$ac_cv_lib_c_stat" = xyes; then
21070 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21072 elif test "x$ac_cv_func_stat" = xyes; then
21074 $as_echo "#define HAVE_STAT 1" >>confdefs.h
21078 $as_echo "#undef HAVE_STAT" >>confdefs.h
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strsignal" >&5
21085 $as_echo_n "checking m2 front end checking c library for strsignal... " >&6; }
21086 if test x$gcc_no_link != xyes; then
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strsignal in -lc" >&5
21088 $as_echo_n "checking for strsignal in -lc... " >&6; }
21089 if ${ac_cv_lib_c_strsignal+:} false; then :
21090 $as_echo_n "(cached) " >&6
21092 ac_check_lib_save_LIBS=$LIBS
21094 if test x$gcc_no_link = xyes; then
21095 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21100 /* Override any GCC internal prototype to avoid an error.
21101 Use char because int might match the return type of a GCC
21102 builtin and then its argument prototype would still apply. */
21110 return strsignal ();
21115 if ac_fn_c_try_link "$LINENO"; then :
21116 ac_cv_lib_c_strsignal=yes
21118 ac_cv_lib_c_strsignal=no
21120 rm -f core conftest.err conftest.$ac_objext \
21121 conftest$ac_exeext conftest.$ac_ext
21122 LIBS=$ac_check_lib_save_LIBS
21124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strsignal" >&5
21125 $as_echo "$ac_cv_lib_c_strsignal" >&6; }
21126 if test "x$ac_cv_lib_c_strsignal" = xyes; then :
21128 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21132 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
21137 if test "x$ac_cv_lib_c_strsignal" = xyes; then
21139 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21141 elif test "x$ac_cv_func_strsignal" = xyes; then
21143 $as_echo "#define HAVE_STRSIGNAL 1" >>confdefs.h
21147 $as_echo "#undef HAVE_STRSIGNAL" >>confdefs.h
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtod" >&5
21154 $as_echo_n "checking m2 front end checking c library for strtod... " >&6; }
21155 if test x$gcc_no_link != xyes; then
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtod in -lc" >&5
21157 $as_echo_n "checking for strtod in -lc... " >&6; }
21158 if ${ac_cv_lib_c_strtod+:} false; then :
21159 $as_echo_n "(cached) " >&6
21161 ac_check_lib_save_LIBS=$LIBS
21163 if test x$gcc_no_link = xyes; then
21164 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21167 /* end confdefs.h. */
21169 /* Override any GCC internal prototype to avoid an error.
21170 Use char because int might match the return type of a GCC
21171 builtin and then its argument prototype would still apply. */
21184 if ac_fn_c_try_link "$LINENO"; then :
21185 ac_cv_lib_c_strtod=yes
21187 ac_cv_lib_c_strtod=no
21189 rm -f core conftest.err conftest.$ac_objext \
21190 conftest$ac_exeext conftest.$ac_ext
21191 LIBS=$ac_check_lib_save_LIBS
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtod" >&5
21194 $as_echo "$ac_cv_lib_c_strtod" >&6; }
21195 if test "x$ac_cv_lib_c_strtod" = xyes; then :
21197 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21201 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
21206 if test "x$ac_cv_lib_c_strtod" = xyes; then
21208 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21210 elif test "x$ac_cv_func_strtod" = xyes; then
21212 $as_echo "#define HAVE_STRTOD 1" >>confdefs.h
21216 $as_echo "#undef HAVE_STRTOD" >>confdefs.h
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for strtold" >&5
21223 $as_echo_n "checking m2 front end checking c library for strtold... " >&6; }
21224 if test x$gcc_no_link != xyes; then
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold in -lc" >&5
21226 $as_echo_n "checking for strtold in -lc... " >&6; }
21227 if ${ac_cv_lib_c_strtold+:} false; then :
21228 $as_echo_n "(cached) " >&6
21230 ac_check_lib_save_LIBS=$LIBS
21232 if test x$gcc_no_link = xyes; then
21233 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h. */
21238 /* Override any GCC internal prototype to avoid an error.
21239 Use char because int might match the return type of a GCC
21240 builtin and then its argument prototype would still apply. */
21253 if ac_fn_c_try_link "$LINENO"; then :
21254 ac_cv_lib_c_strtold=yes
21256 ac_cv_lib_c_strtold=no
21258 rm -f core conftest.err conftest.$ac_objext \
21259 conftest$ac_exeext conftest.$ac_ext
21260 LIBS=$ac_check_lib_save_LIBS
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_strtold" >&5
21263 $as_echo "$ac_cv_lib_c_strtold" >&6; }
21264 if test "x$ac_cv_lib_c_strtold" = xyes; then :
21266 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21270 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
21275 if test "x$ac_cv_lib_c_strtold" = xyes; then
21277 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21279 elif test "x$ac_cv_func_strtold" = xyes; then
21281 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
21285 $as_echo "#undef HAVE_STRTOLD" >>confdefs.h
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for times" >&5
21292 $as_echo_n "checking m2 front end checking c library for times... " >&6; }
21293 if test x$gcc_no_link != xyes; then
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for times in -lc" >&5
21295 $as_echo_n "checking for times in -lc... " >&6; }
21296 if ${ac_cv_lib_c_times+:} false; then :
21297 $as_echo_n "(cached) " >&6
21299 ac_check_lib_save_LIBS=$LIBS
21301 if test x$gcc_no_link = xyes; then
21302 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h. */
21307 /* Override any GCC internal prototype to avoid an error.
21308 Use char because int might match the return type of a GCC
21309 builtin and then its argument prototype would still apply. */
21322 if ac_fn_c_try_link "$LINENO"; then :
21323 ac_cv_lib_c_times=yes
21325 ac_cv_lib_c_times=no
21327 rm -f core conftest.err conftest.$ac_objext \
21328 conftest$ac_exeext conftest.$ac_ext
21329 LIBS=$ac_check_lib_save_LIBS
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_times" >&5
21332 $as_echo "$ac_cv_lib_c_times" >&6; }
21333 if test "x$ac_cv_lib_c_times" = xyes; then :
21335 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21339 $as_echo "#undef HAVE_TIMES" >>confdefs.h
21344 if test "x$ac_cv_lib_c_times" = xyes; then
21346 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21348 elif test "x$ac_cv_func_times" = xyes; then
21350 $as_echo "#define HAVE_TIMES 1" >>confdefs.h
21354 $as_echo "#undef HAVE_TIMES" >>confdefs.h
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for timezone" >&5
21361 $as_echo_n "checking m2 front end checking c library for timezone... " >&6; }
21362 if test x$gcc_no_link != xyes; then
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone in -lc" >&5
21364 $as_echo_n "checking for timezone in -lc... " >&6; }
21365 if ${ac_cv_lib_c_timezone+:} false; then :
21366 $as_echo_n "(cached) " >&6
21368 ac_check_lib_save_LIBS=$LIBS
21370 if test x$gcc_no_link = xyes; then
21371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21376 /* Override any GCC internal prototype to avoid an error.
21377 Use char because int might match the return type of a GCC
21378 builtin and then its argument prototype would still apply. */
21386 return timezone ();
21391 if ac_fn_c_try_link "$LINENO"; then :
21392 ac_cv_lib_c_timezone=yes
21394 ac_cv_lib_c_timezone=no
21396 rm -f core conftest.err conftest.$ac_objext \
21397 conftest$ac_exeext conftest.$ac_ext
21398 LIBS=$ac_check_lib_save_LIBS
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_timezone" >&5
21401 $as_echo "$ac_cv_lib_c_timezone" >&6; }
21402 if test "x$ac_cv_lib_c_timezone" = xyes; then :
21404 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21408 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
21413 if test "x$ac_cv_lib_c_timezone" = xyes; then
21415 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21417 elif test "x$ac_cv_func_timezone" = xyes; then
21419 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
21423 $as_echo "#undef HAVE_TIMEZONE" >>confdefs.h
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for tzname" >&5
21430 $as_echo_n "checking m2 front end checking c library for tzname... " >&6; }
21431 if test x$gcc_no_link != xyes; then
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname in -lc" >&5
21433 $as_echo_n "checking for tzname in -lc... " >&6; }
21434 if ${ac_cv_lib_c_tzname+:} false; then :
21435 $as_echo_n "(cached) " >&6
21437 ac_check_lib_save_LIBS=$LIBS
21439 if test x$gcc_no_link = xyes; then
21440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21443 /* end confdefs.h. */
21445 /* Override any GCC internal prototype to avoid an error.
21446 Use char because int might match the return type of a GCC
21447 builtin and then its argument prototype would still apply. */
21460 if ac_fn_c_try_link "$LINENO"; then :
21461 ac_cv_lib_c_tzname=yes
21463 ac_cv_lib_c_tzname=no
21465 rm -f core conftest.err conftest.$ac_objext \
21466 conftest$ac_exeext conftest.$ac_ext
21467 LIBS=$ac_check_lib_save_LIBS
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_tzname" >&5
21470 $as_echo "$ac_cv_lib_c_tzname" >&6; }
21471 if test "x$ac_cv_lib_c_tzname" = xyes; then :
21473 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21477 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
21482 if test "x$ac_cv_lib_c_tzname" = xyes; then
21484 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21486 elif test "x$ac_cv_func_tzname" = xyes; then
21488 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21492 $as_echo "#undef HAVE_TZNAME" >>confdefs.h
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for unlink" >&5
21499 $as_echo_n "checking m2 front end checking c library for unlink... " >&6; }
21500 if test x$gcc_no_link != xyes; then
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlink in -lc" >&5
21502 $as_echo_n "checking for unlink in -lc... " >&6; }
21503 if ${ac_cv_lib_c_unlink+:} false; then :
21504 $as_echo_n "(cached) " >&6
21506 ac_check_lib_save_LIBS=$LIBS
21508 if test x$gcc_no_link = xyes; then
21509 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21514 /* Override any GCC internal prototype to avoid an error.
21515 Use char because int might match the return type of a GCC
21516 builtin and then its argument prototype would still apply. */
21529 if ac_fn_c_try_link "$LINENO"; then :
21530 ac_cv_lib_c_unlink=yes
21532 ac_cv_lib_c_unlink=no
21534 rm -f core conftest.err conftest.$ac_objext \
21535 conftest$ac_exeext conftest.$ac_ext
21536 LIBS=$ac_check_lib_save_LIBS
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_unlink" >&5
21539 $as_echo "$ac_cv_lib_c_unlink" >&6; }
21540 if test "x$ac_cv_lib_c_unlink" = xyes; then :
21542 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21546 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
21551 if test "x$ac_cv_lib_c_unlink" = xyes; then
21553 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21555 elif test "x$ac_cv_func_unlink" = xyes; then
21557 $as_echo "#define HAVE_UNLINK 1" >>confdefs.h
21561 $as_echo "#undef HAVE_UNLINK" >>confdefs.h
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for wait" >&5
21568 $as_echo_n "checking m2 front end checking c library for wait... " >&6; }
21569 if test x$gcc_no_link != xyes; then
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait in -lc" >&5
21571 $as_echo_n "checking for wait in -lc... " >&6; }
21572 if ${ac_cv_lib_c_wait+:} false; then :
21573 $as_echo_n "(cached) " >&6
21575 ac_check_lib_save_LIBS=$LIBS
21577 if test x$gcc_no_link = xyes; then
21578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h. */
21583 /* Override any GCC internal prototype to avoid an error.
21584 Use char because int might match the return type of a GCC
21585 builtin and then its argument prototype would still apply. */
21598 if ac_fn_c_try_link "$LINENO"; then :
21599 ac_cv_lib_c_wait=yes
21601 ac_cv_lib_c_wait=no
21603 rm -f core conftest.err conftest.$ac_objext \
21604 conftest$ac_exeext conftest.$ac_ext
21605 LIBS=$ac_check_lib_save_LIBS
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_wait" >&5
21608 $as_echo "$ac_cv_lib_c_wait" >&6; }
21609 if test "x$ac_cv_lib_c_wait" = xyes; then :
21611 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21615 $as_echo "#undef HAVE_WAIT" >>confdefs.h
21620 if test "x$ac_cv_lib_c_wait" = xyes; then
21622 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21624 elif test "x$ac_cv_func_wait" = xyes; then
21626 $as_echo "#define HAVE_WAIT 1" >>confdefs.h
21630 $as_echo "#undef HAVE_WAIT" >>confdefs.h
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking c library for write" >&5
21637 $as_echo_n "checking m2 front end checking c library for write... " >&6; }
21638 if test x$gcc_no_link != xyes; then
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for write in -lc" >&5
21640 $as_echo_n "checking for write in -lc... " >&6; }
21641 if ${ac_cv_lib_c_write+:} false; then :
21642 $as_echo_n "(cached) " >&6
21644 ac_check_lib_save_LIBS=$LIBS
21646 if test x$gcc_no_link = xyes; then
21647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21650 /* end confdefs.h. */
21652 /* Override any GCC internal prototype to avoid an error.
21653 Use char because int might match the return type of a GCC
21654 builtin and then its argument prototype would still apply. */
21667 if ac_fn_c_try_link "$LINENO"; then :
21668 ac_cv_lib_c_write=yes
21670 ac_cv_lib_c_write=no
21672 rm -f core conftest.err conftest.$ac_objext \
21673 conftest$ac_exeext conftest.$ac_ext
21674 LIBS=$ac_check_lib_save_LIBS
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_write" >&5
21677 $as_echo "$ac_cv_lib_c_write" >&6; }
21678 if test "x$ac_cv_lib_c_write" = xyes; then :
21680 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21684 $as_echo "#undef HAVE_WRITE" >>confdefs.h
21689 if test "x$ac_cv_lib_c_write" = xyes; then
21691 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21693 elif test "x$ac_cv_func_write" = xyes; then
21695 $as_echo "#define HAVE_WRITE 1" >>confdefs.h
21699 $as_echo "#undef HAVE_WRITE" >>confdefs.h
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbit" >&5
21707 $as_echo_n "checking m2 front end checking m library for signbit... " >&6; }
21708 if test x$gcc_no_link != xyes; then
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
21710 $as_echo_n "checking for signbit in -lm... " >&6; }
21711 if ${ac_cv_lib_m_signbit+:} false; then :
21712 $as_echo_n "(cached) " >&6
21714 ac_check_lib_save_LIBS=$LIBS
21716 if test x$gcc_no_link = xyes; then
21717 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21720 /* end confdefs.h. */
21722 /* Override any GCC internal prototype to avoid an error.
21723 Use char because int might match the return type of a GCC
21724 builtin and then its argument prototype would still apply. */
21737 if ac_fn_c_try_link "$LINENO"; then :
21738 ac_cv_lib_m_signbit=yes
21740 ac_cv_lib_m_signbit=no
21742 rm -f core conftest.err conftest.$ac_objext \
21743 conftest$ac_exeext conftest.$ac_ext
21744 LIBS=$ac_check_lib_save_LIBS
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
21747 $as_echo "$ac_cv_lib_m_signbit" >&6; }
21748 if test "x$ac_cv_lib_m_signbit" = xyes; then :
21750 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
21754 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
21759 if test "x$ac_cv_lib_m_signbit" = xyes; then
21761 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
21763 elif test "x$ac_cv_func_signbit" = xyes; then
21765 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
21769 $as_echo "#undef HAVE_SIGNBIT" >>confdefs.h
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitf" >&5
21776 $as_echo_n "checking m2 front end checking m library for signbitf... " >&6; }
21777 if test x$gcc_no_link != xyes; then
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
21779 $as_echo_n "checking for signbitf in -lm... " >&6; }
21780 if ${ac_cv_lib_m_signbitf+:} false; then :
21781 $as_echo_n "(cached) " >&6
21783 ac_check_lib_save_LIBS=$LIBS
21785 if test x$gcc_no_link = xyes; then
21786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h. */
21791 /* Override any GCC internal prototype to avoid an error.
21792 Use char because int might match the return type of a GCC
21793 builtin and then its argument prototype would still apply. */
21801 return signbitf ();
21806 if ac_fn_c_try_link "$LINENO"; then :
21807 ac_cv_lib_m_signbitf=yes
21809 ac_cv_lib_m_signbitf=no
21811 rm -f core conftest.err conftest.$ac_objext \
21812 conftest$ac_exeext conftest.$ac_ext
21813 LIBS=$ac_check_lib_save_LIBS
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
21816 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
21817 if test "x$ac_cv_lib_m_signbitf" = xyes; then :
21819 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
21823 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
21828 if test "x$ac_cv_lib_m_signbitf" = xyes; then
21830 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
21832 elif test "x$ac_cv_func_signbitf" = xyes; then
21834 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
21838 $as_echo "#undef HAVE_SIGNBITF" >>confdefs.h
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end checking m library for signbitl" >&5
21845 $as_echo_n "checking m2 front end checking m library for signbitl... " >&6; }
21846 if test x$gcc_no_link != xyes; then
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
21848 $as_echo_n "checking for signbitl in -lm... " >&6; }
21849 if ${ac_cv_lib_m_signbitl+:} false; then :
21850 $as_echo_n "(cached) " >&6
21852 ac_check_lib_save_LIBS=$LIBS
21854 if test x$gcc_no_link = xyes; then
21855 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21860 /* Override any GCC internal prototype to avoid an error.
21861 Use char because int might match the return type of a GCC
21862 builtin and then its argument prototype would still apply. */
21870 return signbitl ();
21875 if ac_fn_c_try_link "$LINENO"; then :
21876 ac_cv_lib_m_signbitl=yes
21878 ac_cv_lib_m_signbitl=no
21880 rm -f core conftest.err conftest.$ac_objext \
21881 conftest$ac_exeext conftest.$ac_ext
21882 LIBS=$ac_check_lib_save_LIBS
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
21885 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
21886 if test "x$ac_cv_lib_m_signbitl" = xyes; then :
21888 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
21892 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
21897 if test "x$ac_cv_lib_m_signbitl" = xyes; then
21899 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
21901 elif test "x$ac_cv_func_signbitl" = xyes; then
21903 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
21907 $as_echo "#undef HAVE_SIGNBITL" >>confdefs.h
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has finished checking target libc and libm contents." >&5
21914 $as_echo "$as_me: libgm2 has finished checking target libc and libm contents." >&6;}
21916 # We test the host here and later on check the target.
21918 # All known M2_HOST_OS values. This is the union of all host operating systems
21919 # supported by gm2.
21921 M2_SUPPORTED_HOST_OS="aix freebsd hurd linux netbsd openbsd solaris windows darwin"
21926 *-*-darwin*) M2_HOST_OS=darwin ;;
21927 *-*-freebsd*) M2_HOST_OS=freebsd ;;
21928 *-*-linux*) M2_HOST_OS=linux ;;
21929 *-*-netbsd*) M2_HOST_OS=netbsd ;;
21930 *-*-openbsd*) M2_HOST_OS=openbsd ;;
21931 *-*-solaris2*) M2_HOST_OS=solaris ;;
21932 *-*-aix*) M2_HOST_OS=aix ;;
21933 *-*-gnu*) M2_HOST_OS=hurd ;;
21936 M2_TARGET_OS=unknown
21939 *-*-darwin*) M2_TARGET_OS=darwin ;;
21940 *-*-freebsd*) M2_TARGET_OS=freebsd ;;
21941 *-*-linux*) M2_TARGET_OS=linux ;;
21942 *-*-netbsd*) M2_TARGET_OS=netbsd ;;
21943 *-*-openbsd*) M2_TARGET_OS=openbsd ;;
21944 *-*-solaris2*) M2_TARGET_OS=solaris ;;
21945 *-*-aix*) M2_TARGET_OS=aix ;;
21946 *-*-gnu*) M2_TARGET_OS=hurd ;;
21949 # M2_HOST_OS=unknown
21950 if test x${M2_HOST_OS} = xunknown; then
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported host, will build a minimal m2 library" >&5
21952 $as_echo "$as_me: unsupported host, will build a minimal m2 library" >&6;}
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library will be built on ${M2_HOST_OS}" >&5
21959 $as_echo "$as_me: m2 library will be built on ${M2_HOST_OS}" >&6;}
21966 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
21969 # Propagate GM2_FOR_TARGET into Makefiles
21970 GM2_FOR_TARGET=${GM2_FOR_TARGET:-gcc}
21973 # Now we check the target as long as it is a supported host.
21974 # For some embedded targets we choose minimal runtime system which is
21975 # just enough to satisfy the linker targetting raw metal.
21976 if test x${M2_HOST_OS} != xunknown; then
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 library building for target ${target}" >&5
21978 $as_echo "$as_me: m2 library building for target ${target}" >&6;}
21981 avr25*-*-* | avr31*-*-* | avr35*-*-* | avr4*-*-* | avr5*-*-* | avr51*-*-* | avr6*-*-*)
21988 avrxmega2*-*-* | avrxmega4*-*-* | avrxmega5*-*-* | avrxmega6*-*-* | avrxmega7*-*-*)
22011 # GM2_MSG_RESULT issue a query message from the first parameter and a boolean result
22012 # in the second parameter is printed as a "yes" or "no".
22016 if test x${M2_HOST_OS} = xunknown; then
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: m2 front end will only build minimal Modula-2 runtime library on this host" >&5
22018 $as_echo "$as_me: m2 front end will only build minimal Modula-2 runtime library on this host" >&6;}
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build PIM libraries:" >&5
22022 $as_echo_n "checking m2 front end will build PIM libraries:... " >&6; }
22023 if test x${BUILD_PIMLIB} = xtrue; then
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22025 $as_echo "yes" >&6; }
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22028 $as_echo "no" >&6; }
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build ISO libraries:" >&5
22033 $as_echo_n "checking m2 front end will build ISO libraries:... " >&6; }
22034 if test x${BUILD_ISOLIB} = xtrue; then
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22036 $as_echo "yes" >&6; }
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22039 $as_echo "no" >&6; }
22043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build coroutine libraries:" >&5
22044 $as_echo_n "checking m2 front end will build coroutine libraries:... " >&6; }
22045 if test x${BUILD_CORLIB} = xtrue; then
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22047 $as_echo "yes" >&6; }
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22050 $as_echo "no" >&6; }
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking m2 front end will build Logitech compatability libraries:" >&5
22055 $as_echo_n "checking m2 front end will build Logitech compatability libraries:... " >&6; }
22056 if test x${BUILD_LOGLIB} = xtrue; then
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22058 $as_echo "yes" >&6; }
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22061 $as_echo "no" >&6; }
22066 if test x$BUILD_PIMLIB = xtrue; then
22068 BUILD_PIMLIB_FALSE='#'
22070 BUILD_PIMLIB_TRUE='#'
22071 BUILD_PIMLIB_FALSE=
22074 if test x$BUILD_ISOLIB = xtrue; then
22076 BUILD_ISOLIB_FALSE='#'
22078 BUILD_ISOLIB_TRUE='#'
22079 BUILD_ISOLIB_FALSE=
22082 if test x$BUILD_CORLIB = xtrue; then
22084 BUILD_CORLIB_FALSE='#'
22086 BUILD_CORLIB_TRUE='#'
22087 BUILD_CORLIB_FALSE=
22090 if test x$BUILD_LOGLIB = xtrue; then
22092 BUILD_LOGLIB_FALSE='#'
22094 BUILD_LOGLIB_TRUE='#'
22095 BUILD_LOGLIB_FALSE=
22098 if test x$M2_TARGET_OS = xdarwin; then
22099 TARGET_DARWIN_TRUE=
22100 TARGET_DARWIN_FALSE='#'
22102 TARGET_DARWIN_TRUE='#'
22103 TARGET_DARWIN_FALSE=
22107 # Determine what GCC version number to use in filesystem paths.
22109 get_gcc_base_ver="cat"
22111 # Check whether --with-gcc-major-version-only was given.
22112 if test "${with_gcc_major_version_only+set}" = set; then :
22113 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
22114 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
22123 ac_config_files="$ac_config_files Makefile"
22126 ac_config_files="$ac_config_files libm2min/Makefile libm2pim/Makefile libm2iso/Makefile libm2cor/Makefile libm2log/Makefile"
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: libgm2 has been configured." >&5
22130 $as_echo "$as_me: libgm2 has been configured." >&6;}
22132 cat >confcache <<\_ACEOF
22133 # This file is a shell script that caches the results of configure
22134 # tests run on this system so they can be shared between configure
22135 # scripts and configure runs, see configure's option --config-cache.
22136 # It is not useful on other systems. If it contains results you don't
22137 # want to keep, you may remove or edit it.
22139 # config.status only pays attention to the cache file if you give it
22140 # the --recheck option to rerun configure.
22142 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22143 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22144 # following values.
22148 # The following way of writing the cache mishandles newlines in values,
22149 # but we know of no workaround that is simple, portable, and efficient.
22150 # So, we kill variables containing newlines.
22151 # Ultrix sh set writes to stderr and can't be redirected directly,
22152 # and sets the high bit in the cache file unless we assign to the vars.
22154 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22155 eval ac_val
=\$
$ac_var
22159 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22160 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22163 _ | IFS | as_nl
) ;; #(
22164 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22165 *) { eval $ac_var=; unset $ac_var;} ;;
22171 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22172 *${as_nl}ac_space
=\
*)
22173 # `set' does not quote correctly, so add quotes: double-quote
22174 # substitution turns \\\\ into \\, and sed turns \\ into \.
22177 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22180 # `set' quotes correctly as required by POSIX, so do not add quotes.
22181 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22190 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22192 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22194 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22195 if test -w "$cache_file"; then
22196 if test "x$cache_file" != "x/dev/null"; then
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22198 $as_echo "$as_me: updating cache $cache_file" >&6;}
22199 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22200 cat confcache
>"$cache_file"
22202 case $cache_file in #(
22204 mv -f confcache
"$cache_file"$$
&&
22205 mv -f "$cache_file"$$
"$cache_file" ;; #(
22207 mv -f confcache
"$cache_file" ;;
22212 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22213 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22218 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22219 # Let make expand exec_prefix.
22220 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22222 DEFS
=-DHAVE_CONFIG_H
22227 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22228 # 1. Remove the extension, and $U if already installed.
22229 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22230 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22231 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22232 # will be set to the directory where LIBOBJS objects are built.
22233 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22234 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22236 LIBOBJS
=$ac_libobjs
22238 LTLIBOBJS
=$ac_ltlibobjs
22241 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22242 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22246 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22247 if test -n "$am_sleep_pid"; then
22248 # Hide warnings about reused PIDs.
22249 wait $am_sleep_pid 2>/dev
/null
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22252 $as_echo "done" >&6; }
22253 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22254 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22257 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22258 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22261 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22262 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22265 if test -n "$EXEEXT"; then
22267 am__EXEEXT_FALSE
='#'
22269 am__EXEEXT_TRUE
='#'
22273 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22274 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22277 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
22278 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
22279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22281 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
22282 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
22283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22285 if test -z "${BUILD_PIMLIB_TRUE}" && test -z "${BUILD_PIMLIB_FALSE}"; then
22286 as_fn_error $?
"conditional \"BUILD_PIMLIB\" was never defined.
22287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22289 if test -z "${BUILD_ISOLIB_TRUE}" && test -z "${BUILD_ISOLIB_FALSE}"; then
22290 as_fn_error $?
"conditional \"BUILD_ISOLIB\" was never defined.
22291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22293 if test -z "${BUILD_CORLIB_TRUE}" && test -z "${BUILD_CORLIB_FALSE}"; then
22294 as_fn_error $?
"conditional \"BUILD_CORLIB\" was never defined.
22295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22297 if test -z "${BUILD_LOGLIB_TRUE}" && test -z "${BUILD_LOGLIB_FALSE}"; then
22298 as_fn_error $?
"conditional \"BUILD_LOGLIB\" was never defined.
22299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22301 if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
22302 as_fn_error $?
"conditional \"TARGET_DARWIN\" was never defined.
22303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22306 : "${CONFIG_STATUS=./config.status}"
22308 ac_clean_files_save
=$ac_clean_files
22309 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22311 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22313 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22315 # Generated by $as_me.
22316 # Run this file to recreate the current configuration.
22317 # Compiler output produced by configure, useful for debugging
22318 # configure, is in config.log if it exists.
22321 ac_cs_recheck=false
22324 SHELL=\${CONFIG_SHELL-$SHELL}
22327 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22328 ## -------------------- ##
22329 ## M4sh Initialization. ##
22330 ## -------------------- ##
22332 # Be more Bourne compatible
22333 DUALCASE
=1; export DUALCASE
# for MKS sh
22334 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22337 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22338 # is contrary to our usage. Disable this feature.
22339 alias -g '${1+"$@"}'='"$@"'
22340 setopt NO_GLOB_SUBST
22342 case `(set -o) 2>/dev/null` in #(
22354 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22355 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22356 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22358 # Prefer a ksh shell builtin over an external printf program on Solaris,
22359 # but without wasting forks for bash or zsh.
22360 if test -z "$BASH_VERSION$ZSH_VERSION" \
22361 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22362 as_echo='print
-r --'
22363 as_echo_n='print
-rn --'
22364 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22365 as_echo='printf %s
\n'
22366 as_echo_n='printf %s
'
22368 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22369 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22370 as_echo_n='/usr
/ucb
/echo -n'
22372 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22373 as_echo_n_body='eval
22377 expr "X$arg" : "X\\(.*\\)$as_nl";
22378 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22380 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22382 export as_echo_n_body
22383 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22385 export as_echo_body
22386 as_echo='sh
-c $as_echo_body as_echo
'
22389 # The user is always right.
22390 if test "${PATH_SEPARATOR+set}" != set; then
22392 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22393 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22400 # We need space, tab and new line, in precisely that order. Quoting is
22401 # there to prevent editors from complaining about space-tab.
22402 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22403 # splitting by setting IFS to empty value.)
22406 # Find who we are. Look in the path if we contain no directory separator.
22409 *[\\/]* ) as_myself=$0 ;;
22410 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22411 for as_dir in $PATH
22414 test -z "$as_dir" && as_dir=.
22415 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22421 # We did not find ourselves, most probably we were run as `sh COMMAND'
22422 # in which case we are not to be found in the path.
22423 if test "x$as_myself" = x
; then
22426 if test ! -f "$as_myself"; then
22427 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22431 # Unset variables that we do not need and which cause bugs (e.g. in
22432 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22433 # suppresses any "Segmentation fault" message there. '((' could
22434 # trigger a bug in pdksh 5.2.14.
22435 for as_var
in BASH_ENV ENV MAIL MAILPATH
22436 do eval test x\
${$as_var+set} = xset \
22437 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22450 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22453 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22454 # ----------------------------------------
22455 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22456 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22457 # script with STATUS, using 1 if that was 0.
22460 as_status
=$1; test $as_status -eq 0 && as_status
=1
22462 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22463 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22465 $as_echo "$as_me: error: $2" >&2
22466 as_fn_exit
$as_status
22470 # as_fn_set_status STATUS
22471 # -----------------------
22472 # Set $? to STATUS, without forking.
22473 as_fn_set_status
()
22476 } # as_fn_set_status
22478 # as_fn_exit STATUS
22479 # -----------------
22480 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22484 as_fn_set_status
$1
22490 # Portably unset VAR.
22493 { eval $1=; unset $1;}
22495 as_unset
=as_fn_unset
22496 # as_fn_append VAR VALUE
22497 # ----------------------
22498 # Append the text in VALUE to the end of the definition contained in VAR. Take
22499 # advantage of any shell optimizations that allow amortized linear growth over
22500 # repeated appends, instead of the typical quadratic growth present in naive
22502 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22503 eval 'as_fn_append ()
22514 # as_fn_arith ARG...
22515 # ------------------
22516 # Perform arithmetic evaluation on the ARGs, and store the result in the
22517 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22518 # must be portable across $(()) and expr.
22519 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22520 eval 'as_fn_arith ()
22527 as_val
=`expr "$@" || test $? -eq 1`
22532 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22533 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22539 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22540 as_basename
=basename
22545 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22551 as_me
=`$as_basename -- "$0" ||
22552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22553 X"$0" : 'X\(//\)$' \| \
22554 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22556 sed '/^.*\/\([^/][^/]*\)\/*$/{
22570 # Avoid depending upon Character Ranges.
22571 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22572 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22573 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22574 as_cr_digits
='0123456789'
22575 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22577 ECHO_C
= ECHO_N
= ECHO_T
=
22578 case `echo -n x` in #(((((
22580 case `echo 'xy\c'` in
22581 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22583 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22590 rm -f conf$$ conf$$.exe conf$$.
file
22591 if test -d conf$$.dir
; then
22592 rm -f conf$$.dir
/conf$$.
file
22595 mkdir conf$$.dir
2>/dev
/null
22597 if (echo >conf$$.
file) 2>/dev
/null
; then
22598 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22600 # ... but there are two gotchas:
22601 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22602 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22603 # In both cases, we have to default to `cp -pR'.
22604 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22606 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22614 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22615 rmdir conf$$.dir
2>/dev
/null
22620 # Create "$as_dir" as a directory, including parents if necessary.
22625 -*) as_dir
=.
/$as_dir;;
22627 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22631 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22632 *) as_qdir
=$as_dir;;
22634 as_dirs
="'$as_qdir' $as_dirs"
22635 as_dir
=`$as_dirname -- "$as_dir" ||
22636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22637 X"$as_dir" : 'X\(//\)[^/]' \| \
22638 X"$as_dir" : 'X\(//\)$' \| \
22639 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22640 $as_echo X"$as_dir" |
22641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22645 /^X\(\/\/\)[^/].*/{
22658 test -d "$as_dir" && break
22660 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22661 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22665 if mkdir
-p .
2>/dev
/null
; then
22666 as_mkdir_p
='mkdir -p "$as_dir"'
22668 test -d .
/-p && rmdir .
/-p
22673 # as_fn_executable_p FILE
22674 # -----------------------
22675 # Test if FILE is an executable regular file.
22676 as_fn_executable_p
()
22678 test -f "$1" && test -x "$1"
22679 } # as_fn_executable_p
22680 as_test_x
='test -x'
22681 as_executable_p
=as_fn_executable_p
22683 # Sed expression to map a string onto a valid CPP name.
22684 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22686 # Sed expression to map a string onto a valid variable name.
22687 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22691 ## ----------------------------------- ##
22692 ## Main body of $CONFIG_STATUS script. ##
22693 ## ----------------------------------- ##
22695 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22698 # Save the log message, to keep $0 and so on meaningful, and to
22699 # report actual input values of CONFIG_FILES etc. instead of their
22700 # values after options handling.
22702 This file was extended by package-unused $as_me version-unused, which was
22703 generated by GNU Autoconf 2.69. Invocation command line was
22705 CONFIG_FILES = $CONFIG_FILES
22706 CONFIG_HEADERS = $CONFIG_HEADERS
22707 CONFIG_LINKS = $CONFIG_LINKS
22708 CONFIG_COMMANDS = $CONFIG_COMMANDS
22711 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22716 case $ac_config_files in *"
22717 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22720 case $ac_config_headers in *"
22721 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22726 # Files that config.status was made for.
22727 config_files="$ac_config_files"
22728 config_headers="$ac_config_headers"
22729 config_commands="$ac_config_commands"
22733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22735 \`$as_me' instantiates files and other configuration actions
22736 from templates according to the current configuration. Unless the files
22737 and actions are specified as TAGs, all are instantiated by default.
22739 Usage: $0 [OPTION]... [TAG]...
22741 -h, --help print this help, then exit
22742 -V, --version print version number and configuration settings, then exit
22743 --config print configuration, then exit
22744 -q, --quiet, --silent
22745 do not print progress messages
22746 -d, --debug don't remove temporary files
22747 --recheck update $as_me by reconfiguring in the same conditions
22748 --file=FILE[:TEMPLATE]
22749 instantiate the configuration file FILE
22750 --header=FILE[:TEMPLATE]
22751 instantiate the configuration header FILE
22753 Configuration files:
22756 Configuration headers:
22759 Configuration commands:
22762 Report bugs to the package provider."
22765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22766 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22768 package-unused config.status version-unused
22769 configured by $0, generated by GNU Autoconf 2.69,
22770 with options \\"\$ac_cs_config\\"
22772 Copyright (C) 2012 Free Software Foundation, Inc.
22773 This config.status script is free software; the Free Software Foundation
22774 gives unlimited permission to copy, distribute and modify it."
22781 test -n "\$AWK" || AWK=awk
22784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22785 # The default lists apply if the user does not specify any file.
22791 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22792 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22796 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22808 # Handling of the options.
22809 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22811 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22812 $as_echo "$ac_cs_version"; exit ;;
22813 --config |
--confi |
--conf |
--con |
--co |
--c )
22814 $as_echo "$ac_cs_config"; exit ;;
22815 --debug |
--debu |
--deb |
--de |
--d |
-d )
22817 --file |
--fil |
--fi |
--f )
22820 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22821 '') as_fn_error $?
"missing file argument" ;;
22823 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22824 ac_need_defaults
=false
;;
22825 --header |
--heade |
--head |
--hea )
22828 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22830 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22831 ac_need_defaults
=false
;;
22833 # Conflict between --help and --header
22834 as_fn_error $?
"ambiguous option: \`$1'
22835 Try \`$0 --help' for more information.";;
22836 --help |
--hel |
-h )
22837 $as_echo "$ac_cs_usage"; exit ;;
22838 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22839 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22842 # This is an error.
22843 -*) as_fn_error $?
"unrecognized option: \`$1'
22844 Try \`$0 --help' for more information." ;;
22846 *) as_fn_append ac_config_targets
" $1"
22847 ac_need_defaults
=false
;;
22853 ac_configure_extra_args
=
22855 if $ac_cs_silent; then
22857 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22862 if \$ac_cs_recheck; then
22863 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22865 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22866 CONFIG_SHELL='$SHELL'
22867 export CONFIG_SHELL
22872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22876 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22877 ## Running $as_me. ##
22883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22891 with_multisubdir="$with_multisubdir"
22892 with_multisrctop="$with_multisrctop"
22893 with_target_subdir="$with_target_subdir"
22894 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22895 multi_basedir="$multi_basedir"
22896 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22899 GFORTRAN="$GFORTRAN"
22901 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22904 # The HP-UX ksh and POSIX shell print the target directory to stdout
22905 # if CDPATH is set.
22906 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22908 sed_quote_subst='$sed_quote_subst'
22909 double_quote_subst='$double_quote_subst'
22910 delay_variable_subst='$delay_variable_subst'
22911 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22912 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22913 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22914 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22915 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22916 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22917 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22918 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22919 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22920 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22921 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22922 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22923 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22924 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22925 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22926 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22927 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22928 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22929 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22930 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22931 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22932 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22933 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22934 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22935 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22936 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22937 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22938 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22939 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22940 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22941 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22942 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22943 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22944 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22945 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22946 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22947 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22948 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22949 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22950 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22951 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22952 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22953 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22954 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22955 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22956 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22957 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22958 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22959 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"`'
22960 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22961 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22962 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22963 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22964 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22965 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22966 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22967 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22968 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22969 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22970 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22971 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22972 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22973 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22974 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22975 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22976 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22977 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22978 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22979 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22980 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22981 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22982 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22983 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22984 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22985 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22986 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22987 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22988 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22989 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22990 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22991 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
22992 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22993 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22994 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22995 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22996 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22997 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22998 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22999 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23000 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
23001 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23002 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23003 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23004 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23005 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23006 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23007 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23008 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23009 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23010 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23011 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23012 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23013 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23014 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23015 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23016 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23017 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23018 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23019 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23020 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23021 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23022 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23023 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23024 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
23025 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23026 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23027 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23028 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23029 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23030 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23031 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
23032 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
23033 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
23034 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
23035 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
23036 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
23037 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
23038 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
23039 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23040 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23041 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
23042 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
23043 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
23044 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
23045 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
23046 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
23047 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
23048 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
23049 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
23050 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23051 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23052 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
23053 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23054 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23055 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23056 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23057 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23058 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23059 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
23060 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23061 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
23062 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
23063 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
23064 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
23065 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
23066 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
23067 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
23068 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
23069 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
23070 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
23071 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
23072 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
23073 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
23074 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23075 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23076 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
23077 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
23078 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
23079 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
23080 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
23081 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23082 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
23083 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
23084 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
23085 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
23088 LTCFLAGS='$LTCFLAGS'
23089 compiler='$compiler_DEFAULT'
23091 # A function that is used when there is no print builtin or printf.
23092 func_fallback_echo ()
23094 eval 'cat <<_LTECHO_EOF
23099 # Quote evaled strings.
23113 deplibs_check_method \
23122 lt_cv_sys_global_symbol_pipe \
23123 lt_cv_sys_global_symbol_to_cdecl \
23124 lt_cv_sys_global_symbol_to_c_name_address \
23125 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23126 lt_prog_compiler_no_builtin_flag \
23127 lt_prog_compiler_wl \
23128 lt_prog_compiler_pic \
23129 lt_prog_compiler_static \
23130 lt_cv_prog_compiler_c_o \
23138 export_dynamic_flag_spec \
23139 whole_archive_flag_spec \
23140 compiler_needs_object \
23142 allow_undefined_flag \
23143 no_undefined_flag \
23144 hardcode_libdir_flag_spec \
23145 hardcode_libdir_flag_spec_ld \
23146 hardcode_libdir_separator \
23151 variables_saved_for_relink \
23153 library_names_spec \
23155 install_override_mode \
23159 compiler_lib_search_dirs \
23164 compiler_lib_search_path \
23168 lt_prog_compiler_no_builtin_flag_CXX \
23169 lt_prog_compiler_wl_CXX \
23170 lt_prog_compiler_pic_CXX \
23171 lt_prog_compiler_static_CXX \
23172 lt_cv_prog_compiler_c_o_CXX \
23173 export_dynamic_flag_spec_CXX \
23174 whole_archive_flag_spec_CXX \
23175 compiler_needs_object_CXX \
23177 allow_undefined_flag_CXX \
23178 no_undefined_flag_CXX \
23179 hardcode_libdir_flag_spec_CXX \
23180 hardcode_libdir_flag_spec_ld_CXX \
23181 hardcode_libdir_separator_CXX \
23182 fix_srcfile_path_CXX \
23183 exclude_expsyms_CXX \
23184 include_expsyms_CXX \
23185 file_list_spec_CXX \
23186 compiler_lib_search_dirs_CXX \
23187 predep_objects_CXX \
23188 postdep_objects_CXX \
23191 compiler_lib_search_path_CXX; do
23192 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23193 *[\\\\\\\`\\"\\\$]*)
23194 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23197 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23202 # Double-quote double-evaled strings.
23203 for var in reload_cmds \
23204 old_postinstall_cmds \
23205 old_postuninstall_cmds \
23207 extract_expsyms_cmds \
23208 old_archive_from_new_cmds \
23209 old_archive_from_expsyms_cmds \
23211 archive_expsym_cmds \
23213 module_expsym_cmds \
23214 export_symbols_cmds \
23217 postuninstall_cmds \
23219 sys_lib_search_path_spec \
23220 sys_lib_dlsearch_path_spec \
23222 old_archive_cmds_CXX \
23223 old_archive_from_new_cmds_CXX \
23224 old_archive_from_expsyms_cmds_CXX \
23226 archive_expsym_cmds_CXX \
23228 module_expsym_cmds_CXX \
23229 export_symbols_cmds_CXX \
23230 prelink_cmds_CXX; do
23231 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23232 *[\\\\\\\`\\"\\\$]*)
23233 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23236 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23241 ac_aux_dir='$ac_aux_dir'
23242 xsi_shell='$xsi_shell'
23243 lt_shell_append='$lt_shell_append'
23245 # See if we are running on zsh, and set the options which allow our
23246 # commands through without removal of \ escapes INIT.
23247 if test -n "\${ZSH_VERSION+set}" ; then
23248 setopt NO_GLOB_SUBST
23254 TIMESTAMP='$TIMESTAMP'
23265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23267 # Handling of arguments.
23268 for ac_config_target
in $ac_config_targets
23270 case $ac_config_target in
23271 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23272 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23273 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23274 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23275 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23276 "libm2min/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2min/Makefile" ;;
23277 "libm2pim/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2pim/Makefile" ;;
23278 "libm2iso/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2iso/Makefile" ;;
23279 "libm2cor/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2cor/Makefile" ;;
23280 "libm2log/Makefile") CONFIG_FILES
="$CONFIG_FILES libm2log/Makefile" ;;
23282 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23287 # If the user did not use the arguments to specify the items to instantiate,
23288 # then the envvar interface is used. Set only those that are not.
23289 # We use the long form for the default assignment because of an extremely
23290 # bizarre bug on SunOS 4.1.3.
23291 if $ac_need_defaults; then
23292 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23293 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23294 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23297 # Have a temporary directory for convenience. Make it in the build tree
23298 # simply because there is no reason against having it here, and in addition,
23299 # creating and moving files from /tmp can sometimes cause problems.
23300 # Hook for its removal unless debugging.
23301 # Note that there is a small window in which the directory will not be cleaned:
23302 # after its creation but before its name has been assigned to `$tmp'.
23306 trap 'exit_status=$?
23307 : "${ac_tmp:=$tmp}"
23308 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23310 trap 'as_fn_exit 1' 1 2 13 15
23312 # Create a (secure) tmp directory for tmp files.
23315 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23319 tmp
=.
/conf$$
-$RANDOM
23320 (umask 077 && mkdir
"$tmp")
23321 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23324 # Set up the scripts for CONFIG_FILES section.
23325 # No need to generate them if there are no CONFIG_FILES.
23326 # This happens for instance with `./config.status config.h'.
23327 if test -n "$CONFIG_FILES"; then
23330 ac_cr
=`echo X | tr X '\015'`
23331 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23332 # But we know of no other shell where ac_cr would be empty at this
23333 # point, so we can use a bashism as a fallback.
23334 if test "x$ac_cr" = x
; then
23335 eval ac_cr
=\$
\'\\r
\'
23337 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23338 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23341 ac_cs_awk_cr
=$ac_cr
23344 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23349 echo "cat >conf$$subs.awk <<_ACEOF" &&
23350 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23352 } >conf$$subs.sh ||
23353 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23354 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23356 for ac_last_try in false false false false false :; do
23357 . ./conf$$subs.sh ||
23358 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23360 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23361 if test $ac_delim_n = $ac_delim_num; then
23363 elif $ac_last_try; then
23364 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23366 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23369 rm -f conf$$subs.sh
23371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23372 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23376 s/^/S["/; s
/!.
*/"]=/
23386 s/\(.\{148\}\)..*/\1/
23388 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23393 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23400 s/\(.\{148\}\)..*/\1/
23402 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23406 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23411 ' <conf$$subs.awk | sed '
23416 ' >>$CONFIG_STATUS || ac_write_fail=1
23417 rm -f conf$$subs.awk
23418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23420 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23421 for (key in S) S_is_set[key] = 1
23427 nfields = split(line, field, "@
")
23429 len = length(field[1])
23430 for (i = 2; i < nfields; i++) {
23432 keylen = length(key)
23433 if (S_is_set[key]) {
23435 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23436 len += length(value) + length(field[++i])
23447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23448 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23449 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23452 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23453 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23456 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23457 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23458 # trailing colons and then remove the whole line if VPATH becomes empty
23459 # (actually we leave an empty line to preserve line numbers).
23460 if test "x
$srcdir" = x.; then
23461 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23480 fi # test -n "$CONFIG_FILES"
23482 # Set up the scripts for CONFIG_HEADERS section.
23483 # No need to generate them if there are no CONFIG_HEADERS.
23484 # This happens for instance with `./config.status Makefile'.
23485 if test -n "$CONFIG_HEADERS"; then
23486 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23490 # Transform confdefs.h into an awk script `defines.awk', embedded as
23491 # here-document in config.status, that substitutes the proper values into
23492 # config.h.in to produce config.h.
23494 # Create a delimiter string that does not exist in confdefs.h, to ease
23495 # handling of long lines.
23497 for ac_last_try in false false :; do
23498 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23499 if test -z "$ac_tt"; then
23501 elif $ac_last_try; then
23502 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23504 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23508 # For the awk script, D is an array of macro values keyed by name,
23509 # likewise P contains macro parameters if any. Preserve backslash
23510 # newline sequences.
23512 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23514 s/.\{148\}/&'"$ac_delim"'/g
23517 s/^[ ]*#[ ]*define[ ][ ]*/ /
23524 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23526 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23531 D["\
1"]=" \
3\\\\\\n
"\\/p
23533 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23538 s/.\{148\}/&'"$ac_delim"'/g
23543 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23546 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23548 ' <confdefs.h | sed '
23549 s/'"$ac_delim"'/"\\\
23550 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23553 for (key in D) D_is_set[key] = 1
23556 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23558 split(line, arg, " ")
23559 if (arg[1] == "#") {
23563 defundef
= substr
(arg
[1], 2)
23566 split(mac1
, mac2
, "(") #)
23568 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23569 if (D_is_set
[macro
]) {
23570 # Preserve the white space surrounding the "#".
23571 print prefix
"define", macro P
[macro
] D
[macro
]
23574 # Replace #undef with comments. This is necessary, for example,
23575 # in the case of _POSIX_SOURCE, which is predefined and required
23576 # on some systems where configure will not decide to define it.
23577 if (defundef
== "undef") {
23578 print
"/*", prefix defundef
, macro
, "*/"
23586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23587 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23588 fi # test -n "$CONFIG_HEADERS"
23591 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23596 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23598 case $ac_mode$ac_tag in
23600 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23601 :[FH
]-) ac_tag
=-:-;;
23602 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23619 -) ac_f
="$ac_tmp/stdin";;
23620 *) # Look for the file first in the build tree, then in the source tree
23621 # (if the path is not absolute). The absolute path cannot be DOS-style,
23622 # because $ac_f cannot contain `:'.
23626 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23628 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23630 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23631 as_fn_append ac_file_inputs
" '$ac_f'"
23634 # Let's still pretend it is `configure' which instantiates (i.e., don't
23635 # use $as_me), people would be surprised to read:
23636 # /* config.h. Generated by config.status. */
23637 configure_input
='Generated from '`
23638 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23640 if test x
"$ac_file" != x-
; then
23641 configure_input
="$ac_file. $configure_input"
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23643 $as_echo "$as_me: creating $ac_file" >&6;}
23645 # Neutralize special characters interpreted by sed in replacement strings.
23646 case $configure_input in #(
23647 *\
&* |
*\|
* |
*\\* )
23648 ac_sed_conf_input
=`$as_echo "$configure_input" |
23649 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23650 *) ac_sed_conf_input
=$configure_input;;
23654 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23655 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23660 ac_dir
=`$as_dirname -- "$ac_file" ||
23661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23662 X"$ac_file" : 'X\(//\)[^/]' \| \
23663 X"$ac_file" : 'X\(//\)$' \| \
23664 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23665 $as_echo X"$ac_file" |
23666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23670 /^X\(\/\/\)[^/].*/{
23683 as_dir
="$ac_dir"; as_fn_mkdir_p
23687 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23689 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23690 # A ".." for each directory in $ac_dir_suffix.
23691 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23692 case $ac_top_builddir_sub in
23693 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23694 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23697 ac_abs_top_builddir
=$ac_pwd
23698 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23699 # for backward compatibility:
23700 ac_top_builddir
=$ac_top_build_prefix
23703 .
) # We are building in place.
23705 ac_top_srcdir
=$ac_top_builddir_sub
23706 ac_abs_top_srcdir
=$ac_pwd ;;
23707 [\\/]* | ?
:[\\/]* ) # Absolute name.
23708 ac_srcdir
=$srcdir$ac_dir_suffix;
23709 ac_top_srcdir
=$srcdir
23710 ac_abs_top_srcdir
=$srcdir ;;
23711 *) # Relative name.
23712 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23713 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23714 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23716 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23726 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23727 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23729 ac_MKDIR_P
=$MKDIR_P
23731 [\\/$
]* | ?
:[\\/]* ) ;;
23732 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23737 # If the template does not know about datarootdir, expand it.
23738 # FIXME: This hack should be removed a few years after 2.60.
23739 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23750 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23751 *datarootdir
*) ac_datarootdir_seen
=yes;;
23752 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23754 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23757 ac_datarootdir_hack='
23758 s&@datadir@&$datadir&g
23759 s&@docdir@&$docdir&g
23760 s&@infodir@&$infodir&g
23761 s&@localedir@&$localedir&g
23762 s&@mandir@&$mandir&g
23763 s&\\\${datarootdir}&$datarootdir&g' ;;
23767 # Neutralize VPATH when `$srcdir' = `.'.
23768 # Shell code in configure.ac might set extrasub.
23769 # FIXME: do we really want to maintain this feature?
23770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23771 ac_sed_extra="$ac_vpsub
23774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23776 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23777 s|@configure_input@|
$ac_sed_conf_input|
;t t
23778 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23779 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23780 s
&@srcdir@
&$ac_srcdir&;t t
23781 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23782 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23783 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23784 s
&@builddir@
&$ac_builddir&;t t
23785 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23786 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23787 s
&@INSTALL@
&$ac_INSTALL&;t t
23788 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23789 $ac_datarootdir_hack
23791 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23792 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23794 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23795 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23796 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23797 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23799 which seems to be undefined. Please make sure it is defined" >&5
23800 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23801 which seems to be undefined. Please make sure it is defined" >&2;}
23803 rm -f "$ac_tmp/stdin"
23805 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23806 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23814 if test x"$ac_file" != x-; then
23816 $as_echo "/* $configure_input */" \
23817 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23818 } >"$ac_tmp/config.h" \
23819 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23820 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23822 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23825 mv "$ac_tmp/config.h" "$ac_file" \
23826 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23829 $as_echo "/* $configure_input */" \
23830 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23831 || as_fn_error $? "could not create -" "$LINENO" 5
23833 # Compute "$ac_file"'s index
in $config_headers.
23836 for _am_header
in $config_headers :; do
23837 case $_am_header in
23838 $_am_arg |
$_am_arg:* )
23841 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23844 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23845 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23846 X"$_am_arg" : 'X\(//\)[^/]' \| \
23847 X"$_am_arg" : 'X\(//\)$' \| \
23848 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23849 $as_echo X"$_am_arg" |
23850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23854 /^X\(\/\/\)[^/].*/{
23866 s/.*/./; q'`/stamp-h
$_am_stamp_count
23869 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23870 $as_echo "$as_me: executing $ac_file commands" >&6;}
23875 case $ac_file$ac_mode in
23877 # Only add multilib support code if we just rebuilt the top-level
23879 case " $CONFIG_FILES " in
23881 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
23884 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23885 # Older Autoconf quotes --file arguments for eval, but not when files
23886 # are listed without --file. Let's play safe and only enable the eval
23887 # if we detect the quoting.
23888 case $CONFIG_FILES in
23889 *\'*) eval set x
"$CONFIG_FILES" ;;
23890 *) set x
$CONFIG_FILES ;;
23895 # Strip MF so we end up with the name of the file.
23896 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23897 # Check whether this is an Automake generated Makefile or not.
23898 # We used to match only the files named 'Makefile.in', but
23899 # some people rename them; so instead we look at the file content.
23900 # Grep'ing the first line is not enough: some people post-process
23901 # each Makefile.in and add a new line on top of each file to say so.
23902 # Grep'ing the whole file is not good either: AIX grep has a line
23903 # limit of 2048, but all sed's we know have understand at least 4000.
23904 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23905 dirpart
=`$as_dirname -- "$mf" ||
23906 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23907 X"$mf" : 'X\(//\)[^/]' \| \
23908 X"$mf" : 'X\(//\)$' \| \
23909 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23915 /^X\(\/\/\)[^/].*/{
23931 # Extract the definition of DEPDIR, am__include, and am__quote
23932 # from the Makefile without running 'make'.
23933 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23934 test -z "$DEPDIR" && continue
23935 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23936 test -z "$am__include" && continue
23937 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23938 # Find all dependency output files, they are included files with
23939 # $(DEPDIR) in their names. We invoke sed twice because it is the
23940 # simplest approach to changing $(DEPDIR) to its actual value in the
23942 for file in `sed -n "
23943 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23944 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23945 # Make sure the directory exists.
23946 test -f "$dirpart/$file" && continue
23947 fdir
=`$as_dirname -- "$file" ||
23948 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23949 X"$file" : 'X\(//\)[^/]' \| \
23950 X"$file" : 'X\(//\)$' \| \
23951 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23952 $as_echo X"$file" |
23953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23957 /^X\(\/\/\)[^/].*/{
23970 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23971 # echo "creating $dirpart/$file"
23972 echo '# dummy' > "$dirpart/$file"
23979 # See if we are running on zsh, and set the options which allow our
23980 # commands through without removal of \ escapes.
23981 if test -n "${ZSH_VERSION+set}" ; then
23982 setopt NO_GLOB_SUBST
23985 cfgfile
="${ofile}T"
23986 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23989 cat <<_LT_EOF >> "$cfgfile"
23992 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23993 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23994 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23995 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23997 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23998 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
23999 # Written by Gordon Matzigkeit, 1996
24001 # This file is part of GNU Libtool.
24003 # GNU Libtool is free software; you can redistribute it and/or
24004 # modify it under the terms of the GNU General Public License as
24005 # published by the Free Software Foundation; either version 2 of
24006 # the License, or (at your option) any later version.
24008 # As a special exception to the GNU General Public License,
24009 # if you distribute this file as part of a program or library that
24010 # is built using GNU Libtool, you may include this file under the
24011 # same distribution terms that you use for the rest of that program.
24013 # GNU Libtool is distributed in the hope that it will be useful,
24014 # but WITHOUT ANY WARRANTY; without even the implied warranty of
24015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24016 # GNU General Public License for more details.
24018 # You should have received a copy of the GNU General Public License
24019 # along with GNU Libtool; see the file COPYING. If not, a copy
24020 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
24021 # obtained by writing to the Free Software Foundation, Inc.,
24022 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24025 # The names of the tagged configurations supported by this script.
24026 available_tags="CXX "
24028 # ### BEGIN LIBTOOL CONFIG
24030 # Which release of libtool.m4 was used?
24031 macro_version=$macro_version
24032 macro_revision=$macro_revision
24034 # Whether or not to build shared libraries.
24035 build_libtool_libs=$enable_shared
24037 # Whether or not to build static libraries.
24038 build_old_libs=$enable_static
24040 # What type of objects to build.
24043 # Whether or not to optimize for fast installation.
24044 fast_install=$enable_fast_install
24046 # Shell to use when invoking shell scripts.
24049 # An echo program that protects backslashes.
24053 host_alias=$host_alias
24057 # The build system.
24058 build_alias=$build_alias
24062 # A sed program that does not truncate output.
24065 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24066 Xsed="\$SED -e 1s/^X//"
24068 # A grep program that handles long lines.
24074 # A literal string matcher.
24077 # A BSD- or MS-compatible name lister.
24080 # Whether we need soft or hard links.
24083 # What is the maximum length of a command?
24084 max_cmd_len=$max_cmd_len
24086 # Object file suffix (normally "o").
24089 # Executable file suffix (normally "").
24092 # whether the shell understands "unset".
24095 # turn spaces into newlines.
24098 # turn newlines into spaces.
24101 # An object symbol dumper.
24102 OBJDUMP=$lt_OBJDUMP
24104 # Method to check whether dependent libraries are shared objects.
24105 deplibs_check_method=$lt_deplibs_check_method
24107 # Command to use when deplibs_check_method == "file_magic".
24108 file_magic_cmd=$lt_file_magic_cmd
24112 AR_FLAGS=$lt_AR_FLAGS
24114 # A symbol stripping program.
24117 # Commands used to install an old-style archive.
24119 old_postinstall_cmds=$lt_old_postinstall_cmds
24120 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24122 # Whether to use a lock for old archive extraction.
24123 lock_old_archive_extraction=$lock_old_archive_extraction
24128 # LTCC compiler flags.
24129 LTCFLAGS=$lt_CFLAGS
24131 # Take the output of nm and produce a listing of raw symbols and C names.
24132 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24134 # Transform the output of nm in a proper C declaration.
24135 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24137 # Transform the output of nm in a C name address pair.
24138 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24140 # Transform the output of nm in a C name address pair when lib prefix is needed.
24141 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24143 # The name of the directory that contains temporary libtool files.
24146 # Used to examine libraries when file_magic_cmd begins with "file".
24147 MAGIC_CMD=$MAGIC_CMD
24149 # Must we lock files when doing compilation?
24150 need_locks=$lt_need_locks
24152 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24153 DSYMUTIL=$lt_DSYMUTIL
24155 # Tool to change global to local symbols on Mac OS X.
24158 # Tool to manipulate fat objects and archives on Mac OS X.
24161 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24164 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24165 OTOOL64=$lt_OTOOL64
24167 # Old archive suffix (normally "a").
24170 # Shared library suffix (normally ".so").
24171 shrext_cmds=$lt_shrext_cmds
24173 # The commands to extract the exported symbol list from a shared archive.
24174 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24176 # Variables whose values should be saved in libtool wrapper scripts and
24177 # restored at link time.
24178 variables_saved_for_relink=$lt_variables_saved_for_relink
24180 # Do we need the "lib" prefix for modules?
24181 need_lib_prefix=$need_lib_prefix
24183 # Do we need a version for libraries?
24184 need_version=$need_version
24186 # Library versioning type.
24187 version_type=$version_type
24189 # Shared library runtime path variable.
24190 runpath_var=$runpath_var
24192 # Shared library path variable.
24193 shlibpath_var=$shlibpath_var
24195 # Is shlibpath searched before the hard-coded library search path?
24196 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24198 # Format of library name prefix.
24199 libname_spec=$lt_libname_spec
24201 # List of archive names. First name is the real one, the rest are links.
24202 # The last name is the one that the linker finds with -lNAME
24203 library_names_spec=$lt_library_names_spec
24205 # The coded name of the library, if different from the real name.
24206 soname_spec=$lt_soname_spec
24208 # Permission mode override for installation of shared libraries.
24209 install_override_mode=$lt_install_override_mode
24211 # Command to use after installation of a shared archive.
24212 postinstall_cmds=$lt_postinstall_cmds
24214 # Command to use after uninstallation of a shared archive.
24215 postuninstall_cmds=$lt_postuninstall_cmds
24217 # Commands used to finish a libtool library installation in a directory.
24218 finish_cmds=$lt_finish_cmds
24220 # As "finish_cmds", except a single script fragment to be evaled but
24222 finish_eval=$lt_finish_eval
24224 # Whether we should hardcode library paths into libraries.
24225 hardcode_into_libs=$hardcode_into_libs
24227 # Compile-time system search path for libraries.
24228 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24230 # Run-time system search path for libraries.
24231 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24233 # Whether dlopen is supported.
24234 dlopen_support=$enable_dlopen
24236 # Whether dlopen of programs is supported.
24237 dlopen_self=$enable_dlopen_self
24239 # Whether dlopen of statically linked programs is supported.
24240 dlopen_self_static=$enable_dlopen_self_static
24242 # Commands to strip libraries.
24243 old_striplib=$lt_old_striplib
24244 striplib=$lt_striplib
24247 # The linker used to build libraries.
24250 # How to create reloadable object files.
24251 reload_flag=$lt_reload_flag
24252 reload_cmds=$lt_reload_cmds
24254 # Commands used to build an old-style archive.
24255 old_archive_cmds=$lt_old_archive_cmds
24257 # A language specific compiler.
24260 # Is the compiler the GNU compiler?
24263 # Compiler flag to turn off builtin functions.
24264 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24266 # How to pass a linker flag through the compiler.
24267 wl=$lt_lt_prog_compiler_wl
24269 # Additional compiler flags for building library objects.
24270 pic_flag=$lt_lt_prog_compiler_pic
24272 # Compiler flag to prevent dynamic linking.
24273 link_static_flag=$lt_lt_prog_compiler_static
24275 # Does compiler simultaneously support -c and -o options?
24276 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24278 # Whether or not to add -lc for building shared libraries.
24279 build_libtool_need_lc=$archive_cmds_need_lc
24281 # Whether or not to disallow shared libs when runtime libs are static.
24282 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24284 # Compiler flag to allow reflexive dlopens.
24285 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24287 # Compiler flag to generate shared objects directly from archives.
24288 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24290 # Whether the compiler copes with passing no objects directly.
24291 compiler_needs_object=$lt_compiler_needs_object
24293 # Create an old-style archive from a shared archive.
24294 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24296 # Create a temporary old-style archive to link instead of a shared archive.
24297 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24299 # Commands used to build a shared archive.
24300 archive_cmds=$lt_archive_cmds
24301 archive_expsym_cmds=$lt_archive_expsym_cmds
24303 # Commands used to build a loadable module if different from building
24304 # a shared archive.
24305 module_cmds=$lt_module_cmds
24306 module_expsym_cmds=$lt_module_expsym_cmds
24308 # Whether we are building with GNU ld or not.
24309 with_gnu_ld=$lt_with_gnu_ld
24311 # Flag that allows shared libraries with undefined symbols to be built.
24312 allow_undefined_flag=$lt_allow_undefined_flag
24314 # Flag that enforces no undefined symbols.
24315 no_undefined_flag=$lt_no_undefined_flag
24317 # Flag to hardcode \$libdir into a binary during linking.
24318 # This must work even if \$libdir does not exist
24319 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24321 # If ld is used when linking, flag to hardcode \$libdir into a binary
24322 # during linking. This must work even if \$libdir does not exist.
24323 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24325 # Whether we need a single "-rpath" flag with a separated argument.
24326 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24328 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24329 # DIR into the resulting binary.
24330 hardcode_direct=$hardcode_direct
24332 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24333 # DIR into the resulting binary and the resulting library dependency is
24334 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24335 # library is relocated.
24336 hardcode_direct_absolute=$hardcode_direct_absolute
24338 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24339 # into the resulting binary.
24340 hardcode_minus_L=$hardcode_minus_L
24342 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24343 # into the resulting binary.
24344 hardcode_shlibpath_var=$hardcode_shlibpath_var
24346 # Set to "yes" if building a shared library automatically hardcodes DIR
24347 # into the library and all subsequent libraries and executables linked
24349 hardcode_automatic=$hardcode_automatic
24351 # Set to yes if linker adds runtime paths of dependent libraries
24352 # to runtime path list.
24353 inherit_rpath=$inherit_rpath
24355 # Whether libtool must link a program against all its dependency libraries.
24356 link_all_deplibs=$link_all_deplibs
24358 # Fix the shell variable \$srcfile for the compiler.
24359 fix_srcfile_path=$lt_fix_srcfile_path
24361 # Set to "yes" if exported symbols are required.
24362 always_export_symbols=$always_export_symbols
24364 # The commands to list exported symbols.
24365 export_symbols_cmds=$lt_export_symbols_cmds
24367 # Symbols that should not be listed in the preloaded symbols.
24368 exclude_expsyms=$lt_exclude_expsyms
24370 # Symbols that must always be exported.
24371 include_expsyms=$lt_include_expsyms
24373 # Commands necessary for linking programs (against libraries) with templates.
24374 prelink_cmds=$lt_prelink_cmds
24376 # Specify filename containing input files.
24377 file_list_spec=$lt_file_list_spec
24379 # How to hardcode a shared library path into an executable.
24380 hardcode_action=$hardcode_action
24382 # The directories searched by this compiler when creating a shared library.
24383 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24385 # Dependencies to place before and after the objects being linked to
24386 # create a shared library.
24387 predep_objects=$lt_predep_objects
24388 postdep_objects=$lt_postdep_objects
24389 predeps=$lt_predeps
24390 postdeps=$lt_postdeps
24392 # The library search path used internally by the compiler when linking
24393 # a shared library.
24394 compiler_lib_search_path=$lt_compiler_lib_search_path
24396 # ### END LIBTOOL CONFIG
24402 cat <<\_LT_EOF
>> "$cfgfile"
24403 # AIX sometimes has problems with the GCC collect2 program. For some
24404 # reason, if we set the COLLECT_NAMES environment variable, the problems
24405 # vanish in a puff of smoke.
24406 if test "X${COLLECT_NAMES+set}" != Xset
; then
24408 export COLLECT_NAMES
24415 ltmain
="$ac_aux_dir/ltmain.sh"
24418 # We use sed instead of cat because bash on DJGPP gets confused if
24419 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24420 # text mode, it properly converts lines to CR/LF. This bash problem
24421 # is reportedly fixed, but why not run on old versions too?
24422 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24423 ||
(rm -f "$cfgfile"; exit 1)
24427 cat << \_LT_EOF
>> "$cfgfile"
24429 # func_dirname file append nondir_replacement
24430 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24431 # otherwise set result to NONDIR_REPLACEMENT.
24435 */*) func_dirname_result
="${1%/*}${2}" ;;
24436 * ) func_dirname_result
="${3}" ;;
24440 # func_basename file
24443 func_basename_result
="${1##*/}"
24446 # func_dirname_and_basename file append nondir_replacement
24447 # perform func_basename and func_dirname in a single function
24449 # dirname: Compute the dirname of FILE. If nonempty,
24450 # add APPEND to the result, otherwise set result
24451 # to NONDIR_REPLACEMENT.
24452 # value returned in "$func_dirname_result"
24453 # basename: Compute filename of FILE.
24454 # value retuned in "$func_basename_result"
24455 # Implementation must be kept synchronized with func_dirname
24456 # and func_basename. For efficiency, we do not delegate to
24457 # those functions but instead duplicate the functionality here.
24458 func_dirname_and_basename
()
24461 */*) func_dirname_result
="${1%/*}${2}" ;;
24462 * ) func_dirname_result
="${3}" ;;
24464 func_basename_result
="${1##*/}"
24467 # func_stripname prefix suffix name
24468 # strip PREFIX and SUFFIX off of NAME.
24469 # PREFIX and SUFFIX must not contain globbing or regex special
24470 # characters, hashes, percent signs, but SUFFIX may contain a leading
24471 # dot (in which case that matches only a dot).
24474 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24475 # positional parameters, so assign one to ordinary parameter first.
24476 func_stripname_result
=${3}
24477 func_stripname_result
=${func_stripname_result#"${1}"}
24478 func_stripname_result
=${func_stripname_result%"${2}"}
24484 func_opt_split_opt
=${1%%=*}
24485 func_opt_split_arg
=${1#*=}
24492 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24493 *) func_lo2o_result
=${1} ;;
24497 # func_xform libobj-or-source
24500 func_xform_result
=${1%.*}.lo
24503 # func_arith arithmetic-term...
24506 func_arith_result
=$
(( $
* ))
24510 # STRING may not start with a hyphen.
24513 func_len_result
=${#1}
24518 *) # Bourne compatible functions.
24519 cat << \_LT_EOF
>> "$cfgfile"
24521 # func_dirname file append nondir_replacement
24522 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24523 # otherwise set result to NONDIR_REPLACEMENT.
24526 # Extract subdirectory from the argument.
24527 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
24528 if test "X$func_dirname_result" = "X${1}"; then
24529 func_dirname_result
="${3}"
24531 func_dirname_result
="$func_dirname_result${2}"
24535 # func_basename file
24538 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
24542 # func_stripname prefix suffix name
24543 # strip PREFIX and SUFFIX off of NAME.
24544 # PREFIX and SUFFIX must not contain globbing or regex special
24545 # characters, hashes, percent signs, but SUFFIX may contain a leading
24546 # dot (in which case that matches only a dot).
24547 # func_strip_suffix prefix name
24551 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
24552 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
24557 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24558 my_sed_long_arg
='1s/^-[^=]*=//'
24563 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
24564 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
24570 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
24573 # func_xform libobj-or-source
24576 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
24579 # func_arith arithmetic-term...
24582 func_arith_result
=`expr "$@"`
24586 # STRING may not start with a hyphen.
24589 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24595 case $lt_shell_append in
24597 cat << \_LT_EOF
>> "$cfgfile"
24599 # func_append var value
24600 # Append VALUE to the end of shell variable VAR.
24608 cat << \_LT_EOF
>> "$cfgfile"
24610 # func_append var value
24611 # Append VALUE to the end of shell variable VAR.
24622 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24623 ||
(rm -f "$cfgfile"; exit 1)
24625 mv -f "$cfgfile" "$ofile" ||
24626 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24630 cat <<_LT_EOF >> "$ofile"
24632 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24634 # The linker used to build libraries.
24637 # How to create reloadable object files.
24638 reload_flag=$lt_reload_flag_CXX
24639 reload_cmds=$lt_reload_cmds_CXX
24641 # Commands used to build an old-style archive.
24642 old_archive_cmds=$lt_old_archive_cmds_CXX
24644 # A language specific compiler.
24645 CC=$lt_compiler_CXX
24647 # Is the compiler the GNU compiler?
24650 # Compiler flag to turn off builtin functions.
24651 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24653 # How to pass a linker flag through the compiler.
24654 wl=$lt_lt_prog_compiler_wl_CXX
24656 # Additional compiler flags for building library objects.
24657 pic_flag=$lt_lt_prog_compiler_pic_CXX
24659 # Compiler flag to prevent dynamic linking.
24660 link_static_flag=$lt_lt_prog_compiler_static_CXX
24662 # Does compiler simultaneously support -c and -o options?
24663 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24665 # Whether or not to add -lc for building shared libraries.
24666 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24668 # Whether or not to disallow shared libs when runtime libs are static.
24669 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24671 # Compiler flag to allow reflexive dlopens.
24672 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24674 # Compiler flag to generate shared objects directly from archives.
24675 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24677 # Whether the compiler copes with passing no objects directly.
24678 compiler_needs_object=$lt_compiler_needs_object_CXX
24680 # Create an old-style archive from a shared archive.
24681 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24683 # Create a temporary old-style archive to link instead of a shared archive.
24684 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24686 # Commands used to build a shared archive.
24687 archive_cmds=$lt_archive_cmds_CXX
24688 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24690 # Commands used to build a loadable module if different from building
24691 # a shared archive.
24692 module_cmds=$lt_module_cmds_CXX
24693 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24695 # Whether we are building with GNU ld or not.
24696 with_gnu_ld=$lt_with_gnu_ld_CXX
24698 # Flag that allows shared libraries with undefined symbols to be built.
24699 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24701 # Flag that enforces no undefined symbols.
24702 no_undefined_flag=$lt_no_undefined_flag_CXX
24704 # Flag to hardcode \$libdir into a binary during linking.
24705 # This must work even if \$libdir does not exist
24706 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24708 # If ld is used when linking, flag to hardcode \$libdir into a binary
24709 # during linking. This must work even if \$libdir does not exist.
24710 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
24712 # Whether we need a single "-rpath" flag with a separated argument.
24713 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24715 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24716 # DIR into the resulting binary.
24717 hardcode_direct=$hardcode_direct_CXX
24719 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24720 # DIR into the resulting binary and the resulting library dependency is
24721 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24722 # library is relocated.
24723 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24725 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24726 # into the resulting binary.
24727 hardcode_minus_L=$hardcode_minus_L_CXX
24729 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24730 # into the resulting binary.
24731 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24733 # Set to "yes" if building a shared library automatically hardcodes DIR
24734 # into the library and all subsequent libraries and executables linked
24736 hardcode_automatic=$hardcode_automatic_CXX
24738 # Set to yes if linker adds runtime paths of dependent libraries
24739 # to runtime path list.
24740 inherit_rpath=$inherit_rpath_CXX
24742 # Whether libtool must link a program against all its dependency libraries.
24743 link_all_deplibs=$link_all_deplibs_CXX
24745 # Fix the shell variable \$srcfile for the compiler.
24746 fix_srcfile_path=$lt_fix_srcfile_path_CXX
24748 # Set to "yes" if exported symbols are required.
24749 always_export_symbols=$always_export_symbols_CXX
24751 # The commands to list exported symbols.
24752 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24754 # Symbols that should not be listed in the preloaded symbols.
24755 exclude_expsyms=$lt_exclude_expsyms_CXX
24757 # Symbols that must always be exported.
24758 include_expsyms=$lt_include_expsyms_CXX
24760 # Commands necessary for linking programs (against libraries) with templates.
24761 prelink_cmds=$lt_prelink_cmds_CXX
24763 # Specify filename containing input files.
24764 file_list_spec=$lt_file_list_spec_CXX
24766 # How to hardcode a shared library path into an executable.
24767 hardcode_action=$hardcode_action_CXX
24769 # The directories searched by this compiler when creating a shared library.
24770 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24772 # Dependencies to place before and after the objects being linked to
24773 # create a shared library.
24774 predep_objects=$lt_predep_objects_CXX
24775 postdep_objects=$lt_postdep_objects_CXX
24776 predeps=$lt_predeps_CXX
24777 postdeps=$lt_postdeps_CXX
24779 # The library search path used internally by the compiler when linking
24780 # a shared library.
24781 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24783 # ### END LIBTOOL TAG CONFIG: CXX
24787 "libm2min/Makefile":F
) cat > vpsed$$
<< \_EOF
24788 s
!`test -f '$<' || echo '$(srcdir)/'`!!
24790 sed -f vpsed$$
$ac_file > tmp$$
24793 echo 'MULTISUBDIR =' >> $ac_file
24795 .
${multi_basedir}/config-ml.
in
24796 { ml_norecursion
=; unset ml_norecursion
;}
24798 "libm2pim/Makefile":F
) cat > vpsed$$
<< \_EOF
24799 s
!`test -f '$<' || echo '$(srcdir)/'`!!
24801 sed -f vpsed$$
$ac_file > tmp$$
24804 echo 'MULTISUBDIR =' >> $ac_file
24806 .
${multi_basedir}/config-ml.
in
24807 { ml_norecursion
=; unset ml_norecursion
;}
24809 "libm2iso/Makefile":F
) cat > vpsed$$
<< \_EOF
24810 s
!`test -f '$<' || echo '$(srcdir)/'`!!
24812 sed -f vpsed$$
$ac_file > tmp$$
24815 echo 'MULTISUBDIR =' >> $ac_file
24817 .
${multi_basedir}/config-ml.
in
24818 { ml_norecursion
=; unset ml_norecursion
;}
24820 "libm2cor/Makefile":F
) cat > vpsed$$
<< \_EOF
24821 s
!`test -f '$<' || echo '$(srcdir)/'`!!
24823 sed -f vpsed$$
$ac_file > tmp$$
24826 echo 'MULTISUBDIR =' >> $ac_file
24828 .
${multi_basedir}/config-ml.
in
24829 { ml_norecursion
=; unset ml_norecursion
;}
24831 "libm2log/Makefile":F
) cat > vpsed$$
<< \_EOF
24832 s
!`test -f '$<' || echo '$(srcdir)/'`!!
24834 sed -f vpsed$$
$ac_file > tmp$$
24837 echo 'MULTISUBDIR =' >> $ac_file
24839 .
${multi_basedir}/config-ml.
in
24840 { ml_norecursion
=; unset ml_norecursion
;}
24849 ac_clean_files
=$ac_clean_files_save
24851 test $ac_write_fail = 0 ||
24852 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24855 # configure is writing to config.log, and then calls config.status.
24856 # config.status does its own redirection, appending to config.log.
24857 # Unfortunately, on DOS this fails, as config.log is still kept open
24858 # by configure, so config.status won't be able to write to it; its
24859 # output is simply discarded. So we exec the FD to /dev/null,
24860 # effectively closing config.log, so it can be properly (re)opened and
24861 # appended to by config.status. When coming back to configure, we
24862 # need to make the FD available again.
24863 if test "$no_create" != yes; then
24865 ac_config_status_args
=
24866 test "$silent" = yes &&
24867 ac_config_status_args
="$ac_config_status_args --quiet"
24869 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24871 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24872 # would make configure fail if this is the last instruction.
24873 $ac_cs_success || as_fn_exit
1
24875 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24877 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}